From 3c6206078c273a6ce07582219da3afecd50b1481 Mon Sep 17 00:00:00 2001 From: Andrea Bianco <andrea.bianco@xcally.com> Date: Wed, 25 May 2016 19:29:12 +0200 Subject: [PATCH] Built motion from commit b2fe40f.|0.0.100 --- public/app/2707b071.app.js | 68 +++++++ public/app/316e37bb.app.js | 68 ------- 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/mxgraph/styles/default.xml | 211 +------------------- 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.100.txt | 31 ++-- server/api/action/action.controller.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.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.socket.js | 2 +- server/api/ami/index.js | 2 +- server/api/automation/automation.controller.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.socket.js | 2 +- server/api/canned_answer/index.js | 2 +- server/api/chanspy/chanspy.controller.js | 2 +- server/api/chanspy/chanspy.socket.js | 2 +- server/api/chanspy/index.js | 2 +- .../chat_application.controller.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.socket.js | 2 +- server/api/chat_disposition/index.js | 2 +- server/api/chat_enquiry/enquiry.controller.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.socket.js | 2 +- server/api/chat_message/index.js | 2 +- .../chat_proactive_action.controller.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.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.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.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.socket.js | 2 +- server/api/chat_website/index.js | 2 +- .../chat_websites_field.controller.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.socket.js | 2 +- server/api/company/index.js | 2 +- .../contact_manager/contact_manager.controller.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.socket.js | 2 +- server/api/custom_report/index.js | 2 +- server/api/dashboard/dashboard.controller.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/default_metric.socket.js | 2 +- server/api/default_metric/index.js | 2 +- .../default_report/default_report.controller.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.socket.js | 2 +- server/api/desk_account/index.js | 2 +- .../desk_configuration.controller.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.socket.js | 2 +- server/api/desk_field/index.js | 2 +- .../extracted_report.controller.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.socket.js | 2 +- server/api/fax_account/index.js | 2 +- .../fax_application/fax_application.controller.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.socket.js | 2 +- server/api/fax_attachment/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.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.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.socket.js | 2 +- server/api/fax_room/index.js | 2 +- .../freshdesk_account.controller.js | 2 +- .../freshdesk_account/freshdesk_account.socket.js | 2 +- server/api/freshdesk_account/index.js | 2 +- server/api/freshdesk_account/index.spec.js | 2 +- .../freshdesk_configuration.controller.js | 2 +- .../freshdesk_configuration.socket.js | 2 +- server/api/freshdesk_configuration/index.js | 2 +- server/api/freshdesk_configuration/index.spec.js | 2 +- .../freshdesk_field/freshdesk_field.controller.js | 2 +- .../api/freshdesk_field/freshdesk_field.socket.js | 2 +- server/api/freshdesk_field/index.js | 2 +- server/api/freshdesk_field/index.spec.js | 2 +- server/api/integration/index.js | 2 +- server/api/integration/integration.controller.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.socket.js | 2 +- server/api/jscripty_project/index.js | 2 +- .../jscripty_project.controller.js | 2 +- .../jscripty_project/jscripty_project.socket.js | 2 +- server/api/license/index.js | 2 +- server/api/license/license.controller.js | 2 +- server/api/license/license.socket.js | 2 +- server/api/list/index.js | 2 +- server/api/list/list.controller.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.socket.js | 2 +- server/api/mail_application/index.js | 2 +- .../mail_application.controller.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.socket.js | 2 +- server/api/mail_disposition/index.js | 2 +- .../mail_disposition.controller.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.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.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.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.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.socket.js | 2 +- server/api/metric/index.js | 2 +- server/api/metric/metric.controller.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.socket.js | 2 +- server/api/motionbar/index.js | 2 +- server/api/motionbar/motionbar.controller.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.socket.js | 2 +- server/api/network_localnet/index.js | 2 +- .../network_localnet.controller.js | 2 +- .../network_localnet/network_localnet.socket.js | 2 +- server/api/pause/index.js | 2 +- server/api/pause/pause.controller.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.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.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.socket.js | 2 +- server/api/report_chat_room/index.js | 2 +- .../report_chat_room.controller.js | 2 +- .../report_chat_room/report_chat_room.socket.js | 2 +- server/api/report_chat_session/index.js | 2 +- .../report_chat_session.controller.js | 2 +- .../report_chat_session.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.socket.js | 2 +- server/api/report_fax_room/index.js | 2 +- .../report_fax_room/report_fax_room.controller.js | 2 +- .../api/report_fax_room/report_fax_room.socket.js | 2 +- server/api/report_fax_session/index.js | 2 +- .../report_fax_session.controller.js | 2 +- .../report_fax_session.socket.js | 2 +- server/api/report_integration/index.js | 2 +- .../report_integration.controller.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.socket.js | 2 +- server/api/report_mail_room/index.js | 2 +- .../report_mail_room.controller.js | 2 +- .../report_mail_room/report_mail_room.socket.js | 2 +- server/api/report_mail_session/index.js | 2 +- .../report_mail_session.controller.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.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.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.socket.js | 2 +- server/api/report_sms_room/index.js | 2 +- .../report_sms_room/report_sms_room.controller.js | 2 +- .../api/report_sms_room/report_sms_room.socket.js | 2 +- server/api/report_sms_session/index.js | 2 +- .../report_sms_session.controller.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.socket.js | 2 +- server/api/report_square_detail/index.js | 2 +- .../report_square_detail.controller.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.socket.js | 2 +- server/api/salesforce_account/index.js | 2 +- .../salesforce_account.controller.js | 2 +- .../salesforce_account.socket.js | 2 +- server/api/salesforce_configuration/index.js | 2 +- .../salesforce_configuration.controller.js | 2 +- .../salesforce_configuration.socket.js | 2 +- server/api/salesforce_field/index.js | 2 +- server/api/salesforce_field/index.spec.js | 2 +- .../salesforce_field.controller.js | 2 +- .../salesforce_field/salesforce_field.socket.js | 2 +- server/api/setting/index.js | 2 +- server/api/setting/setting.controller.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.socket.js | 2 +- server/api/sms_account/util.js | 2 +- server/api/sms_application/index.js | 2 +- .../sms_application/sms_application.controller.js | 2 +- .../api/sms_application/sms_application.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.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.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.socket.js | 2 +- server/api/sound/index.js | 2 +- server/api/sound/sound.controller.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.socket.js | 2 +- server/api/square_project/index.js | 2 +- .../square_project/square_project.controller.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.socket.js | 2 +- server/api/sugarcrm_account/index.js | 2 +- .../sugarcrm_account.controller.js | 2 +- .../sugarcrm_account/sugarcrm_account.socket.js | 2 +- server/api/sugarcrm_configuration/index.js | 2 +- .../sugarcrm_configuration.controller.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.socket.js | 2 +- server/api/tag/index.js | 2 +- server/api/tag/tag.controller.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.socket.js | 2 +- server/api/telephone/index.js | 2 +- server/api/telephone/telephone.controller.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.socket.js | 2 +- server/api/trigger/index.js | 2 +- server/api/trigger/trigger.controller.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.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.socket.js | 2 +- server/api/user_has_chat_queue/index.js | 2 +- .../user_has_chat_queue.controller.js | 2 +- .../user_has_chat_queue.socket.js | 2 +- server/api/user_has_chat_room/index.js | 2 +- .../user_has_chat_room.controller.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.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.socket.js | 2 +- server/api/user_has_mail_queue/index.js | 2 +- .../user_has_mail_queue.controller.js | 2 +- .../user_has_mail_queue.socket.js | 2 +- server/api/user_has_sms_queue/index.js | 2 +- .../user_has_sms_queue.controller.js | 2 +- .../user_has_sms_queue.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.model.js | 2 +- server/api/user_has_team/user_has_team.socket.js | 2 +- server/api/user_has_team/user_has_team.spec.js | 2 +- server/api/user_has_voice_queue/index.js | 2 +- .../user_has_voice_queue.controller.js | 2 +- .../user_has_voice_queue.socket.js | 2 +- server/api/variable/index.js | 2 +- server/api/variable/variable.controller.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.socket.js | 2 +- server/api/voice_extension/index.js | 2 +- .../voice_extension/voice_extension.controller.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.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.socket.js | 2 +- server/api/voice_recording/index.js | 2 +- .../voice_recording/voice_recording.controller.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.socket.js | 2 +- server/api/voice_voicemail_messages/index.js | 2 +- .../voice_voicemail_messages.controller.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/xchatty/xchatty.socket.js | 2 +- server/api/zendesk_account/index.js | 2 +- .../zendesk_account/zendesk_account.controller.js | 2 +- .../api/zendesk_account/zendesk_account.socket.js | 2 +- server/api/zendesk_configuration/index.js | 2 +- .../zendesk_configuration.controller.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.socket.js | 2 +- server/api/zendesk_field/zendesk_field.spec.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/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/routing/chat/index.js | 2 +- server/config/routing/chat/session.js | 2 +- server/config/routing/fax/index.js | 2 +- server/config/routing/fax/session.js | 2 +- server/config/routing/mail/index.js | 2 +- server/config/routing/mail/session.js | 2 +- server/config/routing/sms/index.js | 2 +- server/config/routing/sms/session.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/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/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 +- 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/models/analytics_extracted_report.js | 6 +- server/routes.js | 2 +- server/utils/report_build.js | 2 +- server/utils/report_extraction.js | 2 +- server/utils/voice_extension.js | 2 +- 550 files changed, 631 insertions(+), 843 deletions(-) create mode 100644 public/app/2707b071.app.js delete mode 100644 public/app/316e37bb.app.js diff --git a/public/app/2707b071.app.js b/public/app/2707b071.app.js new file mode 100644 index 0000000..185c780 --- /dev/null +++ b/public/app/2707b071.app.js @@ -0,0 +1,68 @@ +"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","infinite-scroll","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","pdf","remoteValidation","smart-table","sprintf","textAngular","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"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){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("sanitize"),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("xcally"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License","localStorageService","Setting",function(a,b,c,d,e){return a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:d.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},e.get({id:1}).$promise.then(function(b){a.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted"})["catch"](function(a){console.error(a)}),a.settings}]).factory("authInterceptor",["$rootScope","$q","$cookieStore",function(a,b,c){return{request:function(a){return a.headers=a.headers||{},c.get("token")&&(a.headers.Authorization="Bearer "+c.get("token")),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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)},k.get().$promise.then(function(b){a.license=b.license,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})})["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:"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.item={},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(){b.close({parent:a.customTree.get_selected(!0).pop().id})},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").endOf("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).endOf("day"),moment().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),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").endOf("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).endOf("day"),moment().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(d){var e=_.find(a.tables,{value:d}).resource;e.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.show(c.instant(a.message),"danger")})["finally"](function(){s(d)})}function s(d){return p.get({controller:"table",table:d}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.show(c.instant(a.message),"danger")})}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++)c>0&&(b+=" <strong>"+a.operator+"</strong> "),b+=a.rules[c].group?u(a.rules[c].group):a.rules[c].field+" "+t(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":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.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})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return e.conditions=angular.toJson(e.conditions),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("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("ChatMessage",["$resource",function(a){return a("/api/chat/messages/: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"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatVisitor","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"fullname",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>'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{origin:"enquiry"})}}]),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").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","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.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl",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.offline.view.detail",{url:"/detail",templateUrl:"app/channels/chat/offline/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("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",function(){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})})}}});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("ReportChatRoom",["$resource",function(a){return a("/api/report/chat/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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",function(a,b,c,d,e,f,g){function h(){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(){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:"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:[]},a.getPage(),h()},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",function(a,b,c,d,e,f){function g(){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(){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(),g()},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",function(a,b,c,d,e,f,g,h,i,j,k,l){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},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})},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("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","ChatApplication","ChatQueue","Agent","Interval",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(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],k.get({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.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":e.UserId=a.application.UserId,e.ChatQueueId=null;break;case"queue":e.ChatQueueId=a.application.ChatQueueId,e.UserId=null}switch(a.application.intType){case"always":e.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:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return k.update({id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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={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.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:f.websiteId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[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?c[1]="*":c[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?c[2]="*":c[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?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",d).success(function(){h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")}).error(function(a){i.show(a.message||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.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",function(a,b,c,d){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},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)})["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.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",function(a,b,c,d,e){a.$translate=d,a.statePreview={state:"online"},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 e.get().$promise.then(function(b){a.templates=b.rows})}}]),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.show(a.message||a.data.message,"danger")})}}]),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",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(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],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.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":e.UserId=a.application.UserId;break;case"queue":e.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":e.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:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["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",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){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=["*","*","*","*"],c={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.FaxQueueId=a.application.FaxQueueId}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 n.save({accountId:f.accountId,controller:"applications"},c).$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").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount","Trunk",function(a,b,c,d,e,f,g,h,i,j,k){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"],k.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){h.error(a)}),j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItemFaxAccount=function(){return j.update({id:c.accountId},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.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"]})}]}}).state("main.channels.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/fax/account/view/view.settings.html"})}]),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",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html"}}),angular.module("xCallyShuttleApp").directive("faxNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html"}}),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}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:"",disabled:!1},k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?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}),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.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.status.modal.html",controller:"FaxInboxViewModalStatusCtrl",resolve:{id:function(){return o.workspace.id},status:function(){return 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)})};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:"pdfFilter",fn:function(a,b){var c="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(c)}}),r.onWhenAddingFileFailed=function(a,c,d){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"pdfFilter":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};a=_.merge(a,c),q.push(c)},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_MAIL_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.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),"CLOSED"!==o.faxRoom.status&&m.isAgent()?f.update({id:o.workspace.id,controller:"open"},{status:"OPEN"}):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").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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.onChanged=function(){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.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"faxRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"faxRoom","class":"icon-paper-plane",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){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},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)})}),a.initView=function(){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),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:"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:"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="fa fa-envelope" 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("fax_room:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.unshift(b)}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)}}]),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",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.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",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.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}}),i)})["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})})}}});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("ReportFaxRoom",["$resource",function(a){return a("/api/report/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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.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"},{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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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/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.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":g.interval=e.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(e[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?e[1]="*":e[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?e[2]="*":e[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?e[3]="*":e[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=e.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.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","MailQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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){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 c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,MailAccountId:f.accountId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[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?c[1]="*":c[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?c[2]="*":c[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?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",d).success(function(){h.path("/channels/mail/accounts/view/"+f.accountId+"/actions/list")}).error(function(a){console.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.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",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("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)})["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.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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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)}),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}).$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").directive("mailMessage",["MailMessage","$rootScope",function(a,b){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(c){c.openContact=function(a,c){b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a,name:c,type:"contact"})},c.retry=function(b){return a.update({id:b,status:"SENDING"}).$promise.then(function(){})["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html"}}),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"},{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",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(d){function p(a){return a?"<br><blockquote>"+a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>")+"</blockquote>":void 0}var q=[];d.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},d.panelLeft=null,d.panelRight="col-md-12",d.forms={},d.form={from:[],to:[],sto:[],cc:[],scc:[],tags:[],html:"",disabled:!1},n.socket.on("mail_message:save",function(a){return d.workspace.id&&a.MailRoomId==d.workspace.id?j.get({id:a.id}).$promise.then(function(a){d.mailRoom||(d.mailRoom={MailMessages:[]});var b=_.findIndex(d.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(d.mailRoom.MailMessages[b],a):d.mailRoom.MailMessages.unshift(a),d.panelLeft="col-md-6",d.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0});var r=d.uploader=new k({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+a.get("token")}});return r.removeFromQueue=function(a){var c=this;return g["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(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.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),q.push(c)},d.getMessageMailId=function(a){var b=a.UserId?"imgMailUserId"+a.UserId:"imgMailVisitorId";return b+=d.mailRoom.id.toString()+a.id.toString()},d.togglePanelLeft=function(){d.panelLeft?(d.panelLeft=null,d.panelRight="col-md-12"):(d.panelLeft="col-md-6",d.panelRight="col-md-6")},d.onSelect=function(){d.form.html=d.modelOptions.selectedAnswer,delete d.modelOptions.selectedAnswer},d.onSelectAnswer=function(a){d.form.html+=a,d.selectedAnswer=""},d.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},d.cancel=function(){d.form.disabled=!1,d.form.from=[],d.form.to=[],d.form.sto=[],d.form.cc=[],d.form.scc=[],delete d.form.subject,delete d.form.html},d.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html", +controller:"MailInboxStatusModalCtrl",resolve:{roomId:function(){return d.workspace.id},accountId:function(){return d.mailRoom.MailAccount.id},status:function(){return a}}})},d.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:function(){return d.workspace.id}}})},d.loadTemplate=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){d.form.subject=a.template.subject,d.form.html=a.template.html})},d.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return d.mailRoom.status},accountId:function(){return d.mailRoom.MailAccount.id}}}).result.then(function(a){return i.update({id:d.workspace.id},a).$promise["catch"](function(a){console.error(a),l.show(a.data.message,"danger")})})},d.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return d.workspace.id}}})},d.onChanged=function(){return i.update({id:d.workspace.id},{tags:d.form.tags}).$promise["catch"](function(a){console.error(a)})},d.sendMail=function(){m.spin("spinner-grid"),d.form.disabled=!0;var a={},c={subject:d.form.subject||d.mailRoom.subject,from:d.form.from,to:d.form.sto||[],cc:d.form.scc||[],html:d.form.html||null,text:d.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:q};return d.mailRoom?(a=_.last(d.mailRoom.MailMessages,{status:"RECEIVED"}),c.inReplyTo=a.messageId||null,i.save({id:d.workspace.id,controller:"messages"},c).$promise.then(function(){d.form.html="",r.queue=[],q=[],l.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):j.save(c).$promise.then(function(a){return l.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),i.get({id:"messages",controller:a.id}).$promise}).then(function(a){d.form.html="",r.queue=[],q=[],d.workspace.id=a.id,d.workspace.name=a.subject,d.mailRoom=a})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})},e.get().$promise.then(function(a){d.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(a){d.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),d.workspace.id?(d.panelLeft="col-md-6",d.panelRight="col-md-6",i.get({id:d.workspace.id}).$promise.then(function(a){d.mailRoom=a,d.form.from.push(a.MailAccount.address),d.form.tags=a.tags;var b=_.findLast(d.mailRoom.MailMessages,{status:"RECEIVED"});b&&(d.form.to=d.form.cc=d.form.bcc=_.union(b.from,b.to,b.cc,b.bcc),d.form.sto=_.remove(d.form.to,function(b){return b!==a.MailAccount.address}),d.form.subject="Re: "+b.subject,d.form.html=p(b.text)),n.socket.on("mail_room:save",function(a){a.id===d.workspace.id&&_.merge(d.mailRoom,a)})}).then(function(){return o.isAgent()?i.update({id:d.workspace.id},{status:"OPEN"}).$promise:void 0}).then(function(){return o.isAgent()?i.update({id:d.workspace.id,controller:"agents"},{agents:[o.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):(d.panelLeft=null,d.panelRight="col-md-12",m.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","usSpinnerService","socket","MailAccount","MailRoom","gridOptions","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"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"mailRoom","class":"icon-envelope",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){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"UNMANAGED",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),j.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:"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:"subject"},{name:"from",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.subject)"><i class="fa fa-envelope" 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("mailTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){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 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.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.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","MailAccount",function(a,b,c,d){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.mailAccounts=b.rows,a.mailAccounts.length&&(d="/channels/mail/inbox/view/account/"+a.mailAccounts[0].id+"/list"),d&&c.path(d)})["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){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").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("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",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),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").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",function(a,b,c,d,e){a.form={},a.item={},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",function(a,b,c,d,e,f,g,h){a.Auth=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(){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}}),i)})["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})})}}});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("ReportMailRoom",["$resource",function(a){return a("/api/report/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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").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("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",displayName:"APPLICATION_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.action",{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.action.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","SmsApplication",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/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.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,SmsAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.SmsQueueId=a.application.SmsQueueId}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/sms/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.sms.accounts.view.action.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","SmsApplication",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,SmsAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.SmsQueueId=a.application.SmsQueueId}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/sms/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.sms.accounts.view.action.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){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.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},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")})},a.$watch("account.remote",function(){a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"}),a.updateItemSmsAccount=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.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl"}).state("main.channels.sms.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/sms/account/view/view.settings.html",controller:"SmsAccountViewCtrl"})}]),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").controller("SmsInboxListCtrl",["$scope","$rootScope","SmsRoom","gridOptions","uiGridConstants","Auth",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:f.isAdmin(),columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1},{name:"from",cellClass:"text-center"},{name:"SmsAccount.name",displayName:"APPLICATION_ACCOUNT",cellClass:"text-center",enableFiltering:!1},{name:"users",displayName:"APPLICATION_AGENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{(row.entity.Users | map:'fullname').join(', ')}}</div>",enableSorting:!1,enableFiltering:!1},{name:"status",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"{'label-info': row.entity.status === 'OPEN', 'label-danger': row.entity.status === 'NEW','label-success': row.entity.status === 'CLOSED', 'label-warning': row.entity.status === 'UNMANAGED'}\">{{row.entity.status}}</span></div>",filter:{type:e.filter.SELECT,selectOptions:[{value:"NEW",label:"NEW"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"UNMANAGED",label:"UNMANAGED"}]},width:100},{name:"createdAt",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>',enableSorting:!1,enableFiltering:!1,width:125},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/inbox/view/{{row.entity.id}}/room",name:"open"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)",hide:!f.isAdmin()}]}]};a.gridOptions=d.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.list",{url:"/list",templateUrl:"app/channels/sms/inbox/list/list.html",controller:"SmsInboxListCtrl"})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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:"",body:""},l.socket.on("sms_message:save",function(b){a.workspace.id&&b.SmsRoomId==a.workspace.id&&a.SmsRoom.SmsMessages.unshift(b)}),l.socket.on("sms_message:update",function(b){if(a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),l.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status)}),a.updateStatus=function(b){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{id:function(){return a.workspace.id},status:function(){return b}}})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),g.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",h.get({id:a.workspace.id}).$promise.then(function(b){a.SmsRoom=b,a.form.from[0]=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=b.tags,a.form.disabled=!0,console.log("form",a.form)})["catch"](function(a){console.error(a)})["finally"](function(){k.stop("spinner-grid"),a.form.disabled=!1})):k.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 h.update({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.cancel=function(){a.submit({index:a.index})},a.sendSMS=function(){k.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from[0]}).id;if(c){var d={from:a.form.from[0],to:a.form.to,body:a.form.body};return g.save({accountId:c,controller:"send"},d).$promise.then(function(b){return a.SmsRoom?(a.forms.compose.$setPristine(),void(a.form.body="")):h.get({id:b.SmsRoomId}).$promise}).then(function(b){b&&(a.forms.compose.$setPristine(),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(){j.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){k.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").directive("sms",function(){return{templateUrl:"app/channels/sms/inbox/sms/sms.html",restrict:"EA",scope:{smsMessage:"=message",accounttype:"=accounttype"}}}),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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){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(){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:"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:"from",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)})}))}},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.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","$translate","$stateParams","$location","SmsRoom","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.show(a.message,"danger")})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),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["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",function(a,b,c,d,e){a.form={},a.item={},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",function(a,b,c,d,e,f,g){var h=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}}),h)})["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})})}}});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("ReportSmsRoom",["$resource",function(a){return a("/api/report/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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})}]),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})}]),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").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})}]),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})}]),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})}]),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})})}}});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("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){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.queuecallerleaveAt&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.queuecallerleaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_queue:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}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">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span> [<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:[],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",function(a,b,c,d,e,f,g){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={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:[{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>'},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"}]}]};a.gridOptions=e.gridOptions(d,b,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.gridOptions={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",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appType",displayName:"APPLICATION_INFO",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",enableSorting:!1,enableColumnMenu:!1,displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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.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.gridOptions={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",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appType",displayName:"APPLICATION_INFO",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1,width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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.gridOptions={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",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",enableSorting:!1,enableColumnMenu:!1,headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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})}]),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"],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})}]),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=[],b.rows.forEach(function(b,c){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:"mobile"},{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:"description"},{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","ReportChatRoom","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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("chat_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("chat_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("chat_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){ +a.abandoned=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c}]),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","ReportFaxRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("fax_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("fax_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("fax_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("fax_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","ReportMailRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("mail_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("mail_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("mail_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("mail_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","ReportSmsRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("sms_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("sms_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("sms_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("sms_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket",function(a,b,c,d,e,f){a.Auth=b;var g=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(){g(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"calleridnum",headerCellFilter:"translate",displayName:"APPLICATION_NUMBER",cellClass:"text-center ui-grid-vcenter"},{name:"calleridname",headerCellFilter:"translate",displayName:"APPLICATION_NAME",cellClass:"text-center ui-grid-vcenter"},{name:"queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){g(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:"list"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){b.queuecallerleaveAt?_.remove(a.table2.data,{id:b.id}):_.find(a.table1.data,{name:b.queue})&&a.table2.data.push(b)})})["catch"](function(a){console.error(a)})},a.initWaiting=function(){return c.get({id:"waiting"}).$promise.then(function(b){a.waiting=b.value,f.socket.on("dashboard:waiting",function(b){a.waiting=b.value})})["catch"](function(a){console.error(a)})},a.initActive=function(){return c.get({id:"active"}).$promise.then(function(b){a.active=b.value,f.socket.on("dashboard:active",function(b){a.active=b.value})})["catch"](function(a){console.error(a)})},a.initAnswered=function(){return c.get({id:"answered"}).$promise.then(function(b){a.answered=b.value,f.socket.on("dashboard:answered",function(b){a.answered=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,f.socket.on("dashboard:abandoned",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})},a.initAvgAnswerTime=function(){return c.get({id:"avganswertime"}).$promise.then(function(b){a.avganswertime=b.value,f.socket.on("dashboard:avganswertime",function(b){a.avganswertime=b.value})})["catch"](function(a){console.error(a)})},a.initAvgTalkTime=function(){return c.get({id:"avgtalktime"}).$promise.then(function(b){a.avgtalktime=b.value,f.socket.on("dashboard:avgtalktime",function(b){a.avgtalktime=b.value})})["catch"](function(a){console.error(a)})},a.initAnswerRate=function(){return c.get({id:"answerrate"}).$promise.then(function(b){a.answerrate=b.value,f.socket.on("dashboard:answerrate",function(b){a.answerrate=b.value})})["catch"](function(a){console.error(a)})},a.initTotalOffered=function(){return c.get({id:"totaloffered"}).$promise.then(function(b){a.totaloffered=b.value,f.socket.on("dashboard:totaloffered",function(b){a.totaloffered=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,f.socket.on("dashboard:unmanaged",function(b){a.unmanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandonRate=function(){return c.get({id:"abandonrate"}).$promise.then(function(b){a.abandonrate=b.value,f.socket.on("dashboard:abandonrate",function(b){a.abandonrate=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutbound=function(){return d.get({id:"manualoutbound"}).$promise.then(function(b){a.manualoutbound=b.value,f.socket.on("dashboard:manualoutbound",function(b){a.manualoutbound=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundGlobalDuration=function(){return d.get({id:"manualoutboundglobalduration"}).$promise.then(function(b){a.manualoutboundglobalduration=b.value,f.socket.on("dashboard:manualoutboundglobalduration",function(b){a.manualoutboundglobalduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAvgDuration=function(){return d.get({id:"manualoutboundavgduration"}).$promise.then(function(b){a.manualoutboundavgduration=b.value,f.socket.on("dashboard:manualoutboundavgduration",function(b){a.manualoutboundavgduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswered=function(){return d.get({id:"manualoutboundanswered"}).$promise.then(function(b){a.manualoutboundanswered=b.value,f.socket.on("dashboard:manualoutboundanswered",function(b){a.manualoutboundanswered=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswerRate=function(){return d.get({id:"manualoutboundanswerrate"}).$promise.then(function(b){a.manualoutboundanswerrate=b.value,f.socket.on("dashboard:manualoutboundanswerrate",function(b){a.manualoutboundanswerrate=b.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.integrations",{url:"/integrations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"})}]),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,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:15}}})}]),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",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/view/{{row.entity.id}}",name:"settings"},{"class":"green",name:"start",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",name:"report"},{"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/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","$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){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=d.id,a.toggle=function(a){console.log(a),a.graphType="PolarArea"===a.graphType?"Pie":"PolarArea"},a.initView=function(){l.get({id:d.id}).$promise.then(function(b){a.project=b})["catch"](function(a){h.show(a.message,"danger")}),l.get({id:d.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){h.show(a.message,"danger")})},a.getProjectSessions=function(){var b={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",enableFiltering:!1},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",enableFiltering:!1},{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=k.gridOptions(l,b,a,{id:d.id,controller:"sessions"})},a.deleteSession=function(b){l["delete"]({id:d.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView()})["catch"](function(a){h.show(a.message,"danger")})},a.getSessionDetails=function(){l.get({id:d.id,controller:"sessions",action:d.sessionId}).$promise.then(function(b){a.sessionQuestions=b})["catch"](function(a){h.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/"+d.id+"/question/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=k.gridOptions(l,b,a,{id:d.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=k.gridOptions(l,b,a,{id:d.id,controller:"inputs"})},a.getQuestionDetail=function(){l.query({id:d.id,controller:"questions",action:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.show(a.message,"danger")})},a.getDetail=function(){l.get({id:d.id,controller:"questions",action:d.questionId,action2:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.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.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/question/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.question.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){console.log("login errLogin",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){console.log("signup errLogin",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}))}}}}]),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","eventId","xAlert","$translate","Contact",function(a,b,c,d,e,f){a.open=function(a){b.close(a)},a.getContacts=function(){return f.query({id:c,controller:"checkevent"}).$promise.then(function(b){a.contacts=b})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})},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.project.lastQuestionId=a.project.questions[a.project.questions.length-1].id,"end"==a.project.questions[a.project.questions.length-1].value.nodeName?(a.projectStatus="completed",a.close()):a.projectStatus="incomplete"},a.close=function(){d.update({id:a.project.projectId,controller:"sessions",action:a.project.sessionId},{status:a.projectStatus,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("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("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){b.directive?a.cellTemplate+=b.directive:(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>':"",a.cellTemplate+=b.displayName||b.name?"{{'"+(b.displayName||"APPLICATION_"+b.name.toUpperCase())+"' | 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()}),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("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":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.tags=e.tags?e.tags.join(","):void 0,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:{eventId:function(){return 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.tags=e.tags?e.tags.join(","):void 0,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){console.log("openJscriptyTab"),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,eventData:a.uniqueid?a:null,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,eventData:a&&a.uniqueid?a:""})},b.language=c.use(),a.changeLanguage=function(a){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)})}}]),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().$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[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",function(a,b,c,d,e,f,g,h){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,i){return function(a,i,j){function k(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:""},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),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].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,k())})["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",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(b){var c=[];_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(d,e){c.push({name:d,displayName:a.columns[a.log[b].show][a.log[b].detail].header[e],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1})});var d={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c};a["gridOptions"+b]=j.gridOptions(h,d,a,_.merge({id:a.workspace.contactID,controller:"log",logType:b},a.log[b]),!0,b),a["gridOptions"+b].getPage()}a.moment=moment,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_DATE"],indexes:["source","destination","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},agent:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","agentcalledAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"]}}},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),n(b)},a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){b.tags=b.tags?b.tags.split(","):[],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){b.show("Project Ended","success")})}}}}}]).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"}],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()" ng-bind-html="btncontent || (\'APPLICATION_DOWNLOAD\' | translate)"></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"}}),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"]}])}]}})}]),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();switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":return b.info({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"mail":return b.success({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"fax":return b.warning({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"sms":return b.error({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});default:return b.primary({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j})}}}}]),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",function(a,b,c,d,e,f,g){function h(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){b.get("/api/integrations").success(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})}).error(function(a){e.show(a.message,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(d){a.status="Downloading",a.percentage=h(1,50),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!0}).success(function(){g(function(){a.percentage=h(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.uninstallIntegration=function(d){a.status="Uninstalling",a.percentage=h(1,99),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!1}).success(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","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","settings","Auth",function(a,b,c,d,e,f,g){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(g.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:["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:["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",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"}}})}]),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:"updatedtime",enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.historySpooler(row.entity.history)">{{\'APPLICATION_HISTORY\' | translate}}</a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSpooler(row.entity.phones.join(), row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</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.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("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:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_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").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.show(a.data.message,"danger")})},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.show(a.data.message,"danger")})},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",["$scope","gridOptions","Localnet","Externip",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"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.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.query().$promise.then(function(b){a.servers=b})["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").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",displayName:"APPLICATION_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){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.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:"default",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}).$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.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 ? '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",displayName:"APPLICATION_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)}}]),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.recordSwitch={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)}}]),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("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.downloadButtonContent='<i class="icon-cloud-download"></i>',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",{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",function(a,b,c,d,e,f,g){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")})}}]),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"})}]),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","$http","$translate","$stateParams","xAlert","Template",function(a,b,c,d,e,f){a.initItem=function(){a.form={},a.item={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}],a.item=f.get({id:d.id})},a.updateItem=function(){f.update(a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.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","$location","$http","WizardHandler","xAlert","Template",function(a,b,c,d,e,f){a.initWizard=function(){a.item={},a.form={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}]},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return f.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(){b.path("/tools/templates/list")})["catch"](function(a){e.show(data.err.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)}}]),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.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)}}]),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){b.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),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:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_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").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").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").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","chat","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").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){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","ngAudio","settings","toastr","localStorageService","Agent","SmsReport","MailReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport",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){function A(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),x.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,a.headerPause=function(b,c,d){return y.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(u.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(u.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&A(),i.socket.on("report_chat:save",function(a){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),v.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b="<b>"+u.instant("APPLICATION_FROM")+"</b>: "+a.visitorname+"<br><b>"+u.instant("APPLICATION_EMAIL")+"</b>: "+a.visitoremail;"queue"===a.application&&(b+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+a.queuename),s.show(u.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return q.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(u.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return q.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 r.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 r.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)})}}),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.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")};var B=function(){return v.Notification},C=function(){b.settings.layout.onFocus=!0},D=function(){b.settings.layout.onFocus=!1};v.onfocus=C,v.onblur=D,a.toogleSidebar=function(){k.layout.pageSidebarClosed=!k.layout.pageSidebarClosed,m.set("sidebarClosed",k.layout.pageSidebarClosed)},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3");"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d="<b>"+u.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+u.instant("APPLICATION_EMAIL")+"</b>: "+c.accountaddress;"queue"===c.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),s.show(u.instant("APPLICATION_NEW_MAIL_REQUEST"),d,"mail",1e3*c.timeslot,function(){return p.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,type:"mailRoom","class":"icon-envelope",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),B&&!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){c.play();var d="<b>"+u.instant("APPLICATION_FROM")+"</b>: "+b.accountname+"<br><b>"+u.instant("APPLICATION_SMS")+"</b>: "+b.accountnumber;"queue"===b.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),s.show(u.instant("APPLICATION_NEW_SMS_REQUEST"),d,"sms",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:"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){h.show(a.data.message,"danger")})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),B?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_fax:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d="<b>"+u.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+u.instant("APPLICATION_PHONE")+"</b>: "+c.from;"queue"===c.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),s.show(u.instant("APPLICATION_NEW_FAX_REQUEST"),d,"fax",1e3*c.timeslot,function(){return z.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.subject,type:"faxRoom","class":"icon-paper-plane",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return z.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.error(a)})}),B&&!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()}}]),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").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){console.log("openModal",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(){console.log(Array.prototype.slice.call(arguments));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("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare",function(a,b,c,d,e,f,g,h,i,j,k){var l=[{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:k}];return{tables:l}}]),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()||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("destroy",function(){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")}}}]),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue",function(a){var b={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"}]}],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"}]}},c=["voice"];return{services:b,channels:c}}]),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"}];return a}),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?a.config.timeout:1,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?a.config.timeout:1,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=1></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?a.config.timeout:1,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?a.config.timeout:1,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=1></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),function(){angular.module("pdf",[]).directive("ngPdf",["$window",function(a){return{restrict:"E",templateUrl:function(a,b){return b.templateUrl?b.templateUrl:"partials/viewer.html"},link:function(b,c,d){var e=d.pdfUrl,f=null,g=d.page?d.page:1,h=d.scale>0?d.scale:1,i=c.find("canvas"),j=i[0],k=j.getContext("2d"),l=angular.element(a);l.on("scroll",function(){b.$apply(function(){b.scroll=l[0].scrollY})}),PDFJS.disableWorker=!0,b.pageNum=g,b.renderPage=function(a){f.getPage(a).then(function(a){var e,f,g,i={};"page-fit"!==d.scale||h?e=a.getViewport(h):(e=a.getViewport(1),f=c[0].clientWidth/e.width,g=c[0].clientHeight/e.height,h=Math.min(f,g)),j.height=e.height,j.width=e.width,i={canvasContext:k,viewport:e},a.render(i).promise.then(function(){"function"==typeof b.onPageRender&&b.onPageRender()})})},b.goPrevious=function(){b.pageToDisplay<=1||(b.pageNum=parseInt(b.pageNum)-1)},b.goNext=function(){b.pageToDisplay>=f.numPages||(b.pageNum=parseInt(b.pageNum)+1)},b.zoomIn=function(){return h=parseFloat(h)+.2,b.renderPage(b.pageToDisplay),h},b.zoomOut=function(){return h=parseFloat(h)-.2,b.renderPage(b.pageToDisplay),h},b.changePage=function(){b.renderPage(b.pageToDisplay)},b.rotate=function(){"rotate0"===j.getAttribute("class")?j.setAttribute("class","rotate90"):"rotate90"===j.getAttribute("class")?j.setAttribute("class","rotate180"):"rotate180"===j.getAttribute("class")?j.setAttribute("class","rotate270"):j.setAttribute("class","rotate0")},PDFJS.getDocument(e,null,null,b.onProgress).then(function(a){"function"==typeof b.onLoad&&b.onLoad(),f=a,b.renderPage(b.pageToDisplay),b.$apply(function(){b.pageCount=a.numPages})},function(a){a&&"function"==typeof b.onError&&b.onError(a)}),b.$watch("pageNum",function(a){b.pageToDisplay=parseInt(a),null!==f&&b.renderPage(b.pageToDisplay)})}}}])}();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"),railVisible:"1"==$(this).attr("data-rail-visible"),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},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>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-disabled="!customTree.get_selected(true).pop().id" 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/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 <ui-select 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 <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" 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 </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="7" 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_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/offline/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_MESSAGE\' | translate}}</a>\n <hr>\n </h3>\n <div class="news-block-tags">\n <em am-time-ago="chatVisitor.ChatEnquiry.createdAt"></em>\n </div>\n <p>\n {{chatVisitor.ChatEnquiry.text}}\n </p>\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">{{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">{{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">{{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">{{chatVisitor.referer}} - {{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">{{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</div>\n'),a.put("app/channels/chat/offline/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/offline/list">Offline</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 {{chatVisitor.ChatEnquiry.email}}\n </div>\n <div class="profile-usertitle-job">\n {{chatVisitor.ChatEnquiry.username}}\n </div>\n </div>\n <!-- END 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.offline.view.detail\')}">\n <a data-ng-href="/channels/chat/offline/view/{{chatVisitor.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/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/icon_visitorchat.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"></i>\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">Name *</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">Email Address *</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">Message*</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">Fullname *</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">Email Address *</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 class="xc_powered"><a>Powered by xCALLY</a></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 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" 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 [\'rrmemory\',\'beepall\'] | 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\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 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">{{\'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 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 <!-- <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="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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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 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/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_CHAT_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 <button type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-if="chatRoom.status === \'CLOSED\'"> | </span>\n <span data-ng-if="chatRoom.status === \'CLOSED\'" 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 </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_NAME\' | translate}}: <p>{{chatRoom.ChatVisitor.fullname}}</p>\n {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-href="mailto:{{chatRoom.ChatVisitor.email}}">{{chatRoom.ChatVisitor.email}}</a></p>\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}: <p>{{chatRoom.ChatVisitor.remote_address}}</p>\n {{\'APPLICATION_BROWSER\' | translate}}: <p>{{chatRoom.ChatVisitor.browser}}</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="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/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 <!-- 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.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 <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/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 <!-- 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.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 <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/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_CHAT_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_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="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>\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.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="animationToggle in [true, false] | filter: $select.search">\n <div ng-bind-html="animationToggle ? \'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_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 <ui-select data-ng-model="chatWebsite.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_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 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 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.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="chatWebsite.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\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.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="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.startChatButton.$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 <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="icon-settings"></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 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 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 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 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.startChatButton.$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 <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 <!-- 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.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 </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 </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 <!-- 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.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 </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 <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 </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/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.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/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_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">\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 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/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 <span>{{message.from}}</span>\n <br>\n <span class="bold">To: </span>\n <span>{{message.to}} </span>\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">\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="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 <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.basename}}" href="api/fax/attachments/{{faxAttachment.id}}">\n {{ \'APPLICATION_DOWNLOAD\' | translate }}\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 <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 type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-show="faxRoom"> | </span>\n <span data-ng-show="faxRoom" class="label label-sm label-default">{{faxRoom.status}}</span>\n <span data-ng-show="faxRoom"> | </span>\n <span data-ng-show="faxRoom" class="caption-subject font-green-sharp bold">{{faxRoom.from}}</span>\n </div>\n <div class="actions" data-ng-switch="faxRoom.status">\n <a href="#" class="btn btn-icon-only yellow" data-ng-show="faxRoom" data-ng-click="loadNote()">\n <i class="fa fa-sticky-note"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-primary" data-ng-show="faxRoom" data-ng-click="loadAgents();">\n <i class="fa fa-user-plus"></i>\n </a>\n <!-- UPDATE SECTION START -->\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="NEW" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="OPEN" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="CLOSED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="UNMANAGED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <!-- UPDATE SECTION END -->\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">\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)">\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-show="faxRoom">\n\n <!-- END TAGS -->\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\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="message.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" ng-switch-default></fax-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\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}">\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}">\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">\n <div class="col-md-6">\n <input type="file" nv-file-select uploader="uploader" multiple/>\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\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 class="col-md-6">\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">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()">\n </div>\n </div>\n </div>\n\n <!-- END ATTACH -->\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/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 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" 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 HEADER SHAPE -->\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 [\'rrmemory\',\'beepall\'] | 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 HEADER SHAPE -->\n\n\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 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">{{\'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 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 <!-- <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="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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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 <!-- 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.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 <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/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 <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.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 <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/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_MAIL_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="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 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/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.fromId, message.from[0])">{{message.from[0]}}</a>]\n <br>\n <span class="bold">To: </span>\n <span>{{message.to}} </span>\n <br>\n <span data-ng-if="message.cc.length" class="bold">Cc: </span>\n <span data-ng-if="message.cc.length">{{message.cc}} </span>\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-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="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\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}}B\n </span>\n <a target="_self" download="{{mailAttachment.name}}" href="api/mail/attachments/{{mailAttachment.id}}">\n {{ \'APPLICATION_DOWNLOAD\' | translate }}\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 <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 type="button" data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="mailRoom" class="label label-sm label-default">{{mailRoom.status}}</span>\n <span data-ng-if="mailRoom"> | </span>\n <span data-ng-if="mailRoom" class="caption-subject font-green-sharp bold uppercase">{{mailRoom.subject | truncate: 25: \'...\': true}}</span>\n </div>\n <div class="actions" data-ng-switch="mailRoom.status">\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 href="#" class="btn btn-icon-only btn-primary" data-ng-if="mailRoom" data-ng-click="loadAgents();" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_AGENTS\' | translate}}">\n <i class="fa fa-user-plus"></i>\n </button>\n <button href="#" class="btn btn-icon-only btn-danger" data-ng-click="loadTemplate();" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_TEMPLATES\' | translate}}">\n <i class="fa fa-files-o"></i>\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-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 </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" schroll-bottom="mailRoom.MailMessages">\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" 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">Info! {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.\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\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$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">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from[0]" 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 <span data-ng-if="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 <!-- MAIL TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$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">To:</label>\n </div>\n <div class="col-md-11">\n <ui-select tagging tagging-label multiple data-ng-model="form.sto" theme="bootstrap" name="to">\n <ui-select-match placeholder="To...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="to in form.to | filter:$select.search">\n {{to}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-if="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 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 <ui-select tagging tagging-label multiple data-ng-model="form.scc" theme="bootstrap" name="cc">\n <ui-select-match placeholder="Cc...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="cc in form.cc | filter:$select.search">\n {{cc}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n </div>\n </div>\n <!-- END CC -->\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\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 text-angular ta-text-editor-class="form-control myform2-height" ta-html-editor-class="form-control myform2-height" data-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 <!-- 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-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-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 <!-- END CANNED -->\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (mailRoom.status !== \'CLOSED\')">\n <div class="col-md-6">\n <input type="file" nv-file-select uploader="uploader" multiple/>\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\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\n <div class="col-md-6">\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-if="!form.html || mailRoom.status !== \'CLOSED\'">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()" data-ng-if="mailRoom.status !== \'CLOSED\'">\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\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_CHAT_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" 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/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 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 [\'rrmemory\',\'beepall\'] | 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/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 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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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/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 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 <!-- 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.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 <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/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 <!-- 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.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 <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/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.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 <!-- <li ng-class="{active: $state.includes(\'main.channels.sms.accounts.view.actions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/configurations">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIOS\' | 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\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 <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 ng-if= "account.type == \'twilio\' || account.type == \'skebby\'" 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-if= "account.type == \'twilio\' || account.type == \'skebby\'" ng-show="!forms.info.remote.$invalid" class="form-group" >\n\n <label class="control-label">URL </label><br>\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 <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard(receiveurl);">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n <br><br>\n <code-mirror model="receiveurl"></code-mirror>\n\n </div>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="form-group" ng-show="!forms.info.remote.$invalid">\n\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 <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard(deliveryurl);">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n <br><br>\n\n <code-mirror model="deliveryurl"></code-mirror>\n\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\n\n\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></span>\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 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\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\n\n\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 == \'twilio\' || item.type == \'skebby\'" 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\n\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/sms/inbox/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-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<!-- 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-note font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INBOX\' | 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/inbox/view/compose">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_MESSAGE\' | 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/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" data-ng-show="SmsRoom">\n <button type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-show="SmsRoom"> | </span>\n <span data-ng-show="SmsRoom" class="label label-sm label-default">{{SmsRoom.status}}</span>\n <!-- <span data-ng-show="SmsRoom"> | </span> -->\n </div>\n <div class="actions" data-ng-switch="SmsRoom.status">\n <!-- <a href="#" class="btn btn-icon-only yellow" data-ng-show="SmsRoom" data-ng-click="loadNote()">\n <i class="fa fa-sticky-note"></i>\n </a> -->\n <a href="#" class="btn btn-icon-only btn-primary" data-ng-show="SmsRoom" data-ng-click="loadAgents();">\n <i class="fa fa-user-plus"></i>\n </a>\n <!-- UPDATE SECTION START -->\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="NEW" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="OPEN" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="CLOSED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="UNMANAGED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\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">\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)">\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-show="SmsRoom">\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 <!-- <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.ChatVisitor ? \'pretty-avatar-v\' : \'pretty-avatar\'">\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[0]}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <sms message="smsMessage" accounttype=\'SmsRoom.SmsAccount.type\' ng-switch-default></sms>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\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}">\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="form.disabled" theme="bootstrap" name="from" data-ng-model="form.from[0]" 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}">\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" ng-disabled="form.disabled" data-ng-model="form.to" required>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\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 message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}">\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" required></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 <!-- START CANNED -->\n <div class="form-group" 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 <!-- END CANNED -->\n <!-- END message -->\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" >\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()">\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/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 <span>{{smsMessage.from}}</span>\n <br>\n <span class="bold">To: </span>\n <span>{{smsMessage.to}} </span>\n <br>\n <!-- <span data-ng-if="mailMessage.cc.length" class="bold">Cc: </span>\n <span data-ng-if="mailMessage.cc.length">{{mailMessage.cc}} </span> -->\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="smsMessage.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-show="smsMessage.source">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.source}}</strong></span>\n\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right">\n'+" <a data-ng-click=\"(smsMessage.status == 'SENDING' || smsMessage.status == 'FAILED') && retry(smsMessage.id)\" href=\"#\" class=\"btn default btn-xs inactive-link\" data-ng-class=\"{'green-stripe': smsMessage.status == 'SENT' || smsMessage.status == 'RECEIVED' || smsMessage.status == 'DELIVERED', 'blue-stripe': smsMessage.status == 'SENDING', 'red-stripe': smsMessage.status == 'FAILED'}\"> {{smsMessage.status | uppercase}}\n <i data-ng-class=\"{'fa fa-check': smsMessage.status == 'SENT' || smsMessage.status == 'RECEIVED' || smsMessage.status == 'DELIVERED', 'fa fa-warning': smsMessage.status == 'SENDING', 'fa fa-times': smsMessage.status == 'FAILED'}\"></i>\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 href=\"http://www.skebby.com/sms-api/sms-gateway/developers-docs/#errorCodesSection\" target=\"_blank\" ng-if=\"(smsMessage.errorcode) && (smsMessage.status == 'FAILED') && (accounttype=='skebby')\">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) && (accounttype=='skebby')\">Error Code:{{smsMessage.errorcode}}</a>\n\n </span>\n <i class=\"icon-calendar\"></i> <span am-time-ago=\"smsMessage.updatedAt\"></span>\n </span>\n <hr>\n <!-- <div class=\"row\">\n <div class=\"col-md-12\">\n <span class=\"bold\">Message: </span>\n <span>{{smsMessage.body}}</span>\n <br>\n\n </div>\n\n </div> -->\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" 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/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 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 [\'rrmemory\',\'beepall\'] | 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/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 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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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-eye"></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/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 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/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 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" 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 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 </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">\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-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">\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-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/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">\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-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/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 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 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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initAbandoned()">\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="/dashboard/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="/dashboard/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="/dashboard/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="/dashboard/sms">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initWaiting()">\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="initActive()">\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="initAnswered()">\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="initAbandoned()">\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="initAvgAnswerTime()">\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="initAvgTalkTime()">\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="initAnswerRate()">\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="initAbandonRate()">\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="initTotalOffered()">\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="initUnmanaged()">\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="initManualOutbound()">\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="initManualOutboundGlobalDuration()">\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="initManualOutboundAnswered()">\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="initManualOutboundAvgDuration()">\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="initManualOutboundAnswerRate()">\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/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">\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="row" data-ng-init="getQuestionDetail()">\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_SUMMARY\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <!-- <a class="btn btn-info" href="#" data-ng-click="pdf()">\n <i class="fa fa-download"></i>\n </a> -->\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="alert alert-success text-center" ng-show="!questionDetail.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row margin-top-20" ng-show="questionDetail.length">\n <div class="col-md-10 col-md-offset-1">\n\n <div 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\n </div>\n </div><br>\n <div class="panel panel-info" ng-repeat= " question in questionDetail ">\n <div class="panel-heading">\n <h3 class="panel-title">\n <i class="fa-chart "></i>Question Id: {{question.question_id}}\n </div>\n <div class="panel-body">\n <!-- <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <strong>Question Type: </strong>{{question.question_type}}\n </div>\n </div> -->\n <div class="row">\n <div class="col-md-12 ">\n <h4><strong>{{question.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>{{question.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="!question.choices.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div> -->\n <table ng-if="question.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 question.choices ">\n\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\n </tr>\n\n </tbody>\n </table>\n </div>\n\n </div>\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\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total: {{question.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class="col-md-6 pull-right " style=" word-break: break-all; word-wrap: break-word;">\n <canvas id="base" class="chart-base" chart-type="question.graphType"\n chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n <!-- <canvas id="bar" class="chart chat-pie" chart-data="question.graphData" chart-labels="question.graphLabels"> -->\n</canvas>\n <!-- <button class="btn btn-success btn-sm pull-right" ng-click="toggle(question)">{{question.graphType}}</button> -->\n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n </div>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row margin-top-20" 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-userpic">\n <img src="assets/images/xcally.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>\n <div class="portlet-body" id="sessionDetail" style="height: auto;">\n <div class="row margin-top-20">\n <div class="col-md-10 col-md-offset-1">\n <div 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>{{sessionQuestions.session_id}}<br>\n <strong>Status: </strong>{{sessionQuestions.status}}<br>\n <strong>Started At: </strong>{{sessionQuestions.createdAt}}<br>\n <strong>Closed At: </strong>{{sessionQuestions.completedAt}}<br>\n </div>\n </div>\n\n <div class="panel panel-info" ng-repeat=" question in sessionQuestions.ReportJscriptyQuestions |orderBy:\'id\'">\n <div class="panel-heading">\n <h3 class="panel-title">\n <i class="fa-chart "></i>Question Id: {{question.question_id}}\n </div>\n <div class="panel-body" ng-if="question.question_label" >\n <div class="row">\n <div class="col-md-12 ">\n <h4><strong>{{question.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>{{question.question_text}}</h4></strong><br>\n </div>\n </div>\n <div class="row" style="word-wrap: break-word;">\n <div class="col-md-10 col-md-offset-1 " ng-if="question.question_answer ">\n <h4><strong>Answer: </strong>{{question.question_answer}}</h4>\n </div>\n </div>\n <div ng-if="question.question_other_answer" class="col-md-10 col-md-offset-1 ">\n <h4>\n <strong>{{question.question_other_label}}: </strong>\n {{question.question_other_answer}}\n </h4>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6 col-md-offset-3 ">\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\n <td>{{input.input_label}}</td>\n <td>{{input.input_value || \'No Value\'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\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 -->\n<div class="logo">\n <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\n </a>\n</div>\n<!-- END LOGO -->\n\n<!-- BEGIN LANDING -->\n<div data-ng-init="initLanding()">\n <div data-ng-show="message" class="col-md-12 page-500" style="padding-bottom: 50px;">\n <div class="number">\n Oops!\n </div>\n <div class=" details" style="color: white;">\n <h3>{{message | translate}}.</h3>\n <p>\n Please contact your administrator.<br><br>\n </p>\n </div>\n </div>\n</div>\n<!-- END LANDING -->\n\n<div class="copyright">\n xCALLY Motion | 2016 © Powered by Xenialab\n</div>\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\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 ng-if="projectStatus == \'incomplete\'" class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n\n</div>\n<div ng-if="projectStatus == \'incomplete\'" class="modal-body">\n <p>{{\'MESSAGE_CLOSE_INCOMPLETE\' | translate}}</p>\n</div>\n<div ng-if="projectStatus == \'completed\'" class="modal-body">\n <p>{{\'MESSAGE_WELL_DONE\' | translate}}</p>\n</div>\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/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/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="closeTab(index)"></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 </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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2">\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-2" 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-2" 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-2" 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-2">\n <input type="text" ng-model="element.data3" class="form-control"/>\n</div>\n'),a.put("app/main/template/template.conditionBuilder.html",'<div data-ng-if="randomName" class="form-group col-md-3" 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-3" 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-3" 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-3" 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_LOG\' | 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">\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-3 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>\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">\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 <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\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 <input type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\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 <input type="text" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\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 <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\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 tagging tagging-label="" 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">{{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">{{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_LOG\' | 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\')">\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\',\'inbound\')">\n <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n </div> |\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.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-if="log.daily.show==\'phone\'" 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> |\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" ui-grid="gridOptionsdaily" 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="!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\')">\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\',\'inbound\')">\n <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n </div> |\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.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-if="log.history.show==\'phone\'" 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> |\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" ui-grid="gridOptionshistory" 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="!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" value="{{edge.value}}" ng-change=\'next(edge.target, edge.value)\'>\n <label ng-show="(edge.source.id == currentQuestion.id) && edge.value">{{edge.value}}</label><br><br>\n <!-- <ul class="nav nav-pills nav-stacked" >\n <li ng-repeat=\'edge in currentQuestion.edges track by $index\' style="background-color: #E8F7FC" ng-show="(edge.source.id == currentQuestion.id) && edge.value" ng-class="{active: (edge.value) == currentQuestion.answer}">\n <a ng-click="next(edge.target, edge.value)" >\n <span style=" display:block;word-break:break-all;">{{edge.value}}</span>\n </a>\n </li>\n </ul> -->\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 class="btn-set pull-left">\n <button class="btn red-haze " ng-click="end()"><span class="fa fa-times" > End</span></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-repeat=\'edge in currentQuestion.edges track by $index\' ng-show="(edge.value == currentQuestion.answer) && edge.value" class="btn blue-hoki" ng-click="next(edge.target, edge.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 custom-template">\n <h3 ng-show="title" ng-bind-html="title"></h3>\n <div class="message" ng-bind-html="message"></div>\n <div class="message">\n <a class="btn btn-success btn-primary close-notification" ng-click="nAccept()"><i class="glyphicon glyphicon-ok"></i> {{acceptBtn}}</a>\n <a class="btn btn-error btn-primary close-notification" ng-click="nReject()"><i class="glyphicon glyphicon-remove"></i> {{rejectBtn}}</a>\n </div>\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 <ui-select data-ng-model="rule.condition" theme="bootstrap" class="col-md-1" dynamic-name="randomName()">\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 class="col-md-2 left-margin" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.value}">\n <input type="text" ng-model="rule.value" class="form-control" dynamic-name="randomName()" required/>\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.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.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.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 <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 <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/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="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 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" 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-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-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/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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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 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="#">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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="#">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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\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.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 <!-- <pre>\n {{conditionsData.query | json}}\n </pre>\n <pre>\n {{actionsData.query | json}}\n </pre> -->\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 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></br>\n <input\n bs-switch\n class="form-control"\n ng-model="automation.status"\n type="checkbox"\n name="status"\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 <!-- 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 <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="padding-bottom row" ng-repeat="all in automation.All">\n <condition-builder element="all" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in automation.Any">\n <condition-builder element="any" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in automation.Actions">\n <div class="form-group col-md-2" 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 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-status ng-switch-when="status" element="action" form="forms.general"></action-builder-status>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="{{ 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 <!-- 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 <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="padding-bottom row" ng-repeat="all in item.All">\n <condition-builder element="all" serviceindex="item.channel" service="$automations" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in item.Any">\n <condition-builder element="any" serviceindex="item.channel" service="$automations" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in item.Actions">\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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 data-ng-show="(forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.settings"></action-builder-integration>\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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-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/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.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 </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.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 <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/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-docs"></i>\n <a href="/mail/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-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 <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-4">\n <label class="control-label pull-right">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-8">\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\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-pencil"></i>{{\'APPLICATION_VARIABLES\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <uib-accordion>\n <uib-accordion-group heading="{{group.title | translate}}" data-ng-repeat="group in groups">\n {{group.content | translate}}\n <ol>\n <li data-ng-repeat="variable in group.variables">\n {{variable}}\n </li>\n </ol>\n </uib-accordion-group>\n </uib-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="item.html" name="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="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-4">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pencil"></i>{{\'APPLICATION_VARIABLES\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <uib-accordion>\n <uib-accordion-group heading="{{group.title | translate}}" data-ng-repeat="group in groups">\n {{group.content | translate}}\n <ol>\n <li data-ng-repeat="variable in group.variables">\n {{variable}}\n </li>\n </ol>\n </uib-accordion-group>\n </uib-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="item.html" name="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'),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 <!-- <pre>\n {{conditionsData.query | json}}\n </pre>\n <pre>\n {{actionsData.query | json}}\n </pre> -->\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 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="trigger.status"\n type="checkbox"\n name="status"\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 <!-- 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="padding-bottom row" ng-repeat="all in trigger.All">\n <condition-builder element="all" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in trigger.Any">\n <condition-builder element="any" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in trigger.Actions">\n <div class="form-group col-md-2" 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.settings"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.settings"></action-builder-jscripty>\n\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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></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="{{ 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 <!-- 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 $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 <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="padding-bottom row" ng-repeat="all in item.All">\n <condition-builder element="all" serviceindex="item.channel" service="$triggers" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in item.Any">\n <condition-builder element="any" serviceindex="item.channel" service="$triggers" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in item.Actions">\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.settings"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.settings"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.settings"></action-builder-jscripty>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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 <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 <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 src="assets/images/logo.png" alt="logo" class="logo-default"/>\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">\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() || 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-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>\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-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-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-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-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-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-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 </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_ROOMS\' | 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 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 </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" >{{\'APPLICATION_CALLYSQUARE\' | translate}}</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 class="badge">Beta</span></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 </ul>\n </li>\n <!-- END SETTINGS LIST -->\n\n <!-- START INTEGRATION CASE -->\n <li data-ng-if="::((Auth.isAdmin() || 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">\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 </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/316e37bb.app.js b/public/app/316e37bb.app.js deleted file mode 100644 index d547ba3..0000000 --- a/public/app/316e37bb.app.js +++ /dev/null @@ -1,68 +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","infinite-scroll","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","pdf","remoteValidation","smart-table","sprintf","textAngular","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"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){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("sanitize"),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("xcally"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License","localStorageService","Setting",function(a,b,c,d,e){return a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:d.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},e.get({id:1}).$promise.then(function(b){a.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted"})["catch"](function(a){console.error(a)}),a.settings}]).factory("authInterceptor",["$rootScope","$q","$cookieStore",function(a,b,c){return{request:function(a){return a.headers=a.headers||{},c.get("token")&&(a.headers.Authorization="Bearer "+c.get("token")),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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)},k.get().$promise.then(function(b){a.license=b.license,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})})["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:"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+'_'+grid.appScope.moment(row.entity.startDate).format('MM-DD-YYYY').toString()+'_'+grid.appScope.moment(row.entity.endDate).format('MM-DD-YYYY').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.item={},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(){b.close({parent:a.customTree.get_selected(!0).pop().id})},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").endOf("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).endOf("day"),moment().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),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").endOf("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).endOf("day"),moment().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(d){var e=_.find(a.tables,{value:d}).resource;e.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.show(c.instant(a.message),"danger")})["finally"](function(){s(d)})}function s(d){return p.get({controller:"table",table:d}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.show(c.instant(a.message),"danger")})}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++)c>0&&(b+=" <strong>"+a.operator+"</strong> "),b+=a.rules[c].group?u(a.rules[c].group):a.rules[c].field+" "+t(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":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.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})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return e.conditions=angular.toJson(e.conditions),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("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("ChatMessage",["$resource",function(a){return a("/api/chat/messages/: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"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatVisitor","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"fullname",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>'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{origin:"enquiry"})}}]),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").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","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.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl",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.offline.view.detail",{url:"/detail",templateUrl:"app/channels/chat/offline/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("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",function(){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})})}}});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("ReportChatRoom",["$resource",function(a){return a("/api/report/chat/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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",function(a,b,c,d,e,f,g){function h(){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(){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:"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:[]},a.getPage(),h()},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",function(a,b,c,d,e,f){function g(){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(){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}" 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(),g()},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",function(a,b,c,d,e,f,g,h,i,j,k,l){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},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})},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 Incoming Chat Visitor!",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("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","ChatApplication","ChatQueue","Agent","Interval",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(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],k.get({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.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":e.UserId=a.application.UserId,e.ChatQueueId=null;break;case"queue":e.ChatQueueId=a.application.ChatQueueId,e.UserId=null}switch(a.application.intType){case"always":e.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:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return k.update({id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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={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.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:f.websiteId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[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?c[1]="*":c[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?c[2]="*":c[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?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",d).success(function(){h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")}).error(function(a){i.show(a.message||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.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",function(a,b,c,d){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},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)})["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.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",function(a,b,c,d,e){a.$translate=d,a.statePreview={state:"online"},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 e.get().$promise.then(function(b){a.templates=b.rows})}}]),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.show(a.message||a.data.message,"danger")})}}]),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",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(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],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.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":e.UserId=a.application.UserId;break;case"queue":e.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":e.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:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["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",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){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=["*","*","*","*"],c={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.FaxQueueId=a.application.FaxQueueId}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 n.save({accountId:f.accountId,controller:"applications"},c).$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").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount","Trunk",function(a,b,c,d,e,f,g,h,i,j,k){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"],k.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){h.error(a)}),j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItemFaxAccount=function(){return j.update({id:c.accountId},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.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"]})}]}}).state("main.channels.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/fax/account/view/view.settings.html"})}]),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",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html"}}),angular.module("xCallyShuttleApp").directive("faxNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html"}}),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}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:"",disabled:!1},k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?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}),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.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.status.modal.html",controller:"FaxInboxViewModalStatusCtrl",resolve:{id:function(){return o.workspace.id},status:function(){return 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)})};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:"pdfFilter",fn:function(a,b){var c="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(c)}}),r.onWhenAddingFileFailed=function(a,c,d){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"pdfFilter":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};a=_.merge(a,c),q.push(c)},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_MAIL_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.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),"CLOSED"!==o.faxRoom.status&&m.isAgent()?f.update({id:o.workspace.id,controller:"open"},{status:"OPEN"}):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").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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.onChanged=function(){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.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"faxRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"faxRoom","class":"icon-paper-plane",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){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},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)})}),a.initView=function(){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),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:"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:"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="fa fa-envelope" 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("fax_room:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.unshift(b)}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)}}]),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",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.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",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.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}}),i)})["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})})}}});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("ReportFaxRoom",["$resource",function(a){return a("/api/report/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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.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"},{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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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/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.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":g.interval=e.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(e[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?e[1]="*":e[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?e[2]="*":e[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?e[3]="*":e[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=e.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.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","MailQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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){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 c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,MailAccountId:f.accountId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[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?c[1]="*":c[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?c[2]="*":c[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?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",d).success(function(){h.path("/channels/mail/accounts/view/"+f.accountId+"/actions/list")}).error(function(a){console.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.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",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("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)})["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.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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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)}),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}).$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").controller("MailInboxDispositionModalCtrl",["$scope","$uibModalInstance","$translate","id","disposition","MailAccount","MailRoom","xAlert","accountId",function(a,b,c,d,e,f,g,h,i){a.initModal=function(){return a.item={disposition:e},f.get({accountId:i,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){return g.update({id:d},a.item).$promise.then(function(a){h.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),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").directive("mailMessage",["MailMessage","$rootScope",function(a,b){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(c){c.openContact=function(a,c){b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a,name:c,type:"contact"})},c.retry=function(b){return a.update({id:b,status:"SENDING"}).$promise.then(function(){})["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html"}}),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"},{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",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(d){function p(a){return a?"<br><blockquote>"+a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>")+"</blockquote>":void 0}var q=[];d.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},d.panelLeft=null,d.panelRight="col-md-12",d.forms={},d.form={from:[],to:[],sto:[],cc:[],scc:[],tags:[],html:"",disabled:!1},n.socket.on("mail_message:save",function(a){return d.workspace.id&&a.MailRoomId==d.workspace.id?j.get({id:a.id}).$promise.then(function(a){d.mailRoom||(d.mailRoom={MailMessages:[]});var b=_.findIndex(d.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(d.mailRoom.MailMessages[b],a):d.mailRoom.MailMessages.unshift(a),d.panelLeft="col-md-6",d.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0});var r=d.uploader=new k({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+a.get("token")}});return r.removeFromQueue=function(a){var c=this;return g["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(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.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),q.push(c)},d.getMessageMailId=function(a){var b=a.UserId?"imgMailUserId"+a.UserId:"imgMailVisitorId";return b+=d.mailRoom.id.toString()+a.id.toString()},d.togglePanelLeft=function(){ -d.panelLeft?(d.panelLeft=null,d.panelRight="col-md-12"):(d.panelLeft="col-md-6",d.panelRight="col-md-6")},d.onSelect=function(){d.form.html=d.modelOptions.selectedAnswer,delete d.modelOptions.selectedAnswer},d.onSelectAnswer=function(a){d.form.html+=a,d.selectedAnswer=""},d.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},d.cancel=function(){d.form.disabled=!1,d.form.from=[],d.form.to=[],d.form.sto=[],d.form.cc=[],d.form.scc=[],delete d.form.subject,delete d.form.html},d.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{roomId:function(){return d.workspace.id},accountId:function(){return d.mailRoom.MailAccount.id},status:function(){return a}}})},d.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:function(){return d.workspace.id}}})},d.loadTemplate=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){d.form.subject=a.template.subject,d.form.html=a.template.html})},d.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return d.mailRoom.status},accountId:function(){return d.mailRoom.MailAccount.id}}}).result.then(function(a){return i.update({id:d.workspace.id},a).$promise["catch"](function(a){console.error(a),l.show(a.data.message,"danger")})})},d.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return d.workspace.id}}})},d.onChanged=function(){return i.update({id:d.workspace.id},{tags:d.form.tags}).$promise["catch"](function(a){console.error(a)})},d.sendMail=function(){m.spin("spinner-grid"),d.form.disabled=!0;var a={},c={subject:d.form.subject||d.mailRoom.subject,from:d.form.from,to:d.form.sto||[],cc:d.form.scc||[],html:d.form.html||null,text:d.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:q};return d.mailRoom?(a=_.last(d.mailRoom.MailMessages,{status:"RECEIVED"}),c.inReplyTo=a.messageId||null,i.save({id:d.workspace.id,controller:"messages"},c).$promise.then(function(){d.form.html="",r.queue=[],q=[],l.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):j.save(c).$promise.then(function(a){return l.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),i.get({id:"messages",controller:a.id}).$promise}).then(function(a){d.form.html="",r.queue=[],q=[],d.workspace.id=a.id,d.workspace.name=a.subject,d.mailRoom=a})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})},e.get().$promise.then(function(a){d.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(a){d.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),d.workspace.id?(d.panelLeft="col-md-6",d.panelRight="col-md-6",i.get({id:d.workspace.id}).$promise.then(function(a){d.mailRoom=a,d.form.from.push(a.MailAccount.address),d.form.tags=a.tags;var b=_.findLast(d.mailRoom.MailMessages,{status:"RECEIVED"});b&&(d.form.to=d.form.cc=d.form.bcc=_.union(b.from,b.to,b.cc,b.bcc),d.form.sto=_.remove(d.form.to,function(b){return b!==a.MailAccount.address}),d.form.subject="Re: "+b.subject,d.form.html=p(b.text)),n.socket.on("mail_room:save",function(a){a.id===d.workspace.id&&_.merge(d.mailRoom,a)})}).then(function(){return o.isAgent()?i.update({id:d.workspace.id},{status:"OPEN"}).$promise:void 0}).then(function(){return o.isAgent()?i.update({id:d.workspace.id,controller:"agents"},{agents:[o.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):(d.panelLeft=null,d.panelRight="col-md-12",m.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","usSpinnerService","socket","MailAccount","MailRoom","gridOptions","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"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"mailRoom","class":"icon-envelope",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){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"UNMANAGED",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),j.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:"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:"subject"},{name:"from",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.subject)"><i class="fa fa-envelope" 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("mailTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){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 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.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.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","MailRoom","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("MailInboxViewCtrl",["$scope","$timeout","$location","MailAccount",function(a,b,c,d){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.mailAccounts=b.rows,a.mailAccounts.length&&(d="/channels/mail/inbox/view/account/"+a.mailAccounts[0].id+"/list"),d&&c.path(d)})["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){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").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("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",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),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").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",function(a,b,c,d,e){a.form={},a.item={},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",function(a,b,c,d,e,f,g,h){a.Auth=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(){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}}),i)})["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})})}}});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("ReportMailRoom",["$resource",function(a){return a("/api/report/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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").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("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",displayName:"APPLICATION_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.action",{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.action.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","SmsApplication",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/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.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,SmsAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.SmsQueueId=a.application.SmsQueueId}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/sms/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.sms.accounts.view.action.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","SmsApplication",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,SmsAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.SmsQueueId=a.application.SmsQueueId}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/sms/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.sms.accounts.view.action.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){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.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},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")})},a.$watch("account.remote",function(){a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"}),a.updateItemSmsAccount=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.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl"}).state("main.channels.sms.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/sms/account/view/view.settings.html",controller:"SmsAccountViewCtrl"})}]),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").controller("SmsInboxListCtrl",["$scope","$rootScope","SmsRoom","gridOptions","uiGridConstants","Auth",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:f.isAdmin(),columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1},{name:"from",cellClass:"text-center"},{name:"SmsAccount.name",displayName:"APPLICATION_ACCOUNT",cellClass:"text-center",enableFiltering:!1},{name:"users",displayName:"APPLICATION_AGENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{(row.entity.Users | map:'fullname').join(', ')}}</div>",enableSorting:!1,enableFiltering:!1},{name:"status",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"{'label-info': row.entity.status === 'OPEN', 'label-danger': row.entity.status === 'NEW','label-success': row.entity.status === 'CLOSED', 'label-warning': row.entity.status === 'UNMANAGED'}\">{{row.entity.status}}</span></div>",filter:{type:e.filter.SELECT,selectOptions:[{value:"NEW",label:"NEW"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"UNMANAGED",label:"UNMANAGED"}]},width:100},{name:"createdAt",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>',enableSorting:!1,enableFiltering:!1,width:125},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/inbox/view/{{row.entity.id}}/room",name:"open"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)",hide:!f.isAdmin()}]}]};a.gridOptions=d.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.list",{url:"/list",templateUrl:"app/channels/sms/inbox/list/list.html",controller:"SmsInboxListCtrl"})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams",function(a,b,c,d,e,f,g,h,i,j,k,l,m){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:"",body:""},l.socket.on("sms_message:save",function(b){a.workspace.id&&b.SmsRoomId==a.workspace.id&&a.SmsRoom.SmsMessages.unshift(b)}),l.socket.on("sms_message:update",function(b){if(a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),l.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status)}),a.updateStatus=function(b){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{id:function(){return a.workspace.id},status:function(){return b}}})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),g.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",h.get({id:a.workspace.id}).$promise.then(function(b){a.SmsRoom=b,a.form.from[0]=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=b.tags,a.form.disabled=!0,console.log("form",a.form)})["catch"](function(a){console.error(a)})["finally"](function(){k.stop("spinner-grid"),a.form.disabled=!1})):k.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 h.update({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.cancel=function(){a.submit({index:a.index})},a.sendSMS=function(){k.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from[0]}).id;if(c){var d={from:a.form.from[0],to:a.form.to,body:a.form.body};return g.save({accountId:c,controller:"send"},d).$promise.then(function(b){return a.SmsRoom?(a.forms.compose.$setPristine(),void(a.form.body="")):h.get({id:b.SmsRoomId}).$promise}).then(function(b){b&&(a.forms.compose.$setPristine(),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(){j.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){k.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").directive("sms",function(){return{templateUrl:"app/channels/sms/inbox/sms/sms.html",restrict:"EA",scope:{smsMessage:"=message",accounttype:"=accounttype"}}}),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",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){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(){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:"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:"from",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)})}))}},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.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","$translate","$stateParams","$location","SmsRoom","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.show(a.message,"danger")})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),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["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",function(a,b,c,d,e){a.form={},a.item={},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",function(a,b,c,d,e,f,g){var h=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}}),h)})["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})})}}});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("ReportSmsRoom",["$resource",function(a){return a("/api/report/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),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})}]),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})}]),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").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})}]),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})}]),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})}]),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})})}}});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("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){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.queuecallerleaveAt&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.queuecallerleaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_queue:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}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">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span> [<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:[],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",function(a,b,c,d,e,f,g){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={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:[{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>'},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"}]}]};a.gridOptions=e.gridOptions(d,b,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.gridOptions={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",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appType",displayName:"APPLICATION_INFO",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",enableSorting:!1,enableColumnMenu:!1,displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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.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.gridOptions={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",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appType",displayName:"APPLICATION_INFO",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1,width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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.gridOptions={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",enableSorting:!1,enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableSorting:!1,enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",enableSorting:!1,enableColumnMenu:!1,headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</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))">{{\'APPLICATION_DELETE\' | translate}}</a>'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()})}},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})["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})}]),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"],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})}]),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=[],b.rows.forEach(function(b,c){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:"mobile"},{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:"description"},{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,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),f.path("/contactmanager/customfields/list")})},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","ReportChatRoom","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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){ -a.open=b.value,d.socket.on("chat_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("chat_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("chat_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c}]),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","ReportFaxRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("fax_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("fax_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("fax_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("fax_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","ReportMailRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("mail_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("mail_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("mail_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("mail_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","ReportSmsRoom","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.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> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</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.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("sms_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("sms_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("sms_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("sms_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket",function(a,b,c,d,e,f){a.Auth=b;var g=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(){g(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"calleridnum",headerCellFilter:"translate",displayName:"APPLICATION_NUMBER",cellClass:"text-center ui-grid-vcenter"},{name:"calleridname",headerCellFilter:"translate",displayName:"APPLICATION_NAME",cellClass:"text-center ui-grid-vcenter"},{name:"queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){g(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:"list"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){b.queuecallerleaveAt?_.remove(a.table2.data,{id:b.id}):_.find(a.table1.data,{name:b.queue})&&a.table2.data.push(b)})})["catch"](function(a){console.error(a)})},a.initWaiting=function(){return c.get({id:"waiting"}).$promise.then(function(b){a.waiting=b.value,f.socket.on("dashboard:waiting",function(b){a.waiting=b.value})})["catch"](function(a){console.error(a)})},a.initActive=function(){return c.get({id:"active"}).$promise.then(function(b){a.active=b.value,f.socket.on("dashboard:active",function(b){a.active=b.value})})["catch"](function(a){console.error(a)})},a.initAnswered=function(){return c.get({id:"answered"}).$promise.then(function(b){a.answered=b.value,f.socket.on("dashboard:answered",function(b){a.answered=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,f.socket.on("dashboard:abandoned",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})},a.initAvgAnswerTime=function(){return c.get({id:"avganswertime"}).$promise.then(function(b){a.avganswertime=b.value,f.socket.on("dashboard:avganswertime",function(b){a.avganswertime=b.value})})["catch"](function(a){console.error(a)})},a.initAvgTalkTime=function(){return c.get({id:"avgtalktime"}).$promise.then(function(b){a.avgtalktime=b.value,f.socket.on("dashboard:avgtalktime",function(b){a.avgtalktime=b.value})})["catch"](function(a){console.error(a)})},a.initAnswerRate=function(){return c.get({id:"answerrate"}).$promise.then(function(b){a.answerrate=b.value,f.socket.on("dashboard:answerrate",function(b){a.answerrate=b.value})})["catch"](function(a){console.error(a)})},a.initTotalOffered=function(){return c.get({id:"totaloffered"}).$promise.then(function(b){a.totaloffered=b.value,f.socket.on("dashboard:totaloffered",function(b){a.totaloffered=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,f.socket.on("dashboard:unmanaged",function(b){a.unmanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandonRate=function(){return c.get({id:"abandonrate"}).$promise.then(function(b){a.abandonrate=b.value,f.socket.on("dashboard:abandonrate",function(b){a.abandonrate=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutbound=function(){return d.get({id:"manualoutbound"}).$promise.then(function(b){a.manualoutbound=b.value,f.socket.on("dashboard:manualoutbound",function(b){a.manualoutbound=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundGlobalDuration=function(){return d.get({id:"manualoutboundglobalduration"}).$promise.then(function(b){a.manualoutboundglobalduration=b.value,f.socket.on("dashboard:manualoutboundglobalduration",function(b){a.manualoutboundglobalduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAvgDuration=function(){return d.get({id:"manualoutboundavgduration"}).$promise.then(function(b){a.manualoutboundavgduration=b.value,f.socket.on("dashboard:manualoutboundavgduration",function(b){a.manualoutboundavgduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswered=function(){return d.get({id:"manualoutboundanswered"}).$promise.then(function(b){a.manualoutboundanswered=b.value,f.socket.on("dashboard:manualoutboundanswered",function(b){a.manualoutboundanswered=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswerRate=function(){return d.get({id:"manualoutboundanswerrate"}).$promise.then(function(b){a.manualoutboundanswerrate=b.value,f.socket.on("dashboard:manualoutboundanswerrate",function(b){a.manualoutboundanswerrate=b.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.integrations",{url:"/integrations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"})}]),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,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:15}}})}]),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",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/view/{{row.entity.id}}",name:"settings"},{"class":"green",name:"start",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",name:"report"},{"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/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","$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){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=d.id,a.toggle=function(a){console.log(a),a.graphType="PolarArea"===a.graphType?"Pie":"PolarArea"},a.initView=function(){l.get({id:d.id}).$promise.then(function(b){a.project=b})["catch"](function(a){h.show(a.message,"danger")}),l.get({id:d.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){h.show(a.message,"danger")})},a.getProjectSessions=function(){var b={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",enableFiltering:!1},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",enableFiltering:!1},{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=k.gridOptions(l,b,a,{id:d.id,controller:"sessions"})},a.deleteSession=function(b){l["delete"]({id:d.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView()})["catch"](function(a){h.show(a.message,"danger")})},a.getSessionDetails=function(){l.get({id:d.id,controller:"sessions",action:d.sessionId}).$promise.then(function(b){a.sessionQuestions=b})["catch"](function(a){h.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/"+d.id+"/question/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=k.gridOptions(l,b,a,{id:d.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=k.gridOptions(l,b,a,{id:d.id,controller:"inputs"})},a.getQuestionDetail=function(){l.query({id:d.id,controller:"questions",action:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.show(a.message,"danger")})},a.getDetail=function(){l.get({id:d.id,controller:"questions",action:d.questionId,action2:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.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.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/question/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.question.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){console.log("login errLogin",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){console.log("signup errLogin",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}))}}}}]),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","eventId","xAlert","$translate","Contact",function(a,b,c,d,e,f){a.open=function(a){b.close(a)},a.getContacts=function(){return f.query({id:c,controller:"checkevent"}).$promise.then(function(b){a.contacts=b})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})},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.project.lastQuestionId=a.project.questions[a.project.questions.length-1].id,"end"==a.project.questions[a.project.questions.length-1].value.nodeName?(a.projectStatus="completed",a.close()):a.projectStatus="incomplete"},a.close=function(){d.update({id:a.project.projectId,controller:"sessions",action:a.project.sessionId},{status:a.projectStatus,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("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("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){b.directive?a.cellTemplate+=b.directive:(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>':"",a.cellTemplate+=b.displayName||b.name?"{{'"+(b.displayName||"APPLICATION_"+b.name.toUpperCase())+"' | 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()}),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("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":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.tags=e.tags?e.tags.join(","):void 0,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:{eventId:function(){return 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.tags=e.tags?e.tags.join(","):void 0,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){console.log("openJscriptyTab"),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,eventData:a.uniqueid?a:null,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,eventData:a&&a.uniqueid?a:""})},b.language=c.use(),a.changeLanguage=function(a){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)})}}]),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().$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[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",function(a,b,c,d,e,f,g,h){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,i){return function(a,i,j){function k(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:""},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),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=1,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,k())})["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",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(b){var c=[];_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(d,e){c.push({name:d,displayName:a.columns[a.log[b].show][a.log[b].detail].header[e],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1})});var d={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c};a["gridOptions"+b]=j.gridOptions(h,d,a,_.merge({id:a.workspace.contactID,controller:"log",logType:b},a.log[b]),!0,b),a["gridOptions"+b].getPage()}a.moment=moment,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_DATE"],indexes:["source","destination","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},agent:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","agentcalledAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"]}}},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),n(b)},a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){b.tags=b.tags?b.tags.split(","):[],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){b.show("Project Ended","success")})}}}}}]).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"}],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()" ng-bind-html="btncontent || (\'APPLICATION_DOWNLOAD\' | translate)"></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"}}),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"]}])}]}})}]),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();switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":return b.info({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"mail":return b.success({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"fax":return b.warning({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"sms":return b.error({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});default:return b.primary({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j})}}}}]),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",function(a,b,c,d,e,f,g){function h(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){b.get("/api/integrations").success(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})}).error(function(a){e.show(a.message,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(d){a.status="Downloading",a.percentage=h(1,50),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!0}).success(function(){g(function(){a.percentage=h(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.uninstallIntegration=function(d){a.status="Uninstalling",a.percentage=h(1,99),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!1}).success(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","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","settings","Auth",function(a,b,c,d,e,f,g){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(g.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:["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:["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",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"}}})}]),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:"updatedtime",enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.historySpooler(row.entity.history)">{{\'APPLICATION_HISTORY\' | translate}}</a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSpooler(row.entity.phones.join(), row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</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.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("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:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_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").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.show(a.data.message,"danger")})},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.show(a.data.message,"danger")})},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",["$scope","gridOptions","Localnet","Externip",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"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.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.query().$promise.then(function(b){a.servers=b})["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").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",displayName:"APPLICATION_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){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.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:"default",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}).$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.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 ? '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",displayName:"APPLICATION_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)}}]),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.recordSwitch={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)}}]),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("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.downloadButtonContent='<i class="icon-cloud-download"></i>',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",{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",function(a,b,c,d,e,f,g){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")})}}]),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"})}]),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","$http","$translate","$stateParams","xAlert","Template",function(a,b,c,d,e,f){a.initItem=function(){a.form={},a.item={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}],a.item=f.get({id:d.id})},a.updateItem=function(){f.update(a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.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","$location","$http","WizardHandler","xAlert","Template",function(a,b,c,d,e,f){a.initWizard=function(){a.item={},a.form={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}]},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return f.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(){b.path("/tools/templates/list")})["catch"](function(a){e.show(data.err.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)}}]),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.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)}}]),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){b.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),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:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_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").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").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").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","chat","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").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){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","ngAudio","settings","toastr","localStorageService","Agent","SmsReport","MailReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport",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){function A(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),x.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,a.headerPause=function(b,c,d){return y.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(u.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(u.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&A(),i.socket.on("report_chat:save",function(a){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),v.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b="<b>"+u.instant("APPLICATION_FROM")+"</b>: "+a.visitorname+"<br><b>"+u.instant("APPLICATION_EMAIL")+"</b>: "+a.visitoremail;"queue"===a.application&&(b+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+a.queuename),s.show(u.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return q.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(u.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return q.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 r.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 r.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)})}}),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.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")};var B=function(){return v.Notification},C=function(){b.settings.layout.onFocus=!0},D=function(){b.settings.layout.onFocus=!1};v.onfocus=C,v.onblur=D,a.toogleSidebar=function(){k.layout.pageSidebarClosed=!k.layout.pageSidebarClosed,m.set("sidebarClosed",k.layout.pageSidebarClosed)},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3");"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d="<b>"+u.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+u.instant("APPLICATION_EMAIL")+"</b>: "+c.accountaddress;"queue"===c.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),s.show(u.instant("APPLICATION_NEW_MAIL_REQUEST"),d,"mail",1e3*c.timeslot,function(){return p.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,type:"mailRoom","class":"icon-envelope",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),B&&!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){c.play();var d="<b>"+u.instant("APPLICATION_FROM")+"</b>: "+b.accountname+"<br><b>"+u.instant("APPLICATION_SMS")+"</b>: "+b.accountnumber;"queue"===b.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),s.show(u.instant("APPLICATION_NEW_SMS_REQUEST"),d,"sms",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:"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){h.show(a.data.message,"danger")})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),B?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_fax:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d="<b>"+u.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+u.instant("APPLICATION_PHONE")+"</b>: "+c.from;"queue"===c.application&&(d+="<br><b>"+u.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),s.show(u.instant("APPLICATION_NEW_FAX_REQUEST"),d,"fax",1e3*c.timeslot,function(){return z.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.subject,type:"faxRoom","class":"icon-paper-plane",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return z.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.error(a)})}),B&&!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()}}]),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").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){console.log("openModal",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(){console.log(Array.prototype.slice.call(arguments));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("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare",function(a,b,c,d,e,f,g,h,i,j,k){var l=[{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:k}];return{tables:l}}]),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()||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("destroy",function(){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")}}}]),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue",function(a){var b={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"}]}],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"}]}},c=["voice"];return{services:b,channels:c}}]),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"}];return a}),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?a.config.timeout:1,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?a.config.timeout:1,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=1></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?a.config.timeout:1,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?a.config.timeout:1,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=1></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),function(){angular.module("pdf",[]).directive("ngPdf",["$window",function(a){return{restrict:"E",templateUrl:function(a,b){return b.templateUrl?b.templateUrl:"partials/viewer.html"},link:function(b,c,d){var e=d.pdfUrl,f=null,g=d.page?d.page:1,h=d.scale>0?d.scale:1,i=c.find("canvas"),j=i[0],k=j.getContext("2d"),l=angular.element(a);l.on("scroll",function(){b.$apply(function(){b.scroll=l[0].scrollY})}),PDFJS.disableWorker=!0,b.pageNum=g,b.renderPage=function(a){f.getPage(a).then(function(a){var e,f,g,i={};"page-fit"!==d.scale||h?e=a.getViewport(h):(e=a.getViewport(1),f=c[0].clientWidth/e.width,g=c[0].clientHeight/e.height,h=Math.min(f,g)),j.height=e.height,j.width=e.width,i={canvasContext:k,viewport:e},a.render(i).promise.then(function(){"function"==typeof b.onPageRender&&b.onPageRender()})})},b.goPrevious=function(){b.pageToDisplay<=1||(b.pageNum=parseInt(b.pageNum)-1)},b.goNext=function(){b.pageToDisplay>=f.numPages||(b.pageNum=parseInt(b.pageNum)+1)},b.zoomIn=function(){return h=parseFloat(h)+.2,b.renderPage(b.pageToDisplay),h},b.zoomOut=function(){return h=parseFloat(h)-.2,b.renderPage(b.pageToDisplay),h},b.changePage=function(){b.renderPage(b.pageToDisplay)},b.rotate=function(){"rotate0"===j.getAttribute("class")?j.setAttribute("class","rotate90"):"rotate90"===j.getAttribute("class")?j.setAttribute("class","rotate180"):"rotate180"===j.getAttribute("class")?j.setAttribute("class","rotate270"):j.setAttribute("class","rotate0")},PDFJS.getDocument(e,null,null,b.onProgress).then(function(a){"function"==typeof b.onLoad&&b.onLoad(),f=a,b.renderPage(b.pageToDisplay),b.$apply(function(){b.pageCount=a.numPages})},function(a){a&&"function"==typeof b.onError&&b.onError(a)}),b.$watch("pageNum",function(a){b.pageToDisplay=parseInt(a),null!==f&&b.renderPage(b.pageToDisplay)})}}}])}();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"),railVisible:"1"==$(this).attr("data-rail-visible"),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},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>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-disabled="!customTree.get_selected(true).pop().id" 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/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 <ui-select 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 <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" 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 </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="7" 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_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/offline/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_MESSAGE\' | translate}}</a>\n <hr>\n </h3>\n <div class="news-block-tags">\n <em am-time-ago="chatVisitor.ChatEnquiry.createdAt"></em>\n </div>\n <p>\n {{chatVisitor.ChatEnquiry.text}}\n </p>\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">{{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">{{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">{{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">{{chatVisitor.referer}} - {{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">{{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</div>\n'),a.put("app/channels/chat/offline/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/offline/list">Offline</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 {{chatVisitor.ChatEnquiry.email}}\n </div>\n <div class="profile-usertitle-job">\n {{chatVisitor.ChatEnquiry.username}}\n </div>\n </div>\n <!-- END 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.offline.view.detail\')}">\n <a data-ng-href="/channels/chat/offline/view/{{chatVisitor.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/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/icon_visitorchat.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"></i>\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">Name *</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">Email Address *</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">Message*</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">Fullname *</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">Email Address *</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 class="xc_powered"><a>Powered by xCALLY</a></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 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" 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 [\'rrmemory\',\'beepall\'] | 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\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 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">{{\'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 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 <!-- <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="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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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 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/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_CHAT_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 <button type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-if="chatRoom.status === \'CLOSED\'"> | </span>\n <span data-ng-if="chatRoom.status === \'CLOSED\'" 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 </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_NAME\' | translate}}: <p>{{chatRoom.ChatVisitor.fullname}}</p>\n {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-href="mailto:{{chatRoom.ChatVisitor.email}}">{{chatRoom.ChatVisitor.email}}</a></p>\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}: <p>{{chatRoom.ChatVisitor.remote_address}}</p>\n {{\'APPLICATION_BROWSER\' | translate}}: <p>{{chatRoom.ChatVisitor.browser}}</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="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" emoticons-options="options"></ng-emoticons> -->\n <div ng-bind-html="message.body"></div>\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/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 <!-- 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.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 <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/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 <!-- 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.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 <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/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_CHAT_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_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="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>\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.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="animationToggle in [true, false] | filter: $select.search">\n <div ng-bind-html="animationToggle ? \'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_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 <ui-select data-ng-model="chatWebsite.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_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 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 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.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="chatWebsite.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\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.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="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.startChatButton.$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 <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="icon-settings"></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 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 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 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 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.startChatButton.$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 <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 <!-- 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.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 </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 </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 <!-- 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.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 </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 <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 </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/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.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/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_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">\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 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/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 <span>{{message.from}}</span>\n <br>\n <span class="bold">To: </span>\n <span>{{message.to}} </span>\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">\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="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 <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.basename}}" href="api/fax/attachments/{{faxAttachment.id}}">\n {{ \'APPLICATION_DOWNLOAD\' | translate }}\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 <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 type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-show="faxRoom"> | </span>\n <span data-ng-show="faxRoom" class="label label-sm label-default">{{faxRoom.status}}</span>\n <span data-ng-show="faxRoom"> | </span>\n <span data-ng-show="faxRoom" class="caption-subject font-green-sharp bold">{{faxRoom.from}}</span>\n </div>\n <div class="actions" data-ng-switch="faxRoom.status">\n <a href="#" class="btn btn-icon-only yellow" data-ng-show="faxRoom" data-ng-click="loadNote()">\n <i class="fa fa-sticky-note"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-primary" data-ng-show="faxRoom" data-ng-click="loadAgents();">\n <i class="fa fa-user-plus"></i>\n </a>\n <!-- UPDATE SECTION START -->\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="NEW" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="OPEN" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="CLOSED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="faxRoom" data-ng-switch-when="UNMANAGED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <!-- UPDATE SECTION END -->\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">\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)">\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-show="faxRoom">\n\n <!-- END TAGS -->\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\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="message.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" ng-switch-default></fax-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\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}">\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}">\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">\n <div class="col-md-6">\n <input type="file" nv-file-select uploader="uploader" multiple/>\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\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 class="col-md-6">\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">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()">\n </div>\n </div>\n </div>\n\n <!-- END ATTACH -->\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/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 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" 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 HEADER SHAPE -->\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 [\'rrmemory\',\'beepall\'] | 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 HEADER SHAPE -->\n\n\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 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">{{\'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 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 <!-- <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="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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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 <!-- 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.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 <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/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 <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.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 <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/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_MAIL_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="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 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/disposition/disposition.modal.html",'<div class="modal-header" data-ng-init="initModal();">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITION\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\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_MAIL_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-if="form.$valid" data-ng-click="form.$valid && 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/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.fromId, message.from[0])">{{message.from[0]}}</a>]\n <br>\n <span class="bold">To: </span>\n <span>{{message.to}} </span>\n <br>\n <span data-ng-if="message.cc.length" class="bold">Cc: </span>\n <span data-ng-if="message.cc.length">{{message.cc}} </span>\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-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="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\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}}B\n </span>\n <a target="_self" download="{{mailAttachment.name}}" href="api/mail/attachments/{{mailAttachment.id}}">\n {{ \'APPLICATION_DOWNLOAD\' | translate }}\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 <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 type="button" data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="mailRoom" class="label label-sm label-default">{{mailRoom.status}}</span>\n <span data-ng-if="mailRoom"> | </span>\n <span data-ng-if="mailRoom" class="caption-subject font-green-sharp bold uppercase">{{mailRoom.subject | truncate: 25: \'...\': true}}</span>\n </div>\n <div class="actions" data-ng-switch="mailRoom.status">\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 href="#" class="btn btn-icon-only btn-primary" data-ng-if="mailRoom" data-ng-click="loadAgents();" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_AGENTS\' | translate}}">\n <i class="fa fa-user-plus"></i>\n </button>\n <button href="#" class="btn btn-icon-only btn-danger" data-ng-click="loadTemplate();" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_TEMPLATES\' | translate}}">\n <i class="fa fa-files-o"></i>\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-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 </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" schroll-bottom="mailRoom.MailMessages">\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" 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">Info! {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.\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\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$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">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from[0]" 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 <span data-ng-if="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 <!-- MAIL TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$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">To:</label>\n </div>\n <div class="col-md-11">\n <ui-select tagging tagging-label multiple data-ng-model="form.sto" theme="bootstrap" name="to">\n <ui-select-match placeholder="To...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="to in form.to | filter:$select.search">\n {{to}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-if="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 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 <ui-select tagging tagging-label multiple data-ng-model="form.scc" theme="bootstrap" name="cc">\n <ui-select-match placeholder="Cc...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="cc in form.cc | filter:$select.search">\n {{cc}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n </div>\n </div>\n <!-- END CC -->\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\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 text-angular ta-text-editor-class="form-control myform2-height" ta-html-editor-class="form-control myform2-height" data-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 <!-- 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-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-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 <!-- END CANNED -->\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (mailRoom.status !== \'CLOSED\')">\n <div class="col-md-6">\n <input type="file" nv-file-select uploader="uploader" multiple/>\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\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\n <div class="col-md-6">\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-if="!form.html || mailRoom.status !== \'CLOSED\'">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()" data-ng-if="mailRoom.status !== \'CLOSED\'">\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\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_CHAT_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" 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/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 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 [\'rrmemory\',\'beepall\'] | 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/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 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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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/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 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 <!-- 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.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 <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/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 <!-- 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.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 <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/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.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 <!-- <li ng-class="{active: $state.includes(\'main.channels.sms.accounts.view.actions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/configurations">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIOS\' | 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\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 <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 ng-if= "account.type == \'twilio\' || account.type == \'skebby\'" 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-if= "account.type == \'twilio\' || account.type == \'skebby\'" ng-show="!forms.info.remote.$invalid" class="form-group" >\n\n <label class="control-label">URL </label><br>\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 <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard(receiveurl);">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n <br><br>\n <code-mirror model="receiveurl"></code-mirror>\n\n </div>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="form-group" ng-show="!forms.info.remote.$invalid">\n\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 <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard(deliveryurl);">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n <br><br>\n\n <code-mirror model="deliveryurl"></code-mirror>\n\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\n\n\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></span>\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 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\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\n\n\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 == \'twilio\' || item.type == \'skebby\'" 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\n\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/sms/inbox/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-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<!-- 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-note font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INBOX\' | 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/inbox/view/compose">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_MESSAGE\' | 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/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" data-ng-show="SmsRoom">\n <button type="button" data-ng-click="togglePanelLeft()" style="background: white;">\n <i class="icon-menu"></i>\n </button>\n <span data-ng-show="SmsRoom"> | </span>\n <span data-ng-show="SmsRoom" class="label label-sm label-default">{{SmsRoom.status}}</span>\n <!-- <span data-ng-show="SmsRoom"> | </span> -->\n </div>\n <div class="actions" data-ng-switch="SmsRoom.status">\n <!-- <a href="#" class="btn btn-icon-only yellow" data-ng-show="SmsRoom" data-ng-click="loadNote()">\n <i class="fa fa-sticky-note"></i>\n </a> -->\n <a href="#" class="btn btn-icon-only btn-primary" data-ng-show="SmsRoom" data-ng-click="loadAgents();">\n <i class="fa fa-user-plus"></i>\n </a>\n <!-- UPDATE SECTION START -->\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="NEW" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="OPEN" data-ng-click="updateStatus(\'CLOSED\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="CLOSED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\n <a href="#" class="btn btn-icon-only btn-success" data-ng-show="SmsRoom" data-ng-switch-when="UNMANAGED" data-ng-click="updateStatus(\'OPEN\')">\n <i class="fa fa-upload"></i>\n </a>\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">\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)">\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-show="SmsRoom">\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 <!-- <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.ChatVisitor ? \'pretty-avatar-v\' : \'pretty-avatar\'">\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[0]}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <sms message="smsMessage" accounttype=\'SmsRoom.SmsAccount.type\' ng-switch-default></sms>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\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}">\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="form.disabled" theme="bootstrap" name="from" data-ng-model="form.from[0]" 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}">\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" ng-disabled="form.disabled" data-ng-model="form.to" required>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\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 message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}">\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" required></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 <!-- START CANNED -->\n <div class="form-group" 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 <!-- END CANNED -->\n <!-- END message -->\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" >\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()">\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/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 <span>{{smsMessage.from}}</span>\n <br>\n <span class="bold">To: </span>\n <span>{{smsMessage.to}} </span>\n <br>\n <!-- <span data-ng-if="mailMessage.cc.length" class="bold">Cc: </span>\n <span data-ng-if="mailMessage.cc.length">{{mailMessage.cc}} </span> -->\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="smsMessage.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-show="smsMessage.source">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.source}}</strong></span>\n\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right">\n'+" <a data-ng-click=\"(smsMessage.status == 'SENDING' || smsMessage.status == 'FAILED') && retry(smsMessage.id)\" href=\"#\" class=\"btn default btn-xs inactive-link\" data-ng-class=\"{'green-stripe': smsMessage.status == 'SENT' || smsMessage.status == 'RECEIVED' || smsMessage.status == 'DELIVERED', 'blue-stripe': smsMessage.status == 'SENDING', 'red-stripe': smsMessage.status == 'FAILED'}\"> {{smsMessage.status | uppercase}}\n <i data-ng-class=\"{'fa fa-check': smsMessage.status == 'SENT' || smsMessage.status == 'RECEIVED' || smsMessage.status == 'DELIVERED', 'fa fa-warning': smsMessage.status == 'SENDING', 'fa fa-times': smsMessage.status == 'FAILED'}\"></i>\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 href=\"http://www.skebby.com/sms-api/sms-gateway/developers-docs/#errorCodesSection\" target=\"_blank\" ng-if=\"(smsMessage.errorcode) && (smsMessage.status == 'FAILED') && (accounttype=='skebby')\">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) && (accounttype=='skebby')\">Error Code:{{smsMessage.errorcode}}</a>\n\n </span>\n <i class=\"icon-calendar\"></i> <span am-time-ago=\"smsMessage.updatedAt\"></span>\n </span>\n <hr>\n <!-- <div class=\"row\">\n <div class=\"col-md-12\">\n <span class=\"bold\">Message: </span>\n <span>{{smsMessage.body}}</span>\n <br>\n\n </div>\n\n </div> -->\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" 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/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 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 [\'rrmemory\',\'beepall\'] | 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/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 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 [\'rrmemory\',\'beepall\'] | 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 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/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 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" 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-eye"></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/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 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/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 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" 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 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 </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">\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-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">\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-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/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">\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-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/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 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 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-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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initAbandoned()">\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="/dashboard/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="/dashboard/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="/dashboard/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="/dashboard/sms">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initOpen()">\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="initClosed()">\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="initNew()">\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="initUnmanaged()">\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="initWaiting()">\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="initActive()">\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="initAnswered()">\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="initAbandoned()">\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="initAvgAnswerTime()">\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="initAvgTalkTime()">\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="initAnswerRate()">\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="initAbandonRate()">\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="initTotalOffered()">\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="initUnmanaged()">\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="initManualOutbound()">\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="initManualOutboundGlobalDuration()">\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="initManualOutboundAnswered()">\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="initManualOutboundAvgDuration()">\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="initManualOutboundAnswerRate()">\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/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">\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="row" data-ng-init="getQuestionDetail()">\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_SUMMARY\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <!-- <a class="btn btn-info" href="#" data-ng-click="pdf()">\n <i class="fa fa-download"></i>\n </a> -->\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="alert alert-success text-center" ng-show="!questionDetail.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row margin-top-20" ng-show="questionDetail.length">\n <div class="col-md-10 col-md-offset-1">\n\n <div 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\n </div>\n </div><br>\n <div class="panel panel-info" ng-repeat= " question in questionDetail ">\n <div class="panel-heading">\n <h3 class="panel-title">\n <i class="fa-chart "></i>Question Id: {{question.question_id}}\n </div>\n <div class="panel-body">\n <!-- <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <strong>Question Type: </strong>{{question.question_type}}\n </div>\n </div> -->\n <div class="row">\n <div class="col-md-12 ">\n <h4><strong>{{question.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>{{question.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="!question.choices.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div> -->\n <table ng-if="question.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 question.choices ">\n\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\n </tr>\n\n </tbody>\n </table>\n </div>\n\n </div>\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\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total: {{question.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class="col-md-6 pull-right " style=" word-break: break-all; word-wrap: break-word;">\n <canvas id="base" class="chart-base" chart-type="question.graphType"\n chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n <!-- <canvas id="bar" class="chart chat-pie" chart-data="question.graphData" chart-labels="question.graphLabels"> -->\n</canvas>\n <!-- <button class="btn btn-success btn-sm pull-right" ng-click="toggle(question)">{{question.graphType}}</button> -->\n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n </div>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row margin-top-20" 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-userpic">\n <img src="assets/images/xcally.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>\n <div class="portlet-body" id="sessionDetail" style="height: auto;">\n <div class="row margin-top-20">\n <div class="col-md-10 col-md-offset-1">\n <div 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>{{sessionQuestions.session_id}}<br>\n <strong>Status: </strong>{{sessionQuestions.status}}<br>\n <strong>Started At: </strong>{{sessionQuestions.createdAt}}<br>\n <strong>Closed At: </strong>{{sessionQuestions.completedAt}}<br>\n </div>\n </div>\n\n <div class="panel panel-info" ng-repeat=" question in sessionQuestions.ReportJscriptyQuestions |orderBy:\'id\'">\n <div class="panel-heading">\n <h3 class="panel-title">\n <i class="fa-chart "></i>Question Id: {{question.question_id}}\n </div>\n <div class="panel-body" ng-if="question.question_label" >\n <div class="row">\n <div class="col-md-12 ">\n <h4><strong>{{question.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>{{question.question_text}}</h4></strong><br>\n </div>\n </div>\n <div class="row" style="word-wrap: break-word;">\n <div class="col-md-10 col-md-offset-1 " ng-if="question.question_answer ">\n <h4><strong>Answer: </strong>{{question.question_answer}}</h4>\n </div>\n </div>\n <div ng-if="question.question_other_answer" class="col-md-10 col-md-offset-1 ">\n <h4>\n <strong>{{question.question_other_label}}: </strong>\n {{question.question_other_answer}}\n </h4>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6 col-md-offset-3 ">\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\n <td>{{input.input_label}}</td>\n <td>{{input.input_value || \'No Value\'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\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 -->\n<div class="logo">\n <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\n </a>\n</div>\n<!-- END LOGO -->\n\n<!-- BEGIN LANDING -->\n<div data-ng-init="initLanding()">\n <div data-ng-show="message" class="col-md-12 page-500" style="padding-bottom: 50px;">\n <div class="number">\n Oops!\n </div>\n <div class=" details" style="color: white;">\n <h3>{{message | translate}}.</h3>\n <p>\n Please contact your administrator.<br><br>\n </p>\n </div>\n </div>\n</div>\n<!-- END LANDING -->\n\n<div class="copyright">\n xCALLY Motion | 2016 © Powered by Xenialab\n</div>\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\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 ng-if="projectStatus == \'incomplete\'" class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n\n</div>\n<div ng-if="projectStatus == \'incomplete\'" class="modal-body">\n <p>{{\'MESSAGE_CLOSE_INCOMPLETE\' | translate}}</p>\n</div>\n<div ng-if="projectStatus == \'completed\'" class="modal-body">\n <p>{{\'MESSAGE_WELL_DONE\' | translate}}</p>\n</div>\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/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/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="closeTab(index)"></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 </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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2" 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-2">\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-2" 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-2" 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-2" 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-2">\n <input type="text" ng-model="element.data3" class="form-control"/>\n</div>\n'),a.put("app/main/template/template.conditionBuilder.html",'<div data-ng-if="randomName" class="form-group col-md-3" 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-3" 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-3" 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-3" 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_LOG\' | 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">\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-3 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>\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">\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 <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\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 <input type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\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 <input type="text" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\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 <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\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 tagging tagging-label="" 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/companies/list">{{\'APPLICATION_COMPANIES\' | 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">{{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">{{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_LOG\' | 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\')">\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\',\'inbound\')">\n <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n </div> |\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.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-if="log.daily.show==\'phone\'" 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> |\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" ui-grid="gridOptionsdaily" 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="!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\')">\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\',\'inbound\')">\n <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n </div> |\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.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-if="log.history.show==\'phone\'" 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> |\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" ui-grid="gridOptionshistory" 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="!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" value="{{edge.value}}" ng-change=\'next(edge.target, edge.value)\'>\n <label ng-show="(edge.source.id == currentQuestion.id) && edge.value">{{edge.value}}</label><br><br>\n <!-- <ul class="nav nav-pills nav-stacked" >\n <li ng-repeat=\'edge in currentQuestion.edges track by $index\' style="background-color: #E8F7FC" ng-show="(edge.source.id == currentQuestion.id) && edge.value" ng-class="{active: (edge.value) == currentQuestion.answer}">\n <a ng-click="next(edge.target, edge.value)" >\n <span style=" display:block;word-break:break-all;">{{edge.value}}</span>\n </a>\n </li>\n </ul> -->\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 class="btn-set pull-left">\n <button class="btn red-haze " ng-click="end()"><span class="fa fa-times" > End</span></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-repeat=\'edge in currentQuestion.edges track by $index\' ng-show="(edge.value == currentQuestion.answer) && edge.value" class="btn blue-hoki" ng-click="next(edge.target, edge.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 custom-template">\n <h3 ng-show="title" ng-bind-html="title"></h3>\n <div class="message" ng-bind-html="message"></div>\n <div class="message">\n <a class="btn btn-success btn-primary close-notification" ng-click="nAccept()"><i class="glyphicon glyphicon-ok"></i> {{acceptBtn}}</a>\n <a class="btn btn-error btn-primary close-notification" ng-click="nReject()"><i class="glyphicon glyphicon-remove"></i> {{rejectBtn}}</a>\n </div>\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 <ui-select data-ng-model="rule.condition" theme="bootstrap" class="col-md-1" dynamic-name="randomName()">\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 class="col-md-2 left-margin" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.value}">\n <input type="text" ng-model="rule.value" class="form-control" dynamic-name="randomName()" required/>\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.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.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.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 <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 <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/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="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 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" 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-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-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/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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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>{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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 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="#">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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="#">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</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\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.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 <!-- <pre>\n {{conditionsData.query | json}}\n </pre>\n <pre>\n {{actionsData.query | json}}\n </pre> -->\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 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></br>\n <input\n bs-switch\n class="form-control"\n ng-model="automation.status"\n type="checkbox"\n name="status"\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 <!-- 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 <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="padding-bottom row" ng-repeat="all in automation.All">\n <condition-builder element="all" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in automation.Any">\n <condition-builder element="any" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in automation.Actions">\n <div class="form-group col-md-2" 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 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-status ng-switch-when="status" element="action" form="forms.general"></action-builder-status>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="{{ 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 <!-- 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 <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="padding-bottom row" ng-repeat="all in item.All">\n <condition-builder element="all" serviceindex="item.channel" service="$automations" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in item.Any">\n <condition-builder element="any" serviceindex="item.channel" service="$automations" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in item.Actions">\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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 data-ng-show="(forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.settings"></action-builder-integration>\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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-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/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.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 </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.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 <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/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-docs"></i>\n <a href="/mail/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-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 <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-4">\n <label class="control-label pull-right">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-8">\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\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-pencil"></i>{{\'APPLICATION_VARIABLES\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <uib-accordion>\n <uib-accordion-group heading="{{group.title | translate}}" data-ng-repeat="group in groups">\n {{group.content | translate}}\n <ol>\n <li data-ng-repeat="variable in group.variables">\n {{variable}}\n </li>\n </ol>\n </uib-accordion-group>\n </uib-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="item.html" name="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="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-4">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pencil"></i>{{\'APPLICATION_VARIABLES\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <uib-accordion>\n <uib-accordion-group heading="{{group.title | translate}}" data-ng-repeat="group in groups">\n {{group.content | translate}}\n <ol>\n <li data-ng-repeat="variable in group.variables">\n {{variable}}\n </li>\n </ol>\n </uib-accordion-group>\n </uib-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="item.html" name="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'),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 <!-- <pre>\n {{conditionsData.query | json}}\n </pre>\n <pre>\n {{actionsData.query | json}}\n </pre> -->\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 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="trigger.status"\n type="checkbox"\n name="status"\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 <!-- 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="padding-bottom row" ng-repeat="all in trigger.All">\n <condition-builder element="all" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in trigger.Any">\n <condition-builder element="any" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in trigger.Actions">\n <div class="form-group col-md-2" 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.settings"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.settings"></action-builder-jscripty>\n\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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></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="{{ 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 <!-- 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 $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 <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="padding-bottom row" ng-repeat="all in item.All">\n <condition-builder element="all" serviceindex="item.channel" service="$triggers" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'All\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="any in item.Any">\n <condition-builder element="any" serviceindex="item.channel" service="$triggers" form="forms.settings"></condition-builder>\n <button type="button" ng-click="removeCondition(\'Any\',$index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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="padding-bottom row" ng-repeat="action in item.Actions">\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings[\'action\'+$index].$touched || forms.settings.$submitted) && forms.settings[\'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.settings"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.settings"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.settings"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.settings"></action-builder-jscripty>\n </div>\n <button type="button" ng-click="removeAction($index)" class="btn btn-danger remove-condition col-md-1 left-margin"><span class="glyphicon glyphicon-minus-sign"></span></button>\n </div>\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 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 <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 <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 src="assets/images/logo.png" alt="logo" class="logo-default"/>\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">\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() || 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-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>\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-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-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-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-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-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-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 </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_ROOMS\' | 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 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 </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" >{{\'APPLICATION_CALLYSQUARE\' | translate}}</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 class="badge">Beta</span></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 </ul>\n </li>\n <!-- END SETTINGS LIST -->\n\n <!-- START INTEGRATION CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[19])" data-ng-repeat="integration in integrations" data-ng-if="integration.active" data-ng-class="{active: $state.includes(\'main.{{integration.state}}\')}">\n <a href="/{{integration.state}}/list" ng-switch on="integration.state">\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 </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/plugins/jscripty/js/Actions.js b/public/assets/plugins/jscripty/js/Actions.js index 81d45fe..13ec872 100644 --- a/public/assets/plugins/jscripty/js/Actions.js +++ b/public/assets/plugins/jscripty/js/Actions.js @@ -1 +1 @@ -var _0xf1cf=["\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"];_0xf1cf[0];function Actions(_0x634ax2){this[_0xf1cf[1]]=_0x634ax2;this[_0xf1cf[2]]= new Object();this[_0xf1cf[3]]()}Actions[_0xf1cf[4]][_0xf1cf[3]]=function(){var _0x634ax3=this[_0xf1cf[1]];var _0x634ax4=_0x634ax3[_0xf1cf[5]];var _0x634ax5=_0x634ax4[_0xf1cf[6]];this[_0xf1cf[10]](_0xf1cf[7],function(){_0x634ax3[_0xf1cf[9]]( new NewDialog(_0x634ax3)[_0xf1cf[8]],300,180,true,true)});this[_0xf1cf[10]](_0xf1cf[11],function(){_0x634ax3[_0xf1cf[9]]( new OpenDialog(_0x634ax3)[_0xf1cf[8]],300,180,true,true)});this[_0xf1cf[10]](_0xf1cf[12],function(){_0x634ax3[_0xf1cf[13]](false)},null,null,_0xf1cf[14]);this[_0xf1cf[10]](_0xf1cf[15],function(){_0x634ax3[_0xf1cf[13]](true)},null,null,_0xf1cf[16]);this[_0xf1cf[10]](_0xf1cf[17],function(){_0x634ax3[_0xf1cf[18]](false)},null,null,_0xf1cf[19]);this[_0xf1cf[10]](_0xf1cf[20],function(){_0x634ax3[_0xf1cf[9]]( new VariableDialog(_0x634ax3)[_0xf1cf[8]],300,180,true,true)});this[_0xf1cf[10]](_0xf1cf[21],function(){_0x634ax3[_0xf1cf[9]]( new ImportDialog(_0x634ax3)[_0xf1cf[8]],300,200,true,true)});this[_0xf1cf[10]](_0xf1cf[22],function(){_0x634ax3[_0xf1cf[9]]( new ExportDialog(_0x634ax3)[_0xf1cf[8]],300,200,true,true)},null,null,_0xf1cf[23]);this[_0xf1cf[28]](_0xf1cf[24], new Action(mxResources[_0xf1cf[26]](_0xf1cf[25]),mxUtils[_0xf1cf[27]](this,function(){this[_0xf1cf[1]][_0xf1cf[9]]( new EditFileDialog(_0x634ax3)[_0xf1cf[8]],620,420,true,true)})));this[_0xf1cf[10]](_0xf1cf[29],function(){_0x634ax3[_0xf1cf[9]]( new RenameDialog(_0x634ax3)[_0xf1cf[8]],300,180,true,true)});this[_0xf1cf[10]](_0xf1cf[30],function(){mxUtils[_0xf1cf[31]](_0x634ax5)},null,_0xf1cf[32],_0xf1cf[33]);this[_0xf1cf[10]](_0xf1cf[34],function(){mxUtils[_0xf1cf[35]](_0x634ax5,null,10,10)});this[_0xf1cf[10]](_0xf1cf[36],function(){_0x634ax4[_0xf1cf[37]][_0xf1cf[36]]()},null,_0xf1cf[38],_0xf1cf[39]);this[_0xf1cf[10]](_0xf1cf[40],function(){_0x634ax4[_0xf1cf[37]][_0xf1cf[40]]()},null,_0xf1cf[41],_0xf1cf[42]);this[_0xf1cf[10]](_0xf1cf[43],function(){mxClipboard[_0xf1cf[43]](_0x634ax5)},null,_0xf1cf[44],_0xf1cf[45]);this[_0xf1cf[10]](_0xf1cf[46],function(){mxClipboard[_0xf1cf[46]](_0x634ax5)},null,_0xf1cf[47],_0xf1cf[48]);this[_0xf1cf[10]](_0xf1cf[49],function(){mxClipboard[_0xf1cf[49]](_0x634ax5)},false,_0xf1cf[50],_0xf1cf[51]);this[_0xf1cf[10]](_0xf1cf[52],function(){_0x634ax5[_0xf1cf[53]]()},null,null,_0xf1cf[54]);this[_0xf1cf[10]](_0xf1cf[55],function(){var _0x634ax6=_0x634ax5[_0xf1cf[56]];_0x634ax5[_0xf1cf[59]](_0x634ax5[_0xf1cf[58]](_0x634ax5[_0xf1cf[57]](),_0x634ax6,_0x634ax6,true))},null,null,_0xf1cf[60]);this[_0xf1cf[10]](_0xf1cf[61],function(){_0x634ax5[_0xf1cf[61]]()},null,null,_0xf1cf[62]);this[_0xf1cf[10]](_0xf1cf[63],function(){_0x634ax5[_0xf1cf[63]]()},null,null,_0xf1cf[64]);this[_0xf1cf[10]](_0xf1cf[65],function(){_0x634ax5[_0xf1cf[65]]()},null,null,_0xf1cf[66]);this[_0xf1cf[10]](_0xf1cf[67],function(){_0x634ax5[_0xf1cf[67]]()},null,null,_0xf1cf[68]);this[_0xf1cf[10]](_0xf1cf[69],function(){_0x634ax5[_0xf1cf[69]]()},null,null,_0xf1cf[70]);this[_0xf1cf[10]](_0xf1cf[71],function(){_0x634ax5[_0xf1cf[71]]()},null,null,_0xf1cf[72]);this[_0xf1cf[10]](_0xf1cf[73],function(){_0x634ax5[_0xf1cf[74]](false)},null,null,_0xf1cf[75]);this[_0xf1cf[10]](_0xf1cf[76],function(){_0x634ax5[_0xf1cf[74]](true)},null,null,_0xf1cf[77]);this[_0xf1cf[10]](_0xf1cf[78],function(){_0x634ax5[_0xf1cf[79]](false)},null,null,_0xf1cf[80]);this[_0xf1cf[10]](_0xf1cf[81],function(){_0x634ax5[_0xf1cf[79]](true)},null,null,_0xf1cf[82]);this[_0xf1cf[10]](_0xf1cf[83],function(){_0x634ax5[_0xf1cf[85]](_0x634ax5[_0xf1cf[84]](null,0))},null,null,_0xf1cf[86]);this[_0xf1cf[10]](_0xf1cf[87],function(){_0x634ax5[_0xf1cf[59]](_0x634ax5[_0xf1cf[88]]())},null,null,_0xf1cf[89]);this[_0xf1cf[10]](_0xf1cf[90],function(){_0x634ax5[_0xf1cf[91]]()});this[_0xf1cf[10]](_0xf1cf[92],function(){var _0x634ax7=_0x634ax5[_0xf1cf[93]]();var _0x634ax8=_0x634ax5[_0xf1cf[94]](_0x634ax7);if(_0x634ax8==null){_0x634ax8=_0xf1cf[95]};_0x634ax8=mxUtils[_0xf1cf[97]](mxResources[_0xf1cf[26]](_0xf1cf[96]),_0x634ax8);if(_0x634ax8!=null){_0x634ax5[_0xf1cf[98]](_0x634ax7,_0x634ax8)}});this[_0xf1cf[10]](_0xf1cf[99],function(){var _0x634ax7=_0x634ax5[_0xf1cf[93]]();var _0x634ax8=_0x634ax5[_0xf1cf[94]](_0x634ax7);if(_0x634ax8!=null){window[_0xf1cf[11]](_0x634ax8)}});this[_0xf1cf[10]](_0xf1cf[100],function(){var _0x634ax9=_0x634ax5[_0xf1cf[57]]();if(_0x634ax9!=null){_0x634ax5[_0xf1cf[102]]()[_0xf1cf[101]]();try{for(var _0x634axa=0;_0x634axa<_0x634ax9[_0xf1cf[103]];_0x634axa++){var _0x634ax7=_0x634ax9[_0x634axa];if(_0x634ax5[_0xf1cf[102]]()[_0xf1cf[104]](_0x634ax7)){_0x634ax5[_0xf1cf[105]]([_0x634ax7],20)}else {_0x634ax5[_0xf1cf[106]](_0x634ax7)}}}finally{_0x634ax5[_0xf1cf[102]]()[_0xf1cf[107]]()}}});this[_0xf1cf[10]](_0xf1cf[108],function(){var _0x634axb=_0x634ax5[_0xf1cf[110]]()[_0xf1cf[109]](_0x634ax5[_0xf1cf[93]]());var _0x634axc=_0xf1cf[111];if(_0x634axb!=null&&_0x634axb[_0xf1cf[113]][mxConstants[_0xf1cf[112]]]==_0xf1cf[111]){_0x634axc=null};_0x634ax5[_0xf1cf[114]](mxConstants.STYLE_WHITE_SPACE,_0x634axc)});this[_0xf1cf[10]](_0xf1cf[115],function(){var _0x634axc=_0xf1cf[116];var _0x634axb=_0x634ax5[_0xf1cf[110]]()[_0xf1cf[109]](_0x634ax5[_0xf1cf[93]]());if(_0x634axb!=null){_0x634axc=_0x634axb[_0xf1cf[113]][mxConstants[_0xf1cf[117]]]||_0x634axc};_0x634axc=mxUtils[_0xf1cf[97]](mxResources[_0xf1cf[26]](_0xf1cf[96])+_0xf1cf[118]+mxResources[_0xf1cf[26]](_0xf1cf[115])+_0xf1cf[119],_0x634axc);if(_0x634axc!=null){_0x634ax5[_0xf1cf[114]](mxConstants.STYLE_ROTATION,_0x634axc)}});this[_0xf1cf[10]](_0xf1cf[120],function(){var _0x634ax9=_0x634ax5[_0xf1cf[57]]();if(_0x634ax9!=null){_0x634ax5[_0xf1cf[102]]()[_0xf1cf[101]]();try{for(var _0x634axa=0;_0x634axa<_0x634ax9[_0xf1cf[103]];_0x634axa++){var _0x634ax7=_0x634ax9[_0x634axa];if(_0x634ax5[_0xf1cf[102]]()[_0xf1cf[121]](_0x634ax7)&&_0x634ax5[_0xf1cf[102]]()[_0xf1cf[104]](_0x634ax7)==0){var _0x634axd=_0x634ax5[_0xf1cf[122]](_0x634ax7);if(_0x634axd!=null){_0x634axd=_0x634axd[_0xf1cf[123]]();_0x634axd[_0xf1cf[124]]+=_0x634axd[_0xf1cf[125]]/2-_0x634axd[_0xf1cf[126]]/2;_0x634axd[_0xf1cf[127]]+=_0x634axd[_0xf1cf[126]]/2-_0x634axd[_0xf1cf[125]]/2;var _0x634axe=_0x634axd[_0xf1cf[125]];_0x634axd[_0xf1cf[125]]=_0x634axd[_0xf1cf[126]];_0x634axd[_0xf1cf[126]]=_0x634axe;_0x634ax5[_0xf1cf[102]]()[_0xf1cf[128]](_0x634ax7,_0x634axd);var _0x634axb=_0x634ax5[_0xf1cf[129]][_0xf1cf[109]](_0x634ax7);if(_0x634axb!=null){var _0x634axf=_0x634axb[_0xf1cf[113]][mxConstants[_0xf1cf[130]]]||_0xf1cf[131];if(_0x634axf==_0xf1cf[131]){_0x634axf=_0xf1cf[132]}else {if(_0x634axf==_0xf1cf[132]){_0x634axf=_0xf1cf[133]}else {if(_0x634axf==_0xf1cf[133]){_0x634axf=_0xf1cf[134]}else {if(_0x634axf==_0xf1cf[134]){_0x634axf=_0xf1cf[131]}}}};_0x634ax5[_0xf1cf[114]](mxConstants.STYLE_DIRECTION,_0x634axf,[_0x634ax7])}}}}}finally{_0x634ax5[_0xf1cf[102]]()[_0xf1cf[107]]()}}},null,null,_0xf1cf[135]);this[_0xf1cf[10]](_0xf1cf[136],function(){_0x634ax5[_0xf1cf[137]](1)});this[_0xf1cf[10]](_0xf1cf[138],function(){_0x634ax5[_0xf1cf[138]]()},null,null,_0xf1cf[139]);this[_0xf1cf[10]](_0xf1cf[140],function(){_0x634ax5[_0xf1cf[140]]()},null,null,_0xf1cf[141]);this[_0xf1cf[10]](_0xf1cf[142],function(){_0x634ax5[_0xf1cf[143]]()});this[_0xf1cf[10]](_0xf1cf[144],mxUtils[_0xf1cf[27]](this,function(){if(!_0x634ax5[_0xf1cf[145]]){this[_0xf1cf[26]](_0xf1cf[147])[_0xf1cf[146]]()};var _0x634ax10=_0x634ax5[_0xf1cf[148]];var _0x634ax11=_0x634ax5[_0xf1cf[149]];var _0x634ax12=_0x634ax5[_0xf1cf[8]][_0xf1cf[150]]-20;var _0x634ax13=_0x634ax5[_0xf1cf[8]][_0xf1cf[151]]-20;var _0x634ax14=Math[_0xf1cf[153]](100*Math[_0xf1cf[152]](_0x634ax12/_0x634ax10[_0xf1cf[125]]/_0x634ax11,_0x634ax13/_0x634ax10[_0xf1cf[126]]/_0x634ax11))/100;_0x634ax5[_0xf1cf[137]](_0x634ax14);_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]=Math[_0xf1cf[157]](_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[124]]*_0x634ax14-Math[_0xf1cf[156]](10,(_0x634ax5[_0xf1cf[8]][_0xf1cf[150]]-_0x634ax10[_0xf1cf[125]]*_0x634ax11*_0x634ax14)/2));_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]=Math[_0xf1cf[157]](_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[127]]*_0x634ax14-Math[_0xf1cf[156]](10,(_0x634ax5[_0xf1cf[8]][_0xf1cf[151]]-_0x634ax10[_0xf1cf[126]]*_0x634ax11*_0x634ax14)/2))}));this[_0xf1cf[10]](_0xf1cf[159],mxUtils[_0xf1cf[27]](this,function(){if(!_0x634ax5[_0xf1cf[145]]){this[_0xf1cf[26]](_0xf1cf[147])[_0xf1cf[146]]()};var _0x634ax10=_0x634ax5[_0xf1cf[148]];var _0x634ax11=_0x634ax5[_0xf1cf[149]];var _0x634ax12=_0x634ax5[_0xf1cf[8]][_0xf1cf[150]]-20;var _0x634ax14=Math[_0xf1cf[153]](100*_0x634ax12/_0x634ax10[_0xf1cf[125]]/_0x634ax11)/100;_0x634ax5[_0xf1cf[137]](_0x634ax14);_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]=Math[_0xf1cf[157]](_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[124]]*_0x634ax14-Math[_0xf1cf[156]](10,(_0x634ax5[_0xf1cf[8]][_0xf1cf[150]]-_0x634ax10[_0xf1cf[125]]*_0x634ax11*_0x634ax14)/2));_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]=Math[_0xf1cf[157]](_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[127]]*_0x634ax14-Math[_0xf1cf[156]](10,(_0x634ax5[_0xf1cf[8]][_0xf1cf[151]]-_0x634ax10[_0xf1cf[126]]*_0x634ax11*_0x634ax14)/2))}));this[_0xf1cf[28]](_0xf1cf[160], new Action(mxResources[_0xf1cf[26]](_0xf1cf[161]),function(){var _0x634axc=mxUtils[_0xf1cf[97]](mxResources[_0xf1cf[26]](_0xf1cf[96])+_0xf1cf[162],parseInt(_0x634ax5[_0xf1cf[110]]()[_0xf1cf[163]]()*100));if(_0x634axc!=null&&_0x634axc[_0xf1cf[103]]>0&&!isNaN(parseInt(_0x634axc))){_0x634ax5[_0xf1cf[137]](parseInt(_0x634axc)/100)}}));var _0x634ax15=null;_0x634ax15=this[_0xf1cf[10]](_0xf1cf[164],function(){_0x634ax5[_0xf1cf[166]](!_0x634ax5[_0xf1cf[165]]());_0x634ax4[_0xf1cf[167]]()},null,null,_0xf1cf[168]);_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[165]]()});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[171],function(){_0x634ax5[_0xf1cf[173]][_0xf1cf[172]]=!_0x634ax5[_0xf1cf[173]][_0xf1cf[172]]});_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[173]][_0xf1cf[172]]});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[174],function(){_0x634ax5[_0xf1cf[176]][_0xf1cf[177]](!_0x634ax5[_0xf1cf[176]][_0xf1cf[175]]())});_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[176]][_0xf1cf[175]]()});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[178],function(){_0x634ax5[_0xf1cf[179]]=!_0x634ax5[_0xf1cf[179]];_0x634ax5[_0xf1cf[129]][_0xf1cf[180]]()});_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[179]]});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[181],function(){_0x634ax5[_0xf1cf[181]]=!_0x634ax5[_0xf1cf[181]];_0x634ax4[_0xf1cf[167]]();if(!_0x634ax5[_0xf1cf[181]]){var _0x634ax16=_0x634ax5[_0xf1cf[129]][_0xf1cf[155]];_0x634ax5[_0xf1cf[129]][_0xf1cf[183]](_0x634ax16[_0xf1cf[124]]-_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]/_0x634ax5[_0xf1cf[129]][_0xf1cf[182]],_0x634ax16[_0xf1cf[127]]-_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]/_0x634ax5[_0xf1cf[129]][_0xf1cf[182]]);_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]=0;_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]=0;_0x634ax5[_0xf1cf[184]]()}else {var _0x634ax17=_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[124]];var _0x634ax18=_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[127]];_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[124]]=0;_0x634ax5[_0xf1cf[129]][_0xf1cf[155]][_0xf1cf[127]]=0;_0x634ax5[_0xf1cf[184]]();_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]-=Math[_0xf1cf[157]](_0x634ax17*_0x634ax5[_0xf1cf[129]][_0xf1cf[182]]);_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]-=Math[_0xf1cf[157]](_0x634ax18*_0x634ax5[_0xf1cf[129]][_0xf1cf[182]])}},!mxClient.IS_TOUCH);_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[8]][_0xf1cf[113]][_0xf1cf[185]]==_0xf1cf[186]});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[147],mxUtils[_0xf1cf[27]](this,function(){_0x634ax5[_0xf1cf[145]]=!_0x634ax5[_0xf1cf[145]];_0x634ax5[_0xf1cf[187]]=_0x634ax5[_0xf1cf[145]];_0x634ax5[_0xf1cf[188]]=_0x634ax5[_0xf1cf[187]];_0x634ax5[_0xf1cf[129]][_0xf1cf[189]]();_0x634ax5[_0xf1cf[184]]();_0x634ax4[_0xf1cf[167]]();_0x634ax4[_0xf1cf[191]][_0xf1cf[190]]();if(mxUtils[_0xf1cf[192]](_0x634ax5[_0xf1cf[8]])){if(_0x634ax5[_0xf1cf[145]]){_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]-=20;_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]-=20}else {_0x634ax5[_0xf1cf[8]][_0xf1cf[154]]+=20;_0x634ax5[_0xf1cf[8]][_0xf1cf[158]]+=20}}}));_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[145]]});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[193],function(){_0x634ax5[_0xf1cf[195]](!_0x634ax5[_0xf1cf[194]][_0xf1cf[175]]())},null,null,_0xf1cf[196]);_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[194]][_0xf1cf[175]]()});_0x634ax15=this[_0xf1cf[10]](_0xf1cf[197],function(){_0x634ax5[_0xf1cf[194]][_0xf1cf[199]](!_0x634ax5[_0xf1cf[194]][_0xf1cf[198]]())});_0x634ax15[_0xf1cf[169]](true);_0x634ax15[_0xf1cf[170]](function(){return _0x634ax5[_0xf1cf[194]][_0xf1cf[198]]()});this[_0xf1cf[10]](_0xf1cf[200],function(){var _0x634ax19=_0xf1cf[95];if(mxResources[_0xf1cf[202]](mxClient[_0xf1cf[201]])){_0x634ax19=_0xf1cf[203]+mxClient[_0xf1cf[201]]};window[_0xf1cf[11]](RESOURCES_PATH+_0xf1cf[204]+_0x634ax19+_0xf1cf[205])});this[_0xf1cf[28]](_0xf1cf[206], new Action(mxResources[_0xf1cf[26]](_0xf1cf[206])+_0xf1cf[207],function(){_0x634ax3[_0xf1cf[9]]( new AboutDialog(_0x634ax3)[_0xf1cf[8]],320,280,true,true)},null,null,_0xf1cf[208]));var _0x634ax1a=mxUtils[_0xf1cf[27]](this,function(_0x634ax1b,_0x634ax1c){this[_0xf1cf[10]](_0x634ax1b,function(){_0x634ax5[_0xf1cf[209]](mxConstants.STYLE_FONTSTYLE,_0x634ax1c)})});_0x634ax1a(_0xf1cf[210],mxConstants.FONT_BOLD);_0x634ax1a(_0xf1cf[211],mxConstants.FONT_ITALIC);_0x634ax1a(_0xf1cf[212],mxConstants.FONT_UNDERLINE);this[_0xf1cf[10]](_0xf1cf[213],function(){_0x634ax5[_0xf1cf[214]](mxConstants.STYLE_SHADOW)});this[_0xf1cf[10]](_0xf1cf[215],function(){_0x634ax5[_0xf1cf[214]](mxConstants.STYLE_DASHED)});this[_0xf1cf[10]](_0xf1cf[216],function(){_0x634ax5[_0xf1cf[214]](mxConstants.STYLE_ROUNDED)});this[_0xf1cf[10]](_0xf1cf[217],function(){_0x634ax5[_0xf1cf[214]](mxConstants.STYLE_CURVED)});this[_0xf1cf[10]](_0xf1cf[113],function(){var _0x634ax9=_0x634ax5[_0xf1cf[57]]();if(_0x634ax9!=null&&_0x634ax9[_0xf1cf[103]]>0){var _0x634ax1d=_0x634ax5[_0xf1cf[102]]();var _0x634ax1c=mxUtils[_0xf1cf[97]](mxResources[_0xf1cf[26]](_0xf1cf[96])+_0xf1cf[118]+mxResources[_0xf1cf[26]](_0xf1cf[113])+_0xf1cf[218],_0x634ax1d[_0xf1cf[219]](_0x634ax9[0])||_0xf1cf[95]);if(_0x634ax1c!=null){_0x634ax5[_0xf1cf[220]](_0x634ax1c,_0x634ax9)}}});this[_0xf1cf[10]](_0xf1cf[221],function(){_0x634ax5[_0xf1cf[222]](_0x634ax5[_0xf1cf[93]]())});this[_0xf1cf[10]](_0xf1cf[223],function(){var _0x634ax7=_0x634ax5[_0xf1cf[93]]();if(_0x634ax7!=null&&_0x634ax5[_0xf1cf[102]]()[_0xf1cf[224]](_0x634ax7)){var _0x634ax1e=_0x634ax4[_0xf1cf[6]][_0xf1cf[226]][_0xf1cf[225]](_0x634ax7);if(_0x634ax1e instanceof mxEdgeHandler){var _0x634ax16=_0x634ax5[_0xf1cf[129]][_0xf1cf[155]];var _0x634ax6=_0x634ax5[_0xf1cf[129]][_0xf1cf[182]];var _0x634ax17=_0x634ax16[_0xf1cf[124]];var _0x634ax18=_0x634ax16[_0xf1cf[127]];var _0x634ax1f=_0x634ax5[_0xf1cf[102]]()[_0xf1cf[227]](_0x634ax7);var _0x634ax20=_0x634ax5[_0xf1cf[122]](_0x634ax1f);if(_0x634ax5[_0xf1cf[102]]()[_0xf1cf[121]](_0x634ax1f)&&_0x634ax20!=null){_0x634ax17+=_0x634ax20[_0xf1cf[124]];_0x634ax18+=_0x634ax20[_0xf1cf[127]]};_0x634ax1e[_0xf1cf[232]](_0x634ax1e[_0xf1cf[228]],_0x634ax5[_0xf1cf[230]][_0xf1cf[229]]/_0x634ax6-_0x634ax17,_0x634ax5[_0xf1cf[230]][_0xf1cf[231]]/_0x634ax6-_0x634ax18)}}});this[_0xf1cf[10]](_0xf1cf[233],function(){var _0x634ax21=_0x634ax3[_0xf1cf[2]][_0xf1cf[26]](_0xf1cf[233]);if(_0x634ax21[_0xf1cf[234]]!=null){_0x634ax21[_0xf1cf[234]][_0xf1cf[236]](_0x634ax21[_0xf1cf[234]][_0xf1cf[228]],_0x634ax21[_0xf1cf[235]])}});this[_0xf1cf[10]](_0xf1cf[237],function(){function _0x634ax22(_0x634axc,_0x634ax23,_0x634ax24){var _0x634ax25=null;var _0x634ax9=_0x634ax5[_0xf1cf[57]]();_0x634ax5[_0xf1cf[102]]()[_0xf1cf[101]]();try{if(_0x634ax9[_0xf1cf[103]]==0){var _0x634ax26=_0x634ax5[_0xf1cf[238]]();_0x634ax9=[_0x634ax5[_0xf1cf[240]](_0x634ax5[_0xf1cf[239]](),null,_0xf1cf[95],_0x634ax26,_0x634ax26,_0x634ax23,_0x634ax24)];_0x634ax25=_0x634ax9};_0x634ax5[_0xf1cf[114]](mxConstants.STYLE_IMAGE,_0x634axc,_0x634ax9);_0x634ax5[_0xf1cf[114]](mxConstants.STYLE_SHAPE,_0xf1cf[237],_0x634ax9);if(_0x634ax5[_0xf1cf[241]]()==1){if(_0x634ax23!=null&&_0x634ax24!=null){var _0x634ax7=_0x634ax9[0];var _0x634axd=_0x634ax5[_0xf1cf[102]]()[_0xf1cf[242]](_0x634ax7);if(_0x634axd!=null){_0x634axd=_0x634axd[_0xf1cf[123]]();_0x634axd[_0xf1cf[125]]=_0x634ax23;_0x634axd[_0xf1cf[126]]=_0x634ax24;_0x634ax5[_0xf1cf[102]]()[_0xf1cf[128]](_0x634ax7,_0x634axd)}}}}finally{_0x634ax5[_0xf1cf[102]]()[_0xf1cf[107]]()};if(_0x634ax25!=null){_0x634ax5[_0xf1cf[59]](_0x634ax25);_0x634ax5[_0xf1cf[243]](_0x634ax25[0])}}var _0x634axc=_0xf1cf[95];var _0x634axb=_0x634ax5[_0xf1cf[110]]()[_0xf1cf[109]](_0x634ax5[_0xf1cf[93]]());if(_0x634axb!=null){_0x634axc=_0x634axb[_0xf1cf[113]][mxConstants[_0xf1cf[244]]]||_0x634axc};_0x634axc=mxUtils[_0xf1cf[97]](mxResources[_0xf1cf[26]](_0xf1cf[96])+_0xf1cf[118]+mxResources[_0xf1cf[26]](_0xf1cf[245])+_0xf1cf[218],_0x634axc);if(_0x634axc!=null){if(_0x634axc[_0xf1cf[103]]>0){var _0x634ax27= new Image();_0x634ax27[_0xf1cf[246]]=function(){_0x634ax22(_0x634axc,_0x634ax27[_0xf1cf[125]],_0x634ax27[_0xf1cf[126]])};_0x634ax27[_0xf1cf[247]]=function(){mxUtils[_0xf1cf[249]](mxResources[_0xf1cf[26]](_0xf1cf[248]))};_0x634ax27[_0xf1cf[250]]=_0x634axc}}})};Actions[_0xf1cf[4]][_0xf1cf[10]]=function(_0x634ax1b,_0x634ax28,_0x634ax29,_0x634ax2a,_0x634ax2b){return this[_0xf1cf[28]](_0x634ax1b, new Action(mxResources[_0xf1cf[26]](_0x634ax1b),_0x634ax28,_0x634ax29,_0x634ax2a,_0x634ax2b))};Actions[_0xf1cf[4]][_0xf1cf[28]]=function(_0x634ax2c,_0x634ax15){this[_0xf1cf[2]][_0x634ax2c]=_0x634ax15;return _0x634ax15};Actions[_0xf1cf[4]][_0xf1cf[26]]=function(_0x634ax2c){return this[_0xf1cf[2]][_0x634ax2c]};function Action(_0x634ax2e,_0x634ax28,_0x634ax29,_0x634ax2a,_0x634ax2b){mxEventSource[_0xf1cf[251]](this);this[_0xf1cf[252]]=_0x634ax2e;this[_0xf1cf[146]]=_0x634ax28;this[_0xf1cf[253]]=(_0x634ax29!=null)?_0x634ax29:true;this[_0xf1cf[254]]=_0x634ax2a;this[_0xf1cf[255]]=_0x634ax2b}mxUtils[_0xf1cf[256]](Action,mxEventSource);Action[_0xf1cf[4]][_0xf1cf[177]]=function(_0x634axc){if(this[_0xf1cf[253]]!=_0x634axc){this[_0xf1cf[253]]=_0x634axc;this[_0xf1cf[258]]( new mxEventObject(_0xf1cf[257]))}};Action[_0xf1cf[4]][_0xf1cf[169]]=function(_0x634axc){this[_0xf1cf[259]]=_0x634axc};Action[_0xf1cf[4]][_0xf1cf[170]]=function(_0x634ax28){this[_0xf1cf[260]]=_0x634ax28};Action[_0xf1cf[4]][_0xf1cf[261]]=function(){return this[_0xf1cf[260]]()} \ No newline at end of file +var _0x4da4=["\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"];_0x4da4[0];function Actions(_0x2e26x2){this[_0x4da4[1]]=_0x2e26x2;this[_0x4da4[2]]= new Object();this[_0x4da4[3]]()}Actions[_0x4da4[4]][_0x4da4[3]]=function(){var _0x2e26x3=this[_0x4da4[1]];var _0x2e26x4=_0x2e26x3[_0x4da4[5]];var _0x2e26x5=_0x2e26x4[_0x4da4[6]];this[_0x4da4[10]](_0x4da4[7],function(){_0x2e26x3[_0x4da4[9]]( new NewDialog(_0x2e26x3)[_0x4da4[8]],300,180,true,true)});this[_0x4da4[10]](_0x4da4[11],function(){_0x2e26x3[_0x4da4[9]]( new OpenDialog(_0x2e26x3)[_0x4da4[8]],300,180,true,true)});this[_0x4da4[10]](_0x4da4[12],function(){_0x2e26x3[_0x4da4[13]](false)},null,null,_0x4da4[14]);this[_0x4da4[10]](_0x4da4[15],function(){_0x2e26x3[_0x4da4[13]](true)},null,null,_0x4da4[16]);this[_0x4da4[10]](_0x4da4[17],function(){_0x2e26x3[_0x4da4[18]](false)},null,null,_0x4da4[19]);this[_0x4da4[10]](_0x4da4[20],function(){_0x2e26x3[_0x4da4[9]]( new VariableDialog(_0x2e26x3)[_0x4da4[8]],300,180,true,true)});this[_0x4da4[10]](_0x4da4[21],function(){_0x2e26x3[_0x4da4[9]]( new ImportDialog(_0x2e26x3)[_0x4da4[8]],300,200,true,true)});this[_0x4da4[10]](_0x4da4[22],function(){_0x2e26x3[_0x4da4[9]]( new ExportDialog(_0x2e26x3)[_0x4da4[8]],300,200,true,true)},null,null,_0x4da4[23]);this[_0x4da4[28]](_0x4da4[24], new Action(mxResources[_0x4da4[26]](_0x4da4[25]),mxUtils[_0x4da4[27]](this,function(){this[_0x4da4[1]][_0x4da4[9]]( new EditFileDialog(_0x2e26x3)[_0x4da4[8]],620,420,true,true)})));this[_0x4da4[10]](_0x4da4[29],function(){_0x2e26x3[_0x4da4[9]]( new RenameDialog(_0x2e26x3)[_0x4da4[8]],300,180,true,true)});this[_0x4da4[10]](_0x4da4[30],function(){mxUtils[_0x4da4[31]](_0x2e26x5)},null,_0x4da4[32],_0x4da4[33]);this[_0x4da4[10]](_0x4da4[34],function(){mxUtils[_0x4da4[35]](_0x2e26x5,null,10,10)});this[_0x4da4[10]](_0x4da4[36],function(){_0x2e26x4[_0x4da4[37]][_0x4da4[36]]()},null,_0x4da4[38],_0x4da4[39]);this[_0x4da4[10]](_0x4da4[40],function(){_0x2e26x4[_0x4da4[37]][_0x4da4[40]]()},null,_0x4da4[41],_0x4da4[42]);this[_0x4da4[10]](_0x4da4[43],function(){mxClipboard[_0x4da4[43]](_0x2e26x5)},null,_0x4da4[44],_0x4da4[45]);this[_0x4da4[10]](_0x4da4[46],function(){mxClipboard[_0x4da4[46]](_0x2e26x5)},null,_0x4da4[47],_0x4da4[48]);this[_0x4da4[10]](_0x4da4[49],function(){mxClipboard[_0x4da4[49]](_0x2e26x5)},false,_0x4da4[50],_0x4da4[51]);this[_0x4da4[10]](_0x4da4[52],function(){_0x2e26x5[_0x4da4[53]]()},null,null,_0x4da4[54]);this[_0x4da4[10]](_0x4da4[55],function(){var _0x2e26x6=_0x2e26x5[_0x4da4[56]];_0x2e26x5[_0x4da4[59]](_0x2e26x5[_0x4da4[58]](_0x2e26x5[_0x4da4[57]](),_0x2e26x6,_0x2e26x6,true))},null,null,_0x4da4[60]);this[_0x4da4[10]](_0x4da4[61],function(){_0x2e26x5[_0x4da4[61]]()},null,null,_0x4da4[62]);this[_0x4da4[10]](_0x4da4[63],function(){_0x2e26x5[_0x4da4[63]]()},null,null,_0x4da4[64]);this[_0x4da4[10]](_0x4da4[65],function(){_0x2e26x5[_0x4da4[65]]()},null,null,_0x4da4[66]);this[_0x4da4[10]](_0x4da4[67],function(){_0x2e26x5[_0x4da4[67]]()},null,null,_0x4da4[68]);this[_0x4da4[10]](_0x4da4[69],function(){_0x2e26x5[_0x4da4[69]]()},null,null,_0x4da4[70]);this[_0x4da4[10]](_0x4da4[71],function(){_0x2e26x5[_0x4da4[71]]()},null,null,_0x4da4[72]);this[_0x4da4[10]](_0x4da4[73],function(){_0x2e26x5[_0x4da4[74]](false)},null,null,_0x4da4[75]);this[_0x4da4[10]](_0x4da4[76],function(){_0x2e26x5[_0x4da4[74]](true)},null,null,_0x4da4[77]);this[_0x4da4[10]](_0x4da4[78],function(){_0x2e26x5[_0x4da4[79]](false)},null,null,_0x4da4[80]);this[_0x4da4[10]](_0x4da4[81],function(){_0x2e26x5[_0x4da4[79]](true)},null,null,_0x4da4[82]);this[_0x4da4[10]](_0x4da4[83],function(){_0x2e26x5[_0x4da4[85]](_0x2e26x5[_0x4da4[84]](null,0))},null,null,_0x4da4[86]);this[_0x4da4[10]](_0x4da4[87],function(){_0x2e26x5[_0x4da4[59]](_0x2e26x5[_0x4da4[88]]())},null,null,_0x4da4[89]);this[_0x4da4[10]](_0x4da4[90],function(){_0x2e26x5[_0x4da4[91]]()});this[_0x4da4[10]](_0x4da4[92],function(){var _0x2e26x7=_0x2e26x5[_0x4da4[93]]();var _0x2e26x8=_0x2e26x5[_0x4da4[94]](_0x2e26x7);if(_0x2e26x8==null){_0x2e26x8=_0x4da4[95]};_0x2e26x8=mxUtils[_0x4da4[97]](mxResources[_0x4da4[26]](_0x4da4[96]),_0x2e26x8);if(_0x2e26x8!=null){_0x2e26x5[_0x4da4[98]](_0x2e26x7,_0x2e26x8)}});this[_0x4da4[10]](_0x4da4[99],function(){var _0x2e26x7=_0x2e26x5[_0x4da4[93]]();var _0x2e26x8=_0x2e26x5[_0x4da4[94]](_0x2e26x7);if(_0x2e26x8!=null){window[_0x4da4[11]](_0x2e26x8)}});this[_0x4da4[10]](_0x4da4[100],function(){var _0x2e26x9=_0x2e26x5[_0x4da4[57]]();if(_0x2e26x9!=null){_0x2e26x5[_0x4da4[102]]()[_0x4da4[101]]();try{for(var _0x2e26xa=0;_0x2e26xa<_0x2e26x9[_0x4da4[103]];_0x2e26xa++){var _0x2e26x7=_0x2e26x9[_0x2e26xa];if(_0x2e26x5[_0x4da4[102]]()[_0x4da4[104]](_0x2e26x7)){_0x2e26x5[_0x4da4[105]]([_0x2e26x7],20)}else {_0x2e26x5[_0x4da4[106]](_0x2e26x7)}}}finally{_0x2e26x5[_0x4da4[102]]()[_0x4da4[107]]()}}});this[_0x4da4[10]](_0x4da4[108],function(){var _0x2e26xb=_0x2e26x5[_0x4da4[110]]()[_0x4da4[109]](_0x2e26x5[_0x4da4[93]]());var _0x2e26xc=_0x4da4[111];if(_0x2e26xb!=null&&_0x2e26xb[_0x4da4[113]][mxConstants[_0x4da4[112]]]==_0x4da4[111]){_0x2e26xc=null};_0x2e26x5[_0x4da4[114]](mxConstants.STYLE_WHITE_SPACE,_0x2e26xc)});this[_0x4da4[10]](_0x4da4[115],function(){var _0x2e26xc=_0x4da4[116];var _0x2e26xb=_0x2e26x5[_0x4da4[110]]()[_0x4da4[109]](_0x2e26x5[_0x4da4[93]]());if(_0x2e26xb!=null){_0x2e26xc=_0x2e26xb[_0x4da4[113]][mxConstants[_0x4da4[117]]]||_0x2e26xc};_0x2e26xc=mxUtils[_0x4da4[97]](mxResources[_0x4da4[26]](_0x4da4[96])+_0x4da4[118]+mxResources[_0x4da4[26]](_0x4da4[115])+_0x4da4[119],_0x2e26xc);if(_0x2e26xc!=null){_0x2e26x5[_0x4da4[114]](mxConstants.STYLE_ROTATION,_0x2e26xc)}});this[_0x4da4[10]](_0x4da4[120],function(){var _0x2e26x9=_0x2e26x5[_0x4da4[57]]();if(_0x2e26x9!=null){_0x2e26x5[_0x4da4[102]]()[_0x4da4[101]]();try{for(var _0x2e26xa=0;_0x2e26xa<_0x2e26x9[_0x4da4[103]];_0x2e26xa++){var _0x2e26x7=_0x2e26x9[_0x2e26xa];if(_0x2e26x5[_0x4da4[102]]()[_0x4da4[121]](_0x2e26x7)&&_0x2e26x5[_0x4da4[102]]()[_0x4da4[104]](_0x2e26x7)==0){var _0x2e26xd=_0x2e26x5[_0x4da4[122]](_0x2e26x7);if(_0x2e26xd!=null){_0x2e26xd=_0x2e26xd[_0x4da4[123]]();_0x2e26xd[_0x4da4[124]]+=_0x2e26xd[_0x4da4[125]]/2-_0x2e26xd[_0x4da4[126]]/2;_0x2e26xd[_0x4da4[127]]+=_0x2e26xd[_0x4da4[126]]/2-_0x2e26xd[_0x4da4[125]]/2;var _0x2e26xe=_0x2e26xd[_0x4da4[125]];_0x2e26xd[_0x4da4[125]]=_0x2e26xd[_0x4da4[126]];_0x2e26xd[_0x4da4[126]]=_0x2e26xe;_0x2e26x5[_0x4da4[102]]()[_0x4da4[128]](_0x2e26x7,_0x2e26xd);var _0x2e26xb=_0x2e26x5[_0x4da4[129]][_0x4da4[109]](_0x2e26x7);if(_0x2e26xb!=null){var _0x2e26xf=_0x2e26xb[_0x4da4[113]][mxConstants[_0x4da4[130]]]||_0x4da4[131];if(_0x2e26xf==_0x4da4[131]){_0x2e26xf=_0x4da4[132]}else {if(_0x2e26xf==_0x4da4[132]){_0x2e26xf=_0x4da4[133]}else {if(_0x2e26xf==_0x4da4[133]){_0x2e26xf=_0x4da4[134]}else {if(_0x2e26xf==_0x4da4[134]){_0x2e26xf=_0x4da4[131]}}}};_0x2e26x5[_0x4da4[114]](mxConstants.STYLE_DIRECTION,_0x2e26xf,[_0x2e26x7])}}}}}finally{_0x2e26x5[_0x4da4[102]]()[_0x4da4[107]]()}}},null,null,_0x4da4[135]);this[_0x4da4[10]](_0x4da4[136],function(){_0x2e26x5[_0x4da4[137]](1)});this[_0x4da4[10]](_0x4da4[138],function(){_0x2e26x5[_0x4da4[138]]()},null,null,_0x4da4[139]);this[_0x4da4[10]](_0x4da4[140],function(){_0x2e26x5[_0x4da4[140]]()},null,null,_0x4da4[141]);this[_0x4da4[10]](_0x4da4[142],function(){_0x2e26x5[_0x4da4[143]]()});this[_0x4da4[10]](_0x4da4[144],mxUtils[_0x4da4[27]](this,function(){if(!_0x2e26x5[_0x4da4[145]]){this[_0x4da4[26]](_0x4da4[147])[_0x4da4[146]]()};var _0x2e26x10=_0x2e26x5[_0x4da4[148]];var _0x2e26x11=_0x2e26x5[_0x4da4[149]];var _0x2e26x12=_0x2e26x5[_0x4da4[8]][_0x4da4[150]]-20;var _0x2e26x13=_0x2e26x5[_0x4da4[8]][_0x4da4[151]]-20;var _0x2e26x14=Math[_0x4da4[153]](100*Math[_0x4da4[152]](_0x2e26x12/_0x2e26x10[_0x4da4[125]]/_0x2e26x11,_0x2e26x13/_0x2e26x10[_0x4da4[126]]/_0x2e26x11))/100;_0x2e26x5[_0x4da4[137]](_0x2e26x14);_0x2e26x5[_0x4da4[8]][_0x4da4[154]]=Math[_0x4da4[157]](_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[124]]*_0x2e26x14-Math[_0x4da4[156]](10,(_0x2e26x5[_0x4da4[8]][_0x4da4[150]]-_0x2e26x10[_0x4da4[125]]*_0x2e26x11*_0x2e26x14)/2));_0x2e26x5[_0x4da4[8]][_0x4da4[158]]=Math[_0x4da4[157]](_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[127]]*_0x2e26x14-Math[_0x4da4[156]](10,(_0x2e26x5[_0x4da4[8]][_0x4da4[151]]-_0x2e26x10[_0x4da4[126]]*_0x2e26x11*_0x2e26x14)/2))}));this[_0x4da4[10]](_0x4da4[159],mxUtils[_0x4da4[27]](this,function(){if(!_0x2e26x5[_0x4da4[145]]){this[_0x4da4[26]](_0x4da4[147])[_0x4da4[146]]()};var _0x2e26x10=_0x2e26x5[_0x4da4[148]];var _0x2e26x11=_0x2e26x5[_0x4da4[149]];var _0x2e26x12=_0x2e26x5[_0x4da4[8]][_0x4da4[150]]-20;var _0x2e26x14=Math[_0x4da4[153]](100*_0x2e26x12/_0x2e26x10[_0x4da4[125]]/_0x2e26x11)/100;_0x2e26x5[_0x4da4[137]](_0x2e26x14);_0x2e26x5[_0x4da4[8]][_0x4da4[154]]=Math[_0x4da4[157]](_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[124]]*_0x2e26x14-Math[_0x4da4[156]](10,(_0x2e26x5[_0x4da4[8]][_0x4da4[150]]-_0x2e26x10[_0x4da4[125]]*_0x2e26x11*_0x2e26x14)/2));_0x2e26x5[_0x4da4[8]][_0x4da4[158]]=Math[_0x4da4[157]](_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[127]]*_0x2e26x14-Math[_0x4da4[156]](10,(_0x2e26x5[_0x4da4[8]][_0x4da4[151]]-_0x2e26x10[_0x4da4[126]]*_0x2e26x11*_0x2e26x14)/2))}));this[_0x4da4[28]](_0x4da4[160], new Action(mxResources[_0x4da4[26]](_0x4da4[161]),function(){var _0x2e26xc=mxUtils[_0x4da4[97]](mxResources[_0x4da4[26]](_0x4da4[96])+_0x4da4[162],parseInt(_0x2e26x5[_0x4da4[110]]()[_0x4da4[163]]()*100));if(_0x2e26xc!=null&&_0x2e26xc[_0x4da4[103]]>0&&!isNaN(parseInt(_0x2e26xc))){_0x2e26x5[_0x4da4[137]](parseInt(_0x2e26xc)/100)}}));var _0x2e26x15=null;_0x2e26x15=this[_0x4da4[10]](_0x4da4[164],function(){_0x2e26x5[_0x4da4[166]](!_0x2e26x5[_0x4da4[165]]());_0x2e26x4[_0x4da4[167]]()},null,null,_0x4da4[168]);_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[165]]()});_0x2e26x15=this[_0x4da4[10]](_0x4da4[171],function(){_0x2e26x5[_0x4da4[173]][_0x4da4[172]]=!_0x2e26x5[_0x4da4[173]][_0x4da4[172]]});_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[173]][_0x4da4[172]]});_0x2e26x15=this[_0x4da4[10]](_0x4da4[174],function(){_0x2e26x5[_0x4da4[176]][_0x4da4[177]](!_0x2e26x5[_0x4da4[176]][_0x4da4[175]]())});_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[176]][_0x4da4[175]]()});_0x2e26x15=this[_0x4da4[10]](_0x4da4[178],function(){_0x2e26x5[_0x4da4[179]]=!_0x2e26x5[_0x4da4[179]];_0x2e26x5[_0x4da4[129]][_0x4da4[180]]()});_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[179]]});_0x2e26x15=this[_0x4da4[10]](_0x4da4[181],function(){_0x2e26x5[_0x4da4[181]]=!_0x2e26x5[_0x4da4[181]];_0x2e26x4[_0x4da4[167]]();if(!_0x2e26x5[_0x4da4[181]]){var _0x2e26x16=_0x2e26x5[_0x4da4[129]][_0x4da4[155]];_0x2e26x5[_0x4da4[129]][_0x4da4[183]](_0x2e26x16[_0x4da4[124]]-_0x2e26x5[_0x4da4[8]][_0x4da4[154]]/_0x2e26x5[_0x4da4[129]][_0x4da4[182]],_0x2e26x16[_0x4da4[127]]-_0x2e26x5[_0x4da4[8]][_0x4da4[158]]/_0x2e26x5[_0x4da4[129]][_0x4da4[182]]);_0x2e26x5[_0x4da4[8]][_0x4da4[154]]=0;_0x2e26x5[_0x4da4[8]][_0x4da4[158]]=0;_0x2e26x5[_0x4da4[184]]()}else {var _0x2e26x17=_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[124]];var _0x2e26x18=_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[127]];_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[124]]=0;_0x2e26x5[_0x4da4[129]][_0x4da4[155]][_0x4da4[127]]=0;_0x2e26x5[_0x4da4[184]]();_0x2e26x5[_0x4da4[8]][_0x4da4[154]]-=Math[_0x4da4[157]](_0x2e26x17*_0x2e26x5[_0x4da4[129]][_0x4da4[182]]);_0x2e26x5[_0x4da4[8]][_0x4da4[158]]-=Math[_0x4da4[157]](_0x2e26x18*_0x2e26x5[_0x4da4[129]][_0x4da4[182]])}},!mxClient.IS_TOUCH);_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[8]][_0x4da4[113]][_0x4da4[185]]==_0x4da4[186]});_0x2e26x15=this[_0x4da4[10]](_0x4da4[147],mxUtils[_0x4da4[27]](this,function(){_0x2e26x5[_0x4da4[145]]=!_0x2e26x5[_0x4da4[145]];_0x2e26x5[_0x4da4[187]]=_0x2e26x5[_0x4da4[145]];_0x2e26x5[_0x4da4[188]]=_0x2e26x5[_0x4da4[187]];_0x2e26x5[_0x4da4[129]][_0x4da4[189]]();_0x2e26x5[_0x4da4[184]]();_0x2e26x4[_0x4da4[167]]();_0x2e26x4[_0x4da4[191]][_0x4da4[190]]();if(mxUtils[_0x4da4[192]](_0x2e26x5[_0x4da4[8]])){if(_0x2e26x5[_0x4da4[145]]){_0x2e26x5[_0x4da4[8]][_0x4da4[154]]-=20;_0x2e26x5[_0x4da4[8]][_0x4da4[158]]-=20}else {_0x2e26x5[_0x4da4[8]][_0x4da4[154]]+=20;_0x2e26x5[_0x4da4[8]][_0x4da4[158]]+=20}}}));_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[145]]});_0x2e26x15=this[_0x4da4[10]](_0x4da4[193],function(){_0x2e26x5[_0x4da4[195]](!_0x2e26x5[_0x4da4[194]][_0x4da4[175]]())},null,null,_0x4da4[196]);_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[194]][_0x4da4[175]]()});_0x2e26x15=this[_0x4da4[10]](_0x4da4[197],function(){_0x2e26x5[_0x4da4[194]][_0x4da4[199]](!_0x2e26x5[_0x4da4[194]][_0x4da4[198]]())});_0x2e26x15[_0x4da4[169]](true);_0x2e26x15[_0x4da4[170]](function(){return _0x2e26x5[_0x4da4[194]][_0x4da4[198]]()});this[_0x4da4[10]](_0x4da4[200],function(){var _0x2e26x19=_0x4da4[95];if(mxResources[_0x4da4[202]](mxClient[_0x4da4[201]])){_0x2e26x19=_0x4da4[203]+mxClient[_0x4da4[201]]};window[_0x4da4[11]](RESOURCES_PATH+_0x4da4[204]+_0x2e26x19+_0x4da4[205])});this[_0x4da4[28]](_0x4da4[206], new Action(mxResources[_0x4da4[26]](_0x4da4[206])+_0x4da4[207],function(){_0x2e26x3[_0x4da4[9]]( new AboutDialog(_0x2e26x3)[_0x4da4[8]],320,280,true,true)},null,null,_0x4da4[208]));var _0x2e26x1a=mxUtils[_0x4da4[27]](this,function(_0x2e26x1b,_0x2e26x1c){this[_0x4da4[10]](_0x2e26x1b,function(){_0x2e26x5[_0x4da4[209]](mxConstants.STYLE_FONTSTYLE,_0x2e26x1c)})});_0x2e26x1a(_0x4da4[210],mxConstants.FONT_BOLD);_0x2e26x1a(_0x4da4[211],mxConstants.FONT_ITALIC);_0x2e26x1a(_0x4da4[212],mxConstants.FONT_UNDERLINE);this[_0x4da4[10]](_0x4da4[213],function(){_0x2e26x5[_0x4da4[214]](mxConstants.STYLE_SHADOW)});this[_0x4da4[10]](_0x4da4[215],function(){_0x2e26x5[_0x4da4[214]](mxConstants.STYLE_DASHED)});this[_0x4da4[10]](_0x4da4[216],function(){_0x2e26x5[_0x4da4[214]](mxConstants.STYLE_ROUNDED)});this[_0x4da4[10]](_0x4da4[217],function(){_0x2e26x5[_0x4da4[214]](mxConstants.STYLE_CURVED)});this[_0x4da4[10]](_0x4da4[113],function(){var _0x2e26x9=_0x2e26x5[_0x4da4[57]]();if(_0x2e26x9!=null&&_0x2e26x9[_0x4da4[103]]>0){var _0x2e26x1d=_0x2e26x5[_0x4da4[102]]();var _0x2e26x1c=mxUtils[_0x4da4[97]](mxResources[_0x4da4[26]](_0x4da4[96])+_0x4da4[118]+mxResources[_0x4da4[26]](_0x4da4[113])+_0x4da4[218],_0x2e26x1d[_0x4da4[219]](_0x2e26x9[0])||_0x4da4[95]);if(_0x2e26x1c!=null){_0x2e26x5[_0x4da4[220]](_0x2e26x1c,_0x2e26x9)}}});this[_0x4da4[10]](_0x4da4[221],function(){_0x2e26x5[_0x4da4[222]](_0x2e26x5[_0x4da4[93]]())});this[_0x4da4[10]](_0x4da4[223],function(){var _0x2e26x7=_0x2e26x5[_0x4da4[93]]();if(_0x2e26x7!=null&&_0x2e26x5[_0x4da4[102]]()[_0x4da4[224]](_0x2e26x7)){var _0x2e26x1e=_0x2e26x4[_0x4da4[6]][_0x4da4[226]][_0x4da4[225]](_0x2e26x7);if(_0x2e26x1e instanceof mxEdgeHandler){var _0x2e26x16=_0x2e26x5[_0x4da4[129]][_0x4da4[155]];var _0x2e26x6=_0x2e26x5[_0x4da4[129]][_0x4da4[182]];var _0x2e26x17=_0x2e26x16[_0x4da4[124]];var _0x2e26x18=_0x2e26x16[_0x4da4[127]];var _0x2e26x1f=_0x2e26x5[_0x4da4[102]]()[_0x4da4[227]](_0x2e26x7);var _0x2e26x20=_0x2e26x5[_0x4da4[122]](_0x2e26x1f);if(_0x2e26x5[_0x4da4[102]]()[_0x4da4[121]](_0x2e26x1f)&&_0x2e26x20!=null){_0x2e26x17+=_0x2e26x20[_0x4da4[124]];_0x2e26x18+=_0x2e26x20[_0x4da4[127]]};_0x2e26x1e[_0x4da4[232]](_0x2e26x1e[_0x4da4[228]],_0x2e26x5[_0x4da4[230]][_0x4da4[229]]/_0x2e26x6-_0x2e26x17,_0x2e26x5[_0x4da4[230]][_0x4da4[231]]/_0x2e26x6-_0x2e26x18)}}});this[_0x4da4[10]](_0x4da4[233],function(){var _0x2e26x21=_0x2e26x3[_0x4da4[2]][_0x4da4[26]](_0x4da4[233]);if(_0x2e26x21[_0x4da4[234]]!=null){_0x2e26x21[_0x4da4[234]][_0x4da4[236]](_0x2e26x21[_0x4da4[234]][_0x4da4[228]],_0x2e26x21[_0x4da4[235]])}});this[_0x4da4[10]](_0x4da4[237],function(){function _0x2e26x22(_0x2e26xc,_0x2e26x23,_0x2e26x24){var _0x2e26x25=null;var _0x2e26x9=_0x2e26x5[_0x4da4[57]]();_0x2e26x5[_0x4da4[102]]()[_0x4da4[101]]();try{if(_0x2e26x9[_0x4da4[103]]==0){var _0x2e26x26=_0x2e26x5[_0x4da4[238]]();_0x2e26x9=[_0x2e26x5[_0x4da4[240]](_0x2e26x5[_0x4da4[239]](),null,_0x4da4[95],_0x2e26x26,_0x2e26x26,_0x2e26x23,_0x2e26x24)];_0x2e26x25=_0x2e26x9};_0x2e26x5[_0x4da4[114]](mxConstants.STYLE_IMAGE,_0x2e26xc,_0x2e26x9);_0x2e26x5[_0x4da4[114]](mxConstants.STYLE_SHAPE,_0x4da4[237],_0x2e26x9);if(_0x2e26x5[_0x4da4[241]]()==1){if(_0x2e26x23!=null&&_0x2e26x24!=null){var _0x2e26x7=_0x2e26x9[0];var _0x2e26xd=_0x2e26x5[_0x4da4[102]]()[_0x4da4[242]](_0x2e26x7);if(_0x2e26xd!=null){_0x2e26xd=_0x2e26xd[_0x4da4[123]]();_0x2e26xd[_0x4da4[125]]=_0x2e26x23;_0x2e26xd[_0x4da4[126]]=_0x2e26x24;_0x2e26x5[_0x4da4[102]]()[_0x4da4[128]](_0x2e26x7,_0x2e26xd)}}}}finally{_0x2e26x5[_0x4da4[102]]()[_0x4da4[107]]()};if(_0x2e26x25!=null){_0x2e26x5[_0x4da4[59]](_0x2e26x25);_0x2e26x5[_0x4da4[243]](_0x2e26x25[0])}}var _0x2e26xc=_0x4da4[95];var _0x2e26xb=_0x2e26x5[_0x4da4[110]]()[_0x4da4[109]](_0x2e26x5[_0x4da4[93]]());if(_0x2e26xb!=null){_0x2e26xc=_0x2e26xb[_0x4da4[113]][mxConstants[_0x4da4[244]]]||_0x2e26xc};_0x2e26xc=mxUtils[_0x4da4[97]](mxResources[_0x4da4[26]](_0x4da4[96])+_0x4da4[118]+mxResources[_0x4da4[26]](_0x4da4[245])+_0x4da4[218],_0x2e26xc);if(_0x2e26xc!=null){if(_0x2e26xc[_0x4da4[103]]>0){var _0x2e26x27= new Image();_0x2e26x27[_0x4da4[246]]=function(){_0x2e26x22(_0x2e26xc,_0x2e26x27[_0x4da4[125]],_0x2e26x27[_0x4da4[126]])};_0x2e26x27[_0x4da4[247]]=function(){mxUtils[_0x4da4[249]](mxResources[_0x4da4[26]](_0x4da4[248]))};_0x2e26x27[_0x4da4[250]]=_0x2e26xc}}})};Actions[_0x4da4[4]][_0x4da4[10]]=function(_0x2e26x1b,_0x2e26x28,_0x2e26x29,_0x2e26x2a,_0x2e26x2b){return this[_0x4da4[28]](_0x2e26x1b, new Action(mxResources[_0x4da4[26]](_0x2e26x1b),_0x2e26x28,_0x2e26x29,_0x2e26x2a,_0x2e26x2b))};Actions[_0x4da4[4]][_0x4da4[28]]=function(_0x2e26x2c,_0x2e26x15){this[_0x4da4[2]][_0x2e26x2c]=_0x2e26x15;return _0x2e26x15};Actions[_0x4da4[4]][_0x4da4[26]]=function(_0x2e26x2c){return this[_0x4da4[2]][_0x2e26x2c]};function Action(_0x2e26x2e,_0x2e26x28,_0x2e26x29,_0x2e26x2a,_0x2e26x2b){mxEventSource[_0x4da4[251]](this);this[_0x4da4[252]]=_0x2e26x2e;this[_0x4da4[146]]=_0x2e26x28;this[_0x4da4[253]]=(_0x2e26x29!=null)?_0x2e26x29:true;this[_0x4da4[254]]=_0x2e26x2a;this[_0x4da4[255]]=_0x2e26x2b}mxUtils[_0x4da4[256]](Action,mxEventSource);Action[_0x4da4[4]][_0x4da4[177]]=function(_0x2e26xc){if(this[_0x4da4[253]]!=_0x2e26xc){this[_0x4da4[253]]=_0x2e26xc;this[_0x4da4[258]]( new mxEventObject(_0x4da4[257]))}};Action[_0x4da4[4]][_0x4da4[169]]=function(_0x2e26xc){this[_0x4da4[259]]=_0x2e26xc};Action[_0x4da4[4]][_0x4da4[170]]=function(_0x2e26x28){this[_0x4da4[260]]=_0x2e26x28};Action[_0x4da4[4]][_0x4da4[261]]=function(){return this[_0x4da4[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 c902423..963f4ed 100644 --- a/public/assets/plugins/jscripty/js/Dialogs.js +++ b/public/assets/plugins/jscripty/js/Dialogs.js @@ -1 +1 @@ -var _0x55e6=["\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"];_0x55e6[0];function createCheckbox(_0xfe82x2){var _0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[3],_0x55e6[4]);if(_0xfe82x2){_0xfe82x3[_0x55e6[5]](_0x55e6[6],true)};return _0xfe82x3}function createDropdownFromApi(_0xfe82x5,_0xfe82x2,_0xfe82x6,_0xfe82x7,_0xfe82x8,_0xfe82x9,_0xfe82xa){var _0xfe82xb= new XMLHttpRequest();_0xfe82xb[_0x55e6[8]](_0x55e6[7],_0xfe82x5,false);_0xfe82xb[_0x55e6[14]](_0x55e6[9],_0x55e6[10]+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[11]]);_0xfe82xb[_0x55e6[15]](null);var _0xfe82xc=[];if(_0xfe82xb[_0x55e6[16]]===200){_0xfe82xc=JSON[_0x55e6[18]](_0xfe82xb[_0x55e6[17]])};var _0xfe82x3=document[_0x55e6[2]](_0x55e6[19]);var _0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0x55e6[22];_0xfe82xd[_0x55e6[23]]=_0x55e6[24];_0xfe82x3[_0x55e6[25]](_0xfe82xd);_0xfe82xc[_0x55e6[30]][_0x55e6[28]](function(_0xfe82xe){_0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0xfe82xe[_0xfe82x6];if(_0xfe82x9&&_0xfe82xa){_0xfe82x9[_0x55e6[28]](function(_0xfe82xf){_0xfe82xa=_0xfe82xa[_0x55e6[27]](_0x55e6[26]+_0xfe82xf+_0x55e6[26],_0xfe82xe[_0xfe82xf])});_0xfe82xd[_0x55e6[23]]=_0xfe82xa;_0xfe82xd[_0x55e6[29]]=(_0xfe82xa==_0xfe82x2)}else {_0xfe82xd[_0x55e6[23]]=_0xfe82xe[_0xfe82x7];_0xfe82xd[_0x55e6[29]]=(_0xfe82xe[_0xfe82x7]==_0xfe82x2)};_0xfe82x3[_0x55e6[25]](_0xfe82xd)});_0xfe82x3[_0x55e6[31]]=_0x55e6[32];return _0xfe82x3}function createGroupedDropdownFromApi(_0xfe82x5,_0xfe82x2,_0xfe82x6,_0xfe82x7,_0xfe82x8,_0xfe82x11,_0xfe82x12){var _0xfe82xb= new XMLHttpRequest();_0xfe82xb[_0x55e6[8]](_0x55e6[7],_0xfe82x5,false);_0xfe82xb[_0x55e6[14]](_0x55e6[9],_0x55e6[10]+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[11]]);_0xfe82xb[_0x55e6[15]](null);var _0xfe82xc=[];if(_0xfe82xb[_0x55e6[16]]===200){_0xfe82xc=JSON[_0x55e6[18]](_0xfe82xb[_0x55e6[17]])};var _0xfe82x3=document[_0x55e6[2]](_0x55e6[19]);var _0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0x55e6[22];_0xfe82xd[_0x55e6[23]]=_0x55e6[33];_0xfe82x3[_0x55e6[25]](_0xfe82xd);var _0xfe82x13=_0xfe82x11?_0xfe82xc[_0x55e6[30]]:_0xfe82xc;var _0xfe82x14={};var _0xfe82x15={};_0xfe82x14[_0xfe82x12]=null;var _0xfe82x16=_[_0x55e6[34]](_0xfe82x13,_0xfe82x14);var _0xfe82x17={};_0xfe82x16[_0x55e6[28]](function(_0xfe82xe){_0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[31]]=_0x55e6[35];_0xfe82xd[_0x55e6[21]]=_0xfe82xe[_0xfe82x6][_0x55e6[36]]();_0xfe82xd[_0x55e6[23]]=_0xfe82xe[_0xfe82x7];_0xfe82xd[_0x55e6[29]]=(_0xfe82xe[_0xfe82x7]==_0xfe82x2);_0xfe82x3[_0x55e6[25]](_0xfe82xd);_0xfe82x15[_0xfe82x12]=_0xfe82xe[_0xfe82x7];_0xfe82x17=_[_0x55e6[34]](_0xfe82x13,_0xfe82x15);_0xfe82x17[_0x55e6[28]](function(_0xfe82xe){_0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[31]]=_0x55e6[37];_0xfe82xd[_0x55e6[21]]=_0x55e6[38]+_[_0x55e6[39]](_0xfe82xe[_0xfe82x6]);_0xfe82xd[_0x55e6[23]]=_0xfe82xe[_0xfe82x7];_0xfe82xd[_0x55e6[29]]=(_0xfe82xe[_0xfe82x7]==_0xfe82x2);_0xfe82x3[_0x55e6[25]](_0xfe82xd)})});_0xfe82x3[_0x55e6[31]]=_0x55e6[32];return _0xfe82x3}function createDropdownFromArray(_0xfe82x19,_0xfe82x2){var _0xfe82x3=document[_0x55e6[2]](_0x55e6[19]);for(var _0xfe82x1a in _0xfe82x19){var _0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0xfe82x19[_0xfe82x1a];_0xfe82xd[_0x55e6[23]]=_0xfe82x1a;if(_0xfe82x2>0||_0xfe82x2!=_0x55e6[40]){_0xfe82xd[_0x55e6[29]]=(_0xfe82x2===_0xfe82x1a)?true:false};_0xfe82x3[_0x55e6[25]](_0xfe82xd)};_0xfe82x3[_0x55e6[31]]=_0x55e6[32];return _0xfe82x3}function Dialog(_0xfe82x8,_0xfe82x1c,_0xfe82x1d,_0xfe82x1e,_0xfe82x1f,_0xfe82x20,_0xfe82x21){var _0xfe82x22=0;if(mxClient[_0x55e6[41]]&&document[_0x55e6[42]]!=9){_0xfe82x22=60};_0xfe82x1d+=_0xfe82x22;_0xfe82x1e+=_0xfe82x22;var _0xfe82x23=Math[_0x55e6[46]](0,Math[_0x55e6[45]]((document[_0x55e6[44]][_0x55e6[43]]-_0xfe82x1d)/2));var _0xfe82x24=Math[_0x55e6[46]](0,Math[_0x55e6[45]]((Math[_0x55e6[46]](document[_0x55e6[44]][_0x55e6[47]],document[_0x55e6[48]][_0x55e6[47]])-_0xfe82x1e)/3));var _0xfe82x25=_0xfe82x8[_0x55e6[50]](_0x55e6[49]);_0xfe82x25[_0x55e6[31]]=_0x55e6[51];_0xfe82x25[_0x55e6[53]][_0x55e6[52]]=_0x55e6[54];_0xfe82x25[_0x55e6[53]][_0x55e6[55]]=_0x55e6[56];var _0xfe82x26=_0xfe82x8[_0x55e6[50]](_0x55e6[57]);_0xfe82x26[_0x55e6[31]]=_0x55e6[58];_0xfe82x26[_0x55e6[25]](_0xfe82x1c);_0xfe82x25[_0x55e6[25]](_0xfe82x26);if(this[_0x55e6[59]]==null){this[_0x55e6[59]]=_0xfe82x8[_0x55e6[50]](_0x55e6[60]);this[_0x55e6[59]][_0x55e6[31]]=_0x55e6[61];if(mxClient[_0x55e6[62]]){ new mxDivResizer(this[_0x55e6[59]])}};if(_0xfe82x1f){document[_0x55e6[44]][_0x55e6[25]](this[_0x55e6[59]])};document[_0x55e6[44]][_0x55e6[25]](_0xfe82x25);this[_0x55e6[63]]=_0xfe82x21;this[_0x55e6[64]]=_0xfe82x25}Dialog[_0x55e6[66]][_0x55e6[65]]=function(){if(this[_0x55e6[63]]!=null){this[_0x55e6[63]]();this[_0x55e6[63]]=null};this[_0x55e6[64]][_0x55e6[68]][_0x55e6[67]](this[_0x55e6[64]]);this[_0x55e6[59]][_0x55e6[68]][_0x55e6[67]](this[_0x55e6[59]])};function ImportDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[75])+_0x55e6[77]);var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[82]);var _0xfe82x30=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x30[_0x55e6[53]][_0x55e6[84]]=_0x55e6[85];_0xfe82x30[_0x55e6[53]][_0x55e6[86]]=_0x55e6[87];var _0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[3]]=_0x55e6[88];_0xfe82x3[_0x55e6[5]](_0x55e6[89],_0x55e6[90]);_0xfe82x3[_0x55e6[100]](_0x55e6[91],function _0xfe82x31(_0xfe82x32){var _0xfe82x33=_0xfe82x32[_0x55e6[93]][_0x55e6[92]][0];console[_0x55e6[94]](_0xfe82x33);if(_0xfe82x33){if(_0xfe82x33[_0x55e6[3]]===_0x55e6[90]){var _0xfe82x34= new FileReader();_0xfe82x34[_0x55e6[95]]=function(_0xfe82x35){var _0xfe82x36=_0xfe82x35[_0x55e6[93]][_0x55e6[96]];mxUtils[_0x55e6[78]](_0xfe82x30,_0xfe82x36)};_0xfe82x34[_0x55e6[97]](_0xfe82x33)}else {alert(_0x55e6[98])}}else {alert(_0x55e6[99])}},false);_0xfe82x2f[_0x55e6[25]](_0xfe82x3);_0xfe82x2f[_0x55e6[25]](_0xfe82x30);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[75]),mxUtils[_0x55e6[103]](this,function(_0xfe82x38){var _0xfe82x39=mxUtils[_0x55e6[101]](_0xfe82x30[_0x55e6[23]]);_0xfe82x8[_0x55e6[13]][_0x55e6[102]](_0xfe82x39[_0x55e6[48]]);_0xfe82x8[_0x55e6[79]]()}));_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function AboutDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[107])+_0x55e6[108]);var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x3c=document[_0x55e6[2]](_0x55e6[109]);_0xfe82x3c[_0x55e6[53]][_0x55e6[110]]=_0x55e6[111];_0xfe82x3c[_0x55e6[5]](_0x55e6[84],_0x55e6[112]);_0xfe82x3c[_0x55e6[5]](_0x55e6[84],_0x55e6[113]);_0xfe82x3c[_0x55e6[5]](_0x55e6[114],IMAGE_PATH+_0x55e6[115]);_0xfe82x2a[_0x55e6[25]](_0xfe82x3c);mxUtils[_0x55e6[116]](_0xfe82x2a);mxUtils[_0x55e6[78]](_0xfe82x2a,_0x55e6[117]+mxClient[_0x55e6[118]]);mxUtils[_0x55e6[116]](_0xfe82x2a);var _0xfe82x3d=document[_0x55e6[2]](_0x55e6[119]);_0xfe82x3d[_0x55e6[5]](_0x55e6[120],_0x55e6[121]);_0xfe82x3d[_0x55e6[5]](_0x55e6[93],_0x55e6[122]);mxUtils[_0x55e6[78]](_0xfe82x3d,_0x55e6[123]);_0xfe82x2a[_0x55e6[25]](_0xfe82x3d);mxUtils[_0x55e6[116]](_0xfe82x2a);mxUtils[_0x55e6[116]](_0xfe82x2a);var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[65]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function SaveDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[124]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x3f=_0x55e6[125];var _0xfe82x40=_0x55e6[126]+_0xfe82x3f;var _0xfe82x2=_0xfe82x8[_0x55e6[13]][_0x55e6[127]]();var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[128]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[129]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[131];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0xfe82x3f));_0xfe82x2f[_0x55e6[25]](_0xfe82x42);var _0xfe82x43=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x43[_0x55e6[5]](_0x55e6[23],_0xfe82x2+_0x55e6[132]);_0xfe82x43[_0x55e6[5]](_0x55e6[133],_0xfe82x40);_0xfe82x43[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x43);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2e[_0x55e6[25]](_0xfe82x41);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[135]),function(){_0xfe82x8[_0x55e6[124]](_0xfe82x43[_0x55e6[23]]);_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function NewDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[136]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x3f=_0x55e6[125];var _0xfe82x40=_0x55e6[126]+_0xfe82x3f;var _0xfe82x2=_0xfe82x8[_0x55e6[13]][_0x55e6[127]]();var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[128]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[129]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[131];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0xfe82x3f));_0xfe82x2f[_0x55e6[25]](_0xfe82x42);var _0xfe82x43=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x43[_0x55e6[5]](_0x55e6[23],_0xfe82x2+_0x55e6[137]);_0xfe82x43[_0x55e6[5]](_0x55e6[133],_0xfe82x40);_0xfe82x43[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x43);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2e[_0x55e6[25]](_0xfe82x41);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[136]),function(){_0xfe82x8[_0x55e6[136]](_0xfe82x43[_0x55e6[23]]);_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function VariableDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[138]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x3f=_0x55e6[125];var _0xfe82x40=_0x55e6[126]+_0xfe82x3f;var _0xfe82x2=_0xfe82x8[_0x55e6[13]][_0x55e6[127]]();var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[128]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[129]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[131];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0xfe82x3f));_0xfe82x2f[_0x55e6[25]](_0xfe82x42);var _0xfe82x43=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x43[_0x55e6[5]](_0x55e6[23],_0x55e6[139]);_0xfe82x43[_0x55e6[5]](_0x55e6[133],_0xfe82x40);_0xfe82x43[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x43);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2e[_0x55e6[25]](_0xfe82x41);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[136]),function(){_0xfe82x8[_0x55e6[138]](_0xfe82x43[_0x55e6[23]]);_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function OpenDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[8]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[128]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[129]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[131];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0x55e6[125]));_0xfe82x2f[_0x55e6[25]](_0xfe82x42);var _0xfe82xb= new XMLHttpRequest();_0xfe82xb[_0x55e6[8]](_0x55e6[7],_0x55e6[140],false);_0xfe82xb[_0x55e6[14]](_0x55e6[9],_0x55e6[10]+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[11]]);_0xfe82xb[_0x55e6[15]](null);var _0xfe82xc=[];if(_0xfe82xb[_0x55e6[16]]===200){_0xfe82xc=JSON[_0x55e6[18]](_0xfe82xb[_0x55e6[17]])[_0x55e6[30]]};var _0xfe82x43=document[_0x55e6[2]](_0x55e6[19]);for(var _0xfe82x47=0;_0xfe82x47<_0xfe82xc[_0x55e6[141]];_0xfe82x47++){var _0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0xfe82xc[_0xfe82x47][_0x55e6[125]];_0xfe82xd[_0x55e6[23]]=_0xfe82xc[_0xfe82x47][_0x55e6[133]];_0xfe82x43[_0x55e6[25]](_0xfe82xd)};_0xfe82x43[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x43);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2e[_0x55e6[25]](_0xfe82x41);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[8]),function(){console[_0x55e6[94]](_0xfe82x43);console[_0x55e6[94]](_0xfe82x43[_0x55e6[23]]);window[_0x55e6[8]](_0x55e6[142]+_0xfe82x43[_0x55e6[23]],_0x55e6[122]);_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function RenameDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[143]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[128]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[129]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[131];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0x55e6[125]));_0xfe82x2f[_0x55e6[25]](_0xfe82x42);var _0xfe82x3f=_0xfe82x8[_0x55e6[13]][_0x55e6[144]];var _0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x3f);_0xfe82x3[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x3);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2e[_0x55e6[25]](_0xfe82x41);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[135]),function(){var _0xfe82xb= new XMLHttpRequest();_0xfe82xb[_0x55e6[8]](_0x55e6[145],SAVE_URL+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[133]],true);_0xfe82xb[_0x55e6[14]](_0x55e6[146],_0x55e6[147]);_0xfe82xb[_0x55e6[14]](_0x55e6[9],_0x55e6[10]+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[11]]);_0xfe82xb[_0x55e6[15]](_0x55e6[148]+_0xfe82x3[_0x55e6[23]]);_0xfe82xb[_0x55e6[95]]=function(_0xfe82x35){if(_0xfe82xb[_0x55e6[16]]===200){_0xfe82x8[_0x55e6[13]][_0x55e6[150]](_0x55e6[149]);_0xfe82x8[_0x55e6[13]][_0x55e6[144]]=_0xfe82x3[_0x55e6[23]]}else {_0xfe82x8[_0x55e6[13]][_0x55e6[150]](JSON[_0x55e6[18]](_0xfe82xb[_0x55e6[17]])[_0x55e6[152]][0][_0x55e6[151]])}};_0xfe82xb[_0x55e6[153]]=function(_0xfe82x35){mxUtils[_0x55e6[155]](_0xfe82xb[_0x55e6[154]])};_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function EditFileDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[71]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[156]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x2e=_0xfe82x8[_0x55e6[50]](_0x55e6[81]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[82]);var _0xfe82x30=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x30[_0x55e6[53]][_0x55e6[84]]=_0x55e6[85];_0xfe82x30[_0x55e6[53]][_0x55e6[86]]=_0x55e6[87];_0xfe82x30[_0x55e6[23]]=mxUtils[_0x55e6[158]](_0xfe82x8[_0x55e6[13]][_0x55e6[157]]());if(fileSupport){function _0xfe82x4a(_0xfe82x32){_0xfe82x32[_0x55e6[159]]();_0xfe82x32[_0x55e6[160]]();if(_0xfe82x32[_0x55e6[161]][_0x55e6[92]][_0x55e6[141]]>0){var _0xfe82x4b=_0xfe82x32[_0x55e6[161]][_0x55e6[92]][0];var _0xfe82x4c= new FileReader();_0xfe82x4c[_0x55e6[95]]=function(_0xfe82x35){_0xfe82x30[_0x55e6[23]]=_0xfe82x35[_0x55e6[93]][_0x55e6[96]]};_0xfe82x4c[_0x55e6[97]](_0xfe82x4b)}}function _0xfe82x4d(_0xfe82x32){_0xfe82x32[_0x55e6[159]]();_0xfe82x32[_0x55e6[160]]()}_0xfe82x30[_0x55e6[100]](_0x55e6[162],_0xfe82x4d,false);_0xfe82x30[_0x55e6[100]](_0x55e6[163],_0xfe82x4a,false)};_0xfe82x2f[_0x55e6[25]](_0xfe82x30);_0xfe82x2e[_0x55e6[25]](_0xfe82x2f);_0xfe82x2a[_0x55e6[25]](_0xfe82x2e);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[135]),function(){var _0xfe82x39=mxUtils[_0x55e6[101]](_0xfe82x30[_0x55e6[23]]);_0xfe82x8[_0x55e6[13]][_0x55e6[102]](_0xfe82x39[_0x55e6[48]]);_0xfe82x8[_0x55e6[79]]()});_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function ExportDialog(_0xfe82x8){var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[164]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[165])+_0x55e6[77]);var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x4f=_0xfe82x8[_0x55e6[50]](_0x55e6[166]);var _0xfe82x50=_0xfe82x8[_0x55e6[50]](_0x55e6[167]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[168];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0x55e6[144]));var _0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x8[_0x55e6[13]][_0x55e6[127]]());_0xfe82x3[_0x55e6[31]]=_0x55e6[134];var _0xfe82x25=_0xfe82x8[_0x55e6[50]](_0x55e6[169]);_0xfe82x25[_0x55e6[25]](_0xfe82x3);_0xfe82x50[_0x55e6[25]](_0xfe82x42);_0xfe82x50[_0x55e6[25]](_0xfe82x25);_0xfe82x4f[_0x55e6[25]](_0xfe82x50);_0xfe82x2a[_0x55e6[25]](_0xfe82x4f);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[165]),mxUtils[_0x55e6[103]](this,function(_0xfe82x38){_0xfe82x8[_0x55e6[135]](false);var _0xfe82x51=encodeURIComponent(mxUtils[_0x55e6[170]](_0xfe82x8[_0x55e6[13]][_0x55e6[157]]())); new mxXmlRequest(SAVE_URL+_0xfe82x8[_0x55e6[13]][_0x55e6[12]][_0x55e6[133]]+_0x55e6[172],_0x55e6[173]+_0xfe82x3[_0x55e6[23]],_0x55e6[7])[_0x55e6[171]](document,_0x55e6[122]);_0xfe82x8[_0x55e6[79]]()}));_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function GeneralDialog(_0xfe82x8,_0xfe82x53){var _0xfe82x54=_0xfe82x8[_0x55e6[13]][_0x55e6[174]];var _0xfe82x28=_0xfe82x8[_0x55e6[50]](_0x55e6[69]);var _0xfe82x29=_0xfe82x8[_0x55e6[50]](_0x55e6[70]);var _0xfe82x2a=_0xfe82x8[_0x55e6[50]](_0x55e6[175]);var _0xfe82x2b=_0xfe82x8[_0x55e6[50]](_0x55e6[72]);var _0xfe82x2c=_0xfe82x8[_0x55e6[74]](_0x55e6[73]);mxUtils[_0x55e6[78]](_0xfe82x2c,mxResources[_0x55e6[76]](_0x55e6[156])+_0x55e6[176]+mxResources[_0x55e6[76]](_0xfe82x53[_0x55e6[23]][_0x55e6[177]]));var _0xfe82x2d=mxUtils[_0x55e6[80]](_0x55e6[40],function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x2d[_0x55e6[31]]=_0x55e6[65];_0xfe82x29[_0x55e6[25]](_0xfe82x2d);_0xfe82x29[_0x55e6[25]](_0xfe82x2c);var _0xfe82x55=_0xfe82x8[_0x55e6[50]](_0x55e6[166]);_0xfe82x55[_0x55e6[5]](_0x55e6[133],_0x55e6[178]);var _0xfe82x56=_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0x55e6[141]];var _0xfe82x4f=_0xfe82x8[_0x55e6[50]](_0x55e6[166]);for(var _0xfe82x57=0;_0xfe82x57<_0xfe82x56;_0xfe82x57++){var _0xfe82x3f=_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0xfe82x57][_0x55e6[125]];var _0xfe82x40=_0x55e6[126]+_0xfe82x3f;var _0xfe82x2=_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0xfe82x57][_0x55e6[23]];console[_0x55e6[94]](_0xfe82x3f);var _0xfe82x50=_0xfe82x8[_0x55e6[50]]((_0xfe82x57==_0xfe82x56-1)?_0x55e6[167]:_0x55e6[180]);var _0xfe82x42=document[_0x55e6[2]](_0x55e6[130]);_0xfe82x42[_0x55e6[31]]=_0x55e6[168];mxUtils[_0x55e6[78]](_0xfe82x42,mxResources[_0x55e6[76]](_0xfe82x3f));_0xfe82x50[_0x55e6[25]](_0xfe82x42);var _0xfe82x3;switch(_0xfe82x3f){case _0x55e6[133]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x2=_0xfe82x53[_0x55e6[133]];_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x2);_0xfe82x3[_0x55e6[5]](_0x55e6[181],true);_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break;case _0x55e6[187]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[3],_0x55e6[80]);_0xfe82x3[_0x55e6[182]]=function(){if(this[_0x55e6[23]]==_0x55e6[183]){this[_0x55e6[5]](_0x55e6[23],_0x55e6[184]);this[_0x55e6[31]]=_0x55e6[185]}else {this[_0x55e6[31]]=_0x55e6[186];this[_0x55e6[5]](_0x55e6[23],_0x55e6[183])}};_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x2);_0xfe82x3[_0x55e6[31]]=(_0xfe82x2==_0x55e6[183]?_0x55e6[186]:_0x55e6[185]);break;case _0x55e6[21]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x3[_0x55e6[188]]=_0xfe82x2;_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break;case _0x55e6[189]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x3[_0x55e6[188]]=_0xfe82x2;_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break;case _0x55e6[190]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x3[_0x55e6[188]]=_0xfe82x2;_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break;case _0x55e6[193]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x2);_0xfe82x3[_0x55e6[5]](_0x55e6[191],_0x55e6[192]);_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break;case _0x55e6[195]:_0xfe82x3=createDropdownFromApi(_0x55e6[194],_0xfe82x2,_0x55e6[125],_0x55e6[133],_0xfe82x8);break;case _0x55e6[198]:_0xfe82x3=document[_0x55e6[2]](_0x55e6[83]);_0xfe82x3[_0x55e6[188]]=_0xfe82x2;_0xfe82x3[_0x55e6[31]]=_0x55e6[134];_0xfe82x3[_0x55e6[5]](_0x55e6[196],_0x55e6[197]);break;case _0x55e6[201]:var _0xfe82x3=mxUtils[_0x55e6[80]](_0x55e6[199],function(){var _0xfe82x58=createDynamicInput(null,null,_0xfe82x8);_0xfe82x55[_0x55e6[25]](_0xfe82x58);_0xfe82x2a[_0x55e6[25]](_0xfe82x55)});_0xfe82x3[_0x55e6[31]]=_0x55e6[200];break;default:_0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[23],_0xfe82x2);_0xfe82x3[_0x55e6[31]]=_0x55e6[134];break};_0xfe82x3[_0x55e6[5]](_0x55e6[133],_0xfe82x40);var _0xfe82x25=_0xfe82x8[_0x55e6[50]](_0x55e6[169]);_0xfe82x25[_0x55e6[25]](_0xfe82x3);if(mxResources[_0x55e6[76]](_0x55e6[202]+_0xfe82x3f)){var _0xfe82x59=_0xfe82x8[_0x55e6[50]](_0x55e6[203]);_0xfe82x59[_0x55e6[31]]=_0x55e6[204];mxUtils[_0x55e6[78]](_0xfe82x59,mxResources[_0x55e6[76]](_0x55e6[202]+_0xfe82x3f));_0xfe82x25[_0x55e6[25]](_0xfe82x59)};_0xfe82x50[_0x55e6[25]](_0xfe82x25);_0xfe82x4f[_0x55e6[25]](_0xfe82x50)};_0xfe82x2a[_0x55e6[25]](_0xfe82x4f);if(_0xfe82x53[_0x55e6[23]][_0x55e6[177]]==_0x55e6[1]){if(_0xfe82x53[_0x55e6[205]]){for(var _0xfe82x47=0;_0xfe82x47<_0xfe82x53[_0x55e6[205]][_0x55e6[141]];_0xfe82x47++){var _0xfe82x5a=_0x55e6[40];var _0xfe82x5b=_0x55e6[40];_[_0x55e6[28]](_0xfe82x53[_0x55e6[205]][_0xfe82x47][_0x55e6[23]][_0x55e6[179]],function(_0xfe82x5c){if(_0xfe82x5c[_0x55e6[125]]==_0x55e6[3]){_0xfe82x5a=_0xfe82x5c[_0x55e6[23]]}else {if(_0xfe82x5c[_0x55e6[125]]==_0x55e6[130]){_0xfe82x5b=_0xfe82x5c[_0x55e6[23]]}}});var _0xfe82x58=createDynamicInput(_0xfe82x5a,_0xfe82x5b,_0xfe82x8);_0xfe82x55[_0x55e6[25]](_0xfe82x58)}}};_0xfe82x2a[_0x55e6[25]](_0xfe82x55);var _0xfe82x37=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[135]),mxUtils[_0x55e6[103]](this,function(_0xfe82x38){for(var _0xfe82x57=0;_0xfe82x57<_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0x55e6[141]];_0xfe82x57++){var _0xfe82x40=_0x55e6[126]+_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0xfe82x57][_0x55e6[125]];var _0xfe82x3f=_0xfe82x53[_0x55e6[23]][_0x55e6[179]][_0xfe82x57][_0x55e6[125]];console[_0x55e6[94]](_0xfe82x3f);_0xfe82x53[_0x55e6[5]](_0xfe82x3f,document[_0x55e6[206]](_0xfe82x40)[_0x55e6[23]]);console[_0x55e6[94]](document[_0x55e6[206]](_0xfe82x40)[_0x55e6[23]])};if(_0xfe82x53[_0x55e6[23]][_0x55e6[177]]==_0x55e6[1]){if(_0xfe82x54[_0x55e6[208]][_0x55e6[207]](_0xfe82x53)){_0xfe82x53[_0x55e6[205]]=[]};if(document[_0x55e6[206]](_0x55e6[178])){var _0xfe82x55=document[_0x55e6[206]](_0x55e6[178])[_0x55e6[205]];for(var _0xfe82x47=0;_0xfe82x47<_0xfe82x55[_0x55e6[141]];_0xfe82x47++){var _0xfe82x5d=_0xfe82x55[_0xfe82x47][_0x55e6[205]][1];var _0xfe82x5e=_0xfe82x55[_0xfe82x47][_0x55e6[205]][0];var _0xfe82x39=mxUtils[_0x55e6[209]]();var _0xfe82x5f=_0xfe82x39[_0x55e6[2]](_0x55e6[178]);_0xfe82x5f[_0x55e6[5]](_0x55e6[3],_0xfe82x55[_0xfe82x47][_0x55e6[210]](_0x55e6[19])[0][_0x55e6[23]]);_0xfe82x5f[_0x55e6[5]](_0x55e6[130],_0xfe82x55[_0xfe82x47][_0x55e6[210]](_0x55e6[1])[0][_0x55e6[23]]);var _0xfe82x60= new mxCell(_0xfe82x5f);_0xfe82x54[_0x55e6[208]][_0x55e6[201]](_0xfe82x53,_0xfe82x60)}}};_0xfe82x54[_0x55e6[211]](_0xfe82x53);_0xfe82x8[_0x55e6[79]]()}));_0xfe82x37[_0x55e6[31]]=_0x55e6[104];var _0xfe82x3a=mxUtils[_0x55e6[80]](mxResources[_0x55e6[76]](_0x55e6[105]),function(){_0xfe82x8[_0x55e6[79]]()});_0xfe82x3a[_0x55e6[31]]=_0x55e6[106];_0xfe82x2b[_0x55e6[25]](_0xfe82x37);_0xfe82x2b[_0x55e6[25]](_0xfe82x3a);_0xfe82x28[_0x55e6[25]](_0xfe82x29);_0xfe82x28[_0x55e6[25]](_0xfe82x2a);_0xfe82x28[_0x55e6[25]](_0xfe82x2b);this[_0x55e6[64]]=_0xfe82x28}function createDynamicInput(_0xfe82x5a,_0xfe82x5b,_0xfe82x8){var _0xfe82x58=_0xfe82x8[_0x55e6[50]](_0x55e6[180]);var _0xfe82x2f=_0xfe82x8[_0x55e6[50]](_0x55e6[212]);var _0xfe82x41=_0xfe82x8[_0x55e6[50]](_0x55e6[212]);var _0xfe82x62=_0xfe82x8[_0x55e6[50]](_0x55e6[213]);var _0xfe82x3=document[_0x55e6[2]](_0x55e6[1]);_0xfe82x3[_0x55e6[5]](_0x55e6[191],_0x55e6[214]);_0xfe82x3[_0x55e6[23]]=_0xfe82x5b;_0xfe82x3[_0x55e6[31]]=_0x55e6[134];_0xfe82x2f[_0x55e6[25]](_0xfe82x3);var _0xfe82x43=document[_0x55e6[2]](_0x55e6[19]);var _0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0x55e6[22];_0xfe82xd[_0x55e6[23]]=_0x55e6[40];_0xfe82x43[_0x55e6[25]](_0xfe82xd);var _0xfe82x13=[_0x55e6[21],_0x55e6[215],_0x55e6[83],_0x55e6[4]];_0xfe82x13[_0x55e6[28]](function(_0xfe82xe){_0xfe82xd=document[_0x55e6[2]](_0x55e6[20]);_0xfe82xd[_0x55e6[21]]=_0xfe82xe;_0xfe82xd[_0x55e6[23]]=_0xfe82xe;_0xfe82xd[_0x55e6[29]]=(_0xfe82xe==_0xfe82x5a);_0xfe82x43[_0x55e6[25]](_0xfe82xd)});_0xfe82x43[_0x55e6[31]]=_0x55e6[134];_0xfe82x41[_0x55e6[25]](_0xfe82x43);var _0xfe82x63=mxUtils[_0x55e6[80]](_0x55e6[216],function(){var _0xfe82x64=_0xfe82x63[_0x55e6[217]];var _0xfe82x65=_0xfe82x64[_0x55e6[217]];document[_0x55e6[206]](_0x55e6[178])[_0x55e6[67]](_0xfe82x65)});_0xfe82x63[_0x55e6[31]]=_0x55e6[218];_0xfe82x62[_0x55e6[25]](_0xfe82x63);_0xfe82x58[_0x55e6[25]](_0xfe82x2f);_0xfe82x58[_0x55e6[25]](_0xfe82x41);_0xfe82x58[_0x55e6[25]](_0xfe82x62);return _0xfe82x58} \ No newline at end of file +var _0xf501=["\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"];_0xf501[0];function createCheckbox(_0x8eb2x2){var _0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[3],_0xf501[4]);if(_0x8eb2x2){_0x8eb2x3[_0xf501[5]](_0xf501[6],true)};return _0x8eb2x3}function createDropdownFromApi(_0x8eb2x5,_0x8eb2x2,_0x8eb2x6,_0x8eb2x7,_0x8eb2x8,_0x8eb2x9,_0x8eb2xa){var _0x8eb2xb= new XMLHttpRequest();_0x8eb2xb[_0xf501[8]](_0xf501[7],_0x8eb2x5,false);_0x8eb2xb[_0xf501[14]](_0xf501[9],_0xf501[10]+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[11]]);_0x8eb2xb[_0xf501[15]](null);var _0x8eb2xc=[];if(_0x8eb2xb[_0xf501[16]]===200){_0x8eb2xc=JSON[_0xf501[18]](_0x8eb2xb[_0xf501[17]])};var _0x8eb2x3=document[_0xf501[2]](_0xf501[19]);var _0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0xf501[22];_0x8eb2xd[_0xf501[23]]=_0xf501[24];_0x8eb2x3[_0xf501[25]](_0x8eb2xd);_0x8eb2xc[_0xf501[30]][_0xf501[28]](function(_0x8eb2xe){_0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0x8eb2xe[_0x8eb2x6];if(_0x8eb2x9&&_0x8eb2xa){_0x8eb2x9[_0xf501[28]](function(_0x8eb2xf){_0x8eb2xa=_0x8eb2xa[_0xf501[27]](_0xf501[26]+_0x8eb2xf+_0xf501[26],_0x8eb2xe[_0x8eb2xf])});_0x8eb2xd[_0xf501[23]]=_0x8eb2xa;_0x8eb2xd[_0xf501[29]]=(_0x8eb2xa==_0x8eb2x2)}else {_0x8eb2xd[_0xf501[23]]=_0x8eb2xe[_0x8eb2x7];_0x8eb2xd[_0xf501[29]]=(_0x8eb2xe[_0x8eb2x7]==_0x8eb2x2)};_0x8eb2x3[_0xf501[25]](_0x8eb2xd)});_0x8eb2x3[_0xf501[31]]=_0xf501[32];return _0x8eb2x3}function createGroupedDropdownFromApi(_0x8eb2x5,_0x8eb2x2,_0x8eb2x6,_0x8eb2x7,_0x8eb2x8,_0x8eb2x11,_0x8eb2x12){var _0x8eb2xb= new XMLHttpRequest();_0x8eb2xb[_0xf501[8]](_0xf501[7],_0x8eb2x5,false);_0x8eb2xb[_0xf501[14]](_0xf501[9],_0xf501[10]+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[11]]);_0x8eb2xb[_0xf501[15]](null);var _0x8eb2xc=[];if(_0x8eb2xb[_0xf501[16]]===200){_0x8eb2xc=JSON[_0xf501[18]](_0x8eb2xb[_0xf501[17]])};var _0x8eb2x3=document[_0xf501[2]](_0xf501[19]);var _0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0xf501[22];_0x8eb2xd[_0xf501[23]]=_0xf501[33];_0x8eb2x3[_0xf501[25]](_0x8eb2xd);var _0x8eb2x13=_0x8eb2x11?_0x8eb2xc[_0xf501[30]]:_0x8eb2xc;var _0x8eb2x14={};var _0x8eb2x15={};_0x8eb2x14[_0x8eb2x12]=null;var _0x8eb2x16=_[_0xf501[34]](_0x8eb2x13,_0x8eb2x14);var _0x8eb2x17={};_0x8eb2x16[_0xf501[28]](function(_0x8eb2xe){_0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[31]]=_0xf501[35];_0x8eb2xd[_0xf501[21]]=_0x8eb2xe[_0x8eb2x6][_0xf501[36]]();_0x8eb2xd[_0xf501[23]]=_0x8eb2xe[_0x8eb2x7];_0x8eb2xd[_0xf501[29]]=(_0x8eb2xe[_0x8eb2x7]==_0x8eb2x2);_0x8eb2x3[_0xf501[25]](_0x8eb2xd);_0x8eb2x15[_0x8eb2x12]=_0x8eb2xe[_0x8eb2x7];_0x8eb2x17=_[_0xf501[34]](_0x8eb2x13,_0x8eb2x15);_0x8eb2x17[_0xf501[28]](function(_0x8eb2xe){_0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[31]]=_0xf501[37];_0x8eb2xd[_0xf501[21]]=_0xf501[38]+_[_0xf501[39]](_0x8eb2xe[_0x8eb2x6]);_0x8eb2xd[_0xf501[23]]=_0x8eb2xe[_0x8eb2x7];_0x8eb2xd[_0xf501[29]]=(_0x8eb2xe[_0x8eb2x7]==_0x8eb2x2);_0x8eb2x3[_0xf501[25]](_0x8eb2xd)})});_0x8eb2x3[_0xf501[31]]=_0xf501[32];return _0x8eb2x3}function createDropdownFromArray(_0x8eb2x19,_0x8eb2x2){var _0x8eb2x3=document[_0xf501[2]](_0xf501[19]);for(var _0x8eb2x1a in _0x8eb2x19){var _0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0x8eb2x19[_0x8eb2x1a];_0x8eb2xd[_0xf501[23]]=_0x8eb2x1a;if(_0x8eb2x2>0||_0x8eb2x2!=_0xf501[40]){_0x8eb2xd[_0xf501[29]]=(_0x8eb2x2===_0x8eb2x1a)?true:false};_0x8eb2x3[_0xf501[25]](_0x8eb2xd)};_0x8eb2x3[_0xf501[31]]=_0xf501[32];return _0x8eb2x3}function Dialog(_0x8eb2x8,_0x8eb2x1c,_0x8eb2x1d,_0x8eb2x1e,_0x8eb2x1f,_0x8eb2x20,_0x8eb2x21){var _0x8eb2x22=0;if(mxClient[_0xf501[41]]&&document[_0xf501[42]]!=9){_0x8eb2x22=60};_0x8eb2x1d+=_0x8eb2x22;_0x8eb2x1e+=_0x8eb2x22;var _0x8eb2x23=Math[_0xf501[46]](0,Math[_0xf501[45]]((document[_0xf501[44]][_0xf501[43]]-_0x8eb2x1d)/2));var _0x8eb2x24=Math[_0xf501[46]](0,Math[_0xf501[45]]((Math[_0xf501[46]](document[_0xf501[44]][_0xf501[47]],document[_0xf501[48]][_0xf501[47]])-_0x8eb2x1e)/3));var _0x8eb2x25=_0x8eb2x8[_0xf501[50]](_0xf501[49]);_0x8eb2x25[_0xf501[31]]=_0xf501[51];_0x8eb2x25[_0xf501[53]][_0xf501[52]]=_0xf501[54];_0x8eb2x25[_0xf501[53]][_0xf501[55]]=_0xf501[56];var _0x8eb2x26=_0x8eb2x8[_0xf501[50]](_0xf501[57]);_0x8eb2x26[_0xf501[31]]=_0xf501[58];_0x8eb2x26[_0xf501[25]](_0x8eb2x1c);_0x8eb2x25[_0xf501[25]](_0x8eb2x26);if(this[_0xf501[59]]==null){this[_0xf501[59]]=_0x8eb2x8[_0xf501[50]](_0xf501[60]);this[_0xf501[59]][_0xf501[31]]=_0xf501[61];if(mxClient[_0xf501[62]]){ new mxDivResizer(this[_0xf501[59]])}};if(_0x8eb2x1f){document[_0xf501[44]][_0xf501[25]](this[_0xf501[59]])};document[_0xf501[44]][_0xf501[25]](_0x8eb2x25);this[_0xf501[63]]=_0x8eb2x21;this[_0xf501[64]]=_0x8eb2x25}Dialog[_0xf501[66]][_0xf501[65]]=function(){if(this[_0xf501[63]]!=null){this[_0xf501[63]]();this[_0xf501[63]]=null};this[_0xf501[64]][_0xf501[68]][_0xf501[67]](this[_0xf501[64]]);this[_0xf501[59]][_0xf501[68]][_0xf501[67]](this[_0xf501[59]])};function ImportDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[75])+_0xf501[77]);var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[82]);var _0x8eb2x30=document[_0xf501[2]](_0xf501[83]);_0x8eb2x30[_0xf501[53]][_0xf501[84]]=_0xf501[85];_0x8eb2x30[_0xf501[53]][_0xf501[86]]=_0xf501[87];var _0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[3]]=_0xf501[88];_0x8eb2x3[_0xf501[5]](_0xf501[89],_0xf501[90]);_0x8eb2x3[_0xf501[100]](_0xf501[91],function _0x8eb2x31(_0x8eb2x32){var _0x8eb2x33=_0x8eb2x32[_0xf501[93]][_0xf501[92]][0];console[_0xf501[94]](_0x8eb2x33);if(_0x8eb2x33){if(_0x8eb2x33[_0xf501[3]]===_0xf501[90]){var _0x8eb2x34= new FileReader();_0x8eb2x34[_0xf501[95]]=function(_0x8eb2x35){var _0x8eb2x36=_0x8eb2x35[_0xf501[93]][_0xf501[96]];mxUtils[_0xf501[78]](_0x8eb2x30,_0x8eb2x36)};_0x8eb2x34[_0xf501[97]](_0x8eb2x33)}else {alert(_0xf501[98])}}else {alert(_0xf501[99])}},false);_0x8eb2x2f[_0xf501[25]](_0x8eb2x3);_0x8eb2x2f[_0xf501[25]](_0x8eb2x30);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[75]),mxUtils[_0xf501[103]](this,function(_0x8eb2x38){var _0x8eb2x39=mxUtils[_0xf501[101]](_0x8eb2x30[_0xf501[23]]);_0x8eb2x8[_0xf501[13]][_0xf501[102]](_0x8eb2x39[_0xf501[48]]);_0x8eb2x8[_0xf501[79]]()}));_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function AboutDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[107])+_0xf501[108]);var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x3c=document[_0xf501[2]](_0xf501[109]);_0x8eb2x3c[_0xf501[53]][_0xf501[110]]=_0xf501[111];_0x8eb2x3c[_0xf501[5]](_0xf501[84],_0xf501[112]);_0x8eb2x3c[_0xf501[5]](_0xf501[84],_0xf501[113]);_0x8eb2x3c[_0xf501[5]](_0xf501[114],IMAGE_PATH+_0xf501[115]);_0x8eb2x2a[_0xf501[25]](_0x8eb2x3c);mxUtils[_0xf501[116]](_0x8eb2x2a);mxUtils[_0xf501[78]](_0x8eb2x2a,_0xf501[117]+mxClient[_0xf501[118]]);mxUtils[_0xf501[116]](_0x8eb2x2a);var _0x8eb2x3d=document[_0xf501[2]](_0xf501[119]);_0x8eb2x3d[_0xf501[5]](_0xf501[120],_0xf501[121]);_0x8eb2x3d[_0xf501[5]](_0xf501[93],_0xf501[122]);mxUtils[_0xf501[78]](_0x8eb2x3d,_0xf501[123]);_0x8eb2x2a[_0xf501[25]](_0x8eb2x3d);mxUtils[_0xf501[116]](_0x8eb2x2a);mxUtils[_0xf501[116]](_0x8eb2x2a);var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[65]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function SaveDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[124]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x3f=_0xf501[125];var _0x8eb2x40=_0xf501[126]+_0x8eb2x3f;var _0x8eb2x2=_0x8eb2x8[_0xf501[13]][_0xf501[127]]();var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[128]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[129]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[131];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0x8eb2x3f));_0x8eb2x2f[_0xf501[25]](_0x8eb2x42);var _0x8eb2x43=document[_0xf501[2]](_0xf501[1]);_0x8eb2x43[_0xf501[5]](_0xf501[23],_0x8eb2x2+_0xf501[132]);_0x8eb2x43[_0xf501[5]](_0xf501[133],_0x8eb2x40);_0x8eb2x43[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x43);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2e[_0xf501[25]](_0x8eb2x41);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[135]),function(){_0x8eb2x8[_0xf501[124]](_0x8eb2x43[_0xf501[23]]);_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function NewDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[136]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x3f=_0xf501[125];var _0x8eb2x40=_0xf501[126]+_0x8eb2x3f;var _0x8eb2x2=_0x8eb2x8[_0xf501[13]][_0xf501[127]]();var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[128]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[129]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[131];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0x8eb2x3f));_0x8eb2x2f[_0xf501[25]](_0x8eb2x42);var _0x8eb2x43=document[_0xf501[2]](_0xf501[1]);_0x8eb2x43[_0xf501[5]](_0xf501[23],_0x8eb2x2+_0xf501[137]);_0x8eb2x43[_0xf501[5]](_0xf501[133],_0x8eb2x40);_0x8eb2x43[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x43);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2e[_0xf501[25]](_0x8eb2x41);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[136]),function(){_0x8eb2x8[_0xf501[136]](_0x8eb2x43[_0xf501[23]]);_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function VariableDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[138]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x3f=_0xf501[125];var _0x8eb2x40=_0xf501[126]+_0x8eb2x3f;var _0x8eb2x2=_0x8eb2x8[_0xf501[13]][_0xf501[127]]();var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[128]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[129]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[131];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0x8eb2x3f));_0x8eb2x2f[_0xf501[25]](_0x8eb2x42);var _0x8eb2x43=document[_0xf501[2]](_0xf501[1]);_0x8eb2x43[_0xf501[5]](_0xf501[23],_0xf501[139]);_0x8eb2x43[_0xf501[5]](_0xf501[133],_0x8eb2x40);_0x8eb2x43[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x43);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2e[_0xf501[25]](_0x8eb2x41);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[136]),function(){_0x8eb2x8[_0xf501[138]](_0x8eb2x43[_0xf501[23]]);_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function OpenDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[8]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[128]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[129]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[131];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0xf501[125]));_0x8eb2x2f[_0xf501[25]](_0x8eb2x42);var _0x8eb2xb= new XMLHttpRequest();_0x8eb2xb[_0xf501[8]](_0xf501[7],_0xf501[140],false);_0x8eb2xb[_0xf501[14]](_0xf501[9],_0xf501[10]+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[11]]);_0x8eb2xb[_0xf501[15]](null);var _0x8eb2xc=[];if(_0x8eb2xb[_0xf501[16]]===200){_0x8eb2xc=JSON[_0xf501[18]](_0x8eb2xb[_0xf501[17]])[_0xf501[30]]};var _0x8eb2x43=document[_0xf501[2]](_0xf501[19]);for(var _0x8eb2x47=0;_0x8eb2x47<_0x8eb2xc[_0xf501[141]];_0x8eb2x47++){var _0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0x8eb2xc[_0x8eb2x47][_0xf501[125]];_0x8eb2xd[_0xf501[23]]=_0x8eb2xc[_0x8eb2x47][_0xf501[133]];_0x8eb2x43[_0xf501[25]](_0x8eb2xd)};_0x8eb2x43[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x43);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2e[_0xf501[25]](_0x8eb2x41);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[8]),function(){console[_0xf501[94]](_0x8eb2x43);console[_0xf501[94]](_0x8eb2x43[_0xf501[23]]);window[_0xf501[8]](_0xf501[142]+_0x8eb2x43[_0xf501[23]],_0xf501[122]);_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function RenameDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[143]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[128]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[129]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[131];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0xf501[125]));_0x8eb2x2f[_0xf501[25]](_0x8eb2x42);var _0x8eb2x3f=_0x8eb2x8[_0xf501[13]][_0xf501[144]];var _0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x3f);_0x8eb2x3[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x3);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2e[_0xf501[25]](_0x8eb2x41);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[135]),function(){var _0x8eb2xb= new XMLHttpRequest();_0x8eb2xb[_0xf501[8]](_0xf501[145],SAVE_URL+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[133]],true);_0x8eb2xb[_0xf501[14]](_0xf501[146],_0xf501[147]);_0x8eb2xb[_0xf501[14]](_0xf501[9],_0xf501[10]+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[11]]);_0x8eb2xb[_0xf501[15]](_0xf501[148]+_0x8eb2x3[_0xf501[23]]);_0x8eb2xb[_0xf501[95]]=function(_0x8eb2x35){if(_0x8eb2xb[_0xf501[16]]===200){_0x8eb2x8[_0xf501[13]][_0xf501[150]](_0xf501[149]);_0x8eb2x8[_0xf501[13]][_0xf501[144]]=_0x8eb2x3[_0xf501[23]]}else {_0x8eb2x8[_0xf501[13]][_0xf501[150]](JSON[_0xf501[18]](_0x8eb2xb[_0xf501[17]])[_0xf501[152]][0][_0xf501[151]])}};_0x8eb2xb[_0xf501[153]]=function(_0x8eb2x35){mxUtils[_0xf501[155]](_0x8eb2xb[_0xf501[154]])};_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function EditFileDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[71]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[156]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x2e=_0x8eb2x8[_0xf501[50]](_0xf501[81]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[82]);var _0x8eb2x30=document[_0xf501[2]](_0xf501[83]);_0x8eb2x30[_0xf501[53]][_0xf501[84]]=_0xf501[85];_0x8eb2x30[_0xf501[53]][_0xf501[86]]=_0xf501[87];_0x8eb2x30[_0xf501[23]]=mxUtils[_0xf501[158]](_0x8eb2x8[_0xf501[13]][_0xf501[157]]());if(fileSupport){function _0x8eb2x4a(_0x8eb2x32){_0x8eb2x32[_0xf501[159]]();_0x8eb2x32[_0xf501[160]]();if(_0x8eb2x32[_0xf501[161]][_0xf501[92]][_0xf501[141]]>0){var _0x8eb2x4b=_0x8eb2x32[_0xf501[161]][_0xf501[92]][0];var _0x8eb2x4c= new FileReader();_0x8eb2x4c[_0xf501[95]]=function(_0x8eb2x35){_0x8eb2x30[_0xf501[23]]=_0x8eb2x35[_0xf501[93]][_0xf501[96]]};_0x8eb2x4c[_0xf501[97]](_0x8eb2x4b)}}function _0x8eb2x4d(_0x8eb2x32){_0x8eb2x32[_0xf501[159]]();_0x8eb2x32[_0xf501[160]]()}_0x8eb2x30[_0xf501[100]](_0xf501[162],_0x8eb2x4d,false);_0x8eb2x30[_0xf501[100]](_0xf501[163],_0x8eb2x4a,false)};_0x8eb2x2f[_0xf501[25]](_0x8eb2x30);_0x8eb2x2e[_0xf501[25]](_0x8eb2x2f);_0x8eb2x2a[_0xf501[25]](_0x8eb2x2e);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[135]),function(){var _0x8eb2x39=mxUtils[_0xf501[101]](_0x8eb2x30[_0xf501[23]]);_0x8eb2x8[_0xf501[13]][_0xf501[102]](_0x8eb2x39[_0xf501[48]]);_0x8eb2x8[_0xf501[79]]()});_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function ExportDialog(_0x8eb2x8){var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[164]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[165])+_0xf501[77]);var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x4f=_0x8eb2x8[_0xf501[50]](_0xf501[166]);var _0x8eb2x50=_0x8eb2x8[_0xf501[50]](_0xf501[167]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[168];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0xf501[144]));var _0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x8[_0xf501[13]][_0xf501[127]]());_0x8eb2x3[_0xf501[31]]=_0xf501[134];var _0x8eb2x25=_0x8eb2x8[_0xf501[50]](_0xf501[169]);_0x8eb2x25[_0xf501[25]](_0x8eb2x3);_0x8eb2x50[_0xf501[25]](_0x8eb2x42);_0x8eb2x50[_0xf501[25]](_0x8eb2x25);_0x8eb2x4f[_0xf501[25]](_0x8eb2x50);_0x8eb2x2a[_0xf501[25]](_0x8eb2x4f);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[165]),mxUtils[_0xf501[103]](this,function(_0x8eb2x38){_0x8eb2x8[_0xf501[135]](false);var _0x8eb2x51=encodeURIComponent(mxUtils[_0xf501[170]](_0x8eb2x8[_0xf501[13]][_0xf501[157]]())); new mxXmlRequest(SAVE_URL+_0x8eb2x8[_0xf501[13]][_0xf501[12]][_0xf501[133]]+_0xf501[172],_0xf501[173]+_0x8eb2x3[_0xf501[23]],_0xf501[7])[_0xf501[171]](document,_0xf501[122]);_0x8eb2x8[_0xf501[79]]()}));_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function GeneralDialog(_0x8eb2x8,_0x8eb2x53){var _0x8eb2x54=_0x8eb2x8[_0xf501[13]][_0xf501[174]];var _0x8eb2x28=_0x8eb2x8[_0xf501[50]](_0xf501[69]);var _0x8eb2x29=_0x8eb2x8[_0xf501[50]](_0xf501[70]);var _0x8eb2x2a=_0x8eb2x8[_0xf501[50]](_0xf501[175]);var _0x8eb2x2b=_0x8eb2x8[_0xf501[50]](_0xf501[72]);var _0x8eb2x2c=_0x8eb2x8[_0xf501[74]](_0xf501[73]);mxUtils[_0xf501[78]](_0x8eb2x2c,mxResources[_0xf501[76]](_0xf501[156])+_0xf501[176]+mxResources[_0xf501[76]](_0x8eb2x53[_0xf501[23]][_0xf501[177]]));var _0x8eb2x2d=mxUtils[_0xf501[80]](_0xf501[40],function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x2d[_0xf501[31]]=_0xf501[65];_0x8eb2x29[_0xf501[25]](_0x8eb2x2d);_0x8eb2x29[_0xf501[25]](_0x8eb2x2c);var _0x8eb2x55=_0x8eb2x8[_0xf501[50]](_0xf501[166]);_0x8eb2x55[_0xf501[5]](_0xf501[133],_0xf501[178]);var _0x8eb2x56=_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0xf501[141]];var _0x8eb2x4f=_0x8eb2x8[_0xf501[50]](_0xf501[166]);for(var _0x8eb2x57=0;_0x8eb2x57<_0x8eb2x56;_0x8eb2x57++){var _0x8eb2x3f=_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0x8eb2x57][_0xf501[125]];var _0x8eb2x40=_0xf501[126]+_0x8eb2x3f;var _0x8eb2x2=_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0x8eb2x57][_0xf501[23]];console[_0xf501[94]](_0x8eb2x3f);var _0x8eb2x50=_0x8eb2x8[_0xf501[50]]((_0x8eb2x57==_0x8eb2x56-1)?_0xf501[167]:_0xf501[180]);var _0x8eb2x42=document[_0xf501[2]](_0xf501[130]);_0x8eb2x42[_0xf501[31]]=_0xf501[168];mxUtils[_0xf501[78]](_0x8eb2x42,mxResources[_0xf501[76]](_0x8eb2x3f));_0x8eb2x50[_0xf501[25]](_0x8eb2x42);var _0x8eb2x3;switch(_0x8eb2x3f){case _0xf501[133]:_0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x2=_0x8eb2x53[_0xf501[133]];_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x2);_0x8eb2x3[_0xf501[5]](_0xf501[181],true);_0x8eb2x3[_0xf501[31]]=_0xf501[134];break;case _0xf501[187]:_0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[3],_0xf501[80]);_0x8eb2x3[_0xf501[182]]=function(){if(this[_0xf501[23]]==_0xf501[183]){this[_0xf501[5]](_0xf501[23],_0xf501[184]);this[_0xf501[31]]=_0xf501[185]}else {this[_0xf501[31]]=_0xf501[186];this[_0xf501[5]](_0xf501[23],_0xf501[183])}};_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x2);_0x8eb2x3[_0xf501[31]]=(_0x8eb2x2==_0xf501[183]?_0xf501[186]:_0xf501[185]);break;case _0xf501[21]:_0x8eb2x3=document[_0xf501[2]](_0xf501[83]);_0x8eb2x3[_0xf501[188]]=_0x8eb2x2;_0x8eb2x3[_0xf501[31]]=_0xf501[134];break;case _0xf501[189]:_0x8eb2x3=document[_0xf501[2]](_0xf501[83]);_0x8eb2x3[_0xf501[188]]=_0x8eb2x2;_0x8eb2x3[_0xf501[31]]=_0xf501[134];break;case _0xf501[190]:_0x8eb2x3=document[_0xf501[2]](_0xf501[83]);_0x8eb2x3[_0xf501[188]]=_0x8eb2x2;_0x8eb2x3[_0xf501[31]]=_0xf501[134];break;case _0xf501[193]:_0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x2);_0x8eb2x3[_0xf501[5]](_0xf501[191],_0xf501[192]);_0x8eb2x3[_0xf501[31]]=_0xf501[134];break;case _0xf501[195]:_0x8eb2x3=createDropdownFromApi(_0xf501[194],_0x8eb2x2,_0xf501[125],_0xf501[133],_0x8eb2x8);break;case _0xf501[198]:_0x8eb2x3=document[_0xf501[2]](_0xf501[83]);_0x8eb2x3[_0xf501[188]]=_0x8eb2x2;_0x8eb2x3[_0xf501[31]]=_0xf501[134];_0x8eb2x3[_0xf501[5]](_0xf501[196],_0xf501[197]);break;case _0xf501[201]:var _0x8eb2x3=mxUtils[_0xf501[80]](_0xf501[199],function(){var _0x8eb2x58=createDynamicInput(null,null,_0x8eb2x8);_0x8eb2x55[_0xf501[25]](_0x8eb2x58);_0x8eb2x2a[_0xf501[25]](_0x8eb2x55)});_0x8eb2x3[_0xf501[31]]=_0xf501[200];break;default:_0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[23],_0x8eb2x2);_0x8eb2x3[_0xf501[31]]=_0xf501[134];break};_0x8eb2x3[_0xf501[5]](_0xf501[133],_0x8eb2x40);var _0x8eb2x25=_0x8eb2x8[_0xf501[50]](_0xf501[169]);_0x8eb2x25[_0xf501[25]](_0x8eb2x3);if(mxResources[_0xf501[76]](_0xf501[202]+_0x8eb2x3f)){var _0x8eb2x59=_0x8eb2x8[_0xf501[50]](_0xf501[203]);_0x8eb2x59[_0xf501[31]]=_0xf501[204];mxUtils[_0xf501[78]](_0x8eb2x59,mxResources[_0xf501[76]](_0xf501[202]+_0x8eb2x3f));_0x8eb2x25[_0xf501[25]](_0x8eb2x59)};_0x8eb2x50[_0xf501[25]](_0x8eb2x25);_0x8eb2x4f[_0xf501[25]](_0x8eb2x50)};_0x8eb2x2a[_0xf501[25]](_0x8eb2x4f);if(_0x8eb2x53[_0xf501[23]][_0xf501[177]]==_0xf501[1]){if(_0x8eb2x53[_0xf501[205]]){for(var _0x8eb2x47=0;_0x8eb2x47<_0x8eb2x53[_0xf501[205]][_0xf501[141]];_0x8eb2x47++){var _0x8eb2x5a=_0xf501[40];var _0x8eb2x5b=_0xf501[40];_[_0xf501[28]](_0x8eb2x53[_0xf501[205]][_0x8eb2x47][_0xf501[23]][_0xf501[179]],function(_0x8eb2x5c){if(_0x8eb2x5c[_0xf501[125]]==_0xf501[3]){_0x8eb2x5a=_0x8eb2x5c[_0xf501[23]]}else {if(_0x8eb2x5c[_0xf501[125]]==_0xf501[130]){_0x8eb2x5b=_0x8eb2x5c[_0xf501[23]]}}});var _0x8eb2x58=createDynamicInput(_0x8eb2x5a,_0x8eb2x5b,_0x8eb2x8);_0x8eb2x55[_0xf501[25]](_0x8eb2x58)}}};_0x8eb2x2a[_0xf501[25]](_0x8eb2x55);var _0x8eb2x37=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[135]),mxUtils[_0xf501[103]](this,function(_0x8eb2x38){for(var _0x8eb2x57=0;_0x8eb2x57<_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0xf501[141]];_0x8eb2x57++){var _0x8eb2x40=_0xf501[126]+_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0x8eb2x57][_0xf501[125]];var _0x8eb2x3f=_0x8eb2x53[_0xf501[23]][_0xf501[179]][_0x8eb2x57][_0xf501[125]];console[_0xf501[94]](_0x8eb2x3f);_0x8eb2x53[_0xf501[5]](_0x8eb2x3f,document[_0xf501[206]](_0x8eb2x40)[_0xf501[23]]);console[_0xf501[94]](document[_0xf501[206]](_0x8eb2x40)[_0xf501[23]])};if(_0x8eb2x53[_0xf501[23]][_0xf501[177]]==_0xf501[1]){if(_0x8eb2x54[_0xf501[208]][_0xf501[207]](_0x8eb2x53)){_0x8eb2x53[_0xf501[205]]=[]};if(document[_0xf501[206]](_0xf501[178])){var _0x8eb2x55=document[_0xf501[206]](_0xf501[178])[_0xf501[205]];for(var _0x8eb2x47=0;_0x8eb2x47<_0x8eb2x55[_0xf501[141]];_0x8eb2x47++){var _0x8eb2x5d=_0x8eb2x55[_0x8eb2x47][_0xf501[205]][1];var _0x8eb2x5e=_0x8eb2x55[_0x8eb2x47][_0xf501[205]][0];var _0x8eb2x39=mxUtils[_0xf501[209]]();var _0x8eb2x5f=_0x8eb2x39[_0xf501[2]](_0xf501[178]);_0x8eb2x5f[_0xf501[5]](_0xf501[3],_0x8eb2x55[_0x8eb2x47][_0xf501[210]](_0xf501[19])[0][_0xf501[23]]);_0x8eb2x5f[_0xf501[5]](_0xf501[130],_0x8eb2x55[_0x8eb2x47][_0xf501[210]](_0xf501[1])[0][_0xf501[23]]);var _0x8eb2x60= new mxCell(_0x8eb2x5f);_0x8eb2x54[_0xf501[208]][_0xf501[201]](_0x8eb2x53,_0x8eb2x60)}}};_0x8eb2x54[_0xf501[211]](_0x8eb2x53);_0x8eb2x8[_0xf501[79]]()}));_0x8eb2x37[_0xf501[31]]=_0xf501[104];var _0x8eb2x3a=mxUtils[_0xf501[80]](mxResources[_0xf501[76]](_0xf501[105]),function(){_0x8eb2x8[_0xf501[79]]()});_0x8eb2x3a[_0xf501[31]]=_0xf501[106];_0x8eb2x2b[_0xf501[25]](_0x8eb2x37);_0x8eb2x2b[_0xf501[25]](_0x8eb2x3a);_0x8eb2x28[_0xf501[25]](_0x8eb2x29);_0x8eb2x28[_0xf501[25]](_0x8eb2x2a);_0x8eb2x28[_0xf501[25]](_0x8eb2x2b);this[_0xf501[64]]=_0x8eb2x28}function createDynamicInput(_0x8eb2x5a,_0x8eb2x5b,_0x8eb2x8){var _0x8eb2x58=_0x8eb2x8[_0xf501[50]](_0xf501[180]);var _0x8eb2x2f=_0x8eb2x8[_0xf501[50]](_0xf501[212]);var _0x8eb2x41=_0x8eb2x8[_0xf501[50]](_0xf501[212]);var _0x8eb2x62=_0x8eb2x8[_0xf501[50]](_0xf501[213]);var _0x8eb2x3=document[_0xf501[2]](_0xf501[1]);_0x8eb2x3[_0xf501[5]](_0xf501[191],_0xf501[214]);_0x8eb2x3[_0xf501[23]]=_0x8eb2x5b;_0x8eb2x3[_0xf501[31]]=_0xf501[134];_0x8eb2x2f[_0xf501[25]](_0x8eb2x3);var _0x8eb2x43=document[_0xf501[2]](_0xf501[19]);var _0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0xf501[22];_0x8eb2xd[_0xf501[23]]=_0xf501[40];_0x8eb2x43[_0xf501[25]](_0x8eb2xd);var _0x8eb2x13=[_0xf501[21],_0xf501[215],_0xf501[83],_0xf501[4]];_0x8eb2x13[_0xf501[28]](function(_0x8eb2xe){_0x8eb2xd=document[_0xf501[2]](_0xf501[20]);_0x8eb2xd[_0xf501[21]]=_0x8eb2xe;_0x8eb2xd[_0xf501[23]]=_0x8eb2xe;_0x8eb2xd[_0xf501[29]]=(_0x8eb2xe==_0x8eb2x5a);_0x8eb2x43[_0xf501[25]](_0x8eb2xd)});_0x8eb2x43[_0xf501[31]]=_0xf501[134];_0x8eb2x41[_0xf501[25]](_0x8eb2x43);var _0x8eb2x63=mxUtils[_0xf501[80]](_0xf501[216],function(){var _0x8eb2x64=_0x8eb2x63[_0xf501[217]];var _0x8eb2x65=_0x8eb2x64[_0xf501[217]];document[_0xf501[206]](_0xf501[178])[_0xf501[67]](_0x8eb2x65)});_0x8eb2x63[_0xf501[31]]=_0xf501[218];_0x8eb2x62[_0xf501[25]](_0x8eb2x63);_0x8eb2x58[_0xf501[25]](_0x8eb2x2f);_0x8eb2x58[_0xf501[25]](_0x8eb2x41);_0x8eb2x58[_0xf501[25]](_0x8eb2x62);return _0x8eb2x58} \ 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 37765a8..bf32d3a 100644 --- a/public/assets/plugins/jscripty/js/Editor.js +++ b/public/assets/plugins/jscripty/js/Editor.js @@ -1 +1 @@ -var _0x7266=["\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[_0x7266[0]]||urlParams[_0x7266[1]]==_0x7266[2])&& typeof (localStorage)!=_0x7266[3];var fileSupport=window[_0x7266[4]]!=null&&window[_0x7266[5]]!=null&&window[_0x7266[6]]!=null;var touchStyle=mxClient[_0x7266[0]]||urlParams[_0x7266[7]]==_0x7266[8];var counter=0;try{var op=window;while(op[_0x7266[9]]!=null&&!isNaN(op[_0x7266[9]][_0x7266[10]])){op=op[_0x7266[9]]};if(op!=null){op[_0x7266[10]]++;counter=op[_0x7266[10]]}}catch(e){};Editor=function(){mxEventSource[_0x7266[11]](this);this[_0x7266[12]]();this[_0x7266[13]]();this[_0x7266[14]]= new Graph();this[_0x7266[15]]= new mxOutline(this[_0x7266[14]]);this[_0x7266[15]][_0x7266[16]]=true;this[_0x7266[17]]=this[_0x7266[18]]();this[_0x7266[19]]=_0x7266[20];this[_0x7266[21]]=null;this[_0x7266[22]]=function(){return this[_0x7266[21]]||mxResources[_0x7266[24]](_0x7266[23],[counter])+_0x7266[25]};this[_0x7266[26]]=function(){return this[_0x7266[21]]};this[_0x7266[27]]=function(_0x9502x6){this[_0x7266[19]]=_0x9502x6;this[_0x7266[29]]( new mxEventObject(_0x7266[28]))};this[_0x7266[30]]=function(){return this[_0x7266[19]]};this[_0x7266[31]]=false;this[_0x7266[32]]=function(){this[_0x7266[31]]=true};this[_0x7266[14]][_0x7266[36]]()[_0x7266[35]](mxEvent.CHANGE,mxUtils[_0x7266[34]](this,function(){this[_0x7266[32]][_0x7266[33]](this,arguments)}));window[_0x7266[37]]=mxUtils[_0x7266[34]](this,function(){if(this[_0x7266[31]]){return mxResources[_0x7266[24]](_0x7266[38])}});this[_0x7266[14]][_0x7266[39]]=false;this[_0x7266[14]][_0x7266[40]]=true;this[_0x7266[14]][_0x7266[41]]=null};mxUtils[_0x7266[42]](Editor,mxEventSource);Editor[_0x7266[44]][_0x7266[43]]=IMAGE_PATH+_0x7266[45];Editor[_0x7266[44]][_0x7266[46]]=IMAGE_PATH+_0x7266[47];Editor[_0x7266[44]][_0x7266[48]]=function(_0x9502x7){var _0x9502x8= new mxCodec(_0x9502x7[_0x7266[49]]);if(_0x9502x7[_0x7266[50]]==_0x7266[51]){this[_0x7266[14]][_0x7266[53]][_0x7266[52]]=1;this[_0x7266[14]][_0x7266[54]]=_0x9502x7[_0x7266[56]](_0x7266[55])!=_0x7266[57];this[_0x7266[14]][_0x7266[59]][_0x7266[58]]=_0x9502x7[_0x7266[56]](_0x7266[60])!=_0x7266[57];this[_0x7266[14]][_0x7266[62]](_0x9502x7[_0x7266[56]](_0x7266[61])!=_0x7266[57]);this[_0x7266[14]][_0x7266[64]](_0x9502x7[_0x7266[56]](_0x7266[63])!=_0x7266[57]);this[_0x7266[14]][_0x7266[65]]=_0x9502x7[_0x7266[56]](_0x7266[66])!=_0x7266[57];this[_0x7266[14]][_0x7266[40]]=_0x9502x7[_0x7266[56]](_0x7266[40])!=_0x7266[57];if(!this[_0x7266[14]][_0x7266[40]]){this[_0x7266[14]][_0x7266[68]][_0x7266[67]]=0;this[_0x7266[14]][_0x7266[68]][_0x7266[69]]=0;this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[70]]=Number(_0x9502x7[_0x7266[56]](_0x7266[72])||0);this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[73]]=Number(_0x9502x7[_0x7266[56]](_0x7266[74])||0)};this[_0x7266[14]][_0x7266[75]]=_0x9502x7[_0x7266[56]](_0x7266[76])==_0x7266[8];this[_0x7266[14]][_0x7266[77]]=this[_0x7266[14]][_0x7266[75]];this[_0x7266[14]][_0x7266[78]]=this[_0x7266[14]][_0x7266[77]];var _0x9502x9=_0x9502x7[_0x7266[56]](_0x7266[79]);if(_0x9502x9!=null){this[_0x7266[14]][_0x7266[79]]=_0x9502x9}else {this[_0x7266[14]][_0x7266[79]]=1.5};var _0x9502xa=_0x9502x7[_0x7266[56]](_0x7266[80]);var _0x9502xb=_0x9502x7[_0x7266[56]](_0x7266[81]);if(_0x9502xa!=null&&_0x9502xb!=null){this[_0x7266[14]][_0x7266[82]]= new mxRectangle(0,0,parseFloat(_0x9502xa),parseFloat(_0x9502xb));this[_0x7266[15]][_0x7266[15]][_0x7266[82]]=this[_0x7266[14]][_0x7266[82]]};var _0x9502xc=_0x9502x7[_0x7266[56]](_0x7266[41]);if(_0x9502xc!=null&&_0x9502xc[_0x7266[83]]>0){this[_0x7266[14]][_0x7266[41]]=_0x9502xc};_0x9502x8[_0x7266[84]](_0x9502x7,this[_0x7266[14]][_0x7266[36]]());this[_0x7266[85]]()}};Editor[_0x7266[44]][_0x7266[86]]=function(){var _0x9502xd= new mxCodec(mxUtils[_0x7266[87]]());var _0x9502x7=_0x9502xd[_0x7266[88]](this[_0x7266[14]][_0x7266[36]]());if(this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[70]]!=0||this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[73]]!=0){_0x9502x7[_0x7266[90]](_0x7266[72],Math[_0x7266[89]](this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[70]]*100)/100);_0x9502x7[_0x7266[90]](_0x7266[74],Math[_0x7266[89]](this[_0x7266[14]][_0x7266[53]][_0x7266[71]][_0x7266[73]]*100)/100)};_0x9502x7[_0x7266[90]](_0x7266[55],(this[_0x7266[14]][_0x7266[91]]())?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[60],(this[_0x7266[14]][_0x7266[59]][_0x7266[58]])?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[60],(this[_0x7266[14]][_0x7266[59]][_0x7266[58]])?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[61],(this[_0x7266[14]][_0x7266[93]][_0x7266[92]]())?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[63],(this[_0x7266[14]][_0x7266[94]][_0x7266[92]]())?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[66],(this[_0x7266[14]][_0x7266[65]])?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[76],(this[_0x7266[14]][_0x7266[75]])?_0x7266[8]:_0x7266[57]);_0x9502x7[_0x7266[90]](_0x7266[79],this[_0x7266[14]][_0x7266[79]]);_0x9502x7[_0x7266[90]](_0x7266[80],this[_0x7266[14]][_0x7266[82]][_0x7266[95]]);_0x9502x7[_0x7266[90]](_0x7266[81],this[_0x7266[14]][_0x7266[82]][_0x7266[96]]);if(!this[_0x7266[14]][_0x7266[40]]){_0x9502x7[_0x7266[90]](_0x7266[40],_0x7266[57])};if(this[_0x7266[14]][_0x7266[41]]!=null){_0x9502x7[_0x7266[90]](_0x7266[41],this[_0x7266[14]][_0x7266[41]])};return _0x9502x7};Editor[_0x7266[44]][_0x7266[85]]=function(){var _0x9502xe=this[_0x7266[14]];var _0x9502xf=this[_0x7266[15]];if(_0x9502xe[_0x7266[68]]!=null&&_0x9502xf[_0x7266[15]][_0x7266[68]]!=null){if(_0x9502xe[_0x7266[41]]!=null){if(_0x9502xe[_0x7266[41]]==_0x7266[97]){_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[98]]=_0x7266[100]}else {if(_0x9502xe[_0x7266[53]][_0x7266[101]]!=null){_0x9502xe[_0x7266[53]][_0x7266[101]][_0x7266[102]]=_0x9502xe[_0x7266[41]];_0x9502xe[_0x7266[53]][_0x7266[101]][_0x7266[103]]()};_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[98]]=_0x9502xe[_0x7266[41]]}}else {_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[98]]=_0x7266[20]};if(_0x9502xe[_0x7266[75]]){_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[98]]=_0x7266[104];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[105]]=_0x7266[106];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[107]]=_0x7266[108];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[109]]=_0x7266[110];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[111]]=_0x7266[110];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[112]]=_0x7266[113];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[114]]=_0x7266[113]}else {_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[115]]=_0x7266[20]};_0x9502xf[_0x7266[15]][_0x7266[68]][_0x7266[99]][_0x7266[98]]=_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[98]];if(_0x9502xf[_0x7266[15]][_0x7266[75]]!=_0x9502xe[_0x7266[75]]||_0x9502xf[_0x7266[15]][_0x7266[79]]!=_0x9502xe[_0x7266[79]]){_0x9502xf[_0x7266[15]][_0x7266[79]]=_0x9502xe[_0x7266[79]];_0x9502xf[_0x7266[15]][_0x7266[75]]=_0x9502xe[_0x7266[75]];_0x9502xf[_0x7266[15]][_0x7266[53]][_0x7266[116]]()};if(_0x9502xe[_0x7266[40]]&&_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[117]]==_0x7266[118]&& !touchStyle){_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[117]]=_0x7266[119]}else {if(!_0x9502xe[_0x7266[40]]||touchStyle){_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[117]]=_0x7266[118]}};var _0x9502x10=(mxClient[_0x7266[120]]&&document[_0x7266[121]]>=9)?_0x7266[122]+this[_0x7266[46]]+_0x7266[123]:_0x7266[97];_0x9502xe[_0x7266[68]][_0x7266[99]][_0x7266[124]]=(!_0x9502xe[_0x7266[75]]&&_0x9502xe[_0x7266[91]]())?_0x7266[122]+this[_0x7266[43]]+_0x7266[123]:_0x9502x10;if(_0x9502xe[_0x7266[53]][_0x7266[101]]!=null){_0x9502xe[_0x7266[53]][_0x7266[101]][_0x7266[125]][_0x7266[99]][_0x7266[124]]=(this[_0x7266[14]][_0x7266[91]]())?_0x7266[122]+this[_0x7266[43]]+_0x7266[123]:_0x7266[97]}}};Editor[_0x7266[44]][_0x7266[12]]=function(){if(mxClient[_0x7266[126]]){mxClient[_0x7266[129]](_0x7266[127],CSS_PATH+_0x7266[128])};mxResources[_0x7266[130]]=false;mxResources[_0x7266[131]](RESOURCE_BASE);mxConstants[_0x7266[132]]=0.3;var _0x9502x11=mxConnectionHandler[_0x7266[44]][_0x7266[133]];mxConnectionHandler[_0x7266[44]][_0x7266[133]]=function(){var _0x9502x12=_0x9502x11[_0x7266[33]](this,arguments);_0x9502x12[_0x7266[134]]=mxUtils[_0x7266[34]](this,function(_0x9502x13,_0x9502x14){if(this[_0x7266[135]]()){return true};return mxCellMarker[_0x7266[44]][_0x7266[134]][_0x7266[33]](_0x9502x12,arguments)});return _0x9502x12};mxConstants[_0x7266[136]]=_0x7266[137];mxConstants[_0x7266[138]]=_0x7266[139];mxConstants[_0x7266[140]]=_0x7266[141];mxConstants[_0x7266[142]]=_0x7266[143];mxConstants[_0x7266[144]]=_0x7266[143];mxConstants[_0x7266[145]]=_0x7266[139];mxConstants[_0x7266[146]]=_0x7266[143];mxConstants[_0x7266[147]]=_0x7266[148];mxConstants[_0x7266[149]]=_0x7266[143];mxConstants[_0x7266[150]]=_0x7266[143];mxConstants[_0x7266[151]]=_0x7266[148];mxConstants[_0x7266[152]]=_0x7266[141];mxGraph[_0x7266[44]][_0x7266[153]]=_0x7266[154];mxGraph[_0x7266[44]][_0x7266[79]]=1;mxRubberband[_0x7266[44]][_0x7266[155]]=30;mxGraphView[_0x7266[44]][_0x7266[156]]=function(_0x9502x15){return new mxRectangleShape(_0x9502x15,this[_0x7266[14]][_0x7266[41]]||_0x7266[157],_0x7266[158])};mxGraphView[_0x7266[44]][_0x7266[159]]=function(){var _0x9502x16=this[_0x7266[160]]();var _0x9502x17=(_0x9502x16[_0x7266[95]]>0)?_0x9502x16[_0x7266[70]]/this[_0x7266[52]]-this[_0x7266[71]][_0x7266[70]]:0;var _0x9502x18=(_0x9502x16[_0x7266[96]]>0)?_0x9502x16[_0x7266[73]]/this[_0x7266[52]]-this[_0x7266[71]][_0x7266[73]]:0;var _0x9502x19=_0x9502x16[_0x7266[95]]/this[_0x7266[52]];var _0x9502x1a=_0x9502x16[_0x7266[96]]/this[_0x7266[52]];var _0x9502x1b=this[_0x7266[14]][_0x7266[82]];var _0x9502x9=this[_0x7266[14]][_0x7266[79]];var _0x9502xa=_0x9502x1b[_0x7266[95]]*_0x9502x9;var _0x9502xb=_0x9502x1b[_0x7266[96]]*_0x9502x9;var _0x9502x1c=Math[_0x7266[162]](Math[_0x7266[161]](0,_0x9502x17)/_0x9502xa);var _0x9502x1d=Math[_0x7266[162]](Math[_0x7266[161]](0,_0x9502x18)/_0x9502xb);var _0x9502x1e=Math[_0x7266[164]](Math[_0x7266[163]](1,_0x9502x17+_0x9502x19)/_0x9502xa);var _0x9502x1f=Math[_0x7266[164]](Math[_0x7266[163]](1,_0x9502x18+_0x9502x1a)/_0x9502xb);var _0x9502x20=_0x9502x1e-_0x9502x1c;var _0x9502x21=_0x9502x1f-_0x9502x1d;var _0x9502x15= new mxRectangle(this[_0x7266[52]]*(this[_0x7266[71]][_0x7266[70]]+_0x9502x1c*_0x9502xa),this[_0x7266[52]]*(this[_0x7266[71]][_0x7266[73]]+_0x9502x1d*_0x9502xb),this[_0x7266[52]]*_0x9502x20*_0x9502xa,this[_0x7266[52]]*_0x9502x21*_0x9502xb);return _0x9502x15};var _0x9502x22=mxGraph[_0x7266[44]][_0x7266[165]];mxGraph[_0x7266[44]][_0x7266[165]]=function(_0x9502x23,_0x9502x24){_0x9502x22[_0x7266[33]](this,arguments);if((this[_0x7266[166]]!=mxConstants[_0x7266[167]]&&this[_0x7266[53]][_0x7266[101]]!=null)&&(!this[_0x7266[168]]||!mxUtils[_0x7266[169]](this[_0x7266[68]]))){this[_0x7266[53]][_0x7266[101]][_0x7266[125]][_0x7266[99]][_0x7266[170]]=_0x9502x23+_0x7266[171];this[_0x7266[53]][_0x7266[101]][_0x7266[125]][_0x7266[99]][_0x7266[172]]=_0x9502x24+_0x7266[171]}};var _0x9502x25=this;mxGraphView[_0x7266[44]][_0x7266[173]]=function(){var _0x9502xc=this[_0x7266[14]][_0x7266[174]]();if(_0x9502xc!=null){if(this[_0x7266[124]]==null||this[_0x7266[124]][_0x7266[175]]!=_0x9502xc[_0x7266[176]]){if(this[_0x7266[124]]!=null){this[_0x7266[124]][_0x7266[177]]()};var _0x9502x15= new mxRectangle(0,0,1,1);this[_0x7266[124]]= new mxImageShape(_0x9502x15,_0x9502xc[_0x7266[176]]);this[_0x7266[124]][_0x7266[166]]=this[_0x7266[14]][_0x7266[166]];this[_0x7266[124]][_0x7266[12]](this[_0x7266[178]]);this[_0x7266[124]][_0x7266[179]]()};this[_0x7266[180]](this[_0x7266[124]],_0x9502xc)}else {if(this[_0x7266[124]]!=null){this[_0x7266[124]][_0x7266[177]]();this[_0x7266[124]]=null}};if(this[_0x7266[14]][_0x7266[75]]){var _0x9502x15=this[_0x7266[159]]();if(this[_0x7266[101]]==null){this[_0x7266[101]]=this[_0x7266[156]](_0x9502x15);this[_0x7266[101]][_0x7266[52]]=1;this[_0x7266[101]][_0x7266[181]]=true;this[_0x7266[101]][_0x7266[166]]=mxConstants[_0x7266[182]];this[_0x7266[101]][_0x7266[12]](this[_0x7266[14]][_0x7266[68]]);this[_0x7266[14]][_0x7266[68]][_0x7266[184]][_0x7266[99]][_0x7266[183]]=_0x7266[185];this[_0x7266[14]][_0x7266[68]][_0x7266[186]](this[_0x7266[101]][_0x7266[125]],this[_0x7266[14]][_0x7266[68]][_0x7266[184]]);this[_0x7266[101]][_0x7266[179]]();this[_0x7266[101]][_0x7266[125]][_0x7266[187]]=_0x7266[188];this[_0x7266[101]][_0x7266[125]][_0x7266[99]][_0x7266[189]]=_0x7266[190];mxEvent[_0x7266[35]](this[_0x7266[101]][_0x7266[125]],_0x7266[191],mxUtils[_0x7266[34]](this,function(_0x9502x14){this[_0x7266[14]][_0x7266[192]](_0x9502x14)}));mxEvent[_0x7266[198]](this[_0x7266[101]][_0x7266[125]],mxUtils[_0x7266[34]](this,function(_0x9502x14){this[_0x7266[14]][_0x7266[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x9502x14))}),mxUtils[_0x7266[34]](this,function(_0x9502x14){if(this[_0x7266[14]][_0x7266[93]]!=null&&this[_0x7266[14]][_0x7266[93]][_0x7266[194]]()){this[_0x7266[14]][_0x7266[93]][_0x7266[195]]()};if(this[_0x7266[14]][_0x7266[196]]&&!mxEvent[_0x7266[197]](_0x9502x14)){this[_0x7266[14]][_0x7266[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x9502x14))}}),mxUtils[_0x7266[34]](this,function(_0x9502x14){this[_0x7266[14]][_0x7266[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x9502x14))}))}else {this[_0x7266[101]][_0x7266[52]]=1;this[_0x7266[101]][_0x7266[199]]=_0x9502x15;this[_0x7266[101]][_0x7266[179]]()};this[_0x7266[101]][_0x7266[125]][_0x7266[99]][_0x7266[124]]=(this[_0x7266[14]][_0x7266[91]]())?_0x7266[122]+_0x9502x25[_0x7266[43]]+_0x7266[123]:_0x7266[97]}else {if(this[_0x7266[101]]!=null){this[_0x7266[101]][_0x7266[177]]();this[_0x7266[101]]=null}}};mxGraph[_0x7266[44]][_0x7266[200]]=function(_0x9502x26,_0x9502x27,_0x9502x28){var _0x9502x29=this[_0x7266[53]][_0x7266[52]];var _0x9502x2a=this[_0x7266[53]][_0x7266[71]];var _0x9502x1b=this[_0x7266[82]];var _0x9502x9=_0x9502x29*this[_0x7266[79]];var _0x9502x2b=this[_0x7266[53]][_0x7266[159]]();_0x9502x27=_0x9502x2b[_0x7266[95]];_0x9502x28=_0x9502x2b[_0x7266[96]];var _0x9502x15= new mxRectangle(_0x9502x29*_0x9502x2a[_0x7266[70]],_0x9502x29*_0x9502x2a[_0x7266[73]],_0x9502x1b[_0x7266[95]]*_0x9502x9,_0x9502x1b[_0x7266[96]]*_0x9502x9);_0x9502x26=_0x9502x26&&Math[_0x7266[161]](_0x9502x15[_0x7266[95]],_0x9502x15[_0x7266[96]])>this[_0x7266[201]];var _0x9502x2c=(_0x9502x26)?Math[_0x7266[164]](_0x9502x27/_0x9502x15[_0x7266[95]])-1:0;var _0x9502x2d=(_0x9502x26)?Math[_0x7266[164]](_0x9502x28/_0x9502x15[_0x7266[96]])-1:0;var _0x9502x2e=_0x9502x2b[_0x7266[70]]+_0x9502x27;var _0x9502x2f=_0x9502x2b[_0x7266[73]]+_0x9502x28;if(this[_0x7266[202]]==null&&_0x9502x2c>0){this[_0x7266[202]]=[]};if(this[_0x7266[202]]!=null){for(var _0x9502x30=0;_0x9502x30<=_0x9502x2c;_0x9502x30++){var _0x9502x31=[ new mxPoint(_0x9502x2b[_0x7266[70]]+(_0x9502x30+1)*_0x9502x15[_0x7266[95]],_0x9502x2b[_0x7266[73]]), new mxPoint(_0x9502x2b[_0x7266[70]]+(_0x9502x30+1)*_0x9502x15[_0x7266[95]],_0x9502x2f)];if(this[_0x7266[202]][_0x9502x30]!=null){this[_0x7266[202]][_0x9502x30][_0x7266[52]]=1;this[_0x7266[202]][_0x9502x30][_0x7266[203]]=_0x9502x31;this[_0x7266[202]][_0x9502x30][_0x7266[179]]()}else {var _0x9502x32= new mxPolyline(_0x9502x31,this[_0x7266[153]],this[_0x7266[52]]);_0x9502x32[_0x7266[166]]=this[_0x7266[166]];_0x9502x32[_0x7266[204]]=this[_0x7266[205]];_0x9502x32[_0x7266[206]]=false;_0x9502x32[_0x7266[52]]=_0x9502x29;_0x9502x32[_0x7266[12]](this[_0x7266[53]][_0x7266[178]]);_0x9502x32[_0x7266[179]]();this[_0x7266[202]][_0x9502x30]=_0x9502x32}};for(var _0x9502x30=_0x9502x2c;_0x9502x30<this[_0x7266[202]][_0x7266[83]];_0x9502x30++){this[_0x7266[202]][_0x9502x30][_0x7266[177]]()};this[_0x7266[202]][_0x7266[207]](_0x9502x2c,this[_0x7266[202]][_0x7266[83]]-_0x9502x2c)};if(this[_0x7266[208]]==null&&_0x9502x2d>0){this[_0x7266[208]]=[]};if(this[_0x7266[208]]!=null){for(var _0x9502x30=0;_0x9502x30<=_0x9502x2d;_0x9502x30++){var _0x9502x31=[ new mxPoint(_0x9502x2b[_0x7266[70]],_0x9502x2b[_0x7266[73]]+(_0x9502x30+1)*_0x9502x15[_0x7266[96]]), new mxPoint(_0x9502x2e,_0x9502x2b[_0x7266[73]]+(_0x9502x30+1)*_0x9502x15[_0x7266[96]])];if(this[_0x7266[208]][_0x9502x30]!=null){this[_0x7266[208]][_0x9502x30][_0x7266[52]]=1;this[_0x7266[208]][_0x9502x30][_0x7266[203]]=_0x9502x31;this[_0x7266[208]][_0x9502x30][_0x7266[179]]()}else {var _0x9502x32= new mxPolyline(_0x9502x31,this[_0x7266[153]],_0x9502x29);_0x9502x32[_0x7266[166]]=this[_0x7266[166]];_0x9502x32[_0x7266[204]]=this[_0x7266[205]];_0x9502x32[_0x7266[206]]=false;_0x9502x32[_0x7266[52]]=_0x9502x29;_0x9502x32[_0x7266[12]](this[_0x7266[53]][_0x7266[178]]);_0x9502x32[_0x7266[179]]();this[_0x7266[208]][_0x9502x30]=_0x9502x32}};for(var _0x9502x30=_0x9502x2d;_0x9502x30<this[_0x7266[208]][_0x7266[83]];_0x9502x30++){this[_0x7266[208]][_0x9502x30][_0x7266[177]]()};this[_0x7266[208]][_0x7266[207]](_0x9502x2d,this[_0x7266[208]][_0x7266[83]]-_0x9502x2d)}};mxEdgeHandler[_0x7266[44]][_0x7266[209]]=true;mxGraphHandler[_0x7266[44]][_0x7266[58]]=true;var _0x9502x33=mxGraphHandler[_0x7266[44]][_0x7266[210]];mxGraphHandler[_0x7266[44]][_0x7266[210]]=function(_0x9502x34,_0x9502x35,_0x9502x14){for(var _0x9502x30=0;_0x9502x30<_0x9502x35[_0x7266[83]];_0x9502x30++){if(this[_0x7266[14]][_0x7266[36]]()[_0x7266[211]](_0x9502x35[_0x9502x30])){var _0x9502x36=this[_0x7266[14]][_0x7266[212]](_0x9502x35[_0x9502x30]);if(_0x9502x36!=null&&_0x9502x36[_0x7266[213]]){return false}}};return _0x9502x33[_0x7266[33]](this,arguments)};mxGuide[_0x7266[44]][_0x7266[214]]=function(_0x9502x14){return !mxEvent[_0x7266[215]](_0x9502x14)};mxPopupMenuAddItem=mxPopupMenu[_0x7266[44]][_0x7266[216]];mxPopupMenu[_0x7266[44]][_0x7266[216]]=function(_0x9502x37,_0x9502x38,_0x9502x39,_0x9502x34,_0x9502x3a,_0x9502x3b){var _0x9502x3c=mxPopupMenuAddItem[_0x7266[33]](this,arguments);if(_0x9502x3b!=null&& !_0x9502x3b){mxEvent[_0x7266[35]](_0x9502x3c,_0x7266[217],function(_0x9502x14){mxEvent[_0x7266[218]](_0x9502x14)})};return _0x9502x3c};var _0x9502x3d=mxGraphHandler[_0x7266[44]][_0x7266[219]];mxGraphHandler[_0x7266[44]][_0x7266[219]]=function(_0x9502x3e){var _0x9502x3f=this[_0x7266[14]][_0x7266[36]]();var _0x9502x40=_0x9502x3f[_0x7266[221]](this[_0x7266[14]][_0x7266[220]]());var _0x9502x41=_0x9502x3d[_0x7266[33]](this,arguments);var _0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x41);if(_0x9502x40==null||(_0x9502x40!=_0x9502x41&&_0x9502x40!=_0x9502x34)){while(!this[_0x7266[14]][_0x7266[222]](_0x9502x41)&&!this[_0x7266[14]][_0x7266[222]](_0x9502x34)&&_0x9502x3f[_0x7266[211]](_0x9502x34)&&!this[_0x7266[14]][_0x7266[223]](_0x9502x34)){_0x9502x41=_0x9502x34;_0x9502x34=this[_0x7266[14]][_0x7266[36]]()[_0x7266[221]](_0x9502x41)}};return _0x9502x41};var _0x9502x42=mxGraphHandler[_0x7266[44]][_0x7266[224]];mxGraphHandler[_0x7266[44]][_0x7266[224]]=function(_0x9502x41){var _0x9502x3c=_0x9502x42[_0x7266[33]](this,arguments);var _0x9502x3f=this[_0x7266[14]][_0x7266[36]]();var _0x9502x40=_0x9502x3f[_0x7266[221]](this[_0x7266[14]][_0x7266[220]]());var _0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x41);if(_0x9502x40==null||(_0x9502x40!=_0x9502x41&&_0x9502x40!=_0x9502x34)){if(!this[_0x7266[14]][_0x7266[222]](_0x9502x41)&&_0x9502x3f[_0x7266[211]](_0x9502x34)&&!this[_0x7266[14]][_0x7266[223]](_0x9502x34)){_0x9502x3c=true}};return _0x9502x3c};mxGraphHandler[_0x7266[44]][_0x7266[225]]=function(_0x9502x3e){var _0x9502x41=_0x9502x3e[_0x7266[226]]();if(_0x9502x41==null){_0x9502x41=this[_0x7266[227]]};var _0x9502x3f=this[_0x7266[14]][_0x7266[36]]();var _0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x41);while(this[_0x7266[14]][_0x7266[222]](_0x9502x41)&&_0x9502x3f[_0x7266[211]](_0x9502x34)&&!this[_0x7266[14]][_0x7266[223]](_0x9502x34)){_0x9502x41=_0x9502x34;_0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x41)};this[_0x7266[14]][_0x7266[229]](_0x9502x41,_0x9502x3e[_0x7266[228]]())};mxPanningHandler[_0x7266[44]][_0x7266[230]]=function(_0x9502x3e){var _0x9502x41=_0x9502x3e[_0x7266[226]]();var _0x9502x3f=this[_0x7266[14]][_0x7266[36]]();var _0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x41);while(_0x9502x3f[_0x7266[211]](_0x9502x34)&&!this[_0x7266[14]][_0x7266[223]](_0x9502x34)){if(this[_0x7266[14]][_0x7266[222]](_0x9502x34)){_0x9502x41=_0x9502x34};_0x9502x34=_0x9502x3f[_0x7266[221]](_0x9502x34)};return _0x9502x41}};Editor[_0x7266[44]][_0x7266[18]]=function(){var _0x9502xe=this[_0x7266[14]];var _0x9502x43= new mxUndoManager();var _0x9502x44=function(_0x9502x45,_0x9502x14){_0x9502x43[_0x7266[233]](_0x9502x14[_0x7266[232]](_0x7266[231]))};_0x9502xe[_0x7266[36]]()[_0x7266[35]](mxEvent.UNDO,_0x9502x44);_0x9502xe[_0x7266[234]]()[_0x7266[35]](mxEvent.UNDO,_0x9502x44);var _0x9502x46=function(_0x9502x45,_0x9502x14){var _0x9502x47=_0x9502xe[_0x7266[236]](_0x9502x14[_0x7266[232]](_0x7266[231])[_0x7266[235]]);var _0x9502x35=[];for(var _0x9502x30=1;_0x9502x30<_0x9502x47[_0x7266[83]];_0x9502x30++){if(_0x9502xe[_0x7266[53]][_0x7266[237]](_0x9502x47[_0x9502x30])!=null){_0x9502x35[_0x7266[238]](_0x9502x47[_0x9502x30])}};_0x9502xe[_0x7266[239]](_0x9502x35)};_0x9502x43[_0x7266[35]](mxEvent.UNDO,_0x9502x46);_0x9502x43[_0x7266[35]](mxEvent.REDO,_0x9502x46);return _0x9502x43};Editor[_0x7266[44]][_0x7266[13]]=function(){mxStencilRegistry[_0x7266[241]](STENCIL_PATH+_0x7266[240])};(function(){mxStencilRegistry[_0x7266[242]]={};mxStencilRegistry[_0x7266[243]]=[];mxStencilRegistry[_0x7266[244]]=function(_0x9502x48){var _0x9502x3c=mxStencilRegistry[_0x7266[245]][_0x9502x48];if(_0x9502x3c==null){var _0x9502x49=mxStencilRegistry[_0x7266[246]](_0x9502x48);if(_0x9502x49!=null){var _0x9502x4a=mxStencilRegistry[_0x7266[242]][_0x9502x49];if(_0x9502x4a!=null){if(mxStencilRegistry[_0x7266[243]][_0x9502x49]==null){mxStencilRegistry[_0x7266[243]][_0x9502x49]=1;for(var _0x9502x30=0;_0x9502x30<_0x9502x4a[_0x7266[83]];_0x9502x30++){var _0x9502x4b=_0x9502x4a[_0x9502x30];if(_0x9502x4b[_0x7266[248]]()[_0x7266[247]](_0x9502x4b[_0x7266[83]]-4,_0x9502x4b[_0x7266[83]])==_0x7266[25]){mxStencilRegistry[_0x7266[241]](_0x9502x4b,null)}else {if(_0x9502x4b[_0x7266[248]]()[_0x7266[247]](_0x9502x4b[_0x7266[83]]-3,_0x9502x4b[_0x7266[83]])==_0x7266[249]){var _0x9502x4c=mxUtils[_0x7266[250]](_0x9502x4b);if(_0x9502x4c!=null){eval[_0x7266[11]](window,_0x9502x4c[_0x7266[251]]())}}else {}}}}}else {mxStencilRegistry[_0x7266[241]](STENCIL_PATH+_0x7266[252]+_0x9502x49+_0x7266[25],null)};_0x9502x3c=mxStencilRegistry[_0x7266[245]][_0x9502x48]}};return _0x9502x3c};mxStencilRegistry[_0x7266[246]]=function(_0x9502x48){var _0x9502x4d=_0x9502x48[_0x7266[254]](_0x7266[253]);var _0x9502x4e=null;if(_0x9502x4d[_0x7266[83]]>0&&_0x9502x4d[0]==_0x7266[255]){_0x9502x4e=_0x9502x4d[1];for(var _0x9502x30=2;_0x9502x30<_0x9502x4d[_0x7266[83]]-1;_0x9502x30++){_0x9502x4e+=_0x7266[252]+_0x9502x4d[_0x9502x30]}};return _0x9502x4e};mxStencilRegistry[_0x7266[241]]=function(_0x9502x4f,_0x9502x50,_0x9502x51){_0x9502x51=(_0x9502x51!=null)?_0x9502x51:false;var _0x9502x52=mxStencilRegistry[_0x7266[243]][_0x9502x4f];if(_0x9502x51||_0x9502x52==null){var _0x9502x53=false;if(_0x9502x52==null){var _0x9502x4c=mxUtils[_0x7266[250]](_0x9502x4f);_0x9502x52=_0x9502x4c[_0x7266[256]]();mxStencilRegistry[_0x7266[243]][_0x9502x4f]=_0x9502x52;_0x9502x53=true};mxStencilRegistry[_0x7266[257]](_0x9502x52,_0x9502x50,_0x9502x53)}};mxStencilRegistry[_0x7266[257]]=function(_0x9502x54,_0x9502x50,_0x9502x53){_0x9502x53=(_0x9502x53!=null)?_0x9502x53:true;var _0x9502x55=_0x9502x54[_0x7266[258]];var _0x9502x56=_0x9502x55[_0x7266[184]];var _0x9502x57=_0x7266[20];var _0x9502x48=_0x9502x55[_0x7266[56]](_0x7266[259]);if(_0x9502x48!=null){_0x9502x57=_0x9502x48+_0x7266[253]};while(_0x9502x56!=null){if(_0x9502x56[_0x7266[260]]==mxConstants[_0x7266[261]]){_0x9502x48=_0x9502x56[_0x7266[56]](_0x7266[259]);if(_0x9502x48!=null){_0x9502x57=_0x9502x57[_0x7266[248]]();var _0x9502x58=_0x9502x48[_0x7266[263]](/ /g,_0x7266[262]);if(_0x9502x53){mxStencilRegistry[_0x7266[264]](_0x9502x57+_0x9502x58[_0x7266[248]](), new mxStencil(_0x9502x56))};if(_0x9502x50!=null){var _0x9502x19=_0x9502x56[_0x7266[56]](_0x7266[265]);var _0x9502x1a=_0x9502x56[_0x7266[56]](_0x7266[266]);_0x9502x19=(_0x9502x19==null)?80:parseInt(_0x9502x19,10);_0x9502x1a=(_0x9502x1a==null)?80:parseInt(_0x9502x1a,10);_0x9502x50(_0x9502x57,_0x9502x58,_0x9502x48,_0x9502x19,_0x9502x1a)}}};_0x9502x56=_0x9502x56[_0x7266[267]]}}})();OpenFile=function(_0x9502x59){this[_0x7266[268]]=null;this[_0x7266[269]]=null;this[_0x7266[270]]=_0x9502x59};OpenFile[_0x7266[44]][_0x7266[271]]=function(_0x9502x6){this[_0x7266[269]]=_0x9502x6;this[_0x7266[272]]()};OpenFile[_0x7266[44]][_0x7266[273]]=function(_0x9502x6,_0x9502x5a){this[_0x7266[274]]=_0x9502x6;this[_0x7266[21]]=_0x9502x5a;this[_0x7266[272]]()};OpenFile[_0x7266[44]][_0x7266[275]]=function(_0x9502x5b){this[_0x7266[276]]();mxUtils[_0x7266[277]](_0x9502x5b)};OpenFile[_0x7266[44]][_0x7266[272]]=function(){if(this[_0x7266[269]]!=null&&this[_0x7266[274]]!=null){this[_0x7266[269]](this[_0x7266[274]],this[_0x7266[21]]);this[_0x7266[276]]()}};OpenFile[_0x7266[44]][_0x7266[276]]=function(){if(this[_0x7266[270]]!=null){this[_0x7266[270]]()}} \ No newline at end of file +var _0x22ac=["\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[_0x22ac[0]]||urlParams[_0x22ac[1]]==_0x22ac[2])&& typeof (localStorage)!=_0x22ac[3];var fileSupport=window[_0x22ac[4]]!=null&&window[_0x22ac[5]]!=null&&window[_0x22ac[6]]!=null;var touchStyle=mxClient[_0x22ac[0]]||urlParams[_0x22ac[7]]==_0x22ac[8];var counter=0;try{var op=window;while(op[_0x22ac[9]]!=null&&!isNaN(op[_0x22ac[9]][_0x22ac[10]])){op=op[_0x22ac[9]]};if(op!=null){op[_0x22ac[10]]++;counter=op[_0x22ac[10]]}}catch(e){};Editor=function(){mxEventSource[_0x22ac[11]](this);this[_0x22ac[12]]();this[_0x22ac[13]]();this[_0x22ac[14]]= new Graph();this[_0x22ac[15]]= new mxOutline(this[_0x22ac[14]]);this[_0x22ac[15]][_0x22ac[16]]=true;this[_0x22ac[17]]=this[_0x22ac[18]]();this[_0x22ac[19]]=_0x22ac[20];this[_0x22ac[21]]=null;this[_0x22ac[22]]=function(){return this[_0x22ac[21]]||mxResources[_0x22ac[24]](_0x22ac[23],[counter])+_0x22ac[25]};this[_0x22ac[26]]=function(){return this[_0x22ac[21]]};this[_0x22ac[27]]=function(_0x4052x6){this[_0x22ac[19]]=_0x4052x6;this[_0x22ac[29]]( new mxEventObject(_0x22ac[28]))};this[_0x22ac[30]]=function(){return this[_0x22ac[19]]};this[_0x22ac[31]]=false;this[_0x22ac[32]]=function(){this[_0x22ac[31]]=true};this[_0x22ac[14]][_0x22ac[36]]()[_0x22ac[35]](mxEvent.CHANGE,mxUtils[_0x22ac[34]](this,function(){this[_0x22ac[32]][_0x22ac[33]](this,arguments)}));window[_0x22ac[37]]=mxUtils[_0x22ac[34]](this,function(){if(this[_0x22ac[31]]){return mxResources[_0x22ac[24]](_0x22ac[38])}});this[_0x22ac[14]][_0x22ac[39]]=false;this[_0x22ac[14]][_0x22ac[40]]=true;this[_0x22ac[14]][_0x22ac[41]]=null};mxUtils[_0x22ac[42]](Editor,mxEventSource);Editor[_0x22ac[44]][_0x22ac[43]]=IMAGE_PATH+_0x22ac[45];Editor[_0x22ac[44]][_0x22ac[46]]=IMAGE_PATH+_0x22ac[47];Editor[_0x22ac[44]][_0x22ac[48]]=function(_0x4052x7){var _0x4052x8= new mxCodec(_0x4052x7[_0x22ac[49]]);if(_0x4052x7[_0x22ac[50]]==_0x22ac[51]){this[_0x22ac[14]][_0x22ac[53]][_0x22ac[52]]=1;this[_0x22ac[14]][_0x22ac[54]]=_0x4052x7[_0x22ac[56]](_0x22ac[55])!=_0x22ac[57];this[_0x22ac[14]][_0x22ac[59]][_0x22ac[58]]=_0x4052x7[_0x22ac[56]](_0x22ac[60])!=_0x22ac[57];this[_0x22ac[14]][_0x22ac[62]](_0x4052x7[_0x22ac[56]](_0x22ac[61])!=_0x22ac[57]);this[_0x22ac[14]][_0x22ac[64]](_0x4052x7[_0x22ac[56]](_0x22ac[63])!=_0x22ac[57]);this[_0x22ac[14]][_0x22ac[65]]=_0x4052x7[_0x22ac[56]](_0x22ac[66])!=_0x22ac[57];this[_0x22ac[14]][_0x22ac[40]]=_0x4052x7[_0x22ac[56]](_0x22ac[40])!=_0x22ac[57];if(!this[_0x22ac[14]][_0x22ac[40]]){this[_0x22ac[14]][_0x22ac[68]][_0x22ac[67]]=0;this[_0x22ac[14]][_0x22ac[68]][_0x22ac[69]]=0;this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[70]]=Number(_0x4052x7[_0x22ac[56]](_0x22ac[72])||0);this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[73]]=Number(_0x4052x7[_0x22ac[56]](_0x22ac[74])||0)};this[_0x22ac[14]][_0x22ac[75]]=_0x4052x7[_0x22ac[56]](_0x22ac[76])==_0x22ac[8];this[_0x22ac[14]][_0x22ac[77]]=this[_0x22ac[14]][_0x22ac[75]];this[_0x22ac[14]][_0x22ac[78]]=this[_0x22ac[14]][_0x22ac[77]];var _0x4052x9=_0x4052x7[_0x22ac[56]](_0x22ac[79]);if(_0x4052x9!=null){this[_0x22ac[14]][_0x22ac[79]]=_0x4052x9}else {this[_0x22ac[14]][_0x22ac[79]]=1.5};var _0x4052xa=_0x4052x7[_0x22ac[56]](_0x22ac[80]);var _0x4052xb=_0x4052x7[_0x22ac[56]](_0x22ac[81]);if(_0x4052xa!=null&&_0x4052xb!=null){this[_0x22ac[14]][_0x22ac[82]]= new mxRectangle(0,0,parseFloat(_0x4052xa),parseFloat(_0x4052xb));this[_0x22ac[15]][_0x22ac[15]][_0x22ac[82]]=this[_0x22ac[14]][_0x22ac[82]]};var _0x4052xc=_0x4052x7[_0x22ac[56]](_0x22ac[41]);if(_0x4052xc!=null&&_0x4052xc[_0x22ac[83]]>0){this[_0x22ac[14]][_0x22ac[41]]=_0x4052xc};_0x4052x8[_0x22ac[84]](_0x4052x7,this[_0x22ac[14]][_0x22ac[36]]());this[_0x22ac[85]]()}};Editor[_0x22ac[44]][_0x22ac[86]]=function(){var _0x4052xd= new mxCodec(mxUtils[_0x22ac[87]]());var _0x4052x7=_0x4052xd[_0x22ac[88]](this[_0x22ac[14]][_0x22ac[36]]());if(this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[70]]!=0||this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[73]]!=0){_0x4052x7[_0x22ac[90]](_0x22ac[72],Math[_0x22ac[89]](this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[70]]*100)/100);_0x4052x7[_0x22ac[90]](_0x22ac[74],Math[_0x22ac[89]](this[_0x22ac[14]][_0x22ac[53]][_0x22ac[71]][_0x22ac[73]]*100)/100)};_0x4052x7[_0x22ac[90]](_0x22ac[55],(this[_0x22ac[14]][_0x22ac[91]]())?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[60],(this[_0x22ac[14]][_0x22ac[59]][_0x22ac[58]])?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[60],(this[_0x22ac[14]][_0x22ac[59]][_0x22ac[58]])?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[61],(this[_0x22ac[14]][_0x22ac[93]][_0x22ac[92]]())?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[63],(this[_0x22ac[14]][_0x22ac[94]][_0x22ac[92]]())?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[66],(this[_0x22ac[14]][_0x22ac[65]])?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[76],(this[_0x22ac[14]][_0x22ac[75]])?_0x22ac[8]:_0x22ac[57]);_0x4052x7[_0x22ac[90]](_0x22ac[79],this[_0x22ac[14]][_0x22ac[79]]);_0x4052x7[_0x22ac[90]](_0x22ac[80],this[_0x22ac[14]][_0x22ac[82]][_0x22ac[95]]);_0x4052x7[_0x22ac[90]](_0x22ac[81],this[_0x22ac[14]][_0x22ac[82]][_0x22ac[96]]);if(!this[_0x22ac[14]][_0x22ac[40]]){_0x4052x7[_0x22ac[90]](_0x22ac[40],_0x22ac[57])};if(this[_0x22ac[14]][_0x22ac[41]]!=null){_0x4052x7[_0x22ac[90]](_0x22ac[41],this[_0x22ac[14]][_0x22ac[41]])};return _0x4052x7};Editor[_0x22ac[44]][_0x22ac[85]]=function(){var _0x4052xe=this[_0x22ac[14]];var _0x4052xf=this[_0x22ac[15]];if(_0x4052xe[_0x22ac[68]]!=null&&_0x4052xf[_0x22ac[15]][_0x22ac[68]]!=null){if(_0x4052xe[_0x22ac[41]]!=null){if(_0x4052xe[_0x22ac[41]]==_0x22ac[97]){_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[98]]=_0x22ac[100]}else {if(_0x4052xe[_0x22ac[53]][_0x22ac[101]]!=null){_0x4052xe[_0x22ac[53]][_0x22ac[101]][_0x22ac[102]]=_0x4052xe[_0x22ac[41]];_0x4052xe[_0x22ac[53]][_0x22ac[101]][_0x22ac[103]]()};_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[98]]=_0x4052xe[_0x22ac[41]]}}else {_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[98]]=_0x22ac[20]};if(_0x4052xe[_0x22ac[75]]){_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[98]]=_0x22ac[104];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[105]]=_0x22ac[106];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[107]]=_0x22ac[108];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[109]]=_0x22ac[110];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[111]]=_0x22ac[110];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[112]]=_0x22ac[113];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[114]]=_0x22ac[113]}else {_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[115]]=_0x22ac[20]};_0x4052xf[_0x22ac[15]][_0x22ac[68]][_0x22ac[99]][_0x22ac[98]]=_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[98]];if(_0x4052xf[_0x22ac[15]][_0x22ac[75]]!=_0x4052xe[_0x22ac[75]]||_0x4052xf[_0x22ac[15]][_0x22ac[79]]!=_0x4052xe[_0x22ac[79]]){_0x4052xf[_0x22ac[15]][_0x22ac[79]]=_0x4052xe[_0x22ac[79]];_0x4052xf[_0x22ac[15]][_0x22ac[75]]=_0x4052xe[_0x22ac[75]];_0x4052xf[_0x22ac[15]][_0x22ac[53]][_0x22ac[116]]()};if(_0x4052xe[_0x22ac[40]]&&_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[117]]==_0x22ac[118]&& !touchStyle){_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[117]]=_0x22ac[119]}else {if(!_0x4052xe[_0x22ac[40]]||touchStyle){_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[117]]=_0x22ac[118]}};var _0x4052x10=(mxClient[_0x22ac[120]]&&document[_0x22ac[121]]>=9)?_0x22ac[122]+this[_0x22ac[46]]+_0x22ac[123]:_0x22ac[97];_0x4052xe[_0x22ac[68]][_0x22ac[99]][_0x22ac[124]]=(!_0x4052xe[_0x22ac[75]]&&_0x4052xe[_0x22ac[91]]())?_0x22ac[122]+this[_0x22ac[43]]+_0x22ac[123]:_0x4052x10;if(_0x4052xe[_0x22ac[53]][_0x22ac[101]]!=null){_0x4052xe[_0x22ac[53]][_0x22ac[101]][_0x22ac[125]][_0x22ac[99]][_0x22ac[124]]=(this[_0x22ac[14]][_0x22ac[91]]())?_0x22ac[122]+this[_0x22ac[43]]+_0x22ac[123]:_0x22ac[97]}}};Editor[_0x22ac[44]][_0x22ac[12]]=function(){if(mxClient[_0x22ac[126]]){mxClient[_0x22ac[129]](_0x22ac[127],CSS_PATH+_0x22ac[128])};mxResources[_0x22ac[130]]=false;mxResources[_0x22ac[131]](RESOURCE_BASE);mxConstants[_0x22ac[132]]=0.3;var _0x4052x11=mxConnectionHandler[_0x22ac[44]][_0x22ac[133]];mxConnectionHandler[_0x22ac[44]][_0x22ac[133]]=function(){var _0x4052x12=_0x4052x11[_0x22ac[33]](this,arguments);_0x4052x12[_0x22ac[134]]=mxUtils[_0x22ac[34]](this,function(_0x4052x13,_0x4052x14){if(this[_0x22ac[135]]()){return true};return mxCellMarker[_0x22ac[44]][_0x22ac[134]][_0x22ac[33]](_0x4052x12,arguments)});return _0x4052x12};mxConstants[_0x22ac[136]]=_0x22ac[137];mxConstants[_0x22ac[138]]=_0x22ac[139];mxConstants[_0x22ac[140]]=_0x22ac[141];mxConstants[_0x22ac[142]]=_0x22ac[143];mxConstants[_0x22ac[144]]=_0x22ac[143];mxConstants[_0x22ac[145]]=_0x22ac[139];mxConstants[_0x22ac[146]]=_0x22ac[143];mxConstants[_0x22ac[147]]=_0x22ac[148];mxConstants[_0x22ac[149]]=_0x22ac[143];mxConstants[_0x22ac[150]]=_0x22ac[143];mxConstants[_0x22ac[151]]=_0x22ac[148];mxConstants[_0x22ac[152]]=_0x22ac[141];mxGraph[_0x22ac[44]][_0x22ac[153]]=_0x22ac[154];mxGraph[_0x22ac[44]][_0x22ac[79]]=1;mxRubberband[_0x22ac[44]][_0x22ac[155]]=30;mxGraphView[_0x22ac[44]][_0x22ac[156]]=function(_0x4052x15){return new mxRectangleShape(_0x4052x15,this[_0x22ac[14]][_0x22ac[41]]||_0x22ac[157],_0x22ac[158])};mxGraphView[_0x22ac[44]][_0x22ac[159]]=function(){var _0x4052x16=this[_0x22ac[160]]();var _0x4052x17=(_0x4052x16[_0x22ac[95]]>0)?_0x4052x16[_0x22ac[70]]/this[_0x22ac[52]]-this[_0x22ac[71]][_0x22ac[70]]:0;var _0x4052x18=(_0x4052x16[_0x22ac[96]]>0)?_0x4052x16[_0x22ac[73]]/this[_0x22ac[52]]-this[_0x22ac[71]][_0x22ac[73]]:0;var _0x4052x19=_0x4052x16[_0x22ac[95]]/this[_0x22ac[52]];var _0x4052x1a=_0x4052x16[_0x22ac[96]]/this[_0x22ac[52]];var _0x4052x1b=this[_0x22ac[14]][_0x22ac[82]];var _0x4052x9=this[_0x22ac[14]][_0x22ac[79]];var _0x4052xa=_0x4052x1b[_0x22ac[95]]*_0x4052x9;var _0x4052xb=_0x4052x1b[_0x22ac[96]]*_0x4052x9;var _0x4052x1c=Math[_0x22ac[162]](Math[_0x22ac[161]](0,_0x4052x17)/_0x4052xa);var _0x4052x1d=Math[_0x22ac[162]](Math[_0x22ac[161]](0,_0x4052x18)/_0x4052xb);var _0x4052x1e=Math[_0x22ac[164]](Math[_0x22ac[163]](1,_0x4052x17+_0x4052x19)/_0x4052xa);var _0x4052x1f=Math[_0x22ac[164]](Math[_0x22ac[163]](1,_0x4052x18+_0x4052x1a)/_0x4052xb);var _0x4052x20=_0x4052x1e-_0x4052x1c;var _0x4052x21=_0x4052x1f-_0x4052x1d;var _0x4052x15= new mxRectangle(this[_0x22ac[52]]*(this[_0x22ac[71]][_0x22ac[70]]+_0x4052x1c*_0x4052xa),this[_0x22ac[52]]*(this[_0x22ac[71]][_0x22ac[73]]+_0x4052x1d*_0x4052xb),this[_0x22ac[52]]*_0x4052x20*_0x4052xa,this[_0x22ac[52]]*_0x4052x21*_0x4052xb);return _0x4052x15};var _0x4052x22=mxGraph[_0x22ac[44]][_0x22ac[165]];mxGraph[_0x22ac[44]][_0x22ac[165]]=function(_0x4052x23,_0x4052x24){_0x4052x22[_0x22ac[33]](this,arguments);if((this[_0x22ac[166]]!=mxConstants[_0x22ac[167]]&&this[_0x22ac[53]][_0x22ac[101]]!=null)&&(!this[_0x22ac[168]]||!mxUtils[_0x22ac[169]](this[_0x22ac[68]]))){this[_0x22ac[53]][_0x22ac[101]][_0x22ac[125]][_0x22ac[99]][_0x22ac[170]]=_0x4052x23+_0x22ac[171];this[_0x22ac[53]][_0x22ac[101]][_0x22ac[125]][_0x22ac[99]][_0x22ac[172]]=_0x4052x24+_0x22ac[171]}};var _0x4052x25=this;mxGraphView[_0x22ac[44]][_0x22ac[173]]=function(){var _0x4052xc=this[_0x22ac[14]][_0x22ac[174]]();if(_0x4052xc!=null){if(this[_0x22ac[124]]==null||this[_0x22ac[124]][_0x22ac[175]]!=_0x4052xc[_0x22ac[176]]){if(this[_0x22ac[124]]!=null){this[_0x22ac[124]][_0x22ac[177]]()};var _0x4052x15= new mxRectangle(0,0,1,1);this[_0x22ac[124]]= new mxImageShape(_0x4052x15,_0x4052xc[_0x22ac[176]]);this[_0x22ac[124]][_0x22ac[166]]=this[_0x22ac[14]][_0x22ac[166]];this[_0x22ac[124]][_0x22ac[12]](this[_0x22ac[178]]);this[_0x22ac[124]][_0x22ac[179]]()};this[_0x22ac[180]](this[_0x22ac[124]],_0x4052xc)}else {if(this[_0x22ac[124]]!=null){this[_0x22ac[124]][_0x22ac[177]]();this[_0x22ac[124]]=null}};if(this[_0x22ac[14]][_0x22ac[75]]){var _0x4052x15=this[_0x22ac[159]]();if(this[_0x22ac[101]]==null){this[_0x22ac[101]]=this[_0x22ac[156]](_0x4052x15);this[_0x22ac[101]][_0x22ac[52]]=1;this[_0x22ac[101]][_0x22ac[181]]=true;this[_0x22ac[101]][_0x22ac[166]]=mxConstants[_0x22ac[182]];this[_0x22ac[101]][_0x22ac[12]](this[_0x22ac[14]][_0x22ac[68]]);this[_0x22ac[14]][_0x22ac[68]][_0x22ac[184]][_0x22ac[99]][_0x22ac[183]]=_0x22ac[185];this[_0x22ac[14]][_0x22ac[68]][_0x22ac[186]](this[_0x22ac[101]][_0x22ac[125]],this[_0x22ac[14]][_0x22ac[68]][_0x22ac[184]]);this[_0x22ac[101]][_0x22ac[179]]();this[_0x22ac[101]][_0x22ac[125]][_0x22ac[187]]=_0x22ac[188];this[_0x22ac[101]][_0x22ac[125]][_0x22ac[99]][_0x22ac[189]]=_0x22ac[190];mxEvent[_0x22ac[35]](this[_0x22ac[101]][_0x22ac[125]],_0x22ac[191],mxUtils[_0x22ac[34]](this,function(_0x4052x14){this[_0x22ac[14]][_0x22ac[192]](_0x4052x14)}));mxEvent[_0x22ac[198]](this[_0x22ac[101]][_0x22ac[125]],mxUtils[_0x22ac[34]](this,function(_0x4052x14){this[_0x22ac[14]][_0x22ac[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x4052x14))}),mxUtils[_0x22ac[34]](this,function(_0x4052x14){if(this[_0x22ac[14]][_0x22ac[93]]!=null&&this[_0x22ac[14]][_0x22ac[93]][_0x22ac[194]]()){this[_0x22ac[14]][_0x22ac[93]][_0x22ac[195]]()};if(this[_0x22ac[14]][_0x22ac[196]]&&!mxEvent[_0x22ac[197]](_0x4052x14)){this[_0x22ac[14]][_0x22ac[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x4052x14))}}),mxUtils[_0x22ac[34]](this,function(_0x4052x14){this[_0x22ac[14]][_0x22ac[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x4052x14))}))}else {this[_0x22ac[101]][_0x22ac[52]]=1;this[_0x22ac[101]][_0x22ac[199]]=_0x4052x15;this[_0x22ac[101]][_0x22ac[179]]()};this[_0x22ac[101]][_0x22ac[125]][_0x22ac[99]][_0x22ac[124]]=(this[_0x22ac[14]][_0x22ac[91]]())?_0x22ac[122]+_0x4052x25[_0x22ac[43]]+_0x22ac[123]:_0x22ac[97]}else {if(this[_0x22ac[101]]!=null){this[_0x22ac[101]][_0x22ac[177]]();this[_0x22ac[101]]=null}}};mxGraph[_0x22ac[44]][_0x22ac[200]]=function(_0x4052x26,_0x4052x27,_0x4052x28){var _0x4052x29=this[_0x22ac[53]][_0x22ac[52]];var _0x4052x2a=this[_0x22ac[53]][_0x22ac[71]];var _0x4052x1b=this[_0x22ac[82]];var _0x4052x9=_0x4052x29*this[_0x22ac[79]];var _0x4052x2b=this[_0x22ac[53]][_0x22ac[159]]();_0x4052x27=_0x4052x2b[_0x22ac[95]];_0x4052x28=_0x4052x2b[_0x22ac[96]];var _0x4052x15= new mxRectangle(_0x4052x29*_0x4052x2a[_0x22ac[70]],_0x4052x29*_0x4052x2a[_0x22ac[73]],_0x4052x1b[_0x22ac[95]]*_0x4052x9,_0x4052x1b[_0x22ac[96]]*_0x4052x9);_0x4052x26=_0x4052x26&&Math[_0x22ac[161]](_0x4052x15[_0x22ac[95]],_0x4052x15[_0x22ac[96]])>this[_0x22ac[201]];var _0x4052x2c=(_0x4052x26)?Math[_0x22ac[164]](_0x4052x27/_0x4052x15[_0x22ac[95]])-1:0;var _0x4052x2d=(_0x4052x26)?Math[_0x22ac[164]](_0x4052x28/_0x4052x15[_0x22ac[96]])-1:0;var _0x4052x2e=_0x4052x2b[_0x22ac[70]]+_0x4052x27;var _0x4052x2f=_0x4052x2b[_0x22ac[73]]+_0x4052x28;if(this[_0x22ac[202]]==null&&_0x4052x2c>0){this[_0x22ac[202]]=[]};if(this[_0x22ac[202]]!=null){for(var _0x4052x30=0;_0x4052x30<=_0x4052x2c;_0x4052x30++){var _0x4052x31=[ new mxPoint(_0x4052x2b[_0x22ac[70]]+(_0x4052x30+1)*_0x4052x15[_0x22ac[95]],_0x4052x2b[_0x22ac[73]]), new mxPoint(_0x4052x2b[_0x22ac[70]]+(_0x4052x30+1)*_0x4052x15[_0x22ac[95]],_0x4052x2f)];if(this[_0x22ac[202]][_0x4052x30]!=null){this[_0x22ac[202]][_0x4052x30][_0x22ac[52]]=1;this[_0x22ac[202]][_0x4052x30][_0x22ac[203]]=_0x4052x31;this[_0x22ac[202]][_0x4052x30][_0x22ac[179]]()}else {var _0x4052x32= new mxPolyline(_0x4052x31,this[_0x22ac[153]],this[_0x22ac[52]]);_0x4052x32[_0x22ac[166]]=this[_0x22ac[166]];_0x4052x32[_0x22ac[204]]=this[_0x22ac[205]];_0x4052x32[_0x22ac[206]]=false;_0x4052x32[_0x22ac[52]]=_0x4052x29;_0x4052x32[_0x22ac[12]](this[_0x22ac[53]][_0x22ac[178]]);_0x4052x32[_0x22ac[179]]();this[_0x22ac[202]][_0x4052x30]=_0x4052x32}};for(var _0x4052x30=_0x4052x2c;_0x4052x30<this[_0x22ac[202]][_0x22ac[83]];_0x4052x30++){this[_0x22ac[202]][_0x4052x30][_0x22ac[177]]()};this[_0x22ac[202]][_0x22ac[207]](_0x4052x2c,this[_0x22ac[202]][_0x22ac[83]]-_0x4052x2c)};if(this[_0x22ac[208]]==null&&_0x4052x2d>0){this[_0x22ac[208]]=[]};if(this[_0x22ac[208]]!=null){for(var _0x4052x30=0;_0x4052x30<=_0x4052x2d;_0x4052x30++){var _0x4052x31=[ new mxPoint(_0x4052x2b[_0x22ac[70]],_0x4052x2b[_0x22ac[73]]+(_0x4052x30+1)*_0x4052x15[_0x22ac[96]]), new mxPoint(_0x4052x2e,_0x4052x2b[_0x22ac[73]]+(_0x4052x30+1)*_0x4052x15[_0x22ac[96]])];if(this[_0x22ac[208]][_0x4052x30]!=null){this[_0x22ac[208]][_0x4052x30][_0x22ac[52]]=1;this[_0x22ac[208]][_0x4052x30][_0x22ac[203]]=_0x4052x31;this[_0x22ac[208]][_0x4052x30][_0x22ac[179]]()}else {var _0x4052x32= new mxPolyline(_0x4052x31,this[_0x22ac[153]],_0x4052x29);_0x4052x32[_0x22ac[166]]=this[_0x22ac[166]];_0x4052x32[_0x22ac[204]]=this[_0x22ac[205]];_0x4052x32[_0x22ac[206]]=false;_0x4052x32[_0x22ac[52]]=_0x4052x29;_0x4052x32[_0x22ac[12]](this[_0x22ac[53]][_0x22ac[178]]);_0x4052x32[_0x22ac[179]]();this[_0x22ac[208]][_0x4052x30]=_0x4052x32}};for(var _0x4052x30=_0x4052x2d;_0x4052x30<this[_0x22ac[208]][_0x22ac[83]];_0x4052x30++){this[_0x22ac[208]][_0x4052x30][_0x22ac[177]]()};this[_0x22ac[208]][_0x22ac[207]](_0x4052x2d,this[_0x22ac[208]][_0x22ac[83]]-_0x4052x2d)}};mxEdgeHandler[_0x22ac[44]][_0x22ac[209]]=true;mxGraphHandler[_0x22ac[44]][_0x22ac[58]]=true;var _0x4052x33=mxGraphHandler[_0x22ac[44]][_0x22ac[210]];mxGraphHandler[_0x22ac[44]][_0x22ac[210]]=function(_0x4052x34,_0x4052x35,_0x4052x14){for(var _0x4052x30=0;_0x4052x30<_0x4052x35[_0x22ac[83]];_0x4052x30++){if(this[_0x22ac[14]][_0x22ac[36]]()[_0x22ac[211]](_0x4052x35[_0x4052x30])){var _0x4052x36=this[_0x22ac[14]][_0x22ac[212]](_0x4052x35[_0x4052x30]);if(_0x4052x36!=null&&_0x4052x36[_0x22ac[213]]){return false}}};return _0x4052x33[_0x22ac[33]](this,arguments)};mxGuide[_0x22ac[44]][_0x22ac[214]]=function(_0x4052x14){return !mxEvent[_0x22ac[215]](_0x4052x14)};mxPopupMenuAddItem=mxPopupMenu[_0x22ac[44]][_0x22ac[216]];mxPopupMenu[_0x22ac[44]][_0x22ac[216]]=function(_0x4052x37,_0x4052x38,_0x4052x39,_0x4052x34,_0x4052x3a,_0x4052x3b){var _0x4052x3c=mxPopupMenuAddItem[_0x22ac[33]](this,arguments);if(_0x4052x3b!=null&& !_0x4052x3b){mxEvent[_0x22ac[35]](_0x4052x3c,_0x22ac[217],function(_0x4052x14){mxEvent[_0x22ac[218]](_0x4052x14)})};return _0x4052x3c};var _0x4052x3d=mxGraphHandler[_0x22ac[44]][_0x22ac[219]];mxGraphHandler[_0x22ac[44]][_0x22ac[219]]=function(_0x4052x3e){var _0x4052x3f=this[_0x22ac[14]][_0x22ac[36]]();var _0x4052x40=_0x4052x3f[_0x22ac[221]](this[_0x22ac[14]][_0x22ac[220]]());var _0x4052x41=_0x4052x3d[_0x22ac[33]](this,arguments);var _0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x41);if(_0x4052x40==null||(_0x4052x40!=_0x4052x41&&_0x4052x40!=_0x4052x34)){while(!this[_0x22ac[14]][_0x22ac[222]](_0x4052x41)&&!this[_0x22ac[14]][_0x22ac[222]](_0x4052x34)&&_0x4052x3f[_0x22ac[211]](_0x4052x34)&&!this[_0x22ac[14]][_0x22ac[223]](_0x4052x34)){_0x4052x41=_0x4052x34;_0x4052x34=this[_0x22ac[14]][_0x22ac[36]]()[_0x22ac[221]](_0x4052x41)}};return _0x4052x41};var _0x4052x42=mxGraphHandler[_0x22ac[44]][_0x22ac[224]];mxGraphHandler[_0x22ac[44]][_0x22ac[224]]=function(_0x4052x41){var _0x4052x3c=_0x4052x42[_0x22ac[33]](this,arguments);var _0x4052x3f=this[_0x22ac[14]][_0x22ac[36]]();var _0x4052x40=_0x4052x3f[_0x22ac[221]](this[_0x22ac[14]][_0x22ac[220]]());var _0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x41);if(_0x4052x40==null||(_0x4052x40!=_0x4052x41&&_0x4052x40!=_0x4052x34)){if(!this[_0x22ac[14]][_0x22ac[222]](_0x4052x41)&&_0x4052x3f[_0x22ac[211]](_0x4052x34)&&!this[_0x22ac[14]][_0x22ac[223]](_0x4052x34)){_0x4052x3c=true}};return _0x4052x3c};mxGraphHandler[_0x22ac[44]][_0x22ac[225]]=function(_0x4052x3e){var _0x4052x41=_0x4052x3e[_0x22ac[226]]();if(_0x4052x41==null){_0x4052x41=this[_0x22ac[227]]};var _0x4052x3f=this[_0x22ac[14]][_0x22ac[36]]();var _0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x41);while(this[_0x22ac[14]][_0x22ac[222]](_0x4052x41)&&_0x4052x3f[_0x22ac[211]](_0x4052x34)&&!this[_0x22ac[14]][_0x22ac[223]](_0x4052x34)){_0x4052x41=_0x4052x34;_0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x41)};this[_0x22ac[14]][_0x22ac[229]](_0x4052x41,_0x4052x3e[_0x22ac[228]]())};mxPanningHandler[_0x22ac[44]][_0x22ac[230]]=function(_0x4052x3e){var _0x4052x41=_0x4052x3e[_0x22ac[226]]();var _0x4052x3f=this[_0x22ac[14]][_0x22ac[36]]();var _0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x41);while(_0x4052x3f[_0x22ac[211]](_0x4052x34)&&!this[_0x22ac[14]][_0x22ac[223]](_0x4052x34)){if(this[_0x22ac[14]][_0x22ac[222]](_0x4052x34)){_0x4052x41=_0x4052x34};_0x4052x34=_0x4052x3f[_0x22ac[221]](_0x4052x34)};return _0x4052x41}};Editor[_0x22ac[44]][_0x22ac[18]]=function(){var _0x4052xe=this[_0x22ac[14]];var _0x4052x43= new mxUndoManager();var _0x4052x44=function(_0x4052x45,_0x4052x14){_0x4052x43[_0x22ac[233]](_0x4052x14[_0x22ac[232]](_0x22ac[231]))};_0x4052xe[_0x22ac[36]]()[_0x22ac[35]](mxEvent.UNDO,_0x4052x44);_0x4052xe[_0x22ac[234]]()[_0x22ac[35]](mxEvent.UNDO,_0x4052x44);var _0x4052x46=function(_0x4052x45,_0x4052x14){var _0x4052x47=_0x4052xe[_0x22ac[236]](_0x4052x14[_0x22ac[232]](_0x22ac[231])[_0x22ac[235]]);var _0x4052x35=[];for(var _0x4052x30=1;_0x4052x30<_0x4052x47[_0x22ac[83]];_0x4052x30++){if(_0x4052xe[_0x22ac[53]][_0x22ac[237]](_0x4052x47[_0x4052x30])!=null){_0x4052x35[_0x22ac[238]](_0x4052x47[_0x4052x30])}};_0x4052xe[_0x22ac[239]](_0x4052x35)};_0x4052x43[_0x22ac[35]](mxEvent.UNDO,_0x4052x46);_0x4052x43[_0x22ac[35]](mxEvent.REDO,_0x4052x46);return _0x4052x43};Editor[_0x22ac[44]][_0x22ac[13]]=function(){mxStencilRegistry[_0x22ac[241]](STENCIL_PATH+_0x22ac[240])};(function(){mxStencilRegistry[_0x22ac[242]]={};mxStencilRegistry[_0x22ac[243]]=[];mxStencilRegistry[_0x22ac[244]]=function(_0x4052x48){var _0x4052x3c=mxStencilRegistry[_0x22ac[245]][_0x4052x48];if(_0x4052x3c==null){var _0x4052x49=mxStencilRegistry[_0x22ac[246]](_0x4052x48);if(_0x4052x49!=null){var _0x4052x4a=mxStencilRegistry[_0x22ac[242]][_0x4052x49];if(_0x4052x4a!=null){if(mxStencilRegistry[_0x22ac[243]][_0x4052x49]==null){mxStencilRegistry[_0x22ac[243]][_0x4052x49]=1;for(var _0x4052x30=0;_0x4052x30<_0x4052x4a[_0x22ac[83]];_0x4052x30++){var _0x4052x4b=_0x4052x4a[_0x4052x30];if(_0x4052x4b[_0x22ac[248]]()[_0x22ac[247]](_0x4052x4b[_0x22ac[83]]-4,_0x4052x4b[_0x22ac[83]])==_0x22ac[25]){mxStencilRegistry[_0x22ac[241]](_0x4052x4b,null)}else {if(_0x4052x4b[_0x22ac[248]]()[_0x22ac[247]](_0x4052x4b[_0x22ac[83]]-3,_0x4052x4b[_0x22ac[83]])==_0x22ac[249]){var _0x4052x4c=mxUtils[_0x22ac[250]](_0x4052x4b);if(_0x4052x4c!=null){eval[_0x22ac[11]](window,_0x4052x4c[_0x22ac[251]]())}}else {}}}}}else {mxStencilRegistry[_0x22ac[241]](STENCIL_PATH+_0x22ac[252]+_0x4052x49+_0x22ac[25],null)};_0x4052x3c=mxStencilRegistry[_0x22ac[245]][_0x4052x48]}};return _0x4052x3c};mxStencilRegistry[_0x22ac[246]]=function(_0x4052x48){var _0x4052x4d=_0x4052x48[_0x22ac[254]](_0x22ac[253]);var _0x4052x4e=null;if(_0x4052x4d[_0x22ac[83]]>0&&_0x4052x4d[0]==_0x22ac[255]){_0x4052x4e=_0x4052x4d[1];for(var _0x4052x30=2;_0x4052x30<_0x4052x4d[_0x22ac[83]]-1;_0x4052x30++){_0x4052x4e+=_0x22ac[252]+_0x4052x4d[_0x4052x30]}};return _0x4052x4e};mxStencilRegistry[_0x22ac[241]]=function(_0x4052x4f,_0x4052x50,_0x4052x51){_0x4052x51=(_0x4052x51!=null)?_0x4052x51:false;var _0x4052x52=mxStencilRegistry[_0x22ac[243]][_0x4052x4f];if(_0x4052x51||_0x4052x52==null){var _0x4052x53=false;if(_0x4052x52==null){var _0x4052x4c=mxUtils[_0x22ac[250]](_0x4052x4f);_0x4052x52=_0x4052x4c[_0x22ac[256]]();mxStencilRegistry[_0x22ac[243]][_0x4052x4f]=_0x4052x52;_0x4052x53=true};mxStencilRegistry[_0x22ac[257]](_0x4052x52,_0x4052x50,_0x4052x53)}};mxStencilRegistry[_0x22ac[257]]=function(_0x4052x54,_0x4052x50,_0x4052x53){_0x4052x53=(_0x4052x53!=null)?_0x4052x53:true;var _0x4052x55=_0x4052x54[_0x22ac[258]];var _0x4052x56=_0x4052x55[_0x22ac[184]];var _0x4052x57=_0x22ac[20];var _0x4052x48=_0x4052x55[_0x22ac[56]](_0x22ac[259]);if(_0x4052x48!=null){_0x4052x57=_0x4052x48+_0x22ac[253]};while(_0x4052x56!=null){if(_0x4052x56[_0x22ac[260]]==mxConstants[_0x22ac[261]]){_0x4052x48=_0x4052x56[_0x22ac[56]](_0x22ac[259]);if(_0x4052x48!=null){_0x4052x57=_0x4052x57[_0x22ac[248]]();var _0x4052x58=_0x4052x48[_0x22ac[263]](/ /g,_0x22ac[262]);if(_0x4052x53){mxStencilRegistry[_0x22ac[264]](_0x4052x57+_0x4052x58[_0x22ac[248]](), new mxStencil(_0x4052x56))};if(_0x4052x50!=null){var _0x4052x19=_0x4052x56[_0x22ac[56]](_0x22ac[265]);var _0x4052x1a=_0x4052x56[_0x22ac[56]](_0x22ac[266]);_0x4052x19=(_0x4052x19==null)?80:parseInt(_0x4052x19,10);_0x4052x1a=(_0x4052x1a==null)?80:parseInt(_0x4052x1a,10);_0x4052x50(_0x4052x57,_0x4052x58,_0x4052x48,_0x4052x19,_0x4052x1a)}}};_0x4052x56=_0x4052x56[_0x22ac[267]]}}})();OpenFile=function(_0x4052x59){this[_0x22ac[268]]=null;this[_0x22ac[269]]=null;this[_0x22ac[270]]=_0x4052x59};OpenFile[_0x22ac[44]][_0x22ac[271]]=function(_0x4052x6){this[_0x22ac[269]]=_0x4052x6;this[_0x22ac[272]]()};OpenFile[_0x22ac[44]][_0x22ac[273]]=function(_0x4052x6,_0x4052x5a){this[_0x22ac[274]]=_0x4052x6;this[_0x22ac[21]]=_0x4052x5a;this[_0x22ac[272]]()};OpenFile[_0x22ac[44]][_0x22ac[275]]=function(_0x4052x5b){this[_0x22ac[276]]();mxUtils[_0x22ac[277]](_0x4052x5b)};OpenFile[_0x22ac[44]][_0x22ac[272]]=function(){if(this[_0x22ac[269]]!=null&&this[_0x22ac[274]]!=null){this[_0x22ac[269]](this[_0x22ac[274]],this[_0x22ac[21]]);this[_0x22ac[276]]()}};OpenFile[_0x22ac[44]][_0x22ac[276]]=function(){if(this[_0x22ac[270]]!=null){this[_0x22ac[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 8b2b780..ab3ee6b 100644 --- a/public/assets/plugins/jscripty/js/EditorUi.js +++ b/public/assets/plugins/jscripty/js/EditorUi.js @@ -1 +1 @@ -var _0x596e=["\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(_0x909cx1,_0x909cx2){this[_0x596e[0]]=_0x909cx1|| new Editor();this[_0x596e[1]]=_0x909cx2||document[_0x596e[3]](_0x596e[2]);var _0x909cx3=_0x909cx1[_0x596e[4]];var _0x909cx4=this;this[_0x596e[1]][_0x596e[6]][_0x596e[5]]=_0x596e[7]; new Image()[_0x596e[8]]=mxPopupMenu[_0x596e[10]][_0x596e[9]];if(mxConnectionHandler[_0x596e[10]][_0x596e[11]]!=null){ new Image()[_0x596e[8]]=mxConnectionHandler[_0x596e[10]][_0x596e[11]][_0x596e[8]]};this[_0x596e[12]]= new Actions(this);this[_0x596e[13]]= new Menus(this);this[_0x596e[14]]();this[_0x596e[15]]();this[_0x596e[16]]();var _0x909cx5=mxUtils[_0x596e[20]](this,function(_0x909cx6){if(_0x909cx6==null){_0x909cx6=window[_0x596e[17]]};if(this[_0x596e[18]](_0x909cx6)){return true};return _0x909cx3[_0x596e[19]]()});if(this[_0x596e[1]]==document[_0x596e[21]]){this[_0x596e[23]][_0x596e[22]]=_0x909cx5;this[_0x596e[23]][_0x596e[24]]=_0x909cx5;this[_0x596e[25]][_0x596e[22]]=_0x909cx5;this[_0x596e[25]][_0x596e[24]]=_0x909cx5;this[_0x596e[26]][_0x596e[22]]=_0x909cx5;this[_0x596e[26]][_0x596e[24]]=_0x909cx5;this[_0x596e[27]][_0x596e[22]]=_0x909cx5;this[_0x596e[27]][_0x596e[24]]=_0x909cx5;this[_0x596e[28]][_0x596e[22]]=_0x909cx5;this[_0x596e[28]][_0x596e[24]]=_0x909cx5};if(mxClient[_0x596e[29]]&&( typeof (document[_0x596e[30]])===_0x596e[31]||document[_0x596e[30]]<9)){mxEvent[_0x596e[33]](this[_0x596e[26]],_0x596e[32],_0x909cx5);mxEvent[_0x596e[33]](this[_0x596e[27]],_0x596e[32],_0x909cx5)}else {this[_0x596e[26]][_0x596e[34]]=_0x909cx5;this[_0x596e[27]][_0x596e[34]]=_0x909cx5};_0x909cx3[_0x596e[35]](this[_0x596e[26]]);_0x909cx3[_0x596e[15]]();_0x909cx3[_0x596e[1]][_0x596e[38]](_0x596e[36],_0x596e[37]);_0x909cx3[_0x596e[1]][_0x596e[6]][_0x596e[39]]=_0x596e[40];_0x909cx3[_0x596e[1]][_0x596e[6]][_0x596e[41]]=_0x596e[42]+_0x909cx1[_0x596e[43]]+_0x596e[44];_0x909cx3[_0x596e[1]][_0x596e[6]][_0x596e[45]]=_0x596e[46];_0x909cx3[_0x596e[1]][_0x596e[47]]();var _0x909cx7=_0x909cx3[_0x596e[48]];_0x909cx3[_0x596e[48]]=function(_0x909cx8,_0x909cx9,_0x909cxa){if(_0x909cx8==mxEvent[_0x596e[49]]){this[_0x596e[1]][_0x596e[47]]()};_0x909cx7[_0x596e[50]](this,arguments)};this[_0x596e[58]](_0x909cx3[_0x596e[51]],[_0x596e[52],_0x596e[53],_0x596e[54],_0x596e[55],_0x596e[56]],[[1,1],[0,0],[1,1],[1,_0x596e[57]],[1,_0x596e[57]]],[[0,0],[1,_0x596e[57]],[1,_0x596e[57]],[1,_0x596e[57]],[1,_0x596e[57]]]);_0x909cx3[_0x596e[59]]=function(_0x909cx6,_0x909cxb){var _0x909cxc=[_0x596e[55]];var _0x909cxd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x596e[17],_0x909cx6,_0x596e[60],_0x909cxb);this[_0x596e[61]](_0x909cxd);if(this[_0x596e[62]]()&&!mxEvent[_0x596e[63]](_0x909cx6)&&!_0x909cxd[_0x596e[63]]()){if(this[_0x596e[65]]()[_0x596e[64]](_0x909cxb)){if(_0x909cxc[_0x596e[69]](_0x909cxb[_0x596e[68]][_0x596e[67]][_0x596e[66]])>=0){this[_0x596e[70]](_0x909cxb)}}else {if(this[_0x596e[65]]()[_0x596e[71]](_0x909cxb)){console[_0x596e[72]](_0x909cx4);console[_0x596e[72]](_0x909cxb);_0x909cx4[_0x596e[73]]( new GeneralDialog(_0x909cx4,_0x909cxb)[_0x596e[1]],320,280,true,true)}};_0x909cxd[_0x596e[74]]()}};_0x909cx3[_0x596e[76]][_0x596e[75]]=true;_0x909cx3[_0x596e[76]][_0x596e[77]]=mxUtils[_0x596e[20]](this,function(_0x909cxe,_0x909cxb,_0x909cx6){this[_0x596e[13]][_0x596e[78]](_0x909cxe,_0x909cxb,_0x909cx6)});_0x909cx1[_0x596e[80]][_0x596e[35]](this[_0x596e[79]]);mxEvent[_0x596e[82]](document,mxUtils[_0x596e[20]](this,function(_0x909cx6){_0x909cx3[_0x596e[76]][_0x596e[81]]()}));if(mxClient[_0x596e[83]]){mxEvent[_0x596e[33]](_0x909cx3[_0x596e[1]],_0x596e[84],mxUtils[_0x596e[20]](this,function(_0x909cx6){_0x909cx3[_0x596e[89]][_0x596e[88]]()[_0x596e[38]](_0x596e[85],_0x596e[86]+_0x909cx6[_0x596e[87]]+_0x596e[44]);_0x909cx3[_0x596e[89]][_0x596e[91]]()[_0x596e[6]][_0x596e[90]]=_0x596e[7]}));mxEvent[_0x596e[33]](_0x909cx3[_0x596e[1]],_0x596e[92],mxUtils[_0x596e[20]](this,function(_0x909cx6){_0x909cx3[_0x596e[89]][_0x596e[88]]()[_0x596e[93]](_0x596e[85]);_0x909cx3[_0x596e[94]]=true;_0x909cx3[_0x596e[95]](_0x909cx6[_0x596e[87]]);_0x909cx3[_0x596e[89]][_0x596e[91]]()[_0x596e[6]][_0x596e[90]]=_0x596e[96]}))};var _0x909cxf=this[_0x596e[97]](_0x909cx1);this[_0x596e[98]]=function(){return _0x909cxf};mxEvent[_0x596e[33]](window,_0x596e[99],mxUtils[_0x596e[20]](this,function(){this[_0x596e[15]]();_0x909cx3[_0x596e[100]]();this[_0x596e[0]][_0x596e[80]][_0x596e[101]](false);this[_0x596e[0]][_0x596e[80]][_0x596e[80]][_0x596e[100]]()}));this[_0x596e[35]]();this[_0x596e[102]]()};EditorUi[_0x596e[10]][_0x596e[103]]=(mxClient[_0x596e[83]])?16:8;EditorUi[_0x596e[10]][_0x596e[104]]=33;EditorUi[_0x596e[10]][_0x596e[105]]=36;EditorUi[_0x596e[10]][_0x596e[106]]=28;EditorUi[_0x596e[10]][_0x596e[107]]=204;EditorUi[_0x596e[10]][_0x596e[108]]=190;EditorUi[_0x596e[10]][_0x596e[35]]=function(){this[_0x596e[109]]();this[_0x596e[110]]();var _0x909cx10=this[_0x596e[12]][_0x596e[112]](_0x596e[111]);var _0x909cx11=function(){_0x909cx10[_0x596e[114]](!mxClipboard[_0x596e[113]]())};var _0x909cx12=mxClipboard[_0x596e[115]];mxClipboard[_0x596e[115]]=function(){_0x909cx12[_0x596e[50]](this,arguments);_0x909cx11()};var _0x909cx13=mxClipboard[_0x596e[116]];mxClipboard[_0x596e[116]]=function(){_0x909cx13[_0x596e[50]](this,arguments);_0x909cx11()}};EditorUi[_0x596e[10]][_0x596e[18]]=function(_0x909cx6){return false};EditorUi[_0x596e[10]][_0x596e[102]]=function(){try{if(window[_0x596e[117]]!=null&&window[_0x596e[117]][_0x596e[118]]!=null){window[_0x596e[117]][_0x596e[118]][_0x596e[130]](mxUtils[_0x596e[20]](this,function(_0x909cx14,_0x909cx15){try{var _0x909cx16=mxUtils[_0x596e[119]](_0x909cx14);this[_0x596e[0]][_0x596e[121]](_0x909cx16[_0x596e[120]]);this[_0x596e[0]][_0x596e[122]]=false;this[_0x596e[0]][_0x596e[124]][_0x596e[123]]();if(_0x909cx15!=null){this[_0x596e[0]][_0x596e[125]]=_0x909cx15}}catch(e){mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[126])+_0x596e[127]+e[_0x596e[128]])}}))}}catch(e){}};EditorUi[_0x596e[10]][_0x596e[131]]=function(_0x909cx14,_0x909cx15,_0x909cx17){try{var _0x909cx16=mxUtils[_0x596e[119]](_0x909cx14);this[_0x596e[0]][_0x596e[121]](_0x909cx16[_0x596e[120]]);this[_0x596e[0]][_0x596e[122]]=false;this[_0x596e[0]][_0x596e[124]][_0x596e[123]]();if(_0x909cx15!=null){this[_0x596e[0]][_0x596e[125]]=_0x909cx15};if(_0x909cx17!=null){this[_0x596e[0]][_0x596e[132]]=_0x909cx17}}catch(e){mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[126])+_0x596e[127]+e[_0x596e[128]])}};EditorUi[_0x596e[10]][_0x596e[133]]=function(_0x909cx18){var _0x909cx1=this[_0x596e[0]];if(_0x909cx18!=null){var _0x909cx14=mxUtils[_0x596e[135]](this[_0x596e[0]][_0x596e[134]]());try{if(useLocalStorage){if(localStorage[_0x596e[136]](_0x909cx18)!=null&&!mxUtils[_0x596e[138]](mxResources[_0x596e[112]](_0x596e[137],[_0x909cx18]))){return};localStorage[_0x596e[139]](_0x909cx18,_0x909cx14);this[_0x596e[0]][_0x596e[142]](mxResources[_0x596e[112]](_0x596e[140])+_0x596e[141]+ new Date())}else {console[_0x596e[72]](_0x909cx14[_0x596e[143]]);console[_0x596e[72]](MAX_REQUEST_SIZE);if(_0x909cx14[_0x596e[143]]<MAX_REQUEST_SIZE){_0x909cx14=encodeURIComponent(_0x909cx14);_0x909cx18=encodeURIComponent(_0x909cx18);var _0x909cx19= new XMLHttpRequest();_0x909cx19[_0x596e[102]](_0x596e[144],SAVE_URL,true);_0x909cx19[_0x596e[147]](_0x596e[145],_0x596e[146]);_0x909cx19[_0x596e[147]](_0x596e[148],_0x596e[149]+_0x909cx1[_0x596e[132]][_0x596e[150]]);_0x909cx19[_0x596e[151]]=function(_0x909cx1a){if(_0x909cx19[_0x596e[152]]===4){if(_0x909cx19[_0x596e[153]]===201){_0x909cx1[_0x596e[142]](_0x596e[154]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[155]]+_0x596e[158]);setTimeout(function(){window[_0x596e[102]](_0x596e[159]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[160]],_0x596e[161])},1500)}else {_0x909cx1[_0x596e[142]](_0x596e[162]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[163]][0][_0x596e[128]])}}};_0x909cx19[_0x596e[164]]=function(_0x909cx1a){mxUtils[_0x596e[129]](_0x909cx19[_0x596e[165]])};_0x909cx19[_0x596e[167]](_0x596e[166]+_0x909cx18)}else {mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[168]));mxUtils[_0x596e[169]](_0x909cx14);return}};this[_0x596e[0]][_0x596e[125]]=_0x909cx18;this[_0x596e[0]][_0x596e[122]]=false}catch(e){this[_0x596e[0]][_0x596e[142]](_0x596e[170])}}else {this[_0x596e[0]][_0x596e[142]](_0x596e[170])}};EditorUi[_0x596e[10]][_0x596e[171]]=function(_0x909cx18){var _0x909cx1=this[_0x596e[0]];if(_0x909cx18!=null){var _0x909cx14=mxUtils[_0x596e[135]](this[_0x596e[0]][_0x596e[134]]());try{if(useLocalStorage){if(localStorage[_0x596e[136]](_0x909cx18)!=null&&!mxUtils[_0x596e[138]](mxResources[_0x596e[112]](_0x596e[137],[_0x909cx18]))){return};localStorage[_0x596e[139]](_0x909cx18,_0x909cx14);this[_0x596e[0]][_0x596e[142]](mxResources[_0x596e[112]](_0x596e[140])+_0x596e[141]+ new Date())}else {console[_0x596e[72]](_0x909cx14[_0x596e[143]]);console[_0x596e[72]](MAX_REQUEST_SIZE);if(_0x909cx14[_0x596e[143]]<MAX_REQUEST_SIZE){_0x909cx14=encodeURIComponent(_0x909cx14);var _0x909cx19= new XMLHttpRequest();_0x909cx19[_0x596e[102]](_0x596e[172],SAVE_URL+this[_0x596e[0]][_0x596e[132]][_0x596e[160]],true);_0x909cx19[_0x596e[147]](_0x596e[145],_0x596e[146]);_0x909cx19[_0x596e[147]](_0x596e[148],_0x596e[149]+_0x909cx1[_0x596e[132]][_0x596e[150]]);_0x909cx19[_0x596e[151]]=function(_0x909cx1a){if(_0x909cx19[_0x596e[152]]===4){if(_0x909cx19[_0x596e[153]]===200){_0x909cx1[_0x596e[142]](_0x596e[173]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[174]]+_0x596e[175]+_0x909cx19[_0x596e[153]]+_0x596e[141]+_0x909cx19[_0x596e[165]]+_0x596e[44])}else {_0x909cx1[_0x596e[142]](_0x596e[176]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[163]][0][_0x596e[128]])}}};_0x909cx19[_0x596e[164]]=function(_0x909cx1a){mxUtils[_0x596e[129]](_0x909cx19[_0x596e[165]])};_0x909cx19[_0x596e[167]](_0x596e[177]+_0x909cx14)}else {mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[168]));mxUtils[_0x596e[169]](_0x909cx14);return}};this[_0x596e[0]][_0x596e[125]]=_0x909cx18;this[_0x596e[0]][_0x596e[122]]=false}catch(e){this[_0x596e[0]][_0x596e[142]](_0x596e[178])}}else {this[_0x596e[0]][_0x596e[142]](_0x596e[178])}};EditorUi[_0x596e[10]][_0x596e[179]]=function(_0x909cx18){var _0x909cx1=this[_0x596e[0]];console[_0x596e[72]](_0x909cx18);if(_0x909cx18!=null){var _0x909cx14=mxUtils[_0x596e[135]](this[_0x596e[0]][_0x596e[134]]());try{if(useLocalStorage){if(localStorage[_0x596e[136]](_0x909cx18)!=null&&!mxUtils[_0x596e[138]](mxResources[_0x596e[112]](_0x596e[137],[_0x909cx18]))){return};localStorage[_0x596e[139]](_0x909cx18,_0x909cx14);this[_0x596e[0]][_0x596e[142]](mxResources[_0x596e[112]](_0x596e[140])+_0x596e[141]+ new Date())}else {console[_0x596e[72]](_0x909cx14[_0x596e[143]]);console[_0x596e[72]](MAX_REQUEST_SIZE);if(_0x909cx14[_0x596e[143]]<MAX_REQUEST_SIZE){_0x909cx14=encodeURIComponent(_0x909cx14);_0x909cx18=encodeURIComponent(_0x909cx18);var _0x909cx19= new XMLHttpRequest();_0x909cx19[_0x596e[102]](_0x596e[144],SAVE_URL,true);_0x909cx19[_0x596e[147]](_0x596e[145],_0x596e[146]);_0x909cx19[_0x596e[147]](_0x596e[148],_0x596e[149]+_0x909cx1[_0x596e[132]][_0x596e[150]]);_0x909cx19[_0x596e[151]]=function(_0x909cx1a){if(_0x909cx19[_0x596e[152]]===4){if(_0x909cx19[_0x596e[153]]===201){_0x909cx1[_0x596e[142]](_0x596e[154]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[155]]+_0x596e[158]);setTimeout(function(){window[_0x596e[102]](_0x596e[180]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[160]],_0x596e[161])},1500)}else {_0x909cx1[_0x596e[142]](_0x596e[181]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[163]][0][_0x596e[128]])}}};_0x909cx19[_0x596e[164]]=function(_0x909cx1a){mxUtils[_0x596e[129]](_0x909cx19[_0x596e[165]])};_0x909cx19[_0x596e[167]](_0x596e[182]+_0x909cx18+_0x596e[183]+_0x909cx14+_0x596e[184]+_0x909cx14)}else {mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[168]));mxUtils[_0x596e[169]](_0x909cx14);return}};this[_0x596e[0]][_0x596e[125]]=_0x909cx18;this[_0x596e[0]][_0x596e[122]]=false}catch(e){this[_0x596e[0]][_0x596e[142]](_0x596e[178])}}else {this[_0x596e[0]][_0x596e[142]](_0x596e[178])}};EditorUi[_0x596e[10]][_0x596e[185]]=function(_0x909cx1b,_0x909cx1c){var _0x909cx3=this[_0x596e[0]][_0x596e[4]];_0x909cx1b=null!=_0x909cx1b?_0x909cx1b:_0x909cx3[_0x596e[187]][_0x596e[186]]();_0x909cx1c=null!=_0x909cx1c?_0x909cx1c:{};for(var _0x909cx1d=!0,_0x909cx1e=_0x909cx3[_0x596e[187]][_0x596e[188]](_0x909cx1b),_0x909cx1a=0;_0x909cx1a<_0x909cx1e;_0x909cx1a++){var _0x909cx1f=_0x909cx3[_0x596e[187]][_0x596e[189]](_0x909cx1b,_0x909cx1a),_0x909cx20=_0x909cx1c;_0x909cx3[_0x596e[190]](_0x909cx1f)&&(_0x909cx20={});_0x909cx20=this[_0x596e[185]](_0x909cx1f,_0x909cx20);null!=_0x909cx20?_0x909cx3[_0x596e[192]](_0x909cx1f,_0x909cx20[_0x596e[137]](/\n/g,_0x596e[191])):_0x909cx3[_0x596e[192]](_0x909cx1f,null);_0x909cx1d=_0x909cx1d&&null==_0x909cx20};_0x909cx1e=_0x596e[193];if(_0x909cx3[_0x596e[187]][_0x596e[71]](_0x909cx1b)){switch(_0x909cx1b[_0x596e[67]][_0x596e[201]]){case _0x596e[55]:_0x909cx1e=(_0x909cx1b[_0x596e[67]][_0x596e[194]](_0x596e[55])!==_0x596e[193])?_0x596e[193]:_0x596e[195]+_0x596e[196];_0x909cx1e+=(_0x909cx1b[_0x596e[67]][_0x596e[194]](_0x596e[197])!==_0x596e[193])?_0x596e[193]:_0x596e[198]+_0x596e[196];break;case _0x596e[54]:_0x909cx1e=(_0x909cx1b[_0x596e[67]][_0x596e[194]](_0x596e[55])!==_0x596e[193])?_0x596e[193]:_0x596e[195]+_0x596e[196];_0x909cx1e+=(_0x909cx1b[_0x596e[67]][_0x596e[194]](_0x596e[197])!==_0x596e[193])?_0x596e[193]:_0x596e[198]+_0x596e[196];break;case _0x596e[52]:_0x909cx1e=this[_0x596e[199]](_0x596e[52])?_0x596e[193]:_0x596e[200]+_0x596e[196];_0x909cx1e+=(_0x909cx1b[_0x596e[67]][_0x596e[194]](_0x596e[197])!==_0x596e[193])?_0x596e[193]:_0x596e[198]+_0x596e[196];break}};if(_0x909cx3[_0x596e[187]][_0x596e[64]](_0x909cx1b)){var _0x909cx21=_0x909cx3[_0x596e[187]][_0x596e[203]](_0x909cx1b[_0x596e[68]][_0x596e[202]]());switch(_0x909cx21[_0x596e[67]][_0x596e[201]]){case _0x596e[55]:var _0x909cx22=String(_0x909cx1b[_0x596e[204]]());console[_0x596e[72]](_0x909cx22);if(_0x909cx22===_0x596e[205]||_0x909cx22===_0x596e[31]){_0x909cx1e=_0x596e[206]+_0x596e[196]}else {var _0x909cx23=_0x909cx22[_0x596e[208]](_0x596e[207]);_0x909cx23[_0x596e[212]](function(_0x909cx24,_0x909cx25){_0x909cx1e=_0x909cx1e+((_0x909cx24[_0x596e[209]]()!==_0x596e[193])?_0x596e[193]:_0x596e[210]+(_0x909cx25+1)+_0x596e[211]+_0x596e[196])})};break}};_0x909cx3[_0x596e[213]](_0x909cx1b)&&!_0x909cx1d&&(_0x909cx1e+=(mxResources[_0x596e[112]](_0x909cx3[_0x596e[214]])||_0x909cx3[_0x596e[214]])+_0x596e[196]);_0x909cx1e=_0x909cx3[_0x596e[187]][_0x596e[64]](_0x909cx1b)?_0x909cx1e+(_0x909cx3[_0x596e[216]](_0x909cx1b,_0x909cx3[_0x596e[187]][_0x596e[215]](_0x909cx1b,!0),_0x909cx3[_0x596e[187]][_0x596e[215]](_0x909cx1b,!1))||_0x596e[193]):_0x909cx1e+(_0x909cx3[_0x596e[217]](_0x909cx1b)||_0x596e[193]);_0x909cx1a=_0x909cx3[_0x596e[218]](_0x909cx1b,_0x909cx1c);null!=_0x909cx1a&&(_0x909cx1e+=_0x909cx1a);null==_0x909cx3[_0x596e[187]][_0x596e[219]](_0x909cx1b)&&_0x909cx3[_0x596e[89]][_0x596e[185]]();return 0<_0x909cx1e[_0x596e[143]]||!_0x909cx1d?_0x909cx1e:null};EditorUi[_0x596e[10]][_0x596e[199]]=function(_0x909cx26){var _0x909cx3=this[_0x596e[0]][_0x596e[4]];var _0x909cx27=_0x909cx3[_0x596e[220]]();var _0x909cx28=0;_0x909cx27[_0x596e[221]][_0x596e[212]](function(_0x909cx29){if(_0x909cx3[_0x596e[187]][_0x596e[71]](_0x909cx29)&&_0x909cx29[_0x596e[67]][_0x596e[201]]==_0x909cx26){_0x909cx28++}});return _0x909cx28>1?false:true};EditorUi[_0x596e[10]][_0x596e[222]]=function(_0x909cx18){var _0x909cx1=this[_0x596e[0]];if(_0x909cx18!=null){var _0x909cx2a=this[_0x596e[185]]();if(_0x909cx2a===null){var _0x909cx14=mxUtils[_0x596e[135]](this[_0x596e[0]][_0x596e[134]]());try{if(useLocalStorage){if(localStorage[_0x596e[136]](_0x909cx18)!=null&&!mxUtils[_0x596e[138]](mxResources[_0x596e[112]](_0x596e[137],[_0x909cx18]))){return};localStorage[_0x596e[139]](_0x909cx18,_0x909cx14);this[_0x596e[0]][_0x596e[142]](mxResources[_0x596e[112]](_0x596e[140])+_0x596e[141]+ new Date())}else {console[_0x596e[72]](_0x909cx14[_0x596e[143]]);console[_0x596e[72]](MAX_REQUEST_SIZE);if(_0x909cx14[_0x596e[143]]<MAX_REQUEST_SIZE){_0x909cx14=encodeURIComponent(_0x909cx14);var _0x909cx19= new XMLHttpRequest();_0x909cx19[_0x596e[102]](_0x596e[172],SAVE_URL+this[_0x596e[0]][_0x596e[132]][_0x596e[160]],true);_0x909cx19[_0x596e[147]](_0x596e[145],_0x596e[146]);_0x909cx19[_0x596e[147]](_0x596e[148],_0x596e[149]+_0x909cx1[_0x596e[132]][_0x596e[150]]);_0x909cx19[_0x596e[151]]=function(_0x909cx1a){if(_0x909cx19[_0x596e[152]]===4){if(_0x909cx19[_0x596e[153]]===200){_0x909cx1[_0x596e[142]](_0x596e[223]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[174]]+_0x596e[175]+_0x909cx19[_0x596e[153]]+_0x596e[141]+_0x909cx19[_0x596e[165]]+_0x596e[44])}else {_0x909cx1[_0x596e[142]](_0x596e[176]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[163]][0][_0x596e[128]])}}};_0x909cx19[_0x596e[164]]=function(_0x909cx1a){mxUtils[_0x596e[129]](_0x909cx19[_0x596e[165]])};_0x909cx19[_0x596e[167]](_0x596e[177]+_0x909cx14+_0x596e[184]+_0x909cx14)}else {mxUtils[_0x596e[129]](mxResources[_0x596e[112]](_0x596e[168]));mxUtils[_0x596e[169]](_0x909cx14);return}};this[_0x596e[0]][_0x596e[125]]=_0x909cx18;this[_0x596e[0]][_0x596e[122]]=false}catch(e){this[_0x596e[0]][_0x596e[142]](_0x596e[224])}}else {_0x909cx1[_0x596e[142]](_0x596e[225])}}else {this[_0x596e[0]][_0x596e[142]](_0x596e[224])}};EditorUi[_0x596e[10]][_0x596e[226]]=function(_0x909cx18){var _0x909cx1=this[_0x596e[0]];if(_0x909cx18!=null){try{var _0x909cx19= new XMLHttpRequest();_0x909cx19[_0x596e[102]](_0x596e[144],VARIABLE_URL,true);_0x909cx19[_0x596e[147]](_0x596e[145],_0x596e[146]);_0x909cx19[_0x596e[147]](_0x596e[148],_0x596e[149]+_0x909cx1[_0x596e[132]][_0x596e[150]]);_0x909cx19[_0x596e[151]]=function(_0x909cx1a){if(_0x909cx19[_0x596e[152]]===4){if(_0x909cx19[_0x596e[153]]===201){_0x909cx1[_0x596e[142]](_0x596e[227]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[228]]+_0x596e[175]+_0x909cx19[_0x596e[153]]+_0x596e[141]+_0x909cx19[_0x596e[165]]+_0x596e[44])}else {_0x909cx1[_0x596e[142]](_0x596e[181]+JSON[_0x596e[157]](_0x909cx19[_0x596e[156]])[_0x596e[163]][0][_0x596e[128]])}}};_0x909cx19[_0x596e[164]]=function(_0x909cx1a){mxUtils[_0x596e[129]](_0x909cx19[_0x596e[165]])};_0x909cx19[_0x596e[167]](_0x596e[229]+_0x909cx18)}catch(e){this[_0x596e[0]][_0x596e[142]](_0x596e[230])}}else {this[_0x596e[0]][_0x596e[142]](_0x596e[230])}};EditorUi[_0x596e[10]][_0x596e[231]]=function(_0x909cx2b){var _0x909cx2c=(_0x909cx2b!=null)?_0x909cx2b:window[_0x596e[233]][_0x596e[232]];var _0x909cx2d=(_0x909cx2c[_0x596e[69]](_0x596e[234])>0)?1:0;for(var _0x909cx25 in urlParams){if(_0x909cx2d==0){_0x909cx2c+=_0x596e[234]}else {_0x909cx2c+=_0x596e[235]};_0x909cx2c+=_0x909cx25+_0x596e[236]+urlParams[_0x909cx25];_0x909cx2d++};return _0x909cx2c};EditorUi[_0x596e[10]][_0x596e[109]]=function(){var _0x909cx2e=this[_0x596e[12]][_0x596e[112]](_0x596e[237]);var _0x909cx2f=this[_0x596e[12]][_0x596e[112]](_0x596e[238]);var _0x909cx30=this[_0x596e[0]][_0x596e[124]];var _0x909cx31=function(){_0x909cx2e[_0x596e[114]](_0x909cx30[_0x596e[239]]());_0x909cx2f[_0x596e[114]](_0x909cx30[_0x596e[240]]())};_0x909cx30[_0x596e[33]](mxEvent.ADD,_0x909cx31);_0x909cx30[_0x596e[33]](mxEvent.UNDO,_0x909cx31);_0x909cx30[_0x596e[33]](mxEvent.REDO,_0x909cx31);_0x909cx30[_0x596e[33]](mxEvent.CLEAR,_0x909cx31);_0x909cx31()};EditorUi[_0x596e[10]][_0x596e[110]]=function(){var _0x909cx32=mxUtils[_0x596e[20]](this,function(){var _0x909cx3=this[_0x596e[0]][_0x596e[4]];var _0x909cx33=!_0x909cx3[_0x596e[241]]();var _0x909cx34=false;var _0x909cx35=false;var _0x909cx36=_0x909cx3[_0x596e[242]]();if(_0x909cx36!=null){for(var _0x909cx37=0;_0x909cx37<_0x909cx36[_0x596e[143]];_0x909cx37++){var _0x909cxb=_0x909cx36[_0x909cx37];if(_0x909cx3[_0x596e[65]]()[_0x596e[64]](_0x909cxb)){_0x909cx35=true};if(_0x909cx3[_0x596e[65]]()[_0x596e[71]](_0x909cxb)){_0x909cx34=true};if(_0x909cx35&&_0x909cx34){break}}};var _0x909cx38=[_0x596e[115],_0x596e[116],_0x596e[243],_0x596e[244],_0x596e[245],_0x596e[246],_0x596e[6],_0x596e[247],_0x596e[248],_0x596e[249],_0x596e[250],_0x596e[251],_0x596e[252],_0x596e[253],_0x596e[254]];for(var _0x909cx37=0;_0x909cx37<_0x909cx38[_0x596e[143]];_0x909cx37++){this[_0x596e[12]][_0x596e[112]](_0x909cx38[_0x909cx37])[_0x596e[114]](_0x909cx33)};this[_0x596e[12]][_0x596e[112]](_0x596e[255])[_0x596e[114]](_0x909cx35);this[_0x596e[12]][_0x596e[112]](_0x596e[256])[_0x596e[114]](_0x909cx34);this[_0x596e[12]][_0x596e[112]](_0x596e[257])[_0x596e[114]](_0x909cx34);this[_0x596e[12]][_0x596e[112]](_0x596e[259])[_0x596e[114]](_0x909cx3[_0x596e[258]]()>1);this[_0x596e[12]][_0x596e[112]](_0x596e[261])[_0x596e[114]](_0x909cx3[_0x596e[258]]()==1&&_0x909cx3[_0x596e[65]]()[_0x596e[188]](_0x909cx3[_0x596e[260]]())>0);var _0x909cx39=_0x909cx34&&_0x909cx3[_0x596e[258]]()==1;this[_0x596e[12]][_0x596e[112]](_0x596e[262])[_0x596e[114]](_0x909cx39&&_0x909cx3[_0x596e[65]]()[_0x596e[71]](_0x909cx3[_0x596e[65]]()[_0x596e[219]](_0x909cx3[_0x596e[260]]())));var _0x909cx3a=[_0x596e[263],_0x596e[264],_0x596e[265],_0x596e[266],_0x596e[267],_0x596e[268],_0x596e[269],_0x596e[270],_0x596e[271]];for(var _0x909cx37=0;_0x909cx37<_0x909cx3a[_0x596e[143]];_0x909cx37++){this[_0x596e[13]][_0x596e[112]](_0x909cx3a[_0x909cx37])[_0x596e[114]](_0x909cx33)};_0x909cx3a=[_0x596e[272],_0x596e[273],_0x596e[274]];for(var _0x909cx37=0;_0x909cx37<_0x909cx3a[_0x596e[143]];_0x909cx37++){this[_0x596e[13]][_0x596e[112]](_0x909cx3a[_0x909cx37])[_0x596e[114]](_0x909cx35)};this[_0x596e[12]][_0x596e[112]](_0x596e[275])[_0x596e[114]](_0x909cx35);this[_0x596e[13]][_0x596e[112]](_0x596e[276])[_0x596e[114]](_0x909cx3[_0x596e[258]]()>1);this[_0x596e[13]][_0x596e[112]](_0x596e[279])[_0x596e[114]](_0x909cx34||(_0x909cx35&&_0x909cx3[_0x596e[278]](_0x909cx3[_0x596e[89]][_0x596e[277]](_0x909cx3[_0x596e[260]]()))));this[_0x596e[13]][_0x596e[112]](_0x596e[282])[_0x596e[114]](_0x909cx3[_0x596e[280]]&&((_0x909cx3[_0x596e[89]][_0x596e[281]]!=null)||(_0x909cx3[_0x596e[258]]()==1&&_0x909cx3[_0x596e[190]](_0x909cx3[_0x596e[260]]()))));this[_0x596e[12]][_0x596e[112]](_0x596e[283])[_0x596e[114]](_0x909cx3[_0x596e[89]][_0x596e[281]]!=null);this[_0x596e[12]][_0x596e[112]](_0x596e[284])[_0x596e[114]](_0x909cx3[_0x596e[89]][_0x596e[281]]!=null);var _0x909cx3b=_0x909cx3[_0x596e[258]]()==1&&_0x909cx3[_0x596e[190]](_0x909cx3[_0x596e[260]]());this[_0x596e[12]][_0x596e[112]](_0x596e[285])[_0x596e[114]](_0x909cx3b);this[_0x596e[12]][_0x596e[112]](_0x596e[286])[_0x596e[114]](_0x909cx3b);this[_0x596e[12]][_0x596e[112]](_0x596e[287])[_0x596e[114]](_0x909cx3b);this[_0x596e[12]][_0x596e[112]](_0x596e[288])[_0x596e[114]](_0x909cx3[_0x596e[258]]()==1);this[_0x596e[12]][_0x596e[112]](_0x596e[290])[_0x596e[114]](_0x909cx3[_0x596e[258]]()==1&&_0x909cx3[_0x596e[289]](_0x909cx3[_0x596e[260]]())!=null)});this[_0x596e[0]][_0x596e[4]][_0x596e[291]]()[_0x596e[33]](mxEvent.CHANGE,_0x909cx32);_0x909cx32()};EditorUi[_0x596e[10]][_0x596e[15]]=function(){var _0x909cx3c=mxClient[_0x596e[29]]&&(document[_0x596e[30]]==null||document[_0x596e[30]]==5);var _0x909cx3d=this[_0x596e[1]][_0x596e[292]];var _0x909cx3e=this[_0x596e[1]][_0x596e[293]];if(this[_0x596e[1]]==document[_0x596e[21]]){_0x909cx3d=document[_0x596e[21]][_0x596e[292]]||document[_0x596e[120]][_0x596e[292]];_0x909cx3e=(_0x909cx3c)?document[_0x596e[21]][_0x596e[293]]||document[_0x596e[120]][_0x596e[293]]:document[_0x596e[120]][_0x596e[293]]};var _0x909cx3f=Math[_0x596e[295]](0,Math[_0x596e[294]](this[_0x596e[107]],_0x909cx3d-this[_0x596e[103]]-20));var _0x909cx40=Math[_0x596e[295]](0,Math[_0x596e[294]](this[_0x596e[108]],_0x909cx3e-this[_0x596e[104]]-this[_0x596e[105]]-this[_0x596e[106]]-this[_0x596e[103]]-1));this[_0x596e[23]][_0x596e[6]][_0x596e[296]]=this[_0x596e[104]]+_0x596e[297];this[_0x596e[25]][_0x596e[6]][_0x596e[298]]=this[_0x596e[104]]+_0x596e[297];this[_0x596e[25]][_0x596e[6]][_0x596e[296]]=this[_0x596e[105]]+_0x596e[297];var _0x909cx41=this[_0x596e[104]]+this[_0x596e[105]];if(!mxClient[_0x596e[299]]){_0x909cx41+=1};this[_0x596e[27]][_0x596e[6]][_0x596e[298]]=_0x909cx41+_0x596e[297];this[_0x596e[27]][_0x596e[6]][_0x596e[300]]=_0x909cx3f+_0x596e[297];this[_0x596e[79]][_0x596e[6]][_0x596e[300]]=_0x909cx3f+_0x596e[297];this[_0x596e[79]][_0x596e[6]][_0x596e[296]]=_0x909cx40+_0x596e[297];this[_0x596e[79]][_0x596e[6]][_0x596e[301]]=this[_0x596e[106]]+_0x596e[297];this[_0x596e[26]][_0x596e[6]][_0x596e[302]]=(_0x909cx3f+this[_0x596e[103]])+_0x596e[297];this[_0x596e[26]][_0x596e[6]][_0x596e[298]]=this[_0x596e[27]][_0x596e[6]][_0x596e[298]];this[_0x596e[28]][_0x596e[6]][_0x596e[296]]=this[_0x596e[106]]+_0x596e[297];this[_0x596e[28]][_0x596e[6]][_0x596e[303]]=_0x596e[304];this[_0x596e[305]][_0x596e[6]][_0x596e[298]]=this[_0x596e[27]][_0x596e[6]][_0x596e[298]];this[_0x596e[305]][_0x596e[6]][_0x596e[301]]=this[_0x596e[79]][_0x596e[6]][_0x596e[301]];this[_0x596e[305]][_0x596e[6]][_0x596e[302]]=_0x909cx3f+_0x596e[297];this[_0x596e[306]][_0x596e[6]][_0x596e[300]]=this[_0x596e[27]][_0x596e[6]][_0x596e[300]];this[_0x596e[306]][_0x596e[6]][_0x596e[301]]=(_0x909cx40+this[_0x596e[106]])+_0x596e[297];if(_0x909cx3c){this[_0x596e[23]][_0x596e[6]][_0x596e[300]]=_0x909cx3d+_0x596e[297];this[_0x596e[25]][_0x596e[6]][_0x596e[300]]=this[_0x596e[23]][_0x596e[6]][_0x596e[300]];var _0x909cx42=(_0x909cx3e-_0x909cx40-this[_0x596e[103]]-this[_0x596e[106]]-this[_0x596e[104]]-this[_0x596e[105]]);this[_0x596e[27]][_0x596e[6]][_0x596e[296]]=_0x909cx42+_0x596e[297];this[_0x596e[26]][_0x596e[6]][_0x596e[300]]=(_0x909cx3d-_0x909cx3f-this[_0x596e[103]])+_0x596e[297];var _0x909cx43=(_0x909cx3e-this[_0x596e[106]]-this[_0x596e[104]]-this[_0x596e[105]]);this[_0x596e[26]][_0x596e[6]][_0x596e[296]]=_0x909cx43+_0x596e[297];this[_0x596e[28]][_0x596e[6]][_0x596e[300]]=this[_0x596e[23]][_0x596e[6]][_0x596e[300]];this[_0x596e[305]][_0x596e[6]][_0x596e[296]]=_0x909cx43+_0x596e[297]}else {this[_0x596e[27]][_0x596e[6]][_0x596e[301]]=(_0x909cx40+this[_0x596e[103]]+this[_0x596e[106]])+_0x596e[297];this[_0x596e[26]][_0x596e[6]][_0x596e[301]]=this[_0x596e[79]][_0x596e[6]][_0x596e[301]]}};EditorUi[_0x596e[10]][_0x596e[14]]=function(){this[_0x596e[23]]=this[_0x596e[308]](_0x596e[307]);this[_0x596e[25]]=this[_0x596e[308]](_0x596e[309]);this[_0x596e[27]]=this[_0x596e[308]](_0x596e[310]);this[_0x596e[79]]=this[_0x596e[308]](_0x596e[311]);this[_0x596e[26]]=this[_0x596e[308]](_0x596e[312]);this[_0x596e[28]]=this[_0x596e[308]](_0x596e[313]);this[_0x596e[305]]=this[_0x596e[308]](_0x596e[314]);this[_0x596e[306]]=this[_0x596e[308]](_0x596e[315]);this[_0x596e[23]][_0x596e[6]][_0x596e[298]]=_0x596e[316];this[_0x596e[23]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[23]][_0x596e[6]][_0x596e[317]]=_0x596e[316];this[_0x596e[25]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[25]][_0x596e[6]][_0x596e[317]]=_0x596e[316];this[_0x596e[27]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[79]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[26]][_0x596e[6]][_0x596e[317]]=_0x596e[316];this[_0x596e[28]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[28]][_0x596e[6]][_0x596e[317]]=_0x596e[316];this[_0x596e[28]][_0x596e[6]][_0x596e[301]]=_0x596e[316];this[_0x596e[306]][_0x596e[6]][_0x596e[302]]=_0x596e[316];this[_0x596e[306]][_0x596e[6]][_0x596e[296]]=this[_0x596e[103]]+_0x596e[297];this[_0x596e[305]][_0x596e[6]][_0x596e[300]]=this[_0x596e[103]]+_0x596e[297]};EditorUi[_0x596e[10]][_0x596e[16]]=function(){this[_0x596e[318]]=this[_0x596e[13]][_0x596e[320]](this[_0x596e[308]](_0x596e[319]));this[_0x596e[23]][_0x596e[321]](this[_0x596e[318]][_0x596e[1]]);this[_0x596e[322]]=this[_0x596e[324]](this[_0x596e[308]](_0x596e[323]));this[_0x596e[25]][_0x596e[321]](this[_0x596e[322]][_0x596e[1]]);this[_0x596e[325]]=this[_0x596e[326]](this[_0x596e[27]]);this[_0x596e[28]][_0x596e[321]](this[_0x596e[327]]());this[_0x596e[328]]=this[_0x596e[329]]();this[_0x596e[0]][_0x596e[33]](_0x596e[330],mxUtils[_0x596e[20]](this,function(){this[_0x596e[332]](this[_0x596e[0]][_0x596e[331]]())}));this[_0x596e[332]](this[_0x596e[0]][_0x596e[331]]());this[_0x596e[318]][_0x596e[1]][_0x596e[321]](this[_0x596e[328]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[23]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[25]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[27]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[79]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[26]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[28]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[305]]);this[_0x596e[1]][_0x596e[321]](this[_0x596e[306]]);this[_0x596e[333]](this[_0x596e[305]],true,0,mxUtils[_0x596e[20]](this,function(_0x909cx44){this[_0x596e[107]]=_0x909cx44;this[_0x596e[15]]();this[_0x596e[0]][_0x596e[4]][_0x596e[100]]();this[_0x596e[0]][_0x596e[80]][_0x596e[101]](false);this[_0x596e[0]][_0x596e[80]][_0x596e[80]][_0x596e[100]]()}));this[_0x596e[333]](this[_0x596e[306]],false,this[_0x596e[106]],mxUtils[_0x596e[20]](this,function(_0x909cx44){this[_0x596e[108]]=_0x909cx44;this[_0x596e[15]]();this[_0x596e[0]][_0x596e[80]][_0x596e[101]](false);this[_0x596e[0]][_0x596e[80]][_0x596e[80]][_0x596e[100]]()}))};EditorUi[_0x596e[10]][_0x596e[329]]=function(){var _0x909cx2=document[_0x596e[335]](_0x596e[334]);_0x909cx2[_0x596e[336]]=_0x596e[337];return _0x909cx2};EditorUi[_0x596e[10]][_0x596e[329]]=function(){var _0x909cx2=document[_0x596e[335]](_0x596e[334]);_0x909cx2[_0x596e[336]]=_0x596e[337];return _0x909cx2};EditorUi[_0x596e[10]][_0x596e[332]]=function(_0x909cx44){this[_0x596e[328]][_0x596e[338]]=_0x909cx44};EditorUi[_0x596e[10]][_0x596e[324]]=function(_0x909cx2){return new Toolbar(this,_0x909cx2)};EditorUi[_0x596e[10]][_0x596e[326]]=function(_0x909cx2){return new Sidebar(this,_0x909cx2)};EditorUi[_0x596e[10]][_0x596e[327]]=function(){return this[_0x596e[308]](_0x596e[339])};EditorUi[_0x596e[10]][_0x596e[308]]=function(_0x909cx45){var _0x909cx46=document[_0x596e[335]](_0x596e[340]);_0x909cx46[_0x596e[336]]=_0x909cx45;return _0x909cx46};EditorUi[_0x596e[10]][_0x596e[341]]=function(_0x909cx45){var _0x909cx46=document[_0x596e[335]](_0x909cx45);return _0x909cx46};EditorUi[_0x596e[10]][_0x596e[342]]=function(_0x909cx45){var _0x909cx46=document[_0x596e[335]](_0x596e[343]);_0x909cx46[_0x596e[336]]=_0x909cx45;return _0x909cx46};EditorUi[_0x596e[10]][_0x596e[333]]=function(_0x909cx46,_0x909cx47,_0x909cx48,_0x909cx49){var _0x909cx4a=null;var _0x909cx4b=null;function _0x909cx4c(){return parseInt(((_0x909cx47)?_0x909cx46[_0x596e[6]][_0x596e[302]]:_0x909cx46[_0x596e[6]][_0x596e[301]]))}function _0x909cx4d(_0x909cx6){if(_0x909cx4a!=null){var _0x909cx4e= new mxPoint(mxEvent[_0x596e[344]](_0x909cx6),mxEvent[_0x596e[345]](_0x909cx6));_0x909cx49(Math[_0x596e[295]](0,_0x909cx4b+((_0x909cx47)?(_0x909cx4e[_0x596e[346]]-_0x909cx4a[_0x596e[346]]):(_0x909cx4a[_0x596e[347]]-_0x909cx4e[_0x596e[347]]))-_0x909cx48));mxEvent[_0x596e[74]](_0x909cx6)}}function _0x909cx4f(_0x909cx6){_0x909cx4d(_0x909cx6);_0x909cx4a=null;_0x909cx4b=null}mxEvent[_0x596e[82]](_0x909cx46,function(_0x909cx6){_0x909cx4a= new mxPoint(mxEvent[_0x596e[344]](_0x909cx6),mxEvent[_0x596e[345]](_0x909cx6));_0x909cx4b=_0x909cx4c();mxEvent[_0x596e[74]](_0x909cx6)});mxEvent[_0x596e[33]](document,_0x596e[348],_0x909cx4d);mxEvent[_0x596e[33]](document,_0x596e[349],_0x909cx4d);mxEvent[_0x596e[33]](document,_0x596e[350],_0x909cx4f);mxEvent[_0x596e[33]](document,_0x596e[351],_0x909cx4f)};EditorUi[_0x596e[10]][_0x596e[73]]=function(_0x909cx46,_0x909cx3d,_0x909cx3e,_0x909cx50,_0x909cx51,_0x909cx52){this[_0x596e[352]]();this[_0x596e[353]]= new Dialog(this,_0x909cx46,_0x909cx3d,(mxClient[_0x596e[354]])?_0x909cx3e-12:_0x909cx3e,_0x909cx50,_0x909cx51,_0x909cx52)};EditorUi[_0x596e[10]][_0x596e[352]]=function(){if(this[_0x596e[353]]!=null){this[_0x596e[353]][_0x596e[355]]();this[_0x596e[353]]=null;this[_0x596e[0]][_0x596e[4]][_0x596e[1]][_0x596e[47]]()}};EditorUi[_0x596e[10]][_0x596e[356]]=function(_0x909cx53){if(!_0x909cx53&&this[_0x596e[0]][_0x596e[125]]!=null){this[_0x596e[171]](this[_0x596e[0]][_0x596e[357]]())}else {this[_0x596e[73]]( new SaveDialog(this)[_0x596e[1]],300,100,true,true)}};EditorUi[_0x596e[10]][_0x596e[358]]=function(_0x909cx53){if(!_0x909cx53&&this[_0x596e[0]][_0x596e[125]]!=null){this[_0x596e[222]](this[_0x596e[0]][_0x596e[357]]())}else {}};EditorUi[_0x596e[10]][_0x596e[359]]=function(_0x909cx54,_0x909cx55,_0x909cx56){var _0x909cx3=this[_0x596e[0]][_0x596e[4]];var _0x909cxb=_0x909cx3[_0x596e[260]]();_0x909cx55=this[_0x596e[360]]!=null?this[_0x596e[360]]:_0x909cx55;_0x909cx3[_0x596e[65]]()[_0x596e[361]]();try{_0x909cx54[_0x596e[362]](_0x909cx3[_0x596e[220]](),_0x909cxb)}catch(e){throw e}finally{if(_0x909cx55&&navigator[_0x596e[364]][_0x596e[69]](_0x596e[363])<0){var _0x909cx57= new mxMorphing(_0x909cx3);_0x909cx57[_0x596e[33]](mxEvent.DONE,mxUtils[_0x596e[20]](this,function(){_0x909cx3[_0x596e[65]]()[_0x596e[365]]()}));_0x909cx57[_0x596e[366]]()}else {_0x909cx3[_0x596e[65]]()[_0x596e[365]]()}}};EditorUi[_0x596e[10]][_0x596e[97]]=function(_0x909cx1){var _0x909cx3=this[_0x596e[0]][_0x596e[4]];var _0x909cxf= new mxKeyHandler(_0x909cx3);_0x909cxf[_0x596e[367]]=function(_0x909cx6){return mxEvent[_0x596e[367]](_0x909cx6)||(mxClient[_0x596e[368]]&&_0x909cx6[_0x596e[369]])};function _0x909cx58(_0x909cx59){if(!_0x909cx3[_0x596e[241]]()){var _0x909cx48=0;var _0x909cx5a=0;if(_0x909cx59==37){_0x909cx48= -1}else {if(_0x909cx59==38){_0x909cx5a= -1}else {if(_0x909cx59==39){_0x909cx48=1}else {if(_0x909cx59==40){_0x909cx5a=1}}}};_0x909cx3[_0x596e[370]](_0x909cx3[_0x596e[242]](),_0x909cx48,_0x909cx5a);_0x909cx3[_0x596e[371]](_0x909cx3[_0x596e[260]]())}}var _0x909cx5b=mxUtils[_0x596e[20]](this,function(_0x909cx5c,_0x909cx5d,_0x909cx25,_0x909cx5e){var _0x909cx5f=this[_0x596e[12]][_0x596e[112]](_0x909cx25);if(_0x909cx5f!=null){var _0x909cx1f=function(){if(_0x909cx5f[_0x596e[372]]){_0x909cx5f[_0x596e[373]]()}};if(_0x909cx5d){if(_0x909cx5e){_0x909cxf[_0x596e[374]](_0x909cx5c,_0x909cx1f)}else {_0x909cxf[_0x596e[375]](_0x909cx5c,_0x909cx1f)}}else {if(_0x909cx5e){_0x909cxf[_0x596e[376]](_0x909cx5c,_0x909cx1f)}else {_0x909cxf[_0x596e[377]](_0x909cx5c,_0x909cx1f)}}}});var _0x909cx60=this;var _0x909cx61=_0x909cxf[_0x596e[378]];_0x909cxf[_0x596e[378]]=function(_0x909cx6){_0x909cx60[_0x596e[352]]();_0x909cx61[_0x596e[50]](this,arguments)};_0x909cxf[_0x596e[379]]=function(){};_0x909cxf[_0x596e[377]](8,function(){_0x909cx3[_0x596e[380]](true)});_0x909cxf[_0x596e[377]](13,function(){_0x909cx3[_0x596e[380]](false)});_0x909cxf[_0x596e[377]](33,function(){_0x909cx3[_0x596e[284]]()});_0x909cxf[_0x596e[377]](34,function(){_0x909cx3[_0x596e[285]]()});_0x909cxf[_0x596e[377]](36,function(){_0x909cx3[_0x596e[283]]()});_0x909cxf[_0x596e[377]](35,function(){_0x909cx3[_0x596e[15]]()});_0x909cxf[_0x596e[377]](37,function(){_0x909cx58(37)});_0x909cxf[_0x596e[377]](38,function(){_0x909cx58(38)});_0x909cxf[_0x596e[377]](39,function(){_0x909cx58(39)});_0x909cxf[_0x596e[377]](40,function(){_0x909cx58(40)});_0x909cxf[_0x596e[377]](113,function(){_0x909cx3[_0x596e[70]]()});_0x909cx5b(46,false,_0x596e[243]);_0x909cx5b(82,true,_0x596e[253]);_0x909cx5b(83,true,_0x596e[171]);_0x909cx5b(83,true,_0x596e[179],true);_0x909cx5b(107,false,_0x596e[381]);_0x909cx5b(109,false,_0x596e[382]);_0x909cx5b(65,true,_0x596e[383]);_0x909cx5b(86,true,_0x596e[384],true);_0x909cx5b(69,true,_0x596e[385],true);_0x909cx5b(69,true,_0x596e[386]);_0x909cx5b(66,true,_0x596e[249]);_0x909cx5b(70,true,_0x596e[248]);_0x909cx5b(68,true,_0x596e[244]);_0x909cx5b(90,true,_0x596e[237]);_0x909cx5b(89,true,_0x596e[238]);_0x909cx5b(88,true,_0x596e[115]);_0x909cx5b(67,true,_0x596e[116]);_0x909cx5b(81,true,_0x596e[387]);_0x909cx5b(86,true,_0x596e[111]);_0x909cx5b(71,true,_0x596e[259]);_0x909cx5b(71,true,_0x596e[388],true);_0x909cx5b(85,true,_0x596e[261]);_0x909cx5b(112,false,_0x596e[389]);_0x909cx5b(80,true,_0x596e[222],true);return _0x909cxf};EditorUi[_0x596e[10]][_0x596e[58]]=function(_0x909cx3,_0x909cx36,_0x909cx62,_0x909cx63){for(var _0x909cx37=0;_0x909cx37<_0x909cx36[_0x596e[143]];_0x909cx37++){_0x909cx3[_0x596e[392]]( new mxMultiplicity(true,_0x909cx36[_0x909cx37],null,null,_0x909cx62[_0x909cx37][0],_0x909cx62[_0x909cx37][1],null,mxResources[_0x596e[112]](_0x909cx36[_0x909cx37])+_0x596e[390]+_0x909cx62[_0x909cx37][0]+_0x596e[391],null));_0x909cx3[_0x596e[392]]( new mxMultiplicity(false,_0x909cx36[_0x909cx37],null,null,_0x909cx63[_0x909cx37][0],_0x909cx63[_0x909cx37][1],null,mxResources[_0x596e[112]](_0x909cx36[_0x909cx37])+_0x596e[390]+_0x909cx63[_0x909cx37][0]+_0x596e[393],null))}} \ No newline at end of file +var _0x49f7=["\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(_0xdb8ex1,_0xdb8ex2){this[_0x49f7[0]]=_0xdb8ex1|| new Editor();this[_0x49f7[1]]=_0xdb8ex2||document[_0x49f7[3]](_0x49f7[2]);var _0xdb8ex3=_0xdb8ex1[_0x49f7[4]];var _0xdb8ex4=this;this[_0x49f7[1]][_0x49f7[6]][_0x49f7[5]]=_0x49f7[7]; new Image()[_0x49f7[8]]=mxPopupMenu[_0x49f7[10]][_0x49f7[9]];if(mxConnectionHandler[_0x49f7[10]][_0x49f7[11]]!=null){ new Image()[_0x49f7[8]]=mxConnectionHandler[_0x49f7[10]][_0x49f7[11]][_0x49f7[8]]};this[_0x49f7[12]]= new Actions(this);this[_0x49f7[13]]= new Menus(this);this[_0x49f7[14]]();this[_0x49f7[15]]();this[_0x49f7[16]]();var _0xdb8ex5=mxUtils[_0x49f7[20]](this,function(_0xdb8ex6){if(_0xdb8ex6==null){_0xdb8ex6=window[_0x49f7[17]]};if(this[_0x49f7[18]](_0xdb8ex6)){return true};return _0xdb8ex3[_0x49f7[19]]()});if(this[_0x49f7[1]]==document[_0x49f7[21]]){this[_0x49f7[23]][_0x49f7[22]]=_0xdb8ex5;this[_0x49f7[23]][_0x49f7[24]]=_0xdb8ex5;this[_0x49f7[25]][_0x49f7[22]]=_0xdb8ex5;this[_0x49f7[25]][_0x49f7[24]]=_0xdb8ex5;this[_0x49f7[26]][_0x49f7[22]]=_0xdb8ex5;this[_0x49f7[26]][_0x49f7[24]]=_0xdb8ex5;this[_0x49f7[27]][_0x49f7[22]]=_0xdb8ex5;this[_0x49f7[27]][_0x49f7[24]]=_0xdb8ex5;this[_0x49f7[28]][_0x49f7[22]]=_0xdb8ex5;this[_0x49f7[28]][_0x49f7[24]]=_0xdb8ex5};if(mxClient[_0x49f7[29]]&&( typeof (document[_0x49f7[30]])===_0x49f7[31]||document[_0x49f7[30]]<9)){mxEvent[_0x49f7[33]](this[_0x49f7[26]],_0x49f7[32],_0xdb8ex5);mxEvent[_0x49f7[33]](this[_0x49f7[27]],_0x49f7[32],_0xdb8ex5)}else {this[_0x49f7[26]][_0x49f7[34]]=_0xdb8ex5;this[_0x49f7[27]][_0x49f7[34]]=_0xdb8ex5};_0xdb8ex3[_0x49f7[35]](this[_0x49f7[26]]);_0xdb8ex3[_0x49f7[15]]();_0xdb8ex3[_0x49f7[1]][_0x49f7[38]](_0x49f7[36],_0x49f7[37]);_0xdb8ex3[_0x49f7[1]][_0x49f7[6]][_0x49f7[39]]=_0x49f7[40];_0xdb8ex3[_0x49f7[1]][_0x49f7[6]][_0x49f7[41]]=_0x49f7[42]+_0xdb8ex1[_0x49f7[43]]+_0x49f7[44];_0xdb8ex3[_0x49f7[1]][_0x49f7[6]][_0x49f7[45]]=_0x49f7[46];_0xdb8ex3[_0x49f7[1]][_0x49f7[47]]();var _0xdb8ex7=_0xdb8ex3[_0x49f7[48]];_0xdb8ex3[_0x49f7[48]]=function(_0xdb8ex8,_0xdb8ex9,_0xdb8exa){if(_0xdb8ex8==mxEvent[_0x49f7[49]]){this[_0x49f7[1]][_0x49f7[47]]()};_0xdb8ex7[_0x49f7[50]](this,arguments)};this[_0x49f7[58]](_0xdb8ex3[_0x49f7[51]],[_0x49f7[52],_0x49f7[53],_0x49f7[54],_0x49f7[55],_0x49f7[56]],[[1,1],[0,0],[1,1],[1,_0x49f7[57]],[1,_0x49f7[57]]],[[0,0],[1,_0x49f7[57]],[1,_0x49f7[57]],[1,_0x49f7[57]],[1,_0x49f7[57]]]);_0xdb8ex3[_0x49f7[59]]=function(_0xdb8ex6,_0xdb8exb){var _0xdb8exc=[_0x49f7[55]];var _0xdb8exd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x49f7[17],_0xdb8ex6,_0x49f7[60],_0xdb8exb);this[_0x49f7[61]](_0xdb8exd);if(this[_0x49f7[62]]()&&!mxEvent[_0x49f7[63]](_0xdb8ex6)&&!_0xdb8exd[_0x49f7[63]]()){if(this[_0x49f7[65]]()[_0x49f7[64]](_0xdb8exb)){if(_0xdb8exc[_0x49f7[69]](_0xdb8exb[_0x49f7[68]][_0x49f7[67]][_0x49f7[66]])>=0){this[_0x49f7[70]](_0xdb8exb)}}else {if(this[_0x49f7[65]]()[_0x49f7[71]](_0xdb8exb)){console[_0x49f7[72]](_0xdb8ex4);console[_0x49f7[72]](_0xdb8exb);_0xdb8ex4[_0x49f7[73]]( new GeneralDialog(_0xdb8ex4,_0xdb8exb)[_0x49f7[1]],320,280,true,true)}};_0xdb8exd[_0x49f7[74]]()}};_0xdb8ex3[_0x49f7[76]][_0x49f7[75]]=true;_0xdb8ex3[_0x49f7[76]][_0x49f7[77]]=mxUtils[_0x49f7[20]](this,function(_0xdb8exe,_0xdb8exb,_0xdb8ex6){this[_0x49f7[13]][_0x49f7[78]](_0xdb8exe,_0xdb8exb,_0xdb8ex6)});_0xdb8ex1[_0x49f7[80]][_0x49f7[35]](this[_0x49f7[79]]);mxEvent[_0x49f7[82]](document,mxUtils[_0x49f7[20]](this,function(_0xdb8ex6){_0xdb8ex3[_0x49f7[76]][_0x49f7[81]]()}));if(mxClient[_0x49f7[83]]){mxEvent[_0x49f7[33]](_0xdb8ex3[_0x49f7[1]],_0x49f7[84],mxUtils[_0x49f7[20]](this,function(_0xdb8ex6){_0xdb8ex3[_0x49f7[89]][_0x49f7[88]]()[_0x49f7[38]](_0x49f7[85],_0x49f7[86]+_0xdb8ex6[_0x49f7[87]]+_0x49f7[44]);_0xdb8ex3[_0x49f7[89]][_0x49f7[91]]()[_0x49f7[6]][_0x49f7[90]]=_0x49f7[7]}));mxEvent[_0x49f7[33]](_0xdb8ex3[_0x49f7[1]],_0x49f7[92],mxUtils[_0x49f7[20]](this,function(_0xdb8ex6){_0xdb8ex3[_0x49f7[89]][_0x49f7[88]]()[_0x49f7[93]](_0x49f7[85]);_0xdb8ex3[_0x49f7[94]]=true;_0xdb8ex3[_0x49f7[95]](_0xdb8ex6[_0x49f7[87]]);_0xdb8ex3[_0x49f7[89]][_0x49f7[91]]()[_0x49f7[6]][_0x49f7[90]]=_0x49f7[96]}))};var _0xdb8exf=this[_0x49f7[97]](_0xdb8ex1);this[_0x49f7[98]]=function(){return _0xdb8exf};mxEvent[_0x49f7[33]](window,_0x49f7[99],mxUtils[_0x49f7[20]](this,function(){this[_0x49f7[15]]();_0xdb8ex3[_0x49f7[100]]();this[_0x49f7[0]][_0x49f7[80]][_0x49f7[101]](false);this[_0x49f7[0]][_0x49f7[80]][_0x49f7[80]][_0x49f7[100]]()}));this[_0x49f7[35]]();this[_0x49f7[102]]()};EditorUi[_0x49f7[10]][_0x49f7[103]]=(mxClient[_0x49f7[83]])?16:8;EditorUi[_0x49f7[10]][_0x49f7[104]]=33;EditorUi[_0x49f7[10]][_0x49f7[105]]=36;EditorUi[_0x49f7[10]][_0x49f7[106]]=28;EditorUi[_0x49f7[10]][_0x49f7[107]]=204;EditorUi[_0x49f7[10]][_0x49f7[108]]=190;EditorUi[_0x49f7[10]][_0x49f7[35]]=function(){this[_0x49f7[109]]();this[_0x49f7[110]]();var _0xdb8ex10=this[_0x49f7[12]][_0x49f7[112]](_0x49f7[111]);var _0xdb8ex11=function(){_0xdb8ex10[_0x49f7[114]](!mxClipboard[_0x49f7[113]]())};var _0xdb8ex12=mxClipboard[_0x49f7[115]];mxClipboard[_0x49f7[115]]=function(){_0xdb8ex12[_0x49f7[50]](this,arguments);_0xdb8ex11()};var _0xdb8ex13=mxClipboard[_0x49f7[116]];mxClipboard[_0x49f7[116]]=function(){_0xdb8ex13[_0x49f7[50]](this,arguments);_0xdb8ex11()}};EditorUi[_0x49f7[10]][_0x49f7[18]]=function(_0xdb8ex6){return false};EditorUi[_0x49f7[10]][_0x49f7[102]]=function(){try{if(window[_0x49f7[117]]!=null&&window[_0x49f7[117]][_0x49f7[118]]!=null){window[_0x49f7[117]][_0x49f7[118]][_0x49f7[130]](mxUtils[_0x49f7[20]](this,function(_0xdb8ex14,_0xdb8ex15){try{var _0xdb8ex16=mxUtils[_0x49f7[119]](_0xdb8ex14);this[_0x49f7[0]][_0x49f7[121]](_0xdb8ex16[_0x49f7[120]]);this[_0x49f7[0]][_0x49f7[122]]=false;this[_0x49f7[0]][_0x49f7[124]][_0x49f7[123]]();if(_0xdb8ex15!=null){this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex15}}catch(e){mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[126])+_0x49f7[127]+e[_0x49f7[128]])}}))}}catch(e){}};EditorUi[_0x49f7[10]][_0x49f7[131]]=function(_0xdb8ex14,_0xdb8ex15,_0xdb8ex17){try{var _0xdb8ex16=mxUtils[_0x49f7[119]](_0xdb8ex14);this[_0x49f7[0]][_0x49f7[121]](_0xdb8ex16[_0x49f7[120]]);this[_0x49f7[0]][_0x49f7[122]]=false;this[_0x49f7[0]][_0x49f7[124]][_0x49f7[123]]();if(_0xdb8ex15!=null){this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex15};if(_0xdb8ex17!=null){this[_0x49f7[0]][_0x49f7[132]]=_0xdb8ex17}}catch(e){mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[126])+_0x49f7[127]+e[_0x49f7[128]])}};EditorUi[_0x49f7[10]][_0x49f7[133]]=function(_0xdb8ex18){var _0xdb8ex1=this[_0x49f7[0]];if(_0xdb8ex18!=null){var _0xdb8ex14=mxUtils[_0x49f7[135]](this[_0x49f7[0]][_0x49f7[134]]());try{if(useLocalStorage){if(localStorage[_0x49f7[136]](_0xdb8ex18)!=null&&!mxUtils[_0x49f7[138]](mxResources[_0x49f7[112]](_0x49f7[137],[_0xdb8ex18]))){return};localStorage[_0x49f7[139]](_0xdb8ex18,_0xdb8ex14);this[_0x49f7[0]][_0x49f7[142]](mxResources[_0x49f7[112]](_0x49f7[140])+_0x49f7[141]+ new Date())}else {console[_0x49f7[72]](_0xdb8ex14[_0x49f7[143]]);console[_0x49f7[72]](MAX_REQUEST_SIZE);if(_0xdb8ex14[_0x49f7[143]]<MAX_REQUEST_SIZE){_0xdb8ex14=encodeURIComponent(_0xdb8ex14);_0xdb8ex18=encodeURIComponent(_0xdb8ex18);var _0xdb8ex19= new XMLHttpRequest();_0xdb8ex19[_0x49f7[102]](_0x49f7[144],SAVE_URL,true);_0xdb8ex19[_0x49f7[147]](_0x49f7[145],_0x49f7[146]);_0xdb8ex19[_0x49f7[147]](_0x49f7[148],_0x49f7[149]+_0xdb8ex1[_0x49f7[132]][_0x49f7[150]]);_0xdb8ex19[_0x49f7[151]]=function(_0xdb8ex1a){if(_0xdb8ex19[_0x49f7[152]]===4){if(_0xdb8ex19[_0x49f7[153]]===201){_0xdb8ex1[_0x49f7[142]](_0x49f7[154]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[155]]+_0x49f7[158]);setTimeout(function(){window[_0x49f7[102]](_0x49f7[159]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[160]],_0x49f7[161])},1500)}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[162]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[163]][0][_0x49f7[128]])}}};_0xdb8ex19[_0x49f7[164]]=function(_0xdb8ex1a){mxUtils[_0x49f7[129]](_0xdb8ex19[_0x49f7[165]])};_0xdb8ex19[_0x49f7[167]](_0x49f7[166]+_0xdb8ex18)}else {mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[168]));mxUtils[_0x49f7[169]](_0xdb8ex14);return}};this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex18;this[_0x49f7[0]][_0x49f7[122]]=false}catch(e){this[_0x49f7[0]][_0x49f7[142]](_0x49f7[170])}}else {this[_0x49f7[0]][_0x49f7[142]](_0x49f7[170])}};EditorUi[_0x49f7[10]][_0x49f7[171]]=function(_0xdb8ex18){var _0xdb8ex1=this[_0x49f7[0]];if(_0xdb8ex18!=null){var _0xdb8ex14=mxUtils[_0x49f7[135]](this[_0x49f7[0]][_0x49f7[134]]());try{if(useLocalStorage){if(localStorage[_0x49f7[136]](_0xdb8ex18)!=null&&!mxUtils[_0x49f7[138]](mxResources[_0x49f7[112]](_0x49f7[137],[_0xdb8ex18]))){return};localStorage[_0x49f7[139]](_0xdb8ex18,_0xdb8ex14);this[_0x49f7[0]][_0x49f7[142]](mxResources[_0x49f7[112]](_0x49f7[140])+_0x49f7[141]+ new Date())}else {console[_0x49f7[72]](_0xdb8ex14[_0x49f7[143]]);console[_0x49f7[72]](MAX_REQUEST_SIZE);if(_0xdb8ex14[_0x49f7[143]]<MAX_REQUEST_SIZE){_0xdb8ex14=encodeURIComponent(_0xdb8ex14);var _0xdb8ex19= new XMLHttpRequest();_0xdb8ex19[_0x49f7[102]](_0x49f7[172],SAVE_URL+this[_0x49f7[0]][_0x49f7[132]][_0x49f7[160]],true);_0xdb8ex19[_0x49f7[147]](_0x49f7[145],_0x49f7[146]);_0xdb8ex19[_0x49f7[147]](_0x49f7[148],_0x49f7[149]+_0xdb8ex1[_0x49f7[132]][_0x49f7[150]]);_0xdb8ex19[_0x49f7[151]]=function(_0xdb8ex1a){if(_0xdb8ex19[_0x49f7[152]]===4){if(_0xdb8ex19[_0x49f7[153]]===200){_0xdb8ex1[_0x49f7[142]](_0x49f7[173]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[174]]+_0x49f7[175]+_0xdb8ex19[_0x49f7[153]]+_0x49f7[141]+_0xdb8ex19[_0x49f7[165]]+_0x49f7[44])}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[176]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[163]][0][_0x49f7[128]])}}};_0xdb8ex19[_0x49f7[164]]=function(_0xdb8ex1a){mxUtils[_0x49f7[129]](_0xdb8ex19[_0x49f7[165]])};_0xdb8ex19[_0x49f7[167]](_0x49f7[177]+_0xdb8ex14)}else {mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[168]));mxUtils[_0x49f7[169]](_0xdb8ex14);return}};this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex18;this[_0x49f7[0]][_0x49f7[122]]=false}catch(e){this[_0x49f7[0]][_0x49f7[142]](_0x49f7[178])}}else {this[_0x49f7[0]][_0x49f7[142]](_0x49f7[178])}};EditorUi[_0x49f7[10]][_0x49f7[179]]=function(_0xdb8ex18){var _0xdb8ex1=this[_0x49f7[0]];console[_0x49f7[72]](_0xdb8ex18);if(_0xdb8ex18!=null){var _0xdb8ex14=mxUtils[_0x49f7[135]](this[_0x49f7[0]][_0x49f7[134]]());try{if(useLocalStorage){if(localStorage[_0x49f7[136]](_0xdb8ex18)!=null&&!mxUtils[_0x49f7[138]](mxResources[_0x49f7[112]](_0x49f7[137],[_0xdb8ex18]))){return};localStorage[_0x49f7[139]](_0xdb8ex18,_0xdb8ex14);this[_0x49f7[0]][_0x49f7[142]](mxResources[_0x49f7[112]](_0x49f7[140])+_0x49f7[141]+ new Date())}else {console[_0x49f7[72]](_0xdb8ex14[_0x49f7[143]]);console[_0x49f7[72]](MAX_REQUEST_SIZE);if(_0xdb8ex14[_0x49f7[143]]<MAX_REQUEST_SIZE){_0xdb8ex14=encodeURIComponent(_0xdb8ex14);_0xdb8ex18=encodeURIComponent(_0xdb8ex18);var _0xdb8ex19= new XMLHttpRequest();_0xdb8ex19[_0x49f7[102]](_0x49f7[144],SAVE_URL,true);_0xdb8ex19[_0x49f7[147]](_0x49f7[145],_0x49f7[146]);_0xdb8ex19[_0x49f7[147]](_0x49f7[148],_0x49f7[149]+_0xdb8ex1[_0x49f7[132]][_0x49f7[150]]);_0xdb8ex19[_0x49f7[151]]=function(_0xdb8ex1a){if(_0xdb8ex19[_0x49f7[152]]===4){if(_0xdb8ex19[_0x49f7[153]]===201){_0xdb8ex1[_0x49f7[142]](_0x49f7[154]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[155]]+_0x49f7[158]);setTimeout(function(){window[_0x49f7[102]](_0x49f7[180]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[160]],_0x49f7[161])},1500)}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[181]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[163]][0][_0x49f7[128]])}}};_0xdb8ex19[_0x49f7[164]]=function(_0xdb8ex1a){mxUtils[_0x49f7[129]](_0xdb8ex19[_0x49f7[165]])};_0xdb8ex19[_0x49f7[167]](_0x49f7[182]+_0xdb8ex18+_0x49f7[183]+_0xdb8ex14+_0x49f7[184]+_0xdb8ex14)}else {mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[168]));mxUtils[_0x49f7[169]](_0xdb8ex14);return}};this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex18;this[_0x49f7[0]][_0x49f7[122]]=false}catch(e){this[_0x49f7[0]][_0x49f7[142]](_0x49f7[178])}}else {this[_0x49f7[0]][_0x49f7[142]](_0x49f7[178])}};EditorUi[_0x49f7[10]][_0x49f7[185]]=function(_0xdb8ex1b,_0xdb8ex1c){var _0xdb8ex3=this[_0x49f7[0]][_0x49f7[4]];_0xdb8ex1b=null!=_0xdb8ex1b?_0xdb8ex1b:_0xdb8ex3[_0x49f7[187]][_0x49f7[186]]();_0xdb8ex1c=null!=_0xdb8ex1c?_0xdb8ex1c:{};for(var _0xdb8ex1d=!0,_0xdb8ex1e=_0xdb8ex3[_0x49f7[187]][_0x49f7[188]](_0xdb8ex1b),_0xdb8ex1a=0;_0xdb8ex1a<_0xdb8ex1e;_0xdb8ex1a++){var _0xdb8ex1f=_0xdb8ex3[_0x49f7[187]][_0x49f7[189]](_0xdb8ex1b,_0xdb8ex1a),_0xdb8ex20=_0xdb8ex1c;_0xdb8ex3[_0x49f7[190]](_0xdb8ex1f)&&(_0xdb8ex20={});_0xdb8ex20=this[_0x49f7[185]](_0xdb8ex1f,_0xdb8ex20);null!=_0xdb8ex20?_0xdb8ex3[_0x49f7[192]](_0xdb8ex1f,_0xdb8ex20[_0x49f7[137]](/\n/g,_0x49f7[191])):_0xdb8ex3[_0x49f7[192]](_0xdb8ex1f,null);_0xdb8ex1d=_0xdb8ex1d&&null==_0xdb8ex20};_0xdb8ex1e=_0x49f7[193];if(_0xdb8ex3[_0x49f7[187]][_0x49f7[71]](_0xdb8ex1b)){switch(_0xdb8ex1b[_0x49f7[67]][_0x49f7[201]]){case _0x49f7[55]:_0xdb8ex1e=(_0xdb8ex1b[_0x49f7[67]][_0x49f7[194]](_0x49f7[55])!==_0x49f7[193])?_0x49f7[193]:_0x49f7[195]+_0x49f7[196];_0xdb8ex1e+=(_0xdb8ex1b[_0x49f7[67]][_0x49f7[194]](_0x49f7[197])!==_0x49f7[193])?_0x49f7[193]:_0x49f7[198]+_0x49f7[196];break;case _0x49f7[54]:_0xdb8ex1e=(_0xdb8ex1b[_0x49f7[67]][_0x49f7[194]](_0x49f7[55])!==_0x49f7[193])?_0x49f7[193]:_0x49f7[195]+_0x49f7[196];_0xdb8ex1e+=(_0xdb8ex1b[_0x49f7[67]][_0x49f7[194]](_0x49f7[197])!==_0x49f7[193])?_0x49f7[193]:_0x49f7[198]+_0x49f7[196];break;case _0x49f7[52]:_0xdb8ex1e=this[_0x49f7[199]](_0x49f7[52])?_0x49f7[193]:_0x49f7[200]+_0x49f7[196];_0xdb8ex1e+=(_0xdb8ex1b[_0x49f7[67]][_0x49f7[194]](_0x49f7[197])!==_0x49f7[193])?_0x49f7[193]:_0x49f7[198]+_0x49f7[196];break}};if(_0xdb8ex3[_0x49f7[187]][_0x49f7[64]](_0xdb8ex1b)){var _0xdb8ex21=_0xdb8ex3[_0x49f7[187]][_0x49f7[203]](_0xdb8ex1b[_0x49f7[68]][_0x49f7[202]]());switch(_0xdb8ex21[_0x49f7[67]][_0x49f7[201]]){case _0x49f7[55]:var _0xdb8ex22=String(_0xdb8ex1b[_0x49f7[204]]());console[_0x49f7[72]](_0xdb8ex22);if(_0xdb8ex22===_0x49f7[205]||_0xdb8ex22===_0x49f7[31]){_0xdb8ex1e=_0x49f7[206]+_0x49f7[196]}else {var _0xdb8ex23=_0xdb8ex22[_0x49f7[208]](_0x49f7[207]);_0xdb8ex23[_0x49f7[212]](function(_0xdb8ex24,_0xdb8ex25){_0xdb8ex1e=_0xdb8ex1e+((_0xdb8ex24[_0x49f7[209]]()!==_0x49f7[193])?_0x49f7[193]:_0x49f7[210]+(_0xdb8ex25+1)+_0x49f7[211]+_0x49f7[196])})};break}};_0xdb8ex3[_0x49f7[213]](_0xdb8ex1b)&&!_0xdb8ex1d&&(_0xdb8ex1e+=(mxResources[_0x49f7[112]](_0xdb8ex3[_0x49f7[214]])||_0xdb8ex3[_0x49f7[214]])+_0x49f7[196]);_0xdb8ex1e=_0xdb8ex3[_0x49f7[187]][_0x49f7[64]](_0xdb8ex1b)?_0xdb8ex1e+(_0xdb8ex3[_0x49f7[216]](_0xdb8ex1b,_0xdb8ex3[_0x49f7[187]][_0x49f7[215]](_0xdb8ex1b,!0),_0xdb8ex3[_0x49f7[187]][_0x49f7[215]](_0xdb8ex1b,!1))||_0x49f7[193]):_0xdb8ex1e+(_0xdb8ex3[_0x49f7[217]](_0xdb8ex1b)||_0x49f7[193]);_0xdb8ex1a=_0xdb8ex3[_0x49f7[218]](_0xdb8ex1b,_0xdb8ex1c);null!=_0xdb8ex1a&&(_0xdb8ex1e+=_0xdb8ex1a);null==_0xdb8ex3[_0x49f7[187]][_0x49f7[219]](_0xdb8ex1b)&&_0xdb8ex3[_0x49f7[89]][_0x49f7[185]]();return 0<_0xdb8ex1e[_0x49f7[143]]||!_0xdb8ex1d?_0xdb8ex1e:null};EditorUi[_0x49f7[10]][_0x49f7[199]]=function(_0xdb8ex26){var _0xdb8ex3=this[_0x49f7[0]][_0x49f7[4]];var _0xdb8ex27=_0xdb8ex3[_0x49f7[220]]();var _0xdb8ex28=0;_0xdb8ex27[_0x49f7[221]][_0x49f7[212]](function(_0xdb8ex29){if(_0xdb8ex3[_0x49f7[187]][_0x49f7[71]](_0xdb8ex29)&&_0xdb8ex29[_0x49f7[67]][_0x49f7[201]]==_0xdb8ex26){_0xdb8ex28++}});return _0xdb8ex28>1?false:true};EditorUi[_0x49f7[10]][_0x49f7[222]]=function(_0xdb8ex18){var _0xdb8ex1=this[_0x49f7[0]];if(_0xdb8ex18!=null){var _0xdb8ex2a=this[_0x49f7[185]]();if(_0xdb8ex2a===null){var _0xdb8ex14=mxUtils[_0x49f7[135]](this[_0x49f7[0]][_0x49f7[134]]());try{if(useLocalStorage){if(localStorage[_0x49f7[136]](_0xdb8ex18)!=null&&!mxUtils[_0x49f7[138]](mxResources[_0x49f7[112]](_0x49f7[137],[_0xdb8ex18]))){return};localStorage[_0x49f7[139]](_0xdb8ex18,_0xdb8ex14);this[_0x49f7[0]][_0x49f7[142]](mxResources[_0x49f7[112]](_0x49f7[140])+_0x49f7[141]+ new Date())}else {console[_0x49f7[72]](_0xdb8ex14[_0x49f7[143]]);console[_0x49f7[72]](MAX_REQUEST_SIZE);if(_0xdb8ex14[_0x49f7[143]]<MAX_REQUEST_SIZE){_0xdb8ex14=encodeURIComponent(_0xdb8ex14);var _0xdb8ex19= new XMLHttpRequest();_0xdb8ex19[_0x49f7[102]](_0x49f7[172],SAVE_URL+this[_0x49f7[0]][_0x49f7[132]][_0x49f7[160]],true);_0xdb8ex19[_0x49f7[147]](_0x49f7[145],_0x49f7[146]);_0xdb8ex19[_0x49f7[147]](_0x49f7[148],_0x49f7[149]+_0xdb8ex1[_0x49f7[132]][_0x49f7[150]]);_0xdb8ex19[_0x49f7[151]]=function(_0xdb8ex1a){if(_0xdb8ex19[_0x49f7[152]]===4){if(_0xdb8ex19[_0x49f7[153]]===200){_0xdb8ex1[_0x49f7[142]](_0x49f7[223]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[174]]+_0x49f7[175]+_0xdb8ex19[_0x49f7[153]]+_0x49f7[141]+_0xdb8ex19[_0x49f7[165]]+_0x49f7[44])}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[176]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[163]][0][_0x49f7[128]])}}};_0xdb8ex19[_0x49f7[164]]=function(_0xdb8ex1a){mxUtils[_0x49f7[129]](_0xdb8ex19[_0x49f7[165]])};_0xdb8ex19[_0x49f7[167]](_0x49f7[177]+_0xdb8ex14+_0x49f7[184]+_0xdb8ex14)}else {mxUtils[_0x49f7[129]](mxResources[_0x49f7[112]](_0x49f7[168]));mxUtils[_0x49f7[169]](_0xdb8ex14);return}};this[_0x49f7[0]][_0x49f7[125]]=_0xdb8ex18;this[_0x49f7[0]][_0x49f7[122]]=false}catch(e){this[_0x49f7[0]][_0x49f7[142]](_0x49f7[224])}}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[225])}}else {this[_0x49f7[0]][_0x49f7[142]](_0x49f7[224])}};EditorUi[_0x49f7[10]][_0x49f7[226]]=function(_0xdb8ex18){var _0xdb8ex1=this[_0x49f7[0]];if(_0xdb8ex18!=null){try{var _0xdb8ex19= new XMLHttpRequest();_0xdb8ex19[_0x49f7[102]](_0x49f7[144],VARIABLE_URL,true);_0xdb8ex19[_0x49f7[147]](_0x49f7[145],_0x49f7[146]);_0xdb8ex19[_0x49f7[147]](_0x49f7[148],_0x49f7[149]+_0xdb8ex1[_0x49f7[132]][_0x49f7[150]]);_0xdb8ex19[_0x49f7[151]]=function(_0xdb8ex1a){if(_0xdb8ex19[_0x49f7[152]]===4){if(_0xdb8ex19[_0x49f7[153]]===201){_0xdb8ex1[_0x49f7[142]](_0x49f7[227]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[228]]+_0x49f7[175]+_0xdb8ex19[_0x49f7[153]]+_0x49f7[141]+_0xdb8ex19[_0x49f7[165]]+_0x49f7[44])}else {_0xdb8ex1[_0x49f7[142]](_0x49f7[181]+JSON[_0x49f7[157]](_0xdb8ex19[_0x49f7[156]])[_0x49f7[163]][0][_0x49f7[128]])}}};_0xdb8ex19[_0x49f7[164]]=function(_0xdb8ex1a){mxUtils[_0x49f7[129]](_0xdb8ex19[_0x49f7[165]])};_0xdb8ex19[_0x49f7[167]](_0x49f7[229]+_0xdb8ex18)}catch(e){this[_0x49f7[0]][_0x49f7[142]](_0x49f7[230])}}else {this[_0x49f7[0]][_0x49f7[142]](_0x49f7[230])}};EditorUi[_0x49f7[10]][_0x49f7[231]]=function(_0xdb8ex2b){var _0xdb8ex2c=(_0xdb8ex2b!=null)?_0xdb8ex2b:window[_0x49f7[233]][_0x49f7[232]];var _0xdb8ex2d=(_0xdb8ex2c[_0x49f7[69]](_0x49f7[234])>0)?1:0;for(var _0xdb8ex25 in urlParams){if(_0xdb8ex2d==0){_0xdb8ex2c+=_0x49f7[234]}else {_0xdb8ex2c+=_0x49f7[235]};_0xdb8ex2c+=_0xdb8ex25+_0x49f7[236]+urlParams[_0xdb8ex25];_0xdb8ex2d++};return _0xdb8ex2c};EditorUi[_0x49f7[10]][_0x49f7[109]]=function(){var _0xdb8ex2e=this[_0x49f7[12]][_0x49f7[112]](_0x49f7[237]);var _0xdb8ex2f=this[_0x49f7[12]][_0x49f7[112]](_0x49f7[238]);var _0xdb8ex30=this[_0x49f7[0]][_0x49f7[124]];var _0xdb8ex31=function(){_0xdb8ex2e[_0x49f7[114]](_0xdb8ex30[_0x49f7[239]]());_0xdb8ex2f[_0x49f7[114]](_0xdb8ex30[_0x49f7[240]]())};_0xdb8ex30[_0x49f7[33]](mxEvent.ADD,_0xdb8ex31);_0xdb8ex30[_0x49f7[33]](mxEvent.UNDO,_0xdb8ex31);_0xdb8ex30[_0x49f7[33]](mxEvent.REDO,_0xdb8ex31);_0xdb8ex30[_0x49f7[33]](mxEvent.CLEAR,_0xdb8ex31);_0xdb8ex31()};EditorUi[_0x49f7[10]][_0x49f7[110]]=function(){var _0xdb8ex32=mxUtils[_0x49f7[20]](this,function(){var _0xdb8ex3=this[_0x49f7[0]][_0x49f7[4]];var _0xdb8ex33=!_0xdb8ex3[_0x49f7[241]]();var _0xdb8ex34=false;var _0xdb8ex35=false;var _0xdb8ex36=_0xdb8ex3[_0x49f7[242]]();if(_0xdb8ex36!=null){for(var _0xdb8ex37=0;_0xdb8ex37<_0xdb8ex36[_0x49f7[143]];_0xdb8ex37++){var _0xdb8exb=_0xdb8ex36[_0xdb8ex37];if(_0xdb8ex3[_0x49f7[65]]()[_0x49f7[64]](_0xdb8exb)){_0xdb8ex35=true};if(_0xdb8ex3[_0x49f7[65]]()[_0x49f7[71]](_0xdb8exb)){_0xdb8ex34=true};if(_0xdb8ex35&&_0xdb8ex34){break}}};var _0xdb8ex38=[_0x49f7[115],_0x49f7[116],_0x49f7[243],_0x49f7[244],_0x49f7[245],_0x49f7[246],_0x49f7[6],_0x49f7[247],_0x49f7[248],_0x49f7[249],_0x49f7[250],_0x49f7[251],_0x49f7[252],_0x49f7[253],_0x49f7[254]];for(var _0xdb8ex37=0;_0xdb8ex37<_0xdb8ex38[_0x49f7[143]];_0xdb8ex37++){this[_0x49f7[12]][_0x49f7[112]](_0xdb8ex38[_0xdb8ex37])[_0x49f7[114]](_0xdb8ex33)};this[_0x49f7[12]][_0x49f7[112]](_0x49f7[255])[_0x49f7[114]](_0xdb8ex35);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[256])[_0x49f7[114]](_0xdb8ex34);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[257])[_0x49f7[114]](_0xdb8ex34);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[259])[_0x49f7[114]](_0xdb8ex3[_0x49f7[258]]()>1);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[261])[_0x49f7[114]](_0xdb8ex3[_0x49f7[258]]()==1&&_0xdb8ex3[_0x49f7[65]]()[_0x49f7[188]](_0xdb8ex3[_0x49f7[260]]())>0);var _0xdb8ex39=_0xdb8ex34&&_0xdb8ex3[_0x49f7[258]]()==1;this[_0x49f7[12]][_0x49f7[112]](_0x49f7[262])[_0x49f7[114]](_0xdb8ex39&&_0xdb8ex3[_0x49f7[65]]()[_0x49f7[71]](_0xdb8ex3[_0x49f7[65]]()[_0x49f7[219]](_0xdb8ex3[_0x49f7[260]]())));var _0xdb8ex3a=[_0x49f7[263],_0x49f7[264],_0x49f7[265],_0x49f7[266],_0x49f7[267],_0x49f7[268],_0x49f7[269],_0x49f7[270],_0x49f7[271]];for(var _0xdb8ex37=0;_0xdb8ex37<_0xdb8ex3a[_0x49f7[143]];_0xdb8ex37++){this[_0x49f7[13]][_0x49f7[112]](_0xdb8ex3a[_0xdb8ex37])[_0x49f7[114]](_0xdb8ex33)};_0xdb8ex3a=[_0x49f7[272],_0x49f7[273],_0x49f7[274]];for(var _0xdb8ex37=0;_0xdb8ex37<_0xdb8ex3a[_0x49f7[143]];_0xdb8ex37++){this[_0x49f7[13]][_0x49f7[112]](_0xdb8ex3a[_0xdb8ex37])[_0x49f7[114]](_0xdb8ex35)};this[_0x49f7[12]][_0x49f7[112]](_0x49f7[275])[_0x49f7[114]](_0xdb8ex35);this[_0x49f7[13]][_0x49f7[112]](_0x49f7[276])[_0x49f7[114]](_0xdb8ex3[_0x49f7[258]]()>1);this[_0x49f7[13]][_0x49f7[112]](_0x49f7[279])[_0x49f7[114]](_0xdb8ex34||(_0xdb8ex35&&_0xdb8ex3[_0x49f7[278]](_0xdb8ex3[_0x49f7[89]][_0x49f7[277]](_0xdb8ex3[_0x49f7[260]]()))));this[_0x49f7[13]][_0x49f7[112]](_0x49f7[282])[_0x49f7[114]](_0xdb8ex3[_0x49f7[280]]&&((_0xdb8ex3[_0x49f7[89]][_0x49f7[281]]!=null)||(_0xdb8ex3[_0x49f7[258]]()==1&&_0xdb8ex3[_0x49f7[190]](_0xdb8ex3[_0x49f7[260]]()))));this[_0x49f7[12]][_0x49f7[112]](_0x49f7[283])[_0x49f7[114]](_0xdb8ex3[_0x49f7[89]][_0x49f7[281]]!=null);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[284])[_0x49f7[114]](_0xdb8ex3[_0x49f7[89]][_0x49f7[281]]!=null);var _0xdb8ex3b=_0xdb8ex3[_0x49f7[258]]()==1&&_0xdb8ex3[_0x49f7[190]](_0xdb8ex3[_0x49f7[260]]());this[_0x49f7[12]][_0x49f7[112]](_0x49f7[285])[_0x49f7[114]](_0xdb8ex3b);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[286])[_0x49f7[114]](_0xdb8ex3b);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[287])[_0x49f7[114]](_0xdb8ex3b);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[288])[_0x49f7[114]](_0xdb8ex3[_0x49f7[258]]()==1);this[_0x49f7[12]][_0x49f7[112]](_0x49f7[290])[_0x49f7[114]](_0xdb8ex3[_0x49f7[258]]()==1&&_0xdb8ex3[_0x49f7[289]](_0xdb8ex3[_0x49f7[260]]())!=null)});this[_0x49f7[0]][_0x49f7[4]][_0x49f7[291]]()[_0x49f7[33]](mxEvent.CHANGE,_0xdb8ex32);_0xdb8ex32()};EditorUi[_0x49f7[10]][_0x49f7[15]]=function(){var _0xdb8ex3c=mxClient[_0x49f7[29]]&&(document[_0x49f7[30]]==null||document[_0x49f7[30]]==5);var _0xdb8ex3d=this[_0x49f7[1]][_0x49f7[292]];var _0xdb8ex3e=this[_0x49f7[1]][_0x49f7[293]];if(this[_0x49f7[1]]==document[_0x49f7[21]]){_0xdb8ex3d=document[_0x49f7[21]][_0x49f7[292]]||document[_0x49f7[120]][_0x49f7[292]];_0xdb8ex3e=(_0xdb8ex3c)?document[_0x49f7[21]][_0x49f7[293]]||document[_0x49f7[120]][_0x49f7[293]]:document[_0x49f7[120]][_0x49f7[293]]};var _0xdb8ex3f=Math[_0x49f7[295]](0,Math[_0x49f7[294]](this[_0x49f7[107]],_0xdb8ex3d-this[_0x49f7[103]]-20));var _0xdb8ex40=Math[_0x49f7[295]](0,Math[_0x49f7[294]](this[_0x49f7[108]],_0xdb8ex3e-this[_0x49f7[104]]-this[_0x49f7[105]]-this[_0x49f7[106]]-this[_0x49f7[103]]-1));this[_0x49f7[23]][_0x49f7[6]][_0x49f7[296]]=this[_0x49f7[104]]+_0x49f7[297];this[_0x49f7[25]][_0x49f7[6]][_0x49f7[298]]=this[_0x49f7[104]]+_0x49f7[297];this[_0x49f7[25]][_0x49f7[6]][_0x49f7[296]]=this[_0x49f7[105]]+_0x49f7[297];var _0xdb8ex41=this[_0x49f7[104]]+this[_0x49f7[105]];if(!mxClient[_0x49f7[299]]){_0xdb8ex41+=1};this[_0x49f7[27]][_0x49f7[6]][_0x49f7[298]]=_0xdb8ex41+_0x49f7[297];this[_0x49f7[27]][_0x49f7[6]][_0x49f7[300]]=_0xdb8ex3f+_0x49f7[297];this[_0x49f7[79]][_0x49f7[6]][_0x49f7[300]]=_0xdb8ex3f+_0x49f7[297];this[_0x49f7[79]][_0x49f7[6]][_0x49f7[296]]=_0xdb8ex40+_0x49f7[297];this[_0x49f7[79]][_0x49f7[6]][_0x49f7[301]]=this[_0x49f7[106]]+_0x49f7[297];this[_0x49f7[26]][_0x49f7[6]][_0x49f7[302]]=(_0xdb8ex3f+this[_0x49f7[103]])+_0x49f7[297];this[_0x49f7[26]][_0x49f7[6]][_0x49f7[298]]=this[_0x49f7[27]][_0x49f7[6]][_0x49f7[298]];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[296]]=this[_0x49f7[106]]+_0x49f7[297];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[303]]=_0x49f7[304];this[_0x49f7[305]][_0x49f7[6]][_0x49f7[298]]=this[_0x49f7[27]][_0x49f7[6]][_0x49f7[298]];this[_0x49f7[305]][_0x49f7[6]][_0x49f7[301]]=this[_0x49f7[79]][_0x49f7[6]][_0x49f7[301]];this[_0x49f7[305]][_0x49f7[6]][_0x49f7[302]]=_0xdb8ex3f+_0x49f7[297];this[_0x49f7[306]][_0x49f7[6]][_0x49f7[300]]=this[_0x49f7[27]][_0x49f7[6]][_0x49f7[300]];this[_0x49f7[306]][_0x49f7[6]][_0x49f7[301]]=(_0xdb8ex40+this[_0x49f7[106]])+_0x49f7[297];if(_0xdb8ex3c){this[_0x49f7[23]][_0x49f7[6]][_0x49f7[300]]=_0xdb8ex3d+_0x49f7[297];this[_0x49f7[25]][_0x49f7[6]][_0x49f7[300]]=this[_0x49f7[23]][_0x49f7[6]][_0x49f7[300]];var _0xdb8ex42=(_0xdb8ex3e-_0xdb8ex40-this[_0x49f7[103]]-this[_0x49f7[106]]-this[_0x49f7[104]]-this[_0x49f7[105]]);this[_0x49f7[27]][_0x49f7[6]][_0x49f7[296]]=_0xdb8ex42+_0x49f7[297];this[_0x49f7[26]][_0x49f7[6]][_0x49f7[300]]=(_0xdb8ex3d-_0xdb8ex3f-this[_0x49f7[103]])+_0x49f7[297];var _0xdb8ex43=(_0xdb8ex3e-this[_0x49f7[106]]-this[_0x49f7[104]]-this[_0x49f7[105]]);this[_0x49f7[26]][_0x49f7[6]][_0x49f7[296]]=_0xdb8ex43+_0x49f7[297];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[300]]=this[_0x49f7[23]][_0x49f7[6]][_0x49f7[300]];this[_0x49f7[305]][_0x49f7[6]][_0x49f7[296]]=_0xdb8ex43+_0x49f7[297]}else {this[_0x49f7[27]][_0x49f7[6]][_0x49f7[301]]=(_0xdb8ex40+this[_0x49f7[103]]+this[_0x49f7[106]])+_0x49f7[297];this[_0x49f7[26]][_0x49f7[6]][_0x49f7[301]]=this[_0x49f7[79]][_0x49f7[6]][_0x49f7[301]]}};EditorUi[_0x49f7[10]][_0x49f7[14]]=function(){this[_0x49f7[23]]=this[_0x49f7[308]](_0x49f7[307]);this[_0x49f7[25]]=this[_0x49f7[308]](_0x49f7[309]);this[_0x49f7[27]]=this[_0x49f7[308]](_0x49f7[310]);this[_0x49f7[79]]=this[_0x49f7[308]](_0x49f7[311]);this[_0x49f7[26]]=this[_0x49f7[308]](_0x49f7[312]);this[_0x49f7[28]]=this[_0x49f7[308]](_0x49f7[313]);this[_0x49f7[305]]=this[_0x49f7[308]](_0x49f7[314]);this[_0x49f7[306]]=this[_0x49f7[308]](_0x49f7[315]);this[_0x49f7[23]][_0x49f7[6]][_0x49f7[298]]=_0x49f7[316];this[_0x49f7[23]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[23]][_0x49f7[6]][_0x49f7[317]]=_0x49f7[316];this[_0x49f7[25]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[25]][_0x49f7[6]][_0x49f7[317]]=_0x49f7[316];this[_0x49f7[27]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[79]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[26]][_0x49f7[6]][_0x49f7[317]]=_0x49f7[316];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[317]]=_0x49f7[316];this[_0x49f7[28]][_0x49f7[6]][_0x49f7[301]]=_0x49f7[316];this[_0x49f7[306]][_0x49f7[6]][_0x49f7[302]]=_0x49f7[316];this[_0x49f7[306]][_0x49f7[6]][_0x49f7[296]]=this[_0x49f7[103]]+_0x49f7[297];this[_0x49f7[305]][_0x49f7[6]][_0x49f7[300]]=this[_0x49f7[103]]+_0x49f7[297]};EditorUi[_0x49f7[10]][_0x49f7[16]]=function(){this[_0x49f7[318]]=this[_0x49f7[13]][_0x49f7[320]](this[_0x49f7[308]](_0x49f7[319]));this[_0x49f7[23]][_0x49f7[321]](this[_0x49f7[318]][_0x49f7[1]]);this[_0x49f7[322]]=this[_0x49f7[324]](this[_0x49f7[308]](_0x49f7[323]));this[_0x49f7[25]][_0x49f7[321]](this[_0x49f7[322]][_0x49f7[1]]);this[_0x49f7[325]]=this[_0x49f7[326]](this[_0x49f7[27]]);this[_0x49f7[28]][_0x49f7[321]](this[_0x49f7[327]]());this[_0x49f7[328]]=this[_0x49f7[329]]();this[_0x49f7[0]][_0x49f7[33]](_0x49f7[330],mxUtils[_0x49f7[20]](this,function(){this[_0x49f7[332]](this[_0x49f7[0]][_0x49f7[331]]())}));this[_0x49f7[332]](this[_0x49f7[0]][_0x49f7[331]]());this[_0x49f7[318]][_0x49f7[1]][_0x49f7[321]](this[_0x49f7[328]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[23]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[25]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[27]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[79]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[26]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[28]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[305]]);this[_0x49f7[1]][_0x49f7[321]](this[_0x49f7[306]]);this[_0x49f7[333]](this[_0x49f7[305]],true,0,mxUtils[_0x49f7[20]](this,function(_0xdb8ex44){this[_0x49f7[107]]=_0xdb8ex44;this[_0x49f7[15]]();this[_0x49f7[0]][_0x49f7[4]][_0x49f7[100]]();this[_0x49f7[0]][_0x49f7[80]][_0x49f7[101]](false);this[_0x49f7[0]][_0x49f7[80]][_0x49f7[80]][_0x49f7[100]]()}));this[_0x49f7[333]](this[_0x49f7[306]],false,this[_0x49f7[106]],mxUtils[_0x49f7[20]](this,function(_0xdb8ex44){this[_0x49f7[108]]=_0xdb8ex44;this[_0x49f7[15]]();this[_0x49f7[0]][_0x49f7[80]][_0x49f7[101]](false);this[_0x49f7[0]][_0x49f7[80]][_0x49f7[80]][_0x49f7[100]]()}))};EditorUi[_0x49f7[10]][_0x49f7[329]]=function(){var _0xdb8ex2=document[_0x49f7[335]](_0x49f7[334]);_0xdb8ex2[_0x49f7[336]]=_0x49f7[337];return _0xdb8ex2};EditorUi[_0x49f7[10]][_0x49f7[329]]=function(){var _0xdb8ex2=document[_0x49f7[335]](_0x49f7[334]);_0xdb8ex2[_0x49f7[336]]=_0x49f7[337];return _0xdb8ex2};EditorUi[_0x49f7[10]][_0x49f7[332]]=function(_0xdb8ex44){this[_0x49f7[328]][_0x49f7[338]]=_0xdb8ex44};EditorUi[_0x49f7[10]][_0x49f7[324]]=function(_0xdb8ex2){return new Toolbar(this,_0xdb8ex2)};EditorUi[_0x49f7[10]][_0x49f7[326]]=function(_0xdb8ex2){return new Sidebar(this,_0xdb8ex2)};EditorUi[_0x49f7[10]][_0x49f7[327]]=function(){return this[_0x49f7[308]](_0x49f7[339])};EditorUi[_0x49f7[10]][_0x49f7[308]]=function(_0xdb8ex45){var _0xdb8ex46=document[_0x49f7[335]](_0x49f7[340]);_0xdb8ex46[_0x49f7[336]]=_0xdb8ex45;return _0xdb8ex46};EditorUi[_0x49f7[10]][_0x49f7[341]]=function(_0xdb8ex45){var _0xdb8ex46=document[_0x49f7[335]](_0xdb8ex45);return _0xdb8ex46};EditorUi[_0x49f7[10]][_0x49f7[342]]=function(_0xdb8ex45){var _0xdb8ex46=document[_0x49f7[335]](_0x49f7[343]);_0xdb8ex46[_0x49f7[336]]=_0xdb8ex45;return _0xdb8ex46};EditorUi[_0x49f7[10]][_0x49f7[333]]=function(_0xdb8ex46,_0xdb8ex47,_0xdb8ex48,_0xdb8ex49){var _0xdb8ex4a=null;var _0xdb8ex4b=null;function _0xdb8ex4c(){return parseInt(((_0xdb8ex47)?_0xdb8ex46[_0x49f7[6]][_0x49f7[302]]:_0xdb8ex46[_0x49f7[6]][_0x49f7[301]]))}function _0xdb8ex4d(_0xdb8ex6){if(_0xdb8ex4a!=null){var _0xdb8ex4e= new mxPoint(mxEvent[_0x49f7[344]](_0xdb8ex6),mxEvent[_0x49f7[345]](_0xdb8ex6));_0xdb8ex49(Math[_0x49f7[295]](0,_0xdb8ex4b+((_0xdb8ex47)?(_0xdb8ex4e[_0x49f7[346]]-_0xdb8ex4a[_0x49f7[346]]):(_0xdb8ex4a[_0x49f7[347]]-_0xdb8ex4e[_0x49f7[347]]))-_0xdb8ex48));mxEvent[_0x49f7[74]](_0xdb8ex6)}}function _0xdb8ex4f(_0xdb8ex6){_0xdb8ex4d(_0xdb8ex6);_0xdb8ex4a=null;_0xdb8ex4b=null}mxEvent[_0x49f7[82]](_0xdb8ex46,function(_0xdb8ex6){_0xdb8ex4a= new mxPoint(mxEvent[_0x49f7[344]](_0xdb8ex6),mxEvent[_0x49f7[345]](_0xdb8ex6));_0xdb8ex4b=_0xdb8ex4c();mxEvent[_0x49f7[74]](_0xdb8ex6)});mxEvent[_0x49f7[33]](document,_0x49f7[348],_0xdb8ex4d);mxEvent[_0x49f7[33]](document,_0x49f7[349],_0xdb8ex4d);mxEvent[_0x49f7[33]](document,_0x49f7[350],_0xdb8ex4f);mxEvent[_0x49f7[33]](document,_0x49f7[351],_0xdb8ex4f)};EditorUi[_0x49f7[10]][_0x49f7[73]]=function(_0xdb8ex46,_0xdb8ex3d,_0xdb8ex3e,_0xdb8ex50,_0xdb8ex51,_0xdb8ex52){this[_0x49f7[352]]();this[_0x49f7[353]]= new Dialog(this,_0xdb8ex46,_0xdb8ex3d,(mxClient[_0x49f7[354]])?_0xdb8ex3e-12:_0xdb8ex3e,_0xdb8ex50,_0xdb8ex51,_0xdb8ex52)};EditorUi[_0x49f7[10]][_0x49f7[352]]=function(){if(this[_0x49f7[353]]!=null){this[_0x49f7[353]][_0x49f7[355]]();this[_0x49f7[353]]=null;this[_0x49f7[0]][_0x49f7[4]][_0x49f7[1]][_0x49f7[47]]()}};EditorUi[_0x49f7[10]][_0x49f7[356]]=function(_0xdb8ex53){if(!_0xdb8ex53&&this[_0x49f7[0]][_0x49f7[125]]!=null){this[_0x49f7[171]](this[_0x49f7[0]][_0x49f7[357]]())}else {this[_0x49f7[73]]( new SaveDialog(this)[_0x49f7[1]],300,100,true,true)}};EditorUi[_0x49f7[10]][_0x49f7[358]]=function(_0xdb8ex53){if(!_0xdb8ex53&&this[_0x49f7[0]][_0x49f7[125]]!=null){this[_0x49f7[222]](this[_0x49f7[0]][_0x49f7[357]]())}else {}};EditorUi[_0x49f7[10]][_0x49f7[359]]=function(_0xdb8ex54,_0xdb8ex55,_0xdb8ex56){var _0xdb8ex3=this[_0x49f7[0]][_0x49f7[4]];var _0xdb8exb=_0xdb8ex3[_0x49f7[260]]();_0xdb8ex55=this[_0x49f7[360]]!=null?this[_0x49f7[360]]:_0xdb8ex55;_0xdb8ex3[_0x49f7[65]]()[_0x49f7[361]]();try{_0xdb8ex54[_0x49f7[362]](_0xdb8ex3[_0x49f7[220]](),_0xdb8exb)}catch(e){throw e}finally{if(_0xdb8ex55&&navigator[_0x49f7[364]][_0x49f7[69]](_0x49f7[363])<0){var _0xdb8ex57= new mxMorphing(_0xdb8ex3);_0xdb8ex57[_0x49f7[33]](mxEvent.DONE,mxUtils[_0x49f7[20]](this,function(){_0xdb8ex3[_0x49f7[65]]()[_0x49f7[365]]()}));_0xdb8ex57[_0x49f7[366]]()}else {_0xdb8ex3[_0x49f7[65]]()[_0x49f7[365]]()}}};EditorUi[_0x49f7[10]][_0x49f7[97]]=function(_0xdb8ex1){var _0xdb8ex3=this[_0x49f7[0]][_0x49f7[4]];var _0xdb8exf= new mxKeyHandler(_0xdb8ex3);_0xdb8exf[_0x49f7[367]]=function(_0xdb8ex6){return mxEvent[_0x49f7[367]](_0xdb8ex6)||(mxClient[_0x49f7[368]]&&_0xdb8ex6[_0x49f7[369]])};function _0xdb8ex58(_0xdb8ex59){if(!_0xdb8ex3[_0x49f7[241]]()){var _0xdb8ex48=0;var _0xdb8ex5a=0;if(_0xdb8ex59==37){_0xdb8ex48= -1}else {if(_0xdb8ex59==38){_0xdb8ex5a= -1}else {if(_0xdb8ex59==39){_0xdb8ex48=1}else {if(_0xdb8ex59==40){_0xdb8ex5a=1}}}};_0xdb8ex3[_0x49f7[370]](_0xdb8ex3[_0x49f7[242]](),_0xdb8ex48,_0xdb8ex5a);_0xdb8ex3[_0x49f7[371]](_0xdb8ex3[_0x49f7[260]]())}}var _0xdb8ex5b=mxUtils[_0x49f7[20]](this,function(_0xdb8ex5c,_0xdb8ex5d,_0xdb8ex25,_0xdb8ex5e){var _0xdb8ex5f=this[_0x49f7[12]][_0x49f7[112]](_0xdb8ex25);if(_0xdb8ex5f!=null){var _0xdb8ex1f=function(){if(_0xdb8ex5f[_0x49f7[372]]){_0xdb8ex5f[_0x49f7[373]]()}};if(_0xdb8ex5d){if(_0xdb8ex5e){_0xdb8exf[_0x49f7[374]](_0xdb8ex5c,_0xdb8ex1f)}else {_0xdb8exf[_0x49f7[375]](_0xdb8ex5c,_0xdb8ex1f)}}else {if(_0xdb8ex5e){_0xdb8exf[_0x49f7[376]](_0xdb8ex5c,_0xdb8ex1f)}else {_0xdb8exf[_0x49f7[377]](_0xdb8ex5c,_0xdb8ex1f)}}}});var _0xdb8ex60=this;var _0xdb8ex61=_0xdb8exf[_0x49f7[378]];_0xdb8exf[_0x49f7[378]]=function(_0xdb8ex6){_0xdb8ex60[_0x49f7[352]]();_0xdb8ex61[_0x49f7[50]](this,arguments)};_0xdb8exf[_0x49f7[379]]=function(){};_0xdb8exf[_0x49f7[377]](8,function(){_0xdb8ex3[_0x49f7[380]](true)});_0xdb8exf[_0x49f7[377]](13,function(){_0xdb8ex3[_0x49f7[380]](false)});_0xdb8exf[_0x49f7[377]](33,function(){_0xdb8ex3[_0x49f7[284]]()});_0xdb8exf[_0x49f7[377]](34,function(){_0xdb8ex3[_0x49f7[285]]()});_0xdb8exf[_0x49f7[377]](36,function(){_0xdb8ex3[_0x49f7[283]]()});_0xdb8exf[_0x49f7[377]](35,function(){_0xdb8ex3[_0x49f7[15]]()});_0xdb8exf[_0x49f7[377]](37,function(){_0xdb8ex58(37)});_0xdb8exf[_0x49f7[377]](38,function(){_0xdb8ex58(38)});_0xdb8exf[_0x49f7[377]](39,function(){_0xdb8ex58(39)});_0xdb8exf[_0x49f7[377]](40,function(){_0xdb8ex58(40)});_0xdb8exf[_0x49f7[377]](113,function(){_0xdb8ex3[_0x49f7[70]]()});_0xdb8ex5b(46,false,_0x49f7[243]);_0xdb8ex5b(82,true,_0x49f7[253]);_0xdb8ex5b(83,true,_0x49f7[171]);_0xdb8ex5b(83,true,_0x49f7[179],true);_0xdb8ex5b(107,false,_0x49f7[381]);_0xdb8ex5b(109,false,_0x49f7[382]);_0xdb8ex5b(65,true,_0x49f7[383]);_0xdb8ex5b(86,true,_0x49f7[384],true);_0xdb8ex5b(69,true,_0x49f7[385],true);_0xdb8ex5b(69,true,_0x49f7[386]);_0xdb8ex5b(66,true,_0x49f7[249]);_0xdb8ex5b(70,true,_0x49f7[248]);_0xdb8ex5b(68,true,_0x49f7[244]);_0xdb8ex5b(90,true,_0x49f7[237]);_0xdb8ex5b(89,true,_0x49f7[238]);_0xdb8ex5b(88,true,_0x49f7[115]);_0xdb8ex5b(67,true,_0x49f7[116]);_0xdb8ex5b(81,true,_0x49f7[387]);_0xdb8ex5b(86,true,_0x49f7[111]);_0xdb8ex5b(71,true,_0x49f7[259]);_0xdb8ex5b(71,true,_0x49f7[388],true);_0xdb8ex5b(85,true,_0x49f7[261]);_0xdb8ex5b(112,false,_0x49f7[389]);_0xdb8ex5b(80,true,_0x49f7[222],true);return _0xdb8exf};EditorUi[_0x49f7[10]][_0x49f7[58]]=function(_0xdb8ex3,_0xdb8ex36,_0xdb8ex62,_0xdb8ex63){for(var _0xdb8ex37=0;_0xdb8ex37<_0xdb8ex36[_0x49f7[143]];_0xdb8ex37++){_0xdb8ex3[_0x49f7[392]]( new mxMultiplicity(true,_0xdb8ex36[_0xdb8ex37],null,null,_0xdb8ex62[_0xdb8ex37][0],_0xdb8ex62[_0xdb8ex37][1],null,mxResources[_0x49f7[112]](_0xdb8ex36[_0xdb8ex37])+_0x49f7[390]+_0xdb8ex62[_0xdb8ex37][0]+_0x49f7[391],null));_0xdb8ex3[_0x49f7[392]]( new mxMultiplicity(false,_0xdb8ex36[_0xdb8ex37],null,null,_0xdb8ex63[_0xdb8ex37][0],_0xdb8ex63[_0xdb8ex37][1],null,mxResources[_0x49f7[112]](_0xdb8ex36[_0xdb8ex37])+_0x49f7[390]+_0xdb8ex63[_0xdb8ex37][0]+_0x49f7[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 9a7c2ad..02e52cf 100644 --- a/public/assets/plugins/jscripty/js/Graph.js +++ b/public/assets/plugins/jscripty/js/Graph.js @@ -1 +1 @@ -var _0x9275=["\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(_0x10a3x1,_0x10a3x2,_0x10a3x3,_0x10a3x4){mxGraph[_0x9275[0]](this,_0x10a3x1,_0x10a3x2,_0x10a3x3,_0x10a3x4);this[_0x9275[1]](true);this[_0x9275[2]](false);this[_0x9275[3]](true);this[_0x9275[4]](!mxClient.IS_TOUCH);this[_0x9275[5]](false);this[_0x9275[6]](false);this[_0x9275[7]]=true;this[_0x9275[8]]=false;this[_0x9275[9]]=false;this[_0x9275[11]][_0x9275[10]]=true;this[_0x9275[12]](false);this[_0x9275[11]][_0x9275[13]](false);this[_0x9275[11]][_0x9275[14]]=function(){return mxConnectionHandler[_0x9275[16]][_0x9275[14]][_0x9275[15]](this,arguments)&&urlParams[_0x9275[17]]!=_0x9275[18]};this[_0x9275[19]]=_0x9275[20];if(_0x10a3x4==null){this[_0x9275[21]]()};var _0x10a3x5= new mxRubberband(this);this[_0x9275[22]]=function(){return _0x10a3x5};this[_0x9275[29]][_0x9275[28]](mxEvent.PAN_START,mxUtils[_0x9275[27]](this,function(){this[_0x9275[25]][_0x9275[24]][_0x9275[23]]=_0x9275[26]}));this[_0x9275[29]][_0x9275[28]](mxEvent.PAN_END,mxUtils[_0x9275[27]](this,function(){this[_0x9275[25]][_0x9275[24]][_0x9275[23]]=_0x9275[30]}));this[_0x9275[31]]=function(_0x10a3x6){var _0x10a3x7=this[_0x9275[33]][_0x9275[32]](_0x10a3x6);var _0x10a3x8=(_0x10a3x7!=null)?_0x10a3x7[_0x9275[24]]:this[_0x9275[34]](_0x10a3x6);return _0x10a3x8[_0x9275[35]]==_0x9275[36]||_0x10a3x8[_0x9275[37]]==_0x9275[38]};this[_0x9275[40]][_0x9275[39]]=function(_0x10a3x7){var _0x10a3x9=mxCellRenderer[_0x9275[16]][_0x9275[39]][_0x9275[15]](this,arguments);if(_0x10a3x7[_0x9275[24]][_0x9275[37]]==_0x9275[38]&&_0x10a3x7[_0x9275[24]][_0x9275[35]]!=1){_0x10a3x9=mxUtils[_0x9275[41]](_0x10a3x9,false)};return _0x10a3x9};this[_0x9275[42]]=function(_0x10a3x6){return false};this[_0x9275[11]][_0x9275[43]]=16;var _0x10a3xa=this[_0x9275[11]][_0x9275[44]];this[_0x9275[11]][_0x9275[44]]=function(_0x10a3xb,_0x10a3x7){if(_0x10a3x7==null){if(!this[_0x9275[46]][_0x9275[29]][_0x9275[45]]){_0x10a3x5[_0x9275[49]](_0x10a3xb[_0x9275[47]](),_0x10a3xb[_0x9275[48]]());this[_0x9275[46]][_0x9275[29]][_0x9275[50]]=false}}else {if(tapAndHoldStartsConnection){_0x10a3xa[_0x9275[15]](this,arguments)}else {if(this[_0x9275[46]][_0x9275[52]](_0x10a3x7[_0x9275[51]])&&this[_0x9275[46]][_0x9275[53]]()>1){this[_0x9275[46]][_0x9275[54]](_0x10a3x7[_0x9275[51]])}}}};if(touchStyle){this[_0x9275[55]]()}};mxUtils[_0x9275[56]](Graph,mxGraph);Graph[_0x9275[16]][_0x9275[57]]=null;Graph[_0x9275[16]][_0x9275[58]]=null;Graph[_0x9275[16]][_0x9275[21]]=function(){var _0x10a3xc=mxUtils[_0x9275[61]](STYLE_PATH+_0x9275[60])[_0x9275[59]]();var _0x10a3xd= new mxCodec(_0x10a3xc[_0x9275[62]]);_0x10a3xd[_0x9275[64]](_0x10a3xc,this[_0x9275[63]]())};Graph[_0x9275[16]][_0x9275[65]]=function(_0x10a3xe){if(_0x10a3xe!=null){var _0x10a3x7=this[_0x9275[33]][_0x9275[32]](_0x10a3xe);var _0x10a3x8=(_0x10a3x7!=null)?_0x10a3x7[_0x9275[24]]:this[_0x9275[34]](_0x10a3xe);if(_0x10a3x8!=null){var _0x10a3xf=mxUtils[_0x9275[66]](_0x10a3x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x10a3x10=(_0x10a3xf==mxConstants[_0x9275[67]])?mxConstants[_0x9275[68]]:mxConstants[_0x9275[67]];this[_0x9275[69]](mxConstants.STYLE_ELBOW,_0x10a3x10,[_0x10a3xe])}}};Graph[_0x9275[16]][_0x9275[70]]=function(_0x10a3x6){if(_0x10a3x6!=null&&this[_0x9275[72]]()[_0x9275[71]](_0x10a3x6)){var _0x10a3x11=this[_0x9275[72]]()[_0x9275[73]]([_0x10a3x6])[0];if(_0x10a3x11[_0x9275[74]]!=null){_0x10a3x11[_0x9275[74]][_0x9275[75]]=null};var _0x10a3x8=_0x10a3x11[_0x9275[76]]();_0x10a3x8=mxUtils[_0x9275[77]](_0x10a3x8,mxConstants.STYLE_ENTRY_X,null);_0x10a3x8=mxUtils[_0x9275[77]](_0x10a3x8,mxConstants.STYLE_ENTRY_Y,null);_0x10a3x8=mxUtils[_0x9275[77]](_0x10a3x8,mxConstants.STYLE_EXIT_X,null);_0x10a3x8=mxUtils[_0x9275[77]](_0x10a3x8,mxConstants.STYLE_EXIT_Y,null);_0x10a3x11[_0x9275[77]](_0x10a3x8);this[_0x9275[11]][_0x9275[78]]=function(_0x10a3xb){return this[_0x9275[46]][_0x9275[33]][_0x9275[79]](_0x10a3x11)};this[_0x9275[11]][_0x9275[80]]=function(){return this[_0x9275[46]][_0x9275[73]]([_0x10a3x11])[0]}}};Graph[_0x9275[16]][_0x9275[81]]=function(_0x10a3x6){return this[_0x9275[82]]&&this[_0x9275[83]](_0x10a3x6)};Graph[_0x9275[16]][_0x9275[84]]=function(_0x10a3x6){return this[_0x9275[83]](_0x10a3x6)};Graph[_0x9275[16]][_0x9275[85]]=function(){var _0x10a3x12=mxGraph[_0x9275[16]][_0x9275[85]][_0x9275[15]](this,arguments);_0x10a3x12[_0x9275[77]](_0x9275[86]);return _0x10a3x12};Graph[_0x9275[16]][_0x9275[87]]=function(_0x10a3x6){var _0x10a3x13=_0x9275[88];if(this[_0x9275[72]]()[_0x9275[89]](_0x10a3x6)){_0x10a3x13+=mxResources[_0x9275[93]](_0x9275[90]+_0x10a3x6[_0x9275[92]][_0x9275[91]])}else {if(this[_0x9275[72]]()[_0x9275[71]](_0x10a3x6)){_0x10a3x13=mxGraph[_0x9275[16]][_0x9275[87]][_0x9275[15]](this,arguments)}};return _0x10a3x13};Graph[_0x9275[16]][_0x9275[94]]=function(_0x10a3x6){if(_0x10a3x6[_0x9275[92]]!=null&& typeof (_0x10a3x6[_0x9275[92]])==_0x9275[95]){return _0x10a3x6[_0x9275[92]][_0x9275[97]](_0x9275[96])};return mxGraph[_0x9275[16]][_0x9275[94]][_0x9275[15]](this,arguments)};Graph[_0x9275[16]][_0x9275[98]]=function(_0x10a3x6,_0x10a3x10,_0x10a3x14){if(_0x10a3x6[_0x9275[92]]!=null&& typeof (_0x10a3x6[_0x9275[92]])==_0x9275[95]){var _0x10a3x15=_0x10a3x6[_0x9275[92]][_0x9275[99]](true);_0x10a3x15[_0x9275[100]](_0x9275[96],_0x10a3x10);_0x10a3x10=_0x10a3x15};mxGraph[_0x9275[16]][_0x9275[98]][_0x9275[15]](this,arguments)};Graph[_0x9275[16]][_0x9275[101]]=function(_0x10a3x6,_0x10a3x16){var _0x10a3x10=null;if(_0x10a3x6[_0x9275[92]]!=null&& typeof (_0x10a3x6[_0x9275[92]])==_0x9275[95]){_0x10a3x10=_0x10a3x6[_0x9275[92]][_0x9275[99]](true)}else {var _0x10a3x17=mxUtils[_0x9275[102]]();_0x10a3x10=_0x10a3x17[_0x9275[104]](_0x9275[103]);_0x10a3x10[_0x9275[100]](_0x9275[96],_0x10a3x6[_0x9275[92]])};if(_0x10a3x16!=null&&_0x10a3x16[_0x9275[105]]>0){_0x10a3x10[_0x9275[100]](_0x9275[106],_0x10a3x16)}else {_0x10a3x10[_0x9275[107]](_0x9275[106])};this[_0x9275[109]][_0x9275[108]](_0x10a3x6,_0x10a3x10)};Graph[_0x9275[16]][_0x9275[110]]=function(_0x10a3x6){if(_0x10a3x6[_0x9275[92]]!=null&& typeof (_0x10a3x6[_0x9275[92]])==_0x9275[95]){return _0x10a3x6[_0x9275[92]][_0x9275[97]](_0x9275[106])};return null};Graph[_0x9275[16]][_0x9275[55]]=function(){this[_0x9275[11]][_0x9275[112]][_0x9275[111]]=function(){return this[_0x9275[46]][_0x9275[11]][_0x9275[113]]!=null};this[_0x9275[28]](mxEvent.START_EDITING,function(_0x10a3x18,_0x10a3x19){this[_0x9275[29]][_0x9275[114]]()});var _0x10a3x1a=false;var _0x10a3x1b=null;this[_0x9275[115]]=function(_0x10a3xb){mxGraph[_0x9275[16]][_0x9275[115]][_0x9275[15]](this,arguments);if(_0x10a3xb[_0x9275[32]]()==null){var _0x10a3x6=this[_0x9275[118]](_0x10a3xb[_0x9275[116]],_0x10a3xb[_0x9275[117]]);if(this[_0x9275[72]]()[_0x9275[71]](_0x10a3x6)){_0x10a3xb[_0x9275[119]]=this[_0x9275[33]][_0x9275[32]](_0x10a3x6);if(_0x10a3xb[_0x9275[119]]!=null&&_0x10a3xb[_0x9275[119]][_0x9275[120]]!=null){this[_0x9275[25]][_0x9275[24]][_0x9275[23]]=_0x10a3xb[_0x9275[119]][_0x9275[120]][_0x9275[121]][_0x9275[24]][_0x9275[23]]}}};if(_0x10a3xb[_0x9275[32]]()==null){this[_0x9275[25]][_0x9275[24]][_0x9275[23]]=_0x9275[30]}};this[_0x9275[122]]=function(_0x10a3x1c,_0x10a3xb,_0x10a3x18){if(_0x10a3x1c==mxEvent[_0x9275[123]]){if(!this[_0x9275[29]][_0x9275[124]]()){_0x10a3x1b=_0x10a3xb[_0x9275[125]]();_0x10a3x1a=(_0x10a3x1b!=null)?this[_0x9275[52]](_0x10a3x1b):this[_0x9275[126]]()}else {_0x10a3x1a=false;_0x10a3x1b=null}}else {if(_0x10a3x1c==mxEvent[_0x9275[127]]){if(_0x10a3x1a&&!this[_0x9275[128]]()){if(!this[_0x9275[29]][_0x9275[124]]()){var _0x10a3x1d=mxEvent[_0x9275[130]](_0x10a3xb[_0x9275[129]]());var _0x10a3x1e=mxEvent[_0x9275[131]](_0x10a3xb[_0x9275[129]]());this[_0x9275[29]][_0x9275[132]](_0x10a3x1d+16,_0x10a3x1e,_0x10a3x1b,_0x10a3xb[_0x9275[129]]())};_0x10a3x1a=false;_0x10a3x1b=null;_0x10a3xb[_0x9275[133]]();return};_0x10a3x1a=false;_0x10a3x1b=null}};mxGraph[_0x9275[16]][_0x9275[122]][_0x9275[15]](this,arguments);if(_0x10a3x1c==mxEvent[_0x9275[134]]&&_0x10a3xb[_0x9275[135]]()){_0x10a3x1a=false;_0x10a3x1b=null}}};(function(){mxVertexHandler[_0x9275[16]][_0x9275[136]]=true;mxText[_0x9275[16]][_0x9275[137]]=5;mxText[_0x9275[16]][_0x9275[138]]=1;if(touchStyle){mxConstants[_0x9275[139]]=16;mxConstants[_0x9275[140]]=7;if(mxClient[_0x9275[141]]){mxVertexHandler[_0x9275[16]][_0x9275[142]]=4;mxEdgeHandler[_0x9275[16]][_0x9275[142]]=6;Graph[_0x9275[16]][_0x9275[142]]=14;Graph[_0x9275[16]][_0x9275[143]]=20;mxPanningHandler[_0x9275[16]][_0x9275[144]]=false;mxPanningHandler[_0x9275[16]][_0x9275[145]]=true;mxPanningHandler[_0x9275[16]][_0x9275[146]]=function(_0x10a3xb){var _0x10a3x19=_0x10a3xb[_0x9275[129]]();return (this[_0x9275[145]]&&(this[_0x9275[147]]||_0x10a3xb[_0x9275[32]]()==null))||(mxEvent[_0x9275[148]](_0x10a3x19)&&mxEvent[_0x9275[149]](_0x10a3x19))||(this[_0x9275[150]]&&mxEvent[_0x9275[151]](_0x10a3x19))}};var _0x10a3x1f=mxGraphHandler[_0x9275[16]][_0x9275[152]];mxGraphHandler[_0x9275[16]][_0x9275[152]]=function(_0x10a3x18,_0x10a3xb){_0x10a3x1f[_0x9275[15]](this,arguments);if(this[_0x9275[46]][_0x9275[52]](_0x10a3xb[_0x9275[125]]())&&this[_0x9275[46]][_0x9275[53]]()>1){this[_0x9275[153]]=false}};Graph[_0x9275[16]][_0x9275[154]]=function(_0x10a3x1){this[_0x9275[155]]= new mxTooltipHandler(this);this[_0x9275[155]][_0x9275[156]](false);this[_0x9275[157]]= new mxSelectionCellsHandler(this);this[_0x9275[29]]= new mxPanningHandler(this);this[_0x9275[29]][_0x9275[158]]=false;this[_0x9275[11]]= new mxConnectionHandler(this);this[_0x9275[11]][_0x9275[156]](false);this[_0x9275[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0x9275[16]][_0x9275[160]]=function(_0x10a3xe,_0x10a3x20){if(touchStyle&&_0x10a3x20!=null){this[_0x9275[46]][_0x9275[161]](_0x10a3x20)}else {this[_0x9275[46]][_0x9275[161]](_0x10a3xe)}};var _0x10a3x21=mxGraph[_0x9275[16]][_0x9275[162]];Graph[_0x9275[16]][_0x9275[162]]=function(_0x10a3x19,_0x10a3x6){if(_0x10a3x6==null){var _0x10a3x22=mxUtils[_0x9275[163]](this[_0x9275[25]],mxEvent[_0x9275[130]](_0x10a3x19),mxEvent[_0x9275[131]](_0x10a3x19));_0x10a3x6=this[_0x9275[118]](_0x10a3x22[_0x9275[164]],_0x10a3x22[_0x9275[165]])};_0x10a3x21[_0x9275[0]](this,_0x10a3x19,_0x10a3x6)};var _0x10a3x23= new mxImage(IMAGE_PATH+_0x9275[166],16,16);mxVertexHandler[_0x9275[16]][_0x9275[167]]=_0x10a3x23;mxEdgeHandler[_0x9275[16]][_0x9275[167]]=_0x10a3x23;mxOutline[_0x9275[16]][_0x9275[168]]=_0x10a3x23; new Image()[_0x9275[169]]=_0x10a3x23[_0x9275[169]];var _0x10a3x24=IMAGE_PATH+_0x9275[170];var _0x10a3x25=mxVertexHandler[_0x9275[16]][_0x9275[171]];mxVertexHandler[_0x9275[16]][_0x9275[171]]=function(){_0x10a3x25[_0x9275[15]](this,arguments);if(showConnectorImg&&this[_0x9275[46]][_0x9275[11]][_0x9275[111]]()&&this[_0x9275[46]][_0x9275[172]](this[_0x9275[119]][_0x9275[51]])&&!this[_0x9275[46]][_0x9275[84]](this[_0x9275[119]][_0x9275[51]])&&this[_0x9275[46]][_0x9275[53]]()==1){this[_0x9275[173]]=mxUtils[_0x9275[174]](_0x10a3x24);this[_0x9275[173]][_0x9275[24]][_0x9275[23]]=_0x9275[26];this[_0x9275[173]][_0x9275[24]][_0x9275[175]]=_0x9275[176];this[_0x9275[173]][_0x9275[24]][_0x9275[177]]=_0x9275[176];this[_0x9275[173]][_0x9275[24]][_0x9275[178]]=_0x9275[179];if(!mxClient[_0x9275[141]]){this[_0x9275[173]][_0x9275[100]](_0x9275[180],mxResources[_0x9275[93]](_0x9275[17]));mxEvent[_0x9275[181]](this[_0x9275[173]],this[_0x9275[46]],this[_0x9275[119]])};this[_0x9275[173]][_0x9275[24]][_0x9275[182]]=_0x9275[183];mxEvent[_0x9275[185]](this[_0x9275[173]],mxUtils[_0x9275[27]](this,function(_0x10a3x19){this[_0x9275[46]][_0x9275[29]][_0x9275[114]]();var _0x10a3x22=mxUtils[_0x9275[163]](this[_0x9275[46]][_0x9275[25]],mxEvent[_0x9275[130]](_0x10a3x19),mxEvent[_0x9275[131]](_0x10a3x19));this[_0x9275[46]][_0x9275[11]][_0x9275[49]](this[_0x9275[119]],_0x10a3x22[_0x9275[164]],_0x10a3x22[_0x9275[165]]);this[_0x9275[46]][_0x9275[184]]=true;mxEvent[_0x9275[133]](_0x10a3x19)}));this[_0x9275[46]][_0x9275[25]][_0x9275[186]](this[_0x9275[173]])};this[_0x9275[187]]()};var _0x10a3x26=mxVertexHandler[_0x9275[16]][_0x9275[188]];mxVertexHandler[_0x9275[16]][_0x9275[188]]=function(){_0x10a3x26[_0x9275[15]](this);this[_0x9275[187]]()};mxVertexHandler[_0x9275[16]][_0x9275[187]]=function(){if(this[_0x9275[119]]!=null&&this[_0x9275[173]]!=null){if(mxVertexHandler[_0x9275[16]][_0x9275[189]]){this[_0x9275[173]][_0x9275[24]][_0x9275[190]]=(this[_0x9275[119]][_0x9275[164]]+this[_0x9275[119]][_0x9275[175]]-this[_0x9275[173]][_0x9275[191]]/2)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[193]]=(this[_0x9275[119]][_0x9275[165]]-this[_0x9275[173]][_0x9275[194]]/2)+_0x9275[192]}else {this[_0x9275[173]][_0x9275[24]][_0x9275[190]]=(this[_0x9275[119]][_0x9275[164]]+this[_0x9275[119]][_0x9275[175]]+mxConstants[_0x9275[139]]/2+4)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[193]]=(this[_0x9275[119]][_0x9275[165]]+(this[_0x9275[119]][_0x9275[177]]-this[_0x9275[173]][_0x9275[194]])/2)+_0x9275[192]}}};var _0x10a3x27=mxVertexHandler[_0x9275[16]][_0x9275[195]];mxVertexHandler[_0x9275[16]][_0x9275[195]]=function(_0x10a3x18,_0x10a3xb){_0x10a3x27[_0x9275[15]](this,arguments);if(this[_0x9275[173]]!=null){this[_0x9275[173]][_0x9275[197]][_0x9275[196]](this[_0x9275[173]]);this[_0x9275[173]]=null}}; new Image()[_0x9275[169]]=_0x10a3x24}else {var _0x10a3x28= new mxImage(IMAGE_PATH+_0x9275[198],15,15);mxConnectionHandler[_0x9275[16]][_0x9275[199]]=_0x10a3x28; new Image()[_0x9275[169]]=_0x10a3x28[_0x9275[169]];if(urlParams[_0x9275[17]]==_0x9275[18]){var _0x10a3x28= new mxImage(IMAGE_PATH+_0x9275[198],15,15);var _0x10a3x25=mxVertexHandler[_0x9275[16]][_0x9275[171]];mxVertexHandler[_0x9275[16]][_0x9275[171]]=function(){_0x10a3x25[_0x9275[15]](this,arguments);if(showConnectorImg&&this[_0x9275[46]][_0x9275[11]][_0x9275[111]]()&&this[_0x9275[46]][_0x9275[172]](this[_0x9275[119]][_0x9275[51]])&&!this[_0x9275[46]][_0x9275[84]](this[_0x9275[119]][_0x9275[51]])&&this[_0x9275[46]][_0x9275[53]]()==1){if(mxClient[_0x9275[200]]&&!mxClient[_0x9275[201]]){this[_0x9275[173]]=document[_0x9275[104]](_0x9275[202]);this[_0x9275[173]][_0x9275[24]][_0x9275[203]]=_0x9275[204]+_0x10a3x28[_0x9275[169]]+_0x9275[205];this[_0x9275[173]][_0x9275[24]][_0x9275[206]]=_0x9275[207];this[_0x9275[173]][_0x9275[24]][_0x9275[208]]=_0x9275[209];this[_0x9275[173]][_0x9275[24]][_0x9275[175]]=(_0x10a3x28[_0x9275[175]]+4)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[177]]=(_0x10a3x28[_0x9275[177]]+4)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[210]]=(mxClient[_0x9275[211]])?_0x9275[212]:_0x9275[213]}else {this[_0x9275[173]]=mxUtils[_0x9275[174]](_0x10a3x28[_0x9275[169]]);this[_0x9275[173]][_0x9275[24]][_0x9275[175]]=_0x10a3x28[_0x9275[175]]+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[177]]=_0x10a3x28[_0x9275[177]]+_0x9275[192]};this[_0x9275[173]][_0x9275[24]][_0x9275[23]]=_0x9275[26];this[_0x9275[173]][_0x9275[24]][_0x9275[178]]=_0x9275[179];this[_0x9275[173]][_0x9275[100]](_0x9275[180],mxResources[_0x9275[93]](_0x9275[17]));mxEvent[_0x9275[181]](this[_0x9275[173]],this[_0x9275[46]],this[_0x9275[119]]);this[_0x9275[173]][_0x9275[24]][_0x9275[182]]=_0x9275[183];mxEvent[_0x9275[28]](this[_0x9275[173]],_0x9275[214],mxUtils[_0x9275[27]](this,function(_0x10a3x19){this[_0x9275[46]][_0x9275[29]][_0x9275[114]]();var _0x10a3x22=mxUtils[_0x9275[163]](this[_0x9275[46]][_0x9275[25]],mxEvent[_0x9275[130]](_0x10a3x19),mxEvent[_0x9275[131]](_0x10a3x19));this[_0x9275[46]][_0x9275[11]][_0x9275[49]](this[_0x9275[119]],_0x10a3x22[_0x9275[164]],_0x10a3x22[_0x9275[165]]);this[_0x9275[46]][_0x9275[184]]=true;mxEvent[_0x9275[133]](_0x10a3x19)}));this[_0x9275[46]][_0x9275[25]][_0x9275[186]](this[_0x9275[173]])};this[_0x9275[187]]()};var _0x10a3x26=mxVertexHandler[_0x9275[16]][_0x9275[188]];mxVertexHandler[_0x9275[16]][_0x9275[188]]=function(){_0x10a3x26[_0x9275[15]](this);this[_0x9275[187]]()};mxVertexHandler[_0x9275[16]][_0x9275[187]]=function(){if(this[_0x9275[119]]!=null&&this[_0x9275[173]]!=null){if(mxVertexHandler[_0x9275[16]][_0x9275[189]]){this[_0x9275[173]][_0x9275[24]][_0x9275[190]]=(this[_0x9275[119]][_0x9275[164]]+this[_0x9275[119]][_0x9275[175]]-this[_0x9275[173]][_0x9275[191]]/2)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[193]]=(this[_0x9275[119]][_0x9275[165]]-this[_0x9275[173]][_0x9275[194]]/2)+_0x9275[192]}else {this[_0x9275[173]][_0x9275[24]][_0x9275[190]]=(this[_0x9275[119]][_0x9275[164]]+this[_0x9275[119]][_0x9275[175]]+mxConstants[_0x9275[139]]/2+2)+_0x9275[192];this[_0x9275[173]][_0x9275[24]][_0x9275[193]]=(this[_0x9275[119]][_0x9275[165]]+(this[_0x9275[119]][_0x9275[177]]-this[_0x9275[173]][_0x9275[194]])/2)+_0x9275[192]}}};var _0x10a3x27=mxVertexHandler[_0x9275[16]][_0x9275[195]];mxVertexHandler[_0x9275[16]][_0x9275[195]]=function(_0x10a3x18,_0x10a3xb){_0x10a3x27[_0x9275[15]](this,arguments);if(this[_0x9275[173]]!=null){this[_0x9275[173]][_0x9275[197]][_0x9275[196]](this[_0x9275[173]]);this[_0x9275[173]]=null}}}}})() \ No newline at end of file +var _0x8b9f=["\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(_0xb6b5x1,_0xb6b5x2,_0xb6b5x3,_0xb6b5x4){mxGraph[_0x8b9f[0]](this,_0xb6b5x1,_0xb6b5x2,_0xb6b5x3,_0xb6b5x4);this[_0x8b9f[1]](true);this[_0x8b9f[2]](false);this[_0x8b9f[3]](true);this[_0x8b9f[4]](!mxClient.IS_TOUCH);this[_0x8b9f[5]](false);this[_0x8b9f[6]](false);this[_0x8b9f[7]]=true;this[_0x8b9f[8]]=false;this[_0x8b9f[9]]=false;this[_0x8b9f[11]][_0x8b9f[10]]=true;this[_0x8b9f[12]](false);this[_0x8b9f[11]][_0x8b9f[13]](false);this[_0x8b9f[11]][_0x8b9f[14]]=function(){return mxConnectionHandler[_0x8b9f[16]][_0x8b9f[14]][_0x8b9f[15]](this,arguments)&&urlParams[_0x8b9f[17]]!=_0x8b9f[18]};this[_0x8b9f[19]]=_0x8b9f[20];if(_0xb6b5x4==null){this[_0x8b9f[21]]()};var _0xb6b5x5= new mxRubberband(this);this[_0x8b9f[22]]=function(){return _0xb6b5x5};this[_0x8b9f[29]][_0x8b9f[28]](mxEvent.PAN_START,mxUtils[_0x8b9f[27]](this,function(){this[_0x8b9f[25]][_0x8b9f[24]][_0x8b9f[23]]=_0x8b9f[26]}));this[_0x8b9f[29]][_0x8b9f[28]](mxEvent.PAN_END,mxUtils[_0x8b9f[27]](this,function(){this[_0x8b9f[25]][_0x8b9f[24]][_0x8b9f[23]]=_0x8b9f[30]}));this[_0x8b9f[31]]=function(_0xb6b5x6){var _0xb6b5x7=this[_0x8b9f[33]][_0x8b9f[32]](_0xb6b5x6);var _0xb6b5x8=(_0xb6b5x7!=null)?_0xb6b5x7[_0x8b9f[24]]:this[_0x8b9f[34]](_0xb6b5x6);return _0xb6b5x8[_0x8b9f[35]]==_0x8b9f[36]||_0xb6b5x8[_0x8b9f[37]]==_0x8b9f[38]};this[_0x8b9f[40]][_0x8b9f[39]]=function(_0xb6b5x7){var _0xb6b5x9=mxCellRenderer[_0x8b9f[16]][_0x8b9f[39]][_0x8b9f[15]](this,arguments);if(_0xb6b5x7[_0x8b9f[24]][_0x8b9f[37]]==_0x8b9f[38]&&_0xb6b5x7[_0x8b9f[24]][_0x8b9f[35]]!=1){_0xb6b5x9=mxUtils[_0x8b9f[41]](_0xb6b5x9,false)};return _0xb6b5x9};this[_0x8b9f[42]]=function(_0xb6b5x6){return false};this[_0x8b9f[11]][_0x8b9f[43]]=16;var _0xb6b5xa=this[_0x8b9f[11]][_0x8b9f[44]];this[_0x8b9f[11]][_0x8b9f[44]]=function(_0xb6b5xb,_0xb6b5x7){if(_0xb6b5x7==null){if(!this[_0x8b9f[46]][_0x8b9f[29]][_0x8b9f[45]]){_0xb6b5x5[_0x8b9f[49]](_0xb6b5xb[_0x8b9f[47]](),_0xb6b5xb[_0x8b9f[48]]());this[_0x8b9f[46]][_0x8b9f[29]][_0x8b9f[50]]=false}}else {if(tapAndHoldStartsConnection){_0xb6b5xa[_0x8b9f[15]](this,arguments)}else {if(this[_0x8b9f[46]][_0x8b9f[52]](_0xb6b5x7[_0x8b9f[51]])&&this[_0x8b9f[46]][_0x8b9f[53]]()>1){this[_0x8b9f[46]][_0x8b9f[54]](_0xb6b5x7[_0x8b9f[51]])}}}};if(touchStyle){this[_0x8b9f[55]]()}};mxUtils[_0x8b9f[56]](Graph,mxGraph);Graph[_0x8b9f[16]][_0x8b9f[57]]=null;Graph[_0x8b9f[16]][_0x8b9f[58]]=null;Graph[_0x8b9f[16]][_0x8b9f[21]]=function(){var _0xb6b5xc=mxUtils[_0x8b9f[61]](STYLE_PATH+_0x8b9f[60])[_0x8b9f[59]]();var _0xb6b5xd= new mxCodec(_0xb6b5xc[_0x8b9f[62]]);_0xb6b5xd[_0x8b9f[64]](_0xb6b5xc,this[_0x8b9f[63]]())};Graph[_0x8b9f[16]][_0x8b9f[65]]=function(_0xb6b5xe){if(_0xb6b5xe!=null){var _0xb6b5x7=this[_0x8b9f[33]][_0x8b9f[32]](_0xb6b5xe);var _0xb6b5x8=(_0xb6b5x7!=null)?_0xb6b5x7[_0x8b9f[24]]:this[_0x8b9f[34]](_0xb6b5xe);if(_0xb6b5x8!=null){var _0xb6b5xf=mxUtils[_0x8b9f[66]](_0xb6b5x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0xb6b5x10=(_0xb6b5xf==mxConstants[_0x8b9f[67]])?mxConstants[_0x8b9f[68]]:mxConstants[_0x8b9f[67]];this[_0x8b9f[69]](mxConstants.STYLE_ELBOW,_0xb6b5x10,[_0xb6b5xe])}}};Graph[_0x8b9f[16]][_0x8b9f[70]]=function(_0xb6b5x6){if(_0xb6b5x6!=null&&this[_0x8b9f[72]]()[_0x8b9f[71]](_0xb6b5x6)){var _0xb6b5x11=this[_0x8b9f[72]]()[_0x8b9f[73]]([_0xb6b5x6])[0];if(_0xb6b5x11[_0x8b9f[74]]!=null){_0xb6b5x11[_0x8b9f[74]][_0x8b9f[75]]=null};var _0xb6b5x8=_0xb6b5x11[_0x8b9f[76]]();_0xb6b5x8=mxUtils[_0x8b9f[77]](_0xb6b5x8,mxConstants.STYLE_ENTRY_X,null);_0xb6b5x8=mxUtils[_0x8b9f[77]](_0xb6b5x8,mxConstants.STYLE_ENTRY_Y,null);_0xb6b5x8=mxUtils[_0x8b9f[77]](_0xb6b5x8,mxConstants.STYLE_EXIT_X,null);_0xb6b5x8=mxUtils[_0x8b9f[77]](_0xb6b5x8,mxConstants.STYLE_EXIT_Y,null);_0xb6b5x11[_0x8b9f[77]](_0xb6b5x8);this[_0x8b9f[11]][_0x8b9f[78]]=function(_0xb6b5xb){return this[_0x8b9f[46]][_0x8b9f[33]][_0x8b9f[79]](_0xb6b5x11)};this[_0x8b9f[11]][_0x8b9f[80]]=function(){return this[_0x8b9f[46]][_0x8b9f[73]]([_0xb6b5x11])[0]}}};Graph[_0x8b9f[16]][_0x8b9f[81]]=function(_0xb6b5x6){return this[_0x8b9f[82]]&&this[_0x8b9f[83]](_0xb6b5x6)};Graph[_0x8b9f[16]][_0x8b9f[84]]=function(_0xb6b5x6){return this[_0x8b9f[83]](_0xb6b5x6)};Graph[_0x8b9f[16]][_0x8b9f[85]]=function(){var _0xb6b5x12=mxGraph[_0x8b9f[16]][_0x8b9f[85]][_0x8b9f[15]](this,arguments);_0xb6b5x12[_0x8b9f[77]](_0x8b9f[86]);return _0xb6b5x12};Graph[_0x8b9f[16]][_0x8b9f[87]]=function(_0xb6b5x6){var _0xb6b5x13=_0x8b9f[88];if(this[_0x8b9f[72]]()[_0x8b9f[89]](_0xb6b5x6)){_0xb6b5x13+=mxResources[_0x8b9f[93]](_0x8b9f[90]+_0xb6b5x6[_0x8b9f[92]][_0x8b9f[91]])}else {if(this[_0x8b9f[72]]()[_0x8b9f[71]](_0xb6b5x6)){_0xb6b5x13=mxGraph[_0x8b9f[16]][_0x8b9f[87]][_0x8b9f[15]](this,arguments)}};return _0xb6b5x13};Graph[_0x8b9f[16]][_0x8b9f[94]]=function(_0xb6b5x6){if(_0xb6b5x6[_0x8b9f[92]]!=null&& typeof (_0xb6b5x6[_0x8b9f[92]])==_0x8b9f[95]){return _0xb6b5x6[_0x8b9f[92]][_0x8b9f[97]](_0x8b9f[96])};return mxGraph[_0x8b9f[16]][_0x8b9f[94]][_0x8b9f[15]](this,arguments)};Graph[_0x8b9f[16]][_0x8b9f[98]]=function(_0xb6b5x6,_0xb6b5x10,_0xb6b5x14){if(_0xb6b5x6[_0x8b9f[92]]!=null&& typeof (_0xb6b5x6[_0x8b9f[92]])==_0x8b9f[95]){var _0xb6b5x15=_0xb6b5x6[_0x8b9f[92]][_0x8b9f[99]](true);_0xb6b5x15[_0x8b9f[100]](_0x8b9f[96],_0xb6b5x10);_0xb6b5x10=_0xb6b5x15};mxGraph[_0x8b9f[16]][_0x8b9f[98]][_0x8b9f[15]](this,arguments)};Graph[_0x8b9f[16]][_0x8b9f[101]]=function(_0xb6b5x6,_0xb6b5x16){var _0xb6b5x10=null;if(_0xb6b5x6[_0x8b9f[92]]!=null&& typeof (_0xb6b5x6[_0x8b9f[92]])==_0x8b9f[95]){_0xb6b5x10=_0xb6b5x6[_0x8b9f[92]][_0x8b9f[99]](true)}else {var _0xb6b5x17=mxUtils[_0x8b9f[102]]();_0xb6b5x10=_0xb6b5x17[_0x8b9f[104]](_0x8b9f[103]);_0xb6b5x10[_0x8b9f[100]](_0x8b9f[96],_0xb6b5x6[_0x8b9f[92]])};if(_0xb6b5x16!=null&&_0xb6b5x16[_0x8b9f[105]]>0){_0xb6b5x10[_0x8b9f[100]](_0x8b9f[106],_0xb6b5x16)}else {_0xb6b5x10[_0x8b9f[107]](_0x8b9f[106])};this[_0x8b9f[109]][_0x8b9f[108]](_0xb6b5x6,_0xb6b5x10)};Graph[_0x8b9f[16]][_0x8b9f[110]]=function(_0xb6b5x6){if(_0xb6b5x6[_0x8b9f[92]]!=null&& typeof (_0xb6b5x6[_0x8b9f[92]])==_0x8b9f[95]){return _0xb6b5x6[_0x8b9f[92]][_0x8b9f[97]](_0x8b9f[106])};return null};Graph[_0x8b9f[16]][_0x8b9f[55]]=function(){this[_0x8b9f[11]][_0x8b9f[112]][_0x8b9f[111]]=function(){return this[_0x8b9f[46]][_0x8b9f[11]][_0x8b9f[113]]!=null};this[_0x8b9f[28]](mxEvent.START_EDITING,function(_0xb6b5x18,_0xb6b5x19){this[_0x8b9f[29]][_0x8b9f[114]]()});var _0xb6b5x1a=false;var _0xb6b5x1b=null;this[_0x8b9f[115]]=function(_0xb6b5xb){mxGraph[_0x8b9f[16]][_0x8b9f[115]][_0x8b9f[15]](this,arguments);if(_0xb6b5xb[_0x8b9f[32]]()==null){var _0xb6b5x6=this[_0x8b9f[118]](_0xb6b5xb[_0x8b9f[116]],_0xb6b5xb[_0x8b9f[117]]);if(this[_0x8b9f[72]]()[_0x8b9f[71]](_0xb6b5x6)){_0xb6b5xb[_0x8b9f[119]]=this[_0x8b9f[33]][_0x8b9f[32]](_0xb6b5x6);if(_0xb6b5xb[_0x8b9f[119]]!=null&&_0xb6b5xb[_0x8b9f[119]][_0x8b9f[120]]!=null){this[_0x8b9f[25]][_0x8b9f[24]][_0x8b9f[23]]=_0xb6b5xb[_0x8b9f[119]][_0x8b9f[120]][_0x8b9f[121]][_0x8b9f[24]][_0x8b9f[23]]}}};if(_0xb6b5xb[_0x8b9f[32]]()==null){this[_0x8b9f[25]][_0x8b9f[24]][_0x8b9f[23]]=_0x8b9f[30]}};this[_0x8b9f[122]]=function(_0xb6b5x1c,_0xb6b5xb,_0xb6b5x18){if(_0xb6b5x1c==mxEvent[_0x8b9f[123]]){if(!this[_0x8b9f[29]][_0x8b9f[124]]()){_0xb6b5x1b=_0xb6b5xb[_0x8b9f[125]]();_0xb6b5x1a=(_0xb6b5x1b!=null)?this[_0x8b9f[52]](_0xb6b5x1b):this[_0x8b9f[126]]()}else {_0xb6b5x1a=false;_0xb6b5x1b=null}}else {if(_0xb6b5x1c==mxEvent[_0x8b9f[127]]){if(_0xb6b5x1a&&!this[_0x8b9f[128]]()){if(!this[_0x8b9f[29]][_0x8b9f[124]]()){var _0xb6b5x1d=mxEvent[_0x8b9f[130]](_0xb6b5xb[_0x8b9f[129]]());var _0xb6b5x1e=mxEvent[_0x8b9f[131]](_0xb6b5xb[_0x8b9f[129]]());this[_0x8b9f[29]][_0x8b9f[132]](_0xb6b5x1d+16,_0xb6b5x1e,_0xb6b5x1b,_0xb6b5xb[_0x8b9f[129]]())};_0xb6b5x1a=false;_0xb6b5x1b=null;_0xb6b5xb[_0x8b9f[133]]();return};_0xb6b5x1a=false;_0xb6b5x1b=null}};mxGraph[_0x8b9f[16]][_0x8b9f[122]][_0x8b9f[15]](this,arguments);if(_0xb6b5x1c==mxEvent[_0x8b9f[134]]&&_0xb6b5xb[_0x8b9f[135]]()){_0xb6b5x1a=false;_0xb6b5x1b=null}}};(function(){mxVertexHandler[_0x8b9f[16]][_0x8b9f[136]]=true;mxText[_0x8b9f[16]][_0x8b9f[137]]=5;mxText[_0x8b9f[16]][_0x8b9f[138]]=1;if(touchStyle){mxConstants[_0x8b9f[139]]=16;mxConstants[_0x8b9f[140]]=7;if(mxClient[_0x8b9f[141]]){mxVertexHandler[_0x8b9f[16]][_0x8b9f[142]]=4;mxEdgeHandler[_0x8b9f[16]][_0x8b9f[142]]=6;Graph[_0x8b9f[16]][_0x8b9f[142]]=14;Graph[_0x8b9f[16]][_0x8b9f[143]]=20;mxPanningHandler[_0x8b9f[16]][_0x8b9f[144]]=false;mxPanningHandler[_0x8b9f[16]][_0x8b9f[145]]=true;mxPanningHandler[_0x8b9f[16]][_0x8b9f[146]]=function(_0xb6b5xb){var _0xb6b5x19=_0xb6b5xb[_0x8b9f[129]]();return (this[_0x8b9f[145]]&&(this[_0x8b9f[147]]||_0xb6b5xb[_0x8b9f[32]]()==null))||(mxEvent[_0x8b9f[148]](_0xb6b5x19)&&mxEvent[_0x8b9f[149]](_0xb6b5x19))||(this[_0x8b9f[150]]&&mxEvent[_0x8b9f[151]](_0xb6b5x19))}};var _0xb6b5x1f=mxGraphHandler[_0x8b9f[16]][_0x8b9f[152]];mxGraphHandler[_0x8b9f[16]][_0x8b9f[152]]=function(_0xb6b5x18,_0xb6b5xb){_0xb6b5x1f[_0x8b9f[15]](this,arguments);if(this[_0x8b9f[46]][_0x8b9f[52]](_0xb6b5xb[_0x8b9f[125]]())&&this[_0x8b9f[46]][_0x8b9f[53]]()>1){this[_0x8b9f[153]]=false}};Graph[_0x8b9f[16]][_0x8b9f[154]]=function(_0xb6b5x1){this[_0x8b9f[155]]= new mxTooltipHandler(this);this[_0x8b9f[155]][_0x8b9f[156]](false);this[_0x8b9f[157]]= new mxSelectionCellsHandler(this);this[_0x8b9f[29]]= new mxPanningHandler(this);this[_0x8b9f[29]][_0x8b9f[158]]=false;this[_0x8b9f[11]]= new mxConnectionHandler(this);this[_0x8b9f[11]][_0x8b9f[156]](false);this[_0x8b9f[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0x8b9f[16]][_0x8b9f[160]]=function(_0xb6b5xe,_0xb6b5x20){if(touchStyle&&_0xb6b5x20!=null){this[_0x8b9f[46]][_0x8b9f[161]](_0xb6b5x20)}else {this[_0x8b9f[46]][_0x8b9f[161]](_0xb6b5xe)}};var _0xb6b5x21=mxGraph[_0x8b9f[16]][_0x8b9f[162]];Graph[_0x8b9f[16]][_0x8b9f[162]]=function(_0xb6b5x19,_0xb6b5x6){if(_0xb6b5x6==null){var _0xb6b5x22=mxUtils[_0x8b9f[163]](this[_0x8b9f[25]],mxEvent[_0x8b9f[130]](_0xb6b5x19),mxEvent[_0x8b9f[131]](_0xb6b5x19));_0xb6b5x6=this[_0x8b9f[118]](_0xb6b5x22[_0x8b9f[164]],_0xb6b5x22[_0x8b9f[165]])};_0xb6b5x21[_0x8b9f[0]](this,_0xb6b5x19,_0xb6b5x6)};var _0xb6b5x23= new mxImage(IMAGE_PATH+_0x8b9f[166],16,16);mxVertexHandler[_0x8b9f[16]][_0x8b9f[167]]=_0xb6b5x23;mxEdgeHandler[_0x8b9f[16]][_0x8b9f[167]]=_0xb6b5x23;mxOutline[_0x8b9f[16]][_0x8b9f[168]]=_0xb6b5x23; new Image()[_0x8b9f[169]]=_0xb6b5x23[_0x8b9f[169]];var _0xb6b5x24=IMAGE_PATH+_0x8b9f[170];var _0xb6b5x25=mxVertexHandler[_0x8b9f[16]][_0x8b9f[171]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[171]]=function(){_0xb6b5x25[_0x8b9f[15]](this,arguments);if(showConnectorImg&&this[_0x8b9f[46]][_0x8b9f[11]][_0x8b9f[111]]()&&this[_0x8b9f[46]][_0x8b9f[172]](this[_0x8b9f[119]][_0x8b9f[51]])&&!this[_0x8b9f[46]][_0x8b9f[84]](this[_0x8b9f[119]][_0x8b9f[51]])&&this[_0x8b9f[46]][_0x8b9f[53]]()==1){this[_0x8b9f[173]]=mxUtils[_0x8b9f[174]](_0xb6b5x24);this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[23]]=_0x8b9f[26];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[175]]=_0x8b9f[176];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[177]]=_0x8b9f[176];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[178]]=_0x8b9f[179];if(!mxClient[_0x8b9f[141]]){this[_0x8b9f[173]][_0x8b9f[100]](_0x8b9f[180],mxResources[_0x8b9f[93]](_0x8b9f[17]));mxEvent[_0x8b9f[181]](this[_0x8b9f[173]],this[_0x8b9f[46]],this[_0x8b9f[119]])};this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[182]]=_0x8b9f[183];mxEvent[_0x8b9f[185]](this[_0x8b9f[173]],mxUtils[_0x8b9f[27]](this,function(_0xb6b5x19){this[_0x8b9f[46]][_0x8b9f[29]][_0x8b9f[114]]();var _0xb6b5x22=mxUtils[_0x8b9f[163]](this[_0x8b9f[46]][_0x8b9f[25]],mxEvent[_0x8b9f[130]](_0xb6b5x19),mxEvent[_0x8b9f[131]](_0xb6b5x19));this[_0x8b9f[46]][_0x8b9f[11]][_0x8b9f[49]](this[_0x8b9f[119]],_0xb6b5x22[_0x8b9f[164]],_0xb6b5x22[_0x8b9f[165]]);this[_0x8b9f[46]][_0x8b9f[184]]=true;mxEvent[_0x8b9f[133]](_0xb6b5x19)}));this[_0x8b9f[46]][_0x8b9f[25]][_0x8b9f[186]](this[_0x8b9f[173]])};this[_0x8b9f[187]]()};var _0xb6b5x26=mxVertexHandler[_0x8b9f[16]][_0x8b9f[188]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[188]]=function(){_0xb6b5x26[_0x8b9f[15]](this);this[_0x8b9f[187]]()};mxVertexHandler[_0x8b9f[16]][_0x8b9f[187]]=function(){if(this[_0x8b9f[119]]!=null&&this[_0x8b9f[173]]!=null){if(mxVertexHandler[_0x8b9f[16]][_0x8b9f[189]]){this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[190]]=(this[_0x8b9f[119]][_0x8b9f[164]]+this[_0x8b9f[119]][_0x8b9f[175]]-this[_0x8b9f[173]][_0x8b9f[191]]/2)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[193]]=(this[_0x8b9f[119]][_0x8b9f[165]]-this[_0x8b9f[173]][_0x8b9f[194]]/2)+_0x8b9f[192]}else {this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[190]]=(this[_0x8b9f[119]][_0x8b9f[164]]+this[_0x8b9f[119]][_0x8b9f[175]]+mxConstants[_0x8b9f[139]]/2+4)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[193]]=(this[_0x8b9f[119]][_0x8b9f[165]]+(this[_0x8b9f[119]][_0x8b9f[177]]-this[_0x8b9f[173]][_0x8b9f[194]])/2)+_0x8b9f[192]}}};var _0xb6b5x27=mxVertexHandler[_0x8b9f[16]][_0x8b9f[195]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[195]]=function(_0xb6b5x18,_0xb6b5xb){_0xb6b5x27[_0x8b9f[15]](this,arguments);if(this[_0x8b9f[173]]!=null){this[_0x8b9f[173]][_0x8b9f[197]][_0x8b9f[196]](this[_0x8b9f[173]]);this[_0x8b9f[173]]=null}}; new Image()[_0x8b9f[169]]=_0xb6b5x24}else {var _0xb6b5x28= new mxImage(IMAGE_PATH+_0x8b9f[198],15,15);mxConnectionHandler[_0x8b9f[16]][_0x8b9f[199]]=_0xb6b5x28; new Image()[_0x8b9f[169]]=_0xb6b5x28[_0x8b9f[169]];if(urlParams[_0x8b9f[17]]==_0x8b9f[18]){var _0xb6b5x28= new mxImage(IMAGE_PATH+_0x8b9f[198],15,15);var _0xb6b5x25=mxVertexHandler[_0x8b9f[16]][_0x8b9f[171]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[171]]=function(){_0xb6b5x25[_0x8b9f[15]](this,arguments);if(showConnectorImg&&this[_0x8b9f[46]][_0x8b9f[11]][_0x8b9f[111]]()&&this[_0x8b9f[46]][_0x8b9f[172]](this[_0x8b9f[119]][_0x8b9f[51]])&&!this[_0x8b9f[46]][_0x8b9f[84]](this[_0x8b9f[119]][_0x8b9f[51]])&&this[_0x8b9f[46]][_0x8b9f[53]]()==1){if(mxClient[_0x8b9f[200]]&&!mxClient[_0x8b9f[201]]){this[_0x8b9f[173]]=document[_0x8b9f[104]](_0x8b9f[202]);this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[203]]=_0x8b9f[204]+_0xb6b5x28[_0x8b9f[169]]+_0x8b9f[205];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[206]]=_0x8b9f[207];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[208]]=_0x8b9f[209];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[175]]=(_0xb6b5x28[_0x8b9f[175]]+4)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[177]]=(_0xb6b5x28[_0x8b9f[177]]+4)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[210]]=(mxClient[_0x8b9f[211]])?_0x8b9f[212]:_0x8b9f[213]}else {this[_0x8b9f[173]]=mxUtils[_0x8b9f[174]](_0xb6b5x28[_0x8b9f[169]]);this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[175]]=_0xb6b5x28[_0x8b9f[175]]+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[177]]=_0xb6b5x28[_0x8b9f[177]]+_0x8b9f[192]};this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[23]]=_0x8b9f[26];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[178]]=_0x8b9f[179];this[_0x8b9f[173]][_0x8b9f[100]](_0x8b9f[180],mxResources[_0x8b9f[93]](_0x8b9f[17]));mxEvent[_0x8b9f[181]](this[_0x8b9f[173]],this[_0x8b9f[46]],this[_0x8b9f[119]]);this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[182]]=_0x8b9f[183];mxEvent[_0x8b9f[28]](this[_0x8b9f[173]],_0x8b9f[214],mxUtils[_0x8b9f[27]](this,function(_0xb6b5x19){this[_0x8b9f[46]][_0x8b9f[29]][_0x8b9f[114]]();var _0xb6b5x22=mxUtils[_0x8b9f[163]](this[_0x8b9f[46]][_0x8b9f[25]],mxEvent[_0x8b9f[130]](_0xb6b5x19),mxEvent[_0x8b9f[131]](_0xb6b5x19));this[_0x8b9f[46]][_0x8b9f[11]][_0x8b9f[49]](this[_0x8b9f[119]],_0xb6b5x22[_0x8b9f[164]],_0xb6b5x22[_0x8b9f[165]]);this[_0x8b9f[46]][_0x8b9f[184]]=true;mxEvent[_0x8b9f[133]](_0xb6b5x19)}));this[_0x8b9f[46]][_0x8b9f[25]][_0x8b9f[186]](this[_0x8b9f[173]])};this[_0x8b9f[187]]()};var _0xb6b5x26=mxVertexHandler[_0x8b9f[16]][_0x8b9f[188]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[188]]=function(){_0xb6b5x26[_0x8b9f[15]](this);this[_0x8b9f[187]]()};mxVertexHandler[_0x8b9f[16]][_0x8b9f[187]]=function(){if(this[_0x8b9f[119]]!=null&&this[_0x8b9f[173]]!=null){if(mxVertexHandler[_0x8b9f[16]][_0x8b9f[189]]){this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[190]]=(this[_0x8b9f[119]][_0x8b9f[164]]+this[_0x8b9f[119]][_0x8b9f[175]]-this[_0x8b9f[173]][_0x8b9f[191]]/2)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[193]]=(this[_0x8b9f[119]][_0x8b9f[165]]-this[_0x8b9f[173]][_0x8b9f[194]]/2)+_0x8b9f[192]}else {this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[190]]=(this[_0x8b9f[119]][_0x8b9f[164]]+this[_0x8b9f[119]][_0x8b9f[175]]+mxConstants[_0x8b9f[139]]/2+2)+_0x8b9f[192];this[_0x8b9f[173]][_0x8b9f[24]][_0x8b9f[193]]=(this[_0x8b9f[119]][_0x8b9f[165]]+(this[_0x8b9f[119]][_0x8b9f[177]]-this[_0x8b9f[173]][_0x8b9f[194]])/2)+_0x8b9f[192]}}};var _0xb6b5x27=mxVertexHandler[_0x8b9f[16]][_0x8b9f[195]];mxVertexHandler[_0x8b9f[16]][_0x8b9f[195]]=function(_0xb6b5x18,_0xb6b5xb){_0xb6b5x27[_0x8b9f[15]](this,arguments);if(this[_0x8b9f[173]]!=null){this[_0x8b9f[173]][_0x8b9f[197]][_0x8b9f[196]](this[_0x8b9f[173]]);this[_0x8b9f[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 9a94823..ee12b19 100644 --- a/public/assets/plugins/jscripty/js/Menus.js +++ b/public/assets/plugins/jscripty/js/Menus.js @@ -1 +1 @@ -var _0x6a34=["\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(_0xf4cax1){this[_0x6a34[0]]=_0xf4cax1;this[_0x6a34[1]]= new Object();this[_0x6a34[2]](); new Image()[_0x6a34[3]]=IMAGE_PATH+_0x6a34[4]};Menus[_0x6a34[5]][_0x6a34[2]]=function(){var _0xf4cax2=this[_0x6a34[0]][_0x6a34[7]][_0x6a34[6]];this[_0x6a34[30]](_0x6a34[8], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){var _0xf4cax5=[_0x6a34[9],_0x6a34[10],_0x6a34[11],_0x6a34[12],_0x6a34[13],_0x6a34[14],_0x6a34[15],_0x6a34[16],_0x6a34[17]];for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax5[_0x6a34[18]];_0xf4cax6++){var _0xf4cax7=this[_0x6a34[20]](_0xf4cax3,_0xf4cax5[_0xf4cax6],[mxConstants[_0x6a34[19]]],[_0xf4cax5[_0xf4cax6]],null,_0xf4cax4);_0xf4cax7[_0x6a34[23]][_0x6a34[22]][_0x6a34[21]][_0x6a34[8]]=_0xf4cax5[_0xf4cax6]};_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[25]),_0x6a34[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[31], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){var _0xf4cax8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax8[_0x6a34[18]];_0xf4cax6++){this[_0x6a34[20]](_0xf4cax3,_0xf4cax8[_0xf4cax6],[mxConstants[_0x6a34[32]]],[_0xf4cax8[_0xf4cax6]],null,_0xf4cax4)};_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[25]),_0x6a34[33],_0x6a34[34],mxConstants.STYLE_FONTSIZE,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[35], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){var _0xf4cax8=[1,2,3,4,8,12,16,24];for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax8[_0x6a34[18]];_0xf4cax6++){this[_0x6a34[20]](_0xf4cax3,_0xf4cax8[_0xf4cax6]+_0x6a34[36],[mxConstants[_0x6a34[37]]],[_0xf4cax8[_0xf4cax6]],null,_0xf4cax4)};_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[25]),_0x6a34[38],_0x6a34[39],mxConstants.STYLE_STROKEWIDTH,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[40], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[41]),[mxConstants[_0x6a34[42]]],[null],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[43]),[mxConstants[_0x6a34[42]]],[_0x6a34[44]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[45]),[mxConstants[_0x6a34[42]],mxConstants[_0x6a34[46]]],[_0x6a34[47],_0x6a34[45]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[48]),[mxConstants[_0x6a34[42]],mxConstants[_0x6a34[46]]],[_0x6a34[47],_0x6a34[48]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[49]),[mxConstants[_0x6a34[42]]],[_0x6a34[50]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[51]),[mxConstants[_0x6a34[42]]],[_0x6a34[52]],null,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[53], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[54]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[56]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[57]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[58]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[59]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[60]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[61]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[62]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[63]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[64]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[65]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[66]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[67]),[mxConstants[_0x6a34[55]]],[mxConstants[_0x6a34[68]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[69]),null,function(){_0xf4cax2[_0x6a34[71]](_0x6a34[70],true)},_0xf4cax4,null,true);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[73]),_0x6a34[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[74], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[54]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[56]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[57]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[58]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[59]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[60]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[61]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[62]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[63]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[64]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[65]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[66]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[67]),[mxConstants[_0x6a34[75]]],[mxConstants[_0x6a34[68]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[69]),null,function(){_0xf4cax2[_0x6a34[71]](_0x6a34[76],true)},_0xf4cax4,null,true);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[73]),_0x6a34[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[77], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){var _0xf4cax9=this[_0x6a34[0]][_0x6a34[80]][_0x6a34[26]](_0x6a34[79])[_0x6a34[78]];var _0xf4caxa=this[_0x6a34[26]](_0x6a34[40])[_0x6a34[78]];if(_0xf4cax9||_0xf4cax3[_0x6a34[81]]){this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[82]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SPACING_TOP,_0xf4cax4,_0xf4cax9);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[84]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SPACING_RIGHT,_0xf4cax4,_0xf4cax9);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[85]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SPACING_BOTTOM,_0xf4cax4,_0xf4cax9);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[86]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SPACING_LEFT,_0xf4cax4,_0xf4cax9);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[87]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SPACING,_0xf4cax4,_0xf4cax9);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[88]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_PERIMETER_SPACING,_0xf4cax4,_0xf4cax9)};if(_0xf4caxa||_0xf4cax3[_0x6a34[81]]){_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[89]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0xf4cax4,_0xf4caxa);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[90]),_0x6a34[38],_0x6a34[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0xf4cax4,_0xf4caxa)}})));this[_0x6a34[30]](_0x6a34[91], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[92]](_0xf4cax3,_0x6a34[21],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[93], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){var _0xf4caxb=this[_0x6a34[26]](_0x6a34[93])[_0x6a34[78]];_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[94]](_0x6a34[8],_0xf4cax3,_0xf4cax4);this[_0x6a34[94]](_0x6a34[31],_0xf4cax3,_0xf4cax4);this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],_0x6a34[96],_0x6a34[97],_0x6a34[98],_0x6a34[95]],_0xf4cax4);this[_0x6a34[94]](_0x6a34[100],_0xf4cax3,_0xf4cax4);this[_0x6a34[92]](_0xf4cax3,_0x6a34[101],_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[28]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[102]),_0x6a34[103],_0x6a34[104],mxConstants.STYLE_TEXT_OPACITY,_0xf4cax4,_0xf4caxb);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[105]),null,function(){_0xf4cax2[_0x6a34[71]](mxConstants.STYLE_NOLABEL,false)},_0xf4cax4,null,_0xf4caxb)})));this[_0x6a34[30]](_0x6a34[100], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[106]),[mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[108]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[109]),[mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[110]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[111]),[mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[112]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[113]),[mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[115]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[116]),[mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[117]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[118]),[mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[119]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[94]](_0x6a34[120],_0xf4cax3,_0xf4cax4);this[_0x6a34[94]](_0x6a34[77],_0xf4cax3,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);var _0xf4caxb=this[_0x6a34[26]](_0x6a34[93])[_0x6a34[78]];_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[48]),null,function(){_0xf4cax2[_0x6a34[71]](mxConstants.STYLE_HORIZONTAL,true)},_0xf4cax4,null,_0xf4caxb)})));this[_0x6a34[30]](_0x6a34[120], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[86]),[mxConstants[_0x6a34[121]],mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[108]],mxConstants[_0x6a34[112]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[109]),[mxConstants[_0x6a34[121]],mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[110]],mxConstants[_0x6a34[110]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[84]),[mxConstants[_0x6a34[121]],mxConstants[_0x6a34[107]]],[mxConstants[_0x6a34[112]],mxConstants[_0x6a34[108]]],null,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[82]),[mxConstants[_0x6a34[122]],mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[115]],mxConstants[_0x6a34[119]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[116]),[mxConstants[_0x6a34[122]],mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[117]],mxConstants[_0x6a34[117]]],null,_0xf4cax4);this[_0x6a34[20]](_0xf4cax3,mxResources[_0x6a34[26]](_0x6a34[85]),[mxConstants[_0x6a34[122]],mxConstants[_0x6a34[114]]],[mxConstants[_0x6a34[119]],mxConstants[_0x6a34[115]]],null,_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[123], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[124]),null,function(){_0xf4cax2[_0x6a34[71]](mxConstants.STYLE_FLIPH,false)},_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[125]),null,function(){_0xf4cax2[_0x6a34[71]](mxConstants.STYLE_FLIPV,false)},_0xf4cax4);this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],_0x6a34[126],_0x6a34[127]],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[128], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[106]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_LEFT)},_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[109]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_CENTER)},_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[111]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_RIGHT)},_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[113]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_TOP)},_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[116]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_MIDDLE)},_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[118]),null,function(){_0xf4cax2[_0x6a34[129]](mxConstants.ALIGN_BOTTOM)},_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[130], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[131]),null,mxUtils[_0x6a34[29]](this,function(){var _0xf4caxc= new mxHierarchicalLayout(_0xf4cax2,mxConstants.DIRECTION_WEST);this[_0x6a34[0]][_0x6a34[132]](_0xf4caxc,true,true)}),_0xf4cax4);_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0x6a34[133]),null,mxUtils[_0x6a34[29]](this,function(){var _0xf4caxc= new mxHierarchicalLayout(_0xf4cax2,mxConstants.DIRECTION_NORTH);this[_0x6a34[0]][_0x6a34[132]](_0xf4caxc,true,true)}),_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[134], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[135],_0x6a34[95],_0x6a34[136],_0x6a34[137],_0x6a34[95],_0x6a34[138],_0x6a34[139]],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[140], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[141],_0x6a34[142],_0x6a34[95]],_0xf4cax4);this[_0x6a34[94]](_0x6a34[130],_0xf4cax3,_0xf4cax4);_0xf4cax3[_0x6a34[24]](_0xf4cax4);this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],_0x6a34[143],_0x6a34[144],_0x6a34[145]],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[146], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[147]],_0xf4cax4);_0xf4cax3[_0x6a34[24]]();var _0xf4caxd=[0.25,0.5,0.75,1,2,4];for(var _0xf4cax6=0;_0xf4cax6<_0xf4caxd[_0x6a34[18]];_0xf4cax6++){(function(_0xf4caxe){_0xf4cax3[_0x6a34[72]]((_0xf4caxe*100)+_0x6a34[148],null,function(){_0xf4cax2[_0x6a34[149]](_0xf4caxe)},_0xf4cax4)})(_0xf4caxd[_0xf4cax6])};this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],_0x6a34[150],_0x6a34[151],_0x6a34[95],_0x6a34[152],_0x6a34[153],_0x6a34[95],_0x6a34[154],_0x6a34[155]],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[156], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[157],_0x6a34[158],_0x6a34[95],_0x6a34[159],_0x6a34[160],_0x6a34[161],_0x6a34[95],_0x6a34[162],_0x6a34[95],_0x6a34[163],_0x6a34[164],_0x6a34[95],_0x6a34[165],_0x6a34[166],_0x6a34[95],_0x6a34[167]],_0xf4cax4)})));this[_0x6a34[30]](_0x6a34[168], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[169],_0x6a34[170],_0x6a34[95],_0x6a34[171],_0x6a34[172],_0x6a34[173],_0x6a34[174],_0x6a34[95],_0x6a34[175],_0x6a34[95],_0x6a34[176],_0x6a34[177],_0x6a34[178]])})));this[_0x6a34[30]](_0x6a34[179], new Menu(mxUtils[_0x6a34[29]](this,function(_0xf4cax3,_0xf4cax4){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[179],_0x6a34[95],_0x6a34[180]])})))};Menus[_0x6a34[5]][_0x6a34[30]]=function(_0xf4caxf,_0xf4cax3){this[_0x6a34[1]][_0xf4caxf]=_0xf4cax3};Menus[_0x6a34[5]][_0x6a34[26]]=function(_0xf4caxf){return this[_0x6a34[1]][_0xf4caxf]};Menus[_0x6a34[5]][_0x6a34[94]]=function(_0xf4caxf,_0xf4cax3,_0xf4cax4){var _0xf4caxb=this[_0x6a34[26]](_0xf4caxf)[_0x6a34[78]];if(_0xf4cax3[_0x6a34[81]]||_0xf4caxb){var _0xf4cax10=_0xf4cax3[_0x6a34[72]](mxResources[_0x6a34[26]](_0xf4caxf),null,null,_0xf4cax4,null,_0xf4caxb);this[_0x6a34[181]](_0xf4caxf,_0xf4cax3,_0xf4cax10)}};Menus[_0x6a34[5]][_0x6a34[181]]=function(_0xf4caxf,_0xf4cax11,_0xf4cax4){var _0xf4cax3=this[_0x6a34[26]](_0xf4caxf);if(_0xf4cax3!=null&&(_0xf4cax11[_0x6a34[81]]||_0xf4cax3[_0x6a34[78]])){this[_0x6a34[26]](_0xf4caxf)[_0x6a34[182]](_0xf4cax11,_0xf4cax4)}};Menus[_0x6a34[5]][_0x6a34[20]]=function(_0xf4cax3,_0xf4cax12,_0xf4cax13,_0xf4cax14,_0xf4cax15,_0xf4cax4){return _0xf4cax3[_0x6a34[72]](_0xf4cax12,null,mxUtils[_0x6a34[29]](this,function(){var _0xf4cax2=this[_0x6a34[0]][_0x6a34[7]][_0x6a34[6]];_0xf4cax2[_0x6a34[184]]()[_0x6a34[183]]();try{for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax13[_0x6a34[18]];_0xf4cax6++){_0xf4cax2[_0x6a34[185]](_0xf4cax13[_0xf4cax6],_0xf4cax14[_0xf4cax6])}}finally{_0xf4cax2[_0x6a34[184]]()[_0x6a34[186]]()}}),_0xf4cax4,_0xf4cax15)};Menus[_0x6a34[5]][_0x6a34[28]]=function(_0xf4cax3,_0xf4cax12,_0xf4cax16,_0xf4cax17,_0xf4cax18,_0xf4cax4,_0xf4caxb){return _0xf4cax3[_0x6a34[72]](_0xf4cax12,null,mxUtils[_0x6a34[29]](this,function(){var _0xf4cax2=this[_0x6a34[0]][_0x6a34[7]][_0x6a34[6]];var _0xf4cax19=_0xf4cax17;var _0xf4cax1a=_0xf4cax2[_0x6a34[189]]()[_0x6a34[188]](_0xf4cax2[_0x6a34[187]]());if(_0xf4cax1a!=null){_0xf4cax19=_0xf4cax1a[_0x6a34[21]][_0xf4cax18]||_0xf4cax19};_0xf4cax19=mxUtils[_0x6a34[192]](mxResources[_0x6a34[26]](_0x6a34[190])+((_0xf4cax16[_0x6a34[18]]>0)?(_0x6a34[191]+_0xf4cax16):_0x6a34[27]),_0xf4cax19);if(_0xf4cax19!=null&&_0xf4cax19[_0x6a34[18]]>0){_0xf4cax2[_0x6a34[185]](_0xf4cax18,_0xf4cax19)}}),_0xf4cax4,null,_0xf4caxb)};Menus[_0x6a34[5]][_0x6a34[92]]=function(_0xf4cax3,_0xf4cax18,_0xf4cax4){var _0xf4cax1b=this[_0x6a34[0]][_0x6a34[80]][_0x6a34[26]](_0xf4cax18);if(_0xf4cax1b!=null&&(_0xf4cax3[_0x6a34[81]]||_0xf4cax1b[_0x6a34[78]])){var _0xf4cax1c=_0xf4cax3[_0x6a34[72]](_0xf4cax1b[_0x6a34[193]],null,_0xf4cax1b[_0x6a34[194]],_0xf4cax4,null,_0xf4cax1b[_0x6a34[78]]);if(_0xf4cax1b[_0x6a34[195]]&&_0xf4cax1b[_0x6a34[196]]()){this[_0x6a34[197]](_0xf4cax1c)};this[_0x6a34[198]](_0xf4cax1c,_0xf4cax1b);return _0xf4cax1c};return null};Menus[_0x6a34[5]][_0x6a34[198]]=function(_0xf4cax1c,_0xf4cax1b){if(_0xf4cax1b[_0x6a34[199]]!=null){var _0xf4cax1d=_0xf4cax1c[_0x6a34[23]][_0x6a34[22]][_0x6a34[22]];var _0xf4cax1e=document[_0x6a34[201]](_0x6a34[200]);_0xf4cax1e[_0x6a34[21]][_0x6a34[202]]=_0x6a34[203];mxUtils[_0x6a34[204]](_0xf4cax1e,_0xf4cax1b[_0x6a34[199]]);_0xf4cax1d[_0x6a34[205]](_0xf4cax1e)}};Menus[_0x6a34[5]][_0x6a34[197]]=function(_0xf4cax1c){var _0xf4cax1d=_0xf4cax1c[_0x6a34[23]][_0x6a34[22]];_0xf4cax1d[_0x6a34[21]][_0x6a34[206]]=_0x6a34[207]+IMAGE_PATH+_0x6a34[208];_0xf4cax1d[_0x6a34[21]][_0x6a34[209]]=_0x6a34[210];_0xf4cax1d[_0x6a34[21]][_0x6a34[211]]=_0x6a34[212]};Menus[_0x6a34[5]][_0x6a34[99]]=function(_0xf4cax3,_0xf4cax13,_0xf4cax4){for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax13[_0x6a34[18]];_0xf4cax6++){if(_0xf4cax13[_0xf4cax6]==_0x6a34[95]){_0xf4cax3[_0x6a34[24]](_0xf4cax4)}else {this[_0x6a34[92]](_0xf4cax3,_0xf4cax13[_0xf4cax6],_0xf4cax4)}}};Menus[_0x6a34[5]][_0x6a34[213]]=function(_0xf4cax3,_0xf4cax1f,_0xf4cax20){var _0xf4cax2=this[_0x6a34[0]][_0x6a34[7]][_0x6a34[6]];_0xf4cax3[_0x6a34[214]]=true;if(_0xf4cax2[_0x6a34[215]]()){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[169],_0x6a34[170],_0x6a34[95],_0x6a34[173],_0x6a34[95]])}else {this[_0x6a34[99]](_0xf4cax3,[_0x6a34[174],_0x6a34[95],_0x6a34[171],_0x6a34[172],_0x6a34[95],_0x6a34[175]]);if(_0xf4cax2[_0x6a34[216]]()==1&&_0xf4cax2[_0x6a34[184]]()[_0x6a34[217]](_0xf4cax2[_0x6a34[187]]())){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[218]])};_0xf4cax3[_0x6a34[24]]()};if(_0xf4cax2[_0x6a34[216]]()>0){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[141],_0x6a34[142],_0x6a34[95]]);if(_0xf4cax2[_0x6a34[184]]()[_0x6a34[217]](_0xf4cax2[_0x6a34[187]]())){var _0xf4cax21=false;var _0xf4cax1f=_0xf4cax2[_0x6a34[187]]();if(_0xf4cax1f!=null&&_0xf4cax2[_0x6a34[184]]()[_0x6a34[217]](_0xf4cax1f)){var _0xf4cax22=_0xf4cax2[_0x6a34[220]][_0x6a34[219]](_0xf4cax1f);if(_0xf4cax22 instanceof mxEdgeHandler&&_0xf4cax22[_0x6a34[221]]!=null&&_0xf4cax22[_0x6a34[221]][_0x6a34[18]]>2){var _0xf4cax23=_0xf4cax22[_0x6a34[222]]( new mxMouseEvent(_0xf4cax20));var _0xf4cax24=this[_0x6a34[0]][_0x6a34[80]][_0x6a34[26]](_0x6a34[223]);_0xf4cax24[_0x6a34[224]]=_0xf4cax22;_0xf4cax24[_0x6a34[225]]=_0xf4cax23;_0xf4cax21=_0xf4cax23>0&&_0xf4cax23<_0xf4cax22[_0x6a34[221]][_0x6a34[18]]}};this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],(_0xf4cax21)?_0x6a34[223]:_0x6a34[226]])}else {if(_0xf4cax2[_0x6a34[216]]()>1){_0xf4cax3[_0x6a34[24]]();this[_0x6a34[99]](_0xf4cax3,[_0x6a34[143]])}};_0xf4cax3[_0x6a34[24]]();if(_0xf4cax2[_0x6a34[216]]()==1){var _0xf4cax25=_0xf4cax2[_0x6a34[227]](_0xf4cax2[_0x6a34[187]]());if(_0xf4cax25!=null){this[_0x6a34[99]](_0xf4cax3,[_0x6a34[228]])}}}else {this[_0x6a34[99]](_0xf4cax3,[_0x6a34[95],_0x6a34[176],_0x6a34[177],_0x6a34[95],_0x6a34[178]])}};Menus[_0x6a34[5]][_0x6a34[229]]=function(_0xf4cax26){var _0xf4cax27= new Menubar(this[_0x6a34[0]],_0xf4cax26);var _0xf4cax28=[_0x6a34[156],_0x6a34[168],_0x6a34[146],_0x6a34[91],_0x6a34[93],_0x6a34[140]];for(var _0xf4cax6=0;_0xf4cax6<_0xf4cax28[_0x6a34[18]];_0xf4cax6++){_0xf4cax27[_0x6a34[181]](mxResources[_0x6a34[26]](_0xf4cax28[_0xf4cax6]),this[_0x6a34[26]](_0xf4cax28[_0xf4cax6])[_0x6a34[194]])};return _0xf4cax27};function Menubar(_0xf4cax1,_0xf4cax26){this[_0x6a34[0]]=_0xf4cax1;this[_0x6a34[230]]=_0xf4cax26;mxEvent[_0x6a34[232]](document,mxUtils[_0x6a34[29]](this,function(_0xf4cax20){this[_0x6a34[231]]()}))}Menubar[_0x6a34[5]][_0x6a34[231]]=function(){if(this[_0x6a34[233]]!=null){this[_0x6a34[233]][_0x6a34[231]]()}};Menubar[_0x6a34[5]][_0x6a34[181]]=function(_0xf4cax12,_0xf4cax2a){var _0xf4cax2b=document[_0x6a34[201]](_0x6a34[234]);_0xf4cax2b[_0x6a34[237]](_0x6a34[235],_0x6a34[236]);_0xf4cax2b[_0x6a34[238]]=_0x6a34[239];mxUtils[_0x6a34[204]](_0xf4cax2b,_0xf4cax12);this[_0x6a34[240]](_0xf4cax2b,_0xf4cax2a);this[_0x6a34[230]][_0x6a34[205]](_0xf4cax2b);return _0xf4cax2b};Menubar[_0x6a34[5]][_0x6a34[240]]=function(_0xf4cax2b,_0xf4cax2a){if(_0xf4cax2a!=null){var _0xf4cax2c=true;var _0xf4cax2d=mxUtils[_0x6a34[29]](this,function(_0xf4cax20){if(_0xf4cax2c&&_0xf4cax2b[_0x6a34[78]]==null||_0xf4cax2b[_0x6a34[78]]){this[_0x6a34[0]][_0x6a34[7]][_0x6a34[6]][_0x6a34[241]][_0x6a34[231]]();var _0xf4cax3= new mxPopupMenu(_0xf4cax2a);_0xf4cax3[_0x6a34[242]][_0x6a34[238]]+=_0x6a34[243];_0xf4cax3[_0x6a34[214]]=true;_0xf4cax3[_0x6a34[81]]=true;_0xf4cax3[_0x6a34[244]]=true;_0xf4cax3[_0x6a34[231]]=mxUtils[_0x6a34[29]](this,function(){mxPopupMenu[_0x6a34[5]][_0x6a34[231]][_0x6a34[245]](_0xf4cax3,arguments);_0xf4cax3[_0x6a34[246]]();this[_0x6a34[233]]=null;this[_0x6a34[247]]=null});var _0xf4cax2e=_0xf4cax2b[_0x6a34[248]]+document[_0x6a34[251]](_0x6a34[250])[_0x6a34[249]]+22;var _0xf4cax2f=_0xf4cax2b[_0x6a34[252]]+_0xf4cax2b[_0x6a34[253]]+140;_0xf4cax3[_0x6a34[254]](_0xf4cax2e,_0xf4cax2f,null,_0xf4cax20);this[_0x6a34[233]]=_0xf4cax3;this[_0x6a34[247]]=_0xf4cax2b};_0xf4cax2c=true;mxEvent[_0x6a34[255]](_0xf4cax20)});mxEvent[_0x6a34[257]](_0xf4cax2b,_0x6a34[256],mxUtils[_0x6a34[29]](this,function(_0xf4cax20){if(this[_0x6a34[233]]!=null&&this[_0x6a34[247]]!=_0xf4cax2b){this[_0x6a34[231]]();_0xf4cax2d(_0xf4cax20)}}));mxEvent[_0x6a34[257]](_0xf4cax2b,_0x6a34[258],mxUtils[_0x6a34[29]](this,function(){_0xf4cax2c=this[_0x6a34[247]]!=_0xf4cax2b}));mxEvent[_0x6a34[257]](_0xf4cax2b,_0x6a34[259],_0xf4cax2d)}};function Menu(_0xf4cax2a,_0xf4caxb){mxEventSource[_0x6a34[260]](this);this[_0x6a34[194]]=_0xf4cax2a;this[_0x6a34[78]]=(_0xf4caxb!=null)?_0xf4caxb:true}mxUtils[_0x6a34[261]](Menu,mxEventSource);Menu[_0x6a34[5]][_0x6a34[262]]=function(_0xf4cax19){if(this[_0x6a34[78]]!=_0xf4cax19){this[_0x6a34[78]]=_0xf4cax19;this[_0x6a34[264]]( new mxEventObject(_0x6a34[263]))}};Menu[_0x6a34[5]][_0x6a34[182]]=function(_0xf4cax3,_0xf4cax4){this[_0x6a34[194]](_0xf4cax3,_0xf4cax4)} \ No newline at end of file +var _0x76c8=["\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(_0x52a2x1){this[_0x76c8[0]]=_0x52a2x1;this[_0x76c8[1]]= new Object();this[_0x76c8[2]](); new Image()[_0x76c8[3]]=IMAGE_PATH+_0x76c8[4]};Menus[_0x76c8[5]][_0x76c8[2]]=function(){var _0x52a2x2=this[_0x76c8[0]][_0x76c8[7]][_0x76c8[6]];this[_0x76c8[30]](_0x76c8[8], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){var _0x52a2x5=[_0x76c8[9],_0x76c8[10],_0x76c8[11],_0x76c8[12],_0x76c8[13],_0x76c8[14],_0x76c8[15],_0x76c8[16],_0x76c8[17]];for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x5[_0x76c8[18]];_0x52a2x6++){var _0x52a2x7=this[_0x76c8[20]](_0x52a2x3,_0x52a2x5[_0x52a2x6],[mxConstants[_0x76c8[19]]],[_0x52a2x5[_0x52a2x6]],null,_0x52a2x4);_0x52a2x7[_0x76c8[23]][_0x76c8[22]][_0x76c8[21]][_0x76c8[8]]=_0x52a2x5[_0x52a2x6]};_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[25]),_0x76c8[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[31], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){var _0x52a2x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x8[_0x76c8[18]];_0x52a2x6++){this[_0x76c8[20]](_0x52a2x3,_0x52a2x8[_0x52a2x6],[mxConstants[_0x76c8[32]]],[_0x52a2x8[_0x52a2x6]],null,_0x52a2x4)};_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[25]),_0x76c8[33],_0x76c8[34],mxConstants.STYLE_FONTSIZE,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[35], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){var _0x52a2x8=[1,2,3,4,8,12,16,24];for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x8[_0x76c8[18]];_0x52a2x6++){this[_0x76c8[20]](_0x52a2x3,_0x52a2x8[_0x52a2x6]+_0x76c8[36],[mxConstants[_0x76c8[37]]],[_0x52a2x8[_0x52a2x6]],null,_0x52a2x4)};_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[25]),_0x76c8[38],_0x76c8[39],mxConstants.STYLE_STROKEWIDTH,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[40], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[41]),[mxConstants[_0x76c8[42]]],[null],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[43]),[mxConstants[_0x76c8[42]]],[_0x76c8[44]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[45]),[mxConstants[_0x76c8[42]],mxConstants[_0x76c8[46]]],[_0x76c8[47],_0x76c8[45]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[48]),[mxConstants[_0x76c8[42]],mxConstants[_0x76c8[46]]],[_0x76c8[47],_0x76c8[48]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[49]),[mxConstants[_0x76c8[42]]],[_0x76c8[50]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[51]),[mxConstants[_0x76c8[42]]],[_0x76c8[52]],null,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[53], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[54]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[56]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[57]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[58]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[59]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[60]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[61]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[62]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[63]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[64]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[65]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[66]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[67]),[mxConstants[_0x76c8[55]]],[mxConstants[_0x76c8[68]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[69]),null,function(){_0x52a2x2[_0x76c8[71]](_0x76c8[70],true)},_0x52a2x4,null,true);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[73]),_0x76c8[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[74], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[54]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[56]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[57]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[58]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[59]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[60]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[61]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[62]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[63]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[64]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[65]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[66]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[67]),[mxConstants[_0x76c8[75]]],[mxConstants[_0x76c8[68]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[69]),null,function(){_0x52a2x2[_0x76c8[71]](_0x76c8[76],true)},_0x52a2x4,null,true);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[73]),_0x76c8[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[77], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){var _0x52a2x9=this[_0x76c8[0]][_0x76c8[80]][_0x76c8[26]](_0x76c8[79])[_0x76c8[78]];var _0x52a2xa=this[_0x76c8[26]](_0x76c8[40])[_0x76c8[78]];if(_0x52a2x9||_0x52a2x3[_0x76c8[81]]){this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[82]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SPACING_TOP,_0x52a2x4,_0x52a2x9);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[84]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SPACING_RIGHT,_0x52a2x4,_0x52a2x9);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[85]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SPACING_BOTTOM,_0x52a2x4,_0x52a2x9);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[86]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SPACING_LEFT,_0x52a2x4,_0x52a2x9);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[87]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SPACING,_0x52a2x4,_0x52a2x9);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[88]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_PERIMETER_SPACING,_0x52a2x4,_0x52a2x9)};if(_0x52a2xa||_0x52a2x3[_0x76c8[81]]){_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[89]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0x52a2x4,_0x52a2xa);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[90]),_0x76c8[38],_0x76c8[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0x52a2x4,_0x52a2xa)}})));this[_0x76c8[30]](_0x76c8[91], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[92]](_0x52a2x3,_0x76c8[21],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[93], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){var _0x52a2xb=this[_0x76c8[26]](_0x76c8[93])[_0x76c8[78]];_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[94]](_0x76c8[8],_0x52a2x3,_0x52a2x4);this[_0x76c8[94]](_0x76c8[31],_0x52a2x3,_0x52a2x4);this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],_0x76c8[96],_0x76c8[97],_0x76c8[98],_0x76c8[95]],_0x52a2x4);this[_0x76c8[94]](_0x76c8[100],_0x52a2x3,_0x52a2x4);this[_0x76c8[92]](_0x52a2x3,_0x76c8[101],_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[28]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[102]),_0x76c8[103],_0x76c8[104],mxConstants.STYLE_TEXT_OPACITY,_0x52a2x4,_0x52a2xb);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[105]),null,function(){_0x52a2x2[_0x76c8[71]](mxConstants.STYLE_NOLABEL,false)},_0x52a2x4,null,_0x52a2xb)})));this[_0x76c8[30]](_0x76c8[100], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[106]),[mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[108]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[109]),[mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[110]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[111]),[mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[112]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[113]),[mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[115]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[116]),[mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[117]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[118]),[mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[119]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[94]](_0x76c8[120],_0x52a2x3,_0x52a2x4);this[_0x76c8[94]](_0x76c8[77],_0x52a2x3,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);var _0x52a2xb=this[_0x76c8[26]](_0x76c8[93])[_0x76c8[78]];_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[48]),null,function(){_0x52a2x2[_0x76c8[71]](mxConstants.STYLE_HORIZONTAL,true)},_0x52a2x4,null,_0x52a2xb)})));this[_0x76c8[30]](_0x76c8[120], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[86]),[mxConstants[_0x76c8[121]],mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[108]],mxConstants[_0x76c8[112]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[109]),[mxConstants[_0x76c8[121]],mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[110]],mxConstants[_0x76c8[110]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[84]),[mxConstants[_0x76c8[121]],mxConstants[_0x76c8[107]]],[mxConstants[_0x76c8[112]],mxConstants[_0x76c8[108]]],null,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[82]),[mxConstants[_0x76c8[122]],mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[115]],mxConstants[_0x76c8[119]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[116]),[mxConstants[_0x76c8[122]],mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[117]],mxConstants[_0x76c8[117]]],null,_0x52a2x4);this[_0x76c8[20]](_0x52a2x3,mxResources[_0x76c8[26]](_0x76c8[85]),[mxConstants[_0x76c8[122]],mxConstants[_0x76c8[114]]],[mxConstants[_0x76c8[119]],mxConstants[_0x76c8[115]]],null,_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[123], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[124]),null,function(){_0x52a2x2[_0x76c8[71]](mxConstants.STYLE_FLIPH,false)},_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[125]),null,function(){_0x52a2x2[_0x76c8[71]](mxConstants.STYLE_FLIPV,false)},_0x52a2x4);this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],_0x76c8[126],_0x76c8[127]],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[128], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[106]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_LEFT)},_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[109]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_CENTER)},_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[111]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_RIGHT)},_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[113]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_TOP)},_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[116]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_MIDDLE)},_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[118]),null,function(){_0x52a2x2[_0x76c8[129]](mxConstants.ALIGN_BOTTOM)},_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[130], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[131]),null,mxUtils[_0x76c8[29]](this,function(){var _0x52a2xc= new mxHierarchicalLayout(_0x52a2x2,mxConstants.DIRECTION_WEST);this[_0x76c8[0]][_0x76c8[132]](_0x52a2xc,true,true)}),_0x52a2x4);_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x76c8[133]),null,mxUtils[_0x76c8[29]](this,function(){var _0x52a2xc= new mxHierarchicalLayout(_0x52a2x2,mxConstants.DIRECTION_NORTH);this[_0x76c8[0]][_0x76c8[132]](_0x52a2xc,true,true)}),_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[134], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[135],_0x76c8[95],_0x76c8[136],_0x76c8[137],_0x76c8[95],_0x76c8[138],_0x76c8[139]],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[140], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[141],_0x76c8[142],_0x76c8[95]],_0x52a2x4);this[_0x76c8[94]](_0x76c8[130],_0x52a2x3,_0x52a2x4);_0x52a2x3[_0x76c8[24]](_0x52a2x4);this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],_0x76c8[143],_0x76c8[144],_0x76c8[145]],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[146], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[147]],_0x52a2x4);_0x52a2x3[_0x76c8[24]]();var _0x52a2xd=[0.25,0.5,0.75,1,2,4];for(var _0x52a2x6=0;_0x52a2x6<_0x52a2xd[_0x76c8[18]];_0x52a2x6++){(function(_0x52a2xe){_0x52a2x3[_0x76c8[72]]((_0x52a2xe*100)+_0x76c8[148],null,function(){_0x52a2x2[_0x76c8[149]](_0x52a2xe)},_0x52a2x4)})(_0x52a2xd[_0x52a2x6])};this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],_0x76c8[150],_0x76c8[151],_0x76c8[95],_0x76c8[152],_0x76c8[153],_0x76c8[95],_0x76c8[154],_0x76c8[155]],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[156], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[157],_0x76c8[158],_0x76c8[95],_0x76c8[159],_0x76c8[160],_0x76c8[161],_0x76c8[95],_0x76c8[162],_0x76c8[95],_0x76c8[163],_0x76c8[164],_0x76c8[95],_0x76c8[165],_0x76c8[166],_0x76c8[95],_0x76c8[167]],_0x52a2x4)})));this[_0x76c8[30]](_0x76c8[168], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[169],_0x76c8[170],_0x76c8[95],_0x76c8[171],_0x76c8[172],_0x76c8[173],_0x76c8[174],_0x76c8[95],_0x76c8[175],_0x76c8[95],_0x76c8[176],_0x76c8[177],_0x76c8[178]])})));this[_0x76c8[30]](_0x76c8[179], new Menu(mxUtils[_0x76c8[29]](this,function(_0x52a2x3,_0x52a2x4){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[179],_0x76c8[95],_0x76c8[180]])})))};Menus[_0x76c8[5]][_0x76c8[30]]=function(_0x52a2xf,_0x52a2x3){this[_0x76c8[1]][_0x52a2xf]=_0x52a2x3};Menus[_0x76c8[5]][_0x76c8[26]]=function(_0x52a2xf){return this[_0x76c8[1]][_0x52a2xf]};Menus[_0x76c8[5]][_0x76c8[94]]=function(_0x52a2xf,_0x52a2x3,_0x52a2x4){var _0x52a2xb=this[_0x76c8[26]](_0x52a2xf)[_0x76c8[78]];if(_0x52a2x3[_0x76c8[81]]||_0x52a2xb){var _0x52a2x10=_0x52a2x3[_0x76c8[72]](mxResources[_0x76c8[26]](_0x52a2xf),null,null,_0x52a2x4,null,_0x52a2xb);this[_0x76c8[181]](_0x52a2xf,_0x52a2x3,_0x52a2x10)}};Menus[_0x76c8[5]][_0x76c8[181]]=function(_0x52a2xf,_0x52a2x11,_0x52a2x4){var _0x52a2x3=this[_0x76c8[26]](_0x52a2xf);if(_0x52a2x3!=null&&(_0x52a2x11[_0x76c8[81]]||_0x52a2x3[_0x76c8[78]])){this[_0x76c8[26]](_0x52a2xf)[_0x76c8[182]](_0x52a2x11,_0x52a2x4)}};Menus[_0x76c8[5]][_0x76c8[20]]=function(_0x52a2x3,_0x52a2x12,_0x52a2x13,_0x52a2x14,_0x52a2x15,_0x52a2x4){return _0x52a2x3[_0x76c8[72]](_0x52a2x12,null,mxUtils[_0x76c8[29]](this,function(){var _0x52a2x2=this[_0x76c8[0]][_0x76c8[7]][_0x76c8[6]];_0x52a2x2[_0x76c8[184]]()[_0x76c8[183]]();try{for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x13[_0x76c8[18]];_0x52a2x6++){_0x52a2x2[_0x76c8[185]](_0x52a2x13[_0x52a2x6],_0x52a2x14[_0x52a2x6])}}finally{_0x52a2x2[_0x76c8[184]]()[_0x76c8[186]]()}}),_0x52a2x4,_0x52a2x15)};Menus[_0x76c8[5]][_0x76c8[28]]=function(_0x52a2x3,_0x52a2x12,_0x52a2x16,_0x52a2x17,_0x52a2x18,_0x52a2x4,_0x52a2xb){return _0x52a2x3[_0x76c8[72]](_0x52a2x12,null,mxUtils[_0x76c8[29]](this,function(){var _0x52a2x2=this[_0x76c8[0]][_0x76c8[7]][_0x76c8[6]];var _0x52a2x19=_0x52a2x17;var _0x52a2x1a=_0x52a2x2[_0x76c8[189]]()[_0x76c8[188]](_0x52a2x2[_0x76c8[187]]());if(_0x52a2x1a!=null){_0x52a2x19=_0x52a2x1a[_0x76c8[21]][_0x52a2x18]||_0x52a2x19};_0x52a2x19=mxUtils[_0x76c8[192]](mxResources[_0x76c8[26]](_0x76c8[190])+((_0x52a2x16[_0x76c8[18]]>0)?(_0x76c8[191]+_0x52a2x16):_0x76c8[27]),_0x52a2x19);if(_0x52a2x19!=null&&_0x52a2x19[_0x76c8[18]]>0){_0x52a2x2[_0x76c8[185]](_0x52a2x18,_0x52a2x19)}}),_0x52a2x4,null,_0x52a2xb)};Menus[_0x76c8[5]][_0x76c8[92]]=function(_0x52a2x3,_0x52a2x18,_0x52a2x4){var _0x52a2x1b=this[_0x76c8[0]][_0x76c8[80]][_0x76c8[26]](_0x52a2x18);if(_0x52a2x1b!=null&&(_0x52a2x3[_0x76c8[81]]||_0x52a2x1b[_0x76c8[78]])){var _0x52a2x1c=_0x52a2x3[_0x76c8[72]](_0x52a2x1b[_0x76c8[193]],null,_0x52a2x1b[_0x76c8[194]],_0x52a2x4,null,_0x52a2x1b[_0x76c8[78]]);if(_0x52a2x1b[_0x76c8[195]]&&_0x52a2x1b[_0x76c8[196]]()){this[_0x76c8[197]](_0x52a2x1c)};this[_0x76c8[198]](_0x52a2x1c,_0x52a2x1b);return _0x52a2x1c};return null};Menus[_0x76c8[5]][_0x76c8[198]]=function(_0x52a2x1c,_0x52a2x1b){if(_0x52a2x1b[_0x76c8[199]]!=null){var _0x52a2x1d=_0x52a2x1c[_0x76c8[23]][_0x76c8[22]][_0x76c8[22]];var _0x52a2x1e=document[_0x76c8[201]](_0x76c8[200]);_0x52a2x1e[_0x76c8[21]][_0x76c8[202]]=_0x76c8[203];mxUtils[_0x76c8[204]](_0x52a2x1e,_0x52a2x1b[_0x76c8[199]]);_0x52a2x1d[_0x76c8[205]](_0x52a2x1e)}};Menus[_0x76c8[5]][_0x76c8[197]]=function(_0x52a2x1c){var _0x52a2x1d=_0x52a2x1c[_0x76c8[23]][_0x76c8[22]];_0x52a2x1d[_0x76c8[21]][_0x76c8[206]]=_0x76c8[207]+IMAGE_PATH+_0x76c8[208];_0x52a2x1d[_0x76c8[21]][_0x76c8[209]]=_0x76c8[210];_0x52a2x1d[_0x76c8[21]][_0x76c8[211]]=_0x76c8[212]};Menus[_0x76c8[5]][_0x76c8[99]]=function(_0x52a2x3,_0x52a2x13,_0x52a2x4){for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x13[_0x76c8[18]];_0x52a2x6++){if(_0x52a2x13[_0x52a2x6]==_0x76c8[95]){_0x52a2x3[_0x76c8[24]](_0x52a2x4)}else {this[_0x76c8[92]](_0x52a2x3,_0x52a2x13[_0x52a2x6],_0x52a2x4)}}};Menus[_0x76c8[5]][_0x76c8[213]]=function(_0x52a2x3,_0x52a2x1f,_0x52a2x20){var _0x52a2x2=this[_0x76c8[0]][_0x76c8[7]][_0x76c8[6]];_0x52a2x3[_0x76c8[214]]=true;if(_0x52a2x2[_0x76c8[215]]()){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[169],_0x76c8[170],_0x76c8[95],_0x76c8[173],_0x76c8[95]])}else {this[_0x76c8[99]](_0x52a2x3,[_0x76c8[174],_0x76c8[95],_0x76c8[171],_0x76c8[172],_0x76c8[95],_0x76c8[175]]);if(_0x52a2x2[_0x76c8[216]]()==1&&_0x52a2x2[_0x76c8[184]]()[_0x76c8[217]](_0x52a2x2[_0x76c8[187]]())){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[218]])};_0x52a2x3[_0x76c8[24]]()};if(_0x52a2x2[_0x76c8[216]]()>0){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[141],_0x76c8[142],_0x76c8[95]]);if(_0x52a2x2[_0x76c8[184]]()[_0x76c8[217]](_0x52a2x2[_0x76c8[187]]())){var _0x52a2x21=false;var _0x52a2x1f=_0x52a2x2[_0x76c8[187]]();if(_0x52a2x1f!=null&&_0x52a2x2[_0x76c8[184]]()[_0x76c8[217]](_0x52a2x1f)){var _0x52a2x22=_0x52a2x2[_0x76c8[220]][_0x76c8[219]](_0x52a2x1f);if(_0x52a2x22 instanceof mxEdgeHandler&&_0x52a2x22[_0x76c8[221]]!=null&&_0x52a2x22[_0x76c8[221]][_0x76c8[18]]>2){var _0x52a2x23=_0x52a2x22[_0x76c8[222]]( new mxMouseEvent(_0x52a2x20));var _0x52a2x24=this[_0x76c8[0]][_0x76c8[80]][_0x76c8[26]](_0x76c8[223]);_0x52a2x24[_0x76c8[224]]=_0x52a2x22;_0x52a2x24[_0x76c8[225]]=_0x52a2x23;_0x52a2x21=_0x52a2x23>0&&_0x52a2x23<_0x52a2x22[_0x76c8[221]][_0x76c8[18]]}};this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],(_0x52a2x21)?_0x76c8[223]:_0x76c8[226]])}else {if(_0x52a2x2[_0x76c8[216]]()>1){_0x52a2x3[_0x76c8[24]]();this[_0x76c8[99]](_0x52a2x3,[_0x76c8[143]])}};_0x52a2x3[_0x76c8[24]]();if(_0x52a2x2[_0x76c8[216]]()==1){var _0x52a2x25=_0x52a2x2[_0x76c8[227]](_0x52a2x2[_0x76c8[187]]());if(_0x52a2x25!=null){this[_0x76c8[99]](_0x52a2x3,[_0x76c8[228]])}}}else {this[_0x76c8[99]](_0x52a2x3,[_0x76c8[95],_0x76c8[176],_0x76c8[177],_0x76c8[95],_0x76c8[178]])}};Menus[_0x76c8[5]][_0x76c8[229]]=function(_0x52a2x26){var _0x52a2x27= new Menubar(this[_0x76c8[0]],_0x52a2x26);var _0x52a2x28=[_0x76c8[156],_0x76c8[168],_0x76c8[146],_0x76c8[91],_0x76c8[93],_0x76c8[140]];for(var _0x52a2x6=0;_0x52a2x6<_0x52a2x28[_0x76c8[18]];_0x52a2x6++){_0x52a2x27[_0x76c8[181]](mxResources[_0x76c8[26]](_0x52a2x28[_0x52a2x6]),this[_0x76c8[26]](_0x52a2x28[_0x52a2x6])[_0x76c8[194]])};return _0x52a2x27};function Menubar(_0x52a2x1,_0x52a2x26){this[_0x76c8[0]]=_0x52a2x1;this[_0x76c8[230]]=_0x52a2x26;mxEvent[_0x76c8[232]](document,mxUtils[_0x76c8[29]](this,function(_0x52a2x20){this[_0x76c8[231]]()}))}Menubar[_0x76c8[5]][_0x76c8[231]]=function(){if(this[_0x76c8[233]]!=null){this[_0x76c8[233]][_0x76c8[231]]()}};Menubar[_0x76c8[5]][_0x76c8[181]]=function(_0x52a2x12,_0x52a2x2a){var _0x52a2x2b=document[_0x76c8[201]](_0x76c8[234]);_0x52a2x2b[_0x76c8[237]](_0x76c8[235],_0x76c8[236]);_0x52a2x2b[_0x76c8[238]]=_0x76c8[239];mxUtils[_0x76c8[204]](_0x52a2x2b,_0x52a2x12);this[_0x76c8[240]](_0x52a2x2b,_0x52a2x2a);this[_0x76c8[230]][_0x76c8[205]](_0x52a2x2b);return _0x52a2x2b};Menubar[_0x76c8[5]][_0x76c8[240]]=function(_0x52a2x2b,_0x52a2x2a){if(_0x52a2x2a!=null){var _0x52a2x2c=true;var _0x52a2x2d=mxUtils[_0x76c8[29]](this,function(_0x52a2x20){if(_0x52a2x2c&&_0x52a2x2b[_0x76c8[78]]==null||_0x52a2x2b[_0x76c8[78]]){this[_0x76c8[0]][_0x76c8[7]][_0x76c8[6]][_0x76c8[241]][_0x76c8[231]]();var _0x52a2x3= new mxPopupMenu(_0x52a2x2a);_0x52a2x3[_0x76c8[242]][_0x76c8[238]]+=_0x76c8[243];_0x52a2x3[_0x76c8[214]]=true;_0x52a2x3[_0x76c8[81]]=true;_0x52a2x3[_0x76c8[244]]=true;_0x52a2x3[_0x76c8[231]]=mxUtils[_0x76c8[29]](this,function(){mxPopupMenu[_0x76c8[5]][_0x76c8[231]][_0x76c8[245]](_0x52a2x3,arguments);_0x52a2x3[_0x76c8[246]]();this[_0x76c8[233]]=null;this[_0x76c8[247]]=null});var _0x52a2x2e=_0x52a2x2b[_0x76c8[248]]+document[_0x76c8[251]](_0x76c8[250])[_0x76c8[249]]+22;var _0x52a2x2f=_0x52a2x2b[_0x76c8[252]]+_0x52a2x2b[_0x76c8[253]]+140;_0x52a2x3[_0x76c8[254]](_0x52a2x2e,_0x52a2x2f,null,_0x52a2x20);this[_0x76c8[233]]=_0x52a2x3;this[_0x76c8[247]]=_0x52a2x2b};_0x52a2x2c=true;mxEvent[_0x76c8[255]](_0x52a2x20)});mxEvent[_0x76c8[257]](_0x52a2x2b,_0x76c8[256],mxUtils[_0x76c8[29]](this,function(_0x52a2x20){if(this[_0x76c8[233]]!=null&&this[_0x76c8[247]]!=_0x52a2x2b){this[_0x76c8[231]]();_0x52a2x2d(_0x52a2x20)}}));mxEvent[_0x76c8[257]](_0x52a2x2b,_0x76c8[258],mxUtils[_0x76c8[29]](this,function(){_0x52a2x2c=this[_0x76c8[247]]!=_0x52a2x2b}));mxEvent[_0x76c8[257]](_0x52a2x2b,_0x76c8[259],_0x52a2x2d)}};function Menu(_0x52a2x2a,_0x52a2xb){mxEventSource[_0x76c8[260]](this);this[_0x76c8[194]]=_0x52a2x2a;this[_0x76c8[78]]=(_0x52a2xb!=null)?_0x52a2xb:true}mxUtils[_0x76c8[261]](Menu,mxEventSource);Menu[_0x76c8[5]][_0x76c8[262]]=function(_0x52a2x19){if(this[_0x76c8[78]]!=_0x52a2x19){this[_0x76c8[78]]=_0x52a2x19;this[_0x76c8[264]]( new mxEventObject(_0x76c8[263]))}};Menu[_0x76c8[5]][_0x76c8[182]]=function(_0x52a2x3,_0x52a2x4){this[_0x76c8[194]](_0x52a2x3,_0x52a2x4)} \ 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 b03b181..544b54e 100644 --- a/public/assets/plugins/jscripty/js/Shapes.js +++ b/public/assets/plugins/jscripty/js/Shapes.js @@ -1 +1 @@ -var _0xe584=["\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 _0xa889x1(){}_0xa889x1[_0xe584[0]]= new mxCylinder();_0xa889x1[_0xe584[0]][_0xe584[1]]=_0xa889x1;_0xa889x1[_0xe584[0]][_0xe584[2]]=20;_0xa889x1[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x8=Math[_0xe584[6]](_0xa889x5,Math[_0xe584[6]](_0xa889x6,mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]])));if(_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x8,_0xa889x6);_0xa889x2[_0xe584[8]](_0xa889x8,_0xa889x8);_0xa889x2[_0xe584[8]](0,0);_0xa889x2[_0xe584[7]](_0xa889x8,_0xa889x8);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x8);_0xa889x2[_0xe584[9]]()}else {_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889x8,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x8);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](_0xa889x8,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6-_0xa889x8);_0xa889x2[_0xe584[8]](0,0);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[11]]=_0xa889x1;function _0xa889x9(){}_0xa889x9[_0xe584[0]]= new mxCylinder();_0xa889x9[_0xe584[0]][_0xe584[1]]=_0xa889x9;_0xa889x9[_0xe584[0]][_0xe584[2]]=30;_0xa889x9[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x8=Math[_0xe584[6]](_0xa889x5,Math[_0xe584[6]](_0xa889x6,mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]])));if(_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x5-_0xa889x8,0);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889x8,_0xa889x8);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x8);_0xa889x2[_0xe584[9]]()}else {_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889x8,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x8);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[8]](0,0);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[13]]=_0xa889x9;function _0xa889xa(){}_0xa889xa[_0xe584[0]]= new mxCylinder();_0xa889xa[_0xe584[0]][_0xe584[1]]=_0xa889xa;_0xa889xa[_0xe584[0]][_0xe584[14]]=60;_0xa889xa[_0xe584[0]][_0xe584[15]]=20;_0xa889xa[_0xe584[0]][_0xe584[16]]=_0xe584[17];_0xa889xa[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889xb=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[14],this[_0xe584[14]]);var _0xa889xc=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[15],this[_0xe584[15]]);var _0xa889xd=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[16],this[_0xe584[16]]);var _0xa889xe=Math[_0xe584[6]](_0xa889x5,_0xa889xb);var _0xa889xf=Math[_0xe584[6]](_0xa889x6,_0xa889xc);if(_0xa889x7){if(_0xa889xd==_0xe584[18]){_0xa889x2[_0xe584[7]](0,_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889xe,_0xa889xf)}else {_0xa889x2[_0xe584[7]](_0xa889x5-_0xa889xe,_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889xf)};_0xa889x2[_0xe584[9]]()}else {if(_0xa889xd==_0xe584[18]){_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889xe,0);_0xa889x2[_0xe584[8]](_0xa889xe,_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889xf)}else {_0xa889x2[_0xe584[7]](0,_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889xe,_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889xe,0);_0xa889x2[_0xe584[8]](_0xa889x5,0)};_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889xf);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[19]]=_0xa889xa;function _0xa889x10(){}_0xa889x10[_0xe584[0]]= new mxCylinder();_0xa889x10[_0xe584[0]][_0xe584[1]]=_0xa889x10;_0xa889x10[_0xe584[0]][_0xe584[2]]=30;_0xa889x10[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x8=Math[_0xe584[6]](_0xa889x5,Math[_0xe584[6]](_0xa889x6,mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]])));if(!_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x8,0);_0xa889x2[_0xe584[8]](_0xa889x5,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x8);_0xa889x2[_0xe584[8]](_0xa889x8,0);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[20]]=_0xa889x10;function _0xa889x11(){}_0xa889x11[_0xe584[0]]= new mxCylinder();_0xa889x11[_0xe584[0]][_0xe584[1]]=_0xa889x11;_0xa889x11[_0xe584[0]][_0xe584[2]]=0.4;_0xa889x11[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x8=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]]);var _0xa889xf=_0xa889x6*_0xa889x8;var _0xa889x12=1.4;if(!_0xa889x7){_0xa889x2[_0xe584[7]](0,_0xa889xf/2);_0xa889x2[_0xe584[21]](_0xa889x5/4,_0xa889xf*_0xa889x12,_0xa889x5/2,_0xa889xf/2);_0xa889x2[_0xe584[21]](_0xa889x5*3/4,_0xa889xf*(1-_0xa889x12),_0xa889x5,_0xa889xf/2);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6-_0xa889xf/2);_0xa889x2[_0xe584[21]](_0xa889x5*3/4,_0xa889x6-_0xa889xf*_0xa889x12,_0xa889x5/2,_0xa889x6-_0xa889xf/2);_0xa889x2[_0xe584[21]](_0xa889x5/4,_0xa889x6-_0xa889xf*(1-_0xa889x12),0,_0xa889x6-_0xa889xf/2);_0xa889x2[_0xe584[8]](0,_0xa889xf/2);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[22]]=_0xa889x11;function _0xa889x13(){}_0xa889x13[_0xe584[0]]= new mxCylinder();_0xa889x13[_0xe584[0]][_0xe584[1]]=_0xa889x13;_0xa889x13[_0xe584[0]][_0xe584[2]]=0.2;_0xa889x13[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x8=_0xa889x5*mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]]);if(!_0xa889x7){_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889x8,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6/2);_0xa889x2[_0xe584[8]](_0xa889x5-_0xa889x8,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[8]](_0xa889x8,_0xa889x6/2);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[23]]=_0xa889x13;function _0xa889x14(){mxRectangleShape[_0xe584[24]](this)}mxUtils[_0xe584[25]](_0xa889x14,mxRectangleShape);_0xa889x14[_0xe584[0]][_0xe584[26]]=function(){return false};_0xa889x14[_0xe584[0]][_0xe584[27]]=function(_0xa889x15,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6){var _0xa889x16=Math[_0xe584[6]](_0xa889x5/5,_0xa889x6/5)+1;_0xa889x15[_0xe584[28]]();_0xa889x15[_0xe584[7]](_0xa889x3+_0xa889x5/2,_0xa889x4+_0xa889x16);_0xa889x15[_0xe584[8]](_0xa889x3+_0xa889x5/2,_0xa889x4+_0xa889x6-_0xa889x16);_0xa889x15[_0xe584[7]](_0xa889x3+_0xa889x16,_0xa889x4+_0xa889x6/2);_0xa889x15[_0xe584[8]](_0xa889x3+_0xa889x5-_0xa889x16,_0xa889x4+_0xa889x6/2);_0xa889x15[_0xe584[9]]();_0xa889x15[_0xe584[29]]();mxRectangleShape[_0xe584[0]][_0xe584[27]][_0xe584[30]](this,arguments)};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[31]]=_0xa889x14;function _0xa889x17(){mxRectangleShape[_0xe584[24]](this)}mxUtils[_0xe584[25]](_0xa889x17,mxRectangleShape);_0xa889x17[_0xe584[0]][_0xe584[26]]=function(){return false};_0xa889x17[_0xe584[0]][_0xe584[27]]=function(_0xa889x15,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6){if(this[_0xe584[4]]!=null){if(this[_0xe584[4]][_0xe584[32]]==1){var _0xa889x18=Math[_0xe584[34]](2,this[_0xe584[33]]+1);mxRectangleShape[_0xe584[0]][_0xe584[35]][_0xe584[24]](this,_0xa889x15,_0xa889x3+_0xa889x18,_0xa889x4+_0xa889x18,_0xa889x5-2*_0xa889x18,_0xa889x6-2*_0xa889x18);mxRectangleShape[_0xe584[0]][_0xe584[27]][_0xe584[30]](this,arguments);_0xa889x3+=_0xa889x18;_0xa889x4+=_0xa889x18;_0xa889x5-=2*_0xa889x18;_0xa889x6-=2*_0xa889x18};_0xa889x15[_0xe584[36]](false);var _0xa889x19=0;var _0xa889x1a=null;do{_0xa889x1a=mxCellRenderer[_0xe584[0]][_0xe584[12]][this[_0xe584[4]][_0xe584[37]+_0xa889x19]];if(_0xa889x1a!=null){var _0xa889x1b=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[38]];var _0xa889x1c=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[39]];var _0xa889x1d=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[40]];var _0xa889x1e=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[41]];var _0xa889x1f=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[42]]||0;var _0xa889x20=this[_0xe584[4]][_0xe584[37]+_0xa889x19+_0xe584[43]];if(_0xa889x20!=null){_0xa889x1f+=this[_0xe584[44]](_0xa889x5+this[_0xe584[33]],_0xa889x6+this[_0xe584[33]])*_0xa889x20};var _0xa889x21=_0xa889x3;var _0xa889x22=_0xa889x4;if(_0xa889x1b==mxConstants[_0xe584[45]]){_0xa889x21+=(_0xa889x5-_0xa889x1d)/2}else {if(_0xa889x1b==mxConstants[_0xe584[46]]){_0xa889x21+=_0xa889x5-_0xa889x1d-_0xa889x1f}else {_0xa889x21+=_0xa889x1f}};if(_0xa889x1c==mxConstants[_0xe584[47]]){_0xa889x22+=(_0xa889x6-_0xa889x1e)/2}else {if(_0xa889x1c==mxConstants[_0xe584[48]]){_0xa889x22+=_0xa889x6-_0xa889x1e-_0xa889x1f}else {_0xa889x22+=_0xa889x1f}};_0xa889x15[_0xe584[49]]();var _0xa889x23= new _0xa889x1a();_0xa889x23[_0xe584[4]]=this[_0xe584[4]];_0xa889x1a[_0xe584[0]][_0xe584[50]][_0xe584[24]](_0xa889x23,_0xa889x15,_0xa889x21,_0xa889x22,_0xa889x1d,_0xa889x1e);_0xa889x15[_0xe584[51]]()};_0xa889x19++}while(_0xa889x1a!=null);}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[52]]=_0xa889x17;function _0xa889x24(){}_0xa889x24[_0xe584[0]]= new mxCylinder();_0xa889x24[_0xe584[0]][_0xe584[1]]=_0xa889x24;_0xa889x24[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){if(_0xa889x7){_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889x5/2,_0xa889x6/2);_0xa889x2[_0xe584[8]](_0xa889x5,0);_0xa889x2[_0xe584[9]]()}else {_0xa889x2[_0xe584[7]](0,0);_0xa889x2[_0xe584[8]](_0xa889x5,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[10]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[53]]=_0xa889x24;function _0xa889x25(){}_0xa889x25[_0xe584[0]]= new mxCylinder();_0xa889x25[_0xe584[0]][_0xe584[1]]=_0xa889x25;_0xa889x25[_0xe584[0]][_0xe584[54]]=true;_0xa889x25[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x1d=_0xa889x5/3;var _0xa889x1e=_0xa889x6/4;if(!_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[55]](_0xa889x5/2-_0xa889x1d,_0xa889x1e,_0xa889x5/2-_0xa889x1d,0,_0xa889x5/2,0);_0xa889x2[_0xe584[55]](_0xa889x5/2+_0xa889x1d,0,_0xa889x5/2+_0xa889x1d,_0xa889x1e,_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[8]](_0xa889x5/2,2*_0xa889x6/3);_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x6/3);_0xa889x2[_0xe584[8]](0,_0xa889x6/3);_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x6/3);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6/3);_0xa889x2[_0xe584[7]](_0xa889x5/2,2*_0xa889x6/3);_0xa889x2[_0xe584[8]](0,_0xa889x6);_0xa889x2[_0xe584[7]](_0xa889x5/2,2*_0xa889x6/3);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[56]]=_0xa889x25;function _0xa889x26(){}_0xa889x26[_0xe584[0]]= new mxCylinder();_0xa889x26[_0xe584[0]][_0xe584[1]]=_0xa889x26;_0xa889x26[_0xe584[0]][_0xe584[2]]=10;_0xa889x26[_0xe584[0]][_0xe584[54]]=true;_0xa889x26[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889x27=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[2],this[_0xe584[2]]);var _0xa889x1d=_0xa889x27*2/3;var _0xa889x1e=_0xa889x27;if(!_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[55]](_0xa889x5/2-_0xa889x1d,_0xa889x1e,_0xa889x5/2-_0xa889x1d,0,_0xa889x5/2,0);_0xa889x2[_0xe584[55]](_0xa889x5/2+_0xa889x1d,0,_0xa889x5/2+_0xa889x1d,_0xa889x1e,_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[7]](_0xa889x5/2,_0xa889x1e);_0xa889x2[_0xe584[8]](_0xa889x5/2,_0xa889x6);_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[57]]=_0xa889x26;function _0xa889x28(){}_0xa889x28[_0xe584[0]]= new mxCylinder();_0xa889x28[_0xe584[0]][_0xe584[1]]=_0xa889x28;_0xa889x28[_0xe584[0]][_0xe584[58]]=32;_0xa889x28[_0xe584[0]][_0xe584[59]]=12;_0xa889x28[_0xe584[0]][_0xe584[3]]=function(_0xa889x2,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6,_0xa889x7){var _0xa889xe=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[58],this[_0xe584[58]]);var _0xa889xf=mxUtils[_0xe584[5]](this[_0xe584[4]],_0xe584[59],this[_0xe584[59]]);var _0xa889x29=_0xa889xe/2;var _0xa889x2a=_0xa889x29+_0xa889xe/2;var _0xa889x2b=0.3*_0xa889x6-_0xa889xf/2;var _0xa889x2c=0.7*_0xa889x6-_0xa889xf/2;if(_0xa889x7){_0xa889x2[_0xe584[7]](_0xa889x29,_0xa889x2b);_0xa889x2[_0xe584[8]](_0xa889x2a,_0xa889x2b);_0xa889x2[_0xe584[8]](_0xa889x2a,_0xa889x2b+_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2b+_0xa889xf);_0xa889x2[_0xe584[7]](_0xa889x29,_0xa889x2c);_0xa889x2[_0xe584[8]](_0xa889x2a,_0xa889x2c);_0xa889x2[_0xe584[8]](_0xa889x2a,_0xa889x2c+_0xa889xf);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2c+_0xa889xf);_0xa889x2[_0xe584[9]]()}else {_0xa889x2[_0xe584[7]](_0xa889x29,0);_0xa889x2[_0xe584[8]](_0xa889x5,0);_0xa889x2[_0xe584[8]](_0xa889x5,_0xa889x6);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x6);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2c+_0xa889xf);_0xa889x2[_0xe584[8]](0,_0xa889x2c+_0xa889xf);_0xa889x2[_0xe584[8]](0,_0xa889x2c);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2c);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2b+_0xa889xf);_0xa889x2[_0xe584[8]](0,_0xa889x2b+_0xa889xf);_0xa889x2[_0xe584[8]](0,_0xa889x2b);_0xa889x2[_0xe584[8]](_0xa889x29,_0xa889x2b);_0xa889x2[_0xe584[10]]();_0xa889x2[_0xe584[9]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[60]]=_0xa889x28;function _0xa889x2d(){}_0xa889x2d[_0xe584[0]]= new mxDoubleEllipse();_0xa889x2d[_0xe584[0]][_0xe584[1]]=_0xa889x2d;_0xa889x2d[_0xe584[0]][_0xe584[61]]=true;_0xa889x2d[_0xe584[0]][_0xe584[50]]=function(_0xa889x15,_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6){var _0xa889x18=Math[_0xe584[6]](4,Math[_0xe584[6]](_0xa889x5/5,_0xa889x6/5));if(_0xa889x5>0&&_0xa889x6>0){_0xa889x15[_0xe584[62]](_0xa889x3+_0xa889x18,_0xa889x4+_0xa889x18,_0xa889x5-2*_0xa889x18,_0xa889x6-2*_0xa889x18);_0xa889x15[_0xe584[63]]()};_0xa889x15[_0xe584[64]](false);if(this[_0xe584[61]]){_0xa889x15[_0xe584[62]](_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6);_0xa889x15[_0xe584[29]]()}};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[65]]=_0xa889x2d;function _0xa889x2e(){}_0xa889x2e[_0xe584[0]]= new _0xa889x2d();_0xa889x2e[_0xe584[0]][_0xe584[1]]=_0xa889x2e;_0xa889x2e[_0xe584[0]][_0xe584[61]]=false;mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[66]]=_0xa889x2e;var _0xa889x2f=mxImageExport[_0xe584[0]][_0xe584[67]];mxImageExport[_0xe584[0]][_0xe584[67]]=function(){_0xa889x2f[_0xe584[30]](this,arguments);function _0xa889x30(_0xa889x31){return {drawShape:function(_0xa889x32,_0xa889x33,_0xa889x34,_0xa889x35){var _0xa889x3=_0xa889x34[_0xe584[68]];var _0xa889x4=_0xa889x34[_0xe584[69]];var _0xa889x5=_0xa889x34[_0xe584[70]];var _0xa889x6=_0xa889x34[_0xe584[71]];if(_0xa889x35){var _0xa889x18=Math[_0xe584[6]](4,Math[_0xe584[6]](_0xa889x5/5,_0xa889x6/5));_0xa889x3+=_0xa889x18;_0xa889x4+=_0xa889x18;_0xa889x5-=2*_0xa889x18;_0xa889x6-=2*_0xa889x18;if(_0xa889x5>0&&_0xa889x6>0){_0xa889x32[_0xe584[62]](_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6)};return true}else {_0xa889x32[_0xe584[63]]();if(_0xa889x31){_0xa889x32[_0xe584[62]](_0xa889x3,_0xa889x4,_0xa889x5,_0xa889x6);_0xa889x32[_0xe584[29]]()}}}}}this[_0xe584[72]][_0xe584[65]]=_0xa889x30(true);this[_0xe584[72]][_0xe584[66]]=_0xa889x30(false)};function _0xa889x36(){mxArrow[_0xe584[24]](this)}mxUtils[_0xe584[25]](_0xa889x36,mxArrow);_0xa889x36[_0xe584[0]][_0xe584[73]]=function(_0xa889x15,_0xa889x37){var _0xa889x1d=10;var _0xa889x38=_0xa889x37[0];var _0xa889x39=_0xa889x37[_0xa889x37[_0xe584[74]]-1];var _0xa889xe=_0xa889x39[_0xe584[68]]-_0xa889x38[_0xe584[68]];var _0xa889xf=_0xa889x39[_0xe584[69]]-_0xa889x38[_0xe584[69]];var _0xa889x3a=Math[_0xe584[75]](_0xa889xe*_0xa889xe+_0xa889xf*_0xa889xf);var _0xa889x3b=_0xa889x3a;var _0xa889x3c=_0xa889xe/_0xa889x3a;var _0xa889x3d=_0xa889xf/_0xa889x3a;var _0xa889x3e=_0xa889x3b*_0xa889x3c;var _0xa889x3f=_0xa889x3b*_0xa889x3d;var _0xa889x40=_0xa889x1d*_0xa889x3d/3;var _0xa889x41=-_0xa889x1d*_0xa889x3c/3;var _0xa889x42=_0xa889x38[_0xe584[68]]-_0xa889x40/2;var _0xa889x43=_0xa889x38[_0xe584[69]]-_0xa889x41/2;var _0xa889x44=_0xa889x42+_0xa889x40;var _0xa889x45=_0xa889x43+_0xa889x41;var _0xa889x46=_0xa889x44+_0xa889x3e;var _0xa889x47=_0xa889x45+_0xa889x3f;var _0xa889x48=_0xa889x46+_0xa889x40;var _0xa889x49=_0xa889x47+_0xa889x41;var _0xa889x4a=_0xa889x48-3*_0xa889x40;var _0xa889x4b=_0xa889x49-3*_0xa889x41;_0xa889x15[_0xe584[28]]();_0xa889x15[_0xe584[7]](_0xa889x44,_0xa889x45);_0xa889x15[_0xe584[8]](_0xa889x46,_0xa889x47);_0xa889x15[_0xe584[7]](_0xa889x4a+_0xa889x40,_0xa889x4b+_0xa889x41);_0xa889x15[_0xe584[8]](_0xa889x42,_0xa889x43);_0xa889x15[_0xe584[29]]()};mxCellRenderer[_0xe584[0]][_0xe584[12]][_0xe584[76]]=_0xa889x36;mxMarker[_0xe584[78]](_0xe584[77],function(_0xa889x32,_0xa889x1a,_0xa889x4c,_0xa889x39,_0xa889x4d,_0xa889x4e,_0xa889x4f,_0xa889x50,_0xa889x51,_0xa889x52){var _0xa889x3c=_0xa889x4d*(_0xa889x4f+_0xa889x51+1);var _0xa889x3d=_0xa889x4e*(_0xa889x4f+_0xa889x51+1);return function(){_0xa889x32[_0xe584[28]]();_0xa889x32[_0xe584[7]](_0xa889x39[_0xe584[68]]-_0xa889x3c/2-_0xa889x3d/2,_0xa889x39[_0xe584[69]]-_0xa889x3d/2+_0xa889x3c/2);_0xa889x32[_0xe584[8]](_0xa889x39[_0xe584[68]]+_0xa889x3d/2-3*_0xa889x3c/2,_0xa889x39[_0xe584[69]]-3*_0xa889x3d/2-_0xa889x3c/2);_0xa889x32[_0xe584[29]]()}});var _0xa889x53=-99;if( typeof (mxVertexHandler)!=_0xe584[79]){function _0xa889x54(_0xa889x33){mxVertexHandler[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x54,mxVertexHandler);_0xa889x54[_0xe584[0]][_0xe584[80]]=false;_0xa889x54[_0xe584[0]][_0xe584[81]]=function(){this[_0xe584[82]]=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],mxConstants.STYLE_HORIZONTAL,true);var _0xa889x55=this[_0xe584[83]][_0xe584[85]][_0xe584[84]];if(this[_0xe584[86]]!=null){var _0xa889x34= new mxRectangle(0,0,this[_0xe584[86]][_0xe584[70]],this[_0xe584[86]][_0xe584[71]]);this[_0xe584[87]]= new mxImageShape(_0xa889x34,this[_0xe584[86]][_0xe584[88]])}else {var _0xa889x4f=10;var _0xa889x34= new mxRectangle(0,0,_0xa889x4f,_0xa889x4f);this[_0xe584[87]]= new mxRhombus(_0xa889x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0xe584[87]][_0xe584[89]]=(_0xa889x55[_0xe584[89]]!=mxConstants[_0xe584[90]])?mxConstants[_0xe584[91]]:mxConstants[_0xe584[90]];this[_0xe584[87]][_0xe584[81]](_0xa889x55[_0xe584[93]]()[_0xe584[92]]());this[_0xe584[87]][_0xe584[95]][_0xe584[4]][_0xe584[94]]=this[_0xe584[96]]();mxEvent[_0xe584[97]](this[_0xe584[87]][_0xe584[95]],_0xa889x55,this[_0xe584[83]]);mxVertexHandler[_0xe584[0]][_0xe584[81]][_0xe584[30]](this,arguments)};_0xa889x54[_0xe584[0]][_0xe584[96]]=function(){return _0xe584[98]};_0xa889x54[_0xe584[0]][_0xe584[99]]=function(){mxVertexHandler[_0xe584[0]][_0xe584[99]][_0xe584[30]](this,arguments);var _0xa889x4f=this[_0xe584[87]][_0xe584[100]][_0xe584[70]];this[_0xe584[87]][_0xe584[100]]=this[_0xe584[101]](_0xa889x4f);this[_0xe584[87]][_0xe584[99]]()};_0xa889x54[_0xe584[0]][_0xe584[102]]=function(){mxVertexHandler[_0xe584[0]][_0xe584[102]][_0xe584[30]](this,arguments);if(this[_0xe584[87]]!=null){this[_0xe584[87]][_0xe584[102]]();this[_0xe584[87]]=null}};_0xa889x54[_0xe584[0]][_0xe584[103]]=function(_0xa889x56){if(_0xa889x56[_0xe584[104]](this[_0xe584[87]])){return _0xa889x53};return mxVertexHandler[_0xe584[0]][_0xe584[103]][_0xe584[30]](this,arguments)};_0xa889x54[_0xe584[0]][_0xe584[105]]=function(_0xa889x57,_0xa889x56){if(!_0xa889x56[_0xe584[106]]()&&this[_0xe584[107]]==_0xa889x53){var _0xa889x58= new mxPoint(_0xa889x56[_0xe584[108]](),_0xa889x56[_0xe584[109]]());this[_0xe584[110]](_0xa889x58);var _0xa889x59=this[_0xe584[84]][_0xe584[112]](_0xa889x56[_0xe584[111]]());var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];if(_0xa889x59&&this[_0xe584[80]]){_0xa889x58[_0xe584[68]]=this[_0xe584[84]][_0xe584[114]](_0xa889x58[_0xe584[68]]/_0xa889x5a)*_0xa889x5a;_0xa889x58[_0xe584[69]]=this[_0xe584[84]][_0xe584[114]](_0xa889x58[_0xe584[69]]/_0xa889x5a)*_0xa889x5a};this[_0xe584[115]](_0xa889x58);this[_0xe584[116]](this[_0xe584[87]],_0xa889x58[_0xe584[68]],_0xa889x58[_0xe584[69]]);this[_0xe584[83]][_0xe584[85]][_0xe584[84]][_0xe584[117]][_0xe584[99]](this[_0xe584[83]],true);_0xa889x56[_0xe584[118]]()}else {mxVertexHandler[_0xe584[0]][_0xe584[105]][_0xe584[30]](this,arguments)}};_0xa889x54[_0xe584[0]][_0xe584[119]]=function(_0xa889x57,_0xa889x56){if(!_0xa889x56[_0xe584[106]]()&&this[_0xe584[107]]==_0xa889x53){this[_0xe584[120]]();this[_0xe584[121]]();_0xa889x56[_0xe584[118]]()}else {mxVertexHandler[_0xe584[0]][_0xe584[119]][_0xe584[30]](this,arguments)}};_0xa889x54[_0xe584[0]][_0xe584[101]]=function(_0xa889x4f){var _0xa889x5b=this[_0xe584[83]][_0xe584[123]][_0xe584[122]]();var _0xa889x5c=mxUtils[_0xe584[124]](_0xa889x5b);var _0xa889x5d=Math[_0xe584[125]](_0xa889x5c);var _0xa889x5e=Math[_0xe584[126]](_0xa889x5c);var _0xa889x34= new mxRectangle(this[_0xe584[83]][_0xe584[68]],this[_0xe584[83]][_0xe584[69]],this[_0xe584[83]][_0xe584[70]],this[_0xe584[83]][_0xe584[71]]);if(this[_0xe584[83]][_0xe584[123]][_0xe584[127]]()){var _0xa889x5f=(_0xa889x34[_0xe584[70]]-_0xa889x34[_0xe584[71]])/2;_0xa889x34[_0xe584[68]]+=_0xa889x5f;_0xa889x34[_0xe584[69]]-=_0xa889x5f;var _0xa889x23=_0xa889x34[_0xe584[70]];_0xa889x34[_0xe584[70]]=_0xa889x34[_0xe584[71]];_0xa889x34[_0xe584[71]]=_0xa889x23};var _0xa889x60=this[_0xe584[128]](_0xa889x34);if(this[_0xe584[83]][_0xe584[123]][_0xe584[129]]){_0xa889x60[_0xe584[68]]=2*_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x60[_0xe584[68]]};if(this[_0xe584[83]][_0xe584[123]][_0xe584[130]]){_0xa889x60[_0xe584[69]]=2*_0xa889x34[_0xe584[69]]+_0xa889x34[_0xe584[71]]-_0xa889x60[_0xe584[69]]};_0xa889x60=mxUtils[_0xe584[133]](_0xa889x60,_0xa889x5d,_0xa889x5e, new mxPoint(this[_0xe584[83]][_0xe584[131]](),this[_0xe584[83]][_0xe584[132]]()));return new mxRectangle(_0xa889x60[_0xe584[68]]-_0xa889x4f/2,_0xa889x60[_0xe584[69]]-_0xa889x4f/2,_0xa889x4f,_0xa889x4f)};_0xa889x54[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){return null};_0xa889x54[_0xe584[0]][_0xe584[115]]=function(_0xa889x58){};_0xa889x54[_0xe584[0]][_0xe584[110]]=function(_0xa889x58){_0xa889x58[_0xe584[68]]=Math[_0xe584[34]](this[_0xe584[83]][_0xe584[68]],Math[_0xe584[6]](this[_0xe584[83]][_0xe584[68]]+this[_0xe584[83]][_0xe584[70]],_0xa889x58[_0xe584[68]]));_0xa889x58[_0xe584[69]]=Math[_0xe584[34]](this[_0xe584[83]][_0xe584[69]],Math[_0xe584[6]](this[_0xe584[83]][_0xe584[69]]+this[_0xe584[83]][_0xe584[71]],_0xa889x58[_0xe584[69]]))};_0xa889x54[_0xe584[0]][_0xe584[120]]=function(){};function _0xa889x61(_0xa889x33){_0xa889x54[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x61,_0xa889x54);_0xa889x61[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];var _0xa889xb=Math[_0xe584[6]](_0xa889x34[_0xe584[70]],mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[14],60)*_0xa889x5a);var _0xa889xc=Math[_0xe584[6]](_0xa889x34[_0xe584[71]],mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[15],20)*_0xa889x5a);var _0xa889xd=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[16],_0xe584[17]);var _0xa889x3=(_0xa889xd==_0xe584[18])?_0xa889x34[_0xe584[68]]+_0xa889xb:_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889xb;return new mxPoint(_0xa889x3,_0xa889x34[_0xe584[69]]+_0xa889xc)};_0xa889x61[_0xe584[0]][_0xe584[115]]=function(_0xa889x58){var _0xa889x5b=this[_0xe584[83]][_0xe584[123]][_0xe584[122]]();var _0xa889x5c=mxUtils[_0xe584[124]](_0xa889x5b);var _0xa889x5d=Math[_0xe584[125]](-_0xa889x5c);var _0xa889x5e=Math[_0xe584[126]](-_0xa889x5c);var _0xa889x34= new mxRectangle(this[_0xe584[83]][_0xe584[68]],this[_0xe584[83]][_0xe584[69]],this[_0xe584[83]][_0xe584[70]],this[_0xe584[83]][_0xe584[71]]);if(this[_0xe584[83]][_0xe584[123]][_0xe584[127]]()){var _0xa889x5f=(_0xa889x34[_0xe584[70]]-_0xa889x34[_0xe584[71]])/2;_0xa889x34[_0xe584[68]]+=_0xa889x5f;_0xa889x34[_0xe584[69]]-=_0xa889x5f;var _0xa889x23=_0xa889x34[_0xe584[70]];_0xa889x34[_0xe584[70]]=_0xa889x34[_0xe584[71]];_0xa889x34[_0xe584[71]]=_0xa889x23};var _0xa889x60= new mxPoint(_0xa889x58[_0xe584[68]],_0xa889x58[_0xe584[69]]);_0xa889x60=mxUtils[_0xe584[133]](_0xa889x60,_0xa889x5d,_0xa889x5e, new mxPoint(this[_0xe584[83]][_0xe584[131]](),this[_0xe584[83]][_0xe584[132]]()));if(this[_0xe584[83]][_0xe584[123]][_0xe584[129]]){_0xa889x60[_0xe584[68]]=2*_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x60[_0xe584[68]]};if(this[_0xe584[83]][_0xe584[123]][_0xe584[130]]){_0xa889x60[_0xe584[69]]=2*_0xa889x34[_0xe584[69]]+_0xa889x34[_0xe584[71]]-_0xa889x60[_0xe584[69]]};var _0xa889x62=this[_0xe584[134]](_0xa889x60,_0xa889x34);if(_0xa889x62!=null){if(this[_0xe584[83]][_0xe584[123]][_0xe584[129]]){_0xa889x62[_0xe584[68]]=2*_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x62[_0xe584[68]]};if(this[_0xe584[83]][_0xe584[123]][_0xe584[130]]){_0xa889x62[_0xe584[69]]=2*_0xa889x34[_0xe584[69]]+_0xa889x34[_0xe584[71]]-_0xa889x62[_0xe584[69]]};_0xa889x5d=Math[_0xe584[125]](_0xa889x5c);_0xa889x5e=Math[_0xe584[126]](_0xa889x5c);_0xa889x62=mxUtils[_0xe584[133]](_0xa889x62,_0xa889x5d,_0xa889x5e, new mxPoint(this[_0xe584[83]][_0xe584[131]](),this[_0xe584[83]][_0xe584[132]]()));_0xa889x58[_0xe584[68]]=_0xa889x62[_0xe584[68]];_0xa889x58[_0xe584[69]]=_0xa889x62[_0xe584[69]]}};_0xa889x61[_0xe584[0]][_0xe584[134]]=function(_0xa889x60,_0xa889x34){var _0xa889xd=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[16],_0xe584[17]);var _0xa889xb=(_0xa889xd==_0xe584[18])?_0xa889x60[_0xe584[68]]-_0xa889x34[_0xe584[68]]:_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x60[_0xe584[68]];var _0xa889xc=_0xa889x60[_0xe584[69]]-_0xa889x34[_0xe584[69]];var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];this[_0xe584[83]][_0xe584[4]][_0xe584[14]]=Math[_0xe584[135]](Math[_0xe584[34]](1,_0xa889xb)/_0xa889x5a);this[_0xe584[83]][_0xe584[4]][_0xe584[15]]=Math[_0xe584[135]](Math[_0xe584[34]](1,_0xa889xc)/_0xa889x5a)};_0xa889x61[_0xe584[0]][_0xe584[120]]=function(){var _0xa889x63=this[_0xe584[84]][_0xe584[136]]();_0xa889x63[_0xe584[137]]();try{this[_0xe584[83]][_0xe584[85]][_0xe584[84]][_0xe584[139]](_0xe584[14],this[_0xe584[83]][_0xe584[4]][_0xe584[14]],[this[_0xe584[83]][_0xe584[138]]]);this[_0xe584[83]][_0xe584[85]][_0xe584[84]][_0xe584[139]](_0xe584[15],this[_0xe584[83]][_0xe584[4]][_0xe584[15]],[this[_0xe584[83]][_0xe584[138]]])}finally{_0xa889x63[_0xe584[140]]()}};function _0xa889x64(_0xa889x33){_0xa889x61[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x64,_0xa889x61);_0xa889x64[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];var _0xa889x65=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]/2,_0xa889x34[_0xe584[69]]+Math[_0xe584[6]](_0xa889x34[_0xe584[71]],_0xa889x65*_0xa889x5a))};_0xa889x64[_0xe584[0]][_0xe584[134]]=function(_0xa889x58,_0xa889x34){_0xa889x58[_0xe584[68]]=_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]/2;startSize=_0xa889x58[_0xe584[69]]-_0xa889x34[_0xe584[69]];var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];this[_0xe584[83]][_0xe584[4]][_0xe584[141]]=Math[_0xe584[135]](Math[_0xe584[34]](1,startSize)/_0xa889x5a);return _0xa889x58};_0xa889x64[_0xe584[0]][_0xe584[120]]=function(){this[_0xe584[83]][_0xe584[85]][_0xe584[84]][_0xe584[139]](_0xe584[141],this[_0xe584[83]][_0xe584[4]][_0xe584[141]],[this[_0xe584[83]][_0xe584[138]]])};function _0xa889x66(_0xa889x33){_0xa889x61[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x66,_0xa889x61);_0xa889x66[_0xe584[0]][_0xe584[142]]=20;_0xa889x66[_0xe584[0]][_0xe584[143]]=1;_0xa889x66[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];var _0xa889x67=Math[_0xe584[6]](_0xa889x34[_0xe584[70]],Math[_0xe584[6]](_0xa889x34[_0xe584[71]],mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[2],this[_0xe584[142]])*_0xa889x5a/this[_0xe584[143]]));return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x67,_0xa889x34[_0xe584[69]]+_0xa889x67)};_0xa889x66[_0xe584[0]][_0xe584[134]]=function(_0xa889x60,_0xa889x34){var _0xa889x4f=Math[_0xe584[34]](0,Math[_0xe584[6]](Math[_0xe584[6]](_0xa889x34[_0xe584[70]]/this[_0xe584[143]],_0xa889x60[_0xe584[68]]-_0xa889x34[_0xe584[68]]),Math[_0xe584[6]](_0xa889x34[_0xe584[71]]/this[_0xe584[143]],_0xa889x60[_0xe584[69]]-_0xa889x34[_0xe584[69]])));var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];this[_0xe584[83]][_0xe584[4]][_0xe584[2]]=Math[_0xe584[135]](Math[_0xe584[34]](1,_0xa889x4f)/_0xa889x5a)*this[_0xe584[143]];return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x4f,_0xa889x34[_0xe584[69]]+_0xa889x4f)};_0xa889x66[_0xe584[0]][_0xe584[120]]=function(){this[_0xe584[83]][_0xe584[85]][_0xe584[84]][_0xe584[139]](_0xe584[2],this[_0xe584[83]][_0xe584[4]][_0xe584[2]],[this[_0xe584[83]][_0xe584[138]]])};function _0xa889x68(_0xa889x33){_0xa889x66[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x68,_0xa889x66);_0xa889x68[_0xe584[0]][_0xe584[142]]=30;_0xa889x68[_0xe584[0]][_0xe584[143]]=2;function _0xa889x69(_0xa889x33){_0xa889x66[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x69,_0xa889x66);_0xa889x69[_0xe584[0]][_0xe584[142]]=30;_0xa889x69[_0xe584[0]][_0xe584[143]]=1;_0xa889x69[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];var _0xa889x67=Math[_0xe584[6]](_0xa889x34[_0xe584[70]],Math[_0xe584[6]](_0xa889x34[_0xe584[71]],mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[2],this[_0xe584[142]])*_0xa889x5a/this[_0xe584[143]]));return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x67,_0xa889x34[_0xe584[69]]+_0xa889x67)};_0xa889x69[_0xe584[0]][_0xe584[134]]=function(_0xa889x60,_0xa889x34){var _0xa889x4f=Math[_0xe584[34]](0,Math[_0xe584[6]](Math[_0xe584[6]](_0xa889x34[_0xe584[70]]/this[_0xe584[143]],_0xa889x60[_0xe584[68]]-_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]),Math[_0xe584[6]](_0xa889x34[_0xe584[71]]/this[_0xe584[143]],_0xa889x60[_0xe584[69]]-_0xa889x34[_0xe584[69]])));var _0xa889x5a=this[_0xe584[84]][_0xe584[93]]()[_0xe584[113]];this[_0xe584[83]][_0xe584[4]][_0xe584[2]]=Math[_0xe584[135]](Math[_0xe584[34]](1,_0xa889x4f)/_0xa889x5a)*this[_0xe584[143]];return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]-_0xa889x4f,_0xa889x34[_0xe584[69]]+_0xa889x4f)};function _0xa889x6a(_0xa889x33){_0xa889x66[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x6a,_0xa889x66);_0xa889x6a[_0xe584[0]][_0xe584[142]]=0.2;_0xa889x6a[_0xe584[0]][_0xe584[143]]=1;_0xa889x6a[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x67=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[2],this[_0xe584[142]]);return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]*_0xa889x67,_0xa889x34[_0xe584[69]]+_0xa889x34[_0xe584[71]]/2)};_0xa889x6a[_0xe584[0]][_0xe584[134]]=function(_0xa889x60,_0xa889x34){var _0xa889x4f=Math[_0xe584[6]](1,(_0xa889x60[_0xe584[68]]-_0xa889x34[_0xe584[68]])/_0xa889x34[_0xe584[70]]);this[_0xe584[83]][_0xe584[4]][_0xe584[2]]=_0xa889x4f;return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x4f*_0xa889x34[_0xe584[70]],_0xa889x34[_0xe584[69]]+_0xa889x34[_0xe584[71]]/2)};function _0xa889x6b(_0xa889x33){_0xa889x66[_0xe584[24]](this,_0xa889x33)}mxUtils[_0xe584[25]](_0xa889x6b,_0xa889x66);_0xa889x6b[_0xe584[0]][_0xe584[142]]=0.4;_0xa889x6b[_0xe584[0]][_0xe584[143]]=1;_0xa889x6b[_0xe584[0]][_0xe584[128]]=function(_0xa889x34){var _0xa889x67=mxUtils[_0xe584[5]](this[_0xe584[83]][_0xe584[4]],_0xe584[2],this[_0xe584[142]]);return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]/2,_0xa889x34[_0xe584[69]]+_0xa889x67*_0xa889x34[_0xe584[71]]/2)};_0xa889x6b[_0xe584[0]][_0xe584[134]]=function(_0xa889x60,_0xa889x34){var _0xa889x4f=Math[_0xe584[34]](0,Math[_0xe584[6]](1,((_0xa889x60[_0xe584[69]]-_0xa889x34[_0xe584[69]])/_0xa889x34[_0xe584[71]])*2));this[_0xe584[83]][_0xe584[4]][_0xe584[2]]=_0xa889x4f;return new mxPoint(_0xa889x34[_0xe584[68]]+_0xa889x34[_0xe584[70]]/2,_0xa889x34[_0xe584[69]]+_0xa889x4f*_0xa889x34[_0xe584[71]]/2)};var _0xa889x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0xa889x64,"\x66\x6F\x6C\x64\x65\x72":_0xa889x61,"\x63\x75\x62\x65":_0xa889x66,"\x63\x61\x72\x64":_0xa889x68,"\x6E\x6F\x74\x65":_0xa889x69,"\x73\x74\x65\x70":_0xa889x6a,"\x74\x61\x70\x65":_0xa889x6b};var _0xa889x6d=mxGraph[_0xe584[0]][_0xe584[144]];mxGraph[_0xe584[0]][_0xe584[144]]=function(_0xa889x33){if(_0xa889x33!=null){var _0xa889x6e=_0xa889x6c[_0xa889x33[_0xe584[4]][_0xe584[123]]];if(_0xa889x6e!=null){return new _0xa889x6e(_0xa889x33)}};return _0xa889x6d[_0xe584[30]](this,arguments)}};mxGraph[_0xe584[0]][_0xe584[145]]=function(_0xa889x6f,_0xa889x50){if(_0xa889x6f!=null&&_0xa889x6f[_0xe584[123]]!=null){if(_0xa889x6f[_0xe584[123]][_0xe584[146]]!=null){if(_0xa889x6f[_0xe584[123]][_0xe584[146]]!=null){return _0xa889x6f[_0xe584[123]][_0xe584[146]][_0xe584[147]]}}else {if(_0xa889x6f[_0xe584[123]][_0xe584[147]]!=null){return _0xa889x6f[_0xe584[123]][_0xe584[147]]}}};return null};mxRectangleShape[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];mxImageShape[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];mxSwimlane[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];_0xa889x14[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];_0xa889x9[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];_0xa889x10[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];_0xa889x1[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];_0xa889xa[_0xe584[0]][_0xe584[147]]=mxRectangleShape[_0xe584[0]][_0xe584[147]];mxCylinder[_0xe584[0]][_0xe584[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)];_0xa889x25[_0xe584[0]][_0xe584[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)];_0xa889x28[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[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)];_0xa889x11[_0xe584[0]][_0xe584[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)];_0xa889x13[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[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)];_0xa889x26[_0xe584[0]][_0xe584[147]]=[ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[147]]=mxEllipse[_0xe584[0]][_0xe584[147]];mxRhombus[_0xe584[0]][_0xe584[147]]=mxEllipse[_0xe584[0]][_0xe584[147]];mxTriangle[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[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[_0xe584[0]][_0xe584[147]]=null})() \ No newline at end of file +var _0x270e=["\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 _0xc0f8x1(){}_0xc0f8x1[_0x270e[0]]= new mxCylinder();_0xc0f8x1[_0x270e[0]][_0x270e[1]]=_0xc0f8x1;_0xc0f8x1[_0x270e[0]][_0x270e[2]]=20;_0xc0f8x1[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x8=Math[_0x270e[6]](_0xc0f8x5,Math[_0x270e[6]](_0xc0f8x6,mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]])));if(_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x8,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](_0xc0f8x8,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](0,0);_0xc0f8x2[_0x270e[7]](_0xc0f8x8,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x8);_0xc0f8x2[_0x270e[9]]()}else {_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8x8,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](_0xc0f8x8,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6-_0xc0f8x8);_0xc0f8x2[_0x270e[8]](0,0);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[11]]=_0xc0f8x1;function _0xc0f8x9(){}_0xc0f8x9[_0x270e[0]]= new mxCylinder();_0xc0f8x9[_0x270e[0]][_0x270e[1]]=_0xc0f8x9;_0xc0f8x9[_0x270e[0]][_0x270e[2]]=30;_0xc0f8x9[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x8=Math[_0x270e[6]](_0xc0f8x5,Math[_0x270e[6]](_0xc0f8x6,mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]])));if(_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x5-_0xc0f8x8,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8x8,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x8);_0xc0f8x2[_0x270e[9]]()}else {_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8x8,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,0);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[13]]=_0xc0f8x9;function _0xc0f8xa(){}_0xc0f8xa[_0x270e[0]]= new mxCylinder();_0xc0f8xa[_0x270e[0]][_0x270e[1]]=_0xc0f8xa;_0xc0f8xa[_0x270e[0]][_0x270e[14]]=60;_0xc0f8xa[_0x270e[0]][_0x270e[15]]=20;_0xc0f8xa[_0x270e[0]][_0x270e[16]]=_0x270e[17];_0xc0f8xa[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8xb=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[14],this[_0x270e[14]]);var _0xc0f8xc=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[15],this[_0x270e[15]]);var _0xc0f8xd=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[16],this[_0x270e[16]]);var _0xc0f8xe=Math[_0x270e[6]](_0xc0f8x5,_0xc0f8xb);var _0xc0f8xf=Math[_0x270e[6]](_0xc0f8x6,_0xc0f8xc);if(_0xc0f8x7){if(_0xc0f8xd==_0x270e[18]){_0xc0f8x2[_0x270e[7]](0,_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8xe,_0xc0f8xf)}else {_0xc0f8x2[_0x270e[7]](_0xc0f8x5-_0xc0f8xe,_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8xf)};_0xc0f8x2[_0x270e[9]]()}else {if(_0xc0f8xd==_0x270e[18]){_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8xe,0);_0xc0f8x2[_0x270e[8]](_0xc0f8xe,_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8xf)}else {_0xc0f8x2[_0x270e[7]](0,_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8xe,_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8xe,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,0)};_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8xf);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[19]]=_0xc0f8xa;function _0xc0f8x10(){}_0xc0f8x10[_0x270e[0]]= new mxCylinder();_0xc0f8x10[_0x270e[0]][_0x270e[1]]=_0xc0f8x10;_0xc0f8x10[_0x270e[0]][_0x270e[2]]=30;_0xc0f8x10[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x8=Math[_0x270e[6]](_0xc0f8x5,Math[_0x270e[6]](_0xc0f8x6,mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]])));if(!_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x8,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x8);_0xc0f8x2[_0x270e[8]](_0xc0f8x8,0);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[20]]=_0xc0f8x10;function _0xc0f8x11(){}_0xc0f8x11[_0x270e[0]]= new mxCylinder();_0xc0f8x11[_0x270e[0]][_0x270e[1]]=_0xc0f8x11;_0xc0f8x11[_0x270e[0]][_0x270e[2]]=0.4;_0xc0f8x11[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x8=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]]);var _0xc0f8xf=_0xc0f8x6*_0xc0f8x8;var _0xc0f8x12=1.4;if(!_0xc0f8x7){_0xc0f8x2[_0x270e[7]](0,_0xc0f8xf/2);_0xc0f8x2[_0x270e[21]](_0xc0f8x5/4,_0xc0f8xf*_0xc0f8x12,_0xc0f8x5/2,_0xc0f8xf/2);_0xc0f8x2[_0x270e[21]](_0xc0f8x5*3/4,_0xc0f8xf*(1-_0xc0f8x12),_0xc0f8x5,_0xc0f8xf/2);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6-_0xc0f8xf/2);_0xc0f8x2[_0x270e[21]](_0xc0f8x5*3/4,_0xc0f8x6-_0xc0f8xf*_0xc0f8x12,_0xc0f8x5/2,_0xc0f8x6-_0xc0f8xf/2);_0xc0f8x2[_0x270e[21]](_0xc0f8x5/4,_0xc0f8x6-_0xc0f8xf*(1-_0xc0f8x12),0,_0xc0f8x6-_0xc0f8xf/2);_0xc0f8x2[_0x270e[8]](0,_0xc0f8xf/2);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[22]]=_0xc0f8x11;function _0xc0f8x13(){}_0xc0f8x13[_0x270e[0]]= new mxCylinder();_0xc0f8x13[_0x270e[0]][_0x270e[1]]=_0xc0f8x13;_0xc0f8x13[_0x270e[0]][_0x270e[2]]=0.2;_0xc0f8x13[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x8=_0xc0f8x5*mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]]);if(!_0xc0f8x7){_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8x8,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6/2);_0xc0f8x2[_0x270e[8]](_0xc0f8x5-_0xc0f8x8,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](_0xc0f8x8,_0xc0f8x6/2);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[23]]=_0xc0f8x13;function _0xc0f8x14(){mxRectangleShape[_0x270e[24]](this)}mxUtils[_0x270e[25]](_0xc0f8x14,mxRectangleShape);_0xc0f8x14[_0x270e[0]][_0x270e[26]]=function(){return false};_0xc0f8x14[_0x270e[0]][_0x270e[27]]=function(_0xc0f8x15,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6){var _0xc0f8x16=Math[_0x270e[6]](_0xc0f8x5/5,_0xc0f8x6/5)+1;_0xc0f8x15[_0x270e[28]]();_0xc0f8x15[_0x270e[7]](_0xc0f8x3+_0xc0f8x5/2,_0xc0f8x4+_0xc0f8x16);_0xc0f8x15[_0x270e[8]](_0xc0f8x3+_0xc0f8x5/2,_0xc0f8x4+_0xc0f8x6-_0xc0f8x16);_0xc0f8x15[_0x270e[7]](_0xc0f8x3+_0xc0f8x16,_0xc0f8x4+_0xc0f8x6/2);_0xc0f8x15[_0x270e[8]](_0xc0f8x3+_0xc0f8x5-_0xc0f8x16,_0xc0f8x4+_0xc0f8x6/2);_0xc0f8x15[_0x270e[9]]();_0xc0f8x15[_0x270e[29]]();mxRectangleShape[_0x270e[0]][_0x270e[27]][_0x270e[30]](this,arguments)};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[31]]=_0xc0f8x14;function _0xc0f8x17(){mxRectangleShape[_0x270e[24]](this)}mxUtils[_0x270e[25]](_0xc0f8x17,mxRectangleShape);_0xc0f8x17[_0x270e[0]][_0x270e[26]]=function(){return false};_0xc0f8x17[_0x270e[0]][_0x270e[27]]=function(_0xc0f8x15,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6){if(this[_0x270e[4]]!=null){if(this[_0x270e[4]][_0x270e[32]]==1){var _0xc0f8x18=Math[_0x270e[34]](2,this[_0x270e[33]]+1);mxRectangleShape[_0x270e[0]][_0x270e[35]][_0x270e[24]](this,_0xc0f8x15,_0xc0f8x3+_0xc0f8x18,_0xc0f8x4+_0xc0f8x18,_0xc0f8x5-2*_0xc0f8x18,_0xc0f8x6-2*_0xc0f8x18);mxRectangleShape[_0x270e[0]][_0x270e[27]][_0x270e[30]](this,arguments);_0xc0f8x3+=_0xc0f8x18;_0xc0f8x4+=_0xc0f8x18;_0xc0f8x5-=2*_0xc0f8x18;_0xc0f8x6-=2*_0xc0f8x18};_0xc0f8x15[_0x270e[36]](false);var _0xc0f8x19=0;var _0xc0f8x1a=null;do{_0xc0f8x1a=mxCellRenderer[_0x270e[0]][_0x270e[12]][this[_0x270e[4]][_0x270e[37]+_0xc0f8x19]];if(_0xc0f8x1a!=null){var _0xc0f8x1b=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[38]];var _0xc0f8x1c=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[39]];var _0xc0f8x1d=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[40]];var _0xc0f8x1e=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[41]];var _0xc0f8x1f=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[42]]||0;var _0xc0f8x20=this[_0x270e[4]][_0x270e[37]+_0xc0f8x19+_0x270e[43]];if(_0xc0f8x20!=null){_0xc0f8x1f+=this[_0x270e[44]](_0xc0f8x5+this[_0x270e[33]],_0xc0f8x6+this[_0x270e[33]])*_0xc0f8x20};var _0xc0f8x21=_0xc0f8x3;var _0xc0f8x22=_0xc0f8x4;if(_0xc0f8x1b==mxConstants[_0x270e[45]]){_0xc0f8x21+=(_0xc0f8x5-_0xc0f8x1d)/2}else {if(_0xc0f8x1b==mxConstants[_0x270e[46]]){_0xc0f8x21+=_0xc0f8x5-_0xc0f8x1d-_0xc0f8x1f}else {_0xc0f8x21+=_0xc0f8x1f}};if(_0xc0f8x1c==mxConstants[_0x270e[47]]){_0xc0f8x22+=(_0xc0f8x6-_0xc0f8x1e)/2}else {if(_0xc0f8x1c==mxConstants[_0x270e[48]]){_0xc0f8x22+=_0xc0f8x6-_0xc0f8x1e-_0xc0f8x1f}else {_0xc0f8x22+=_0xc0f8x1f}};_0xc0f8x15[_0x270e[49]]();var _0xc0f8x23= new _0xc0f8x1a();_0xc0f8x23[_0x270e[4]]=this[_0x270e[4]];_0xc0f8x1a[_0x270e[0]][_0x270e[50]][_0x270e[24]](_0xc0f8x23,_0xc0f8x15,_0xc0f8x21,_0xc0f8x22,_0xc0f8x1d,_0xc0f8x1e);_0xc0f8x15[_0x270e[51]]()};_0xc0f8x19++}while(_0xc0f8x1a!=null);}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[52]]=_0xc0f8x17;function _0xc0f8x24(){}_0xc0f8x24[_0x270e[0]]= new mxCylinder();_0xc0f8x24[_0x270e[0]][_0x270e[1]]=_0xc0f8x24;_0xc0f8x24[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){if(_0xc0f8x7){_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5/2,_0xc0f8x6/2);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,0);_0xc0f8x2[_0x270e[9]]()}else {_0xc0f8x2[_0x270e[7]](0,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[10]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[53]]=_0xc0f8x24;function _0xc0f8x25(){}_0xc0f8x25[_0x270e[0]]= new mxCylinder();_0xc0f8x25[_0x270e[0]][_0x270e[1]]=_0xc0f8x25;_0xc0f8x25[_0x270e[0]][_0x270e[54]]=true;_0xc0f8x25[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x1d=_0xc0f8x5/3;var _0xc0f8x1e=_0xc0f8x6/4;if(!_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[55]](_0xc0f8x5/2-_0xc0f8x1d,_0xc0f8x1e,_0xc0f8x5/2-_0xc0f8x1d,0,_0xc0f8x5/2,0);_0xc0f8x2[_0x270e[55]](_0xc0f8x5/2+_0xc0f8x1d,0,_0xc0f8x5/2+_0xc0f8x1d,_0xc0f8x1e,_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[8]](_0xc0f8x5/2,2*_0xc0f8x6/3);_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x6/3);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6/3);_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x6/3);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6/3);_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,2*_0xc0f8x6/3);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x6);_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,2*_0xc0f8x6/3);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[56]]=_0xc0f8x25;function _0xc0f8x26(){}_0xc0f8x26[_0x270e[0]]= new mxCylinder();_0xc0f8x26[_0x270e[0]][_0x270e[1]]=_0xc0f8x26;_0xc0f8x26[_0x270e[0]][_0x270e[2]]=10;_0xc0f8x26[_0x270e[0]][_0x270e[54]]=true;_0xc0f8x26[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8x27=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[2],this[_0x270e[2]]);var _0xc0f8x1d=_0xc0f8x27*2/3;var _0xc0f8x1e=_0xc0f8x27;if(!_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[55]](_0xc0f8x5/2-_0xc0f8x1d,_0xc0f8x1e,_0xc0f8x5/2-_0xc0f8x1d,0,_0xc0f8x5/2,0);_0xc0f8x2[_0x270e[55]](_0xc0f8x5/2+_0xc0f8x1d,0,_0xc0f8x5/2+_0xc0f8x1d,_0xc0f8x1e,_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[7]](_0xc0f8x5/2,_0xc0f8x1e);_0xc0f8x2[_0x270e[8]](_0xc0f8x5/2,_0xc0f8x6);_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[57]]=_0xc0f8x26;function _0xc0f8x28(){}_0xc0f8x28[_0x270e[0]]= new mxCylinder();_0xc0f8x28[_0x270e[0]][_0x270e[1]]=_0xc0f8x28;_0xc0f8x28[_0x270e[0]][_0x270e[58]]=32;_0xc0f8x28[_0x270e[0]][_0x270e[59]]=12;_0xc0f8x28[_0x270e[0]][_0x270e[3]]=function(_0xc0f8x2,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6,_0xc0f8x7){var _0xc0f8xe=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[58],this[_0x270e[58]]);var _0xc0f8xf=mxUtils[_0x270e[5]](this[_0x270e[4]],_0x270e[59],this[_0x270e[59]]);var _0xc0f8x29=_0xc0f8xe/2;var _0xc0f8x2a=_0xc0f8x29+_0xc0f8xe/2;var _0xc0f8x2b=0.3*_0xc0f8x6-_0xc0f8xf/2;var _0xc0f8x2c=0.7*_0xc0f8x6-_0xc0f8xf/2;if(_0xc0f8x7){_0xc0f8x2[_0x270e[7]](_0xc0f8x29,_0xc0f8x2b);_0xc0f8x2[_0x270e[8]](_0xc0f8x2a,_0xc0f8x2b);_0xc0f8x2[_0x270e[8]](_0xc0f8x2a,_0xc0f8x2b+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2b+_0xc0f8xf);_0xc0f8x2[_0x270e[7]](_0xc0f8x29,_0xc0f8x2c);_0xc0f8x2[_0x270e[8]](_0xc0f8x2a,_0xc0f8x2c);_0xc0f8x2[_0x270e[8]](_0xc0f8x2a,_0xc0f8x2c+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2c+_0xc0f8xf);_0xc0f8x2[_0x270e[9]]()}else {_0xc0f8x2[_0x270e[7]](_0xc0f8x29,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,0);_0xc0f8x2[_0x270e[8]](_0xc0f8x5,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x6);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2c+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x2c+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x2c);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2c);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2b+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x2b+_0xc0f8xf);_0xc0f8x2[_0x270e[8]](0,_0xc0f8x2b);_0xc0f8x2[_0x270e[8]](_0xc0f8x29,_0xc0f8x2b);_0xc0f8x2[_0x270e[10]]();_0xc0f8x2[_0x270e[9]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[60]]=_0xc0f8x28;function _0xc0f8x2d(){}_0xc0f8x2d[_0x270e[0]]= new mxDoubleEllipse();_0xc0f8x2d[_0x270e[0]][_0x270e[1]]=_0xc0f8x2d;_0xc0f8x2d[_0x270e[0]][_0x270e[61]]=true;_0xc0f8x2d[_0x270e[0]][_0x270e[50]]=function(_0xc0f8x15,_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6){var _0xc0f8x18=Math[_0x270e[6]](4,Math[_0x270e[6]](_0xc0f8x5/5,_0xc0f8x6/5));if(_0xc0f8x5>0&&_0xc0f8x6>0){_0xc0f8x15[_0x270e[62]](_0xc0f8x3+_0xc0f8x18,_0xc0f8x4+_0xc0f8x18,_0xc0f8x5-2*_0xc0f8x18,_0xc0f8x6-2*_0xc0f8x18);_0xc0f8x15[_0x270e[63]]()};_0xc0f8x15[_0x270e[64]](false);if(this[_0x270e[61]]){_0xc0f8x15[_0x270e[62]](_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6);_0xc0f8x15[_0x270e[29]]()}};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[65]]=_0xc0f8x2d;function _0xc0f8x2e(){}_0xc0f8x2e[_0x270e[0]]= new _0xc0f8x2d();_0xc0f8x2e[_0x270e[0]][_0x270e[1]]=_0xc0f8x2e;_0xc0f8x2e[_0x270e[0]][_0x270e[61]]=false;mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[66]]=_0xc0f8x2e;var _0xc0f8x2f=mxImageExport[_0x270e[0]][_0x270e[67]];mxImageExport[_0x270e[0]][_0x270e[67]]=function(){_0xc0f8x2f[_0x270e[30]](this,arguments);function _0xc0f8x30(_0xc0f8x31){return {drawShape:function(_0xc0f8x32,_0xc0f8x33,_0xc0f8x34,_0xc0f8x35){var _0xc0f8x3=_0xc0f8x34[_0x270e[68]];var _0xc0f8x4=_0xc0f8x34[_0x270e[69]];var _0xc0f8x5=_0xc0f8x34[_0x270e[70]];var _0xc0f8x6=_0xc0f8x34[_0x270e[71]];if(_0xc0f8x35){var _0xc0f8x18=Math[_0x270e[6]](4,Math[_0x270e[6]](_0xc0f8x5/5,_0xc0f8x6/5));_0xc0f8x3+=_0xc0f8x18;_0xc0f8x4+=_0xc0f8x18;_0xc0f8x5-=2*_0xc0f8x18;_0xc0f8x6-=2*_0xc0f8x18;if(_0xc0f8x5>0&&_0xc0f8x6>0){_0xc0f8x32[_0x270e[62]](_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6)};return true}else {_0xc0f8x32[_0x270e[63]]();if(_0xc0f8x31){_0xc0f8x32[_0x270e[62]](_0xc0f8x3,_0xc0f8x4,_0xc0f8x5,_0xc0f8x6);_0xc0f8x32[_0x270e[29]]()}}}}}this[_0x270e[72]][_0x270e[65]]=_0xc0f8x30(true);this[_0x270e[72]][_0x270e[66]]=_0xc0f8x30(false)};function _0xc0f8x36(){mxArrow[_0x270e[24]](this)}mxUtils[_0x270e[25]](_0xc0f8x36,mxArrow);_0xc0f8x36[_0x270e[0]][_0x270e[73]]=function(_0xc0f8x15,_0xc0f8x37){var _0xc0f8x1d=10;var _0xc0f8x38=_0xc0f8x37[0];var _0xc0f8x39=_0xc0f8x37[_0xc0f8x37[_0x270e[74]]-1];var _0xc0f8xe=_0xc0f8x39[_0x270e[68]]-_0xc0f8x38[_0x270e[68]];var _0xc0f8xf=_0xc0f8x39[_0x270e[69]]-_0xc0f8x38[_0x270e[69]];var _0xc0f8x3a=Math[_0x270e[75]](_0xc0f8xe*_0xc0f8xe+_0xc0f8xf*_0xc0f8xf);var _0xc0f8x3b=_0xc0f8x3a;var _0xc0f8x3c=_0xc0f8xe/_0xc0f8x3a;var _0xc0f8x3d=_0xc0f8xf/_0xc0f8x3a;var _0xc0f8x3e=_0xc0f8x3b*_0xc0f8x3c;var _0xc0f8x3f=_0xc0f8x3b*_0xc0f8x3d;var _0xc0f8x40=_0xc0f8x1d*_0xc0f8x3d/3;var _0xc0f8x41=-_0xc0f8x1d*_0xc0f8x3c/3;var _0xc0f8x42=_0xc0f8x38[_0x270e[68]]-_0xc0f8x40/2;var _0xc0f8x43=_0xc0f8x38[_0x270e[69]]-_0xc0f8x41/2;var _0xc0f8x44=_0xc0f8x42+_0xc0f8x40;var _0xc0f8x45=_0xc0f8x43+_0xc0f8x41;var _0xc0f8x46=_0xc0f8x44+_0xc0f8x3e;var _0xc0f8x47=_0xc0f8x45+_0xc0f8x3f;var _0xc0f8x48=_0xc0f8x46+_0xc0f8x40;var _0xc0f8x49=_0xc0f8x47+_0xc0f8x41;var _0xc0f8x4a=_0xc0f8x48-3*_0xc0f8x40;var _0xc0f8x4b=_0xc0f8x49-3*_0xc0f8x41;_0xc0f8x15[_0x270e[28]]();_0xc0f8x15[_0x270e[7]](_0xc0f8x44,_0xc0f8x45);_0xc0f8x15[_0x270e[8]](_0xc0f8x46,_0xc0f8x47);_0xc0f8x15[_0x270e[7]](_0xc0f8x4a+_0xc0f8x40,_0xc0f8x4b+_0xc0f8x41);_0xc0f8x15[_0x270e[8]](_0xc0f8x42,_0xc0f8x43);_0xc0f8x15[_0x270e[29]]()};mxCellRenderer[_0x270e[0]][_0x270e[12]][_0x270e[76]]=_0xc0f8x36;mxMarker[_0x270e[78]](_0x270e[77],function(_0xc0f8x32,_0xc0f8x1a,_0xc0f8x4c,_0xc0f8x39,_0xc0f8x4d,_0xc0f8x4e,_0xc0f8x4f,_0xc0f8x50,_0xc0f8x51,_0xc0f8x52){var _0xc0f8x3c=_0xc0f8x4d*(_0xc0f8x4f+_0xc0f8x51+1);var _0xc0f8x3d=_0xc0f8x4e*(_0xc0f8x4f+_0xc0f8x51+1);return function(){_0xc0f8x32[_0x270e[28]]();_0xc0f8x32[_0x270e[7]](_0xc0f8x39[_0x270e[68]]-_0xc0f8x3c/2-_0xc0f8x3d/2,_0xc0f8x39[_0x270e[69]]-_0xc0f8x3d/2+_0xc0f8x3c/2);_0xc0f8x32[_0x270e[8]](_0xc0f8x39[_0x270e[68]]+_0xc0f8x3d/2-3*_0xc0f8x3c/2,_0xc0f8x39[_0x270e[69]]-3*_0xc0f8x3d/2-_0xc0f8x3c/2);_0xc0f8x32[_0x270e[29]]()}});var _0xc0f8x53=-99;if( typeof (mxVertexHandler)!=_0x270e[79]){function _0xc0f8x54(_0xc0f8x33){mxVertexHandler[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x54,mxVertexHandler);_0xc0f8x54[_0x270e[0]][_0x270e[80]]=false;_0xc0f8x54[_0x270e[0]][_0x270e[81]]=function(){this[_0x270e[82]]=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],mxConstants.STYLE_HORIZONTAL,true);var _0xc0f8x55=this[_0x270e[83]][_0x270e[85]][_0x270e[84]];if(this[_0x270e[86]]!=null){var _0xc0f8x34= new mxRectangle(0,0,this[_0x270e[86]][_0x270e[70]],this[_0x270e[86]][_0x270e[71]]);this[_0x270e[87]]= new mxImageShape(_0xc0f8x34,this[_0x270e[86]][_0x270e[88]])}else {var _0xc0f8x4f=10;var _0xc0f8x34= new mxRectangle(0,0,_0xc0f8x4f,_0xc0f8x4f);this[_0x270e[87]]= new mxRhombus(_0xc0f8x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0x270e[87]][_0x270e[89]]=(_0xc0f8x55[_0x270e[89]]!=mxConstants[_0x270e[90]])?mxConstants[_0x270e[91]]:mxConstants[_0x270e[90]];this[_0x270e[87]][_0x270e[81]](_0xc0f8x55[_0x270e[93]]()[_0x270e[92]]());this[_0x270e[87]][_0x270e[95]][_0x270e[4]][_0x270e[94]]=this[_0x270e[96]]();mxEvent[_0x270e[97]](this[_0x270e[87]][_0x270e[95]],_0xc0f8x55,this[_0x270e[83]]);mxVertexHandler[_0x270e[0]][_0x270e[81]][_0x270e[30]](this,arguments)};_0xc0f8x54[_0x270e[0]][_0x270e[96]]=function(){return _0x270e[98]};_0xc0f8x54[_0x270e[0]][_0x270e[99]]=function(){mxVertexHandler[_0x270e[0]][_0x270e[99]][_0x270e[30]](this,arguments);var _0xc0f8x4f=this[_0x270e[87]][_0x270e[100]][_0x270e[70]];this[_0x270e[87]][_0x270e[100]]=this[_0x270e[101]](_0xc0f8x4f);this[_0x270e[87]][_0x270e[99]]()};_0xc0f8x54[_0x270e[0]][_0x270e[102]]=function(){mxVertexHandler[_0x270e[0]][_0x270e[102]][_0x270e[30]](this,arguments);if(this[_0x270e[87]]!=null){this[_0x270e[87]][_0x270e[102]]();this[_0x270e[87]]=null}};_0xc0f8x54[_0x270e[0]][_0x270e[103]]=function(_0xc0f8x56){if(_0xc0f8x56[_0x270e[104]](this[_0x270e[87]])){return _0xc0f8x53};return mxVertexHandler[_0x270e[0]][_0x270e[103]][_0x270e[30]](this,arguments)};_0xc0f8x54[_0x270e[0]][_0x270e[105]]=function(_0xc0f8x57,_0xc0f8x56){if(!_0xc0f8x56[_0x270e[106]]()&&this[_0x270e[107]]==_0xc0f8x53){var _0xc0f8x58= new mxPoint(_0xc0f8x56[_0x270e[108]](),_0xc0f8x56[_0x270e[109]]());this[_0x270e[110]](_0xc0f8x58);var _0xc0f8x59=this[_0x270e[84]][_0x270e[112]](_0xc0f8x56[_0x270e[111]]());var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];if(_0xc0f8x59&&this[_0x270e[80]]){_0xc0f8x58[_0x270e[68]]=this[_0x270e[84]][_0x270e[114]](_0xc0f8x58[_0x270e[68]]/_0xc0f8x5a)*_0xc0f8x5a;_0xc0f8x58[_0x270e[69]]=this[_0x270e[84]][_0x270e[114]](_0xc0f8x58[_0x270e[69]]/_0xc0f8x5a)*_0xc0f8x5a};this[_0x270e[115]](_0xc0f8x58);this[_0x270e[116]](this[_0x270e[87]],_0xc0f8x58[_0x270e[68]],_0xc0f8x58[_0x270e[69]]);this[_0x270e[83]][_0x270e[85]][_0x270e[84]][_0x270e[117]][_0x270e[99]](this[_0x270e[83]],true);_0xc0f8x56[_0x270e[118]]()}else {mxVertexHandler[_0x270e[0]][_0x270e[105]][_0x270e[30]](this,arguments)}};_0xc0f8x54[_0x270e[0]][_0x270e[119]]=function(_0xc0f8x57,_0xc0f8x56){if(!_0xc0f8x56[_0x270e[106]]()&&this[_0x270e[107]]==_0xc0f8x53){this[_0x270e[120]]();this[_0x270e[121]]();_0xc0f8x56[_0x270e[118]]()}else {mxVertexHandler[_0x270e[0]][_0x270e[119]][_0x270e[30]](this,arguments)}};_0xc0f8x54[_0x270e[0]][_0x270e[101]]=function(_0xc0f8x4f){var _0xc0f8x5b=this[_0x270e[83]][_0x270e[123]][_0x270e[122]]();var _0xc0f8x5c=mxUtils[_0x270e[124]](_0xc0f8x5b);var _0xc0f8x5d=Math[_0x270e[125]](_0xc0f8x5c);var _0xc0f8x5e=Math[_0x270e[126]](_0xc0f8x5c);var _0xc0f8x34= new mxRectangle(this[_0x270e[83]][_0x270e[68]],this[_0x270e[83]][_0x270e[69]],this[_0x270e[83]][_0x270e[70]],this[_0x270e[83]][_0x270e[71]]);if(this[_0x270e[83]][_0x270e[123]][_0x270e[127]]()){var _0xc0f8x5f=(_0xc0f8x34[_0x270e[70]]-_0xc0f8x34[_0x270e[71]])/2;_0xc0f8x34[_0x270e[68]]+=_0xc0f8x5f;_0xc0f8x34[_0x270e[69]]-=_0xc0f8x5f;var _0xc0f8x23=_0xc0f8x34[_0x270e[70]];_0xc0f8x34[_0x270e[70]]=_0xc0f8x34[_0x270e[71]];_0xc0f8x34[_0x270e[71]]=_0xc0f8x23};var _0xc0f8x60=this[_0x270e[128]](_0xc0f8x34);if(this[_0x270e[83]][_0x270e[123]][_0x270e[129]]){_0xc0f8x60[_0x270e[68]]=2*_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x60[_0x270e[68]]};if(this[_0x270e[83]][_0x270e[123]][_0x270e[130]]){_0xc0f8x60[_0x270e[69]]=2*_0xc0f8x34[_0x270e[69]]+_0xc0f8x34[_0x270e[71]]-_0xc0f8x60[_0x270e[69]]};_0xc0f8x60=mxUtils[_0x270e[133]](_0xc0f8x60,_0xc0f8x5d,_0xc0f8x5e, new mxPoint(this[_0x270e[83]][_0x270e[131]](),this[_0x270e[83]][_0x270e[132]]()));return new mxRectangle(_0xc0f8x60[_0x270e[68]]-_0xc0f8x4f/2,_0xc0f8x60[_0x270e[69]]-_0xc0f8x4f/2,_0xc0f8x4f,_0xc0f8x4f)};_0xc0f8x54[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){return null};_0xc0f8x54[_0x270e[0]][_0x270e[115]]=function(_0xc0f8x58){};_0xc0f8x54[_0x270e[0]][_0x270e[110]]=function(_0xc0f8x58){_0xc0f8x58[_0x270e[68]]=Math[_0x270e[34]](this[_0x270e[83]][_0x270e[68]],Math[_0x270e[6]](this[_0x270e[83]][_0x270e[68]]+this[_0x270e[83]][_0x270e[70]],_0xc0f8x58[_0x270e[68]]));_0xc0f8x58[_0x270e[69]]=Math[_0x270e[34]](this[_0x270e[83]][_0x270e[69]],Math[_0x270e[6]](this[_0x270e[83]][_0x270e[69]]+this[_0x270e[83]][_0x270e[71]],_0xc0f8x58[_0x270e[69]]))};_0xc0f8x54[_0x270e[0]][_0x270e[120]]=function(){};function _0xc0f8x61(_0xc0f8x33){_0xc0f8x54[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x61,_0xc0f8x54);_0xc0f8x61[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];var _0xc0f8xb=Math[_0x270e[6]](_0xc0f8x34[_0x270e[70]],mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[14],60)*_0xc0f8x5a);var _0xc0f8xc=Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]],mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[15],20)*_0xc0f8x5a);var _0xc0f8xd=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[16],_0x270e[17]);var _0xc0f8x3=(_0xc0f8xd==_0x270e[18])?_0xc0f8x34[_0x270e[68]]+_0xc0f8xb:_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8xb;return new mxPoint(_0xc0f8x3,_0xc0f8x34[_0x270e[69]]+_0xc0f8xc)};_0xc0f8x61[_0x270e[0]][_0x270e[115]]=function(_0xc0f8x58){var _0xc0f8x5b=this[_0x270e[83]][_0x270e[123]][_0x270e[122]]();var _0xc0f8x5c=mxUtils[_0x270e[124]](_0xc0f8x5b);var _0xc0f8x5d=Math[_0x270e[125]](-_0xc0f8x5c);var _0xc0f8x5e=Math[_0x270e[126]](-_0xc0f8x5c);var _0xc0f8x34= new mxRectangle(this[_0x270e[83]][_0x270e[68]],this[_0x270e[83]][_0x270e[69]],this[_0x270e[83]][_0x270e[70]],this[_0x270e[83]][_0x270e[71]]);if(this[_0x270e[83]][_0x270e[123]][_0x270e[127]]()){var _0xc0f8x5f=(_0xc0f8x34[_0x270e[70]]-_0xc0f8x34[_0x270e[71]])/2;_0xc0f8x34[_0x270e[68]]+=_0xc0f8x5f;_0xc0f8x34[_0x270e[69]]-=_0xc0f8x5f;var _0xc0f8x23=_0xc0f8x34[_0x270e[70]];_0xc0f8x34[_0x270e[70]]=_0xc0f8x34[_0x270e[71]];_0xc0f8x34[_0x270e[71]]=_0xc0f8x23};var _0xc0f8x60= new mxPoint(_0xc0f8x58[_0x270e[68]],_0xc0f8x58[_0x270e[69]]);_0xc0f8x60=mxUtils[_0x270e[133]](_0xc0f8x60,_0xc0f8x5d,_0xc0f8x5e, new mxPoint(this[_0x270e[83]][_0x270e[131]](),this[_0x270e[83]][_0x270e[132]]()));if(this[_0x270e[83]][_0x270e[123]][_0x270e[129]]){_0xc0f8x60[_0x270e[68]]=2*_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x60[_0x270e[68]]};if(this[_0x270e[83]][_0x270e[123]][_0x270e[130]]){_0xc0f8x60[_0x270e[69]]=2*_0xc0f8x34[_0x270e[69]]+_0xc0f8x34[_0x270e[71]]-_0xc0f8x60[_0x270e[69]]};var _0xc0f8x62=this[_0x270e[134]](_0xc0f8x60,_0xc0f8x34);if(_0xc0f8x62!=null){if(this[_0x270e[83]][_0x270e[123]][_0x270e[129]]){_0xc0f8x62[_0x270e[68]]=2*_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x62[_0x270e[68]]};if(this[_0x270e[83]][_0x270e[123]][_0x270e[130]]){_0xc0f8x62[_0x270e[69]]=2*_0xc0f8x34[_0x270e[69]]+_0xc0f8x34[_0x270e[71]]-_0xc0f8x62[_0x270e[69]]};_0xc0f8x5d=Math[_0x270e[125]](_0xc0f8x5c);_0xc0f8x5e=Math[_0x270e[126]](_0xc0f8x5c);_0xc0f8x62=mxUtils[_0x270e[133]](_0xc0f8x62,_0xc0f8x5d,_0xc0f8x5e, new mxPoint(this[_0x270e[83]][_0x270e[131]](),this[_0x270e[83]][_0x270e[132]]()));_0xc0f8x58[_0x270e[68]]=_0xc0f8x62[_0x270e[68]];_0xc0f8x58[_0x270e[69]]=_0xc0f8x62[_0x270e[69]]}};_0xc0f8x61[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x60,_0xc0f8x34){var _0xc0f8xd=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[16],_0x270e[17]);var _0xc0f8xb=(_0xc0f8xd==_0x270e[18])?_0xc0f8x60[_0x270e[68]]-_0xc0f8x34[_0x270e[68]]:_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x60[_0x270e[68]];var _0xc0f8xc=_0xc0f8x60[_0x270e[69]]-_0xc0f8x34[_0x270e[69]];var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];this[_0x270e[83]][_0x270e[4]][_0x270e[14]]=Math[_0x270e[135]](Math[_0x270e[34]](1,_0xc0f8xb)/_0xc0f8x5a);this[_0x270e[83]][_0x270e[4]][_0x270e[15]]=Math[_0x270e[135]](Math[_0x270e[34]](1,_0xc0f8xc)/_0xc0f8x5a)};_0xc0f8x61[_0x270e[0]][_0x270e[120]]=function(){var _0xc0f8x63=this[_0x270e[84]][_0x270e[136]]();_0xc0f8x63[_0x270e[137]]();try{this[_0x270e[83]][_0x270e[85]][_0x270e[84]][_0x270e[139]](_0x270e[14],this[_0x270e[83]][_0x270e[4]][_0x270e[14]],[this[_0x270e[83]][_0x270e[138]]]);this[_0x270e[83]][_0x270e[85]][_0x270e[84]][_0x270e[139]](_0x270e[15],this[_0x270e[83]][_0x270e[4]][_0x270e[15]],[this[_0x270e[83]][_0x270e[138]]])}finally{_0xc0f8x63[_0x270e[140]]()}};function _0xc0f8x64(_0xc0f8x33){_0xc0f8x61[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x64,_0xc0f8x61);_0xc0f8x64[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];var _0xc0f8x65=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]/2,_0xc0f8x34[_0x270e[69]]+Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]],_0xc0f8x65*_0xc0f8x5a))};_0xc0f8x64[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x58,_0xc0f8x34){_0xc0f8x58[_0x270e[68]]=_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]/2;startSize=_0xc0f8x58[_0x270e[69]]-_0xc0f8x34[_0x270e[69]];var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];this[_0x270e[83]][_0x270e[4]][_0x270e[141]]=Math[_0x270e[135]](Math[_0x270e[34]](1,startSize)/_0xc0f8x5a);return _0xc0f8x58};_0xc0f8x64[_0x270e[0]][_0x270e[120]]=function(){this[_0x270e[83]][_0x270e[85]][_0x270e[84]][_0x270e[139]](_0x270e[141],this[_0x270e[83]][_0x270e[4]][_0x270e[141]],[this[_0x270e[83]][_0x270e[138]]])};function _0xc0f8x66(_0xc0f8x33){_0xc0f8x61[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x66,_0xc0f8x61);_0xc0f8x66[_0x270e[0]][_0x270e[142]]=20;_0xc0f8x66[_0x270e[0]][_0x270e[143]]=1;_0xc0f8x66[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];var _0xc0f8x67=Math[_0x270e[6]](_0xc0f8x34[_0x270e[70]],Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]],mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[2],this[_0x270e[142]])*_0xc0f8x5a/this[_0x270e[143]]));return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x67,_0xc0f8x34[_0x270e[69]]+_0xc0f8x67)};_0xc0f8x66[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x60,_0xc0f8x34){var _0xc0f8x4f=Math[_0x270e[34]](0,Math[_0x270e[6]](Math[_0x270e[6]](_0xc0f8x34[_0x270e[70]]/this[_0x270e[143]],_0xc0f8x60[_0x270e[68]]-_0xc0f8x34[_0x270e[68]]),Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]]/this[_0x270e[143]],_0xc0f8x60[_0x270e[69]]-_0xc0f8x34[_0x270e[69]])));var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];this[_0x270e[83]][_0x270e[4]][_0x270e[2]]=Math[_0x270e[135]](Math[_0x270e[34]](1,_0xc0f8x4f)/_0xc0f8x5a)*this[_0x270e[143]];return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x4f,_0xc0f8x34[_0x270e[69]]+_0xc0f8x4f)};_0xc0f8x66[_0x270e[0]][_0x270e[120]]=function(){this[_0x270e[83]][_0x270e[85]][_0x270e[84]][_0x270e[139]](_0x270e[2],this[_0x270e[83]][_0x270e[4]][_0x270e[2]],[this[_0x270e[83]][_0x270e[138]]])};function _0xc0f8x68(_0xc0f8x33){_0xc0f8x66[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x68,_0xc0f8x66);_0xc0f8x68[_0x270e[0]][_0x270e[142]]=30;_0xc0f8x68[_0x270e[0]][_0x270e[143]]=2;function _0xc0f8x69(_0xc0f8x33){_0xc0f8x66[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x69,_0xc0f8x66);_0xc0f8x69[_0x270e[0]][_0x270e[142]]=30;_0xc0f8x69[_0x270e[0]][_0x270e[143]]=1;_0xc0f8x69[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];var _0xc0f8x67=Math[_0x270e[6]](_0xc0f8x34[_0x270e[70]],Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]],mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[2],this[_0x270e[142]])*_0xc0f8x5a/this[_0x270e[143]]));return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x67,_0xc0f8x34[_0x270e[69]]+_0xc0f8x67)};_0xc0f8x69[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x60,_0xc0f8x34){var _0xc0f8x4f=Math[_0x270e[34]](0,Math[_0x270e[6]](Math[_0x270e[6]](_0xc0f8x34[_0x270e[70]]/this[_0x270e[143]],_0xc0f8x60[_0x270e[68]]-_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]),Math[_0x270e[6]](_0xc0f8x34[_0x270e[71]]/this[_0x270e[143]],_0xc0f8x60[_0x270e[69]]-_0xc0f8x34[_0x270e[69]])));var _0xc0f8x5a=this[_0x270e[84]][_0x270e[93]]()[_0x270e[113]];this[_0x270e[83]][_0x270e[4]][_0x270e[2]]=Math[_0x270e[135]](Math[_0x270e[34]](1,_0xc0f8x4f)/_0xc0f8x5a)*this[_0x270e[143]];return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]-_0xc0f8x4f,_0xc0f8x34[_0x270e[69]]+_0xc0f8x4f)};function _0xc0f8x6a(_0xc0f8x33){_0xc0f8x66[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x6a,_0xc0f8x66);_0xc0f8x6a[_0x270e[0]][_0x270e[142]]=0.2;_0xc0f8x6a[_0x270e[0]][_0x270e[143]]=1;_0xc0f8x6a[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x67=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[2],this[_0x270e[142]]);return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]*_0xc0f8x67,_0xc0f8x34[_0x270e[69]]+_0xc0f8x34[_0x270e[71]]/2)};_0xc0f8x6a[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x60,_0xc0f8x34){var _0xc0f8x4f=Math[_0x270e[6]](1,(_0xc0f8x60[_0x270e[68]]-_0xc0f8x34[_0x270e[68]])/_0xc0f8x34[_0x270e[70]]);this[_0x270e[83]][_0x270e[4]][_0x270e[2]]=_0xc0f8x4f;return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x4f*_0xc0f8x34[_0x270e[70]],_0xc0f8x34[_0x270e[69]]+_0xc0f8x34[_0x270e[71]]/2)};function _0xc0f8x6b(_0xc0f8x33){_0xc0f8x66[_0x270e[24]](this,_0xc0f8x33)}mxUtils[_0x270e[25]](_0xc0f8x6b,_0xc0f8x66);_0xc0f8x6b[_0x270e[0]][_0x270e[142]]=0.4;_0xc0f8x6b[_0x270e[0]][_0x270e[143]]=1;_0xc0f8x6b[_0x270e[0]][_0x270e[128]]=function(_0xc0f8x34){var _0xc0f8x67=mxUtils[_0x270e[5]](this[_0x270e[83]][_0x270e[4]],_0x270e[2],this[_0x270e[142]]);return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]/2,_0xc0f8x34[_0x270e[69]]+_0xc0f8x67*_0xc0f8x34[_0x270e[71]]/2)};_0xc0f8x6b[_0x270e[0]][_0x270e[134]]=function(_0xc0f8x60,_0xc0f8x34){var _0xc0f8x4f=Math[_0x270e[34]](0,Math[_0x270e[6]](1,((_0xc0f8x60[_0x270e[69]]-_0xc0f8x34[_0x270e[69]])/_0xc0f8x34[_0x270e[71]])*2));this[_0x270e[83]][_0x270e[4]][_0x270e[2]]=_0xc0f8x4f;return new mxPoint(_0xc0f8x34[_0x270e[68]]+_0xc0f8x34[_0x270e[70]]/2,_0xc0f8x34[_0x270e[69]]+_0xc0f8x4f*_0xc0f8x34[_0x270e[71]]/2)};var _0xc0f8x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0xc0f8x64,"\x66\x6F\x6C\x64\x65\x72":_0xc0f8x61,"\x63\x75\x62\x65":_0xc0f8x66,"\x63\x61\x72\x64":_0xc0f8x68,"\x6E\x6F\x74\x65":_0xc0f8x69,"\x73\x74\x65\x70":_0xc0f8x6a,"\x74\x61\x70\x65":_0xc0f8x6b};var _0xc0f8x6d=mxGraph[_0x270e[0]][_0x270e[144]];mxGraph[_0x270e[0]][_0x270e[144]]=function(_0xc0f8x33){if(_0xc0f8x33!=null){var _0xc0f8x6e=_0xc0f8x6c[_0xc0f8x33[_0x270e[4]][_0x270e[123]]];if(_0xc0f8x6e!=null){return new _0xc0f8x6e(_0xc0f8x33)}};return _0xc0f8x6d[_0x270e[30]](this,arguments)}};mxGraph[_0x270e[0]][_0x270e[145]]=function(_0xc0f8x6f,_0xc0f8x50){if(_0xc0f8x6f!=null&&_0xc0f8x6f[_0x270e[123]]!=null){if(_0xc0f8x6f[_0x270e[123]][_0x270e[146]]!=null){if(_0xc0f8x6f[_0x270e[123]][_0x270e[146]]!=null){return _0xc0f8x6f[_0x270e[123]][_0x270e[146]][_0x270e[147]]}}else {if(_0xc0f8x6f[_0x270e[123]][_0x270e[147]]!=null){return _0xc0f8x6f[_0x270e[123]][_0x270e[147]]}}};return null};mxRectangleShape[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];mxImageShape[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];mxSwimlane[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];_0xc0f8x14[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];_0xc0f8x9[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];_0xc0f8x10[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];_0xc0f8x1[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];_0xc0f8xa[_0x270e[0]][_0x270e[147]]=mxRectangleShape[_0x270e[0]][_0x270e[147]];mxCylinder[_0x270e[0]][_0x270e[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)];_0xc0f8x25[_0x270e[0]][_0x270e[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)];_0xc0f8x28[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[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)];_0xc0f8x11[_0x270e[0]][_0x270e[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)];_0xc0f8x13[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[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)];_0xc0f8x26[_0x270e[0]][_0x270e[147]]=[ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[147]]=mxEllipse[_0x270e[0]][_0x270e[147]];mxRhombus[_0x270e[0]][_0x270e[147]]=mxEllipse[_0x270e[0]][_0x270e[147]];mxTriangle[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[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[_0x270e[0]][_0x270e[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 00ea80e..2588cb2 100644 --- a/public/assets/plugins/jscripty/js/Sidebar.js +++ b/public/assets/plugins/jscripty/js/Sidebar.js @@ -1 +1 @@ -var _0x805b=["\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"];_0x805b[0];function Sidebar(_0x37f7x2,_0x37f7x3){this[_0x805b[1]]=_0x37f7x2;this[_0x805b[2]]=_0x37f7x3;this[_0x805b[3]]= new Object();this[_0x805b[4]]=true;this[_0x805b[5]]= new Graph(document[_0x805b[7]](_0x805b[6]),null,null,this[_0x805b[1]][_0x805b[9]][_0x805b[5]][_0x805b[8]]());this[_0x805b[5]][_0x805b[10]]=false;this[_0x805b[5]][_0x805b[11]]=false;this[_0x805b[5]][_0x805b[12]](false);this[_0x805b[5]][_0x805b[13]]=false;this[_0x805b[5]][_0x805b[14]](false);this[_0x805b[5]][_0x805b[15]](false);this[_0x805b[5]][_0x805b[2]][_0x805b[17]][_0x805b[16]]=_0x805b[18];this[_0x805b[5]][_0x805b[2]][_0x805b[17]][_0x805b[19]]=_0x805b[20];document[_0x805b[22]][_0x805b[21]](this[_0x805b[5]][_0x805b[2]]);if(!mxClient[_0x805b[23]]){mxEvent[_0x805b[26]](document,_0x805b[24],mxUtils[_0x805b[25]](this,function(){this[_0x805b[4]]=true}));mxEvent[_0x805b[26]](_0x37f7x3,_0x805b[27],mxUtils[_0x805b[25]](this,function(){this[_0x805b[4]]=true}));mxEvent[_0x805b[26]](document,_0x805b[28],mxUtils[_0x805b[25]](this,function(){this[_0x805b[4]]=false;this[_0x805b[29]]()}));mxEvent[_0x805b[26]](document,_0x805b[30],mxUtils[_0x805b[25]](this,function(_0x37f7x4){var _0x37f7x5=mxEvent[_0x805b[31]](_0x37f7x4);while(_0x37f7x5!=null){if(_0x37f7x5==this[_0x805b[32]]){return};_0x37f7x5=_0x37f7x5[_0x805b[33]]};this[_0x805b[29]]()}));mxEvent[_0x805b[26]](document,_0x805b[34],mxUtils[_0x805b[25]](this,function(_0x37f7x4){if(_0x37f7x4[_0x805b[35]]==null&&_0x37f7x4[_0x805b[36]]==null){this[_0x805b[29]]()}}))};this[_0x805b[37]](); new Image()[_0x805b[38]]=IMAGE_PATH+_0x805b[39]}Sidebar[_0x805b[40]][_0x805b[37]]=function(){var _0x37f7x6=STENCIL_PATH;console[_0x805b[41]](_0x37f7x6);this[_0x805b[51]](_0x805b[42],mxResources[_0x805b[44]](_0x805b[43]),_0x37f7x6+_0x805b[45],_0x805b[46],[_0x805b[47],_0x805b[48],_0x805b[49],_0x805b[50]],[mxResources[_0x805b[44]](_0x805b[47]),mxResources[_0x805b[44]](_0x805b[48]),mxResources[_0x805b[44]](_0x805b[49]),mxResources[_0x805b[44]](_0x805b[50])])};Sidebar[_0x805b[40]][_0x805b[52]]=!mxClient[_0x805b[23]];Sidebar[_0x805b[40]][_0x805b[53]]=16;Sidebar[_0x805b[40]][_0x805b[54]]=3;Sidebar[_0x805b[40]][_0x805b[55]]=300;Sidebar[_0x805b[40]][_0x805b[56]]=true;Sidebar[_0x805b[40]][_0x805b[57]]=STENCIL_PATH+_0x805b[58];Sidebar[_0x805b[40]][_0x805b[59]]=34;Sidebar[_0x805b[40]][_0x805b[60]]=34;Sidebar[_0x805b[40]][_0x805b[61]]=2;Sidebar[_0x805b[40]][_0x805b[62]]=9;Sidebar[_0x805b[40]][_0x805b[63]]=false;Sidebar[_0x805b[40]][_0x805b[64]]=false;Sidebar[_0x805b[40]][_0x805b[65]]=function(_0x37f7x7,_0x37f7x8,_0x37f7x9,_0x37f7xa){if(this[_0x805b[52]]&&this[_0x805b[4]]){if(this[_0x805b[32]]!=_0x37f7x7){if(this[_0x805b[66]]!=null){window[_0x805b[67]](this[_0x805b[66]]);this[_0x805b[66]]=null};var _0x37f7xb=mxUtils[_0x805b[25]](this,function(){if(this[_0x805b[68]]==null){this[_0x805b[68]]=document[_0x805b[7]](_0x805b[6]);this[_0x805b[68]][_0x805b[69]]=_0x805b[70];document[_0x805b[22]][_0x805b[21]](this[_0x805b[68]]);this[_0x805b[71]]= new Graph(this[_0x805b[68]],null,null,this[_0x805b[1]][_0x805b[9]][_0x805b[5]][_0x805b[8]]());this[_0x805b[71]][_0x805b[73]][_0x805b[72]](this[_0x805b[53]],this[_0x805b[53]]);this[_0x805b[71]][_0x805b[10]]=false;this[_0x805b[71]][_0x805b[11]]=false;this[_0x805b[71]][_0x805b[13]]=false;this[_0x805b[71]][_0x805b[14]](false);this[_0x805b[71]][_0x805b[12]](false);this[_0x805b[71]][_0x805b[15]](false);if(!mxClient[_0x805b[74]]){this[_0x805b[71]][_0x805b[73]][_0x805b[75]][_0x805b[17]][_0x805b[19]]=_0x805b[76]};this[_0x805b[77]]=mxUtils[_0x805b[78]](IMAGE_PATH+_0x805b[39]);this[_0x805b[77]][_0x805b[17]][_0x805b[19]]=_0x805b[20];this[_0x805b[77]][_0x805b[17]][_0x805b[79]]=_0x805b[80];this[_0x805b[77]][_0x805b[17]][_0x805b[81]]=_0x805b[82];document[_0x805b[22]][_0x805b[21]](this[_0x805b[77]])};this[_0x805b[68]][_0x805b[17]][_0x805b[83]]=_0x805b[84];this[_0x805b[71]][_0x805b[85]]=(_0x37f7xa==null||_0x37f7xa);this[_0x805b[71]][_0x805b[87]][_0x805b[86]]();this[_0x805b[71]][_0x805b[88]](_0x37f7x8);var _0x37f7xc=this[_0x805b[71]][_0x805b[89]]();var _0x37f7xd=_0x37f7xc[_0x805b[79]]+2*this[_0x805b[53]];var _0x37f7xe=_0x37f7xc[_0x805b[81]]+2*this[_0x805b[53]];if(mxClient[_0x805b[90]]){_0x37f7xd+=4;_0x37f7xe+=4;this[_0x805b[68]][_0x805b[17]][_0x805b[91]]=_0x805b[18]}else {this[_0x805b[68]][_0x805b[17]][_0x805b[91]]=_0x805b[92]};this[_0x805b[77]][_0x805b[17]][_0x805b[16]]=_0x805b[92];this[_0x805b[68]][_0x805b[17]][_0x805b[79]]=_0x37f7xd+_0x805b[93];if(this[_0x805b[64]]&&_0x37f7x9!=null&&_0x37f7x9[_0x805b[94]]>0){if(this[_0x805b[95]]==null){this[_0x805b[95]]=document[_0x805b[7]](_0x805b[6]);this[_0x805b[95]][_0x805b[17]][_0x805b[96]]=_0x805b[97];this[_0x805b[95]][_0x805b[17]][_0x805b[98]]=_0x805b[99];this[_0x805b[95]][_0x805b[17]][_0x805b[79]]=_0x805b[100];this[_0x805b[95]][_0x805b[17]][_0x805b[91]]=_0x805b[18];if(mxClient[_0x805b[74]]){this[_0x805b[95]][_0x805b[17]][_0x805b[101]]=_0x805b[102]}else {this[_0x805b[95]][_0x805b[17]][_0x805b[19]]=_0x805b[20];this[_0x805b[95]][_0x805b[17]][_0x805b[101]]=_0x805b[103]};this[_0x805b[68]][_0x805b[21]](this[_0x805b[95]])}else {this[_0x805b[95]][_0x805b[104]]=_0x805b[105]};this[_0x805b[95]][_0x805b[17]][_0x805b[83]]=_0x805b[105];mxUtils[_0x805b[106]](this[_0x805b[95]],_0x37f7x9);var _0x37f7xf=this[_0x805b[95]][_0x805b[107]]+10;_0x37f7xe+=_0x37f7xf;if(mxClient[_0x805b[74]]){this[_0x805b[95]][_0x805b[17]][_0x805b[108]]=(-_0x37f7xf)+_0x805b[93]}else {_0x37f7xe-=6;this[_0x805b[95]][_0x805b[17]][_0x805b[109]]=(_0x37f7xe-_0x37f7xf)+_0x805b[93]}}else {if(this[_0x805b[95]]!=null&&this[_0x805b[95]][_0x805b[33]]!=null){this[_0x805b[95]][_0x805b[17]][_0x805b[83]]=_0x805b[110]}};this[_0x805b[68]][_0x805b[17]][_0x805b[81]]=_0x37f7xe+_0x805b[93];var _0x37f7x10=-Math[_0x805b[112]](0,_0x37f7xc[_0x805b[111]]-this[_0x805b[53]]);var _0x37f7x11=-Math[_0x805b[112]](0,_0x37f7xc[_0x805b[113]]-this[_0x805b[53]]);var _0x37f7x12=this[_0x805b[2]][_0x805b[114]]+this[_0x805b[1]][_0x805b[115]]+3;var _0x37f7x13=Math[_0x805b[118]](0,(this[_0x805b[2]][_0x805b[116]]+_0x37f7x7[_0x805b[116]]-this[_0x805b[2]][_0x805b[117]]-_0x37f7xe/2+16));if(mxClient[_0x805b[74]]){this[_0x805b[71]][_0x805b[73]][_0x805b[75]][_0x805b[123]](_0x805b[119],_0x805b[120]+_0x37f7x10+_0x805b[121]+_0x37f7x11+_0x805b[122])}else {this[_0x805b[71]][_0x805b[73]][_0x805b[125]][_0x805b[17]][_0x805b[124]]=_0x37f7x10+_0x805b[93];this[_0x805b[71]][_0x805b[73]][_0x805b[125]][_0x805b[17]][_0x805b[109]]=_0x37f7x11+_0x805b[93]};_0x37f7x13+=90;this[_0x805b[68]][_0x805b[17]][_0x805b[19]]=_0x805b[20];this[_0x805b[68]][_0x805b[17]][_0x805b[124]]=_0x37f7x12+_0x805b[93];this[_0x805b[68]][_0x805b[17]][_0x805b[109]]=_0x37f7x13+_0x805b[93];this[_0x805b[77]][_0x805b[17]][_0x805b[124]]=(_0x37f7x12-13)+_0x805b[93];this[_0x805b[77]][_0x805b[17]][_0x805b[109]]=(_0x37f7x13+_0x37f7xe/2-13)+_0x805b[93]});if(this[_0x805b[68]]!=null&&this[_0x805b[68]][_0x805b[17]][_0x805b[83]]!=_0x805b[110]){_0x37f7xb()}else {this[_0x805b[66]]=window[_0x805b[126]](_0x37f7xb,this[_0x805b[55]])};this[_0x805b[32]]=_0x37f7x7}}};Sidebar[_0x805b[40]][_0x805b[29]]=function(){if(this[_0x805b[66]]!=null){window[_0x805b[67]](this[_0x805b[66]]);this[_0x805b[66]]=null};if(this[_0x805b[68]]!=null){this[_0x805b[68]][_0x805b[17]][_0x805b[83]]=_0x805b[110];this[_0x805b[77]][_0x805b[17]][_0x805b[16]]=_0x805b[18];this[_0x805b[32]]=null}};Sidebar[_0x805b[40]][_0x805b[127]]=function(_0x37f7x14){var _0x37f7x7=document[_0x805b[7]](_0x805b[128]);_0x37f7x7[_0x805b[123]](_0x805b[129],_0x805b[130]);_0x37f7x7[_0x805b[69]]=_0x805b[131];mxUtils[_0x805b[106]](_0x37f7x7,_0x37f7x14);return _0x37f7x7};Sidebar[_0x805b[40]][_0x805b[132]]=function(_0x37f7x8,_0x37f7xd,_0x37f7xe,_0x37f7x15,_0x37f7x9,_0x37f7xa){this[_0x805b[5]][_0x805b[85]]=(_0x37f7xa==null||_0x37f7xa);this[_0x805b[5]][_0x805b[73]][_0x805b[133]](1,0,0);this[_0x805b[5]][_0x805b[88]](_0x37f7x8);var _0x37f7xc=this[_0x805b[5]][_0x805b[89]]();var _0x37f7x16=this[_0x805b[54]];var _0x37f7x17=Math[_0x805b[112]]((_0x37f7xd-2)/(_0x37f7xc[_0x805b[79]]-_0x37f7xc[_0x805b[111]]+_0x37f7x16),(_0x37f7xe-2)/(_0x37f7xc[_0x805b[81]]-_0x37f7xc[_0x805b[113]]+_0x37f7x16));var _0x37f7x10=-Math[_0x805b[112]](_0x37f7xc[_0x805b[111]],0);var _0x37f7x11=-Math[_0x805b[112]](_0x37f7xc[_0x805b[113]],0);this[_0x805b[5]][_0x805b[73]][_0x805b[133]](_0x37f7x17,_0x37f7x10,_0x37f7x11);_0x37f7xc=this[_0x805b[5]][_0x805b[89]]();var _0x37f7x18=Math[_0x805b[118]](0,Math[_0x805b[134]]((_0x37f7xd-_0x37f7xc[_0x805b[79]]-_0x37f7xc[_0x805b[111]])/2));var _0x37f7xf=Math[_0x805b[118]](0,Math[_0x805b[134]]((_0x37f7xe-_0x37f7xc[_0x805b[81]]-_0x37f7xc[_0x805b[113]])/2));var _0x37f7x19=null;if(this[_0x805b[5]][_0x805b[135]]==mxConstants[_0x805b[136]]&&!mxClient[_0x805b[137]]){_0x37f7x19=this[_0x805b[5]][_0x805b[73]][_0x805b[140]]()[_0x805b[139]][_0x805b[138]](true)}else {_0x37f7x19=this[_0x805b[5]][_0x805b[2]][_0x805b[138]](false);_0x37f7x19[_0x805b[104]]=this[_0x805b[5]][_0x805b[2]][_0x805b[104]]};this[_0x805b[5]][_0x805b[141]]()[_0x805b[86]]();if(mxClient[_0x805b[142]]){_0x37f7x15[_0x805b[17]][_0x805b[143]]=_0x805b[144]+this[_0x805b[1]][_0x805b[9]][_0x805b[145]]+_0x805b[122]};var _0x37f7x1a=3;_0x37f7x19[_0x805b[17]][_0x805b[19]]=_0x805b[76];_0x37f7x19[_0x805b[17]][_0x805b[91]]=_0x805b[18];_0x37f7x19[_0x805b[17]][_0x805b[146]]=_0x805b[147];_0x37f7x19[_0x805b[17]][_0x805b[124]]=(_0x37f7x18+_0x37f7x1a)+_0x805b[93];_0x37f7x19[_0x805b[17]][_0x805b[109]]=(_0x37f7xf+_0x37f7x1a)+_0x805b[93];_0x37f7x19[_0x805b[17]][_0x805b[79]]=_0x37f7xd+_0x805b[93];_0x37f7x19[_0x805b[17]][_0x805b[81]]=_0x37f7xe+_0x805b[93];_0x37f7x19[_0x805b[17]][_0x805b[16]]=_0x805b[105];_0x37f7x19[_0x805b[17]][_0x805b[148]]=_0x805b[105];_0x37f7x19[_0x805b[17]][_0x805b[149]]=_0x805b[105];_0x37f7x15[_0x805b[21]](_0x37f7x19);if(this[_0x805b[63]]&&_0x37f7x9!=null){var _0x37f7x1b=(mxClient[_0x805b[90]])?2*this[_0x805b[61]]+2:0;_0x37f7x15[_0x805b[17]][_0x805b[81]]=(this[_0x805b[60]]+_0x37f7x1b+this[_0x805b[62]]+8)+_0x805b[93];var _0x37f7x1c=document[_0x805b[7]](_0x805b[6]);_0x37f7x1c[_0x805b[17]][_0x805b[150]]=this[_0x805b[62]]+_0x805b[93];_0x37f7x1c[_0x805b[17]][_0x805b[98]]=_0x805b[99];_0x37f7x1c[_0x805b[17]][_0x805b[151]]=_0x805b[152];if(mxClient[_0x805b[153]]){_0x37f7x1c[_0x805b[17]][_0x805b[81]]=(this[_0x805b[62]]+12)+_0x805b[93]};_0x37f7x1c[_0x805b[17]][_0x805b[101]]=_0x805b[154];mxUtils[_0x805b[106]](_0x37f7x1c,_0x37f7x9);_0x37f7x15[_0x805b[21]](_0x37f7x1c)}};Sidebar[_0x805b[40]][_0x805b[155]]=function(_0x37f7x8,_0x37f7x9,_0x37f7xa){var _0x37f7x7=document[_0x805b[7]](_0x805b[128]);_0x37f7x7[_0x805b[123]](_0x805b[129],_0x805b[130]);_0x37f7x7[_0x805b[69]]=_0x805b[156];_0x37f7x7[_0x805b[17]][_0x805b[91]]=_0x805b[18];var _0x37f7x1b=(mxClient[_0x805b[90]])?8+2*this[_0x805b[61]]:6;_0x37f7x7[_0x805b[17]][_0x805b[79]]=(this[_0x805b[59]]+_0x37f7x1b)+_0x805b[93];_0x37f7x7[_0x805b[17]][_0x805b[81]]=(this[_0x805b[60]]+_0x37f7x1b)+_0x805b[93];_0x37f7x7[_0x805b[17]][_0x805b[157]]=this[_0x805b[61]]+_0x805b[93];mxEvent[_0x805b[26]](_0x37f7x7,_0x805b[158],function(_0x37f7x4){mxEvent[_0x805b[159]](_0x37f7x4)});this[_0x805b[132]](_0x37f7x8,this[_0x805b[59]],this[_0x805b[60]],_0x37f7x7,_0x37f7x9,_0x37f7xa);return _0x37f7x7};Sidebar[_0x805b[40]][_0x805b[160]]=function(_0x37f7x8,_0x37f7x1d){return function(_0x37f7x1e,_0x37f7x4,_0x37f7x1f,_0x37f7x20,_0x37f7x21){if(_0x37f7x1e[_0x805b[161]]()){_0x37f7x8=_0x37f7x1e[_0x805b[162]](_0x37f7x8);if(_0x37f7x8[_0x805b[94]]>0){var _0x37f7x22=(_0x37f7x1f!=null)?_0x37f7x1e[_0x805b[163]](_0x37f7x1f,_0x37f7x8,_0x37f7x4):false;var _0x37f7x23=null;if(_0x37f7x1f!=null&& !_0x37f7x22){_0x37f7x1f=null};if(_0x37f7x1d&&_0x37f7x1e[_0x805b[164]]()&&_0x37f7x1e[_0x805b[165]](_0x37f7x1f,_0x37f7x8,_0x37f7x4)){_0x37f7x1e[_0x805b[166]](_0x37f7x1f,_0x37f7x8,null,_0x37f7x20,_0x37f7x21);_0x37f7x23=_0x37f7x8}else {if(_0x37f7x8[_0x805b[94]]>0){_0x37f7x23=_0x37f7x1e[_0x805b[167]](_0x37f7x8,_0x37f7x20,_0x37f7x21,_0x37f7x1f)}};if(_0x37f7x23!=null&&_0x37f7x23[_0x805b[94]]>0){_0x37f7x1e[_0x805b[168]](_0x37f7x23[0]);_0x37f7x1e[_0x805b[169]](_0x37f7x23)}}}}};Sidebar[_0x805b[40]][_0x805b[170]]=function(_0x37f7xd,_0x37f7xe){var _0x37f7x7=document[_0x805b[7]](_0x805b[6]);_0x37f7x7[_0x805b[17]][_0x805b[171]]=_0x805b[172];_0x37f7x7[_0x805b[17]][_0x805b[79]]=_0x37f7xd+_0x805b[93];_0x37f7x7[_0x805b[17]][_0x805b[81]]=_0x37f7xe+_0x805b[93];return _0x37f7x7};Sidebar[_0x805b[40]][_0x805b[173]]=function(_0x37f7x7,_0x37f7x24,_0x37f7x25){var _0x37f7x26=mxUtils[_0x805b[175]](_0x37f7x7,this[_0x805b[1]][_0x805b[9]][_0x805b[5]],_0x37f7x24,_0x37f7x25,0,0,this[_0x805b[1]][_0x805b[9]][_0x805b[5]][_0x805b[174]],true,true);_0x37f7x26[_0x805b[176]]=function(_0x37f7x1e,_0x37f7x20,_0x37f7x21){var _0x37f7x1f=mxDragSource[_0x805b[40]][_0x805b[176]][_0x805b[177]](this,arguments);if(!_0x37f7x1e[_0x805b[178]](_0x37f7x1f)){_0x37f7x1f=null};return _0x37f7x1f};return _0x37f7x26};Sidebar[_0x805b[40]][_0x805b[179]]=function(_0x37f7x7,_0x37f7x27){var _0x37f7x1e=this[_0x805b[1]][_0x805b[9]][_0x805b[5]];var _0x37f7x28=null;mxEvent[_0x805b[182]](_0x37f7x7,function(_0x37f7x4){_0x37f7x28= new mxPoint(mxEvent[_0x805b[180]](_0x37f7x4),mxEvent[_0x805b[181]](_0x37f7x4))});var _0x37f7x29=_0x37f7x27[_0x805b[183]];_0x37f7x27[_0x805b[183]]=function(_0x37f7x4){if(!mxEvent[_0x805b[184]](_0x37f7x4)&&this[_0x805b[185]]==null&&_0x37f7x28!=null){var _0x37f7x2a=_0x37f7x1e[_0x805b[186]];if(Math[_0x805b[187]](_0x37f7x28[_0x805b[111]]-mxEvent[_0x805b[180]](_0x37f7x4))<=_0x37f7x2a&&Math[_0x805b[187]](_0x37f7x28[_0x805b[113]]-mxEvent[_0x805b[181]](_0x37f7x4))<=_0x37f7x2a){var _0x37f7x2b=_0x37f7x1e[_0x805b[188]]();_0x37f7x27[_0x805b[189]](_0x37f7x1e,_0x37f7x4,null,_0x37f7x2b,_0x37f7x2b)}};_0x37f7x29[_0x805b[177]](this,arguments);_0x37f7x28=null}};Sidebar[_0x805b[40]][_0x805b[190]]=function(_0x37f7x2c,_0x37f7x14,_0x37f7x2d,_0x37f7x2e){var _0x37f7x2f=mxUtils[_0x805b[190]]();var _0x37f7x19=_0x37f7x2f[_0x805b[7]](_0x37f7x2c);_0x37f7x19[_0x805b[123]](_0x805b[191],_0x37f7x14);_0x37f7x2d[_0x805b[192]](function(_0x37f7x30,_0x37f7x31){_0x37f7x19[_0x805b[123]](_0x37f7x30,_0x37f7x2e[_0x37f7x31]?_0x37f7x2e[_0x37f7x31]:_0x805b[105])});return _0x37f7x19};Sidebar[_0x805b[40]][_0x805b[193]]=function(_0x37f7x32,_0x37f7xd,_0x37f7xe,_0x37f7x33,_0x37f7x9,_0x37f7xa){var _0x37f7x2d=[];var _0x37f7x2e=[];switch(_0x37f7x33){case _0x805b[47]:_0x37f7x2d=[_0x805b[194],_0x805b[195],_0x805b[196]];_0x37f7x2e=[_0x805b[197],_0x805b[105],_0x805b[198]];break;case _0x805b[50]:_0x37f7x2d=[_0x805b[194],_0x805b[195]];_0x37f7x2e=[_0x805b[197],_0x805b[105]];break;case _0x805b[48]:_0x37f7x2d=[_0x805b[194],_0x805b[48],_0x805b[199]];_0x37f7x2e=[_0x805b[197],_0x805b[105]];break;case _0x805b[49]:_0x37f7x2d=[_0x805b[194],_0x805b[48],_0x805b[200]];_0x37f7x2e=[_0x805b[197],_0x805b[105]];break;default:_0x37f7x2d=[];_0x37f7x2e=[];break};var _0x37f7x19=this[_0x805b[190]](_0x37f7x33,_0x37f7x9,_0x37f7x2d,_0x37f7x2e);var _0x37f7x8=[ new mxCell(_0x37f7x19, new mxGeometry(0,0,_0x37f7xd,_0x37f7xe),_0x37f7x32)];_0x37f7x8[0][_0x805b[201]]=true;return this[_0x805b[202]](_0x37f7x8,_0x37f7xd,_0x37f7xe,_0x37f7x9,_0x37f7xa)};Sidebar[_0x805b[40]][_0x805b[202]]=function(_0x37f7x8,_0x37f7xd,_0x37f7xe,_0x37f7x9,_0x37f7xa){var _0x37f7x7=this[_0x805b[155]](_0x37f7x8,_0x37f7x9,_0x37f7xa);var _0x37f7x27=this[_0x805b[173]](_0x37f7x7,this[_0x805b[160]](_0x37f7x8,true),this[_0x805b[170]](_0x37f7xd,_0x37f7xe));this[_0x805b[179]](_0x37f7x7,_0x37f7x27);_0x37f7x27[_0x805b[203]]=mxUtils[_0x805b[25]](this,function(){return this[_0x805b[1]][_0x805b[9]][_0x805b[5]][_0x805b[205]][_0x805b[204]]});if(!touchStyle){mxEvent[_0x805b[26]](_0x37f7x7,_0x805b[30],mxUtils[_0x805b[25]](this,function(_0x37f7x4){this[_0x805b[65]](_0x37f7x7,_0x37f7x8,_0x37f7x9,_0x37f7xa)}))};return _0x37f7x7};Sidebar[_0x805b[40]][_0x805b[206]]=function(_0x37f7x32,_0x37f7xd,_0x37f7xe,_0x37f7x33,_0x37f7x9,_0x37f7xa){var _0x37f7x8=[ new mxCell((_0x37f7x33!=null)?_0x37f7x33:_0x805b[105], new mxGeometry(0,0,_0x37f7xd,_0x37f7xe),_0x37f7x32)];_0x37f7x8[0][_0x805b[208]][_0x805b[207]]( new mxPoint(0,_0x37f7xe),true);_0x37f7x8[0][_0x805b[208]][_0x805b[207]]( new mxPoint(_0x37f7xd,0),false);_0x37f7x8[0][_0x805b[208]][_0x805b[76]]=true;_0x37f7x8[0][_0x805b[209]]=true;return this[_0x805b[210]](_0x37f7x8,_0x37f7xd,_0x37f7xe,_0x37f7x9,_0x37f7xa)};Sidebar[_0x805b[40]][_0x805b[210]]=function(_0x37f7x8,_0x37f7xd,_0x37f7xe,_0x37f7x9,_0x37f7xa){var _0x37f7x7=this[_0x805b[155]](_0x37f7x8,_0x37f7x9,_0x37f7xa);this[_0x805b[173]](_0x37f7x7,this[_0x805b[160]](_0x37f7x8,false),this[_0x805b[170]](_0x37f7xd,_0x37f7xe));var _0x37f7x1e=this[_0x805b[1]][_0x805b[9]][_0x805b[5]];mxEvent[_0x805b[26]](_0x37f7x7,_0x805b[158],mxUtils[_0x805b[25]](this,function(_0x37f7x4){if(this[_0x805b[56]]){_0x37f7x1e[_0x805b[211]](_0x37f7x8[0])};_0x37f7x7[_0x805b[17]][_0x805b[212]]=_0x805b[213];window[_0x805b[126]](function(){_0x37f7x7[_0x805b[17]][_0x805b[212]]=_0x805b[105]},300);mxEvent[_0x805b[159]](_0x37f7x4)}));touchStyle=false;if(!touchStyle){mxEvent[_0x805b[26]](_0x37f7x7,_0x805b[30],mxUtils[_0x805b[25]](this,function(_0x37f7x4){this[_0x805b[65]](_0x37f7x7,_0x37f7x8,_0x37f7x9,_0x37f7xa)}))};return _0x37f7x7};Sidebar[_0x805b[40]][_0x805b[214]]=function(_0x37f7x34,_0x37f7x9,_0x37f7x35,_0x37f7x36){var _0x37f7x7=this[_0x805b[127]](_0x37f7x9);this[_0x805b[2]][_0x805b[21]](_0x37f7x7);var _0x37f7x1c=document[_0x805b[7]](_0x805b[6]);_0x37f7x1c[_0x805b[69]]=_0x805b[215];if(_0x37f7x35){_0x37f7x36(_0x37f7x1c);_0x37f7x36=null}else {_0x37f7x1c[_0x805b[17]][_0x805b[83]]=_0x805b[110]};this[_0x805b[216]](_0x37f7x7,_0x37f7x1c,_0x37f7x36);var _0x37f7x37=document[_0x805b[7]](_0x805b[6]);_0x37f7x37[_0x805b[21]](_0x37f7x1c);this[_0x805b[2]][_0x805b[21]](_0x37f7x37);if(_0x37f7x34!=null){this[_0x805b[3]][_0x37f7x34]=[_0x37f7x7,_0x37f7x37]}};Sidebar[_0x805b[40]][_0x805b[216]]=function(_0x37f7x9,_0x37f7x38,_0x37f7x39){var _0x37f7x3a=false;_0x37f7x9[_0x805b[17]][_0x805b[143]]=(_0x37f7x38[_0x805b[17]][_0x805b[83]]==_0x805b[110])?_0x805b[144]+IMAGE_PATH+_0x805b[217]:_0x805b[144]+IMAGE_PATH+_0x805b[218];_0x37f7x9[_0x805b[17]][_0x805b[219]]=_0x805b[220];_0x37f7x9[_0x805b[17]][_0x805b[221]]=_0x805b[222];mxEvent[_0x805b[26]](_0x37f7x9,_0x805b[158],function(_0x37f7x4){if(_0x37f7x38[_0x805b[17]][_0x805b[83]]==_0x805b[110]){if(!_0x37f7x3a){_0x37f7x3a=true;if(_0x37f7x39!=null){_0x37f7x9[_0x805b[17]][_0x805b[146]]=_0x805b[223];window[_0x805b[126]](function(){_0x37f7x39(_0x37f7x38);_0x37f7x9[_0x805b[17]][_0x805b[146]]=_0x805b[105]},0)}};_0x37f7x9[_0x805b[17]][_0x805b[143]]=_0x805b[144]+IMAGE_PATH+_0x805b[218];_0x37f7x38[_0x805b[17]][_0x805b[83]]=_0x805b[84]}else {_0x37f7x9[_0x805b[17]][_0x805b[143]]=_0x805b[144]+IMAGE_PATH+_0x805b[217];_0x37f7x38[_0x805b[17]][_0x805b[83]]=_0x805b[110]};mxEvent[_0x805b[159]](_0x37f7x4)})};Sidebar[_0x805b[40]][_0x805b[224]]=function(_0x37f7x34){var _0x37f7x3b=this[_0x805b[3]][_0x37f7x34];if(_0x37f7x3b!=null){this[_0x805b[3]][_0x37f7x34]=null;for(var _0x37f7x3c=0;_0x37f7x3c<_0x37f7x3b[_0x805b[94]];_0x37f7x3c++){this[_0x805b[2]][_0x805b[225]](_0x37f7x3b[_0x37f7x3c])};return true};return false};Sidebar[_0x805b[40]][_0x805b[51]]=function(_0x37f7x34,_0x37f7x9,_0x37f7x3d,_0x37f7x3e,_0x37f7x3f,_0x37f7x40){this[_0x805b[214]](_0x37f7x34,_0x37f7x9,(_0x37f7x34===_0x805b[42]),mxUtils[_0x805b[25]](this,function(_0x37f7x38){var _0x37f7x41=_0x37f7x40!=null;for(var _0x37f7x3c=0;_0x37f7x3c<_0x37f7x3f[_0x805b[94]];_0x37f7x3c++){var _0x37f7x42=_0x37f7x3d+_0x37f7x3f[_0x37f7x3c]+_0x37f7x3e;_0x37f7x38[_0x805b[21]](this[_0x805b[193]](_0x805b[226]+_0x37f7x42,80,80,_0x37f7x3f[_0x37f7x3c],(_0x37f7x41)?_0x37f7x40[_0x37f7x3c]:null,_0x37f7x41))}}))} \ No newline at end of file +var _0xcac7=["\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"];_0xcac7[0];function Sidebar(_0x77efx2,_0x77efx3){this[_0xcac7[1]]=_0x77efx2;this[_0xcac7[2]]=_0x77efx3;this[_0xcac7[3]]= new Object();this[_0xcac7[4]]=true;this[_0xcac7[5]]= new Graph(document[_0xcac7[7]](_0xcac7[6]),null,null,this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]][_0xcac7[8]]());this[_0xcac7[5]][_0xcac7[10]]=false;this[_0xcac7[5]][_0xcac7[11]]=false;this[_0xcac7[5]][_0xcac7[12]](false);this[_0xcac7[5]][_0xcac7[13]]=false;this[_0xcac7[5]][_0xcac7[14]](false);this[_0xcac7[5]][_0xcac7[15]](false);this[_0xcac7[5]][_0xcac7[2]][_0xcac7[17]][_0xcac7[16]]=_0xcac7[18];this[_0xcac7[5]][_0xcac7[2]][_0xcac7[17]][_0xcac7[19]]=_0xcac7[20];document[_0xcac7[22]][_0xcac7[21]](this[_0xcac7[5]][_0xcac7[2]]);if(!mxClient[_0xcac7[23]]){mxEvent[_0xcac7[26]](document,_0xcac7[24],mxUtils[_0xcac7[25]](this,function(){this[_0xcac7[4]]=true}));mxEvent[_0xcac7[26]](_0x77efx3,_0xcac7[27],mxUtils[_0xcac7[25]](this,function(){this[_0xcac7[4]]=true}));mxEvent[_0xcac7[26]](document,_0xcac7[28],mxUtils[_0xcac7[25]](this,function(){this[_0xcac7[4]]=false;this[_0xcac7[29]]()}));mxEvent[_0xcac7[26]](document,_0xcac7[30],mxUtils[_0xcac7[25]](this,function(_0x77efx4){var _0x77efx5=mxEvent[_0xcac7[31]](_0x77efx4);while(_0x77efx5!=null){if(_0x77efx5==this[_0xcac7[32]]){return};_0x77efx5=_0x77efx5[_0xcac7[33]]};this[_0xcac7[29]]()}));mxEvent[_0xcac7[26]](document,_0xcac7[34],mxUtils[_0xcac7[25]](this,function(_0x77efx4){if(_0x77efx4[_0xcac7[35]]==null&&_0x77efx4[_0xcac7[36]]==null){this[_0xcac7[29]]()}}))};this[_0xcac7[37]](); new Image()[_0xcac7[38]]=IMAGE_PATH+_0xcac7[39]}Sidebar[_0xcac7[40]][_0xcac7[37]]=function(){var _0x77efx6=STENCIL_PATH;console[_0xcac7[41]](_0x77efx6);this[_0xcac7[51]](_0xcac7[42],mxResources[_0xcac7[44]](_0xcac7[43]),_0x77efx6+_0xcac7[45],_0xcac7[46],[_0xcac7[47],_0xcac7[48],_0xcac7[49],_0xcac7[50]],[mxResources[_0xcac7[44]](_0xcac7[47]),mxResources[_0xcac7[44]](_0xcac7[48]),mxResources[_0xcac7[44]](_0xcac7[49]),mxResources[_0xcac7[44]](_0xcac7[50])])};Sidebar[_0xcac7[40]][_0xcac7[52]]=!mxClient[_0xcac7[23]];Sidebar[_0xcac7[40]][_0xcac7[53]]=16;Sidebar[_0xcac7[40]][_0xcac7[54]]=3;Sidebar[_0xcac7[40]][_0xcac7[55]]=300;Sidebar[_0xcac7[40]][_0xcac7[56]]=true;Sidebar[_0xcac7[40]][_0xcac7[57]]=STENCIL_PATH+_0xcac7[58];Sidebar[_0xcac7[40]][_0xcac7[59]]=34;Sidebar[_0xcac7[40]][_0xcac7[60]]=34;Sidebar[_0xcac7[40]][_0xcac7[61]]=2;Sidebar[_0xcac7[40]][_0xcac7[62]]=9;Sidebar[_0xcac7[40]][_0xcac7[63]]=false;Sidebar[_0xcac7[40]][_0xcac7[64]]=false;Sidebar[_0xcac7[40]][_0xcac7[65]]=function(_0x77efx7,_0x77efx8,_0x77efx9,_0x77efxa){if(this[_0xcac7[52]]&&this[_0xcac7[4]]){if(this[_0xcac7[32]]!=_0x77efx7){if(this[_0xcac7[66]]!=null){window[_0xcac7[67]](this[_0xcac7[66]]);this[_0xcac7[66]]=null};var _0x77efxb=mxUtils[_0xcac7[25]](this,function(){if(this[_0xcac7[68]]==null){this[_0xcac7[68]]=document[_0xcac7[7]](_0xcac7[6]);this[_0xcac7[68]][_0xcac7[69]]=_0xcac7[70];document[_0xcac7[22]][_0xcac7[21]](this[_0xcac7[68]]);this[_0xcac7[71]]= new Graph(this[_0xcac7[68]],null,null,this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]][_0xcac7[8]]());this[_0xcac7[71]][_0xcac7[73]][_0xcac7[72]](this[_0xcac7[53]],this[_0xcac7[53]]);this[_0xcac7[71]][_0xcac7[10]]=false;this[_0xcac7[71]][_0xcac7[11]]=false;this[_0xcac7[71]][_0xcac7[13]]=false;this[_0xcac7[71]][_0xcac7[14]](false);this[_0xcac7[71]][_0xcac7[12]](false);this[_0xcac7[71]][_0xcac7[15]](false);if(!mxClient[_0xcac7[74]]){this[_0xcac7[71]][_0xcac7[73]][_0xcac7[75]][_0xcac7[17]][_0xcac7[19]]=_0xcac7[76]};this[_0xcac7[77]]=mxUtils[_0xcac7[78]](IMAGE_PATH+_0xcac7[39]);this[_0xcac7[77]][_0xcac7[17]][_0xcac7[19]]=_0xcac7[20];this[_0xcac7[77]][_0xcac7[17]][_0xcac7[79]]=_0xcac7[80];this[_0xcac7[77]][_0xcac7[17]][_0xcac7[81]]=_0xcac7[82];document[_0xcac7[22]][_0xcac7[21]](this[_0xcac7[77]])};this[_0xcac7[68]][_0xcac7[17]][_0xcac7[83]]=_0xcac7[84];this[_0xcac7[71]][_0xcac7[85]]=(_0x77efxa==null||_0x77efxa);this[_0xcac7[71]][_0xcac7[87]][_0xcac7[86]]();this[_0xcac7[71]][_0xcac7[88]](_0x77efx8);var _0x77efxc=this[_0xcac7[71]][_0xcac7[89]]();var _0x77efxd=_0x77efxc[_0xcac7[79]]+2*this[_0xcac7[53]];var _0x77efxe=_0x77efxc[_0xcac7[81]]+2*this[_0xcac7[53]];if(mxClient[_0xcac7[90]]){_0x77efxd+=4;_0x77efxe+=4;this[_0xcac7[68]][_0xcac7[17]][_0xcac7[91]]=_0xcac7[18]}else {this[_0xcac7[68]][_0xcac7[17]][_0xcac7[91]]=_0xcac7[92]};this[_0xcac7[77]][_0xcac7[17]][_0xcac7[16]]=_0xcac7[92];this[_0xcac7[68]][_0xcac7[17]][_0xcac7[79]]=_0x77efxd+_0xcac7[93];if(this[_0xcac7[64]]&&_0x77efx9!=null&&_0x77efx9[_0xcac7[94]]>0){if(this[_0xcac7[95]]==null){this[_0xcac7[95]]=document[_0xcac7[7]](_0xcac7[6]);this[_0xcac7[95]][_0xcac7[17]][_0xcac7[96]]=_0xcac7[97];this[_0xcac7[95]][_0xcac7[17]][_0xcac7[98]]=_0xcac7[99];this[_0xcac7[95]][_0xcac7[17]][_0xcac7[79]]=_0xcac7[100];this[_0xcac7[95]][_0xcac7[17]][_0xcac7[91]]=_0xcac7[18];if(mxClient[_0xcac7[74]]){this[_0xcac7[95]][_0xcac7[17]][_0xcac7[101]]=_0xcac7[102]}else {this[_0xcac7[95]][_0xcac7[17]][_0xcac7[19]]=_0xcac7[20];this[_0xcac7[95]][_0xcac7[17]][_0xcac7[101]]=_0xcac7[103]};this[_0xcac7[68]][_0xcac7[21]](this[_0xcac7[95]])}else {this[_0xcac7[95]][_0xcac7[104]]=_0xcac7[105]};this[_0xcac7[95]][_0xcac7[17]][_0xcac7[83]]=_0xcac7[105];mxUtils[_0xcac7[106]](this[_0xcac7[95]],_0x77efx9);var _0x77efxf=this[_0xcac7[95]][_0xcac7[107]]+10;_0x77efxe+=_0x77efxf;if(mxClient[_0xcac7[74]]){this[_0xcac7[95]][_0xcac7[17]][_0xcac7[108]]=(-_0x77efxf)+_0xcac7[93]}else {_0x77efxe-=6;this[_0xcac7[95]][_0xcac7[17]][_0xcac7[109]]=(_0x77efxe-_0x77efxf)+_0xcac7[93]}}else {if(this[_0xcac7[95]]!=null&&this[_0xcac7[95]][_0xcac7[33]]!=null){this[_0xcac7[95]][_0xcac7[17]][_0xcac7[83]]=_0xcac7[110]}};this[_0xcac7[68]][_0xcac7[17]][_0xcac7[81]]=_0x77efxe+_0xcac7[93];var _0x77efx10=-Math[_0xcac7[112]](0,_0x77efxc[_0xcac7[111]]-this[_0xcac7[53]]);var _0x77efx11=-Math[_0xcac7[112]](0,_0x77efxc[_0xcac7[113]]-this[_0xcac7[53]]);var _0x77efx12=this[_0xcac7[2]][_0xcac7[114]]+this[_0xcac7[1]][_0xcac7[115]]+3;var _0x77efx13=Math[_0xcac7[118]](0,(this[_0xcac7[2]][_0xcac7[116]]+_0x77efx7[_0xcac7[116]]-this[_0xcac7[2]][_0xcac7[117]]-_0x77efxe/2+16));if(mxClient[_0xcac7[74]]){this[_0xcac7[71]][_0xcac7[73]][_0xcac7[75]][_0xcac7[123]](_0xcac7[119],_0xcac7[120]+_0x77efx10+_0xcac7[121]+_0x77efx11+_0xcac7[122])}else {this[_0xcac7[71]][_0xcac7[73]][_0xcac7[125]][_0xcac7[17]][_0xcac7[124]]=_0x77efx10+_0xcac7[93];this[_0xcac7[71]][_0xcac7[73]][_0xcac7[125]][_0xcac7[17]][_0xcac7[109]]=_0x77efx11+_0xcac7[93]};_0x77efx13+=90;this[_0xcac7[68]][_0xcac7[17]][_0xcac7[19]]=_0xcac7[20];this[_0xcac7[68]][_0xcac7[17]][_0xcac7[124]]=_0x77efx12+_0xcac7[93];this[_0xcac7[68]][_0xcac7[17]][_0xcac7[109]]=_0x77efx13+_0xcac7[93];this[_0xcac7[77]][_0xcac7[17]][_0xcac7[124]]=(_0x77efx12-13)+_0xcac7[93];this[_0xcac7[77]][_0xcac7[17]][_0xcac7[109]]=(_0x77efx13+_0x77efxe/2-13)+_0xcac7[93]});if(this[_0xcac7[68]]!=null&&this[_0xcac7[68]][_0xcac7[17]][_0xcac7[83]]!=_0xcac7[110]){_0x77efxb()}else {this[_0xcac7[66]]=window[_0xcac7[126]](_0x77efxb,this[_0xcac7[55]])};this[_0xcac7[32]]=_0x77efx7}}};Sidebar[_0xcac7[40]][_0xcac7[29]]=function(){if(this[_0xcac7[66]]!=null){window[_0xcac7[67]](this[_0xcac7[66]]);this[_0xcac7[66]]=null};if(this[_0xcac7[68]]!=null){this[_0xcac7[68]][_0xcac7[17]][_0xcac7[83]]=_0xcac7[110];this[_0xcac7[77]][_0xcac7[17]][_0xcac7[16]]=_0xcac7[18];this[_0xcac7[32]]=null}};Sidebar[_0xcac7[40]][_0xcac7[127]]=function(_0x77efx14){var _0x77efx7=document[_0xcac7[7]](_0xcac7[128]);_0x77efx7[_0xcac7[123]](_0xcac7[129],_0xcac7[130]);_0x77efx7[_0xcac7[69]]=_0xcac7[131];mxUtils[_0xcac7[106]](_0x77efx7,_0x77efx14);return _0x77efx7};Sidebar[_0xcac7[40]][_0xcac7[132]]=function(_0x77efx8,_0x77efxd,_0x77efxe,_0x77efx15,_0x77efx9,_0x77efxa){this[_0xcac7[5]][_0xcac7[85]]=(_0x77efxa==null||_0x77efxa);this[_0xcac7[5]][_0xcac7[73]][_0xcac7[133]](1,0,0);this[_0xcac7[5]][_0xcac7[88]](_0x77efx8);var _0x77efxc=this[_0xcac7[5]][_0xcac7[89]]();var _0x77efx16=this[_0xcac7[54]];var _0x77efx17=Math[_0xcac7[112]]((_0x77efxd-2)/(_0x77efxc[_0xcac7[79]]-_0x77efxc[_0xcac7[111]]+_0x77efx16),(_0x77efxe-2)/(_0x77efxc[_0xcac7[81]]-_0x77efxc[_0xcac7[113]]+_0x77efx16));var _0x77efx10=-Math[_0xcac7[112]](_0x77efxc[_0xcac7[111]],0);var _0x77efx11=-Math[_0xcac7[112]](_0x77efxc[_0xcac7[113]],0);this[_0xcac7[5]][_0xcac7[73]][_0xcac7[133]](_0x77efx17,_0x77efx10,_0x77efx11);_0x77efxc=this[_0xcac7[5]][_0xcac7[89]]();var _0x77efx18=Math[_0xcac7[118]](0,Math[_0xcac7[134]]((_0x77efxd-_0x77efxc[_0xcac7[79]]-_0x77efxc[_0xcac7[111]])/2));var _0x77efxf=Math[_0xcac7[118]](0,Math[_0xcac7[134]]((_0x77efxe-_0x77efxc[_0xcac7[81]]-_0x77efxc[_0xcac7[113]])/2));var _0x77efx19=null;if(this[_0xcac7[5]][_0xcac7[135]]==mxConstants[_0xcac7[136]]&&!mxClient[_0xcac7[137]]){_0x77efx19=this[_0xcac7[5]][_0xcac7[73]][_0xcac7[140]]()[_0xcac7[139]][_0xcac7[138]](true)}else {_0x77efx19=this[_0xcac7[5]][_0xcac7[2]][_0xcac7[138]](false);_0x77efx19[_0xcac7[104]]=this[_0xcac7[5]][_0xcac7[2]][_0xcac7[104]]};this[_0xcac7[5]][_0xcac7[141]]()[_0xcac7[86]]();if(mxClient[_0xcac7[142]]){_0x77efx15[_0xcac7[17]][_0xcac7[143]]=_0xcac7[144]+this[_0xcac7[1]][_0xcac7[9]][_0xcac7[145]]+_0xcac7[122]};var _0x77efx1a=3;_0x77efx19[_0xcac7[17]][_0xcac7[19]]=_0xcac7[76];_0x77efx19[_0xcac7[17]][_0xcac7[91]]=_0xcac7[18];_0x77efx19[_0xcac7[17]][_0xcac7[146]]=_0xcac7[147];_0x77efx19[_0xcac7[17]][_0xcac7[124]]=(_0x77efx18+_0x77efx1a)+_0xcac7[93];_0x77efx19[_0xcac7[17]][_0xcac7[109]]=(_0x77efxf+_0x77efx1a)+_0xcac7[93];_0x77efx19[_0xcac7[17]][_0xcac7[79]]=_0x77efxd+_0xcac7[93];_0x77efx19[_0xcac7[17]][_0xcac7[81]]=_0x77efxe+_0xcac7[93];_0x77efx19[_0xcac7[17]][_0xcac7[16]]=_0xcac7[105];_0x77efx19[_0xcac7[17]][_0xcac7[148]]=_0xcac7[105];_0x77efx19[_0xcac7[17]][_0xcac7[149]]=_0xcac7[105];_0x77efx15[_0xcac7[21]](_0x77efx19);if(this[_0xcac7[63]]&&_0x77efx9!=null){var _0x77efx1b=(mxClient[_0xcac7[90]])?2*this[_0xcac7[61]]+2:0;_0x77efx15[_0xcac7[17]][_0xcac7[81]]=(this[_0xcac7[60]]+_0x77efx1b+this[_0xcac7[62]]+8)+_0xcac7[93];var _0x77efx1c=document[_0xcac7[7]](_0xcac7[6]);_0x77efx1c[_0xcac7[17]][_0xcac7[150]]=this[_0xcac7[62]]+_0xcac7[93];_0x77efx1c[_0xcac7[17]][_0xcac7[98]]=_0xcac7[99];_0x77efx1c[_0xcac7[17]][_0xcac7[151]]=_0xcac7[152];if(mxClient[_0xcac7[153]]){_0x77efx1c[_0xcac7[17]][_0xcac7[81]]=(this[_0xcac7[62]]+12)+_0xcac7[93]};_0x77efx1c[_0xcac7[17]][_0xcac7[101]]=_0xcac7[154];mxUtils[_0xcac7[106]](_0x77efx1c,_0x77efx9);_0x77efx15[_0xcac7[21]](_0x77efx1c)}};Sidebar[_0xcac7[40]][_0xcac7[155]]=function(_0x77efx8,_0x77efx9,_0x77efxa){var _0x77efx7=document[_0xcac7[7]](_0xcac7[128]);_0x77efx7[_0xcac7[123]](_0xcac7[129],_0xcac7[130]);_0x77efx7[_0xcac7[69]]=_0xcac7[156];_0x77efx7[_0xcac7[17]][_0xcac7[91]]=_0xcac7[18];var _0x77efx1b=(mxClient[_0xcac7[90]])?8+2*this[_0xcac7[61]]:6;_0x77efx7[_0xcac7[17]][_0xcac7[79]]=(this[_0xcac7[59]]+_0x77efx1b)+_0xcac7[93];_0x77efx7[_0xcac7[17]][_0xcac7[81]]=(this[_0xcac7[60]]+_0x77efx1b)+_0xcac7[93];_0x77efx7[_0xcac7[17]][_0xcac7[157]]=this[_0xcac7[61]]+_0xcac7[93];mxEvent[_0xcac7[26]](_0x77efx7,_0xcac7[158],function(_0x77efx4){mxEvent[_0xcac7[159]](_0x77efx4)});this[_0xcac7[132]](_0x77efx8,this[_0xcac7[59]],this[_0xcac7[60]],_0x77efx7,_0x77efx9,_0x77efxa);return _0x77efx7};Sidebar[_0xcac7[40]][_0xcac7[160]]=function(_0x77efx8,_0x77efx1d){return function(_0x77efx1e,_0x77efx4,_0x77efx1f,_0x77efx20,_0x77efx21){if(_0x77efx1e[_0xcac7[161]]()){_0x77efx8=_0x77efx1e[_0xcac7[162]](_0x77efx8);if(_0x77efx8[_0xcac7[94]]>0){var _0x77efx22=(_0x77efx1f!=null)?_0x77efx1e[_0xcac7[163]](_0x77efx1f,_0x77efx8,_0x77efx4):false;var _0x77efx23=null;if(_0x77efx1f!=null&& !_0x77efx22){_0x77efx1f=null};if(_0x77efx1d&&_0x77efx1e[_0xcac7[164]]()&&_0x77efx1e[_0xcac7[165]](_0x77efx1f,_0x77efx8,_0x77efx4)){_0x77efx1e[_0xcac7[166]](_0x77efx1f,_0x77efx8,null,_0x77efx20,_0x77efx21);_0x77efx23=_0x77efx8}else {if(_0x77efx8[_0xcac7[94]]>0){_0x77efx23=_0x77efx1e[_0xcac7[167]](_0x77efx8,_0x77efx20,_0x77efx21,_0x77efx1f)}};if(_0x77efx23!=null&&_0x77efx23[_0xcac7[94]]>0){_0x77efx1e[_0xcac7[168]](_0x77efx23[0]);_0x77efx1e[_0xcac7[169]](_0x77efx23)}}}}};Sidebar[_0xcac7[40]][_0xcac7[170]]=function(_0x77efxd,_0x77efxe){var _0x77efx7=document[_0xcac7[7]](_0xcac7[6]);_0x77efx7[_0xcac7[17]][_0xcac7[171]]=_0xcac7[172];_0x77efx7[_0xcac7[17]][_0xcac7[79]]=_0x77efxd+_0xcac7[93];_0x77efx7[_0xcac7[17]][_0xcac7[81]]=_0x77efxe+_0xcac7[93];return _0x77efx7};Sidebar[_0xcac7[40]][_0xcac7[173]]=function(_0x77efx7,_0x77efx24,_0x77efx25){var _0x77efx26=mxUtils[_0xcac7[175]](_0x77efx7,this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]],_0x77efx24,_0x77efx25,0,0,this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]][_0xcac7[174]],true,true);_0x77efx26[_0xcac7[176]]=function(_0x77efx1e,_0x77efx20,_0x77efx21){var _0x77efx1f=mxDragSource[_0xcac7[40]][_0xcac7[176]][_0xcac7[177]](this,arguments);if(!_0x77efx1e[_0xcac7[178]](_0x77efx1f)){_0x77efx1f=null};return _0x77efx1f};return _0x77efx26};Sidebar[_0xcac7[40]][_0xcac7[179]]=function(_0x77efx7,_0x77efx27){var _0x77efx1e=this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]];var _0x77efx28=null;mxEvent[_0xcac7[182]](_0x77efx7,function(_0x77efx4){_0x77efx28= new mxPoint(mxEvent[_0xcac7[180]](_0x77efx4),mxEvent[_0xcac7[181]](_0x77efx4))});var _0x77efx29=_0x77efx27[_0xcac7[183]];_0x77efx27[_0xcac7[183]]=function(_0x77efx4){if(!mxEvent[_0xcac7[184]](_0x77efx4)&&this[_0xcac7[185]]==null&&_0x77efx28!=null){var _0x77efx2a=_0x77efx1e[_0xcac7[186]];if(Math[_0xcac7[187]](_0x77efx28[_0xcac7[111]]-mxEvent[_0xcac7[180]](_0x77efx4))<=_0x77efx2a&&Math[_0xcac7[187]](_0x77efx28[_0xcac7[113]]-mxEvent[_0xcac7[181]](_0x77efx4))<=_0x77efx2a){var _0x77efx2b=_0x77efx1e[_0xcac7[188]]();_0x77efx27[_0xcac7[189]](_0x77efx1e,_0x77efx4,null,_0x77efx2b,_0x77efx2b)}};_0x77efx29[_0xcac7[177]](this,arguments);_0x77efx28=null}};Sidebar[_0xcac7[40]][_0xcac7[190]]=function(_0x77efx2c,_0x77efx14,_0x77efx2d,_0x77efx2e){var _0x77efx2f=mxUtils[_0xcac7[190]]();var _0x77efx19=_0x77efx2f[_0xcac7[7]](_0x77efx2c);_0x77efx19[_0xcac7[123]](_0xcac7[191],_0x77efx14);_0x77efx2d[_0xcac7[192]](function(_0x77efx30,_0x77efx31){_0x77efx19[_0xcac7[123]](_0x77efx30,_0x77efx2e[_0x77efx31]?_0x77efx2e[_0x77efx31]:_0xcac7[105])});return _0x77efx19};Sidebar[_0xcac7[40]][_0xcac7[193]]=function(_0x77efx32,_0x77efxd,_0x77efxe,_0x77efx33,_0x77efx9,_0x77efxa){var _0x77efx2d=[];var _0x77efx2e=[];switch(_0x77efx33){case _0xcac7[47]:_0x77efx2d=[_0xcac7[194],_0xcac7[195],_0xcac7[196]];_0x77efx2e=[_0xcac7[197],_0xcac7[105],_0xcac7[198]];break;case _0xcac7[50]:_0x77efx2d=[_0xcac7[194],_0xcac7[195]];_0x77efx2e=[_0xcac7[197],_0xcac7[105]];break;case _0xcac7[48]:_0x77efx2d=[_0xcac7[194],_0xcac7[48],_0xcac7[199]];_0x77efx2e=[_0xcac7[197],_0xcac7[105]];break;case _0xcac7[49]:_0x77efx2d=[_0xcac7[194],_0xcac7[48],_0xcac7[200]];_0x77efx2e=[_0xcac7[197],_0xcac7[105]];break;default:_0x77efx2d=[];_0x77efx2e=[];break};var _0x77efx19=this[_0xcac7[190]](_0x77efx33,_0x77efx9,_0x77efx2d,_0x77efx2e);var _0x77efx8=[ new mxCell(_0x77efx19, new mxGeometry(0,0,_0x77efxd,_0x77efxe),_0x77efx32)];_0x77efx8[0][_0xcac7[201]]=true;return this[_0xcac7[202]](_0x77efx8,_0x77efxd,_0x77efxe,_0x77efx9,_0x77efxa)};Sidebar[_0xcac7[40]][_0xcac7[202]]=function(_0x77efx8,_0x77efxd,_0x77efxe,_0x77efx9,_0x77efxa){var _0x77efx7=this[_0xcac7[155]](_0x77efx8,_0x77efx9,_0x77efxa);var _0x77efx27=this[_0xcac7[173]](_0x77efx7,this[_0xcac7[160]](_0x77efx8,true),this[_0xcac7[170]](_0x77efxd,_0x77efxe));this[_0xcac7[179]](_0x77efx7,_0x77efx27);_0x77efx27[_0xcac7[203]]=mxUtils[_0xcac7[25]](this,function(){return this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]][_0xcac7[205]][_0xcac7[204]]});if(!touchStyle){mxEvent[_0xcac7[26]](_0x77efx7,_0xcac7[30],mxUtils[_0xcac7[25]](this,function(_0x77efx4){this[_0xcac7[65]](_0x77efx7,_0x77efx8,_0x77efx9,_0x77efxa)}))};return _0x77efx7};Sidebar[_0xcac7[40]][_0xcac7[206]]=function(_0x77efx32,_0x77efxd,_0x77efxe,_0x77efx33,_0x77efx9,_0x77efxa){var _0x77efx8=[ new mxCell((_0x77efx33!=null)?_0x77efx33:_0xcac7[105], new mxGeometry(0,0,_0x77efxd,_0x77efxe),_0x77efx32)];_0x77efx8[0][_0xcac7[208]][_0xcac7[207]]( new mxPoint(0,_0x77efxe),true);_0x77efx8[0][_0xcac7[208]][_0xcac7[207]]( new mxPoint(_0x77efxd,0),false);_0x77efx8[0][_0xcac7[208]][_0xcac7[76]]=true;_0x77efx8[0][_0xcac7[209]]=true;return this[_0xcac7[210]](_0x77efx8,_0x77efxd,_0x77efxe,_0x77efx9,_0x77efxa)};Sidebar[_0xcac7[40]][_0xcac7[210]]=function(_0x77efx8,_0x77efxd,_0x77efxe,_0x77efx9,_0x77efxa){var _0x77efx7=this[_0xcac7[155]](_0x77efx8,_0x77efx9,_0x77efxa);this[_0xcac7[173]](_0x77efx7,this[_0xcac7[160]](_0x77efx8,false),this[_0xcac7[170]](_0x77efxd,_0x77efxe));var _0x77efx1e=this[_0xcac7[1]][_0xcac7[9]][_0xcac7[5]];mxEvent[_0xcac7[26]](_0x77efx7,_0xcac7[158],mxUtils[_0xcac7[25]](this,function(_0x77efx4){if(this[_0xcac7[56]]){_0x77efx1e[_0xcac7[211]](_0x77efx8[0])};_0x77efx7[_0xcac7[17]][_0xcac7[212]]=_0xcac7[213];window[_0xcac7[126]](function(){_0x77efx7[_0xcac7[17]][_0xcac7[212]]=_0xcac7[105]},300);mxEvent[_0xcac7[159]](_0x77efx4)}));touchStyle=false;if(!touchStyle){mxEvent[_0xcac7[26]](_0x77efx7,_0xcac7[30],mxUtils[_0xcac7[25]](this,function(_0x77efx4){this[_0xcac7[65]](_0x77efx7,_0x77efx8,_0x77efx9,_0x77efxa)}))};return _0x77efx7};Sidebar[_0xcac7[40]][_0xcac7[214]]=function(_0x77efx34,_0x77efx9,_0x77efx35,_0x77efx36){var _0x77efx7=this[_0xcac7[127]](_0x77efx9);this[_0xcac7[2]][_0xcac7[21]](_0x77efx7);var _0x77efx1c=document[_0xcac7[7]](_0xcac7[6]);_0x77efx1c[_0xcac7[69]]=_0xcac7[215];if(_0x77efx35){_0x77efx36(_0x77efx1c);_0x77efx36=null}else {_0x77efx1c[_0xcac7[17]][_0xcac7[83]]=_0xcac7[110]};this[_0xcac7[216]](_0x77efx7,_0x77efx1c,_0x77efx36);var _0x77efx37=document[_0xcac7[7]](_0xcac7[6]);_0x77efx37[_0xcac7[21]](_0x77efx1c);this[_0xcac7[2]][_0xcac7[21]](_0x77efx37);if(_0x77efx34!=null){this[_0xcac7[3]][_0x77efx34]=[_0x77efx7,_0x77efx37]}};Sidebar[_0xcac7[40]][_0xcac7[216]]=function(_0x77efx9,_0x77efx38,_0x77efx39){var _0x77efx3a=false;_0x77efx9[_0xcac7[17]][_0xcac7[143]]=(_0x77efx38[_0xcac7[17]][_0xcac7[83]]==_0xcac7[110])?_0xcac7[144]+IMAGE_PATH+_0xcac7[217]:_0xcac7[144]+IMAGE_PATH+_0xcac7[218];_0x77efx9[_0xcac7[17]][_0xcac7[219]]=_0xcac7[220];_0x77efx9[_0xcac7[17]][_0xcac7[221]]=_0xcac7[222];mxEvent[_0xcac7[26]](_0x77efx9,_0xcac7[158],function(_0x77efx4){if(_0x77efx38[_0xcac7[17]][_0xcac7[83]]==_0xcac7[110]){if(!_0x77efx3a){_0x77efx3a=true;if(_0x77efx39!=null){_0x77efx9[_0xcac7[17]][_0xcac7[146]]=_0xcac7[223];window[_0xcac7[126]](function(){_0x77efx39(_0x77efx38);_0x77efx9[_0xcac7[17]][_0xcac7[146]]=_0xcac7[105]},0)}};_0x77efx9[_0xcac7[17]][_0xcac7[143]]=_0xcac7[144]+IMAGE_PATH+_0xcac7[218];_0x77efx38[_0xcac7[17]][_0xcac7[83]]=_0xcac7[84]}else {_0x77efx9[_0xcac7[17]][_0xcac7[143]]=_0xcac7[144]+IMAGE_PATH+_0xcac7[217];_0x77efx38[_0xcac7[17]][_0xcac7[83]]=_0xcac7[110]};mxEvent[_0xcac7[159]](_0x77efx4)})};Sidebar[_0xcac7[40]][_0xcac7[224]]=function(_0x77efx34){var _0x77efx3b=this[_0xcac7[3]][_0x77efx34];if(_0x77efx3b!=null){this[_0xcac7[3]][_0x77efx34]=null;for(var _0x77efx3c=0;_0x77efx3c<_0x77efx3b[_0xcac7[94]];_0x77efx3c++){this[_0xcac7[2]][_0xcac7[225]](_0x77efx3b[_0x77efx3c])};return true};return false};Sidebar[_0xcac7[40]][_0xcac7[51]]=function(_0x77efx34,_0x77efx9,_0x77efx3d,_0x77efx3e,_0x77efx3f,_0x77efx40){this[_0xcac7[214]](_0x77efx34,_0x77efx9,(_0x77efx34===_0xcac7[42]),mxUtils[_0xcac7[25]](this,function(_0x77efx38){var _0x77efx41=_0x77efx40!=null;for(var _0x77efx3c=0;_0x77efx3c<_0x77efx3f[_0xcac7[94]];_0x77efx3c++){var _0x77efx42=_0x77efx3d+_0x77efx3f[_0x77efx3c]+_0x77efx3e;_0x77efx38[_0xcac7[21]](this[_0xcac7[193]](_0xcac7[226]+_0x77efx42,80,80,_0x77efx3f[_0x77efx3c],(_0x77efx41)?_0x77efx40[_0x77efx3c]:null,_0x77efx41))}}))} \ 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 30c48c6..a1666d7 100644 --- a/public/assets/plugins/jscripty/js/Toolbar.js +++ b/public/assets/plugins/jscripty/js/Toolbar.js @@ -1 +1 @@ -var _0xcd11=["\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(_0xff6bx2,_0xff6bx3){this[_0xcd11[0]]=_0xff6bx2;this[_0xcd11[1]]=_0xff6bx3;this[_0xcd11[2]]();mxEvent[_0xcd11[5]](document,mxUtils[_0xcd11[4]](this,function(_0xff6bx4){this[_0xcd11[3]]()}))}Toolbar[_0xcd11[6]][_0xcd11[2]]=function(){this[_0xcd11[21]]([_0xcd11[7],_0xcd11[8],_0xcd11[9],_0xcd11[10],_0xcd11[11],_0xcd11[12],_0xcd11[9],_0xcd11[13],_0xcd11[14],_0xcd11[15],_0xcd11[16],_0xcd11[9],_0xcd11[17],_0xcd11[9],_0xcd11[18],_0xcd11[19],_0xcd11[20],_0xcd11[9]]);var _0xff6bx5=this[_0xcd11[25]](_0xcd11[22],mxResources[_0xcd11[24]](_0xcd11[23]),true,_0xcd11[23]);_0xff6bx5[_0xcd11[27]][_0xcd11[26]]=_0xcd11[28];_0xff6bx5[_0xcd11[27]][_0xcd11[29]]=_0xcd11[30];_0xff6bx5[_0xcd11[27]][_0xcd11[31]]=_0xcd11[32];this[_0xcd11[33]]();var _0xff6bx6=this[_0xcd11[25]](_0xcd11[34],mxResources[_0xcd11[24]](_0xcd11[35]),true,_0xcd11[35]);_0xff6bx6[_0xcd11[27]][_0xcd11[26]]=_0xcd11[28];_0xff6bx6[_0xcd11[27]][_0xcd11[29]]=_0xcd11[30];_0xff6bx6[_0xcd11[27]][_0xcd11[31]]=_0xcd11[36];this[_0xcd11[21]]([_0xcd11[9],_0xcd11[37],_0xcd11[38],_0xcd11[39]]);var _0xff6bx7=this[_0xcd11[0]][_0xcd11[41]][_0xcd11[40]];var _0xff6bx8=mxUtils[_0xcd11[4]](this,function(){var _0xff6bx9=_0xcd11[22];var _0xff6bxa=_0xcd11[34];var _0xff6bxb=_0xff6bx7[_0xcd11[44]]()[_0xcd11[43]](_0xff6bx7[_0xcd11[42]]());if(_0xff6bxb!=null){_0xff6bx9=_0xff6bxb[_0xcd11[27]][mxConstants[_0xcd11[45]]]||_0xff6bx9;_0xff6bxa=_0xff6bxb[_0xcd11[27]][mxConstants[_0xcd11[46]]]||_0xff6bxa;if(_0xff6bx9[_0xcd11[47]]>10){_0xff6bx9=_0xff6bx9[_0xcd11[48]](0,8)+_0xcd11[49]};_0xff6bx5[_0xcd11[50]]=_0xff6bx9;_0xff6bx6[_0xcd11[50]]=_0xff6bxa}});_0xff6bx7[_0xcd11[52]]()[_0xcd11[51]](mxEvent.CHANGE,_0xff6bx8);_0xff6bx7[_0xcd11[53]]()[_0xcd11[51]](mxEvent.CHANGE,_0xff6bx8)};Toolbar[_0xcd11[6]][_0xcd11[3]]=function(){if(this[_0xcd11[54]]!=null){this[_0xcd11[54]][_0xcd11[3]]();this[_0xcd11[54]][_0xcd11[55]]();this[_0xcd11[54]]=null}};Toolbar[_0xcd11[6]][_0xcd11[25]]=function(_0xff6bxc,_0xff6bxd,_0xff6bxe,_0xff6bxf){var _0xff6bx10=this[_0xcd11[0]][_0xcd11[56]][_0xcd11[24]](_0xff6bxf);var _0xff6bx11=this[_0xcd11[58]](_0xff6bxc,_0xff6bxd,_0xff6bxe,_0xff6bx10[_0xcd11[57]]);_0xff6bx10[_0xcd11[51]](_0xcd11[59],function(){_0xff6bx11[_0xcd11[61]](_0xff6bx10[_0xcd11[60]])});return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[58]]=function(_0xff6bxc,_0xff6bxd,_0xff6bxe,_0xff6bx12){var _0xff6bx11=(_0xff6bxe)?this[_0xcd11[62]](_0xff6bxc):this[_0xcd11[63]](_0xff6bxc);this[_0xcd11[64]](_0xff6bx11,_0xff6bxd);this[_0xcd11[65]](_0xff6bx11,_0xff6bxe,_0xff6bx12);this[_0xcd11[1]][_0xcd11[66]](_0xff6bx11);return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[33]]=function(){var _0xff6bx11=document[_0xcd11[68]](_0xcd11[67]);_0xff6bx11[_0xcd11[69]]=_0xcd11[70];this[_0xcd11[1]][_0xcd11[66]](_0xff6bx11);return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[21]]=function(_0xff6bx13){for(var _0xff6bx14=0;_0xff6bx14<_0xff6bx13[_0xcd11[47]];_0xff6bx14++){var _0xff6bx15=_0xff6bx13[_0xff6bx14];if(_0xff6bx15==_0xcd11[9]){this[_0xcd11[33]]()}else {this[_0xcd11[73]](_0xcd11[71]+_0xff6bx15[_0xcd11[72]](),_0xff6bx15)}}};Toolbar[_0xcd11[6]][_0xcd11[73]]=function(_0xff6bx16,_0xff6bx15){var _0xff6bx17=this[_0xcd11[0]][_0xcd11[74]][_0xcd11[24]](_0xff6bx15);var _0xff6bx11=null;if(_0xff6bx17!=null){_0xff6bx11=this[_0xcd11[76]](_0xff6bx16,_0xff6bx17[_0xcd11[75]],_0xff6bx17[_0xcd11[57]]);_0xff6bx11[_0xcd11[61]](_0xff6bx17[_0xcd11[60]]);_0xff6bx17[_0xcd11[51]](_0xcd11[59],function(){_0xff6bx11[_0xcd11[61]](_0xff6bx17[_0xcd11[60]])})};return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[76]]=function(_0xff6bx18,_0xff6bxd,_0xff6bx12){var _0xff6bx11=this[_0xcd11[63]](_0xff6bx18);this[_0xcd11[64]](_0xff6bx11,_0xff6bxd);this[_0xcd11[77]](_0xff6bx11,_0xff6bx12);this[_0xcd11[1]][_0xcd11[66]](_0xff6bx11);return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[78]]=function(_0xff6bx19){var _0xff6bx7=this[_0xcd11[0]][_0xcd11[41]][_0xcd11[40]];var _0xff6bx1a=function(){var _0xff6bx1b=!_0xff6bx7[_0xcd11[79]]();for(var _0xff6bx14=0;_0xff6bx14<_0xff6bx19[_0xcd11[47]];_0xff6bx14++){_0xff6bx19[_0xff6bx14][_0xcd11[61]](_0xff6bx1b)}};_0xff6bx7[_0xcd11[52]]()[_0xcd11[51]](mxEvent.CHANGE,_0xff6bx1a);_0xff6bx1a()};Toolbar[_0xcd11[6]][_0xcd11[80]]=function(_0xff6bx19){var _0xff6bx7=this[_0xcd11[0]][_0xcd11[41]][_0xcd11[40]];var _0xff6bx1a=function(){var _0xff6bx1c=false;if(!_0xff6bx7[_0xcd11[79]]()){var _0xff6bx1d=_0xff6bx7[_0xcd11[81]]();for(var _0xff6bx14=0;_0xff6bx14<_0xff6bx1d[_0xcd11[47]];_0xff6bx14++){if(_0xff6bx7[_0xcd11[53]]()[_0xcd11[82]](_0xff6bx1d[_0xff6bx14])){_0xff6bx1c=true;break}}};for(var _0xff6bx14=0;_0xff6bx14<_0xff6bx19[_0xcd11[47]];_0xff6bx14++){_0xff6bx19[_0xff6bx14][_0xcd11[61]](_0xff6bx1c)}};_0xff6bx7[_0xcd11[52]]()[_0xcd11[51]](mxEvent.CHANGE,_0xff6bx1a);_0xff6bx1a()};Toolbar[_0xcd11[6]][_0xcd11[64]]=function(_0xff6bx11,_0xff6bxd){_0xff6bx11[_0xcd11[85]](_0xcd11[83],_0xcd11[84]);if(_0xff6bxd!=null){_0xff6bx11[_0xcd11[85]](_0xcd11[86],_0xff6bxd)};this[_0xcd11[87]](_0xff6bx11)};Toolbar[_0xcd11[6]][_0xcd11[87]]=function(_0xff6bx11){var _0xff6bx18=_0xff6bx11[_0xcd11[69]];_0xff6bx11[_0xcd11[61]]=function(_0xff6bx1e){_0xff6bx11[_0xcd11[60]]=_0xff6bx1e;if(_0xff6bx1e){_0xff6bx11[_0xcd11[69]]=_0xff6bx18}else {_0xff6bx11[_0xcd11[69]]=_0xff6bx18+_0xcd11[88]}};_0xff6bx11[_0xcd11[61]](true)};Toolbar[_0xcd11[6]][_0xcd11[77]]=function(_0xff6bx11,_0xff6bx12){if(_0xff6bx12!=null){mxEvent[_0xcd11[51]](_0xff6bx11,_0xcd11[89],function(_0xff6bx4){if(_0xff6bx11[_0xcd11[60]]){_0xff6bx12(_0xff6bx4)};mxEvent[_0xcd11[90]](_0xff6bx4)})}};Toolbar[_0xcd11[6]][_0xcd11[63]]=function(_0xff6bx18){var _0xff6bx11=document[_0xcd11[68]](_0xcd11[91]);_0xff6bx11[_0xcd11[85]](_0xcd11[92],_0xcd11[93]);_0xff6bx11[_0xcd11[69]]=_0xcd11[94];var _0xff6bx1f=document[_0xcd11[68]](_0xcd11[67]);_0xff6bx1f[_0xcd11[69]]=_0xcd11[95]+_0xff6bx18;_0xff6bx11[_0xcd11[66]](_0xff6bx1f);return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[62]]=function(_0xff6bxc,_0xff6bxd){var _0xff6bx11=document[_0xcd11[68]](_0xcd11[91]);_0xff6bx11[_0xcd11[85]](_0xcd11[92],_0xcd11[93]);_0xff6bx11[_0xcd11[69]]=_0xcd11[96];mxUtils[_0xcd11[97]](_0xff6bx11,_0xff6bxc);return _0xff6bx11};Toolbar[_0xcd11[6]][_0xcd11[65]]=function(_0xff6bx11,_0xff6bxe,_0xff6bx12,_0xff6bx20){if(_0xff6bx12!=null){var _0xff6bx7=this[_0xcd11[0]][_0xcd11[41]][_0xcd11[40]];var _0xff6bx10=null;mxEvent[_0xcd11[51]](_0xff6bx11,_0xcd11[89],mxUtils[_0xcd11[4]](this,function(_0xff6bx4){if(_0xff6bx11[_0xcd11[60]]==null||_0xff6bx11[_0xcd11[60]]){_0xff6bx7[_0xcd11[98]][_0xcd11[3]]();_0xff6bx10= new mxPopupMenu(_0xff6bx12);_0xff6bx10[_0xcd11[67]][_0xcd11[69]]+=_0xcd11[99];_0xff6bx10[_0xcd11[100]]=_0xff6bx20;_0xff6bx10[_0xcd11[101]]=_0xff6bxe;_0xff6bx10[_0xcd11[102]]=true;_0xff6bx10[_0xcd11[106]](_0xff6bx11[_0xcd11[103]],_0xff6bx11[_0xcd11[104]]+_0xff6bx11[_0xcd11[105]]+34,null,_0xff6bx4);this[_0xcd11[54]]=_0xff6bx10};mxEvent[_0xcd11[90]](_0xff6bx4)}))}} \ No newline at end of file +var _0x68f9=["\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(_0xc66cx2,_0xc66cx3){this[_0x68f9[0]]=_0xc66cx2;this[_0x68f9[1]]=_0xc66cx3;this[_0x68f9[2]]();mxEvent[_0x68f9[5]](document,mxUtils[_0x68f9[4]](this,function(_0xc66cx4){this[_0x68f9[3]]()}))}Toolbar[_0x68f9[6]][_0x68f9[2]]=function(){this[_0x68f9[21]]([_0x68f9[7],_0x68f9[8],_0x68f9[9],_0x68f9[10],_0x68f9[11],_0x68f9[12],_0x68f9[9],_0x68f9[13],_0x68f9[14],_0x68f9[15],_0x68f9[16],_0x68f9[9],_0x68f9[17],_0x68f9[9],_0x68f9[18],_0x68f9[19],_0x68f9[20],_0x68f9[9]]);var _0xc66cx5=this[_0x68f9[25]](_0x68f9[22],mxResources[_0x68f9[24]](_0x68f9[23]),true,_0x68f9[23]);_0xc66cx5[_0x68f9[27]][_0x68f9[26]]=_0x68f9[28];_0xc66cx5[_0x68f9[27]][_0x68f9[29]]=_0x68f9[30];_0xc66cx5[_0x68f9[27]][_0x68f9[31]]=_0x68f9[32];this[_0x68f9[33]]();var _0xc66cx6=this[_0x68f9[25]](_0x68f9[34],mxResources[_0x68f9[24]](_0x68f9[35]),true,_0x68f9[35]);_0xc66cx6[_0x68f9[27]][_0x68f9[26]]=_0x68f9[28];_0xc66cx6[_0x68f9[27]][_0x68f9[29]]=_0x68f9[30];_0xc66cx6[_0x68f9[27]][_0x68f9[31]]=_0x68f9[36];this[_0x68f9[21]]([_0x68f9[9],_0x68f9[37],_0x68f9[38],_0x68f9[39]]);var _0xc66cx7=this[_0x68f9[0]][_0x68f9[41]][_0x68f9[40]];var _0xc66cx8=mxUtils[_0x68f9[4]](this,function(){var _0xc66cx9=_0x68f9[22];var _0xc66cxa=_0x68f9[34];var _0xc66cxb=_0xc66cx7[_0x68f9[44]]()[_0x68f9[43]](_0xc66cx7[_0x68f9[42]]());if(_0xc66cxb!=null){_0xc66cx9=_0xc66cxb[_0x68f9[27]][mxConstants[_0x68f9[45]]]||_0xc66cx9;_0xc66cxa=_0xc66cxb[_0x68f9[27]][mxConstants[_0x68f9[46]]]||_0xc66cxa;if(_0xc66cx9[_0x68f9[47]]>10){_0xc66cx9=_0xc66cx9[_0x68f9[48]](0,8)+_0x68f9[49]};_0xc66cx5[_0x68f9[50]]=_0xc66cx9;_0xc66cx6[_0x68f9[50]]=_0xc66cxa}});_0xc66cx7[_0x68f9[52]]()[_0x68f9[51]](mxEvent.CHANGE,_0xc66cx8);_0xc66cx7[_0x68f9[53]]()[_0x68f9[51]](mxEvent.CHANGE,_0xc66cx8)};Toolbar[_0x68f9[6]][_0x68f9[3]]=function(){if(this[_0x68f9[54]]!=null){this[_0x68f9[54]][_0x68f9[3]]();this[_0x68f9[54]][_0x68f9[55]]();this[_0x68f9[54]]=null}};Toolbar[_0x68f9[6]][_0x68f9[25]]=function(_0xc66cxc,_0xc66cxd,_0xc66cxe,_0xc66cxf){var _0xc66cx10=this[_0x68f9[0]][_0x68f9[56]][_0x68f9[24]](_0xc66cxf);var _0xc66cx11=this[_0x68f9[58]](_0xc66cxc,_0xc66cxd,_0xc66cxe,_0xc66cx10[_0x68f9[57]]);_0xc66cx10[_0x68f9[51]](_0x68f9[59],function(){_0xc66cx11[_0x68f9[61]](_0xc66cx10[_0x68f9[60]])});return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[58]]=function(_0xc66cxc,_0xc66cxd,_0xc66cxe,_0xc66cx12){var _0xc66cx11=(_0xc66cxe)?this[_0x68f9[62]](_0xc66cxc):this[_0x68f9[63]](_0xc66cxc);this[_0x68f9[64]](_0xc66cx11,_0xc66cxd);this[_0x68f9[65]](_0xc66cx11,_0xc66cxe,_0xc66cx12);this[_0x68f9[1]][_0x68f9[66]](_0xc66cx11);return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[33]]=function(){var _0xc66cx11=document[_0x68f9[68]](_0x68f9[67]);_0xc66cx11[_0x68f9[69]]=_0x68f9[70];this[_0x68f9[1]][_0x68f9[66]](_0xc66cx11);return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[21]]=function(_0xc66cx13){for(var _0xc66cx14=0;_0xc66cx14<_0xc66cx13[_0x68f9[47]];_0xc66cx14++){var _0xc66cx15=_0xc66cx13[_0xc66cx14];if(_0xc66cx15==_0x68f9[9]){this[_0x68f9[33]]()}else {this[_0x68f9[73]](_0x68f9[71]+_0xc66cx15[_0x68f9[72]](),_0xc66cx15)}}};Toolbar[_0x68f9[6]][_0x68f9[73]]=function(_0xc66cx16,_0xc66cx15){var _0xc66cx17=this[_0x68f9[0]][_0x68f9[74]][_0x68f9[24]](_0xc66cx15);var _0xc66cx11=null;if(_0xc66cx17!=null){_0xc66cx11=this[_0x68f9[76]](_0xc66cx16,_0xc66cx17[_0x68f9[75]],_0xc66cx17[_0x68f9[57]]);_0xc66cx11[_0x68f9[61]](_0xc66cx17[_0x68f9[60]]);_0xc66cx17[_0x68f9[51]](_0x68f9[59],function(){_0xc66cx11[_0x68f9[61]](_0xc66cx17[_0x68f9[60]])})};return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[76]]=function(_0xc66cx18,_0xc66cxd,_0xc66cx12){var _0xc66cx11=this[_0x68f9[63]](_0xc66cx18);this[_0x68f9[64]](_0xc66cx11,_0xc66cxd);this[_0x68f9[77]](_0xc66cx11,_0xc66cx12);this[_0x68f9[1]][_0x68f9[66]](_0xc66cx11);return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[78]]=function(_0xc66cx19){var _0xc66cx7=this[_0x68f9[0]][_0x68f9[41]][_0x68f9[40]];var _0xc66cx1a=function(){var _0xc66cx1b=!_0xc66cx7[_0x68f9[79]]();for(var _0xc66cx14=0;_0xc66cx14<_0xc66cx19[_0x68f9[47]];_0xc66cx14++){_0xc66cx19[_0xc66cx14][_0x68f9[61]](_0xc66cx1b)}};_0xc66cx7[_0x68f9[52]]()[_0x68f9[51]](mxEvent.CHANGE,_0xc66cx1a);_0xc66cx1a()};Toolbar[_0x68f9[6]][_0x68f9[80]]=function(_0xc66cx19){var _0xc66cx7=this[_0x68f9[0]][_0x68f9[41]][_0x68f9[40]];var _0xc66cx1a=function(){var _0xc66cx1c=false;if(!_0xc66cx7[_0x68f9[79]]()){var _0xc66cx1d=_0xc66cx7[_0x68f9[81]]();for(var _0xc66cx14=0;_0xc66cx14<_0xc66cx1d[_0x68f9[47]];_0xc66cx14++){if(_0xc66cx7[_0x68f9[53]]()[_0x68f9[82]](_0xc66cx1d[_0xc66cx14])){_0xc66cx1c=true;break}}};for(var _0xc66cx14=0;_0xc66cx14<_0xc66cx19[_0x68f9[47]];_0xc66cx14++){_0xc66cx19[_0xc66cx14][_0x68f9[61]](_0xc66cx1c)}};_0xc66cx7[_0x68f9[52]]()[_0x68f9[51]](mxEvent.CHANGE,_0xc66cx1a);_0xc66cx1a()};Toolbar[_0x68f9[6]][_0x68f9[64]]=function(_0xc66cx11,_0xc66cxd){_0xc66cx11[_0x68f9[85]](_0x68f9[83],_0x68f9[84]);if(_0xc66cxd!=null){_0xc66cx11[_0x68f9[85]](_0x68f9[86],_0xc66cxd)};this[_0x68f9[87]](_0xc66cx11)};Toolbar[_0x68f9[6]][_0x68f9[87]]=function(_0xc66cx11){var _0xc66cx18=_0xc66cx11[_0x68f9[69]];_0xc66cx11[_0x68f9[61]]=function(_0xc66cx1e){_0xc66cx11[_0x68f9[60]]=_0xc66cx1e;if(_0xc66cx1e){_0xc66cx11[_0x68f9[69]]=_0xc66cx18}else {_0xc66cx11[_0x68f9[69]]=_0xc66cx18+_0x68f9[88]}};_0xc66cx11[_0x68f9[61]](true)};Toolbar[_0x68f9[6]][_0x68f9[77]]=function(_0xc66cx11,_0xc66cx12){if(_0xc66cx12!=null){mxEvent[_0x68f9[51]](_0xc66cx11,_0x68f9[89],function(_0xc66cx4){if(_0xc66cx11[_0x68f9[60]]){_0xc66cx12(_0xc66cx4)};mxEvent[_0x68f9[90]](_0xc66cx4)})}};Toolbar[_0x68f9[6]][_0x68f9[63]]=function(_0xc66cx18){var _0xc66cx11=document[_0x68f9[68]](_0x68f9[91]);_0xc66cx11[_0x68f9[85]](_0x68f9[92],_0x68f9[93]);_0xc66cx11[_0x68f9[69]]=_0x68f9[94];var _0xc66cx1f=document[_0x68f9[68]](_0x68f9[67]);_0xc66cx1f[_0x68f9[69]]=_0x68f9[95]+_0xc66cx18;_0xc66cx11[_0x68f9[66]](_0xc66cx1f);return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[62]]=function(_0xc66cxc,_0xc66cxd){var _0xc66cx11=document[_0x68f9[68]](_0x68f9[91]);_0xc66cx11[_0x68f9[85]](_0x68f9[92],_0x68f9[93]);_0xc66cx11[_0x68f9[69]]=_0x68f9[96];mxUtils[_0x68f9[97]](_0xc66cx11,_0xc66cxc);return _0xc66cx11};Toolbar[_0x68f9[6]][_0x68f9[65]]=function(_0xc66cx11,_0xc66cxe,_0xc66cx12,_0xc66cx20){if(_0xc66cx12!=null){var _0xc66cx7=this[_0x68f9[0]][_0x68f9[41]][_0x68f9[40]];var _0xc66cx10=null;mxEvent[_0x68f9[51]](_0xc66cx11,_0x68f9[89],mxUtils[_0x68f9[4]](this,function(_0xc66cx4){if(_0xc66cx11[_0x68f9[60]]==null||_0xc66cx11[_0x68f9[60]]){_0xc66cx7[_0x68f9[98]][_0x68f9[3]]();_0xc66cx10= new mxPopupMenu(_0xc66cx12);_0xc66cx10[_0x68f9[67]][_0x68f9[69]]+=_0x68f9[99];_0xc66cx10[_0x68f9[100]]=_0xc66cx20;_0xc66cx10[_0x68f9[101]]=_0xc66cxe;_0xc66cx10[_0x68f9[102]]=true;_0xc66cx10[_0x68f9[106]](_0xc66cx11[_0x68f9[103]],_0xc66cx11[_0x68f9[104]]+_0xc66cx11[_0x68f9[105]]+34,null,_0xc66cx4);this[_0x68f9[54]]=_0xc66cx10};mxEvent[_0x68f9[90]](_0xc66cx4)}))}} \ 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 79439f8..b56e5f6 100644 --- a/public/assets/plugins/jscripty/js/custom.js +++ b/public/assets/plugins/jscripty/js/custom.js @@ -1 +1 @@ -var _0xa5b1=["\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(_0xf2cdx2){var _0xf2cdx3= new Object();var _0xf2cdx4=_0xf2cdx2[_0xa5b1[3]](_0xa5b1[2]);if(_0xf2cdx4>0){var _0xf2cdx5=_0xf2cdx2[_0xa5b1[6]](_0xf2cdx4+1)[_0xa5b1[5]](_0xa5b1[4]);for(var _0xf2cdx6=0;_0xf2cdx6<_0xf2cdx5[_0xa5b1[7]];_0xf2cdx6++){_0xf2cdx4=_0xf2cdx5[_0xf2cdx6][_0xa5b1[9]](_0xa5b1[8]);if(_0xf2cdx4>0){_0xf2cdx3[_0xf2cdx5[_0xf2cdx6][_0xa5b1[6]](0,_0xf2cdx4)]=_0xf2cdx5[_0xf2cdx6][_0xa5b1[6]](_0xf2cdx4+1)}}};return _0xf2cdx3})(window[_0xa5b1[1]][_0xa5b1[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0xa5b1[10];var SHARE_HOST=_0xa5b1[11];var SAVE_URL=_0xa5b1[12];var VARIABLE_URL=_0xa5b1[13];var STENCIL_PATH=_0xa5b1[14];var SHAPES_PATH=_0xa5b1[15];var IMAGE_PATH=_0xa5b1[16];var STYLE_PATH=_0xa5b1[17];var CSS_PATH=_0xa5b1[17];var OPEN_FORM=_0xa5b1[18];var TEMPLATE_PATH=_0xa5b1[19];var RESOURCES_PATH=_0xa5b1[20];var RESOURCE_BASE=RESOURCES_PATH+_0xa5b1[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;console[_0xa5b1[25]](_0xa5b1[22],localStorage[_0xa5b1[24]](_0xa5b1[23]));switch(localStorage[_0xa5b1[24]](_0xa5b1[23])){case _0xa5b1[27]:mxLanguage=_0xa5b1[26];break;case _0xa5b1[28]:mxLanguage=_0xa5b1[28];break;default:mxLanguage=_0xa5b1[28]};console[_0xa5b1[25]](_0xa5b1[29],mxLanguage);var mxLanguages=[_0xa5b1[30],_0xa5b1[31],_0xa5b1[32],_0xa5b1[33],_0xa5b1[34],_0xa5b1[35],_0xa5b1[36],_0xa5b1[37],_0xa5b1[38],_0xa5b1[39],_0xa5b1[40],_0xa5b1[28],_0xa5b1[41],_0xa5b1[42],_0xa5b1[43],_0xa5b1[44],_0xa5b1[45],_0xa5b1[46],_0xa5b1[47],_0xa5b1[48],_0xa5b1[49],_0xa5b1[50],_0xa5b1[51],_0xa5b1[52],_0xa5b1[53],_0xa5b1[54],_0xa5b1[55]];var mxBasePath=_0xa5b1[56];var geBasePath=_0xa5b1[57];var ISPEECHLANG={usenglishfemale:_0xa5b1[58],usenglishmale:_0xa5b1[59],ukenglishfemale:_0xa5b1[60],ukenglishmale:_0xa5b1[61],auenglishfemale:_0xa5b1[62],usspanishfemale:_0xa5b1[63],usspanishmale:_0xa5b1[64],chchinesefemale:_0xa5b1[65],chchinesemale:_0xa5b1[66],hkchinesefemale:_0xa5b1[67],twchinesefemale:_0xa5b1[68],jpjapanesefemale:_0xa5b1[69],jpjapanesemale:_0xa5b1[70],krkoreanfemale:_0xa5b1[71],krkoreanmale:_0xa5b1[72],caenglishfemale:_0xa5b1[73],huhungarianfemale:_0xa5b1[74],brportuguesefemale:_0xa5b1[75],eurportuguesefemale:_0xa5b1[76],eurportuguesemale:_0xa5b1[77],eurspanishfemale:_0xa5b1[78],eurspanishmale:_0xa5b1[79],eurcatalanfemale:_0xa5b1[80],eurczechfemale:_0xa5b1[81],eurdanishfemale:_0xa5b1[82],eurfinnishfemale:_0xa5b1[83],eurfrenchfemale:_0xa5b1[84],eurfrenchmale:_0xa5b1[85],eurnorwegianfemale:_0xa5b1[86],eurdutchfemale:_0xa5b1[87],eurpolishfemale:_0xa5b1[88],euritalianfemale:_0xa5b1[89],eurturkishfemale:_0xa5b1[90],eurturkishmale:_0xa5b1[91],eurgermanfemale:_0xa5b1[92],eurgermanmale:_0xa5b1[93],rurussianfemale:_0xa5b1[94],rurussianmale:_0xa5b1[95],swswedishfemale:_0xa5b1[96],cafrenchfemale:_0xa5b1[97],cafrenchmale:_0xa5b1[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0xa5b1[99],"\x65\x6E\x2D\x43\x41":_0xa5b1[100],"\x65\x6E\x2D\x47\x42":_0xa5b1[101],"\x65\x6E\x2D\x41\x55":_0xa5b1[102],"\x65\x73\x2D\x45\x53":_0xa5b1[103],"\x65\x73\x2D\x4D\x58":_0xa5b1[104],"\x69\x74\x2D\x49\x54":_0xa5b1[105],"\x66\x72\x2D\x46\x52":_0xa5b1[106],"\x66\x72\x2D\x43\x41":_0xa5b1[107],"\x70\x6C\x2D\x50\x4C":_0xa5b1[108],"\x70\x74\x2D\x50\x54":_0xa5b1[109],"\x63\x61\x2D\x45\x53":_0xa5b1[110],"\x7A\x68\x2D\x54\x57":_0xa5b1[111],"\x64\x61\x2D\x44\x4B":_0xa5b1[112],"\x66\x72\x2D\x46\x52":_0xa5b1[113],"\x6A\x61\x2D\x4A\x50":_0xa5b1[114],"\x6B\x6F\x2D\x4B\x52":_0xa5b1[115],"\x6E\x6C\x2D\x4E\x4C":_0xa5b1[116],"\x6E\x62\x2D\x4E\x4F":_0xa5b1[117],"\x70\x74\x2D\x42\x52":_0xa5b1[118],"\x72\x75\x2D\x52\x55":_0xa5b1[119],"\x73\x76\x2D\x53\x45":_0xa5b1[120],"\x7A\x68\x2D\x43\x4E":_0xa5b1[121],"\x7A\x68\x2D\x48\x4B":_0xa5b1[122]};var ISPEECHASRMODEL={0:_0xa5b1[123],date:_0xa5b1[124],usmoney:_0xa5b1[125],numbersto9:_0xa5b1[126],numbersto99:_0xa5b1[127],numbersto999:_0xa5b1[128],time:_0xa5b1[129],phonenumber:_0xa5b1[130],streets:_0xa5b1[131],citystate:_0xa5b1[132]};var GOOGLETTSLANG={"\x61\x66":_0xa5b1[133],"\x73\x71":_0xa5b1[134],"\x61\x6D":_0xa5b1[135],"\x61\x72":_0xa5b1[136],"\x68\x79":_0xa5b1[137],"\x61\x7A":_0xa5b1[138],"\x65\x75":_0xa5b1[139],"\x62\x65":_0xa5b1[140],"\x62\x6E":_0xa5b1[141],"\x62\x68":_0xa5b1[142],"\x62\x73":_0xa5b1[143],"\x62\x72":_0xa5b1[144],"\x62\x67":_0xa5b1[145],"\x6B\x6D":_0xa5b1[146],"\x63\x61":_0xa5b1[147],"\x7A\x68\x2D\x43\x4E":_0xa5b1[148],"\x7A\x68\x2D\x54\x57":_0xa5b1[149],"\x63\x6F":_0xa5b1[150],"\x68\x72":_0xa5b1[151],"\x63\x73":_0xa5b1[152],"\x64\x61":_0xa5b1[153],"\x6E\x6C":_0xa5b1[154],"\x65\x6E":_0xa5b1[155],"\x65\x6F":_0xa5b1[156],"\x65\x74":_0xa5b1[157],"\x66\x6F":_0xa5b1[158],"\x74\x6C":_0xa5b1[159],"\x66\x69":_0xa5b1[160],"\x66\x72":_0xa5b1[161],"\x66\x79":_0xa5b1[162],"\x67\x6C":_0xa5b1[163],"\x6B\x61":_0xa5b1[164],"\x64\x65":_0xa5b1[165],"\x65\x6C":_0xa5b1[166],"\x67\x6E":_0xa5b1[167],"\x67\x75":_0xa5b1[168],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0xa5b1[169],"\x68\x61":_0xa5b1[170],"\x69\x77":_0xa5b1[171],"\x68\x69":_0xa5b1[172],"\x68\x75":_0xa5b1[173],"\x69\x73":_0xa5b1[174],"\x69\x64":_0xa5b1[175],"\x69\x61":_0xa5b1[176],"\x67\x61":_0xa5b1[177],"\x69\x74":_0xa5b1[178],"\x6A\x77":_0xa5b1[179],"\x6A\x61":_0xa5b1[180],"\x6B\x6E":_0xa5b1[181],"\x6B\x6B":_0xa5b1[182],"\x72\x77":_0xa5b1[183],"\x72\x6E":_0xa5b1[184],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0xa5b1[185],"\x6B\x75":_0xa5b1[186],"\x6B\x6F":_0xa5b1[187],"\x6B\x79":_0xa5b1[188],"\x6C\x6F":_0xa5b1[189],"\x6C\x61":_0xa5b1[190],"\x6C\x76":_0xa5b1[191],"\x6C\x6E":_0xa5b1[192],"\x6C\x74":_0xa5b1[193],"\x6D\x6B":_0xa5b1[194],"\x6D\x67":_0xa5b1[195],"\x6D\x73":_0xa5b1[196],"\x6D\x6C":_0xa5b1[197],"\x6D\x74":_0xa5b1[198],"\x6D\x69":_0xa5b1[199],"\x6D\x72":_0xa5b1[200],"\x6D\x6F":_0xa5b1[201],"\x6D\x6E":_0xa5b1[202],"\x73\x72\x2D\x4D\x45":_0xa5b1[203],"\x6E\x65":_0xa5b1[204],"\x6E\x6F":_0xa5b1[205],"\x6E\x6E":_0xa5b1[206],"\x6F\x63":_0xa5b1[207],"\x6F\x72":_0xa5b1[208],"\x6F\x6D":_0xa5b1[209],"\x70\x73":_0xa5b1[210],"\x66\x61":_0xa5b1[211],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0xa5b1[212],"\x70\x6C":_0xa5b1[213],"\x70\x74\x2D\x42\x52":_0xa5b1[118],"\x70\x74\x2D\x50\x54":_0xa5b1[109],"\x70\x61":_0xa5b1[214],"\x71\x75":_0xa5b1[215],"\x72\x6F":_0xa5b1[216],"\x72\x6D":_0xa5b1[217],"\x72\x75":_0xa5b1[218],"\x67\x64":_0xa5b1[219],"\x73\x72":_0xa5b1[220],"\x73\x68":_0xa5b1[221],"\x73\x74":_0xa5b1[222],"\x73\x6E":_0xa5b1[223],"\x73\x64":_0xa5b1[224],"\x73\x69":_0xa5b1[225],"\x73\x6B":_0xa5b1[226],"\x73\x6C":_0xa5b1[227],"\x73\x6F":_0xa5b1[228],"\x65\x73":_0xa5b1[229],"\x73\x75":_0xa5b1[230],"\x73\x77":_0xa5b1[231],"\x73\x76":_0xa5b1[232],"\x74\x67":_0xa5b1[233],"\x74\x61":_0xa5b1[234],"\x74\x74":_0xa5b1[235],"\x74\x65":_0xa5b1[236],"\x74\x68":_0xa5b1[237],"\x74\x69":_0xa5b1[238],"\x74\x6F":_0xa5b1[239],"\x74\x72":_0xa5b1[240],"\x74\x6B":_0xa5b1[241],"\x74\x77":_0xa5b1[242],"\x75\x67":_0xa5b1[243],"\x75\x6B":_0xa5b1[244],"\x75\x72":_0xa5b1[245],"\x75\x7A":_0xa5b1[246],"\x76\x69":_0xa5b1[247],"\x63\x79":_0xa5b1[248],"\x78\x68":_0xa5b1[249],"\x79\x69":_0xa5b1[250],"\x79\x6F":_0xa5b1[251],"\x7A\x75":_0xa5b1[252]} \ No newline at end of file +var _0xa026=["\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(_0xea99x2){var _0xea99x3= new Object();var _0xea99x4=_0xea99x2[_0xa026[3]](_0xa026[2]);if(_0xea99x4>0){var _0xea99x5=_0xea99x2[_0xa026[6]](_0xea99x4+1)[_0xa026[5]](_0xa026[4]);for(var _0xea99x6=0;_0xea99x6<_0xea99x5[_0xa026[7]];_0xea99x6++){_0xea99x4=_0xea99x5[_0xea99x6][_0xa026[9]](_0xa026[8]);if(_0xea99x4>0){_0xea99x3[_0xea99x5[_0xea99x6][_0xa026[6]](0,_0xea99x4)]=_0xea99x5[_0xea99x6][_0xa026[6]](_0xea99x4+1)}}};return _0xea99x3})(window[_0xa026[1]][_0xa026[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0xa026[10];var SHARE_HOST=_0xa026[11];var SAVE_URL=_0xa026[12];var VARIABLE_URL=_0xa026[13];var STENCIL_PATH=_0xa026[14];var SHAPES_PATH=_0xa026[15];var IMAGE_PATH=_0xa026[16];var STYLE_PATH=_0xa026[17];var CSS_PATH=_0xa026[17];var OPEN_FORM=_0xa026[18];var TEMPLATE_PATH=_0xa026[19];var RESOURCES_PATH=_0xa026[20];var RESOURCE_BASE=RESOURCES_PATH+_0xa026[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;console[_0xa026[25]](_0xa026[22],localStorage[_0xa026[24]](_0xa026[23]));switch(localStorage[_0xa026[24]](_0xa026[23])){case _0xa026[27]:mxLanguage=_0xa026[26];break;case _0xa026[28]:mxLanguage=_0xa026[28];break;default:mxLanguage=_0xa026[28]};console[_0xa026[25]](_0xa026[29],mxLanguage);var mxLanguages=[_0xa026[30],_0xa026[31],_0xa026[32],_0xa026[33],_0xa026[34],_0xa026[35],_0xa026[36],_0xa026[37],_0xa026[38],_0xa026[39],_0xa026[40],_0xa026[28],_0xa026[41],_0xa026[42],_0xa026[43],_0xa026[44],_0xa026[45],_0xa026[46],_0xa026[47],_0xa026[48],_0xa026[49],_0xa026[50],_0xa026[51],_0xa026[52],_0xa026[53],_0xa026[54],_0xa026[55]];var mxBasePath=_0xa026[56];var geBasePath=_0xa026[57];var ISPEECHLANG={usenglishfemale:_0xa026[58],usenglishmale:_0xa026[59],ukenglishfemale:_0xa026[60],ukenglishmale:_0xa026[61],auenglishfemale:_0xa026[62],usspanishfemale:_0xa026[63],usspanishmale:_0xa026[64],chchinesefemale:_0xa026[65],chchinesemale:_0xa026[66],hkchinesefemale:_0xa026[67],twchinesefemale:_0xa026[68],jpjapanesefemale:_0xa026[69],jpjapanesemale:_0xa026[70],krkoreanfemale:_0xa026[71],krkoreanmale:_0xa026[72],caenglishfemale:_0xa026[73],huhungarianfemale:_0xa026[74],brportuguesefemale:_0xa026[75],eurportuguesefemale:_0xa026[76],eurportuguesemale:_0xa026[77],eurspanishfemale:_0xa026[78],eurspanishmale:_0xa026[79],eurcatalanfemale:_0xa026[80],eurczechfemale:_0xa026[81],eurdanishfemale:_0xa026[82],eurfinnishfemale:_0xa026[83],eurfrenchfemale:_0xa026[84],eurfrenchmale:_0xa026[85],eurnorwegianfemale:_0xa026[86],eurdutchfemale:_0xa026[87],eurpolishfemale:_0xa026[88],euritalianfemale:_0xa026[89],eurturkishfemale:_0xa026[90],eurturkishmale:_0xa026[91],eurgermanfemale:_0xa026[92],eurgermanmale:_0xa026[93],rurussianfemale:_0xa026[94],rurussianmale:_0xa026[95],swswedishfemale:_0xa026[96],cafrenchfemale:_0xa026[97],cafrenchmale:_0xa026[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0xa026[99],"\x65\x6E\x2D\x43\x41":_0xa026[100],"\x65\x6E\x2D\x47\x42":_0xa026[101],"\x65\x6E\x2D\x41\x55":_0xa026[102],"\x65\x73\x2D\x45\x53":_0xa026[103],"\x65\x73\x2D\x4D\x58":_0xa026[104],"\x69\x74\x2D\x49\x54":_0xa026[105],"\x66\x72\x2D\x46\x52":_0xa026[106],"\x66\x72\x2D\x43\x41":_0xa026[107],"\x70\x6C\x2D\x50\x4C":_0xa026[108],"\x70\x74\x2D\x50\x54":_0xa026[109],"\x63\x61\x2D\x45\x53":_0xa026[110],"\x7A\x68\x2D\x54\x57":_0xa026[111],"\x64\x61\x2D\x44\x4B":_0xa026[112],"\x66\x72\x2D\x46\x52":_0xa026[113],"\x6A\x61\x2D\x4A\x50":_0xa026[114],"\x6B\x6F\x2D\x4B\x52":_0xa026[115],"\x6E\x6C\x2D\x4E\x4C":_0xa026[116],"\x6E\x62\x2D\x4E\x4F":_0xa026[117],"\x70\x74\x2D\x42\x52":_0xa026[118],"\x72\x75\x2D\x52\x55":_0xa026[119],"\x73\x76\x2D\x53\x45":_0xa026[120],"\x7A\x68\x2D\x43\x4E":_0xa026[121],"\x7A\x68\x2D\x48\x4B":_0xa026[122]};var ISPEECHASRMODEL={0:_0xa026[123],date:_0xa026[124],usmoney:_0xa026[125],numbersto9:_0xa026[126],numbersto99:_0xa026[127],numbersto999:_0xa026[128],time:_0xa026[129],phonenumber:_0xa026[130],streets:_0xa026[131],citystate:_0xa026[132]};var GOOGLETTSLANG={"\x61\x66":_0xa026[133],"\x73\x71":_0xa026[134],"\x61\x6D":_0xa026[135],"\x61\x72":_0xa026[136],"\x68\x79":_0xa026[137],"\x61\x7A":_0xa026[138],"\x65\x75":_0xa026[139],"\x62\x65":_0xa026[140],"\x62\x6E":_0xa026[141],"\x62\x68":_0xa026[142],"\x62\x73":_0xa026[143],"\x62\x72":_0xa026[144],"\x62\x67":_0xa026[145],"\x6B\x6D":_0xa026[146],"\x63\x61":_0xa026[147],"\x7A\x68\x2D\x43\x4E":_0xa026[148],"\x7A\x68\x2D\x54\x57":_0xa026[149],"\x63\x6F":_0xa026[150],"\x68\x72":_0xa026[151],"\x63\x73":_0xa026[152],"\x64\x61":_0xa026[153],"\x6E\x6C":_0xa026[154],"\x65\x6E":_0xa026[155],"\x65\x6F":_0xa026[156],"\x65\x74":_0xa026[157],"\x66\x6F":_0xa026[158],"\x74\x6C":_0xa026[159],"\x66\x69":_0xa026[160],"\x66\x72":_0xa026[161],"\x66\x79":_0xa026[162],"\x67\x6C":_0xa026[163],"\x6B\x61":_0xa026[164],"\x64\x65":_0xa026[165],"\x65\x6C":_0xa026[166],"\x67\x6E":_0xa026[167],"\x67\x75":_0xa026[168],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0xa026[169],"\x68\x61":_0xa026[170],"\x69\x77":_0xa026[171],"\x68\x69":_0xa026[172],"\x68\x75":_0xa026[173],"\x69\x73":_0xa026[174],"\x69\x64":_0xa026[175],"\x69\x61":_0xa026[176],"\x67\x61":_0xa026[177],"\x69\x74":_0xa026[178],"\x6A\x77":_0xa026[179],"\x6A\x61":_0xa026[180],"\x6B\x6E":_0xa026[181],"\x6B\x6B":_0xa026[182],"\x72\x77":_0xa026[183],"\x72\x6E":_0xa026[184],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0xa026[185],"\x6B\x75":_0xa026[186],"\x6B\x6F":_0xa026[187],"\x6B\x79":_0xa026[188],"\x6C\x6F":_0xa026[189],"\x6C\x61":_0xa026[190],"\x6C\x76":_0xa026[191],"\x6C\x6E":_0xa026[192],"\x6C\x74":_0xa026[193],"\x6D\x6B":_0xa026[194],"\x6D\x67":_0xa026[195],"\x6D\x73":_0xa026[196],"\x6D\x6C":_0xa026[197],"\x6D\x74":_0xa026[198],"\x6D\x69":_0xa026[199],"\x6D\x72":_0xa026[200],"\x6D\x6F":_0xa026[201],"\x6D\x6E":_0xa026[202],"\x73\x72\x2D\x4D\x45":_0xa026[203],"\x6E\x65":_0xa026[204],"\x6E\x6F":_0xa026[205],"\x6E\x6E":_0xa026[206],"\x6F\x63":_0xa026[207],"\x6F\x72":_0xa026[208],"\x6F\x6D":_0xa026[209],"\x70\x73":_0xa026[210],"\x66\x61":_0xa026[211],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0xa026[212],"\x70\x6C":_0xa026[213],"\x70\x74\x2D\x42\x52":_0xa026[118],"\x70\x74\x2D\x50\x54":_0xa026[109],"\x70\x61":_0xa026[214],"\x71\x75":_0xa026[215],"\x72\x6F":_0xa026[216],"\x72\x6D":_0xa026[217],"\x72\x75":_0xa026[218],"\x67\x64":_0xa026[219],"\x73\x72":_0xa026[220],"\x73\x68":_0xa026[221],"\x73\x74":_0xa026[222],"\x73\x6E":_0xa026[223],"\x73\x64":_0xa026[224],"\x73\x69":_0xa026[225],"\x73\x6B":_0xa026[226],"\x73\x6C":_0xa026[227],"\x73\x6F":_0xa026[228],"\x65\x73":_0xa026[229],"\x73\x75":_0xa026[230],"\x73\x77":_0xa026[231],"\x73\x76":_0xa026[232],"\x74\x67":_0xa026[233],"\x74\x61":_0xa026[234],"\x74\x74":_0xa026[235],"\x74\x65":_0xa026[236],"\x74\x68":_0xa026[237],"\x74\x69":_0xa026[238],"\x74\x6F":_0xa026[239],"\x74\x72":_0xa026[240],"\x74\x6B":_0xa026[241],"\x74\x77":_0xa026[242],"\x75\x67":_0xa026[243],"\x75\x6B":_0xa026[244],"\x75\x72":_0xa026[245],"\x75\x7A":_0xa026[246],"\x76\x69":_0xa026[247],"\x63\x79":_0xa026[248],"\x78\x68":_0xa026[249],"\x79\x69":_0xa026[250],"\x79\x6F":_0xa026[251],"\x7A\x75":_0xa026[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 d803170..35eaa69 100644 --- a/public/assets/plugins/mxgraph/js/mxClient.js +++ b/public/assets/plugins/mxgraph/js/mxClient.js @@ -1 +1 @@ -var _0xa1fe=["\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:_0xa1fe[0],IS_IE:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[1]),IS_IE6:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[4]),IS_QUIRKS:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[1])&&(null==document[_0xa1fe[5]]||5==document[_0xa1fe[5]]),VML_PREFIX:_0xa1fe[6],OFFICE_PREFIX:_0xa1fe[7],IS_NS:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[8])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[1]),IS_OP:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[9]),IS_OT:0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[10])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[11])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[12])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[13])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[14])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[15]),IS_SF:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[16])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[17]),IS_GC:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[17]),IS_MT:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[18])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[19])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[20])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[21])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[22])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[23])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[24])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[25])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[26])&&0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[27]),IS_SVG:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[18])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[21])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[28])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[26])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[29])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[30])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[16])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[31])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[9]),NO_FO:0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[19])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[22])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[20])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[23])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[25])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[27])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[32])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[33])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[9])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[1])||0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[34]),IS_VML:_0xa1fe[35]==navigator[_0xa1fe[37]][_0xa1fe[36]](),IS_MAC:0<navigator[_0xa1fe[3]][_0xa1fe[36]]()[_0xa1fe[2]](_0xa1fe[38]),IS_TOUCH:0<navigator[_0xa1fe[3]][_0xa1fe[36]]()[_0xa1fe[2]](_0xa1fe[39])||0<navigator[_0xa1fe[3]][_0xa1fe[36]]()[_0xa1fe[2]](_0xa1fe[40])||0<navigator[_0xa1fe[3]][_0xa1fe[36]]()[_0xa1fe[2]](_0xa1fe[41])||0<navigator[_0xa1fe[3]][_0xa1fe[36]]()[_0xa1fe[2]](_0xa1fe[42]),IS_LOCAL:0>document[_0xa1fe[45]][_0xa1fe[44]][_0xa1fe[2]](_0xa1fe[43])&&0>document[_0xa1fe[45]][_0xa1fe[44]][_0xa1fe[2]](_0xa1fe[46]),isBrowserSupported:function(){return mxClient[_0xa1fe[47]]||mxClient[_0xa1fe[48]]},link:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=_0xfc29x4||document;if(mxClient[_0xa1fe[49]]){_0xfc29x4[_0xa1fe[53]](_0xa1fe[50]+_0xfc29x2+_0xa1fe[51]+_0xfc29x3+_0xa1fe[52])}else {var _0xfc29x5=_0xfc29x4[_0xa1fe[55]](_0xa1fe[54]);_0xfc29x5[_0xa1fe[57]](_0xa1fe[56],_0xfc29x2);_0xfc29x5[_0xa1fe[57]](_0xa1fe[44],_0xfc29x3);_0xfc29x5[_0xa1fe[57]](_0xa1fe[58],_0xa1fe[59]);_0xfc29x5[_0xa1fe[57]](_0xa1fe[60],_0xa1fe[61]);_0xfc29x4[_0xa1fe[64]](_0xa1fe[63])[0][_0xa1fe[62]](_0xfc29x5)}},include:function(_0xfc29x2){document[_0xa1fe[53]](_0xa1fe[65]+_0xfc29x2+_0xa1fe[66])},dispose:function(){for(var _0xfc29x2=0;_0xfc29x2<mxEvent[_0xa1fe[68]][_0xa1fe[67]];_0xfc29x2++){null!=mxEvent[_0xa1fe[68]][_0xfc29x2][_0xa1fe[69]]&&mxEvent[_0xa1fe[70]](mxEvent[_0xa1fe[68]][_0xfc29x2])}}};mxClient[_0xa1fe[71]]&&mxClient[_0xa1fe[72]]?mxClient[_0xa1fe[73]]=_0xa1fe[74]:mxClient[_0xa1fe[75]]||mxClient[_0xa1fe[76]]?mxClient[_0xa1fe[73]]=_0xa1fe[77]:mxClient[_0xa1fe[78]]?mxClient[_0xa1fe[73]]=_0xa1fe[79]:mxClient[_0xa1fe[80]]&&9<=document[_0xa1fe[5]]&&(mxClient[_0xa1fe[73]]=_0xa1fe[81]);_0xa1fe[82]== typeof mxLoadResources&&(mxLoadResources= !0);_0xa1fe[82]== typeof mxResourceExtension&&(mxResourceExtension=_0xa1fe[83]);_0xa1fe[82]== typeof mxLoadStylesheets&&(mxLoadStylesheets= !0);_0xa1fe[82]!= typeof mxBasePath&&0<mxBasePath[_0xa1fe[67]]?(_0xa1fe[84]==mxBasePath[_0xa1fe[85]](mxBasePath[_0xa1fe[67]]-1)&&(mxBasePath=mxBasePath[_0xa1fe[85]](0,mxBasePath[_0xa1fe[67]]-1)),mxClient[_0xa1fe[86]]=mxBasePath):mxClient[_0xa1fe[86]]=_0xa1fe[87];_0xa1fe[82]!= typeof mxImageBasePath&&0<mxImageBasePath[_0xa1fe[67]]?(_0xa1fe[84]==mxImageBasePath[_0xa1fe[85]](mxImageBasePath[_0xa1fe[67]]-1)&&(mxImageBasePath=mxImageBasePath[_0xa1fe[85]](0,mxImageBasePath[_0xa1fe[67]]-1)),mxClient[_0xa1fe[88]]=mxImageBasePath):mxClient[_0xa1fe[88]]=mxClient[_0xa1fe[86]]+_0xa1fe[89];mxClient[_0xa1fe[90]]=_0xa1fe[82]!= typeof mxLanguage?mxLanguage:mxClient[_0xa1fe[80]]?navigator[_0xa1fe[91]]:navigator[_0xa1fe[90]];mxClient[_0xa1fe[92]]=_0xa1fe[82]!= typeof mxDefaultLanguage?mxDefaultLanguage:_0xa1fe[93];mxLoadStylesheets&&mxClient[_0xa1fe[54]](_0xa1fe[94],mxClient[_0xa1fe[86]]+_0xa1fe[95]);_0xa1fe[82]!= typeof mxLanguages&&(mxClient[_0xa1fe[96]]=mxLanguages);if(mxClient[_0xa1fe[80]]){if(9<=document[_0xa1fe[5]]){mxClient[_0xa1fe[47]]= !1,mxClient[_0xa1fe[48]]= !0}else {8==document[_0xa1fe[5]]?(document[_0xa1fe[100]][_0xa1fe[99]](mxClient.VML_PREFIX,_0xa1fe[97],_0xa1fe[98]),document[_0xa1fe[100]][_0xa1fe[99]](mxClient.OFFICE_PREFIX,_0xa1fe[101],_0xa1fe[98])):(document[_0xa1fe[100]][_0xa1fe[99]](mxClient.VML_PREFIX,_0xa1fe[97]),document[_0xa1fe[100]][_0xa1fe[99]](mxClient.OFFICE_PREFIX,_0xa1fe[101]));var ss=document[_0xa1fe[102]]();ss[_0xa1fe[103]]=_0xa1fe[104];mxLoadStylesheets&&mxClient[_0xa1fe[54]](_0xa1fe[94],mxClient[_0xa1fe[86]]+_0xa1fe[105])};window[_0xa1fe[108]](_0xa1fe[106],mxClient[_0xa1fe[107]])};var mxLog={consoleName:_0xa1fe[109],TRACE:!1,DEBUG:!0,WARN:!0,buffer:_0xa1fe[110],init:function(){if(null==mxLog[_0xa1fe[111]]&&null!=document[_0xa1fe[112]]){var _0xfc29x2=mxLog[_0xa1fe[113]]+_0xa1fe[114]+mxClient[_0xa1fe[115]],_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[116]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[117],_0xa1fe[118]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[119],_0xa1fe[118]);var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[120]),_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[121]),_0xfc29x9=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[123]]=_0xa1fe[125];mxLog[_0xa1fe[126]]=document[_0xa1fe[55]](_0xa1fe[126]);mxLog[_0xa1fe[126]][_0xa1fe[57]](_0xa1fe[127],_0xa1fe[128]);mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[118];mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[129]]=_0xa1fe[130];mxLog[_0xa1fe[126]][_0xa1fe[131]]=mxLog[_0xa1fe[132]];mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[117]]=mxClient[_0xa1fe[133]]&&_0xa1fe[134]!=document[_0xa1fe[135]]?_0xa1fe[136]:_0xa1fe[118];_0xfc29x9[_0xa1fe[62]](mxLog[_0xa1fe[126]]);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[121]);mxLog[_0xa1fe[122]]=document[_0xa1fe[55]](_0xa1fe[122]);mxLog[_0xa1fe[122]][_0xa1fe[124]][_0xa1fe[123]]=_0xa1fe[125];mxLog[_0xa1fe[122]][_0xa1fe[57]](_0xa1fe[119],_0xa1fe[137]);_0xfc29x5[_0xa1fe[62]](mxLog[_0xa1fe[122]]);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x3[_0xa1fe[62]](_0xfc29x4);mxLog[_0xa1fe[140]](_0xa1fe[138],function(_0xfc29x2){mxLog[_0xa1fe[139]]()});mxLog[_0xa1fe[140]](_0xa1fe[141],function(_0xfc29x2){_0xfc29x2=mxUtils[_0xa1fe[142]](document[_0xa1fe[112]]);mxLog[_0xa1fe[143]](_0xfc29x2)});mxLog[_0xa1fe[140]](_0xa1fe[144],function(_0xfc29x2){mxLog[_0xa1fe[145]]=!mxLog[_0xa1fe[145]];mxLog[_0xa1fe[145]]?mxLog[_0xa1fe[143]](_0xa1fe[146]):mxLog[_0xa1fe[143]](_0xa1fe[147])});mxLog[_0xa1fe[140]](_0xa1fe[148],function(_0xfc29x2){try{mxUtils[_0xa1fe[149]](mxLog[_0xa1fe[126]][_0xa1fe[131]])}catch(_0xfc29x3){mxUtils[_0xa1fe[150]](_0xfc29x3)}});mxLog[_0xa1fe[140]](_0xa1fe[151],function(_0xfc29x2){try{mxUtils[_0xa1fe[152]](mxLog[_0xa1fe[126]][_0xa1fe[131]])}catch(_0xfc29x3){mxUtils[_0xa1fe[150]](_0xfc29x3)}});mxLog[_0xa1fe[140]](_0xa1fe[153],function(_0xfc29x2){mxLog[_0xa1fe[126]][_0xa1fe[131]]=_0xa1fe[110]});_0xfc29x5=_0xfc29x4=0;_0xa1fe[154]=== typeof window[_0xa1fe[155]]?(_0xfc29x4=window[_0xa1fe[156]],_0xfc29x5=window[_0xa1fe[155]]):(_0xfc29x4=document[_0xa1fe[158]][_0xa1fe[157]]||document[_0xa1fe[112]][_0xa1fe[157]],_0xfc29x5=document[_0xa1fe[112]][_0xa1fe[159]]);mxLog[_0xa1fe[111]]= new mxWindow(_0xfc29x2,_0xfc29x3,Math[_0xa1fe[160]](0,_0xfc29x5-320),Math[_0xa1fe[160]](0,_0xfc29x4-210),300,160);mxLog[_0xa1fe[111]][_0xa1fe[161]](!0);mxLog[_0xa1fe[111]][_0xa1fe[162]](!1);mxLog[_0xa1fe[111]][_0xa1fe[163]](!0);mxLog[_0xa1fe[111]][_0xa1fe[164]](!0);mxLog[_0xa1fe[111]][_0xa1fe[165]]= !1;if((mxClient[_0xa1fe[133]]||mxClient[_0xa1fe[80]])&&!mxClient[_0xa1fe[76]]&&!mxClient[_0xa1fe[75]]&&_0xa1fe[134]!=document[_0xa1fe[135]]){var _0xfc29xa=mxLog[_0xa1fe[111]][_0xa1fe[166]](),_0xfc29x2=function(_0xfc29x2,_0xfc29x3){mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[160]](0,_0xfc29xa[_0xa1fe[167]]-70)+_0xa1fe[168]};mxLog[_0xa1fe[111]][_0xa1fe[169]](mxEvent.RESIZE_END,_0xfc29x2);mxLog[_0xa1fe[111]][_0xa1fe[169]](mxEvent.MAXIMIZE,_0xfc29x2);mxLog[_0xa1fe[111]][_0xa1fe[169]](mxEvent.NORMALIZE,_0xfc29x2);mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[170]}}},info:function(){mxLog[_0xa1fe[171]](mxUtils.toString(navigator))},addButton:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[172]);mxUtils[_0xa1fe[53]](_0xfc29x4,_0xfc29x2);mxEvent[_0xa1fe[169]](_0xfc29x4,_0xa1fe[173],_0xfc29x3);mxLog[_0xa1fe[122]][_0xa1fe[62]](_0xfc29x4)},isVisible:function(){return null!=mxLog[_0xa1fe[111]]?mxLog[_0xa1fe[111]][_0xa1fe[174]]():!1},show:function(){mxLog[_0xa1fe[175]](!0)},setVisible:function(_0xfc29x2){null==mxLog[_0xa1fe[111]]&&mxLog[_0xa1fe[176]]();null!=mxLog[_0xa1fe[111]]&&mxLog[_0xa1fe[111]][_0xa1fe[175]](_0xfc29x2)},enter:function(_0xfc29x2){if(mxLog[_0xa1fe[145]]){return mxLog[_0xa1fe[171]](_0xa1fe[177]+_0xfc29x2),( new Date)[_0xa1fe[178]]()}},leave:function(_0xfc29x2,_0xfc29x3){if(mxLog[_0xa1fe[145]]){var _0xfc29x4=0!=_0xfc29x3?_0xa1fe[179]+(( new Date)[_0xa1fe[178]]()-_0xfc29x3)+_0xa1fe[180]:_0xa1fe[110];mxLog[_0xa1fe[171]](_0xa1fe[181]+_0xfc29x2+_0xfc29x4)}},debug:function(){mxLog[_0xa1fe[182]]&&mxLog[_0xa1fe[171]][_0xa1fe[183]](this,arguments)},warn:function(){mxLog[_0xa1fe[184]]&&mxLog[_0xa1fe[171]][_0xa1fe[183]](this,arguments)},write:function(){for(var _0xfc29x2=_0xa1fe[110],_0xfc29x3=0;_0xfc29x3<arguments[_0xa1fe[67]];_0xfc29x3++){_0xfc29x2+=arguments[_0xfc29x3],_0xfc29x3<arguments[_0xa1fe[67]]-1&&(_0xfc29x2+=_0xa1fe[185])};null!=mxLog[_0xa1fe[126]]?(mxLog[_0xa1fe[126]][_0xa1fe[131]]+=_0xfc29x2,0<=navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[186])&&(mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],mxLog[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189]),mxLog[_0xa1fe[126]][_0xa1fe[190]]=mxLog[_0xa1fe[126]][_0xa1fe[191]]):mxLog[_0xa1fe[132]]+=_0xfc29x2},writeln:function(){for(var _0xfc29x2=_0xa1fe[110],_0xfc29x3=0;_0xfc29x3<arguments[_0xa1fe[67]];_0xfc29x3++){_0xfc29x2+=arguments[_0xfc29x3],_0xfc29x3<arguments[_0xa1fe[67]]-1&&(_0xfc29x2+=_0xa1fe[185])};mxLog[_0xa1fe[53]](_0xfc29x2+_0xa1fe[192])}},mxObjectIdentity={FIELD_NAME:_0xa1fe[193],counter:0,get:function(_0xfc29x2){if(_0xa1fe[194]== typeof _0xfc29x2&&null==_0xfc29x2[mxObjectIdentity[_0xa1fe[195]]]){var _0xfc29x3=mxUtils[_0xa1fe[197]](_0xfc29x2[_0xa1fe[196]]);_0xfc29x2[mxObjectIdentity[_0xa1fe[195]]]=_0xfc29x3+_0xa1fe[198]+mxObjectIdentity[_0xa1fe[199]]++};return _0xfc29x2[mxObjectIdentity[_0xa1fe[195]]]},clear:function(_0xfc29x2){_0xa1fe[194]== typeof _0xfc29x2&& delete _0xfc29x2[mxObjectIdentity[_0xa1fe[195]]]}};function mxDictionary(){this[_0xa1fe[200]]()}mxDictionary[_0xa1fe[202]][_0xa1fe[201]]=null;mxDictionary[_0xa1fe[202]][_0xa1fe[200]]=function(){this[_0xa1fe[201]]={}};mxDictionary[_0xa1fe[202]][_0xa1fe[203]]=function(_0xfc29x2){_0xfc29x2=mxObjectIdentity[_0xa1fe[203]](_0xfc29x2);return this[_0xa1fe[201]][_0xfc29x2]};mxDictionary[_0xa1fe[202]][_0xa1fe[204]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxObjectIdentity[_0xa1fe[203]](_0xfc29x2),_0xfc29x5=this[_0xa1fe[201]][_0xfc29x4];this[_0xa1fe[201]][_0xfc29x4]=_0xfc29x3;return _0xfc29x5};mxDictionary[_0xa1fe[202]][_0xa1fe[205]]=function(_0xfc29x2){_0xfc29x2=mxObjectIdentity[_0xa1fe[203]](_0xfc29x2);var _0xfc29x3=this[_0xa1fe[201]][_0xfc29x2];delete this[_0xa1fe[201]][_0xfc29x2];return _0xfc29x3};mxDictionary[_0xa1fe[202]][_0xa1fe[206]]=function(){var _0xfc29x2=[],_0xfc29x3;for(_0xfc29x3 in this[_0xa1fe[201]]){_0xfc29x2[_0xa1fe[207]](_0xfc29x3)};return _0xfc29x2};mxDictionary[_0xa1fe[202]][_0xa1fe[208]]=function(){var _0xfc29x2=[],_0xfc29x3;for(_0xfc29x3 in this[_0xa1fe[201]]){_0xfc29x2[_0xa1fe[207]](this[_0xa1fe[201]][_0xfc29x3])};return _0xfc29x2};mxDictionary[_0xa1fe[202]][_0xa1fe[209]]=function(_0xfc29x2){for(var _0xfc29x3 in this[_0xa1fe[201]]){_0xfc29x2(_0xfc29x3,this[_0xa1fe[201]][_0xfc29x3])}};var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(_0xfc29x2){return null!=mxClient[_0xa1fe[96]]?0<=mxUtils[_0xa1fe[2]](mxClient[_0xa1fe[96]],_0xfc29x2):!0},getDefaultBundle:function(_0xfc29x2,_0xfc29x3){return mxResources[_0xa1fe[210]]||!mxResources[_0xa1fe[211]](_0xfc29x3)?_0xfc29x2+mxResources[_0xa1fe[212]]:null},getSpecialBundle:function(_0xfc29x2,_0xfc29x3){if(null==mxClient[_0xa1fe[96]]||!this[_0xa1fe[211]](_0xfc29x3)){var _0xfc29x4=_0xfc29x3[_0xa1fe[2]](_0xa1fe[213]);0<_0xfc29x4&&(_0xfc29x3=_0xfc29x3[_0xa1fe[85]](0,_0xfc29x4))};return mxResources[_0xa1fe[214]]&&mxResources[_0xa1fe[211]](_0xfc29x3)&&_0xfc29x3!=mxClient[_0xa1fe[92]]?_0xfc29x2+_0xa1fe[215]+_0xfc29x3+mxResources[_0xa1fe[212]]:null},add:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:mxClient[_0xa1fe[90]][_0xa1fe[216]]();if(_0xfc29x3!=mxConstants[_0xa1fe[217]]){var _0xfc29x4=mxResources[_0xa1fe[218]](_0xfc29x2,_0xfc29x3);if(null!=_0xfc29x4){try{var _0xfc29x5=mxUtils[_0xa1fe[219]](_0xfc29x4);_0xfc29x5[_0xa1fe[220]]()&&mxResources[_0xa1fe[222]](_0xfc29x5[_0xa1fe[221]]())}catch(e){}};_0xfc29x4=mxResources[_0xa1fe[223]](_0xfc29x2,_0xfc29x3);if(null!=_0xfc29x4){try{_0xfc29x5=mxUtils[_0xa1fe[219]](_0xfc29x4),_0xfc29x5[_0xa1fe[220]]()&&mxResources[_0xa1fe[222]](_0xfc29x5[_0xa1fe[221]]())}catch(f){}}}},parse:function(_0xfc29x2){if(null!=_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[224]](_0xa1fe[192]);for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){if(_0xa1fe[198]!=_0xfc29x2[_0xfc29x3][_0xa1fe[225]](0)){var _0xfc29x4=_0xfc29x2[_0xfc29x3][_0xa1fe[2]](_0xa1fe[226]);if(0<_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xfc29x3][_0xa1fe[85]](0,_0xfc29x4),_0xfc29x9=_0xfc29x2[_0xfc29x3][_0xa1fe[67]];13==_0xfc29x2[_0xfc29x3][_0xa1fe[227]](_0xfc29x9-1)&&_0xfc29x9--;_0xfc29x4=_0xfc29x2[_0xfc29x3][_0xa1fe[85]](_0xfc29x4+1,_0xfc29x9);this[_0xa1fe[228]]?(_0xfc29x4=_0xfc29x4[_0xa1fe[230]](/\\(?=u[a-fA-F\d]{4})/g,_0xa1fe[229]),mxResources[_0xa1fe[231]][_0xfc29x5]=unescape(_0xfc29x4)):mxResources[_0xa1fe[231]][_0xfc29x5]=_0xfc29x4}}}}},get:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=mxResources[_0xa1fe[231]][_0xfc29x2];null==_0xfc29x2&&(_0xfc29x2=_0xfc29x4);if(null!=_0xfc29x2&&null!=_0xfc29x3){_0xfc29x4=[];for(var _0xfc29x5=null,_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=_0xfc29x2[_0xa1fe[225]](_0xfc29x9);_0xa1fe[232]==_0xfc29xa?_0xfc29x5=_0xa1fe[110]:null!=_0xfc29x5&&_0xa1fe[233]==_0xfc29xa?(_0xfc29x5=parseInt(_0xfc29x5)-1,0<=_0xfc29x5&&_0xfc29x5<_0xfc29x3[_0xa1fe[67]]&&_0xfc29x4[_0xa1fe[207]](_0xfc29x3[_0xfc29x5]),_0xfc29x5=null):null!=_0xfc29x5?_0xfc29x5+=_0xfc29xa:_0xfc29x4[_0xa1fe[207]](_0xfc29xa)};_0xfc29x2=_0xfc29x4[_0xa1fe[234]](_0xa1fe[110])};return _0xfc29x2}};function mxPoint(_0xfc29x2,_0xfc29x3){this[_0xa1fe[235]]=null!=_0xfc29x2?_0xfc29x2:0;this[_0xa1fe[236]]=null!=_0xfc29x3?_0xfc29x3:0}mxPoint[_0xa1fe[202]][_0xa1fe[235]]=null;mxPoint[_0xa1fe[202]][_0xa1fe[236]]=null;mxPoint[_0xa1fe[202]][_0xa1fe[237]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[235]]==this[_0xa1fe[235]]&&_0xfc29x2[_0xa1fe[236]]==this[_0xa1fe[236]]};mxPoint[_0xa1fe[202]][_0xa1fe[238]]=function(){return mxUtils[_0xa1fe[238]](this)};function mxRectangle(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxPoint[_0xa1fe[239]](this,_0xfc29x2,_0xfc29x3);this[_0xa1fe[117]]=null!=_0xfc29x4?_0xfc29x4:0;this[_0xa1fe[119]]=null!=_0xfc29x5?_0xfc29x5:0}mxRectangle[_0xa1fe[202]]= new mxPoint;mxRectangle[_0xa1fe[202]][_0xa1fe[196]]=mxRectangle;mxRectangle[_0xa1fe[202]][_0xa1fe[117]]=null;mxRectangle[_0xa1fe[202]][_0xa1fe[119]]=null;mxRectangle[_0xa1fe[202]][_0xa1fe[240]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[235]]=_0xfc29x2;this[_0xa1fe[236]]=_0xfc29x3;this[_0xa1fe[117]]=_0xfc29x4;this[_0xa1fe[119]]=_0xfc29x5};mxRectangle[_0xa1fe[202]][_0xa1fe[241]]=function(){return this[_0xa1fe[235]]+this[_0xa1fe[117]]/2};mxRectangle[_0xa1fe[202]][_0xa1fe[242]]=function(){return this[_0xa1fe[236]]+this[_0xa1fe[119]]/2};mxRectangle[_0xa1fe[202]][_0xa1fe[99]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=Math[_0xa1fe[243]](this[_0xa1fe[235]],_0xfc29x2[_0xa1fe[235]]),_0xfc29x4=Math[_0xa1fe[243]](this[_0xa1fe[236]],_0xfc29x2[_0xa1fe[236]]),_0xfc29x5=Math[_0xa1fe[160]](this[_0xa1fe[235]]+this[_0xa1fe[117]],_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]);_0xfc29x2=Math[_0xa1fe[160]](this[_0xa1fe[236]]+this[_0xa1fe[119]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]);this[_0xa1fe[235]]=_0xfc29x3;this[_0xa1fe[236]]=_0xfc29x4;this[_0xa1fe[117]]=_0xfc29x5-_0xfc29x3;this[_0xa1fe[119]]=_0xfc29x2-_0xfc29x4}};mxRectangle[_0xa1fe[202]][_0xa1fe[244]]=function(_0xfc29x2){this[_0xa1fe[235]]-=_0xfc29x2;this[_0xa1fe[236]]-=_0xfc29x2;this[_0xa1fe[117]]+=2*_0xfc29x2;this[_0xa1fe[119]]+=2*_0xfc29x2};mxRectangle[_0xa1fe[202]][_0xa1fe[245]]=function(){return new mxPoint(this[_0xa1fe[235]],this[_0xa1fe[236]])};mxRectangle[_0xa1fe[202]][_0xa1fe[237]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[235]]==this[_0xa1fe[235]]&&_0xfc29x2[_0xa1fe[236]]==this[_0xa1fe[236]]&&_0xfc29x2[_0xa1fe[117]]==this[_0xa1fe[117]]&&_0xfc29x2[_0xa1fe[119]]==this[_0xa1fe[119]]};var mxEffects={animateChanges:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=0,_0xfc29x9=function(){for(var _0xfc29x12=!1,_0xfc29x13=0;_0xfc29x13<_0xfc29x3[_0xa1fe[67]];_0xfc29x13++){var _0xfc29x14=_0xfc29x3[_0xfc29x13];if(_0xfc29x14 instanceof mxGeometryChange||_0xfc29x14 instanceof mxTerminalChange||_0xfc29x14 instanceof mxValueChange||_0xfc29x14 instanceof mxChildChange||_0xfc29x14 instanceof mxStyleChange){var _0xfc29x15=_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x14[_0xa1fe[246]]||_0xfc29x14[_0xa1fe[247]],!1);if(null!=_0xfc29x15){if(_0xfc29x12= !0,_0xfc29x14[_0xa1fe[196]]!=mxGeometryChange||_0xfc29x2[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x14[_0xa1fe[246]])){mxUtils[_0xa1fe[254]](_0xfc29x15[_0xa1fe[253]][_0xa1fe[252]],100*_0xfc29x5/10)}else {var _0xfc29x16=_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x17=(_0xfc29x14[_0xa1fe[256]][_0xa1fe[235]]-_0xfc29x14[_0xa1fe[257]][_0xa1fe[235]])*_0xfc29x16,_0xfc29x18=(_0xfc29x14[_0xa1fe[256]][_0xa1fe[236]]-_0xfc29x14[_0xa1fe[257]][_0xa1fe[236]])*_0xfc29x16,_0xfc29x19=(_0xfc29x14[_0xa1fe[256]][_0xa1fe[117]]-_0xfc29x14[_0xa1fe[257]][_0xa1fe[117]])*_0xfc29x16,_0xfc29x16=(_0xfc29x14[_0xa1fe[256]][_0xa1fe[119]]-_0xfc29x14[_0xa1fe[257]][_0xa1fe[119]])*_0xfc29x16;0==_0xfc29x5?(_0xfc29x15[_0xa1fe[235]]-=_0xfc29x17,_0xfc29x15[_0xa1fe[236]]-=_0xfc29x18,_0xfc29x15[_0xa1fe[117]]-=_0xfc29x19,_0xfc29x15[_0xa1fe[119]]-=_0xfc29x16):(_0xfc29x15[_0xa1fe[235]]+=_0xfc29x17/10,_0xfc29x15[_0xa1fe[236]]+=_0xfc29x18/10,_0xfc29x15[_0xa1fe[117]]+=_0xfc29x19/10,_0xfc29x15[_0xa1fe[119]]+=_0xfc29x16/10);_0xfc29x2[_0xa1fe[259]][_0xa1fe[258]](_0xfc29x15);mxEffects[_0xa1fe[260]](_0xfc29x2,_0xfc29x14[_0xa1fe[246]],100*_0xfc29x5/10)}}}};10>_0xfc29x5&&_0xfc29x12?(_0xfc29x5++,window[_0xa1fe[261]](_0xfc29x9,_0xfc29xa)):null!=_0xfc29x4&&_0xfc29x4()},_0xfc29xa=30;_0xfc29x9()},cascadeOpacity:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x3),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=_0xfc29x2[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x3,_0xfc29x9),_0xfc29x12=_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29xa);null!=_0xfc29x12&&(mxUtils[_0xa1fe[254]](_0xfc29x12[_0xa1fe[253]][_0xa1fe[252]],_0xfc29x4),mxEffects[_0xa1fe[260]](_0xfc29x2,_0xfc29xa,_0xfc29x4))};_0xfc29x3=_0xfc29x2[_0xa1fe[251]][_0xa1fe[264]](_0xfc29x3);if(null!=_0xfc29x3){for(_0xfc29x9=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){_0xfc29x5=_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x3[_0xfc29x9]),null!=_0xfc29x5&&mxUtils[_0xa1fe[254]](_0xfc29x5[_0xa1fe[253]][_0xa1fe[252]],_0xfc29x4)}}},fadeOut:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x5=_0xfc29x5||40;_0xfc29x9=_0xfc29x9||30;var _0xfc29x12=_0xfc29x3||100;mxUtils[_0xa1fe[254]](_0xfc29x2,_0xfc29x12);if(_0xfc29xa||null==_0xfc29xa){var _0xfc29x13=function(){_0xfc29x12=Math[_0xa1fe[160]](_0xfc29x12-_0xfc29x5,0);mxUtils[_0xa1fe[254]](_0xfc29x2,_0xfc29x12);0<_0xfc29x12?window[_0xa1fe[261]](_0xfc29x13,_0xfc29x9):(_0xfc29x2[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],_0xfc29x4&&_0xfc29x2[_0xa1fe[265]]&&_0xfc29x2[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2))};window[_0xa1fe[261]](_0xfc29x13,_0xfc29x9)}else {_0xfc29x2[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],_0xfc29x4&&_0xfc29x2[_0xa1fe[265]]&&_0xfc29x2[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2)}}},mxUtils={errorResource:_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[267]:_0xa1fe[110],closeResource:_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[268]:_0xa1fe[110],errorImage:mxClient[_0xa1fe[88]]+_0xa1fe[269],removeCursors:function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[124]]&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[110]);_0xfc29x2=_0xfc29x2[_0xa1fe[271]];if(null!=_0xfc29x2){for(var _0xfc29x3=_0xfc29x2[_0xa1fe[67]],_0xfc29x4=0;_0xfc29x4<_0xfc29x3;_0xfc29x4+=1){mxUtils[_0xa1fe[272]](_0xfc29x2[_0xfc29x4])}}},getCurrentStyle:function(){return mxClient[_0xa1fe[80]]?function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[273]]:null}:function(_0xfc29x2){return null!=_0xfc29x2?window[_0xa1fe[274]](_0xfc29x2,_0xa1fe[110]):null}}(),hasScrollbars:function(_0xfc29x2){_0xfc29x2=mxUtils[_0xa1fe[275]](_0xfc29x2);return null!=_0xfc29x2&&(_0xa1fe[276]==_0xfc29x2[_0xa1fe[277]]||_0xa1fe[278]==_0xfc29x2[_0xa1fe[277]])},bind:function(_0xfc29x2,_0xfc29x3){return function(){return _0xfc29x3[_0xa1fe[183]](_0xfc29x2,arguments)}},eval:function(_0xfc29x2){var _0xfc29x3=null;if(0<=_0xfc29x2[_0xa1fe[2]](_0xa1fe[279])){try{eval(_0xa1fe[280]+_0xfc29x2),_0xfc29x3=_mxJavaScriptExpression,_mxJavaScriptExpression=null}catch(c){mxLog[_0xa1fe[283]](c[_0xa1fe[281]]+_0xa1fe[282]+_0xfc29x2)}}else {try{_0xfc29x3=eval(_0xfc29x2)}catch(d){mxLog[_0xa1fe[283]](d[_0xa1fe[281]]+_0xa1fe[282]+_0xfc29x2)}};return _0xfc29x3},findNode:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[284]](_0xfc29x3);if(null!=_0xfc29x5&&_0xfc29x5==_0xfc29x4){return _0xfc29x2};for(_0xfc29x2=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x2;){_0xfc29x5=mxUtils[_0xa1fe[286]](_0xfc29x2,_0xfc29x3,_0xfc29x4);if(null!=_0xfc29x5){return _0xfc29x5};_0xfc29x2=_0xfc29x2[_0xa1fe[287]]};return null},findNodeByAttribute:function(){return 9<=document[_0xa1fe[5]]?function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=null;if(null!=_0xfc29x2){if(_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&_0xfc29x2[_0xa1fe[284]](_0xfc29x3)==_0xfc29x4){_0xfc29x5=_0xfc29x2}else {for(_0xfc29x2=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x2&&null==_0xfc29x5;){_0xfc29x5=mxUtils[_0xa1fe[290]](_0xfc29x2,_0xfc29x3,_0xfc29x4),_0xfc29x2=_0xfc29x2[_0xa1fe[287]]}}};return _0xfc29x5}:mxClient[_0xa1fe[80]]?function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null==_0xfc29x2?null:_0xfc29x2[_0xa1fe[295]][_0xa1fe[294]](_0xa1fe[291]+_0xfc29x3+_0xa1fe[292]+_0xfc29x4+_0xa1fe[293])}:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null==_0xfc29x2?null:_0xfc29x2[_0xa1fe[295]][_0xa1fe[297]](_0xa1fe[291]+_0xfc29x3+_0xa1fe[292]+_0xfc29x4+_0xa1fe[293],_0xfc29x2[_0xa1fe[295]],null,XPathResult.ANY_TYPE,null)[_0xa1fe[296]]()}}(),getFunctionName:function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2){if(null!=_0xfc29x2[_0xa1fe[298]]){_0xfc29x3=_0xfc29x2[_0xa1fe[298]]}else {_0xfc29x2=_0xfc29x2.toString();for(_0xfc29x3=9;_0xa1fe[185]==_0xfc29x2[_0xa1fe[225]](_0xfc29x3);){_0xfc29x3++};var _0xfc29x4=_0xfc29x2[_0xa1fe[2]](_0xa1fe[299],_0xfc29x3),_0xfc29x3=_0xfc29x2[_0xa1fe[85]](_0xfc29x3,_0xfc29x4)}};return _0xfc29x3},indexOf:function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x3){for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){if(_0xfc29x2[_0xfc29x4]==_0xfc29x3){return _0xfc29x4}}};return -1},remove:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(_0xa1fe[194]== typeof _0xfc29x3){for(var _0xfc29x5=mxUtils[_0xa1fe[2]](_0xfc29x3,_0xfc29x2);0<=_0xfc29x5;){_0xfc29x3[_0xa1fe[300]](_0xfc29x5,1),_0xfc29x4=_0xfc29x2,_0xfc29x5=mxUtils[_0xa1fe[2]](_0xfc29x3,_0xfc29x2)}};for(var _0xfc29x9 in _0xfc29x3){_0xfc29x3[_0xfc29x9]==_0xfc29x2&&( delete _0xfc29x3[_0xfc29x9],_0xfc29x4=_0xfc29x2)};return _0xfc29x4},isNode:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return null!=_0xfc29x2&&!isNaN(_0xfc29x2[_0xa1fe[288]])&&(null==_0xfc29x3||_0xfc29x2[_0xa1fe[301]][_0xa1fe[216]]()==_0xfc29x3[_0xa1fe[216]]())?null==_0xfc29x4||_0xfc29x2[_0xa1fe[284]](_0xfc29x4)==_0xfc29x5:!1},getChildNodes:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3||mxConstants[_0xa1fe[289]];for(var _0xfc29x4=[],_0xfc29x5=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x5;){_0xfc29x5[_0xa1fe[288]]==_0xfc29x3&&_0xfc29x4[_0xa1fe[207]](_0xfc29x5),_0xfc29x5=_0xfc29x5[_0xa1fe[287]]};return _0xfc29x4},createXmlDocument:function(){var _0xfc29x2=null;document[_0xa1fe[302]]&&document[_0xa1fe[302]][_0xa1fe[303]]?_0xfc29x2=document[_0xa1fe[302]][_0xa1fe[303]](_0xa1fe[110],_0xa1fe[110],null):window[_0xa1fe[304]]&&(_0xfc29x2= new ActiveXObject(_0xa1fe[305]));return _0xfc29x2},parseXml:function(){return mxClient[_0xa1fe[80]]&&(_0xa1fe[82]=== typeof document[_0xa1fe[5]]||9>document[_0xa1fe[5]])?function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[306]]();_0xfc29x3[_0xa1fe[307]]=_0xa1fe[308];_0xfc29x3[_0xa1fe[309]](_0xfc29x2);return _0xfc29x3}:function(_0xfc29x2){return ( new DOMParser)[_0xa1fe[311]](_0xfc29x2,_0xa1fe[310])}}(),clearSelection:function(){if(document[_0xa1fe[312]]){return function(){document[_0xa1fe[312]][_0xa1fe[313]]()}};if(window[_0xa1fe[314]]){return function(){window[_0xa1fe[314]]()[_0xa1fe[315]]()}}}(),getPrettyXml:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=[];if(null!=_0xfc29x2){if(_0xfc29x3=_0xfc29x3||_0xa1fe[316],_0xfc29x4=_0xfc29x4||_0xa1fe[110],_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[317]]){_0xfc29x5[_0xa1fe[207]](_0xfc29x2[_0xa1fe[318]])}else {_0xfc29x5[_0xa1fe[207]](_0xfc29x4+_0xa1fe[319]+_0xfc29x2[_0xa1fe[301]]);var _0xfc29x9=_0xfc29x2[_0xa1fe[320]];if(null!=_0xfc29x9){for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=mxUtils[_0xa1fe[321]](_0xfc29x9[_0xfc29xa][_0xa1fe[318]]);_0xfc29x5[_0xa1fe[207]](_0xa1fe[185]+_0xfc29x9[_0xfc29xa][_0xa1fe[301]]+_0xa1fe[322]+_0xfc29x12+_0xa1fe[323])}};_0xfc29x9=_0xfc29x2[_0xa1fe[285]];if(null!=_0xfc29x9){for(_0xfc29x5[_0xa1fe[207]](_0xa1fe[324]);null!=_0xfc29x9;){_0xfc29x5[_0xa1fe[207]](mxUtils[_0xa1fe[325]](_0xfc29x9,_0xfc29x3,_0xfc29x4+_0xfc29x3)),_0xfc29x9=_0xfc29x9[_0xa1fe[287]]};_0xfc29x5[_0xa1fe[207]](_0xfc29x4+_0xa1fe[326]+_0xfc29x2[_0xa1fe[301]]+_0xa1fe[324])}else {_0xfc29x5[_0xa1fe[207]](_0xa1fe[327])}}};return _0xfc29x5[_0xa1fe[234]](_0xa1fe[110])},removeWhitespace:function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=_0xfc29x3?_0xfc29x2[_0xa1fe[328]]:_0xfc29x2[_0xa1fe[287]];null!=_0xfc29x4&&_0xfc29x4[_0xa1fe[288]]==mxConstants[_0xa1fe[317]];){var _0xfc29x5=_0xfc29x3?_0xfc29x4[_0xa1fe[328]]:_0xfc29x4[_0xa1fe[287]],_0xfc29x9=mxUtils[_0xa1fe[329]](_0xfc29x4);0==mxUtils[_0xa1fe[330]](_0xfc29x9)[_0xa1fe[67]]&&_0xfc29x4[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x4);_0xfc29x4=_0xfc29x5}},htmlEntities:function(_0xfc29x2,_0xfc29x3){_0xfc29x2=(_0xfc29x2||_0xa1fe[110])[_0xa1fe[230]](/&/g,_0xa1fe[331]);_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/"/g,_0xa1fe[332]);_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/\'/g,_0xa1fe[333]);_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/</g,_0xa1fe[334]);_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/>/g,_0xa1fe[335]);if(null==_0xfc29x3||_0xfc29x3){_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/\n/g,_0xa1fe[336])};return _0xfc29x2},isVml:function(_0xfc29x2){return null!=_0xfc29x2&&_0xa1fe[97]==_0xfc29x2[_0xa1fe[337]]},getXml:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xa1fe[110];null!=_0xfc29x2&&(_0xfc29x4=_0xfc29x2[_0xa1fe[338]],_0xfc29x4=null==_0xfc29x4?_0xfc29x2[_0xa1fe[339]]?_0xfc29x2[_0xa1fe[339]]:( new XMLSerializer)[_0xa1fe[340]](_0xfc29x2):_0xfc29x4[_0xa1fe[230]](/\r\n\t[\t]*/g,_0xa1fe[110])[_0xa1fe[230]](/>\r\n/g,_0xa1fe[341])[_0xa1fe[230]](/\r\n/g,_0xa1fe[192]));return _0xfc29x4=_0xfc29x4[_0xa1fe[230]](/\n/g,_0xfc29x3||_0xa1fe[336])},getTextContent:function(_0xfc29x2){var _0xfc29x3=_0xa1fe[110];null!=_0xfc29x2&&(null!=_0xfc29x2[_0xa1fe[285]]&&(_0xfc29x2=_0xfc29x2[_0xa1fe[285]]),_0xfc29x3=_0xfc29x2[_0xa1fe[318]]||_0xa1fe[110]);return _0xfc29x3},getInnerHtml:function(){return mxClient[_0xa1fe[80]]?function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[339]]:_0xa1fe[110]}:function(_0xfc29x2){return null!=_0xfc29x2?( new XMLSerializer)[_0xa1fe[340]](_0xfc29x2):_0xa1fe[110]}}(),getOuterHtml:function(){return mxClient[_0xa1fe[80]]?function(_0xfc29x2){if(null!=_0xfc29x2){if(null!=_0xfc29x2[_0xa1fe[342]]){return _0xfc29x2[_0xa1fe[342]]};var _0xfc29x3=[];_0xfc29x3[_0xa1fe[207]](_0xa1fe[319]+_0xfc29x2[_0xa1fe[301]]);var _0xfc29x4=_0xfc29x2[_0xa1fe[320]];if(null!=_0xfc29x4){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=_0xfc29x4[_0xfc29x5][_0xa1fe[318]];null!=_0xfc29x9&&0<_0xfc29x9[_0xa1fe[67]]&&(_0xfc29x3[_0xa1fe[207]](_0xa1fe[185]),_0xfc29x3[_0xa1fe[207]](_0xfc29x4[_0xfc29x5][_0xa1fe[301]]),_0xfc29x3[_0xa1fe[207]](_0xa1fe[322]),_0xfc29x3[_0xa1fe[207]](_0xfc29x9),_0xfc29x3[_0xa1fe[207]](_0xa1fe[323]))}};0==_0xfc29x2[_0xa1fe[339]][_0xa1fe[67]]?_0xfc29x3[_0xa1fe[207]](_0xa1fe[343]):(_0xfc29x3[_0xa1fe[207]](_0xa1fe[341]),_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xa1fe[339]]),_0xfc29x3[_0xa1fe[207]](_0xa1fe[326]+_0xfc29x2[_0xa1fe[301]]+_0xa1fe[341]));return _0xfc29x3[_0xa1fe[234]](_0xa1fe[110])};return _0xa1fe[110]}:function(_0xfc29x2){return null!=_0xfc29x2?( new XMLSerializer)[_0xa1fe[340]](_0xfc29x2):_0xa1fe[110]}}(),write:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[295]][_0xa1fe[344]](_0xfc29x3);null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[62]](_0xfc29x4);return _0xfc29x4},writeln:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[295]][_0xa1fe[344]](_0xfc29x3);null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[62]](_0xfc29x4),_0xfc29x2[_0xa1fe[62]](document[_0xa1fe[55]](_0xa1fe[345])));return _0xfc29x4},br:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3||1;for(var _0xfc29x4=null,_0xfc29x5=0;_0xfc29x5<_0xfc29x3;_0xfc29x5++){null!=_0xfc29x2&&(_0xfc29x4=_0xfc29x2[_0xa1fe[295]][_0xa1fe[55]](_0xa1fe[345]),_0xfc29x2[_0xa1fe[62]](_0xfc29x4))};return _0xfc29x4},button:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:document;_0xfc29x4=_0xfc29x4[_0xa1fe[55]](_0xa1fe[172]);mxUtils[_0xa1fe[53]](_0xfc29x4,_0xfc29x2);mxEvent[_0xa1fe[169]](_0xfc29x4,_0xa1fe[173],function(_0xfc29x2){_0xfc29x3(_0xfc29x2)});return _0xfc29x4},para:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[346]);mxUtils[_0xa1fe[53]](_0xfc29x4,_0xfc29x3);null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[62]](_0xfc29x4);return _0xfc29x4},addTransparentBackgroundFilter:function(_0xfc29x2){_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]+=_0xa1fe[348]+mxClient[_0xa1fe[88]]+_0xa1fe[349]},linkAction:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return mxUtils[_0xa1fe[54]](_0xfc29x2,_0xfc29x3,function(){_0xfc29x4[_0xa1fe[350]](_0xfc29x5)},_0xfc29x9)},linkInvoke:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){return mxUtils[_0xa1fe[54]](_0xfc29x2,_0xfc29x3,function(){_0xfc29x4[_0xfc29x5](_0xfc29x9)},_0xfc29xa)},link:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=document[_0xa1fe[55]](_0xa1fe[351]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[352]]=_0xa1fe[353];_0xfc29x9[_0xa1fe[124]][_0xa1fe[354]]=_0xa1fe[355];_0xfc29x9[_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356];null!=_0xfc29x5&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[357]]=_0xfc29x5+_0xa1fe[168]);mxEvent[_0xa1fe[169]](_0xfc29x9,_0xa1fe[173],_0xfc29x4);mxUtils[_0xa1fe[53]](_0xfc29x9,_0xfc29x3);null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[62]](_0xfc29x9);return _0xfc29x9},fit:function(_0xfc29x2){var _0xfc29x3=parseInt(_0xfc29x2[_0xa1fe[358]]),_0xfc29x4=parseInt(_0xfc29x2[_0xa1fe[359]]),_0xfc29x5=document[_0xa1fe[112]],_0xfc29x9=document[_0xa1fe[158]],_0xfc29xa=(_0xfc29x5[_0xa1fe[360]]||_0xfc29x9[_0xa1fe[360]])+(_0xfc29x5[_0xa1fe[159]]||_0xfc29x9[_0xa1fe[159]]);_0xfc29x3+_0xfc29x4>_0xfc29xa&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[360]]||_0xfc29x9[_0xa1fe[360]],_0xfc29xa-_0xfc29x4)+_0xa1fe[168]);_0xfc29x3=parseInt(_0xfc29x2[_0xa1fe[362]]);_0xfc29x4=parseInt(_0xfc29x2[_0xa1fe[167]]);_0xfc29xa=(_0xfc29x5[_0xa1fe[190]]||_0xfc29x9[_0xa1fe[190]])+Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[157]]||0,_0xfc29x9[_0xa1fe[157]]);_0xfc29x3+_0xfc29x4>_0xfc29xa&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[190]]||_0xfc29x9[_0xa1fe[190]],_0xfc29xa-_0xfc29x4)+_0xa1fe[168])},open:function(_0xfc29x2){if(mxClient[_0xa1fe[133]]){try{netscape[_0xa1fe[366]][_0xa1fe[365]][_0xa1fe[364]](_0xa1fe[363])}catch(b){return mxUtils[_0xa1fe[150]](_0xa1fe[367]),_0xa1fe[110]};var _0xfc29x4=Components[_0xa1fe[372]][_0xa1fe[371]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[368]]);_0xfc29x4[_0xa1fe[373]](_0xfc29x2);if(!_0xfc29x4[_0xa1fe[374]]()){return mxUtils[_0xa1fe[150]](_0xa1fe[375]),_0xa1fe[110]};_0xfc29x2=Components[_0xa1fe[372]][_0xa1fe[377]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[376]]);_0xfc29x2[_0xa1fe[176]](_0xfc29x4,1,4,null);_0xfc29x4=Components[_0xa1fe[372]][_0xa1fe[379]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[378]]);_0xfc29x4[_0xa1fe[176]](_0xfc29x2);return _0xfc29x4[_0xa1fe[381]](_0xfc29x4[_0xa1fe[380]]())};_0xfc29x4=( new ActiveXObject(_0xa1fe[382])).OpenTextFile(_0xfc29x2,1);_0xfc29x2=_0xfc29x4[_0xa1fe[383]]();_0xfc29x4[_0xa1fe[268]]();return _0xfc29x2},save:function(_0xfc29x2,_0xfc29x3){if(mxClient[_0xa1fe[133]]){try{netscape[_0xa1fe[366]][_0xa1fe[365]][_0xa1fe[364]](_0xa1fe[363])}catch(c){mxUtils[_0xa1fe[150]](_0xa1fe[384]);return};var _0xfc29x5=Components[_0xa1fe[372]][_0xa1fe[371]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[368]]);_0xfc29x5[_0xa1fe[373]](_0xfc29x2);_0xfc29x5[_0xa1fe[374]]()||_0xfc29x5[_0xa1fe[385]](0,420);var _0xfc29x9=Components[_0xa1fe[372]][_0xa1fe[387]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[386]]);_0xfc29x9[_0xa1fe[176]](_0xfc29x5,34,4,null);_0xfc29x9[_0xa1fe[53]](_0xfc29x3,_0xfc29x3[_0xa1fe[67]]);_0xfc29x9[_0xa1fe[388]]();_0xfc29x9[_0xa1fe[268]]()}else {_0xfc29x5=( new ActiveXObject(_0xa1fe[382])).CreateTextFile(_0xfc29x2,!0),_0xfc29x5.Write(_0xfc29x3),_0xfc29x5.Close()}},saveAs:function(_0xfc29x2){var _0xfc29x3=document[_0xa1fe[55]](_0xa1fe[389]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[390],_0xa1fe[110]);_0xfc29x3[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x3);try{if(mxClient[_0xa1fe[133]]){var _0xfc29x4=_0xfc29x3[_0xa1fe[391]];_0xfc29x4[_0xa1fe[392]]();_0xfc29x4[_0xa1fe[53]](_0xfc29x2);_0xfc29x4[_0xa1fe[268]]();try{netscape[_0xa1fe[366]][_0xa1fe[365]][_0xa1fe[364]](_0xa1fe[363]),_0xfc29x3[_0xa1fe[393]](),saveDocument(_0xfc29x4)}catch(d){mxUtils[_0xa1fe[150]](_0xa1fe[394])}}else {_0xfc29x4=_0xfc29x3[_0xa1fe[396]][_0xa1fe[395]],_0xfc29x4[_0xa1fe[53]](_0xfc29x2),_0xfc29x4[_0xa1fe[398]](_0xa1fe[397],!1,document[_0xa1fe[45]])}}finally{document[_0xa1fe[112]][_0xa1fe[266]](_0xfc29x3)}},copy:function(_0xfc29x2){if(window[_0xa1fe[399]]){window[_0xa1fe[399]][_0xa1fe[401]](_0xa1fe[400],_0xfc29x2)}else {netscape[_0xa1fe[366]][_0xa1fe[365]][_0xa1fe[364]](_0xa1fe[363]);var _0xfc29x3=Components[_0xa1fe[372]][_0xa1fe[403]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[402]]);if(_0xfc29x3){var _0xfc29x4=Components[_0xa1fe[372]][_0xa1fe[405]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[404]]);if(_0xfc29x4){_0xfc29x4[_0xa1fe[407]](_0xa1fe[406]);var _0xfc29x5=Components[_0xa1fe[372]][_0xa1fe[409]][_0xa1fe[370]](Components[_0xa1fe[369]][_0xa1fe[408]]);_0xfc29x5[_0xa1fe[410]]=_0xfc29x2;_0xfc29x4[_0xa1fe[411]](_0xa1fe[406],_0xfc29x5,2*_0xfc29x2[_0xa1fe[67]]);_0xfc29x3[_0xa1fe[401]](_0xfc29x4,null,Components[_0xa1fe[369]][_0xa1fe[402]][_0xa1fe[412]])}}}},load:function(_0xfc29x2){_0xfc29x2= new mxXmlRequest(_0xfc29x2,null,_0xa1fe[413],!1);_0xfc29x2[_0xa1fe[414]]();return _0xfc29x2},get:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return ( new mxXmlRequest(_0xfc29x2,null,_0xa1fe[413]))[_0xa1fe[414]](_0xfc29x3,_0xfc29x4)},post:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return ( new mxXmlRequest(_0xfc29x2,_0xfc29x3))[_0xa1fe[414]](_0xfc29x4,_0xfc29x5)},submit:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return ( new mxXmlRequest(_0xfc29x2,_0xfc29x3))[_0xa1fe[415]](_0xfc29x4,_0xfc29x5)},loadInto:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxClient[_0xa1fe[80]]?_0xfc29x3[_0xa1fe[416]]=function(){4==_0xfc29x3[_0xa1fe[417]]&&_0xfc29x4()}:_0xfc29x3[_0xa1fe[418]](_0xa1fe[219],_0xfc29x4,!1);_0xfc29x3[_0xa1fe[219]](_0xfc29x2)},getValue:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2[_0xfc29x3]:null;null==_0xfc29x2&&(_0xfc29x2=_0xfc29x4);return _0xfc29x2},getNumber:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2[_0xfc29x3]:null;null==_0xfc29x2&&(_0xfc29x2=_0xfc29x4||0);return Number(_0xfc29x2)},getColor:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2[_0xfc29x3]:null;null==_0xfc29x2?_0xfc29x2=_0xfc29x4:_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);return _0xfc29x2},clone:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;var _0xfc29x5=null;if(null!=_0xfc29x2&&_0xa1fe[279]== typeof _0xfc29x2[_0xa1fe[196]]){var _0xfc29x5= new _0xfc29x2[_0xa1fe[196]],_0xfc29x9;for(_0xfc29x9 in _0xfc29x2){if(_0xfc29x9!=mxObjectIdentity[_0xa1fe[195]]&&(null==_0xfc29x3||0>mxUtils[_0xa1fe[2]](_0xfc29x3,_0xfc29x9))){_0xfc29x5[_0xfc29x9]=!_0xfc29x4&&_0xa1fe[194]== typeof _0xfc29x2[_0xfc29x9]?mxUtils[_0xa1fe[238]](_0xfc29x2[_0xfc29x9]):_0xfc29x2[_0xfc29x9]}}};return _0xfc29x5},equalPoints:function(_0xfc29x2,_0xfc29x3){if(null==_0xfc29x2&&null!=_0xfc29x3||null!=_0xfc29x2&&null==_0xfc29x3||null!=_0xfc29x2&&null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[67]]!=_0xfc29x3[_0xa1fe[67]]){return !1};if(null!=_0xfc29x2&&null!=_0xfc29x3){for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){if(_0xfc29x2[_0xfc29x4]==_0xfc29x3[_0xfc29x4]||null!=_0xfc29x2[_0xfc29x4]&&!_0xfc29x2[_0xfc29x4][_0xa1fe[237]](_0xfc29x3[_0xfc29x4])){return !1}}};return !0},equalEntries:function(_0xfc29x2,_0xfc29x3){if(null==_0xfc29x2&&null!=_0xfc29x3||null!=_0xfc29x2&&null==_0xfc29x3||null!=_0xfc29x2&&null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[67]]!=_0xfc29x3[_0xa1fe[67]]){return !1};if(null!=_0xfc29x2&&null!=_0xfc29x3){for(var _0xfc29x4 in _0xfc29x2){if(_0xfc29x2[_0xfc29x4]!=_0xfc29x3[_0xfc29x4]){return !1}}};return !0},extend:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=function(){};_0xfc29x4[_0xa1fe[202]]=_0xfc29x3[_0xa1fe[202]];_0xfc29x2[_0xa1fe[202]]= new _0xfc29x4;_0xfc29x2[_0xa1fe[202]][_0xa1fe[196]]=_0xfc29x2},toString:function(_0xfc29x2){var _0xfc29x3=_0xa1fe[110],_0xfc29x4;for(_0xfc29x4 in _0xfc29x2){try{if(null==_0xfc29x2[_0xfc29x4]){_0xfc29x3+=_0xfc29x4+_0xa1fe[419]}else {if(_0xa1fe[279]== typeof _0xfc29x2[_0xfc29x4]){_0xfc29x3+=_0xfc29x4+_0xa1fe[420]}else {if(_0xa1fe[194]== typeof _0xfc29x2[_0xfc29x4]){var _0xfc29x5=mxUtils[_0xa1fe[197]](_0xfc29x2[_0xfc29x4][_0xa1fe[196]]),_0xfc29x3=_0xfc29x3+(_0xfc29x4+_0xa1fe[421]+_0xfc29x5+_0xa1fe[422])}else {_0xfc29x3+=_0xfc29x4+_0xa1fe[423]+_0xfc29x2[_0xfc29x4]+_0xa1fe[192]}}}}catch(e){_0xfc29x3+=_0xfc29x4+_0xa1fe[226]+e[_0xa1fe[281]]}};return _0xfc29x3},toRadians:function(_0xfc29x2){return Math[_0xa1fe[424]]*_0xfc29x2/180},arcToCurves:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){_0xfc29x13-=_0xfc29x2;_0xfc29x14-=_0xfc29x3;if(0===_0xfc29x4||0===_0xfc29x5){return _0xfc29x18};_0xfc29x4=Math[_0xa1fe[425]](_0xfc29x4);_0xfc29x5=Math[_0xa1fe[425]](_0xfc29x5);var _0xfc29x15=-_0xfc29x13/2,_0xfc29x16=-_0xfc29x14/2,_0xfc29x17=Math[_0xa1fe[426]](_0xfc29x9*Math[_0xa1fe[424]]/180),_0xfc29x18=Math[_0xa1fe[427]](_0xfc29x9*Math[_0xa1fe[424]]/180);_0xfc29x9=_0xfc29x17*_0xfc29x15+_0xfc29x18*_0xfc29x16;var _0xfc29x15=-1*_0xfc29x18*_0xfc29x15+_0xfc29x17*_0xfc29x16,_0xfc29x16=_0xfc29x9*_0xfc29x9,_0xfc29x19=_0xfc29x15*_0xfc29x15,_0xfc29x1a=_0xfc29x4*_0xfc29x4,_0xfc29x1b=_0xfc29x5*_0xfc29x5,_0xfc29x1c=_0xfc29x16/_0xfc29x1a+_0xfc29x19/_0xfc29x1b;1<_0xfc29x1c?(_0xfc29x4*=Math[_0xa1fe[428]](_0xfc29x1c),_0xfc29x5*=Math[_0xa1fe[428]](_0xfc29x1c),_0xfc29xa=0):(_0xfc29x1c=1,_0xfc29xa===_0xfc29x12&&(_0xfc29x1c= -1),_0xfc29xa=_0xfc29x1c*Math[_0xa1fe[428]]((_0xfc29x1a*_0xfc29x1b-_0xfc29x1a*_0xfc29x19-_0xfc29x1b*_0xfc29x16)/(_0xfc29x1a*_0xfc29x19+_0xfc29x1b*_0xfc29x16)));_0xfc29x16=_0xfc29xa*_0xfc29x4*_0xfc29x15/_0xfc29x5;_0xfc29x19=-1*_0xfc29xa*_0xfc29x5*_0xfc29x9/_0xfc29x4;_0xfc29x13=_0xfc29x17*_0xfc29x16-_0xfc29x18*_0xfc29x19+_0xfc29x13/2;_0xfc29x14=_0xfc29x18*_0xfc29x16+_0xfc29x17*_0xfc29x19+_0xfc29x14/2;_0xfc29x1a=Math[_0xa1fe[429]]((_0xfc29x15-_0xfc29x19)/_0xfc29x5,(_0xfc29x9-_0xfc29x16)/_0xfc29x4)-Math[_0xa1fe[429]](0,1);_0xfc29xa=0<=_0xfc29x1a?_0xfc29x1a:2*Math[_0xa1fe[424]]+_0xfc29x1a;_0xfc29x1a=Math[_0xa1fe[429]]((-_0xfc29x15-_0xfc29x19)/_0xfc29x5,(-_0xfc29x9-_0xfc29x16)/_0xfc29x4)-Math[_0xa1fe[429]]((_0xfc29x15-_0xfc29x19)/_0xfc29x5,(_0xfc29x9-_0xfc29x16)/_0xfc29x4);_0xfc29x9=0<=_0xfc29x1a?_0xfc29x1a:2*Math[_0xa1fe[424]]+_0xfc29x1a;0==_0xfc29x12&&0<_0xfc29x9?_0xfc29x9-=2*Math[_0xa1fe[424]]:0!=_0xfc29x12&&0>_0xfc29x9&&(_0xfc29x9+=2*Math[_0xa1fe[424]]);_0xfc29x12=2*_0xfc29x9/Math[_0xa1fe[424]];_0xfc29x12=Math[_0xa1fe[430]](0>_0xfc29x12?-1*_0xfc29x12:_0xfc29x12);_0xfc29x9/=_0xfc29x12;_0xfc29x15=8/3*Math[_0xa1fe[427]](_0xfc29x9/4)*Math[_0xa1fe[427]](_0xfc29x9/4)/Math[_0xa1fe[427]](_0xfc29x9/2);_0xfc29x16=_0xfc29x17*_0xfc29x4;_0xfc29x17*=_0xfc29x5;_0xfc29x4*=_0xfc29x18;_0xfc29x5*=_0xfc29x18;for(var _0xfc29x1d=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29x1e=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x19=-_0xfc29x15*(_0xfc29x16*_0xfc29x1e+_0xfc29x5*_0xfc29x1d),_0xfc29x1a=-_0xfc29x15*(_0xfc29x4*_0xfc29x1e-_0xfc29x17*_0xfc29x1d),_0xfc29x1c=_0xfc29x1b=0,_0xfc29x18=[],_0xfc29x1f=0;_0xfc29x1f<_0xfc29x12;++_0xfc29x1f){_0xfc29xa+=_0xfc29x9;var _0xfc29x1d=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29x1e=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x1b=_0xfc29x16*_0xfc29x1d-_0xfc29x5*_0xfc29x1e+_0xfc29x13,_0xfc29x1c=_0xfc29x4*_0xfc29x1d+_0xfc29x17*_0xfc29x1e+_0xfc29x14,_0xfc29x20=-_0xfc29x15*(_0xfc29x16*_0xfc29x1e+_0xfc29x5*_0xfc29x1d),_0xfc29x1d=-_0xfc29x15*(_0xfc29x4*_0xfc29x1e-_0xfc29x17*_0xfc29x1d),_0xfc29x1e=6*_0xfc29x1f;_0xfc29x18[_0xfc29x1e]=Number(_0xfc29x19+_0xfc29x2);_0xfc29x18[_0xfc29x1e+1]=Number(_0xfc29x1a+_0xfc29x3);_0xfc29x18[_0xfc29x1e+2]=Number(_0xfc29x1b-_0xfc29x20+_0xfc29x2);_0xfc29x18[_0xfc29x1e+3]=Number(_0xfc29x1c-_0xfc29x1d+_0xfc29x3);_0xfc29x18[_0xfc29x1e+4]=Number(_0xfc29x1b+_0xfc29x2);_0xfc29x18[_0xfc29x1e+5]=Number(_0xfc29x1c+_0xfc29x3);_0xfc29x19=_0xfc29x1b+_0xfc29x20;_0xfc29x1a=_0xfc29x1c+_0xfc29x1d};return _0xfc29x18},getBoundingBox:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(null!=_0xfc29x2&&null!=_0xfc29x3&&0!=_0xfc29x3){var _0xfc29x5=mxUtils[_0xa1fe[431]](_0xfc29x3),_0xfc29x4=Math[_0xa1fe[426]](_0xfc29x5),_0xfc29x9=Math[_0xa1fe[427]](_0xfc29x5),_0xfc29xa= new mxPoint(_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]/2,_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]/2),_0xfc29x12= new mxPoint(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]),_0xfc29x5= new mxPoint(_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]],_0xfc29x2[_0xa1fe[236]]),_0xfc29x13= new mxPoint(_0xfc29x5[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]),_0xfc29x14= new mxPoint(_0xfc29x2[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]]),_0xfc29x12=mxUtils[_0xa1fe[432]](_0xfc29x12,_0xfc29x4,_0xfc29x9,_0xfc29xa),_0xfc29x5=mxUtils[_0xa1fe[432]](_0xfc29x5,_0xfc29x4,_0xfc29x9,_0xfc29xa),_0xfc29x13=mxUtils[_0xa1fe[432]](_0xfc29x13,_0xfc29x4,_0xfc29x9,_0xfc29xa),_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x4,_0xfc29x9,_0xfc29xa),_0xfc29x4= new mxRectangle(_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],0,0);_0xfc29x4[_0xa1fe[99]]( new mxRectangle(_0xfc29x5[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]],0,0));_0xfc29x4[_0xa1fe[99]]( new mxRectangle(_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],0,0));_0xfc29x4[_0xa1fe[99]]( new mxRectangle(_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]],0,0))};return _0xfc29x4},getRotatedPoint:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x5=null!=_0xfc29x5?_0xfc29x5: new mxPoint;var _0xfc29x9=_0xfc29x2[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[235]];_0xfc29x2=_0xfc29x2[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[236]];return new mxPoint(_0xfc29x9*_0xfc29x3-_0xfc29x2*_0xfc29x4+_0xfc29x5[_0xa1fe[235]],_0xfc29x2*_0xfc29x3+_0xfc29x9*_0xfc29x4+_0xfc29x5[_0xa1fe[236]])},getPortConstraints:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x2=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_PORT_CONSTRAINT,null);if(null==_0xfc29x2){return _0xfc29x5};_0xfc29x5=_0xfc29x2.toString();_0xfc29x2=mxConstants[_0xa1fe[434]];0<=_0xfc29x5[_0xa1fe[2]](mxConstants.DIRECTION_NORTH)&&(_0xfc29x2|=mxConstants[_0xa1fe[435]]);0<=_0xfc29x5[_0xa1fe[2]](mxConstants.DIRECTION_WEST)&&(_0xfc29x2|=mxConstants[_0xa1fe[436]]);0<=_0xfc29x5[_0xa1fe[2]](mxConstants.DIRECTION_SOUTH)&&(_0xfc29x2|=mxConstants[_0xa1fe[437]]);0<=_0xfc29x5[_0xa1fe[2]](mxConstants.DIRECTION_EAST)&&(_0xfc29x2|=mxConstants[_0xa1fe[438]]);return _0xfc29x2},reversePortConstraints:function(_0xfc29x2){var _0xfc29x3=0,_0xfc29x3=(_0xfc29x2&mxConstants[_0xa1fe[436]])<<3,_0xfc29x3=_0xfc29x3|(_0xfc29x2&mxConstants[_0xa1fe[435]])<<1,_0xfc29x3=_0xfc29x3|(_0xfc29x2&mxConstants[_0xa1fe[437]])>>1;return _0xfc29x3|=(_0xfc29x2&mxConstants[_0xa1fe[438]])>>3},findNearestSegment:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=-1;if(0<_0xfc29x2[_0xa1fe[439]][_0xa1fe[67]]){for(var _0xfc29x9=_0xfc29x2[_0xa1fe[439]][0],_0xfc29xa=null,_0xfc29x12=1;_0xfc29x12<_0xfc29x2[_0xa1fe[439]][_0xa1fe[67]];_0xfc29x12++){var _0xfc29x13=_0xfc29x2[_0xa1fe[439]][_0xfc29x12],_0xfc29x9=mxUtils[_0xa1fe[440]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x3,_0xfc29x4);if(null==_0xfc29xa||_0xfc29x9<_0xfc29xa){_0xfc29xa=_0xfc29x9,_0xfc29x5=_0xfc29x12-1};_0xfc29x9=_0xfc29x13}};return _0xfc29x5},rectangleIntersectsSegment:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[236]],_0xfc29x9=_0xfc29x2[_0xa1fe[235]],_0xfc29xa=_0xfc29x5+_0xfc29x2[_0xa1fe[119]],_0xfc29x12=_0xfc29x9+_0xfc29x2[_0xa1fe[117]];_0xfc29x2=_0xfc29x3[_0xa1fe[235]];var _0xfc29x13=_0xfc29x4[_0xa1fe[235]];_0xfc29x3[_0xa1fe[235]]>_0xfc29x4[_0xa1fe[235]]&&(_0xfc29x2=_0xfc29x4[_0xa1fe[235]],_0xfc29x13=_0xfc29x3[_0xa1fe[235]]);_0xfc29x13>_0xfc29x12&&(_0xfc29x13=_0xfc29x12);_0xfc29x2<_0xfc29x9&&(_0xfc29x2=_0xfc29x9);if(_0xfc29x2>_0xfc29x13){return !1};var _0xfc29x9=_0xfc29x3[_0xa1fe[236]],_0xfc29x12=_0xfc29x4[_0xa1fe[236]],_0xfc29x14=_0xfc29x4[_0xa1fe[235]]-_0xfc29x3[_0xa1fe[235]];1E-7<Math[_0xa1fe[425]](_0xfc29x14)&&(_0xfc29x4=(_0xfc29x4[_0xa1fe[236]]-_0xfc29x3[_0xa1fe[236]])/_0xfc29x14,_0xfc29x3=_0xfc29x3[_0xa1fe[236]]-_0xfc29x4*_0xfc29x3[_0xa1fe[235]],_0xfc29x9=_0xfc29x4*_0xfc29x2+_0xfc29x3,_0xfc29x12=_0xfc29x4*_0xfc29x13+_0xfc29x3);_0xfc29x9>_0xfc29x12&&(_0xfc29x3=_0xfc29x12,_0xfc29x12=_0xfc29x9,_0xfc29x9=_0xfc29x3);_0xfc29x12>_0xfc29xa&&(_0xfc29x12=_0xfc29xa);_0xfc29x9<_0xfc29x5&&(_0xfc29x9=_0xfc29x5);return _0xfc29x9>_0xfc29x12?!1:!0},contains:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x2[_0xa1fe[235]]<=_0xfc29x3&&_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]>=_0xfc29x3&&_0xfc29x2[_0xa1fe[236]]<=_0xfc29x4&&_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]>=_0xfc29x4},intersects:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[117]],_0xfc29x5=_0xfc29x2[_0xa1fe[119]],_0xfc29x9=_0xfc29x3[_0xa1fe[117]],_0xfc29xa=_0xfc29x3[_0xa1fe[119]];if(0>=_0xfc29x9||0>=_0xfc29xa||0>=_0xfc29x4||0>=_0xfc29x5){return !1};var _0xfc29x12=_0xfc29x2[_0xa1fe[235]],_0xfc29x13=_0xfc29x2[_0xa1fe[236]],_0xfc29x14=_0xfc29x3[_0xa1fe[235]],_0xfc29x15=_0xfc29x3[_0xa1fe[236]],_0xfc29x9=_0xfc29x9+_0xfc29x14,_0xfc29xa=_0xfc29xa+_0xfc29x15,_0xfc29x4=_0xfc29x4+_0xfc29x12,_0xfc29x5=_0xfc29x5+_0xfc29x13;return (_0xfc29x9<_0xfc29x14||_0xfc29x9>_0xfc29x12)&&(_0xfc29xa<_0xfc29x15||_0xfc29xa>_0xfc29x13)&&(_0xfc29x4<_0xfc29x12||_0xfc29x4>_0xfc29x14)&&(_0xfc29x5<_0xfc29x13||_0xfc29x5>_0xfc29x15)},intersectsHotspot:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:1;_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:0;_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:0;if(0<_0xfc29x5){var _0xfc29x12=_0xfc29x2[_0xa1fe[241]](),_0xfc29x13=_0xfc29x2[_0xa1fe[242]](),_0xfc29x14=_0xfc29x2[_0xa1fe[117]],_0xfc29x15=_0xfc29x2[_0xa1fe[119]],_0xfc29x16=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_STARTSIZE)*_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]];0<_0xfc29x16&&(mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_HORIZONTAL,!0)?(_0xfc29x13=_0xfc29x2[_0xa1fe[236]]+_0xfc29x16/2,_0xfc29x15=_0xfc29x16):(_0xfc29x12=_0xfc29x2[_0xa1fe[235]]+_0xfc29x16/2,_0xfc29x14=_0xfc29x16));_0xfc29x14=Math[_0xa1fe[160]](_0xfc29x9,_0xfc29x14*_0xfc29x5);_0xfc29x15=Math[_0xa1fe[160]](_0xfc29x9,_0xfc29x15*_0xfc29x5);0<_0xfc29xa&&(_0xfc29x14=Math[_0xa1fe[243]](_0xfc29x14,_0xfc29xa),_0xfc29x15=Math[_0xa1fe[243]](_0xfc29x15,_0xfc29xa));_0xfc29x5= new mxRectangle(_0xfc29x12-_0xfc29x14/2,_0xfc29x13-_0xfc29x15/2,_0xfc29x14,_0xfc29x15);_0xfc29x12=mxUtils[_0xa1fe[431]](mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION)||0);0!=_0xfc29x12&&(_0xfc29x9=Math[_0xa1fe[426]](-_0xfc29x12),_0xfc29xa=Math[_0xa1fe[427]](-_0xfc29x12),_0xfc29x12= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]()),_0xfc29x2=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x3,_0xfc29x4),_0xfc29x9,_0xfc29xa,_0xfc29x12),_0xfc29x3=_0xfc29x2[_0xa1fe[235]],_0xfc29x4=_0xfc29x2[_0xa1fe[236]]);return mxUtils[_0xa1fe[442]](_0xfc29x5,_0xfc29x3,_0xfc29x4)};return !0},getOffset:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=0,_0xfc29x5=0;if(null!=_0xfc29x3&&_0xfc29x3){var _0xfc29x9=document[_0xa1fe[112]],_0xfc29xa=document[_0xa1fe[158]],_0xfc29x4=_0xfc29x4+(_0xfc29x9[_0xa1fe[360]]||_0xfc29xa[_0xa1fe[360]]),_0xfc29x5=_0xfc29x5+(_0xfc29x9[_0xa1fe[190]]||_0xfc29xa[_0xa1fe[190]])};for(;_0xfc29x2[_0xa1fe[443]];){_0xfc29x4+=_0xfc29x2[_0xa1fe[358]],_0xfc29x5+=_0xfc29x2[_0xa1fe[362]],_0xfc29x2=_0xfc29x2[_0xa1fe[443]]};return new mxPoint(_0xfc29x4,_0xfc29x5)},getScrollOrigin:function(_0xfc29x2){for(var _0xfc29x3=document[_0xa1fe[112]],_0xfc29x4=document[_0xa1fe[158]],_0xfc29x5= new mxPoint(_0xfc29x3[_0xa1fe[360]]||_0xfc29x4[_0xa1fe[360]],_0xfc29x3[_0xa1fe[190]]||_0xfc29x4[_0xa1fe[190]]);null!=_0xfc29x2&&_0xfc29x2!=_0xfc29x3&&_0xfc29x2!=_0xfc29x4;){!isNaN(_0xfc29x2[_0xa1fe[360]])&&!isNaN(_0xfc29x2[_0xa1fe[190]])&&(_0xfc29x5[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[360]],_0xfc29x5[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[190]]),_0xfc29x2=_0xfc29x2[_0xa1fe[265]]};return _0xfc29x5},convertPoint:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=mxUtils[_0xa1fe[444]](_0xfc29x2);_0xfc29x2=mxUtils[_0xa1fe[445]](_0xfc29x2);_0xfc29x2[_0xa1fe[235]]-=_0xfc29x5[_0xa1fe[235]];_0xfc29x2[_0xa1fe[236]]-=_0xfc29x5[_0xa1fe[236]];return new mxPoint(_0xfc29x3-_0xfc29x2[_0xa1fe[235]],_0xfc29x4-_0xfc29x2[_0xa1fe[236]])},ltrim:function(_0xfc29x2,_0xfc29x3){return _0xfc29x2[_0xa1fe[230]](RegExp(_0xa1fe[446]+(_0xfc29x3||_0xa1fe[447])+_0xa1fe[448],_0xa1fe[449]),_0xa1fe[110])},rtrim:function(_0xfc29x2,_0xfc29x3){return _0xfc29x2[_0xa1fe[230]](RegExp(_0xa1fe[450]+(_0xfc29x3||_0xa1fe[447])+_0xa1fe[451],_0xa1fe[449]),_0xa1fe[110])},trim:function(_0xfc29x2,_0xfc29x3){return mxUtils[_0xa1fe[453]](mxUtils[_0xa1fe[452]](_0xfc29x2,_0xfc29x3),_0xfc29x3)},isNumeric:function(_0xfc29x2){return null!=_0xfc29x2&&(null==_0xfc29x2[_0xa1fe[67]]||0<_0xfc29x2[_0xa1fe[67]]&&0>_0xfc29x2[_0xa1fe[2]](_0xa1fe[454])&&0>_0xfc29x2[_0xa1fe[2]](_0xa1fe[455]))&&!isNaN(_0xfc29x2)},mod:function(_0xfc29x2,_0xfc29x3){return (_0xfc29x2%_0xfc29x3+_0xfc29x3)%_0xfc29x3},intersection:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){var _0xfc29x14=(_0xfc29x13-_0xfc29xa)*(_0xfc29x4-_0xfc29x2)-(_0xfc29x12-_0xfc29x9)*(_0xfc29x5-_0xfc29x3);_0xfc29x12=((_0xfc29x12-_0xfc29x9)*(_0xfc29x3-_0xfc29xa)-(_0xfc29x13-_0xfc29xa)*(_0xfc29x2-_0xfc29x9))/_0xfc29x14;_0xfc29x9=((_0xfc29x4-_0xfc29x2)*(_0xfc29x3-_0xfc29xa)-(_0xfc29x5-_0xfc29x3)*(_0xfc29x2-_0xfc29x9))/_0xfc29x14;return 0<=_0xfc29x12&&1>=_0xfc29x12&&0<=_0xfc29x9&&1>=_0xfc29x9? new mxPoint(_0xfc29x2+_0xfc29x12*(_0xfc29x4-_0xfc29x2),_0xfc29x3+_0xfc29x12*(_0xfc29x5-_0xfc29x3)):null},ptSegDistSq:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x4-=_0xfc29x2;_0xfc29x5-=_0xfc29x3;_0xfc29x9-=_0xfc29x2;_0xfc29xa-=_0xfc29x3;0>=_0xfc29x9*_0xfc29x4+_0xfc29xa*_0xfc29x5?_0xfc29x4=0:(_0xfc29x9=_0xfc29x4-_0xfc29x9,_0xfc29xa=_0xfc29x5-_0xfc29xa,_0xfc29x2=_0xfc29x9*_0xfc29x4+_0xfc29xa*_0xfc29x5,_0xfc29x4=0>=_0xfc29x2?0:_0xfc29x2*_0xfc29x2/(_0xfc29x4*_0xfc29x4+_0xfc29x5*_0xfc29x5));_0xfc29x9=_0xfc29x9*_0xfc29x9+_0xfc29xa*_0xfc29xa-_0xfc29x4;0>_0xfc29x9&&(_0xfc29x9=0);return _0xfc29x9},relativeCcw:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x4-=_0xfc29x2;_0xfc29x5-=_0xfc29x3;_0xfc29x9-=_0xfc29x2;_0xfc29xa-=_0xfc29x3;_0xfc29x2=_0xfc29x9*_0xfc29x5-_0xfc29xa*_0xfc29x4;0==_0xfc29x2&&(_0xfc29x2=_0xfc29x9*_0xfc29x4+_0xfc29xa*_0xfc29x5,0<_0xfc29x2&&(_0xfc29x2=(_0xfc29x9-_0xfc29x4)*_0xfc29x4+(_0xfc29xa-_0xfc29x5)*_0xfc29x5,0>_0xfc29x2&&(_0xfc29x2=0)));return 0>_0xfc29x2?-1:0<_0xfc29x2?1:0},animateChanges:function(_0xfc29x2,_0xfc29x3){mxEffects[_0xa1fe[456]][_0xa1fe[183]](this,arguments)},cascadeOpacity:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxEffects[_0xa1fe[260]][_0xa1fe[183]](this,arguments)},fadeOut:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){mxEffects[_0xa1fe[457]][_0xa1fe[183]](this,arguments)},setOpacity:function(_0xfc29x2,_0xfc29x3){mxUtils[_0xa1fe[458]](_0xfc29x2)?_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]=100<=_0xfc29x3?null:_0xa1fe[459]+_0xfc29x3/5+_0xa1fe[460]:mxClient[_0xa1fe[80]]&&(_0xa1fe[82]=== typeof document[_0xa1fe[5]]||9>document[_0xa1fe[5]])?_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]=100<=_0xfc29x3?null:_0xa1fe[459]+_0xfc29x3+_0xa1fe[460]:_0xfc29x2[_0xa1fe[124]][_0xa1fe[461]]=_0xfc29x3/100},createImage:function(_0xfc29x2){var _0xfc29x3=null;mxClient[_0xa1fe[49]]&&_0xa1fe[462]!=document[_0xa1fe[135]]?(_0xfc29x3=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[464]),_0xfc29x3[_0xa1fe[57]](_0xa1fe[390],_0xfc29x2),_0xfc29x3[_0xa1fe[124]][_0xa1fe[465]]=_0xa1fe[130]):(_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[466]),_0xfc29x3[_0xa1fe[57]](_0xa1fe[390],_0xfc29x2),_0xfc29x3[_0xa1fe[57]](_0xa1fe[467],_0xa1fe[468]));return _0xfc29x3},sortCells:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;var _0xfc29x4= new mxDictionary;_0xfc29x2[_0xa1fe[470]](function(_0xfc29x2,_0xfc29x9){var _0xfc29xa=_0xfc29x4[_0xa1fe[203]](_0xfc29x2);null==_0xfc29xa&&(_0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2)[_0xa1fe[224]](mxCellPath.PATH_SEPARATOR),_0xfc29x4[_0xa1fe[204]](_0xfc29x2,_0xfc29xa));var _0xfc29x12=_0xfc29x4[_0xa1fe[203]](_0xfc29x9);null==_0xfc29x12&&(_0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29x9)[_0xa1fe[224]](mxCellPath.PATH_SEPARATOR),_0xfc29x4[_0xa1fe[204]](_0xfc29x9,_0xfc29x12));_0xfc29xa=mxCellPath[_0xa1fe[469]](_0xfc29xa,_0xfc29x12);return 0==_0xfc29xa?0:0<_0xfc29xa==_0xfc29x3?1:-1});return _0xfc29x2},getStylename:function(_0xfc29x2){return null!=_0xfc29x2&&(_0xfc29x2=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471])[0],0>_0xfc29x2[_0xa1fe[2]](_0xa1fe[226]))?_0xfc29x2:_0xa1fe[110]},getStylenames:function(_0xfc29x2){var _0xfc29x3=[];if(null!=_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471]);for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){0>_0xfc29x2[_0xfc29x4][_0xa1fe[2]](_0xa1fe[226])&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])}};return _0xfc29x3},indexOfStylename:function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x3){for(var _0xfc29x4=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471]),_0xfc29x5=0,_0xfc29x9=0;_0xfc29x9<_0xfc29x4[_0xa1fe[67]];_0xfc29x9++){if(_0xfc29x4[_0xfc29x9]==_0xfc29x3){return _0xfc29x5};_0xfc29x5+=_0xfc29x4[_0xfc29x9][_0xa1fe[67]]+1}};return -1},addStylename:function(_0xfc29x2,_0xfc29x3){0>mxUtils[_0xa1fe[472]](_0xfc29x2,_0xfc29x3)&&(null==_0xfc29x2?_0xfc29x2=_0xa1fe[110]:0<_0xfc29x2[_0xa1fe[67]]&&_0xa1fe[471]!=_0xfc29x2[_0xa1fe[225]](_0xfc29x2[_0xa1fe[67]]-1)&&(_0xfc29x2+=_0xa1fe[471]),_0xfc29x2+=_0xfc29x3);return _0xfc29x2},removeStylename:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=[];if(null!=_0xfc29x2){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471]),_0xfc29x9=0;_0xfc29x9<_0xfc29x5[_0xa1fe[67]];_0xfc29x9++){_0xfc29x5[_0xfc29x9]!=_0xfc29x3&&_0xfc29x4[_0xa1fe[207]](_0xfc29x5[_0xfc29x9])}};return _0xfc29x4[_0xa1fe[234]](_0xa1fe[471])},removeAllStylenames:function(_0xfc29x2){var _0xfc29x3=[];if(null!=_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471]);for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){0<=_0xfc29x2[_0xfc29x4][_0xa1fe[2]](_0xa1fe[226])&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])}};return _0xfc29x3[_0xa1fe[234]](_0xa1fe[471])},setCellStyles:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]){_0xfc29x2[_0xa1fe[473]]();try{for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){if(null!=_0xfc29x3[_0xfc29x9]){var _0xfc29xa=mxUtils[_0xa1fe[475]](_0xfc29x2[_0xa1fe[474]](_0xfc29x3[_0xfc29x9]),_0xfc29x4,_0xfc29x5);_0xfc29x2[_0xa1fe[475]](_0xfc29x3[_0xfc29x9],_0xfc29xa)}}}finally{_0xfc29x2[_0xa1fe[476]]()}}},setStyle:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=null!=_0xfc29x4&&(_0xa1fe[82]== typeof _0xfc29x4[_0xa1fe[67]]||0<_0xfc29x4[_0xa1fe[67]]);if(null==_0xfc29x2||0==_0xfc29x2[_0xa1fe[67]]){_0xfc29x5&&(_0xfc29x2=_0xfc29x3+_0xa1fe[226]+_0xfc29x4)}else {var _0xfc29x9=_0xfc29x2[_0xa1fe[2]](_0xfc29x3+_0xa1fe[226]);0>_0xfc29x9?_0xfc29x5&&(_0xfc29x5=_0xa1fe[471]==_0xfc29x2[_0xa1fe[225]](_0xfc29x2[_0xa1fe[67]]-1)?_0xa1fe[110]:_0xa1fe[471],_0xfc29x2=_0xfc29x2+_0xfc29x5+_0xfc29x3+_0xa1fe[226]+_0xfc29x4):(_0xfc29x3=_0xfc29x5?_0xfc29x3+_0xa1fe[226]+_0xfc29x4:_0xa1fe[110],_0xfc29x4=_0xfc29x2[_0xa1fe[2]](_0xa1fe[471],_0xfc29x9),_0xfc29x5||_0xfc29x4++,_0xfc29x2=_0xfc29x2[_0xa1fe[85]](0,_0xfc29x9)+_0xfc29x3+(_0xfc29x4>_0xfc29x9?_0xfc29x2[_0xa1fe[85]](_0xfc29x4):_0xa1fe[110]))};return _0xfc29x2},setCellStyleFlags:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]){_0xfc29x2[_0xa1fe[473]]();try{for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[67]];_0xfc29xa++){if(null!=_0xfc29x3[_0xfc29xa]){var _0xfc29x12=mxUtils[_0xa1fe[477]](_0xfc29x2[_0xa1fe[474]](_0xfc29x3[_0xfc29xa]),_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[475]](_0xfc29x3[_0xfc29xa],_0xfc29x12)}}}finally{_0xfc29x2[_0xa1fe[476]]()}}},setStyleFlag:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null==_0xfc29x2||0==_0xfc29x2[_0xa1fe[67]]){_0xfc29x2=_0xfc29x5||null==_0xfc29x5?_0xfc29x3+_0xa1fe[226]+_0xfc29x4:_0xfc29x3+_0xa1fe[478]}else {var _0xfc29x9=_0xfc29x2[_0xa1fe[2]](_0xfc29x3+_0xa1fe[226]);if(0>_0xfc29x9){_0xfc29x9=_0xa1fe[471]==_0xfc29x2[_0xa1fe[225]](_0xfc29x2[_0xa1fe[67]]-1)?_0xa1fe[110]:_0xa1fe[471],_0xfc29x2=_0xfc29x5||null==_0xfc29x5?_0xfc29x2+_0xfc29x9+_0xfc29x3+_0xa1fe[226]+_0xfc29x4:_0xfc29x2+_0xfc29x9+_0xfc29x3+_0xa1fe[478]}else {var _0xfc29xa=_0xfc29x2[_0xa1fe[2]](_0xa1fe[471],_0xfc29x9),_0xfc29x12=_0xa1fe[110],_0xfc29x12=0>_0xfc29xa?_0xfc29x2[_0xa1fe[85]](_0xfc29x9+_0xfc29x3[_0xa1fe[67]]+1):_0xfc29x2[_0xa1fe[85]](_0xfc29x9+_0xfc29x3[_0xa1fe[67]]+1,_0xfc29xa),_0xfc29x12=null==_0xfc29x5?parseInt(_0xfc29x12)^_0xfc29x4:_0xfc29x5?parseInt(_0xfc29x12)|_0xfc29x4:parseInt(_0xfc29x12)& ~_0xfc29x4;_0xfc29x2=_0xfc29x2[_0xa1fe[85]](0,_0xfc29x9)+_0xfc29x3+_0xa1fe[226]+_0xfc29x12+(0<=_0xfc29xa?_0xfc29x2[_0xa1fe[85]](_0xfc29xa):_0xa1fe[110])}};return _0xfc29x2},getAlignmentAsPoint:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=0,_0xfc29x5=0;_0xfc29x2==mxConstants[_0xa1fe[479]]?_0xfc29x4= -0.5:_0xfc29x2==mxConstants[_0xa1fe[480]]&&(_0xfc29x4= -1);_0xfc29x3==mxConstants[_0xa1fe[481]]?_0xfc29x5= -0.5:_0xfc29x3==mxConstants[_0xa1fe[482]]&&(_0xfc29x5= -1);return new mxPoint(_0xfc29x4,_0xfc29x5)},getSizeForString:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:mxConstants[_0xa1fe[483]];_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:mxConstants[_0xa1fe[484]];var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x5[_0xa1fe[124]][_0xa1fe[486]]=_0xfc29x4;_0xfc29x5[_0xa1fe[124]][_0xa1fe[487]]=Math[_0xa1fe[488]](_0xfc29x3)+_0xa1fe[168];_0xfc29x5[_0xa1fe[124]][_0xa1fe[489]]=Math[_0xa1fe[488]](_0xfc29x3*mxConstants[_0xa1fe[490]])+_0xa1fe[168];_0xfc29x5[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x5[_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[494];_0xfc29x5[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];_0xfc29x5[_0xa1fe[124]][_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498];_0xfc29x5[_0xa1fe[124]][_0xa1fe[499]]=_0xa1fe[500];_0xfc29x5[_0xa1fe[339]]=_0xfc29x2;document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x5);_0xfc29x2= new mxRectangle(0,0,_0xfc29x5[_0xa1fe[359]],_0xfc29x5[_0xa1fe[167]]);document[_0xa1fe[112]][_0xa1fe[266]](_0xfc29x5);return _0xfc29x2},getViewXml:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:0;_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:0;_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:1;null==_0xfc29x4&&(_0xfc29x4=[_0xfc29x2[_0xa1fe[502]]()[_0xa1fe[501]]()]);var _0xfc29xa=_0xfc29x2[_0xa1fe[249]](),_0xfc29x12=null,_0xfc29x13=_0xfc29xa[_0xa1fe[503]]();_0xfc29xa[_0xa1fe[504]](!1);var _0xfc29x14=_0xfc29xa[_0xa1fe[505]],_0xfc29x15=_0xfc29xa[_0xa1fe[506]];_0xfc29x2[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?(_0xfc29xa[_0xa1fe[505]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449]),_0xfc29xa[_0xa1fe[510]][_0xa1fe[62]](_0xfc29xa[_0xa1fe[505]]),_0xfc29xa[_0xa1fe[506]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449])):(_0xfc29xa[_0xa1fe[505]]=_0xfc29xa[_0xa1fe[505]][_0xa1fe[511]](!1),_0xfc29xa[_0xa1fe[510]][_0xa1fe[62]](_0xfc29xa[_0xa1fe[505]]),_0xfc29xa[_0xa1fe[506]]=_0xfc29xa[_0xa1fe[506]][_0xa1fe[511]](!1));_0xfc29xa[_0xa1fe[510]][_0xa1fe[62]](_0xfc29xa[_0xa1fe[506]]);var _0xfc29x16=_0xfc29xa[_0xa1fe[512]]();_0xfc29xa[_0xa1fe[513]]= new mxPoint(_0xfc29x5,_0xfc29x9);_0xfc29x3= new mxTemporaryCellStates(_0xfc29x2[_0xa1fe[249]](),_0xfc29x3,_0xfc29x4);try{_0xfc29x12=( new mxCodec)[_0xa1fe[514]](_0xfc29x2[_0xa1fe[249]]())}finally{_0xfc29x3[_0xa1fe[515]](),_0xfc29xa[_0xa1fe[513]]=_0xfc29x16,_0xfc29xa[_0xa1fe[510]][_0xa1fe[266]](_0xfc29xa[_0xa1fe[505]]),_0xfc29xa[_0xa1fe[510]][_0xa1fe[266]](_0xfc29xa[_0xa1fe[506]]),_0xfc29xa[_0xa1fe[505]]=_0xfc29x14,_0xfc29xa[_0xa1fe[506]]=_0xfc29x15,_0xfc29xa[_0xa1fe[504]](_0xfc29x13)};return _0xfc29x12},getScaleForPageCount:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(1>_0xfc29x2){return 1};_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:mxConstants[_0xa1fe[516]];_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:0;var _0xfc29x9=_0xfc29x4[_0xa1fe[117]]-2*_0xfc29x5;_0xfc29x4=_0xfc29x4[_0xa1fe[119]]-2*_0xfc29x5;_0xfc29x5=_0xfc29x3[_0xa1fe[517]]()[_0xa1fe[238]]();_0xfc29x3=_0xfc29x3[_0xa1fe[249]]()[_0xa1fe[518]]();_0xfc29x5[_0xa1fe[117]]/=_0xfc29x3;_0xfc29x5[_0xa1fe[119]]/=_0xfc29x3;_0xfc29x3=_0xfc29x5[_0xa1fe[117]];_0xfc29x4=_0xfc29x3/_0xfc29x5[_0xa1fe[119]]/(_0xfc29x9/_0xfc29x4);_0xfc29x5=Math[_0xa1fe[428]](_0xfc29x2);var _0xfc29xa=Math[_0xa1fe[428]](_0xfc29x4);_0xfc29x4=_0xfc29x5*_0xfc29xa;_0xfc29x5/=_0xfc29xa;if(1>_0xfc29x4&&_0xfc29x5>_0xfc29x2){var _0xfc29x12=_0xfc29x5/_0xfc29x2;_0xfc29x5=_0xfc29x2;_0xfc29x4/=_0xfc29x12};1>_0xfc29x5&&_0xfc29x4>_0xfc29x2&&(_0xfc29x12=_0xfc29x4/_0xfc29x2,_0xfc29x4=_0xfc29x2,_0xfc29x5/=_0xfc29x12);_0xfc29x12=Math[_0xa1fe[430]](_0xfc29x4)*Math[_0xa1fe[430]](_0xfc29x5);for(_0xfc29xa=0;_0xfc29x12>_0xfc29x2;){var _0xfc29x12=Math[_0xa1fe[519]](_0xfc29x4)/_0xfc29x4,_0xfc29x13=Math[_0xa1fe[519]](_0xfc29x5)/_0xfc29x5;1==_0xfc29x12&&(_0xfc29x12=Math[_0xa1fe[519]](_0xfc29x4-1)/_0xfc29x4);1==_0xfc29x13&&(_0xfc29x13=Math[_0xa1fe[519]](_0xfc29x5-1)/_0xfc29x5);_0xfc29x12=_0xfc29x12>_0xfc29x13?_0xfc29x12:_0xfc29x13;_0xfc29x4*=_0xfc29x12;_0xfc29x5*=_0xfc29x12;_0xfc29x12=Math[_0xa1fe[430]](_0xfc29x4)*Math[_0xa1fe[430]](_0xfc29x5);_0xfc29xa++;if(10<_0xfc29xa){break}};return 0.99999*(_0xfc29x9*_0xfc29x4/_0xfc29x3)},show:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:0;null==_0xfc29x3?_0xfc29x3=window[_0xa1fe[392]]()[_0xa1fe[395]]:_0xfc29x3[_0xa1fe[392]]();var _0xfc29x9=_0xfc29x2[_0xa1fe[517]]();_0xfc29x4=-_0xfc29x9[_0xa1fe[235]]+_0xfc29x4;_0xfc29x5=-_0xfc29x9[_0xa1fe[236]]+_0xfc29x5;if(mxClient[_0xa1fe[80]]){for(var _0xfc29x9=_0xa1fe[520],_0xfc29xa=document[_0xa1fe[64]](_0xa1fe[521]),_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){_0xfc29x9+=_0xfc29xa[_0xfc29x12][_0xa1fe[342]]};_0xfc29x9+=_0xa1fe[522];for(_0xfc29x12=0;_0xfc29x12<document[_0xa1fe[523]][_0xa1fe[67]];_0xfc29x12++){try{_0xfc29x9+=document[_0xa1fe[523]](_0xfc29x12)[_0xa1fe[103]]}catch(h){}};_0xfc29x9+=_0xa1fe[524];_0xfc29x9+=_0xa1fe[525];_0xfc29x9+=_0xfc29x2[_0xa1fe[526]][_0xa1fe[339]];_0xfc29x9+=_0xa1fe[527];_0xfc29x9+=_0xa1fe[528];_0xfc29x3[_0xa1fe[171]](_0xfc29x9);_0xfc29x3[_0xa1fe[268]]();_0xfc29x2=_0xfc29x3[_0xa1fe[112]][_0xa1fe[64]](_0xa1fe[529])[0];null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492],_0xfc29x2[_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x4+_0xa1fe[168],_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x5+_0xa1fe[168])}else {_0xfc29x3[_0xa1fe[171]](_0xa1fe[530]);_0xfc29x3[_0xa1fe[171]](_0xa1fe[531]);_0xfc29xa=document[_0xa1fe[64]](_0xa1fe[521]);for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){_0xfc29x3[_0xa1fe[171]](mxUtils[_0xa1fe[532]](_0xfc29xa[_0xfc29x12]))};_0xfc29xa=document[_0xa1fe[64]](_0xa1fe[54]);for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){_0xfc29x3[_0xa1fe[171]](mxUtils[_0xa1fe[532]](_0xfc29xa[_0xfc29x12]))};_0xfc29xa=document[_0xa1fe[64]](_0xa1fe[124]);for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){_0xfc29x3[_0xa1fe[171]](mxUtils[_0xa1fe[532]](_0xfc29xa[_0xfc29x12]))};_0xfc29x3[_0xa1fe[171]](_0xa1fe[533]);_0xfc29x3[_0xa1fe[171]](_0xa1fe[534]);_0xfc29x3[_0xa1fe[268]]();null==_0xfc29x3[_0xa1fe[112]]&&_0xfc29x3[_0xa1fe[158]][_0xa1fe[62]](_0xfc29x3[_0xa1fe[55]](_0xa1fe[112]));_0xfc29x3[_0xa1fe[112]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[278];for(_0xfc29x2=_0xfc29x2[_0xa1fe[526]][_0xa1fe[285]];null!=_0xfc29x2;){_0xfc29x12=_0xfc29x2[_0xa1fe[511]](!0),_0xfc29x3[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x12),_0xfc29x2=_0xfc29x2[_0xa1fe[287]]};_0xfc29x2=_0xfc29x3[_0xa1fe[64]](_0xa1fe[449])[0];null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+_0xfc29x4+_0xa1fe[537]+_0xfc29x5+_0xa1fe[460]),_0xfc29x4=_0xfc29x2[_0xa1fe[538]],_0xfc29x4[_0xa1fe[57]](_0xa1fe[117],_0xfc29x9[_0xa1fe[117]]+Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[235]],0)+3),_0xfc29x4[_0xa1fe[57]](_0xa1fe[119],_0xfc29x9[_0xa1fe[119]]+Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[236]],0)+3))};mxUtils[_0xa1fe[272]](_0xfc29x3[_0xa1fe[112]]);return _0xfc29x3},printScreen:function(_0xfc29x2){var _0xfc29x3=window[_0xa1fe[392]]();mxUtils[_0xa1fe[539]](_0xfc29x2,_0xfc29x3[_0xa1fe[395]]);_0xfc29x2=function(){_0xfc29x3[_0xa1fe[393]]();_0xfc29x3[_0xa1fe[540]]();_0xfc29x3[_0xa1fe[268]]()};mxClient[_0xa1fe[76]]?_0xfc29x3[_0xa1fe[261]](_0xfc29x2,500):_0xfc29x2()},popup:function(_0xfc29x2,_0xfc29x3){if(_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x4[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[276];_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[541];_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[542];var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[543]);_0xfc29x5[_0xa1fe[339]]=mxUtils[_0xa1fe[321]](_0xfc29x2,!1)[_0xa1fe[230]](/\n/g,_0xa1fe[545])[_0xa1fe[230]](/ /g,_0xa1fe[544]);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x4= new mxWindow(_0xa1fe[546],_0xfc29x4,document[_0xa1fe[112]][_0xa1fe[159]]/2-320,(document[_0xa1fe[112]][_0xa1fe[157]]||document[_0xa1fe[158]][_0xa1fe[157]])/2-240,640,480,!1,!0);_0xfc29x4[_0xa1fe[164]](!0);_0xfc29x4[_0xa1fe[175]](!0)}else {mxClient[_0xa1fe[133]]?(_0xfc29x4=window[_0xa1fe[392]](),_0xfc29x4[_0xa1fe[395]][_0xa1fe[171]](_0xa1fe[547]+mxUtils[_0xa1fe[321]](_0xfc29x2)+_0xa1fe[548]),_0xfc29x4[_0xa1fe[395]][_0xa1fe[268]]()):(_0xfc29x4=window[_0xa1fe[392]](),_0xfc29x5=_0xfc29x4[_0xa1fe[395]][_0xa1fe[55]](_0xa1fe[543]),_0xfc29x5[_0xa1fe[339]]=mxUtils[_0xa1fe[321]](_0xfc29x2,!1)[_0xa1fe[230]](/\n/g,_0xa1fe[545])[_0xa1fe[230]](/ /g,_0xa1fe[544]),_0xfc29x4[_0xa1fe[395]][_0xa1fe[112]][_0xa1fe[62]](_0xfc29x5))}},alert:function(_0xfc29x2){alert(_0xfc29x2)},prompt:function(_0xfc29x2,_0xfc29x3){return prompt(_0xfc29x2,_0xfc29x3)},confirm:function(_0xfc29x2){return confirm(_0xfc29x2)},error:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[549]]=_0xa1fe[550];var _0xfc29xa=document[_0xa1fe[55]](_0xa1fe[466]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[390],_0xfc29x5||mxUtils[_0xa1fe[551]]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[552],_0xa1fe[553]);_0xfc29xa[_0xa1fe[124]][_0xa1fe[123]]=_0xa1fe[554];_0xfc29x9[_0xa1fe[62]](_0xfc29xa);_0xfc29x9[_0xa1fe[62]](document[_0xa1fe[344]](_0xa1fe[555]));_0xfc29x9[_0xa1fe[62]](document[_0xa1fe[344]](_0xa1fe[555]));_0xfc29x9[_0xa1fe[62]](document[_0xa1fe[344]](_0xa1fe[555]));mxUtils[_0xa1fe[53]](_0xfc29x9,_0xfc29x2);_0xfc29x2=document[_0xa1fe[112]][_0xa1fe[159]];_0xfc29x5=document[_0xa1fe[112]][_0xa1fe[157]]||document[_0xa1fe[158]][_0xa1fe[157]];var _0xfc29x12= new mxWindow(mxResources[_0xa1fe[203]](mxUtils[_0xa1fe[556]])||mxUtils[_0xa1fe[556]],_0xfc29x9,(_0xfc29x2-_0xfc29x3)/2,_0xfc29x5/4,_0xfc29x3,null,!1,!0);_0xfc29x4&&(mxUtils[_0xa1fe[345]](_0xfc29x9),_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[346]),_0xfc29x4=document[_0xa1fe[55]](_0xa1fe[172]),mxClient[_0xa1fe[80]]?_0xfc29x4[_0xa1fe[124]][_0xa1fe[103]]=_0xa1fe[557]:_0xfc29x4[_0xa1fe[57]](_0xa1fe[124],_0xa1fe[557]),mxEvent[_0xa1fe[169]](_0xfc29x4,_0xa1fe[173],function(_0xfc29x2){_0xfc29x12[_0xa1fe[515]]()}),mxUtils[_0xa1fe[53]](_0xfc29x4,mxResources[_0xa1fe[203]](mxUtils[_0xa1fe[558]])||mxUtils[_0xa1fe[558]]),_0xfc29x3[_0xa1fe[62]](_0xfc29x4),_0xfc29x9[_0xa1fe[62]](_0xfc29x3),mxUtils[_0xa1fe[345]](_0xfc29x9),_0xfc29x12[_0xa1fe[164]](!0));_0xfc29x12[_0xa1fe[175]](!0);return _0xfc29x12},makeDraggable:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15){_0xfc29x2= new mxDragSource(_0xfc29x2,_0xfc29x4);_0xfc29x2[_0xa1fe[559]]= new mxPoint(null!=_0xfc29x9?_0xfc29x9:0,null!=_0xfc29xa?_0xfc29xa:mxConstants[_0xa1fe[560]]);_0xfc29x2[_0xa1fe[561]]=_0xfc29x12;_0xfc29x2[_0xa1fe[562]](!1);null!=_0xfc29x14&&(_0xfc29x2[_0xa1fe[563]]=_0xfc29x14);null!=_0xfc29x15&&(_0xfc29x2[_0xa1fe[564]]=_0xfc29x15);_0xfc29x2[_0xa1fe[565]]=function(_0xfc29x2){return _0xa1fe[279]== typeof _0xfc29x3?_0xfc29x3(_0xfc29x2):_0xfc29x3};null!=_0xfc29x5&&(_0xfc29x2[_0xa1fe[566]]=function(){return _0xfc29x5[_0xa1fe[511]](!0)},_0xfc29x13&&(_0xfc29x2[_0xa1fe[567]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x5[_0xa1fe[511]](!0),_0xfc29x4=parseInt(_0xfc29x3[_0xa1fe[124]][_0xa1fe[117]]),_0xfc29x9=parseInt(_0xfc29x3[_0xa1fe[124]][_0xa1fe[119]]);_0xfc29x3[_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[488]](_0xfc29x4*_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]])+_0xa1fe[168];_0xfc29x3[_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[488]](_0xfc29x9*_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]])+_0xa1fe[168];return _0xfc29x3}));return _0xfc29x2}},mxConstants={DEFAULT_HOTSPOT:0.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:_0xa1fe[568],RENDERING_HINT_FASTER:_0xa1fe[569],RENDERING_HINT_FASTEST:_0xa1fe[570],DIALECT_SVG:_0xa1fe[571],DIALECT_VML:_0xa1fe[572],DIALECT_MIXEDHTML:_0xa1fe[573],DIALECT_PREFERHTML:_0xa1fe[574],DIALECT_STRICTHTML:_0xa1fe[575],NS_SVG:_0xa1fe[576],NS_XHTML:_0xa1fe[577],NS_XLINK:_0xa1fe[578],SHADOWCOLOR:_0xa1fe[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:_0xa1fe[580],DEFAULT_INVALID_COLOR:_0xa1fe[581],HIGHLIGHT_STROKEWIDTH:3,CURSOR_MOVABLE_VERTEX:_0xa1fe[582],CURSOR_MOVABLE_EDGE:_0xa1fe[582],CURSOR_LABEL_HANDLE:_0xa1fe[583],CURSOR_BEND_HANDLE:_0xa1fe[356],CURSOR_CONNECT:_0xa1fe[356],HIGHLIGHT_COLOR:_0xa1fe[580],CONNECT_TARGET_COLOR:_0xa1fe[584],INVALID_CONNECT_TARGET_COLOR:_0xa1fe[581],DROP_TARGET_COLOR:_0xa1fe[584],VALID_COLOR:_0xa1fe[580],INVALID_COLOR:_0xa1fe[581],EDGE_SELECTION_COLOR:_0xa1fe[580],VERTEX_SELECTION_COLOR:_0xa1fe[580],VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:_0xa1fe[581],GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:_0xa1fe[585],OUTLINE_STROKEWIDTH:mxClient[_0xa1fe[80]]?2:3,HANDLE_SIZE:7,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:_0xa1fe[580],HANDLE_STROKECOLOR:_0xa1fe[586],LABEL_HANDLE_FILLCOLOR:_0xa1fe[587],CONNECT_HANDLE_FILLCOLOR:_0xa1fe[584],LOCKED_HANDLE_FILLCOLOR:_0xa1fe[581],OUTLINE_HANDLE_FILLCOLOR:_0xa1fe[588],OUTLINE_HANDLE_STROKECOLOR:_0xa1fe[589],DEFAULT_FONTFAMILY:_0xa1fe[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:_0xa1fe[130],STYLE_PERIMETER:_0xa1fe[591],STYLE_SOURCE_PORT:_0xa1fe[592],STYLE_TARGET_PORT:_0xa1fe[593],STYLE_PORT_CONSTRAINT:_0xa1fe[594],STYLE_OPACITY:_0xa1fe[461],STYLE_TEXT_OPACITY:_0xa1fe[595],STYLE_OVERFLOW:_0xa1fe[277],STYLE_ORTHOGONAL:_0xa1fe[596],STYLE_EXIT_X:_0xa1fe[597],STYLE_EXIT_Y:_0xa1fe[598],STYLE_EXIT_PERIMETER:_0xa1fe[599],STYLE_ENTRY_X:_0xa1fe[600],STYLE_ENTRY_Y:_0xa1fe[601],STYLE_ENTRY_PERIMETER:_0xa1fe[602],STYLE_WHITE_SPACE:_0xa1fe[493],STYLE_ROTATION:_0xa1fe[603],STYLE_FILLCOLOR:_0xa1fe[604],STYLE_SWIMLANE_FILLCOLOR:_0xa1fe[605],STYLE_GRADIENTCOLOR:_0xa1fe[606],STYLE_GRADIENT_DIRECTION:_0xa1fe[607],STYLE_STROKECOLOR:_0xa1fe[608],STYLE_SEPARATORCOLOR:_0xa1fe[609],STYLE_STROKEWIDTH:_0xa1fe[610],STYLE_ALIGN:_0xa1fe[611],STYLE_VERTICAL_ALIGN:_0xa1fe[123],STYLE_LABEL_POSITION:_0xa1fe[612],STYLE_VERTICAL_LABEL_POSITION:_0xa1fe[613],STYLE_IMAGE_ASPECT:_0xa1fe[614],STYLE_IMAGE_ALIGN:_0xa1fe[615],STYLE_IMAGE_VERTICAL_ALIGN:_0xa1fe[616],STYLE_GLASS:_0xa1fe[617],STYLE_IMAGE:_0xa1fe[618],STYLE_IMAGE_WIDTH:_0xa1fe[619],STYLE_IMAGE_HEIGHT:_0xa1fe[620],STYLE_IMAGE_BACKGROUND:_0xa1fe[621],STYLE_IMAGE_BORDER:_0xa1fe[622],STYLE_FLIPH:_0xa1fe[623],STYLE_FLIPV:_0xa1fe[624],STYLE_NOLABEL:_0xa1fe[625],STYLE_NOEDGESTYLE:_0xa1fe[626],STYLE_LABEL_BACKGROUNDCOLOR:_0xa1fe[627],STYLE_LABEL_BORDERCOLOR:_0xa1fe[628],STYLE_LABEL_PADDING:_0xa1fe[629],STYLE_INDICATOR_SHAPE:_0xa1fe[630],STYLE_INDICATOR_IMAGE:_0xa1fe[631],STYLE_INDICATOR_COLOR:_0xa1fe[632],STYLE_INDICATOR_STROKECOLOR:_0xa1fe[633],STYLE_INDICATOR_GRADIENTCOLOR:_0xa1fe[634],STYLE_INDICATOR_SPACING:_0xa1fe[635],STYLE_INDICATOR_WIDTH:_0xa1fe[636],STYLE_INDICATOR_HEIGHT:_0xa1fe[637],STYLE_INDICATOR_DIRECTION:_0xa1fe[638],STYLE_SHADOW:_0xa1fe[639],STYLE_SEGMENT:_0xa1fe[640],STYLE_ENDARROW:_0xa1fe[641],STYLE_STARTARROW:_0xa1fe[642],STYLE_ENDSIZE:_0xa1fe[643],STYLE_STARTSIZE:_0xa1fe[644],STYLE_SWIMLANE_LINE:_0xa1fe[645],STYLE_ENDFILL:_0xa1fe[646],STYLE_STARTFILL:_0xa1fe[647],STYLE_DASHED:_0xa1fe[648],STYLE_DASH_PATTERN:_0xa1fe[649],STYLE_ROUNDED:_0xa1fe[650],STYLE_CURVED:_0xa1fe[651],STYLE_ARCSIZE:_0xa1fe[652],STYLE_SMOOTH:_0xa1fe[653],STYLE_SOURCE_PERIMETER_SPACING:_0xa1fe[654],STYLE_TARGET_PERIMETER_SPACING:_0xa1fe[655],STYLE_PERIMETER_SPACING:_0xa1fe[656],STYLE_SPACING:_0xa1fe[657],STYLE_SPACING_TOP:_0xa1fe[658],STYLE_SPACING_LEFT:_0xa1fe[659],STYLE_SPACING_BOTTOM:_0xa1fe[660],STYLE_SPACING_RIGHT:_0xa1fe[661],STYLE_HORIZONTAL:_0xa1fe[662],STYLE_DIRECTION:_0xa1fe[663],STYLE_ELBOW:_0xa1fe[664],STYLE_FONTCOLOR:_0xa1fe[665],STYLE_FONTFAMILY:_0xa1fe[486],STYLE_FONTSIZE:_0xa1fe[487],STYLE_FONTSTYLE:_0xa1fe[666],STYLE_AUTOSIZE:_0xa1fe[667],STYLE_FOLDABLE:_0xa1fe[668],STYLE_EDITABLE:_0xa1fe[669],STYLE_BENDABLE:_0xa1fe[670],STYLE_MOVABLE:_0xa1fe[671],STYLE_RESIZABLE:_0xa1fe[672],STYLE_CLONEABLE:_0xa1fe[673],STYLE_DELETABLE:_0xa1fe[674],STYLE_SHAPE:_0xa1fe[253],STYLE_EDGE:_0xa1fe[675],STYLE_LOOP:_0xa1fe[676],STYLE_ROUTING_CENTER_X:_0xa1fe[677],STYLE_ROUTING_CENTER_Y:_0xa1fe[678],FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_SHADOW:8,SHAPE_RECTANGLE:_0xa1fe[679],SHAPE_ELLIPSE:_0xa1fe[680],SHAPE_DOUBLE_ELLIPSE:_0xa1fe[681],SHAPE_RHOMBUS:_0xa1fe[682],SHAPE_LINE:_0xa1fe[683],SHAPE_IMAGE:_0xa1fe[618],SHAPE_ARROW:_0xa1fe[684],SHAPE_LABEL:_0xa1fe[685],SHAPE_CYLINDER:_0xa1fe[686],SHAPE_SWIMLANE:_0xa1fe[687],SHAPE_CONNECTOR:_0xa1fe[688],SHAPE_ACTOR:_0xa1fe[689],SHAPE_CLOUD:_0xa1fe[690],SHAPE_TRIANGLE:_0xa1fe[691],SHAPE_HEXAGON:_0xa1fe[692],ARROW_CLASSIC:_0xa1fe[693],ARROW_BLOCK:_0xa1fe[694],ARROW_OPEN:_0xa1fe[392],ARROW_OVAL:_0xa1fe[695],ARROW_DIAMOND:_0xa1fe[696],ARROW_DIAMOND_THIN:_0xa1fe[697],ALIGN_LEFT:_0xa1fe[361],ALIGN_CENTER:_0xa1fe[698],ALIGN_RIGHT:_0xa1fe[699],ALIGN_TOP:_0xa1fe[125],ALIGN_MIDDLE:_0xa1fe[554],ALIGN_BOTTOM:_0xa1fe[553],DIRECTION_NORTH:_0xa1fe[700],DIRECTION_SOUTH:_0xa1fe[701],DIRECTION_EAST:_0xa1fe[702],DIRECTION_WEST:_0xa1fe[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:_0xa1fe[704],ELBOW_HORIZONTAL:_0xa1fe[662],EDGESTYLE_ELBOW:_0xa1fe[705],EDGESTYLE_ENTITY_RELATION:_0xa1fe[706],EDGESTYLE_LOOP:_0xa1fe[707],EDGESTYLE_SIDETOSIDE:_0xa1fe[708],EDGESTYLE_TOPTOBOTTOM:_0xa1fe[709],EDGESTYLE_ORTHOGONAL:_0xa1fe[710],EDGESTYLE_SEGMENT:_0xa1fe[711],PERIMETER_ELLIPSE:_0xa1fe[712],PERIMETER_RECTANGLE:_0xa1fe[713],PERIMETER_RHOMBUS:_0xa1fe[714],PERIMETER_TRIANGLE:_0xa1fe[715]};function mxEventObject(_0xfc29x2){this[_0xa1fe[298]]=_0xfc29x2;this[_0xa1fe[716]]=[];for(var _0xfc29x3=1;_0xfc29x3<arguments[_0xa1fe[67]];_0xfc29x3+=2){null!=arguments[_0xfc29x3+1]&&(this[_0xa1fe[716]][arguments[_0xfc29x3]]=arguments[_0xfc29x3+1])}}mxEventObject[_0xa1fe[202]][_0xa1fe[298]]=null;mxEventObject[_0xa1fe[202]][_0xa1fe[716]]=null;mxEventObject[_0xa1fe[202]][_0xa1fe[717]]= !1;mxEventObject[_0xa1fe[202]][_0xa1fe[718]]=function(){return this[_0xa1fe[298]]};mxEventObject[_0xa1fe[202]][_0xa1fe[719]]=function(){return this[_0xa1fe[716]]};mxEventObject[_0xa1fe[202]][_0xa1fe[720]]=function(_0xfc29x2){return this[_0xa1fe[716]][_0xfc29x2]};mxEventObject[_0xa1fe[202]][_0xa1fe[721]]=function(){return this[_0xa1fe[717]]};mxEventObject[_0xa1fe[202]][_0xa1fe[722]]=function(){this[_0xa1fe[717]]= !0};function mxMouseEvent(_0xfc29x2,_0xfc29x3){this[_0xa1fe[723]]=_0xfc29x2;this[_0xa1fe[724]]=_0xfc29x3}mxMouseEvent[_0xa1fe[202]][_0xa1fe[717]]= !1;mxMouseEvent[_0xa1fe[202]][_0xa1fe[723]]=null;mxMouseEvent[_0xa1fe[202]][_0xa1fe[725]]=null;mxMouseEvent[_0xa1fe[202]][_0xa1fe[726]]=null;mxMouseEvent[_0xa1fe[202]][_0xa1fe[724]]=null;mxMouseEvent[_0xa1fe[202]][_0xa1fe[727]]=function(){return this[_0xa1fe[723]]};mxMouseEvent[_0xa1fe[202]][_0xa1fe[728]]=function(){return mxEvent[_0xa1fe[728]](this[_0xa1fe[723]])};mxMouseEvent[_0xa1fe[202]][_0xa1fe[729]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[728]]();null!=_0xfc29x3;){if(_0xfc29x3==_0xfc29x2[_0xa1fe[252]]){return !0};_0xfc29x3=_0xfc29x3[_0xa1fe[265]]}};return !1};mxMouseEvent[_0xa1fe[202]][_0xa1fe[730]]=function(){return mxEvent[_0xa1fe[731]](this[_0xa1fe[727]]())};mxMouseEvent[_0xa1fe[202]][_0xa1fe[732]]=function(){return mxEvent[_0xa1fe[733]](this[_0xa1fe[727]]())};mxMouseEvent[_0xa1fe[202]][_0xa1fe[734]]=function(){return this[_0xa1fe[725]]};mxMouseEvent[_0xa1fe[202]][_0xa1fe[735]]=function(){return this[_0xa1fe[726]]};mxMouseEvent[_0xa1fe[202]][_0xa1fe[248]]=function(){return this[_0xa1fe[724]]};mxMouseEvent[_0xa1fe[202]][_0xa1fe[736]]=function(){var _0xfc29x2=this[_0xa1fe[248]]();return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[246]]:null};mxMouseEvent[_0xa1fe[202]][_0xa1fe[737]]=function(){return mxEvent[_0xa1fe[737]](this[_0xa1fe[727]]())};mxMouseEvent[_0xa1fe[202]][_0xa1fe[721]]=function(){return this[_0xa1fe[717]]};mxMouseEvent[_0xa1fe[202]][_0xa1fe[722]]=function(_0xfc29x2){(null!=_0xfc29x2?_0xfc29x2:1)&&this[_0xa1fe[723]][_0xa1fe[738]]&&this[_0xa1fe[723]][_0xa1fe[738]]();this[_0xa1fe[723]][_0xa1fe[739]]= !1;this[_0xa1fe[717]]= !0};function mxEventSource(_0xfc29x2){this[_0xa1fe[740]](_0xfc29x2)}mxEventSource[_0xa1fe[202]][_0xa1fe[741]]=null;mxEventSource[_0xa1fe[202]][_0xa1fe[742]]= !0;mxEventSource[_0xa1fe[202]][_0xa1fe[743]]=null;mxEventSource[_0xa1fe[202]][_0xa1fe[503]]=function(){return this[_0xa1fe[742]]};mxEventSource[_0xa1fe[202]][_0xa1fe[504]]=function(_0xfc29x2){this[_0xa1fe[742]]=_0xfc29x2};mxEventSource[_0xa1fe[202]][_0xa1fe[744]]=function(){return this[_0xa1fe[743]]};mxEventSource[_0xa1fe[202]][_0xa1fe[740]]=function(_0xfc29x2){this[_0xa1fe[743]]=_0xfc29x2};mxEventSource[_0xa1fe[202]][_0xa1fe[169]]=function(_0xfc29x2,_0xfc29x3){null==this[_0xa1fe[741]]&&(this[_0xa1fe[741]]=[]);this[_0xa1fe[741]][_0xa1fe[207]](_0xfc29x2);this[_0xa1fe[741]][_0xa1fe[207]](_0xfc29x3)};mxEventSource[_0xa1fe[202]][_0xa1fe[745]]=function(_0xfc29x2){if(null!=this[_0xa1fe[741]]){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[741]][_0xa1fe[67]];){this[_0xa1fe[741]][_0xfc29x3+1]==_0xfc29x2?this[_0xa1fe[741]][_0xa1fe[300]](_0xfc29x3,2):_0xfc29x3+=2}}};mxEventSource[_0xa1fe[202]][_0xa1fe[746]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[741]]&&this[_0xa1fe[503]]()){null==_0xfc29x2&&(_0xfc29x2= new mxEventObject);null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[744]]());null==_0xfc29x3&&(_0xfc29x3=this);for(var _0xfc29x4=[_0xfc29x3,_0xfc29x2],_0xfc29x5=0;_0xfc29x5<this[_0xa1fe[741]][_0xa1fe[67]];_0xfc29x5+=2){var _0xfc29x9=this[_0xa1fe[741]][_0xfc29x5];(null==_0xfc29x9||_0xfc29x9==_0xfc29x2[_0xa1fe[718]]())&&this[_0xa1fe[741]][_0xfc29x5+1][_0xa1fe[183]](this,_0xfc29x4)}}};var mxEvent={objects:[],addListener:function(){var _0xfc29x2=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){null==_0xfc29x2[_0xa1fe[69]]&&(_0xfc29x2[_0xa1fe[69]]=[],mxEvent[_0xa1fe[68]][_0xa1fe[207]](_0xfc29x2));_0xfc29x2[_0xa1fe[69]][_0xa1fe[207]]({name:_0xfc29x4,f:_0xfc29x5})};return window[_0xa1fe[418]]?function(_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3[_0xa1fe[418]](_0xfc29x4,_0xfc29x5,!1);_0xfc29x2(_0xfc29x3,_0xfc29x4,_0xfc29x5)}:function(_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3[_0xa1fe[108]](_0xa1fe[747]+_0xfc29x4,_0xfc29x5);_0xfc29x2(_0xfc29x3,_0xfc29x4,_0xfc29x5)}}(),removeListener:function(){var _0xfc29x2=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x2[_0xa1fe[69]]){_0xfc29x4=_0xfc29x2[_0xa1fe[69]][_0xa1fe[67]];for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x4;_0xfc29x9++){if(_0xfc29x2[_0xa1fe[69]][_0xfc29x9][_0xa1fe[748]]==_0xfc29x5){_0xfc29x2[_0xa1fe[69]][_0xa1fe[300]](_0xfc29x9,1);break}};0==_0xfc29x2[_0xa1fe[69]][_0xa1fe[67]]&&(_0xfc29x2[_0xa1fe[69]]=null)}};return window[_0xa1fe[749]]?function(_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3[_0xa1fe[749]](_0xfc29x4,_0xfc29x5,!1);_0xfc29x2(_0xfc29x3,_0xfc29x4,_0xfc29x5)}:function(_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3[_0xa1fe[750]](_0xa1fe[747]+_0xfc29x4,_0xfc29x5);_0xfc29x2(_0xfc29x3,_0xfc29x4,_0xfc29x5)}}(),removeAllListeners:function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[69]];if(null!=_0xfc29x3){for(;0<_0xfc29x3[_0xa1fe[67]];){var _0xfc29x4=_0xfc29x3[0];mxEvent[_0xa1fe[745]](_0xfc29x2,_0xfc29x4[_0xa1fe[298]],_0xfc29x4[_0xa1fe[748]])}}},addGestureListeners:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){null!=_0xfc29x3&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[751],_0xfc29x3);null!=_0xfc29x4&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[752],_0xfc29x4);null!=_0xfc29x5&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[753],_0xfc29x5);mxClient[_0xa1fe[754]]&&(null!=_0xfc29x3&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[755],_0xfc29x3),null!=_0xfc29x4&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[756],_0xfc29x4),null!=_0xfc29x5&&mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[757],_0xfc29x5))},removeGestureListeners:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){null!=_0xfc29x3&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[751],_0xfc29x3);null!=_0xfc29x4&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[752],_0xfc29x4);null!=_0xfc29x5&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[753],_0xfc29x5);mxClient[_0xa1fe[754]]&&(null!=_0xfc29x3&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[755],_0xfc29x3),null!=_0xfc29x4&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[756],_0xfc29x4),null!=_0xfc29x5&&mxEvent[_0xa1fe[745]](_0xfc29x2,_0xa1fe[757],_0xfc29x5))},redirectMouseEvents:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){var _0xfc29x13=function(_0xfc29x2){return _0xa1fe[279]== typeof _0xfc29x4?_0xfc29x4(_0xfc29x2):_0xfc29x4};mxEvent[_0xa1fe[759]](_0xfc29x2,function(_0xfc29x2){null!=_0xfc29x5?_0xfc29x5(_0xfc29x2):mxEvent[_0xa1fe[721]](_0xfc29x2)||_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x2,_0xfc29x13(_0xfc29x2)))},function(_0xfc29x2){null!=_0xfc29x9?_0xfc29x9(_0xfc29x2):mxEvent[_0xa1fe[721]](_0xfc29x2)||_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x2,_0xfc29x13(_0xfc29x2)))},function(_0xfc29x2){null!=_0xfc29xa?_0xfc29xa(_0xfc29x2):mxEvent[_0xa1fe[721]](_0xfc29x2)||_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x2,_0xfc29x13(_0xfc29x2)))});mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[760],function(_0xfc29x2){if(null!=_0xfc29x12){_0xfc29x12(_0xfc29x2)}else {if(!mxEvent[_0xa1fe[721]](_0xfc29x2)){var _0xfc29x4=_0xfc29x13(_0xfc29x2);_0xfc29x3[_0xa1fe[761]](_0xfc29x2,null!=_0xfc29x4?_0xfc29x4[_0xa1fe[246]]:null)}}})},release:function(_0xfc29x2){if(null!=_0xfc29x2&&(mxEvent[_0xa1fe[70]](_0xfc29x2),_0xfc29x2=_0xfc29x2[_0xa1fe[271]],null!=_0xfc29x2)){for(var _0xfc29x3=_0xfc29x2[_0xa1fe[67]],_0xfc29x4=0;_0xfc29x4<_0xfc29x3;_0xfc29x4+=1){mxEvent[_0xa1fe[762]](_0xfc29x2[_0xfc29x4])}}},addMouseWheelListener:function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=function(_0xfc29x3){null==_0xfc29x3&&(_0xfc29x3=window[_0xa1fe[763]]);var _0xfc29x5=0,_0xfc29x5=mxClient[_0xa1fe[133]]&&!mxClient[_0xa1fe[75]]&&!mxClient[_0xa1fe[76]]?-_0xfc29x3[_0xa1fe[764]]/2:_0xfc29x3[_0xa1fe[765]]/120;0!=_0xfc29x5&&_0xfc29x2(_0xfc29x3,0<_0xfc29x5)};mxClient[_0xa1fe[133]]?mxEvent[_0xa1fe[169]](window,mxClient[_0xa1fe[75]]||mxClient[_0xa1fe[76]]?_0xa1fe[766]:_0xa1fe[767],_0xfc29x3):mxEvent[_0xa1fe[169]](document,_0xa1fe[766],_0xfc29x3)}},disableContextMenu:function(){return mxClient[_0xa1fe[80]]&&(_0xa1fe[82]=== typeof document[_0xa1fe[5]]||9>document[_0xa1fe[5]])?function(_0xfc29x2){mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[768],function(){return !1})}:function(_0xfc29x2){_0xfc29x2[_0xa1fe[57]](_0xa1fe[769],_0xa1fe[770])}}(),getSource:function(_0xfc29x2){return null!=_0xfc29x2[_0xa1fe[771]]?_0xfc29x2[_0xa1fe[771]]:_0xfc29x2[_0xa1fe[772]]},isConsumed:function(_0xfc29x2){return null!=_0xfc29x2[_0xa1fe[721]]&&_0xfc29x2[_0xa1fe[721]]},isLeftMouseButton:function(_0xfc29x2){return _0xfc29x2[_0xa1fe[172]]==(mxClient[_0xa1fe[80]]&&(_0xa1fe[82]=== typeof document[_0xa1fe[5]]||9>document[_0xa1fe[5]])?1:0)},isRightMouseButton:function(_0xfc29x2){return 2==_0xfc29x2[_0xa1fe[172]]},isPopupTrigger:function(_0xfc29x2){return mxEvent[_0xa1fe[773]](_0xfc29x2)||mxEvent[_0xa1fe[774]](_0xfc29x2)&&!mxEvent[_0xa1fe[775]](_0xfc29x2)},isShiftDown:function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[776]]:!1},isAltDown:function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[777]]:!1},isControlDown:function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[778]]:!1},isMetaDown:function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[779]]:!1},getMainEvent:function(_0xfc29x2){(_0xa1fe[755]==_0xfc29x2[_0xa1fe[60]]||_0xa1fe[756]==_0xfc29x2[_0xa1fe[60]])&&null!=_0xfc29x2[_0xa1fe[780]]&&null!=_0xfc29x2[_0xa1fe[780]][0]?_0xfc29x2=_0xfc29x2[_0xa1fe[780]][0]:_0xa1fe[757]==_0xfc29x2[_0xa1fe[60]]&&(null!=_0xfc29x2[_0xa1fe[781]]&&null!=_0xfc29x2[_0xa1fe[781]][0])&&(_0xfc29x2=_0xfc29x2[_0xa1fe[781]][0]);return _0xfc29x2},getClientX:function(_0xfc29x2){return mxEvent[_0xa1fe[783]](_0xfc29x2)[_0xa1fe[782]]},getClientY:function(_0xfc29x2){return mxEvent[_0xa1fe[783]](_0xfc29x2)[_0xa1fe[784]]},consume:function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;if(null!=_0xfc29x3?_0xfc29x3:1){_0xfc29x2[_0xa1fe[738]]?(_0xfc29x4&&_0xfc29x2[_0xa1fe[785]](),_0xfc29x2[_0xa1fe[738]]()):_0xfc29x4&&(_0xfc29x2[_0xa1fe[786]]= !0)};_0xfc29x2[_0xa1fe[721]]= !0;_0xfc29x2[_0xa1fe[739]]= !1},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,MOUSE_DOWN:_0xa1fe[787],MOUSE_MOVE:_0xa1fe[788],MOUSE_UP:_0xa1fe[789],ACTIVATE:_0xa1fe[790],RESIZE_START:_0xa1fe[791],RESIZE:_0xa1fe[129],RESIZE_END:_0xa1fe[792],MOVE_START:_0xa1fe[793],MOVE:_0xa1fe[582],MOVE_END:_0xa1fe[794],PAN_START:_0xa1fe[795],PAN:_0xa1fe[796],PAN_END:_0xa1fe[797],MINIMIZE:_0xa1fe[798],NORMALIZE:_0xa1fe[799],MAXIMIZE:_0xa1fe[800],HIDE:_0xa1fe[801],SHOW:_0xa1fe[539],CLOSE:_0xa1fe[268],DESTROY:_0xa1fe[515],REFRESH:_0xa1fe[802],SIZE:_0xa1fe[803],SELECT:_0xa1fe[804],FIRED:_0xa1fe[805],GET:_0xa1fe[203],RECEIVE:_0xa1fe[806],CONNECT:_0xa1fe[807],DISCONNECT:_0xa1fe[808],SUSPEND:_0xa1fe[809],RESUME:_0xa1fe[810],MARK:_0xa1fe[811],SESSION:_0xa1fe[812],ROOT:_0xa1fe[813],POST:_0xa1fe[814],OPEN:_0xa1fe[392],SAVE:_0xa1fe[815],BEFORE_ADD_VERTEX:_0xa1fe[816],ADD_VERTEX:_0xa1fe[817],AFTER_ADD_VERTEX:_0xa1fe[818],DONE:_0xa1fe[819],EXECUTE:_0xa1fe[350],EXECUTED:_0xa1fe[820],BEGIN_UPDATE:_0xa1fe[473],START_EDIT:_0xa1fe[821],END_UPDATE:_0xa1fe[476],END_EDIT:_0xa1fe[822],BEFORE_UNDO:_0xa1fe[823],UNDO:_0xa1fe[824],REDO:_0xa1fe[825],CHANGE:_0xa1fe[826],NOTIFY:_0xa1fe[827],LAYOUT_CELLS:_0xa1fe[828],CLICK:_0xa1fe[173],SCALE:_0xa1fe[255],TRANSLATE:_0xa1fe[513],SCALE_AND_TRANSLATE:_0xa1fe[829],UP:_0xa1fe[830],DOWN:_0xa1fe[831],ADD:_0xa1fe[99],REMOVE:_0xa1fe[205],CLEAR:_0xa1fe[200],ADD_CELLS:_0xa1fe[832],CELLS_ADDED:_0xa1fe[833],MOVE_CELLS:_0xa1fe[834],CELLS_MOVED:_0xa1fe[835],RESIZE_CELLS:_0xa1fe[836],CELLS_RESIZED:_0xa1fe[837],TOGGLE_CELLS:_0xa1fe[838],CELLS_TOGGLED:_0xa1fe[839],ORDER_CELLS:_0xa1fe[840],CELLS_ORDERED:_0xa1fe[841],REMOVE_CELLS:_0xa1fe[842],CELLS_REMOVED:_0xa1fe[843],GROUP_CELLS:_0xa1fe[844],UNGROUP_CELLS:_0xa1fe[845],REMOVE_CELLS_FROM_PARENT:_0xa1fe[846],FOLD_CELLS:_0xa1fe[847],CELLS_FOLDED:_0xa1fe[848],ALIGN_CELLS:_0xa1fe[849],LABEL_CHANGED:_0xa1fe[850],CONNECT_CELL:_0xa1fe[851],CELL_CONNECTED:_0xa1fe[852],SPLIT_EDGE:_0xa1fe[853],FLIP_EDGE:_0xa1fe[854],START_EDITING:_0xa1fe[855],ADD_OVERLAY:_0xa1fe[856],REMOVE_OVERLAY:_0xa1fe[857],UPDATE_CELL_SIZE:_0xa1fe[858],ESCAPE:_0xa1fe[859],CLICK:_0xa1fe[173],DOUBLE_CLICK:_0xa1fe[860],START:_0xa1fe[861],RESET:_0xa1fe[862]};function mxXmlRequest(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[863]]=_0xfc29x2;this[_0xa1fe[864]]=_0xfc29x3;this[_0xa1fe[865]]=_0xfc29x4||_0xa1fe[866];this[_0xa1fe[307]]=null!=_0xfc29x5?_0xfc29x5:!0;this[_0xa1fe[867]]=_0xfc29x9;this[_0xa1fe[868]]=_0xfc29xa}mxXmlRequest[_0xa1fe[202]][_0xa1fe[863]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[864]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[865]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[307]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[869]]= !1;mxXmlRequest[_0xa1fe[202]][_0xa1fe[867]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[868]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[870]]=null;mxXmlRequest[_0xa1fe[202]][_0xa1fe[871]]=function(){return this[_0xa1fe[869]]};mxXmlRequest[_0xa1fe[202]][_0xa1fe[872]]=function(_0xfc29x2){this[_0xa1fe[869]]=_0xfc29x2};mxXmlRequest[_0xa1fe[202]][_0xa1fe[221]]=function(){return this[_0xa1fe[870]][_0xa1fe[873]]};mxXmlRequest[_0xa1fe[202]][_0xa1fe[220]]=function(){return 4==this[_0xa1fe[870]][_0xa1fe[417]]};mxXmlRequest[_0xa1fe[202]][_0xa1fe[874]]=function(){var _0xfc29x2=this[_0xa1fe[875]]();return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[158]]:null};mxXmlRequest[_0xa1fe[202]][_0xa1fe[875]]=function(){var _0xfc29x2=this[_0xa1fe[870]][_0xa1fe[876]];if(9<=document[_0xa1fe[5]]||null==_0xfc29x2||null==_0xfc29x2[_0xa1fe[158]]){_0xfc29x2=mxUtils[_0xa1fe[877]](this[_0xa1fe[870]][_0xa1fe[873]])};return _0xfc29x2};mxXmlRequest[_0xa1fe[202]][_0xa1fe[221]]=function(){return this[_0xa1fe[870]][_0xa1fe[873]]};mxXmlRequest[_0xa1fe[202]][_0xa1fe[878]]=function(){return this[_0xa1fe[870]][_0xa1fe[879]]};mxXmlRequest[_0xa1fe[202]][_0xa1fe[385]]=function(){if(window[_0xa1fe[880]]){return function(){var _0xfc29x2= new XMLHttpRequest;this[_0xa1fe[871]]()&&_0xfc29x2[_0xa1fe[881]]&&_0xfc29x2[_0xa1fe[881]](_0xa1fe[882]);return _0xfc29x2}};if(_0xa1fe[82]!= typeof ActiveXObject){return function(){return new ActiveXObject(_0xa1fe[883])}}}();mxXmlRequest[_0xa1fe[202]][_0xa1fe[414]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[870]]=this[_0xa1fe[385]]();null!=this[_0xa1fe[870]]&&(null!=_0xfc29x2&&(this[_0xa1fe[870]][_0xa1fe[416]]=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[220]]()&&(_0xfc29x2(this),this[_0xa1fe[884]]=null)})),this[_0xa1fe[870]][_0xa1fe[392]](this[_0xa1fe[865]],this[_0xa1fe[863]],this[_0xa1fe[307]],this[_0xa1fe[867]],this[_0xa1fe[868]]),this[_0xa1fe[886]](this[_0xa1fe[870]],this[_0xa1fe[864]]),this[_0xa1fe[870]][_0xa1fe[414]](this[_0xa1fe[864]]))};mxXmlRequest[_0xa1fe[202]][_0xa1fe[886]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[889]](_0xa1fe[887],_0xa1fe[888])};mxXmlRequest[_0xa1fe[202]][_0xa1fe[415]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=_0xfc29x2||document;var _0xfc29x4=null;_0xfc29x2==document&&(_0xfc29x4=window[_0xa1fe[890]],window[_0xa1fe[890]]=null);var _0xfc29x5=_0xfc29x2[_0xa1fe[55]](_0xa1fe[891]);_0xfc29x5[_0xa1fe[57]](_0xa1fe[865],this[_0xa1fe[865]]);_0xfc29x5[_0xa1fe[57]](_0xa1fe[892],this[_0xa1fe[863]]);null!=_0xfc29x3&&_0xfc29x5[_0xa1fe[57]](_0xa1fe[772],_0xfc29x3);_0xfc29x5[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];_0xfc29x5[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];for(var _0xfc29x9=0<this[_0xa1fe[864]][_0xa1fe[2]](_0xa1fe[893])?this[_0xa1fe[864]][_0xa1fe[224]](_0xa1fe[893]):this[_0xa1fe[864]][_0xa1fe[224]](),_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x9[_0xfc29xa][_0xa1fe[2]](_0xa1fe[226]);if(0<_0xfc29x12){var _0xfc29x13=_0xfc29x9[_0xfc29xa][_0xa1fe[85]](0,_0xfc29x12),_0xfc29x14=_0xfc29x9[_0xfc29xa][_0xa1fe[85]](_0xfc29x12+1),_0xfc29x12=_0xfc29x2[_0xa1fe[55]](_0xa1fe[126]);_0xfc29x12[_0xa1fe[57]](_0xa1fe[298],_0xfc29x13);_0xfc29x14=_0xfc29x14[_0xa1fe[230]](/\n/g,_0xa1fe[336]);_0xfc29x13=_0xfc29x2[_0xa1fe[344]](_0xfc29x14);_0xfc29x12[_0xa1fe[62]](_0xfc29x13);_0xfc29x5[_0xa1fe[62]](_0xfc29x12)}};_0xfc29x2[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x5);_0xfc29x5[_0xa1fe[894]]();_0xfc29x2[_0xa1fe[112]][_0xa1fe[266]](_0xfc29x5);null!=_0xfc29x4&&(window[_0xa1fe[890]]=_0xfc29x4)};var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,isEmpty:function(){return null==mxClipboard[_0xa1fe[895]]},cut:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=mxClipboard[_0xa1fe[149]](_0xfc29x2,_0xfc29x3);mxClipboard[_0xa1fe[896]]=0;mxClipboard[_0xa1fe[842]](_0xfc29x2,_0xfc29x3);return _0xfc29x3},removeCells:function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[842]](_0xfc29x3)},copy:function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3||_0xfc29x2[_0xa1fe[897]]();var _0xfc29x4=_0xfc29x2[_0xa1fe[898]](_0xfc29x3);mxClipboard[_0xa1fe[896]]=1;mxClipboard[_0xa1fe[895]]=_0xfc29x2[_0xa1fe[899]](_0xfc29x4);return _0xfc29x4},paste:function(_0xfc29x2){if(null!=mxClipboard[_0xa1fe[895]]){var _0xfc29x3=_0xfc29x2[_0xa1fe[900]](mxClipboard[_0xa1fe[895]]),_0xfc29x4=mxClipboard[_0xa1fe[896]]*mxClipboard[_0xa1fe[901]],_0xfc29x5=_0xfc29x2[_0xa1fe[902]](),_0xfc29x3=_0xfc29x2[_0xa1fe[903]](_0xfc29x3,_0xfc29x4,_0xfc29x4,_0xfc29x5);mxClipboard[_0xa1fe[896]]++;_0xfc29x2[_0xa1fe[904]](_0xfc29x3)}}};function mxWindow(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15){null!=_0xfc29x3&&(_0xfc29x12=null!=_0xfc29x12?_0xfc29x12:!0,this[_0xa1fe[905]]=_0xfc29x3,this[_0xa1fe[176]](_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x15),this[_0xa1fe[906]](),this[_0xa1fe[907]](),this[_0xa1fe[908]](),this[_0xa1fe[909]](_0xfc29x12),this[_0xa1fe[910]](_0xfc29x2),(null==_0xfc29x13||_0xfc29x13)&&this[_0xa1fe[911]](),null!=_0xfc29x14&&null!=_0xfc29x14[_0xa1fe[265]]?_0xfc29x14[_0xa1fe[265]][_0xa1fe[912]](this[_0xa1fe[485]],_0xfc29x14):document[_0xa1fe[112]][_0xa1fe[62]](this[_0xa1fe[485]]))}mxWindow[_0xa1fe[202]]= new mxEventSource;mxWindow[_0xa1fe[202]][_0xa1fe[196]]=mxWindow;mxWindow[_0xa1fe[202]][_0xa1fe[913]]=mxClient[_0xa1fe[88]]+_0xa1fe[914];mxWindow[_0xa1fe[202]][_0xa1fe[915]]=mxClient[_0xa1fe[88]]+_0xa1fe[916];mxWindow[_0xa1fe[202]][_0xa1fe[917]]=mxClient[_0xa1fe[88]]+_0xa1fe[918];mxWindow[_0xa1fe[202]][_0xa1fe[919]]=mxClient[_0xa1fe[88]]+_0xa1fe[920];mxWindow[_0xa1fe[202]][_0xa1fe[921]]=mxClient[_0xa1fe[88]]+_0xa1fe[922];mxWindow[_0xa1fe[202]][_0xa1fe[189]]= !1;mxWindow[_0xa1fe[202]][_0xa1fe[905]]= !1;mxWindow[_0xa1fe[202]][_0xa1fe[923]]= new mxRectangle(0,0,50,40);mxWindow[_0xa1fe[202]][_0xa1fe[924]]= !1;mxWindow[_0xa1fe[202]][_0xa1fe[905]]= !1;mxWindow[_0xa1fe[202]][_0xa1fe[165]]= !0;mxWindow[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:_0xa1fe[925];this[_0xa1fe[485]]=document[_0xa1fe[55]](_0xa1fe[485]);this[_0xa1fe[485]][_0xa1fe[926]]=_0xfc29x9;this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168];this[_0xa1fe[116]]=document[_0xa1fe[55]](_0xa1fe[116]);this[_0xa1fe[116]][_0xa1fe[926]]=_0xfc29x9;null!=_0xfc29x4&&(mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x4+_0xa1fe[168]),this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x4+_0xa1fe[168]);null!=_0xfc29x5&&(mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x5+_0xa1fe[168]),this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x5+_0xa1fe[168]);_0xfc29x2=document[_0xa1fe[55]](_0xa1fe[120]);_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[121]);this[_0xa1fe[924]]=document[_0xa1fe[55]](_0xa1fe[122]);this[_0xa1fe[924]][_0xa1fe[926]]=_0xfc29x9+_0xa1fe[927];_0xfc29x3[_0xa1fe[62]](this[_0xa1fe[924]]);_0xfc29x2[_0xa1fe[62]](_0xfc29x3);_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[121]);this[_0xa1fe[122]]=document[_0xa1fe[55]](_0xa1fe[122]);this[_0xa1fe[122]][_0xa1fe[926]]=_0xfc29x9+_0xa1fe[928];this[_0xa1fe[929]]=document[_0xa1fe[55]](_0xa1fe[485]);this[_0xa1fe[929]][_0xa1fe[926]]=_0xfc29x9+_0xa1fe[928];this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[118];this[_0xa1fe[929]][_0xa1fe[62]](this[_0xa1fe[905]]);if(mxClient[_0xa1fe[80]]||_0xa1fe[529]!=this[_0xa1fe[905]][_0xa1fe[301]][_0xa1fe[36]]()){this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[118]};this[_0xa1fe[122]][_0xa1fe[62]](this[_0xa1fe[929]]);_0xfc29x3[_0xa1fe[62]](this[_0xa1fe[122]]);_0xfc29x2[_0xa1fe[62]](_0xfc29x3);this[_0xa1fe[116]][_0xa1fe[62]](_0xfc29x2);this[_0xa1fe[485]][_0xa1fe[62]](this[_0xa1fe[116]]);_0xfc29x9=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[790]]()});mxEvent[_0xa1fe[169]](this[_0xa1fe[924]],_0xa1fe[751],_0xfc29x9);mxEvent[_0xa1fe[169]](this[_0xa1fe[116]],_0xa1fe[751],_0xfc29x9);mxClient[_0xa1fe[754]]&&(mxEvent[_0xa1fe[169]](this[_0xa1fe[924]],_0xa1fe[755],_0xfc29x9),mxEvent[_0xa1fe[169]](this[_0xa1fe[116]],_0xa1fe[755],_0xfc29x9));this[_0xa1fe[801]]()};mxWindow[_0xa1fe[202]][_0xa1fe[910]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[924]][_0xa1fe[285]];null!=_0xfc29x3;){var _0xfc29x4=_0xfc29x3[_0xa1fe[287]];_0xfc29x3[_0xa1fe[288]]==mxConstants[_0xa1fe[317]]&&_0xfc29x3[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x3);_0xfc29x3=_0xfc29x4};mxUtils[_0xa1fe[53]](this[_0xa1fe[924]],_0xfc29x2||_0xa1fe[110])};mxWindow[_0xa1fe[202]][_0xa1fe[162]]=function(_0xfc29x2){0>navigator[_0xa1fe[3]][_0xa1fe[2]](_0xa1fe[186])&&(this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[277]]=_0xfc29x2?_0xa1fe[278]:_0xa1fe[188])};mxWindow[_0xa1fe[202]][_0xa1fe[790]]=function(){if(mxWindow[_0xa1fe[930]]!=this){var _0xfc29x2=mxUtils[_0xa1fe[275]](this[_0xa1fe[166]]()),_0xfc29x2=null!=_0xfc29x2?_0xfc29x2[_0xa1fe[931]]:3;if(mxWindow[_0xa1fe[930]]){var _0xfc29x3=mxWindow[_0xa1fe[930]][_0xa1fe[166]]();null!=_0xfc29x3&&null!=_0xfc29x3[_0xa1fe[124]]&&(_0xfc29x3[_0xa1fe[124]][_0xa1fe[931]]=_0xfc29x2)};_0xfc29x3=mxWindow[_0xa1fe[930]];this[_0xa1fe[166]]()[_0xa1fe[124]][_0xa1fe[931]]=parseInt(_0xfc29x2)+1;mxWindow[_0xa1fe[930]]=this;this[_0xa1fe[746]]( new mxEventObject(mxEvent.ACTIVATE,_0xa1fe[932],_0xfc29x3))}};mxWindow[_0xa1fe[202]][_0xa1fe[166]]=function(){return this[_0xa1fe[485]]};mxWindow[_0xa1fe[202]][_0xa1fe[933]]=function(){mxUtils[_0xa1fe[933]](this[_0xa1fe[485]])};mxWindow[_0xa1fe[202]][_0xa1fe[934]]=function(){return null!=this[_0xa1fe[129]]?_0xa1fe[130]!=this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[495]]:!1};mxWindow[_0xa1fe[202]][_0xa1fe[163]]=function(_0xfc29x2){_0xfc29x2?null==this[_0xa1fe[129]]?(this[_0xa1fe[129]]=document[_0xa1fe[55]](_0xa1fe[466]),this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492],this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[553]]=_0xa1fe[935],this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[699]]=_0xa1fe[935],this[_0xa1fe[129]][_0xa1fe[57]](_0xa1fe[390],mxClient[_0xa1fe[88]]+_0xa1fe[922]),this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[936],mxEvent[_0xa1fe[759]](this[_0xa1fe[129]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[790]]();var _0xfc29x4=mxEvent[_0xa1fe[731]](_0xfc29x2),_0xfc29x5=mxEvent[_0xa1fe[733]](_0xfc29x2),_0xfc29x9=this[_0xa1fe[485]][_0xa1fe[359]],_0xfc29xa=this[_0xa1fe[485]][_0xa1fe[167]],_0xfc29x12=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){var _0xfc29x3=mxEvent[_0xa1fe[731]](_0xfc29x2)-_0xfc29x4,_0xfc29x12=mxEvent[_0xa1fe[733]](_0xfc29x2)-_0xfc29x5;this[_0xa1fe[937]](_0xfc29x9+_0xfc29x3,_0xfc29xa+_0xfc29x12);this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESIZE,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)}),_0xfc29x13=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){mxEvent[_0xa1fe[938]](document,null,_0xfc29x12,_0xfc29x13);this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESIZE_END,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)});mxEvent[_0xa1fe[759]](document,null,_0xfc29x12,_0xfc29x13);this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESIZE_START,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)}),null,null),this[_0xa1fe[485]][_0xa1fe[62]](this[_0xa1fe[129]])):this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497]:null!=this[_0xa1fe[129]]&&(this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130])};mxWindow[_0xa1fe[202]][_0xa1fe[937]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=Math[_0xa1fe[160]](this[_0xa1fe[923]][_0xa1fe[117]],_0xfc29x2);_0xfc29x3=Math[_0xa1fe[160]](this[_0xa1fe[923]][_0xa1fe[119]],_0xfc29x3);mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2+_0xa1fe[168],this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168]);this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168];mxClient[_0xa1fe[80]]||(this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[485]][_0xa1fe[167]]-this[_0xa1fe[924]][_0xa1fe[167]]-2+_0xa1fe[168])};mxWindow[_0xa1fe[202]][_0xa1fe[909]]=function(_0xfc29x2){this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x2?_0xa1fe[110]:_0xa1fe[130]};mxWindow[_0xa1fe[202]][_0xa1fe[939]]=function(){return new mxRectangle(0,0,0,this[_0xa1fe[924]][_0xa1fe[167]])};mxWindow[_0xa1fe[202]][_0xa1fe[907]]=function(){this[_0xa1fe[798]]=document[_0xa1fe[55]](_0xa1fe[466]);this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[915]]);this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[611],_0xa1fe[699]);this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[940]);this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356];this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[941]]=_0xa1fe[942];this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];this[_0xa1fe[924]][_0xa1fe[62]](this[_0xa1fe[798]]);var _0xfc29x2=!1,_0xfc29x3=null,_0xfc29x4=null,_0xfc29x5=mxUtils[_0xa1fe[885]](this,function(_0xfc29x5){this[_0xa1fe[790]]();if(_0xfc29x2){_0xfc29x2= !1,this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[915]]),this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[940]),this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[110],this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x3,mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x4),this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x4,null!=this[_0xa1fe[129]]&&(this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110]),this[_0xa1fe[746]]( new mxEventObject(mxEvent.NORMALIZE,_0xa1fe[763],_0xfc29x5))}else {_0xfc29x2= !0;this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[917]]);this[_0xa1fe[798]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[943]);this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];_0xfc29x3=this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]];this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];_0xfc29x4=this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]];var _0xfc29xa=this[_0xa1fe[939]]();0<_0xfc29xa[_0xa1fe[119]]&&(mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29xa[_0xa1fe[119]]+_0xa1fe[168]),this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29xa[_0xa1fe[119]]+_0xa1fe[168]);0<_0xfc29xa[_0xa1fe[117]]&&(mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29xa[_0xa1fe[117]]+_0xa1fe[168]),this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29xa[_0xa1fe[117]]+_0xa1fe[168]);null!=this[_0xa1fe[129]]&&(this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]);this[_0xa1fe[746]]( new mxEventObject(mxEvent.MINIMIZE,_0xa1fe[763],_0xfc29x5))};mxEvent[_0xa1fe[722]](_0xfc29x5)});mxEvent[_0xa1fe[169]](this[_0xa1fe[798]],_0xa1fe[751],_0xfc29x5);mxClient[_0xa1fe[754]]&&mxEvent[_0xa1fe[169]](this[_0xa1fe[798]],_0xa1fe[755],_0xfc29x5)};mxWindow[_0xa1fe[202]][_0xa1fe[161]]=function(_0xfc29x2){this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x2?_0xa1fe[110]:_0xa1fe[130]};mxWindow[_0xa1fe[202]][_0xa1fe[906]]=function(){this[_0xa1fe[800]]=document[_0xa1fe[55]](_0xa1fe[466]);this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[919]]);this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[611],_0xa1fe[699]);this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[944]);this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[583];this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[945]]=_0xa1fe[942];this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356];this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];this[_0xa1fe[924]][_0xa1fe[62]](this[_0xa1fe[800]]);var _0xfc29x2=!1,_0xfc29x3=null,_0xfc29x4=null,_0xfc29x5=null,_0xfc29x9=null,_0xfc29xa=mxUtils[_0xa1fe[885]](this,function(_0xfc29xa){this[_0xa1fe[790]]();if(_0xa1fe[130]!=this[_0xa1fe[800]][_0xa1fe[124]][_0xa1fe[495]]){if(_0xfc29x2){_0xfc29x2= !1;this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[919]]);this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[944]);this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[110];this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x3+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x4+_0xa1fe[168];if(!mxClient[_0xa1fe[80]]&&(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x5,this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x9,_0xfc29x13=mxUtils[_0xa1fe[275]](this[_0xa1fe[929]]),_0xa1fe[278]==_0xfc29x13[_0xa1fe[277]]||null!=this[_0xa1fe[129]])){this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[485]][_0xa1fe[167]]-this[_0xa1fe[924]][_0xa1fe[167]]-2+_0xa1fe[168]};this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x5;this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x9;null!=this[_0xa1fe[129]]&&(this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110]);this[_0xa1fe[746]]( new mxEventObject(mxEvent.NORMALIZE,_0xa1fe[763],_0xfc29xa))}else {_0xfc29x2= !0;this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[917]]);this[_0xa1fe[800]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[943]);this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[110];this[_0xa1fe[798]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];_0xfc29x3=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]);_0xfc29x4=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]);_0xfc29x5=this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]];_0xfc29x9=this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xa1fe[946];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xa1fe[946];mxClient[_0xa1fe[80]]||(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=document[_0xa1fe[112]][_0xa1fe[157]]-2+_0xa1fe[168],this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=document[_0xa1fe[112]][_0xa1fe[159]]-2+_0xa1fe[168]);this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[117]]=document[_0xa1fe[112]][_0xa1fe[159]]-2+_0xa1fe[168];this[_0xa1fe[116]][_0xa1fe[124]][_0xa1fe[119]]=document[_0xa1fe[112]][_0xa1fe[157]]-2+_0xa1fe[168];null!=this[_0xa1fe[129]]&&(this[_0xa1fe[129]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]);if(!mxClient[_0xa1fe[80]]){var _0xfc29x13=mxUtils[_0xa1fe[275]](this[_0xa1fe[929]]);if(_0xa1fe[278]==_0xfc29x13[_0xa1fe[277]]||null!=this[_0xa1fe[129]]){this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[485]][_0xa1fe[167]]-this[_0xa1fe[924]][_0xa1fe[167]]-2+_0xa1fe[168]}};this[_0xa1fe[746]]( new mxEventObject(mxEvent.MAXIMIZE,_0xa1fe[763],_0xfc29xa))};mxEvent[_0xa1fe[722]](_0xfc29xa)}});mxEvent[_0xa1fe[759]](this[_0xa1fe[800]],_0xfc29xa);mxEvent[_0xa1fe[169]](this[_0xa1fe[924]],_0xa1fe[760],_0xfc29xa)};mxWindow[_0xa1fe[202]][_0xa1fe[911]]=function(){this[_0xa1fe[924]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[582];mxEvent[_0xa1fe[759]](this[_0xa1fe[924]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){var _0xfc29x3=mxEvent[_0xa1fe[731]](_0xfc29x2),_0xfc29x4=mxEvent[_0xa1fe[733]](_0xfc29x2),_0xfc29x5=this[_0xa1fe[730]](),_0xfc29x9=this[_0xa1fe[732]](),_0xfc29xa=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){var _0xfc29xa=mxEvent[_0xa1fe[731]](_0xfc29x2)-_0xfc29x3,_0xfc29x12=mxEvent[_0xa1fe[733]](_0xfc29x2)-_0xfc29x4;this[_0xa1fe[947]](_0xfc29x5+_0xfc29xa,_0xfc29x9+_0xfc29x12);this[_0xa1fe[746]]( new mxEventObject(mxEvent.MOVE,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)}),_0xfc29x12=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){mxEvent[_0xa1fe[938]](document,null,_0xfc29xa,_0xfc29x12);this[_0xa1fe[746]]( new mxEventObject(mxEvent.MOVE_END,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)});mxEvent[_0xa1fe[759]](document,null,_0xfc29xa,_0xfc29x12);this[_0xa1fe[746]]( new mxEventObject(mxEvent.MOVE_START,_0xa1fe[763],_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x2)}))};mxWindow[_0xa1fe[202]][_0xa1fe[947]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168]};mxWindow[_0xa1fe[202]][_0xa1fe[730]]=function(){return parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]])};mxWindow[_0xa1fe[202]][_0xa1fe[732]]=function(){return parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]])};mxWindow[_0xa1fe[202]][_0xa1fe[908]]=function(){this[_0xa1fe[948]]=document[_0xa1fe[55]](_0xa1fe[466]);this[_0xa1fe[948]][_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[913]]);this[_0xa1fe[948]][_0xa1fe[57]](_0xa1fe[611],_0xa1fe[699]);this[_0xa1fe[948]][_0xa1fe[57]](_0xa1fe[924],_0xa1fe[949]);this[_0xa1fe[948]][_0xa1fe[124]][_0xa1fe[945]]=_0xa1fe[935];this[_0xa1fe[948]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356];this[_0xa1fe[948]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];this[_0xa1fe[924]][_0xa1fe[950]](this[_0xa1fe[948]],this[_0xa1fe[924]][_0xa1fe[285]]);mxEvent[_0xa1fe[759]](this[_0xa1fe[948]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[746]]( new mxEventObject(mxEvent.CLOSE,_0xa1fe[763],_0xfc29x2));this[_0xa1fe[165]]?this[_0xa1fe[515]]():this[_0xa1fe[175]](!1);mxEvent[_0xa1fe[722]](_0xfc29x2)}))};mxWindow[_0xa1fe[202]][_0xa1fe[951]]=function(_0xfc29x2){this[_0xa1fe[618]]=document[_0xa1fe[55]](_0xa1fe[466]);this[_0xa1fe[618]][_0xa1fe[57]](_0xa1fe[390],_0xfc29x2);this[_0xa1fe[618]][_0xa1fe[57]](_0xa1fe[611],_0xa1fe[361]);this[_0xa1fe[618]][_0xa1fe[124]][_0xa1fe[941]]=_0xa1fe[952];this[_0xa1fe[618]][_0xa1fe[124]][_0xa1fe[945]]=_0xa1fe[946];this[_0xa1fe[618]][_0xa1fe[124]][_0xa1fe[953]]=_0xa1fe[954];this[_0xa1fe[924]][_0xa1fe[950]](this[_0xa1fe[618]],this[_0xa1fe[924]][_0xa1fe[285]])};mxWindow[_0xa1fe[202]][_0xa1fe[164]]=function(_0xfc29x2){this[_0xa1fe[948]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x2?_0xa1fe[110]:_0xa1fe[130]};mxWindow[_0xa1fe[202]][_0xa1fe[174]]=function(){return null!=this[_0xa1fe[485]]?_0xa1fe[188]!=this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]:!1};mxWindow[_0xa1fe[202]][_0xa1fe[175]]=function(_0xfc29x2){null!=this[_0xa1fe[485]]&&this[_0xa1fe[174]]()!=_0xfc29x2&&(_0xfc29x2?this[_0xa1fe[539]]():this[_0xa1fe[801]]())};mxWindow[_0xa1fe[202]][_0xa1fe[539]]=function(){this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110];this[_0xa1fe[790]]();var _0xfc29x2=mxUtils[_0xa1fe[275]](this[_0xa1fe[929]]);if(!mxClient[_0xa1fe[80]]&&(_0xa1fe[278]==_0xfc29x2[_0xa1fe[277]]||null!=this[_0xa1fe[129]])){this[_0xa1fe[929]][_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[485]][_0xa1fe[167]]-this[_0xa1fe[924]][_0xa1fe[167]]-2+_0xa1fe[168]};this[_0xa1fe[746]]( new mxEventObject(mxEvent.SHOW))};mxWindow[_0xa1fe[202]][_0xa1fe[801]]=function(){this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];this[_0xa1fe[746]]( new mxEventObject(mxEvent.HIDE))};mxWindow[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[746]]( new mxEventObject(mxEvent.DESTROY));null!=this[_0xa1fe[485]]&&(mxEvent[_0xa1fe[762]](this[_0xa1fe[485]]),this[_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[485]]),this[_0xa1fe[485]]=null);this[_0xa1fe[929]]=this[_0xa1fe[905]]=this[_0xa1fe[924]]=null};function mxForm(_0xfc29x2){this[_0xa1fe[116]]=document[_0xa1fe[55]](_0xa1fe[116]);this[_0xa1fe[116]][_0xa1fe[926]]=_0xfc29x2;this[_0xa1fe[112]]=document[_0xa1fe[55]](_0xa1fe[120]);this[_0xa1fe[116]][_0xa1fe[62]](this[_0xa1fe[112]])}mxForm[_0xa1fe[202]][_0xa1fe[116]]=null;mxForm[_0xa1fe[202]][_0xa1fe[112]]= !1;mxForm[_0xa1fe[202]][_0xa1fe[955]]=function(){return this[_0xa1fe[116]]};mxForm[_0xa1fe[202]][_0xa1fe[956]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[121]),_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]),_0xfc29x9=document[_0xa1fe[55]](_0xa1fe[172]);mxUtils[_0xa1fe[53]](_0xfc29x9,mxResources[_0xa1fe[203]](_0xa1fe[957])||_0xa1fe[958]);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);mxEvent[_0xa1fe[169]](_0xfc29x9,_0xa1fe[173],function(){_0xfc29x2()});_0xfc29x9=document[_0xa1fe[55]](_0xa1fe[172]);mxUtils[_0xa1fe[53]](_0xfc29x9,mxResources[_0xa1fe[203]](_0xa1fe[959])||_0xa1fe[960]);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);mxEvent[_0xa1fe[169]](_0xfc29x9,_0xa1fe[173],function(){_0xfc29x3()});_0xfc29x4[_0xa1fe[62]](_0xfc29x5);this[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x4)};mxForm[_0xa1fe[202]][_0xa1fe[961]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[962]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[60],_0xa1fe[963]);_0xfc29x4[_0xa1fe[131]]=_0xfc29x3;return this[_0xa1fe[964]](_0xfc29x2,_0xfc29x4)};mxForm[_0xa1fe[202]][_0xa1fe[965]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[962]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[60],_0xa1fe[966]);this[_0xa1fe[964]](_0xfc29x2,_0xfc29x4);_0xfc29x3&&(_0xfc29x4[_0xa1fe[967]]= !0);return _0xfc29x4};mxForm[_0xa1fe[202]][_0xa1fe[968]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[126]);mxClient[_0xa1fe[133]]&&_0xfc29x4--;_0xfc29x5[_0xa1fe[57]](_0xa1fe[969],_0xfc29x4||2);_0xfc29x5[_0xa1fe[131]]=_0xfc29x3;return this[_0xa1fe[964]](_0xfc29x2,_0xfc29x5)};mxForm[_0xa1fe[202]][_0xa1fe[970]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[804]);null!=_0xfc29x4&&_0xfc29x5[_0xa1fe[57]](_0xa1fe[803],_0xfc29x4);_0xfc29x3&&_0xfc29x5[_0xa1fe[57]](_0xa1fe[971],_0xa1fe[128]);return this[_0xa1fe[964]](_0xfc29x2,_0xfc29x5)};mxForm[_0xa1fe[202]][_0xa1fe[972]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=document[_0xa1fe[55]](_0xa1fe[973]);mxUtils[_0xa1fe[171]](_0xfc29x9,_0xfc29x3);_0xfc29x9[_0xa1fe[57]](_0xa1fe[131],_0xfc29x4);_0xfc29x5&&_0xfc29x9[_0xa1fe[57]](_0xa1fe[974],_0xfc29x5);_0xfc29x2[_0xa1fe[62]](_0xfc29x9)};mxForm[_0xa1fe[202]][_0xa1fe[964]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[121]),_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]);mxUtils[_0xa1fe[53]](_0xfc29x5,_0xfc29x2);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x5[_0xa1fe[62]](_0xfc29x3);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);this[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x4);return _0xfc29x3};function mxImage(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[390]]=_0xfc29x2;this[_0xa1fe[117]]=_0xfc29x3;this[_0xa1fe[119]]=_0xfc29x4}mxImage[_0xa1fe[202]][_0xa1fe[390]]=null;mxImage[_0xa1fe[202]][_0xa1fe[117]]=null;mxImage[_0xa1fe[202]][_0xa1fe[119]]=null;function mxDivResizer(_0xfc29x2,_0xfc29x3){if(_0xa1fe[485]==_0xfc29x2[_0xa1fe[301]][_0xa1fe[216]]()){null==_0xfc29x3&&(_0xfc29x3=window);this[_0xa1fe[485]]=_0xfc29x2;var _0xfc29x4=mxUtils[_0xa1fe[275]](_0xfc29x2);null!=_0xfc29x4&&(this[_0xa1fe[975]]=_0xa1fe[278]==_0xfc29x4[_0xa1fe[117]],this[_0xa1fe[976]]=_0xa1fe[278]==_0xfc29x4[_0xa1fe[119]]);mxEvent[_0xa1fe[169]](_0xfc29x3,_0xa1fe[129],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[977]]||(this[_0xa1fe[977]]= !0,this[_0xa1fe[129]](),this[_0xa1fe[977]]= !1)}));this[_0xa1fe[129]]()}}mxDivResizer[_0xa1fe[202]][_0xa1fe[975]]= !0;mxDivResizer[_0xa1fe[202]][_0xa1fe[976]]= !0;mxDivResizer[_0xa1fe[202]][_0xa1fe[977]]= !1;mxDivResizer[_0xa1fe[202]][_0xa1fe[129]]=function(){var _0xfc29x2=this[_0xa1fe[978]](),_0xfc29x3=this[_0xa1fe[979]](),_0xfc29x4=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]),_0xfc29x5=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[699]]),_0xfc29x9=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]),_0xfc29xa=parseInt(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[553]]);this[_0xa1fe[975]]&&(!isNaN(_0xfc29x4)&&!isNaN(_0xfc29x5)&&0<=_0xfc29x4&&0<=_0xfc29x5&&0<_0xfc29x2-_0xfc29x5-_0xfc29x4)&&(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2-_0xfc29x5-_0xfc29x4+_0xa1fe[168]);this[_0xa1fe[976]]&&(!isNaN(_0xfc29x9)&&!isNaN(_0xfc29xa)&&0<=_0xfc29x9&&0<=_0xfc29xa&&0<_0xfc29x3-_0xfc29x9-_0xfc29xa)&&(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3-_0xfc29x9-_0xfc29xa+_0xa1fe[168])};mxDivResizer[_0xa1fe[202]][_0xa1fe[978]]=function(){return document[_0xa1fe[112]][_0xa1fe[159]]};mxDivResizer[_0xa1fe[202]][_0xa1fe[979]]=function(){return document[_0xa1fe[112]][_0xa1fe[157]]};function mxDragSource(_0xfc29x2,_0xfc29x3){this[_0xa1fe[980]]=_0xfc29x2;this[_0xa1fe[981]]=_0xfc29x3;mxEvent[_0xa1fe[759]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,this[_0xa1fe[787]]))}mxDragSource[_0xa1fe[202]][_0xa1fe[980]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[981]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[559]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[982]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[983]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[984]]= !0;mxDragSource[_0xa1fe[202]][_0xa1fe[985]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[986]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[987]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[988]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[989]]=null;mxDragSource[_0xa1fe[202]][_0xa1fe[561]]= !0;mxDragSource[_0xa1fe[202]][_0xa1fe[990]]= !0;mxDragSource[_0xa1fe[202]][_0xa1fe[991]]= !0;mxDragSource[_0xa1fe[202]][_0xa1fe[563]]= !0;mxDragSource[_0xa1fe[202]][_0xa1fe[992]]=100;mxDragSource[_0xa1fe[202]][_0xa1fe[993]]=70;mxDragSource[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxDragSource[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxDragSource[_0xa1fe[202]][_0xa1fe[996]]=function(){return this[_0xa1fe[990]]};mxDragSource[_0xa1fe[202]][_0xa1fe[562]]=function(_0xfc29x2){this[_0xa1fe[990]]=_0xfc29x2};mxDragSource[_0xa1fe[202]][_0xa1fe[997]]=function(){return this[_0xa1fe[991]]};mxDragSource[_0xa1fe[202]][_0xa1fe[998]]=function(_0xfc29x2){this[_0xa1fe[991]]=_0xfc29x2};mxDragSource[_0xa1fe[202]][_0xa1fe[565]]=function(_0xfc29x2){return null};mxDragSource[_0xa1fe[202]][_0xa1fe[564]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x2[_0xa1fe[999]](_0xfc29x3,_0xfc29x4)};mxDragSource[_0xa1fe[202]][_0xa1fe[566]]=function(_0xfc29x2){return this[_0xa1fe[980]][_0xa1fe[511]](!0)};mxDragSource[_0xa1fe[202]][_0xa1fe[567]]=function(_0xfc29x2){return null};mxDragSource[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2){this[_0xa1fe[984]]&&(!mxEvent[_0xa1fe[721]](_0xfc29x2)&&null==this[_0xa1fe[1000]])&&(this[_0xa1fe[1001]](_0xfc29x2),this[_0xa1fe[1000]]=mxUtils[_0xa1fe[885]](this,this[_0xa1fe[788]]),this[_0xa1fe[1002]]=mxUtils[_0xa1fe[885]](this,this[_0xa1fe[789]]),mxEvent[_0xa1fe[759]](document,null,this[_0xa1fe[1000]],this[_0xa1fe[1002]]),mxEvent[_0xa1fe[722]](_0xfc29x2,!0,!1))};mxDragSource[_0xa1fe[202]][_0xa1fe[1001]]=function(_0xfc29x2){this[_0xa1fe[982]]=this[_0xa1fe[566]](_0xfc29x2);this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[931]]=this[_0xa1fe[992]];mxUtils[_0xa1fe[254]](this[_0xa1fe[982]],this[_0xa1fe[993]])};mxDragSource[_0xa1fe[202]][_0xa1fe[1003]]=function(_0xfc29x2){null!=this[_0xa1fe[982]]&&(null!=this[_0xa1fe[982]][_0xa1fe[265]]&&this[_0xa1fe[982]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[982]]),this[_0xa1fe[982]]=null)};mxDragSource[_0xa1fe[202]][_0xa1fe[1004]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxEvent[_0xa1fe[731]](_0xfc29x3),_0xfc29x5=mxEvent[_0xa1fe[733]](_0xfc29x3),_0xfc29x9=mxUtils[_0xa1fe[445]](_0xfc29x2[_0xa1fe[526]]),_0xfc29xa=mxUtils[_0xa1fe[444]]();return _0xfc29x4>=_0xfc29x9[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]]&&_0xfc29x5>=_0xfc29x9[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]]&&_0xfc29x4<=_0xfc29x9[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[526]][_0xa1fe[359]]&&_0xfc29x5<=_0xfc29x9[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[526]][_0xa1fe[167]]};mxDragSource[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[565]](_0xfc29x2);null!=_0xfc29x3&&!this[_0xa1fe[1004]](_0xfc29x3,_0xfc29x2)&&(_0xfc29x3=null);_0xfc29x3!=this[_0xa1fe[985]]&&(null!=this[_0xa1fe[985]]&&this[_0xa1fe[1005]](this[_0xa1fe[985]]),this[_0xa1fe[985]]=_0xfc29x3,null!=this[_0xa1fe[985]]&&this[_0xa1fe[1006]](this[_0xa1fe[985]]));null!=this[_0xa1fe[985]]&&this[_0xa1fe[1007]](this[_0xa1fe[985]],_0xfc29x2);if(null!=this[_0xa1fe[982]]&&(null==this[_0xa1fe[983]]||_0xa1fe[189]!=this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[187]])){var _0xfc29x3=mxEvent[_0xa1fe[731]](_0xfc29x2),_0xfc29x4=mxEvent[_0xa1fe[733]](_0xfc29x2);null==this[_0xa1fe[982]][_0xa1fe[265]]&&document[_0xa1fe[112]][_0xa1fe[62]](this[_0xa1fe[982]]);this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189];null!=this[_0xa1fe[559]]&&(_0xfc29x3+=this[_0xa1fe[559]][_0xa1fe[235]],_0xfc29x4+=this[_0xa1fe[559]][_0xa1fe[236]]);_0xfc29x3+=document[_0xa1fe[112]][_0xa1fe[360]]||document[_0xa1fe[158]][_0xa1fe[360]];_0xfc29x4+=document[_0xa1fe[112]][_0xa1fe[190]]||document[_0xa1fe[158]][_0xa1fe[190]];this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x3+_0xa1fe[168];this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x4+_0xa1fe[168]}else {null!=this[_0xa1fe[982]]&&(this[_0xa1fe[982]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188])};mxEvent[_0xa1fe[722]](_0xfc29x2)};mxDragSource[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2){if(null!=this[_0xa1fe[985]]){if(null!=this[_0xa1fe[987]]&&(null==this[_0xa1fe[983]]||_0xa1fe[188]!=this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[187]])){var _0xfc29x3=this[_0xa1fe[985]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[985]][_0xa1fe[441]][_0xa1fe[513]];this[_0xa1fe[1008]](this[_0xa1fe[985]],_0xfc29x2,this[_0xa1fe[986]],this[_0xa1fe[987]][_0xa1fe[235]]/_0xfc29x3-_0xfc29x4[_0xa1fe[235]],this[_0xa1fe[987]][_0xa1fe[236]]/_0xfc29x3-_0xfc29x4[_0xa1fe[236]])};this[_0xa1fe[1005]](this[_0xa1fe[985]])};this[_0xa1fe[1003]](_0xfc29x2);mxEvent[_0xa1fe[938]](document,null,this[_0xa1fe[1000]],this[_0xa1fe[1002]]);this[_0xa1fe[985]]=this[_0xa1fe[1002]]=this[_0xa1fe[1000]]=null;mxEvent[_0xa1fe[722]](_0xfc29x2)};mxDragSource[_0xa1fe[202]][_0xa1fe[1006]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[1009]]= !0;this[_0xa1fe[983]]=this[_0xa1fe[567]](_0xfc29x2);this[_0xa1fe[996]]()&&null!=this[_0xa1fe[983]]&&(this[_0xa1fe[988]]= new mxGuide(_0xfc29x2,_0xfc29x2[_0xa1fe[1011]][_0xa1fe[1010]]()));this[_0xa1fe[563]]&&(this[_0xa1fe[989]]= new mxCellHighlight(_0xfc29x2,mxConstants.DROP_TARGET_COLOR))};mxDragSource[_0xa1fe[202]][_0xa1fe[1005]]=function(_0xfc29x2){this[_0xa1fe[987]]=this[_0xa1fe[986]]=null;_0xfc29x2[_0xa1fe[1009]]= !1;null!=this[_0xa1fe[983]]&&(null!=this[_0xa1fe[983]][_0xa1fe[265]]&&this[_0xa1fe[983]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[983]]),this[_0xa1fe[983]]=null);null!=this[_0xa1fe[988]]&&(this[_0xa1fe[988]][_0xa1fe[515]](),this[_0xa1fe[988]]=null);null!=this[_0xa1fe[989]]&&(this[_0xa1fe[989]][_0xa1fe[515]](),this[_0xa1fe[989]]=null)};mxDragSource[_0xa1fe[202]][_0xa1fe[1007]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxUtils[_0xa1fe[445]](_0xfc29x2[_0xa1fe[526]]),_0xfc29x5=mxUtils[_0xa1fe[444]](_0xfc29x2[_0xa1fe[526]]),_0xfc29x9=mxEvent[_0xa1fe[731]](_0xfc29x3)-_0xfc29x4[_0xa1fe[235]]+_0xfc29x5[_0xa1fe[235]],_0xfc29x4=mxEvent[_0xa1fe[733]](_0xfc29x3)-_0xfc29x4[_0xa1fe[236]]+_0xfc29x5[_0xa1fe[236]];_0xfc29x2[_0xa1fe[1012]]&&(null==this[_0xa1fe[561]]||this[_0xa1fe[561]])&&_0xfc29x2[_0xa1fe[1014]](_0xfc29x9,_0xfc29x4,_0xfc29x2[_0xa1fe[1013]]);null!=this[_0xa1fe[989]]&&_0xfc29x2[_0xa1fe[1015]]()&&(this[_0xa1fe[986]]=this[_0xa1fe[564]](_0xfc29x2,_0xfc29x9,_0xfc29x4),_0xfc29x5=_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[248]](this[_0xa1fe[986]]),this[_0xa1fe[989]][_0xa1fe[1016]](_0xfc29x5));if(null!=this[_0xa1fe[983]]){null==this[_0xa1fe[983]][_0xa1fe[265]]&&(_0xfc29x2[_0xa1fe[526]][_0xa1fe[62]](this[_0xa1fe[983]]),this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[931]]=_0xa1fe[1017],this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492]);var _0xfc29x5=this[_0xa1fe[997]]()&&_0xfc29x2[_0xa1fe[1018]](_0xfc29x3),_0xfc29xa=!0;if(null!=this[_0xa1fe[988]]&&this[_0xa1fe[988]][_0xa1fe[1019]](_0xfc29x3)){var _0xfc29xa=parseInt(this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[117]]),_0xfc29x12=parseInt(this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[119]]),_0xfc29xa= new mxRectangle(0,0,_0xfc29xa,_0xfc29x12),_0xfc29x4= new mxPoint(_0xfc29x9,_0xfc29x4),_0xfc29x4=this[_0xa1fe[988]][_0xa1fe[582]](_0xfc29xa,_0xfc29x4,_0xfc29x5),_0xfc29xa=!1,_0xfc29x9=_0xfc29x4[_0xa1fe[235]],_0xfc29x4=_0xfc29x4[_0xa1fe[236]]}else {if(_0xfc29x5){var _0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x12=_0xfc29x2[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x13=_0xfc29x2[_0xa1fe[1020]]/2,_0xfc29x9=(_0xfc29x2[_0xa1fe[1021]](_0xfc29x9/_0xfc29x5-_0xfc29x12[_0xa1fe[235]]-_0xfc29x13)+_0xfc29x12[_0xa1fe[235]])*_0xfc29x5,_0xfc29x4=(_0xfc29x2[_0xa1fe[1021]](_0xfc29x4/_0xfc29x5-_0xfc29x12[_0xa1fe[236]]-_0xfc29x13)+_0xfc29x12[_0xa1fe[236]])*_0xfc29x5}};null!=this[_0xa1fe[988]]&&_0xfc29xa&&this[_0xa1fe[988]][_0xa1fe[801]]();null!=this[_0xa1fe[1022]]&&(_0xfc29x9+=this[_0xa1fe[1022]][_0xa1fe[235]],_0xfc29x4+=this[_0xa1fe[1022]][_0xa1fe[236]]);this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](_0xfc29x9)+_0xa1fe[168];this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[168];this[_0xa1fe[983]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189]};this[_0xa1fe[987]]= new mxPoint(_0xfc29x9,_0xfc29x4)};mxDragSource[_0xa1fe[202]][_0xa1fe[1008]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){this[_0xa1fe[981]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[526]][_0xa1fe[393]]()};function mxToolbar(_0xfc29x2){this[_0xa1fe[526]]=_0xfc29x2}mxToolbar[_0xa1fe[202]]= new mxEventSource;mxToolbar[_0xa1fe[202]][_0xa1fe[196]]=mxToolbar;mxToolbar[_0xa1fe[202]][_0xa1fe[526]]=null;mxToolbar[_0xa1fe[202]][_0xa1fe[984]]= !0;mxToolbar[_0xa1fe[202]][_0xa1fe[1023]]= !1;mxToolbar[_0xa1fe[202]][_0xa1fe[1024]]= !0;mxToolbar[_0xa1fe[202]][_0xa1fe[1025]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=document[_0xa1fe[55]](null!=_0xfc29x3?_0xa1fe[466]:_0xa1fe[172]),_0xfc29x13=_0xfc29x9||(null!=_0xfc29xa?_0xa1fe[1026]:_0xa1fe[1027]);_0xfc29x12[_0xa1fe[926]]=_0xfc29x13;_0xfc29x12[_0xa1fe[57]](_0xa1fe[390],_0xfc29x3);null!=_0xfc29x2&&(null!=_0xfc29x3?_0xfc29x12[_0xa1fe[57]](_0xa1fe[924],_0xfc29x2):mxUtils[_0xa1fe[53]](_0xfc29x12,_0xfc29x2));this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x12);null!=_0xfc29x4&&(mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[173],_0xfc29x4),mxClient[_0xa1fe[754]]&&mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[757],_0xfc29x4));_0xfc29x2=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){null!=_0xfc29x5?_0xfc29x12[_0xa1fe[57]](_0xa1fe[390],_0xfc29x3):_0xfc29x12[_0xa1fe[124]][_0xa1fe[1028]]=_0xa1fe[110]});mxEvent[_0xa1fe[759]](_0xfc29x12,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){null!=_0xfc29x5?_0xfc29x12[_0xa1fe[57]](_0xa1fe[390],_0xfc29x5):_0xfc29x12[_0xa1fe[124]][_0xa1fe[1028]]=_0xa1fe[579];if(null!=_0xfc29xa){null==this[_0xa1fe[1029]]&&(this[_0xa1fe[1029]]= new mxPopupMenu,this[_0xa1fe[1029]][_0xa1fe[176]]());var _0xfc29x3=this[_0xa1fe[1030]];this[_0xa1fe[1029]][_0xa1fe[1031]]()&&this[_0xa1fe[1029]][_0xa1fe[1032]]();_0xfc29x3!=_0xfc29x12&&(this[_0xa1fe[1030]]=_0xfc29x12,this[_0xa1fe[1029]][_0xa1fe[1033]]=_0xfc29xa,_0xfc29x3= new mxPoint(_0xfc29x12[_0xa1fe[358]],_0xfc29x12[_0xa1fe[362]]+_0xfc29x12[_0xa1fe[167]]),this[_0xa1fe[1029]][_0xa1fe[152]](_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],null,_0xfc29x2),this[_0xa1fe[1029]][_0xa1fe[1031]]()&&(_0xfc29x12[_0xa1fe[926]]=_0xfc29x13+_0xa1fe[1034],this[_0xa1fe[1029]][_0xa1fe[1032]]=function(){mxPopupMenu[_0xa1fe[202]][_0xa1fe[1032]][_0xa1fe[183]](this);_0xfc29x12[_0xa1fe[926]]=_0xfc29x13;this[_0xa1fe[1030]]=null}))}}),null,_0xfc29x2);mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[1035],_0xfc29x2);return _0xfc29x12};mxToolbar[_0xa1fe[202]][_0xa1fe[970]]=function(_0xfc29x2){var _0xfc29x3=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x3[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497];_0xfc29x3[_0xa1fe[926]]=_0xa1fe[1036];var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[804]);_0xfc29x4[_0xa1fe[926]]=_0xfc29x2||_0xa1fe[1037];_0xfc29x3[_0xa1fe[62]](_0xfc29x4);this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x3);return _0xfc29x4};mxToolbar[_0xa1fe[202]][_0xa1fe[1038]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[804]);_0xfc29x4[_0xa1fe[926]]=_0xfc29x3||_0xa1fe[1037];this[_0xa1fe[972]](_0xfc29x4,_0xfc29x2,null);mxEvent[_0xa1fe[169]](_0xfc29x4,_0xa1fe[826],function(_0xfc29x2){var _0xfc29x3=_0xfc29x4[_0xa1fe[1040]][_0xfc29x4[_0xa1fe[1039]]];_0xfc29x4[_0xa1fe[1039]]=0;null!=_0xfc29x3[_0xa1fe[1041]]&&_0xfc29x3[_0xa1fe[1041]](_0xfc29x2)});this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x4);return _0xfc29x4};mxToolbar[_0xa1fe[202]][_0xa1fe[972]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[973]);mxUtils[_0xa1fe[171]](_0xfc29x5,_0xfc29x3);_0xa1fe[279]== typeof _0xfc29x4?_0xfc29x5[_0xa1fe[1041]]=_0xfc29x4:_0xfc29x5[_0xa1fe[57]](_0xa1fe[131],_0xfc29x4);_0xfc29x2[_0xa1fe[62]](_0xfc29x5);return _0xfc29x5};mxToolbar[_0xa1fe[202]][_0xa1fe[1042]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=document[_0xa1fe[55]](_0xa1fe[466]);_0xfc29xa[_0xa1fe[1043]]=_0xfc29x9||_0xa1fe[1026];_0xfc29xa[_0xa1fe[926]]=_0xfc29xa[_0xa1fe[1043]];_0xfc29xa[_0xa1fe[57]](_0xa1fe[390],_0xfc29x3);_0xfc29xa[_0xa1fe[1044]]=_0xfc29x5;null!=_0xfc29x2&&_0xfc29xa[_0xa1fe[57]](_0xa1fe[924],_0xfc29x2);mxEvent[_0xa1fe[169]](_0xfc29xa,_0xa1fe[173],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1045]][_0xa1fe[1044]];null!=_0xfc29x2?(this[_0xa1fe[1045]][_0xa1fe[1044]]=this[_0xa1fe[1045]][_0xa1fe[284]](_0xa1fe[390]),this[_0xa1fe[1045]][_0xa1fe[57]](_0xa1fe[390],_0xfc29x2)):this[_0xa1fe[1045]][_0xa1fe[926]]=this[_0xa1fe[1045]][_0xa1fe[1043]];this[_0xa1fe[1024]]&&(this[_0xa1fe[1046]]=_0xfc29xa);this[_0xa1fe[1045]]=_0xfc29xa;_0xfc29x2=_0xfc29xa[_0xa1fe[1044]];null!=_0xfc29x2?(_0xfc29xa[_0xa1fe[1044]]=_0xfc29xa[_0xa1fe[284]](_0xa1fe[390]),_0xfc29xa[_0xa1fe[57]](_0xa1fe[390],_0xfc29x2)):_0xfc29xa[_0xa1fe[926]]=_0xfc29xa[_0xa1fe[1043]]+_0xa1fe[1034];this[_0xa1fe[746]]( new mxEventObject(mxEvent.SELECT));_0xfc29x4()}));this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29xa);null==this[_0xa1fe[1046]]&&(this[_0xa1fe[1046]]=_0xfc29xa,this[_0xa1fe[1047]](_0xfc29xa),_0xfc29x4());return _0xfc29xa};mxToolbar[_0xa1fe[202]][_0xa1fe[1048]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:!0;var _0xfc29x12=document[_0xa1fe[55]](null!=_0xfc29x3?_0xa1fe[466]:_0xa1fe[172]);_0xfc29x12[_0xa1fe[1043]]=_0xfc29x9||_0xa1fe[1026];_0xfc29x12[_0xa1fe[926]]=_0xfc29x12[_0xa1fe[1043]];_0xfc29x12[_0xa1fe[57]](_0xa1fe[390],_0xfc29x3);_0xfc29x12[_0xa1fe[1044]]=_0xfc29x5;null!=_0xfc29x2&&_0xfc29x12[_0xa1fe[57]](_0xa1fe[924],_0xfc29x2);this[_0xa1fe[984]]&&_0xfc29xa&&(mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[173],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1047]](_0xfc29x12,_0xfc29x4);this[_0xa1fe[1023]]= !1})),mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[760],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1047]](_0xfc29x12,_0xfc29x4);this[_0xa1fe[1023]]= !0})),null==this[_0xa1fe[1046]]&&(this[_0xa1fe[1046]]=_0xfc29x12,this[_0xa1fe[1049]]=_0xfc29x4,this[_0xa1fe[1047]](_0xfc29x12,_0xfc29x4)));this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x12);return _0xfc29x12};mxToolbar[_0xa1fe[202]][_0xa1fe[1047]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1045]]!=_0xfc29x2){if(null!=this[_0xa1fe[1045]]){var _0xfc29x4=this[_0xa1fe[1045]][_0xa1fe[1044]];null!=_0xfc29x4?(this[_0xa1fe[1045]][_0xa1fe[1044]]=this[_0xa1fe[1045]][_0xa1fe[284]](_0xa1fe[390]),this[_0xa1fe[1045]][_0xa1fe[57]](_0xa1fe[390],_0xfc29x4)):this[_0xa1fe[1045]][_0xa1fe[926]]=this[_0xa1fe[1045]][_0xa1fe[1043]]};this[_0xa1fe[1045]]=_0xfc29x2;_0xfc29x4=this[_0xa1fe[1045]][_0xa1fe[1044]];null!=_0xfc29x4?(this[_0xa1fe[1045]][_0xa1fe[1044]]=this[_0xa1fe[1045]][_0xa1fe[284]](_0xa1fe[390]),this[_0xa1fe[1045]][_0xa1fe[57]](_0xa1fe[390],_0xfc29x4)):this[_0xa1fe[1045]][_0xa1fe[926]]=this[_0xa1fe[1045]][_0xa1fe[1043]]+_0xa1fe[1034];this[_0xa1fe[746]]( new mxEventObject(mxEvent.SELECT,_0xa1fe[279],_0xfc29x3))}};mxToolbar[_0xa1fe[202]][_0xa1fe[1050]]=function(_0xfc29x2){(_0xfc29x2||!this[_0xa1fe[1023]])&&this[_0xa1fe[1045]]!=this[_0xa1fe[1046]]&&this[_0xa1fe[1047]](this[_0xa1fe[1046]],this[_0xa1fe[1049]])};mxToolbar[_0xa1fe[202]][_0xa1fe[1051]]=function(_0xfc29x2){return this[_0xa1fe[1025]](null,_0xfc29x2,null)};mxToolbar[_0xa1fe[202]][_0xa1fe[1052]]=function(){mxUtils[_0xa1fe[345]](this[_0xa1fe[526]])};mxToolbar[_0xa1fe[202]][_0xa1fe[1053]]=function(){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[1054]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[941]]=_0xa1fe[1055];_0xfc29x2[_0xa1fe[57]](_0xa1fe[803],_0xa1fe[500]);this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x2)};mxToolbar[_0xa1fe[202]][_0xa1fe[515]]=function(){mxEvent[_0xa1fe[762]](this[_0xa1fe[526]]);this[_0xa1fe[1045]]=this[_0xa1fe[1049]]=this[_0xa1fe[1046]]=this[_0xa1fe[526]]=null;null!=this[_0xa1fe[1029]]&&this[_0xa1fe[1029]][_0xa1fe[515]]()};function mxSession(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[1056]]=_0xfc29x3;this[_0xa1fe[1057]]=_0xfc29x4;this[_0xa1fe[1058]]=_0xfc29x5;null!=_0xfc29x2&&(this[_0xa1fe[1059]]= new mxCodec,this[_0xa1fe[1059]][_0xa1fe[1060]]=function(_0xfc29x3){return _0xfc29x2[_0xa1fe[736]](_0xfc29x3)});_0xfc29x2[_0xa1fe[169]](mxEvent.NOTIFY,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x3[_0xa1fe[720]](_0xa1fe[1061]);(null!=_0xfc29x4&&this[_0xa1fe[143]]||this[_0xa1fe[1062]]&&!this[_0xa1fe[1063]])&&this[_0xa1fe[827]](_0xa1fe[1064]+this[_0xa1fe[1067]](_0xfc29x4[_0xa1fe[1065]],_0xfc29x4[_0xa1fe[1066]])+_0xa1fe[1068])}))}mxSession[_0xa1fe[202]]= new mxEventSource;mxSession[_0xa1fe[202]][_0xa1fe[196]]=mxSession;mxSession[_0xa1fe[202]][_0xa1fe[251]]=null;mxSession[_0xa1fe[202]][_0xa1fe[1056]]=null;mxSession[_0xa1fe[202]][_0xa1fe[1057]]=null;mxSession[_0xa1fe[202]][_0xa1fe[1058]]=null;mxSession[_0xa1fe[202]][_0xa1fe[1059]]=null;mxSession[_0xa1fe[202]][_0xa1fe[1069]]=_0xa1fe[336];mxSession[_0xa1fe[202]][_0xa1fe[1070]]= !0;mxSession[_0xa1fe[202]][_0xa1fe[1071]]= !0;mxSession[_0xa1fe[202]][_0xa1fe[1072]]=0;mxSession[_0xa1fe[202]][_0xa1fe[1073]]=0;mxSession[_0xa1fe[202]][_0xa1fe[143]]= !1;mxSession[_0xa1fe[202]][_0xa1fe[1062]]= !1;mxSession[_0xa1fe[202]][_0xa1fe[1063]]= !1;mxSession[_0xa1fe[202]][_0xa1fe[1074]]= !1;mxSession[_0xa1fe[202]][_0xa1fe[861]]=function(){this[_0xa1fe[143]]?(this[_0xa1fe[1062]]= !0,this[_0xa1fe[746]]( new mxEventObject(mxEvent.CONNECT))):this[_0xa1fe[1062]]||this[_0xa1fe[203]](this[_0xa1fe[1056]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1062]]= !0;this[_0xa1fe[746]]( new mxEventObject(mxEvent.CONNECT));this[_0xa1fe[1075]]()}))};mxSession[_0xa1fe[202]][_0xa1fe[809]]=function(){this[_0xa1fe[1062]]&&!this[_0xa1fe[1063]]&&(this[_0xa1fe[1063]]= !0,this[_0xa1fe[746]]( new mxEventObject(mxEvent.SUSPEND)))};mxSession[_0xa1fe[202]][_0xa1fe[810]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[1062]]&&this[_0xa1fe[1063]]&&(this[_0xa1fe[1063]]= !1,this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESUME)),this[_0xa1fe[1074]]||this[_0xa1fe[1075]]())};mxSession[_0xa1fe[202]][_0xa1fe[1076]]=function(_0xfc29x2){this[_0xa1fe[1062]]&&(this[_0xa1fe[1062]]= !1);this[_0xa1fe[746]]( new mxEventObject(mxEvent.DISCONNECT,_0xa1fe[1077],_0xfc29x2))};mxSession[_0xa1fe[202]][_0xa1fe[1075]]=function(){this[_0xa1fe[1062]]&&!this[_0xa1fe[1063]]&&null!=this[_0xa1fe[1057]]?(this[_0xa1fe[1074]]= !0,this[_0xa1fe[203]](this[_0xa1fe[1057]],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[1075]]()}))):this[_0xa1fe[1074]]= !1};mxSession[_0xa1fe[202]][_0xa1fe[827]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]&&(null!=this[_0xa1fe[1058]]&&(this[_0xa1fe[143]]?(mxLog[_0xa1fe[539]](),mxLog[_0xa1fe[143]](_0xa1fe[1078]+this[_0xa1fe[1058]]+_0xa1fe[1079]+_0xfc29x2)):(_0xfc29x2=_0xa1fe[1080]+_0xfc29x2+_0xa1fe[1081],this[_0xa1fe[1070]]&&(_0xfc29x2=encodeURIComponent(_0xfc29x2)),mxUtils[_0xa1fe[814]](this[_0xa1fe[1058]],_0xa1fe[1082]+_0xfc29x2,_0xfc29x3,_0xfc29x4))),this[_0xa1fe[1072]]+=_0xfc29x2[_0xa1fe[67]],this[_0xa1fe[746]]( new mxEventObject(mxEvent.NOTIFY,_0xa1fe[863],this[_0xa1fe[1058]],_0xa1fe[338],_0xfc29x2)))};mxSession[_0xa1fe[202]][_0xa1fe[203]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(_0xa1fe[82]!= typeof mxUtils){var _0xfc29x5=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){null!=_0xfc29x4?_0xfc29x4(_0xfc29x2):this[_0xa1fe[1076]](_0xfc29x2)});mxUtils[_0xa1fe[203]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x4){if(_0xa1fe[82]!= typeof mxUtils){if(_0xfc29x4[_0xa1fe[220]]()&&404!=_0xfc29x4[_0xa1fe[878]]()){if(this[_0xa1fe[1073]]+=_0xfc29x4[_0xa1fe[221]]()[_0xa1fe[67]],this[_0xa1fe[746]]( new mxEventObject(mxEvent.GET,_0xa1fe[863],_0xfc29x2,_0xa1fe[870],_0xfc29x4)),this[_0xa1fe[1083]](_0xfc29x4)){if(0<_0xfc29x4[_0xa1fe[221]]()[_0xa1fe[67]]){var _0xfc29xa=_0xfc29x4[_0xa1fe[874]]();null==_0xfc29xa?_0xfc29x5(_0xa1fe[1084]+_0xfc29x4[_0xa1fe[221]]()):this[_0xa1fe[806]](_0xfc29xa)};null!=_0xfc29x3&&_0xfc29x3(_0xfc29x4)}}else {_0xfc29x5(_0xa1fe[1085])}}}),function(_0xfc29x2){_0xfc29x5(_0xa1fe[1086])})}};mxSession[_0xa1fe[202]][_0xa1fe[1083]]=function(_0xfc29x2){return 0>_0xfc29x2[_0xa1fe[221]]()[_0xa1fe[2]](_0xa1fe[1087])};mxSession[_0xa1fe[202]][_0xa1fe[1067]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=_0xa1fe[110],_0xfc29x5=_0xfc29x3?-1:1,_0xfc29x9=_0xfc29x3?_0xfc29x2[_0xa1fe[67]]-1:0;0<=_0xfc29x9&&_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9+=_0xfc29x5){var _0xfc29xa=this[_0xa1fe[1059]][_0xa1fe[514]](_0xfc29x2[_0xfc29x9]),_0xfc29x4=_0xfc29x4+mxUtils[_0xa1fe[875]](_0xfc29xa,this[_0xa1fe[1069]])};return _0xfc29x4};mxSession[_0xa1fe[202]][_0xa1fe[806]]=function(_0xfc29x2){if(null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){var _0xfc29x3=_0xfc29x2[_0xa1fe[284]](_0xa1fe[1088]);null!=_0xfc29x3&&(this[_0xa1fe[251]][_0xa1fe[1089]]=_0xfc29x3+_0xa1fe[213]);for(_0xfc29x3=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x3;){var _0xfc29x4=_0xfc29x3[_0xa1fe[301]][_0xa1fe[216]]();_0xa1fe[724]==_0xfc29x4?this[_0xa1fe[1090]](_0xfc29x3):_0xa1fe[1091]==_0xfc29x4&&this[_0xa1fe[1092]](_0xfc29x3);_0xfc29x3=_0xfc29x3[_0xa1fe[287]]};this[_0xa1fe[746]]( new mxEventObject(mxEvent.RECEIVE,_0xa1fe[252],_0xfc29x2))}};mxSession[_0xa1fe[202]][_0xa1fe[1090]]=function(_0xfc29x2){( new mxCodec(_0xfc29x2[_0xa1fe[295]]))[_0xa1fe[1093]](_0xfc29x2[_0xa1fe[285]],this[_0xa1fe[251]])};mxSession[_0xa1fe[202]][_0xa1fe[1092]]=function(_0xfc29x2){for(_0xfc29x2=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x2;){_0xa1fe[1061]==_0xfc29x2[_0xa1fe[301]]&&this[_0xa1fe[1094]](_0xfc29x2),_0xfc29x2=_0xfc29x2[_0xa1fe[287]]}};mxSession[_0xa1fe[202]][_0xa1fe[1094]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1095]](_0xfc29x2);if(0<_0xfc29x2[_0xa1fe[67]]){var _0xfc29x3=this[_0xa1fe[1096]](_0xfc29x2);this[_0xa1fe[251]][_0xa1fe[746]]( new mxEventObject(mxEvent.CHANGE,_0xa1fe[1061],_0xfc29x3,_0xa1fe[1065],_0xfc29x2));this[_0xa1fe[251]][_0xa1fe[746]]( new mxEventObject(mxEvent.UNDO,_0xa1fe[1061],_0xfc29x3));this[_0xa1fe[746]]( new mxEventObject(mxEvent.FIRED,_0xa1fe[1061],_0xfc29x3))}};mxSession[_0xa1fe[202]][_0xa1fe[1096]]=function(_0xfc29x2){var _0xfc29x3= new mxUndoableEdit(this[_0xa1fe[251]],this[_0xa1fe[1071]]);_0xfc29x3[_0xa1fe[1065]]=_0xfc29x2;_0xfc29x3[_0xa1fe[827]]=function(){_0xfc29x3[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.CHANGE,_0xa1fe[1061],_0xfc29x3,_0xa1fe[1065],_0xfc29x3[_0xa1fe[1065]]));_0xfc29x3[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.NOTIFY,_0xa1fe[1061],_0xfc29x3,_0xa1fe[1065],_0xfc29x3[_0xa1fe[1065]]))};return _0xfc29x3};mxSession[_0xa1fe[202]][_0xa1fe[1095]]=function(_0xfc29x2){this[_0xa1fe[1059]][_0xa1fe[395]]=_0xfc29x2[_0xa1fe[295]];var _0xfc29x3=[];for(_0xfc29x2=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x2;){var _0xfc29x4=this[_0xa1fe[1098]](_0xfc29x2);null!=_0xfc29x4&&_0xfc29x3[_0xa1fe[207]](_0xfc29x4);_0xfc29x2=_0xfc29x2[_0xa1fe[287]]};return _0xfc29x3};mxSession[_0xa1fe[202]][_0xa1fe[1098]]=function(_0xfc29x2){var _0xfc29x3=null;_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&(_0xfc29x3=_0xa1fe[1099]==_0xfc29x2[_0xa1fe[301]]?( new mxCodec(_0xfc29x2[_0xa1fe[295]]))[_0xa1fe[1093]](_0xfc29x2):this[_0xa1fe[1059]][_0xa1fe[1093]](_0xfc29x2),null!=_0xfc29x3&&(_0xfc29x3[_0xa1fe[251]]=this[_0xa1fe[251]],_0xfc29x3[_0xa1fe[350]](),_0xa1fe[1100]==_0xfc29x2[_0xa1fe[301]]&&null==_0xfc29x3[_0xa1fe[1101]]&&this[_0xa1fe[1102]](_0xfc29x3[_0xa1fe[247]])));return _0xfc29x3};mxSession[_0xa1fe[202]][_0xa1fe[1102]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1059]][_0xa1fe[1104]](_0xfc29x2[_0xa1fe[1103]](),_0xfc29x2);for(var _0xfc29x4=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2),_0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){this[_0xa1fe[1102]](this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x5))}};function mxUndoableEdit(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1097]]=_0xfc29x2;this[_0xa1fe[1065]]=[];this[_0xa1fe[1105]]=null!=_0xfc29x3?_0xfc29x3:!0}mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1097]]=null;mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1065]]=null;mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1105]]=null;mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1066]]= !1;mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1106]]= !1;mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1107]]=function(){return 0==this[_0xa1fe[1065]][_0xa1fe[67]]};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1108]]=function(){return this[_0xa1fe[1105]]};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[99]]=function(_0xfc29x2){this[_0xa1fe[1065]][_0xa1fe[207]](_0xfc29x2)};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[827]]=function(){};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[1109]]=function(){};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[824]]=function(){if(!this[_0xa1fe[1066]]){this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0xfc29x2=this[_0xa1fe[1065]][_0xa1fe[67]]-1;0<=_0xfc29x2;_0xfc29x2--){var _0xfc29x3=this[_0xa1fe[1065]][_0xfc29x2];null!=_0xfc29x3[_0xa1fe[350]]?_0xfc29x3[_0xa1fe[350]]():null!=_0xfc29x3[_0xa1fe[824]]&&_0xfc29x3[_0xa1fe[824]]();this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.EXECUTED,_0xa1fe[826],_0xfc29x3))};this[_0xa1fe[1066]]= !0;this[_0xa1fe[1106]]= !1;this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0xa1fe[827]]()};mxUndoableEdit[_0xa1fe[202]][_0xa1fe[825]]=function(){if(!this[_0xa1fe[1106]]){this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0xfc29x2=this[_0xa1fe[1065]][_0xa1fe[67]],_0xfc29x3=0;_0xfc29x3<_0xfc29x2;_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[1065]][_0xfc29x3];null!=_0xfc29x4[_0xa1fe[350]]?_0xfc29x4[_0xa1fe[350]]():null!=_0xfc29x4[_0xa1fe[825]]&&_0xfc29x4[_0xa1fe[825]]();this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.EXECUTED,_0xa1fe[826],_0xfc29x4))};this[_0xa1fe[1066]]= !1;this[_0xa1fe[1106]]= !0;this[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0xa1fe[827]]()};function mxUndoManager(_0xfc29x2){this[_0xa1fe[803]]=null!=_0xfc29x2?_0xfc29x2:100;this[_0xa1fe[200]]()}mxUndoManager[_0xa1fe[202]]= new mxEventSource;mxUndoManager[_0xa1fe[202]][_0xa1fe[196]]=mxUndoManager;mxUndoManager[_0xa1fe[202]][_0xa1fe[803]]=null;mxUndoManager[_0xa1fe[202]][_0xa1fe[1110]]=null;mxUndoManager[_0xa1fe[202]][_0xa1fe[1111]]=0;mxUndoManager[_0xa1fe[202]][_0xa1fe[1107]]=function(){return 0==this[_0xa1fe[1110]][_0xa1fe[67]]};mxUndoManager[_0xa1fe[202]][_0xa1fe[200]]=function(){this[_0xa1fe[1110]]=[];this[_0xa1fe[1111]]=0;this[_0xa1fe[746]]( new mxEventObject(mxEvent.CLEAR))};mxUndoManager[_0xa1fe[202]][_0xa1fe[1112]]=function(){return 0<this[_0xa1fe[1111]]};mxUndoManager[_0xa1fe[202]][_0xa1fe[824]]=function(){for(;0<this[_0xa1fe[1111]];){var _0xfc29x2=this[_0xa1fe[1110]][--this[_0xa1fe[1111]]];_0xfc29x2[_0xa1fe[824]]();if(_0xfc29x2[_0xa1fe[1108]]()){this[_0xa1fe[746]]( new mxEventObject(mxEvent.UNDO,_0xa1fe[1061],_0xfc29x2));break}}};mxUndoManager[_0xa1fe[202]][_0xa1fe[1113]]=function(){return this[_0xa1fe[1111]]<this[_0xa1fe[1110]][_0xa1fe[67]]};mxUndoManager[_0xa1fe[202]][_0xa1fe[825]]=function(){for(var _0xfc29x2=this[_0xa1fe[1110]][_0xa1fe[67]];this[_0xa1fe[1111]]<_0xfc29x2;){var _0xfc29x3=this[_0xa1fe[1110]][this[_0xa1fe[1111]]++];_0xfc29x3[_0xa1fe[825]]();if(_0xfc29x3[_0xa1fe[1108]]()){this[_0xa1fe[746]]( new mxEventObject(mxEvent.REDO,_0xa1fe[1061],_0xfc29x3));break}}};mxUndoManager[_0xa1fe[202]][_0xa1fe[1114]]=function(_0xfc29x2){this[_0xa1fe[330]]();0<this[_0xa1fe[803]]&&this[_0xa1fe[803]]==this[_0xa1fe[1110]][_0xa1fe[67]]&&this[_0xa1fe[1110]][_0xa1fe[1115]]();this[_0xa1fe[1110]][_0xa1fe[207]](_0xfc29x2);this[_0xa1fe[1111]]=this[_0xa1fe[1110]][_0xa1fe[67]];this[_0xa1fe[746]]( new mxEventObject(mxEvent.ADD,_0xa1fe[1061],_0xfc29x2))};mxUndoManager[_0xa1fe[202]][_0xa1fe[330]]=function(){if(this[_0xa1fe[1110]][_0xa1fe[67]]>this[_0xa1fe[1111]]){for(var _0xfc29x2=this[_0xa1fe[1110]][_0xa1fe[300]](this[_0xa1fe[1111]],this[_0xa1fe[1110]][_0xa1fe[67]]-this[_0xa1fe[1111]]),_0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){_0xfc29x2[_0xfc29x3][_0xa1fe[1109]]()}}};var mxUrlConverter=function(_0xfc29x2){var _0xfc29x3=!0,_0xfc29x4=null,_0xfc29x5=null;return {isEnabled:function(){return _0xfc29x3},setEnabled:function(_0xfc29x2){_0xfc29x3=_0xfc29x2},getBaseUrl:function(){return _0xfc29x4},setBaseUrl:function(_0xfc29x2){_0xfc29x4=_0xfc29x2},getBaseDomain:function(){return _0xfc29x4},setBaseDomain:function(_0xfc29x2){_0xfc29x4=_0xfc29x2},isRelativeUrl:function(_0xfc29x2){return _0xa1fe[43]!=_0xfc29x2[_0xa1fe[85]](0,7)&&_0xa1fe[46]!=_0xfc29x2[_0xa1fe[85]](0,8)&&_0xa1fe[1116]!=_0xfc29x2[_0xa1fe[85]](0,10)},convert:function(_0xfc29x2){if(_0xfc29x3&&this[_0xa1fe[1117]](_0xfc29x2)){if(null==_0xfc29x4){_0xfc29x5=location[_0xa1fe[1118]]+_0xa1fe[1119]+location[_0xa1fe[1120]];_0xfc29x4=_0xfc29x5+location[_0xa1fe[1121]];var _0xfc29xa=_0xfc29x4[_0xa1fe[1122]](_0xa1fe[84]);0<_0xfc29xa&&(_0xfc29x4=_0xfc29x4[_0xa1fe[85]](0,_0xfc29xa+1))};_0xfc29x2=_0xa1fe[84]==_0xfc29x2[_0xa1fe[225]](0)?_0xfc29x5+_0xfc29x2:_0xfc29x4+_0xfc29x2};return _0xfc29x2}}};function mxPanningManager(_0xfc29x2){this[_0xa1fe[1123]]=null;this[_0xa1fe[1124]]= !1;this[_0xa1fe[1125]]=this[_0xa1fe[1126]]=this[_0xa1fe[1127]]=this[_0xa1fe[1128]]=this[_0xa1fe[1129]]=this[_0xa1fe[1130]]=0;this[_0xa1fe[1131]]= !1;this[_0xa1fe[190]]=this[_0xa1fe[360]]=0;this[_0xa1fe[1132]]={mouseDown:function(_0xfc29x2,_0xfc29x3){},mouseMove:function(_0xfc29x2,_0xfc29x3){},mouseUp:mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1124]]&&this[_0xa1fe[1076]]()})};_0xfc29x2[_0xa1fe[1133]](this[_0xa1fe[1132]]);mxEvent[_0xa1fe[169]](document,_0xa1fe[753],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[1124]]&&this[_0xa1fe[1076]]()}));var _0xfc29x3=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[1131]]=mxUtils[_0xa1fe[1134]](_0xfc29x2[_0xa1fe[526]]);this[_0xa1fe[360]]=_0xfc29x2[_0xa1fe[526]][_0xa1fe[360]];this[_0xa1fe[190]]=_0xfc29x2[_0xa1fe[526]][_0xa1fe[190]];return window[_0xa1fe[1141]](mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[1130]]-=this[_0xa1fe[1126]];this[_0xa1fe[1129]]-=this[_0xa1fe[1125]];if(this[_0xa1fe[1131]]){var _0xfc29x3=-_0xfc29x2[_0xa1fe[526]][_0xa1fe[360]]-Math[_0xa1fe[430]](this[_0xa1fe[1126]]),_0xfc29x5=-_0xfc29x2[_0xa1fe[526]][_0xa1fe[190]]-Math[_0xa1fe[430]](this[_0xa1fe[1125]]);_0xfc29x2[_0xa1fe[1135]](_0xfc29x3,_0xfc29x5);_0xfc29x2[_0xa1fe[1136]]=this[_0xa1fe[360]]-_0xfc29x2[_0xa1fe[526]][_0xa1fe[360]];_0xfc29x2[_0xa1fe[1137]]=this[_0xa1fe[190]]-_0xfc29x2[_0xa1fe[526]][_0xa1fe[190]];_0xfc29x2[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN))}else {_0xfc29x2[_0xa1fe[1135]](this[_0xa1fe[1138]](),this[_0xa1fe[1139]]())}}),this[_0xa1fe[1140]])});this[_0xa1fe[1142]]=function(){return active};this[_0xa1fe[1138]]=function(){return Math[_0xa1fe[488]](this[_0xa1fe[1130]])};this[_0xa1fe[1139]]=function(){return Math[_0xa1fe[488]](this[_0xa1fe[1129]])};this[_0xa1fe[861]]=function(){this[_0xa1fe[1128]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]];this[_0xa1fe[1127]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]];this[_0xa1fe[1124]]= !0};this[_0xa1fe[1143]]=function(_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1124]]||this[_0xa1fe[861]]();this[_0xa1fe[360]]=_0xfc29x2[_0xa1fe[526]][_0xa1fe[360]];this[_0xa1fe[190]]=_0xfc29x2[_0xa1fe[526]][_0xa1fe[190]];_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:0;var _0xfc29x12=_0xfc29x2[_0xa1fe[526]];this[_0xa1fe[1126]]=_0xfc29x4+(null!=_0xfc29x9?_0xfc29x9:0)-_0xfc29x12[_0xa1fe[360]]-_0xfc29x12[_0xa1fe[159]];0>this[_0xa1fe[1126]]&&Math[_0xa1fe[425]](this[_0xa1fe[1126]])<this[_0xa1fe[467]]?this[_0xa1fe[1126]]=this[_0xa1fe[467]]+this[_0xa1fe[1126]]:this[_0xa1fe[1126]]=this[_0xa1fe[1144]]?Math[_0xa1fe[160]](this[_0xa1fe[1126]],0):0;0==this[_0xa1fe[1126]]&&(this[_0xa1fe[1126]]=_0xfc29x4-_0xfc29x12[_0xa1fe[360]],this[_0xa1fe[1126]]=0<this[_0xa1fe[1126]]&&this[_0xa1fe[1126]]<this[_0xa1fe[467]]?this[_0xa1fe[1126]]-this[_0xa1fe[467]]:this[_0xa1fe[1144]]?Math[_0xa1fe[243]](0,this[_0xa1fe[1126]]):0);this[_0xa1fe[1125]]=_0xfc29x5+_0xfc29xa-_0xfc29x12[_0xa1fe[190]]-_0xfc29x12[_0xa1fe[157]];0>this[_0xa1fe[1125]]&&Math[_0xa1fe[425]](this[_0xa1fe[1125]])<this[_0xa1fe[467]]?this[_0xa1fe[1125]]=this[_0xa1fe[467]]+this[_0xa1fe[1125]]:this[_0xa1fe[1125]]=this[_0xa1fe[1144]]?Math[_0xa1fe[160]](this[_0xa1fe[1125]],0):0;0==this[_0xa1fe[1125]]&&(this[_0xa1fe[1125]]=_0xfc29x5-_0xfc29x12[_0xa1fe[190]],this[_0xa1fe[1125]]=0<this[_0xa1fe[1125]]&&this[_0xa1fe[1125]]<this[_0xa1fe[467]]?this[_0xa1fe[1125]]-this[_0xa1fe[467]]:this[_0xa1fe[1144]]?Math[_0xa1fe[243]](0,this[_0xa1fe[1125]]):0);0!=this[_0xa1fe[1126]]||0!=this[_0xa1fe[1125]]?(this[_0xa1fe[1126]]*=this[_0xa1fe[1145]],this[_0xa1fe[1125]]*=this[_0xa1fe[1145]],null==this[_0xa1fe[1123]]&&(this[_0xa1fe[1123]]=_0xfc29x3())):null!=this[_0xa1fe[1123]]&&(window[_0xa1fe[1146]](this[_0xa1fe[1123]]),this[_0xa1fe[1123]]=null)};this[_0xa1fe[1076]]=function(){if(this[_0xa1fe[1124]]){if(this[_0xa1fe[1124]]= !1,null!=this[_0xa1fe[1123]]&&(window[_0xa1fe[1146]](this[_0xa1fe[1123]]),this[_0xa1fe[1123]]=null),this[_0xa1fe[1129]]=this[_0xa1fe[1130]]=0,this[_0xa1fe[1131]]){_0xfc29x2[_0xa1fe[1136]]=0,_0xfc29x2[_0xa1fe[1137]]=0,_0xfc29x2[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN))}else {var _0xfc29x3=_0xfc29x2[_0xa1fe[1136]],_0xfc29x5=_0xfc29x2[_0xa1fe[1137]];if(0!=_0xfc29x3||0!=_0xfc29x5){_0xfc29x2[_0xa1fe[1135]](0,0),_0xfc29x2[_0xa1fe[441]][_0xa1fe[1147]](this[_0xa1fe[1128]]+_0xfc29x3/_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],this[_0xa1fe[1127]]+_0xfc29x5/_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]])}}}};this[_0xa1fe[515]]=function(){_0xfc29x2[_0xa1fe[1148]](this[_0xa1fe[1132]])}}mxPanningManager[_0xa1fe[202]][_0xa1fe[1145]]=1/6;mxPanningManager[_0xa1fe[202]][_0xa1fe[1140]]=10;mxPanningManager[_0xa1fe[202]][_0xa1fe[1144]]= !0;mxPanningManager[_0xa1fe[202]][_0xa1fe[467]]=0;function mxPopupMenu(_0xfc29x2){this[_0xa1fe[1033]]=_0xfc29x2;null!=_0xfc29x2&&this[_0xa1fe[176]]()}mxPopupMenu[_0xa1fe[202]]= new mxEventSource;mxPopupMenu[_0xa1fe[202]][_0xa1fe[196]]=mxPopupMenu;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1149]]=mxClient[_0xa1fe[88]]+_0xa1fe[1150];mxPopupMenu[_0xa1fe[202]][_0xa1fe[931]]=10006;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1033]]=null;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1151]]= !1;mxPopupMenu[_0xa1fe[202]][_0xa1fe[984]]= !0;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1152]]=0;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1153]]= !1;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1154]]= !1;mxPopupMenu[_0xa1fe[202]][_0xa1fe[1155]]= !0;mxPopupMenu[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[116]]=document[_0xa1fe[55]](_0xa1fe[116]);this[_0xa1fe[116]][_0xa1fe[926]]=_0xa1fe[1156];this[_0xa1fe[120]]=document[_0xa1fe[55]](_0xa1fe[120]);this[_0xa1fe[116]][_0xa1fe[62]](this[_0xa1fe[120]]);this[_0xa1fe[485]]=document[_0xa1fe[55]](_0xa1fe[485]);this[_0xa1fe[485]][_0xa1fe[926]]=_0xa1fe[1156];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[931]]=this[_0xa1fe[931]];this[_0xa1fe[485]][_0xa1fe[62]](this[_0xa1fe[116]]);mxEvent[_0xa1fe[1157]](this[_0xa1fe[485]])};mxPopupMenu[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxPopupMenu[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxPopupMenu[_0xa1fe[202]][_0xa1fe[737]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[737]]()||this[_0xa1fe[1151]]&&mxEvent[_0xa1fe[1158]](_0xfc29x2[_0xa1fe[727]]())};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1025]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x5=_0xfc29x5||this;this[_0xa1fe[1152]]++;_0xfc29x5[_0xa1fe[1159]]&&(_0xfc29x5[_0xa1fe[1160]]&&this[_0xa1fe[1051]](_0xfc29x5,!0),_0xfc29x5[_0xa1fe[1159]]= !1);_0xfc29x5[_0xa1fe[1160]]= !0;var _0xfc29x12=document[_0xa1fe[55]](_0xa1fe[121]);_0xfc29x12[_0xa1fe[926]]=_0xa1fe[1161];var _0xfc29x13=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x13[_0xa1fe[926]]=_0xa1fe[1162];null!=_0xfc29x3?(_0xfc29x9=document[_0xa1fe[55]](_0xa1fe[466]),_0xfc29x9[_0xa1fe[390]]=_0xfc29x3,_0xfc29x13[_0xa1fe[62]](_0xfc29x9)):null!=_0xfc29x9&&(_0xfc29x3=document[_0xa1fe[55]](_0xa1fe[485]),_0xfc29x3[_0xa1fe[926]]=_0xfc29x9,_0xfc29x13[_0xa1fe[62]](_0xfc29x3));_0xfc29x12[_0xa1fe[62]](_0xfc29x13);this[_0xa1fe[1155]]&&(_0xfc29x13=document[_0xa1fe[55]](_0xa1fe[122]),_0xfc29x13[_0xa1fe[926]]=_0xa1fe[1161]+(null!=_0xfc29xa&&!_0xfc29xa?_0xa1fe[1163]:_0xa1fe[110]),mxUtils[_0xa1fe[53]](_0xfc29x13,_0xfc29x2),_0xfc29x13[_0xa1fe[611]]=_0xa1fe[361],_0xfc29x12[_0xa1fe[62]](_0xfc29x13),_0xfc29x2=document[_0xa1fe[55]](_0xa1fe[122]),_0xfc29x2[_0xa1fe[926]]=_0xa1fe[1161]+(null!=_0xfc29xa&&!_0xfc29xa?_0xa1fe[1163]:_0xa1fe[110]),_0xfc29x2[_0xa1fe[124]][_0xa1fe[1164]]=_0xa1fe[1055],_0xfc29x2[_0xa1fe[124]][_0xa1fe[1165]]=_0xa1fe[699],_0xfc29x12[_0xa1fe[62]](_0xfc29x2),null==_0xfc29x5[_0xa1fe[485]]&&this[_0xa1fe[1166]](_0xfc29x5));_0xfc29x5[_0xa1fe[120]][_0xa1fe[62]](_0xfc29x12);if(null==_0xfc29xa||_0xfc29xa){mxEvent[_0xa1fe[759]](_0xfc29x12,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1167]]=_0xfc29x12;_0xfc29x5[_0xa1fe[1168]]!=_0xfc29x12&&_0xfc29x5[_0xa1fe[1168]]!=_0xfc29x5&&(null!=_0xfc29x5[_0xa1fe[1168]]&&null!=_0xfc29x5[_0xa1fe[1168]][_0xa1fe[485]][_0xa1fe[265]]&&this[_0xa1fe[1169]](_0xfc29x5),null!=_0xfc29x12[_0xa1fe[485]]&&(this[_0xa1fe[1170]](_0xfc29x5,_0xfc29x12),_0xfc29x5[_0xa1fe[1168]]=_0xfc29x12));mxEvent[_0xa1fe[722]](_0xfc29x2)}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x5[_0xa1fe[1168]]!=_0xfc29x12&&_0xfc29x5[_0xa1fe[1168]]!=_0xfc29x5&&(null!=_0xfc29x5[_0xa1fe[1168]]&&null!=_0xfc29x5[_0xa1fe[1168]][_0xa1fe[485]][_0xa1fe[265]]&&this[_0xa1fe[1169]](_0xfc29x5),this[_0xa1fe[1153]]&&null!=_0xfc29x12[_0xa1fe[485]]&&(this[_0xa1fe[1170]](_0xfc29x5,_0xfc29x12),_0xfc29x5[_0xa1fe[1168]]=_0xfc29x12));_0xfc29x12[_0xa1fe[926]]=_0xa1fe[1171]}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1167]]==_0xfc29x12&&(_0xfc29x5[_0xa1fe[1168]]!=_0xfc29x12&&this[_0xa1fe[1032]](),null!=_0xfc29x4&&_0xfc29x4(_0xfc29x2));this[_0xa1fe[1167]]=null;mxEvent[_0xa1fe[722]](_0xfc29x2)})),mxEvent[_0xa1fe[169]](_0xfc29x12,_0xa1fe[1035],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x12[_0xa1fe[926]]=_0xa1fe[1161]}))};return _0xfc29x12};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1166]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[116]]=document[_0xa1fe[55]](_0xa1fe[116]);_0xfc29x2[_0xa1fe[116]][_0xa1fe[926]]=_0xa1fe[1156];_0xfc29x2[_0xa1fe[120]]=document[_0xa1fe[55]](_0xa1fe[120]);_0xfc29x2[_0xa1fe[116]][_0xa1fe[62]](_0xfc29x2[_0xa1fe[120]]);_0xfc29x2[_0xa1fe[485]]=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x2[_0xa1fe[485]][_0xa1fe[926]]=_0xa1fe[1156];_0xfc29x2[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x2[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497];_0xfc29x2[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[931]]=this[_0xa1fe[931]];_0xfc29x2[_0xa1fe[485]][_0xa1fe[62]](_0xfc29x2[_0xa1fe[116]]);var _0xfc29x3=document[_0xa1fe[55]](_0xa1fe[466]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[390],this[_0xa1fe[1149]]);td=_0xfc29x2[_0xa1fe[285]][_0xa1fe[287]][_0xa1fe[287]];td[_0xa1fe[62]](_0xfc29x3)};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1170]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x3[_0xa1fe[485]]){_0xfc29x3[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2[_0xa1fe[485]][_0xa1fe[358]]+_0xfc29x3[_0xa1fe[358]]+_0xfc29x3[_0xa1fe[359]]-1+_0xa1fe[168];_0xfc29x3[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x2[_0xa1fe[485]][_0xa1fe[362]]+_0xfc29x3[_0xa1fe[362]]+_0xa1fe[168];document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x3[_0xa1fe[485]]);var _0xfc29x4=parseInt(_0xfc29x3[_0xa1fe[485]][_0xa1fe[358]]),_0xfc29x5=parseInt(_0xfc29x3[_0xa1fe[485]][_0xa1fe[359]]),_0xfc29x9=document[_0xa1fe[112]],_0xfc29xa=document[_0xa1fe[158]];if(_0xfc29x4+_0xfc29x5>(_0xfc29x9[_0xa1fe[360]]||_0xfc29xa[_0xa1fe[360]])+(_0xfc29x9[_0xa1fe[159]]||_0xfc29xa[_0xa1fe[159]])){_0xfc29x3[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2[_0xa1fe[485]][_0xa1fe[358]]-_0xfc29x5+(mxClient[_0xa1fe[80]]?6:-6)+_0xa1fe[168]};mxUtils[_0xa1fe[933]](_0xfc29x3[_0xa1fe[485]])}};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1051]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=_0xfc29x2||this;if(this[_0xa1fe[1154]]&& !_0xfc29x3){_0xfc29x2[_0xa1fe[1159]]= !0}else {if(null!=_0xfc29x2[_0xa1fe[120]]){_0xfc29x2[_0xa1fe[1159]]= !1;var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[121]),_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x5[_0xa1fe[926]]=_0xa1fe[1162];_0xfc29x5[_0xa1fe[124]][_0xa1fe[549]]=_0xa1fe[1172];_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[122]);_0xfc29x5[_0xa1fe[124]][_0xa1fe[549]]=_0xa1fe[1172];_0xfc29x5[_0xa1fe[57]](_0xa1fe[1173],_0xa1fe[1174]);var _0xfc29x9=document[_0xa1fe[55]](_0xa1fe[1054]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[803],_0xa1fe[500]);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);_0xfc29x4[_0xa1fe[62]](_0xfc29x5);_0xfc29x2[_0xa1fe[120]][_0xa1fe[62]](_0xfc29x4)}}};mxPopupMenu[_0xa1fe[202]][_0xa1fe[152]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=this[_0xa1fe[485]]&&null!=this[_0xa1fe[120]]&&null!=this[_0xa1fe[1033]]){this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168];for(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168];null!=this[_0xa1fe[120]][_0xa1fe[285]];){mxEvent[_0xa1fe[762]](this[_0xa1fe[120]][_0xa1fe[285]]),this[_0xa1fe[120]][_0xa1fe[266]](this[_0xa1fe[120]][_0xa1fe[285]])};this[_0xa1fe[1152]]=0;this[_0xa1fe[1033]](this,_0xfc29x4,_0xfc29x5);0<this[_0xa1fe[1152]]&&(this[_0xa1fe[1175]](),this[_0xa1fe[746]]( new mxEventObject(mxEvent.SHOW)))}};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1031]]=function(){return null!=this[_0xa1fe[485]]&&this[_0xa1fe[485]][_0xa1fe[265]]==document[_0xa1fe[112]]};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1175]]=function(){9<=document[_0xa1fe[5]]&&(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[347]]=_0xa1fe[130]);document[_0xa1fe[112]][_0xa1fe[62]](this[_0xa1fe[485]]);mxUtils[_0xa1fe[933]](this[_0xa1fe[485]])};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1032]]=function(){null!=this[_0xa1fe[485]]&&(null!=this[_0xa1fe[485]][_0xa1fe[265]]&&this[_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[485]]),this[_0xa1fe[1169]](this),this[_0xa1fe[1160]]= !1)};mxPopupMenu[_0xa1fe[202]][_0xa1fe[1169]]=function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[1168]]&&(this[_0xa1fe[1169]](_0xfc29x2[_0xa1fe[1168]]),null!=_0xfc29x2[_0xa1fe[1168]][_0xa1fe[485]][_0xa1fe[265]]&&_0xfc29x2[_0xa1fe[1168]][_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2[_0xa1fe[1168]][_0xa1fe[485]]),_0xfc29x2[_0xa1fe[1168]]=null)};mxPopupMenu[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[485]]&&(mxEvent[_0xa1fe[762]](this[_0xa1fe[485]]),null!=this[_0xa1fe[485]][_0xa1fe[265]]&&this[_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[485]]),this[_0xa1fe[485]]=null)};function mxAutoSaveManager(_0xfc29x2){this[_0xa1fe[1176]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){this[_0xa1fe[994]]()&&this[_0xa1fe[1177]](_0xfc29x4[_0xa1fe[720]](_0xa1fe[1061])[_0xa1fe[1065]])});this[_0xa1fe[1178]](_0xfc29x2)}mxAutoSaveManager[_0xa1fe[202]]= new mxEventSource;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[196]]=mxAutoSaveManager;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1179]]=null;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1180]]=10;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1181]]=2;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1182]]=5;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1183]]=0;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1184]]=0;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[984]]= !0;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1176]]=null;mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1178]]=function(_0xfc29x2){null!=this[_0xa1fe[1179]]&&this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[1176]]);this[_0xa1fe[1179]]=_0xfc29x2;null!=this[_0xa1fe[1179]]&&this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[1176]])};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[815]]=function(){};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[1177]]=function(_0xfc29x2){_0xfc29x2=(( new Date)[_0xa1fe[178]]()-this[_0xa1fe[1184]])/1E3;_0xfc29x2>this[_0xa1fe[1180]]||this[_0xa1fe[1183]]>=this[_0xa1fe[1182]]&&_0xfc29x2>this[_0xa1fe[1181]]?(this[_0xa1fe[815]](),this[_0xa1fe[862]]()):this[_0xa1fe[1183]]++};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[1184]]=( new Date)[_0xa1fe[178]]();this[_0xa1fe[1183]]=0};mxAutoSaveManager[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1178]](null)};function mxAnimation(_0xfc29x2){this[_0xa1fe[1140]]=null!=_0xfc29x2?_0xfc29x2:20}mxAnimation[_0xa1fe[202]]= new mxEventSource;mxAnimation[_0xa1fe[202]][_0xa1fe[196]]=mxAnimation;mxAnimation[_0xa1fe[202]][_0xa1fe[1140]]=null;mxAnimation[_0xa1fe[202]][_0xa1fe[1123]]=null;mxAnimation[_0xa1fe[202]][_0xa1fe[1185]]=function(){null==this[_0xa1fe[1123]]&&(this[_0xa1fe[1123]]=window[_0xa1fe[1141]](mxUtils[_0xa1fe[885]](this,this[_0xa1fe[1186]]),this[_0xa1fe[1140]]))};mxAnimation[_0xa1fe[202]][_0xa1fe[1186]]=function(){this[_0xa1fe[746]]( new mxEventObject(mxEvent.EXECUTE))};mxAnimation[_0xa1fe[202]][_0xa1fe[1187]]=function(){null!=this[_0xa1fe[1123]]&&(window[_0xa1fe[1146]](this[_0xa1fe[1123]]),this[_0xa1fe[1123]]=null,this[_0xa1fe[746]]( new mxEventObject(mxEvent.DONE)))};function mxMorphing(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxAnimation[_0xa1fe[239]](this,_0xfc29x5);this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[1188]]=null!=_0xfc29x3?_0xfc29x3:6;this[_0xa1fe[1189]]=null!=_0xfc29x4?_0xfc29x4:1.5}mxMorphing[_0xa1fe[202]]= new mxAnimation;mxMorphing[_0xa1fe[202]][_0xa1fe[196]]=mxMorphing;mxMorphing[_0xa1fe[202]][_0xa1fe[1179]]=null;mxMorphing[_0xa1fe[202]][_0xa1fe[1188]]=null;mxMorphing[_0xa1fe[202]][_0xa1fe[1190]]=0;mxMorphing[_0xa1fe[202]][_0xa1fe[1189]]=null;mxMorphing[_0xa1fe[202]][_0xa1fe[895]]=null;mxMorphing[_0xa1fe[202]][_0xa1fe[1186]]=function(){var _0xfc29x2= new mxCellStatePreview(this[_0xa1fe[1179]]);if(null!=this[_0xa1fe[895]]){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[895]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[1191]](cells[_0xfc29x3],_0xfc29x2,!1)}}else {this[_0xa1fe[1191]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]](),_0xfc29x2,!0)};this[_0xa1fe[539]](_0xfc29x2);(_0xfc29x2[_0xa1fe[1107]]()||this[_0xa1fe[1190]]++ >=this[_0xa1fe[1188]])&&this[_0xa1fe[1187]]()};mxMorphing[_0xa1fe[202]][_0xa1fe[539]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[539]]()};mxMorphing[_0xa1fe[202]][_0xa1fe[1191]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2),_0xfc29x9=null;if(null!=_0xfc29x5&&(_0xfc29x9=this[_0xa1fe[1192]](_0xfc29x5),this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2)&&(0!=_0xfc29x9[_0xa1fe[235]]||0!=_0xfc29x9[_0xa1fe[236]]))){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[512]](),_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[518]]();_0xfc29x9[_0xa1fe[235]]+=_0xfc29xa[_0xa1fe[235]]*_0xfc29x12;_0xfc29x9[_0xa1fe[236]]+=_0xfc29xa[_0xa1fe[236]]*_0xfc29x12;_0xfc29x3[_0xa1fe[1194]](_0xfc29x5,-_0xfc29x9[_0xa1fe[235]]/this[_0xa1fe[1189]],-_0xfc29x9[_0xa1fe[236]]/this[_0xa1fe[1189]])};if(_0xfc29x4&&!this[_0xa1fe[1195]](_0xfc29x5,_0xfc29x9)){_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[262]](_0xfc29x2);for(_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){this[_0xa1fe[1191]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x3,_0xfc29x4)}}};mxMorphing[_0xa1fe[202]][_0xa1fe[1195]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x3&&(0!=_0xfc29x3[_0xa1fe[235]]||0!=_0xfc29x3[_0xa1fe[236]])};mxMorphing[_0xa1fe[202]][_0xa1fe[1192]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1196]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[512]](),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[518]]();_0xfc29x2= new mxPoint(_0xfc29x2[_0xa1fe[235]]/_0xfc29x5-_0xfc29x4[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]/_0xfc29x5-_0xfc29x4[_0xa1fe[236]]);return new mxPoint((_0xfc29x3[_0xa1fe[235]]-_0xfc29x2[_0xa1fe[235]])*_0xfc29x5,(_0xfc29x3[_0xa1fe[236]]-_0xfc29x2[_0xa1fe[236]])*_0xfc29x5)};mxMorphing[_0xa1fe[202]][_0xa1fe[1196]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[1196]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x2)),_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x3[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[236]]));null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[512]](),_0xfc29x3= new mxPoint(-_0xfc29x3[_0xa1fe[235]],-_0xfc29x3[_0xa1fe[236]]));return _0xfc29x3};function mxImageBundle(_0xfc29x2){this[_0xa1fe[1199]]=[];this[_0xa1fe[1200]]=null!=_0xfc29x2?_0xfc29x2:!1}mxImageBundle[_0xa1fe[202]][_0xa1fe[1199]]=null;mxImageBundle[_0xa1fe[202]][_0xa1fe[1199]]=null;mxImageBundle[_0xa1fe[202]][_0xa1fe[1201]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[1199]][_0xfc29x2]={value:_0xfc29x3,fallback:_0xfc29x4}};mxImageBundle[_0xa1fe[202]][_0xa1fe[1202]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[1199]][_0xfc29x2],null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[1200]]?_0xfc29x2[_0xa1fe[1203]]:_0xfc29x2[_0xa1fe[131]]));return _0xfc29x3};function mxImageExport(){}mxImageExport[_0xa1fe[202]][_0xa1fe[1204]]= !1;mxImageExport[_0xa1fe[202]][_0xa1fe[1205]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&(this[_0xa1fe[1207]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[1206]]),this[_0xa1fe[1204]]&&this[_0xa1fe[1207]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[1208]]))};mxImageExport[_0xa1fe[202]][_0xa1fe[1207]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2){_0xfc29x4(_0xfc29x2,_0xfc29x3);for(var _0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x9=_0xfc29x5[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2[_0xa1fe[246]]),_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){var _0xfc29x12=_0xfc29x5[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x5[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2[_0xa1fe[246]],_0xfc29xa));this[_0xa1fe[1207]](_0xfc29x12,_0xfc29x3,_0xfc29x4)}}};mxImageExport[_0xa1fe[202]][_0xa1fe[1206]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[253]] instanceof mxShape&&(_0xfc29x3[_0xa1fe[815]](),_0xfc29x2[_0xa1fe[253]][_0xa1fe[1209]](_0xfc29x3),_0xfc29x3[_0xa1fe[1210]]());null!=_0xfc29x2[_0xa1fe[963]]&&(_0xfc29x3[_0xa1fe[815]](),_0xfc29x2[_0xa1fe[963]][_0xa1fe[1209]](_0xfc29x3),_0xfc29x3[_0xa1fe[1210]]())};mxImageExport[_0xa1fe[202]][_0xa1fe[1208]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2[_0xa1fe[1211]]&&_0xfc29x2[_0xa1fe[1211]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x5){_0xfc29x5 instanceof mxShape&&_0xfc29x5[_0xa1fe[1209]](_0xfc29x3)})};function mxAbstractCanvas2D(){this[_0xa1fe[1212]]=this[_0xa1fe[1213]]();this[_0xa1fe[862]]()}mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[724]]=null;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1214]]=null;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1215]]=null;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1216]]= !0;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1217]]=0;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1218]]=0;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1219]]=_0xa1fe[1220];mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1221]]=_0xa1fe[1222];mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1223]]=_0xa1fe[1224];mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1225]]=_0xa1fe[1226];mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1227]]=_0xa1fe[1228];mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1229]]= !1;mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1213]]=function(){return new mxUrlConverter};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[724]]=this[_0xa1fe[1230]]();this[_0xa1fe[1214]]=[]};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[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:_0xa1fe[1231],lineCap:_0xa1fe[1232],lineJoin:_0xa1fe[1233],miterLimit:10,fontColor:_0xa1fe[1234],fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants[_0xa1fe[483]],fontFamily:mxConstants[_0xa1fe[484]],fontStyle:0,shadow:!1,shadowColor:mxConstants[_0xa1fe[1235]],shadowAlpha:mxConstants[_0xa1fe[1236]],shadowDx:mxConstants[_0xa1fe[1237]],shadowDy:mxConstants[_0xa1fe[1238]],rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1239]]=function(_0xfc29x2){return Math[_0xa1fe[488]](parseFloat(_0xfc29x2))};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1240]]=function(){if(null!=this[_0xa1fe[1215]]&&(this[_0xa1fe[1215]][_0xa1fe[207]](arguments[0]),2<arguments[_0xa1fe[67]])){for(var _0xfc29x2=this[_0xa1fe[724]],_0xfc29x3=2;_0xfc29x3<arguments[_0xa1fe[67]];_0xfc29x3+=2){this[_0xa1fe[1217]]=arguments[_0xfc29x3-1],this[_0xa1fe[1218]]=arguments[_0xfc29x3],this[_0xa1fe[1215]][_0xa1fe[207]](this[_0xa1fe[1239]]((this[_0xa1fe[1217]]+_0xfc29x2[_0xa1fe[1126]])*_0xfc29x2[_0xa1fe[255]])),this[_0xa1fe[1215]][_0xa1fe[207]](this[_0xa1fe[1239]]((this[_0xa1fe[1218]]+_0xfc29x2[_0xa1fe[1125]])*_0xfc29x2[_0xa1fe[255]]))}}};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1241]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x4*=Math[_0xa1fe[424]]/180;return mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x2,_0xfc29x3),Math[_0xa1fe[426]](_0xfc29x4),Math[_0xa1fe[427]](_0xfc29x4), new mxPoint(_0xfc29x5,_0xfc29x9))};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[815]]=function(){this[_0xa1fe[1214]][_0xa1fe[207]](this[_0xa1fe[724]]);this[_0xa1fe[724]]=mxUtils[_0xa1fe[238]](this[_0xa1fe[724]])};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1210]]=function(){this[_0xa1fe[724]]=this[_0xa1fe[1214]][_0xa1fe[1242]]()};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[255]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[255]]*=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[610]]*=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[513]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[724]][_0xa1fe[1126]]+=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[1125]]+=_0xfc29x3};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1243]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[1244]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1245]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[604]]=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[606]]=null};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1246]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){_0xfc29x4=this[_0xa1fe[724]];_0xfc29x4[_0xa1fe[604]]=_0xfc29x2;_0xfc29x4[_0xa1fe[1247]]=null!=_0xfc29x13?_0xfc29x13:1;_0xfc29x4[_0xa1fe[606]]=_0xfc29x3;_0xfc29x4[_0xa1fe[1248]]=null!=_0xfc29x14?_0xfc29x14:1;_0xfc29x4[_0xa1fe[607]]=_0xfc29x12};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1249]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[608]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1250]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[610]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1251]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[648]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1252]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[649]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1253]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[1254]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1255]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[1256]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1257]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[1258]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1259]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[665]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1260]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[1261]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1262]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[1263]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1264]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[487]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1265]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[486]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1266]]=function(_0xfc29x2){null==_0xfc29x2&&(_0xfc29x2=0);this[_0xa1fe[724]][_0xa1fe[666]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1267]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[639]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1268]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);this[_0xa1fe[724]][_0xa1fe[1269]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1270]]=function(_0xfc29x2){this[_0xa1fe[724]][_0xa1fe[1271]]=_0xfc29x2};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1272]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[724]][_0xa1fe[1273]]=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[1274]]=_0xfc29x3};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1275]]=function(){this[_0xa1fe[1218]]=this[_0xa1fe[1217]]=0;this[_0xa1fe[1215]]=[]};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1276]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1240]](this[_0xa1fe[1219]],_0xfc29x2,_0xfc29x3)};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1277]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1240]](this[_0xa1fe[1221]],_0xfc29x2,_0xfc29x3)};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1278]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[1240]](this[_0xa1fe[1223]],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1279]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1240]](this[_0xa1fe[1225]],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa)};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1280]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){_0xfc29x2=mxUtils[_0xa1fe[1281]](this[_0xa1fe[1217]],this[_0xa1fe[1218]],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12);for(_0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3+=6){this[_0xa1fe[1279]](_0xfc29x2[_0xfc29x3],_0xfc29x2[_0xfc29x3+1],_0xfc29x2[_0xfc29x3+2],_0xfc29x2[_0xfc29x3+3],_0xfc29x2[_0xfc29x3+4],_0xfc29x2[_0xfc29x3+5])}};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[268]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1240]](this[_0xa1fe[1227]])};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1282]]=function(){};function mxXmlCanvas2D(_0xfc29x2){mxAbstractCanvas2D[_0xa1fe[239]](this);this[_0xa1fe[813]]=_0xfc29x2;this[_0xa1fe[1283]]()}mxUtils[_0xa1fe[1284]](mxXmlCanvas2D,mxAbstractCanvas2D);mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1285]]= !0;mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1286]]= !0;mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1283]]=function(){var _0xfc29x2;_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[1287]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1288],mxConstants.DEFAULT_FONTFAMILY);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[1289]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[803],mxConstants.DEFAULT_FONTSIZE);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[1290]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[352],mxConstants.SHADOWCOLOR);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[1291]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1244],mxConstants.SHADOW_OPACITY);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[1292]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1126],mxConstants.SHADOW_OFFSET_X);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1125],mxConstants.SHADOW_OFFSET_Y);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x2)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1239]]=function(_0xfc29x2){return parseFloat(parseFloat(_0xfc29x2)[_0xa1fe[1293]](2))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[55]]=function(_0xfc29x2){return this[_0xa1fe[813]][_0xa1fe[295]][_0xa1fe[55]](_0xfc29x2)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[815]]=function(){this[_0xa1fe[1286]]&&mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[815]][_0xa1fe[183]](this,arguments);this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[815]))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1210]]=function(){this[_0xa1fe[1286]]&&mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1210]][_0xa1fe[183]](this,arguments);this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[1210]))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[255]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[255]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1243]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[255]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[255],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[513]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[55]](_0xa1fe[513]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[1126],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x4[_0xa1fe[57]](_0xa1fe[1125],this[_0xa1fe[1239]](_0xfc29x3));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1294]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=this[_0xa1fe[55]](_0xa1fe[1294]);if(0!=_0xfc29x2||_0xfc29x3||_0xfc29x4){_0xfc29xa[_0xa1fe[57]](_0xa1fe[1295],this[_0xa1fe[1239]](_0xfc29x2)),_0xfc29xa[_0xa1fe[57]](_0xa1fe[623],_0xfc29x3?_0xa1fe[500]:_0xa1fe[468]),_0xfc29xa[_0xa1fe[57]](_0xa1fe[624],_0xfc29x4?_0xa1fe[500]:_0xa1fe[468]),_0xfc29xa[_0xa1fe[57]](_0xa1fe[1296],this[_0xa1fe[1239]](_0xfc29x5)),_0xfc29xa[_0xa1fe[57]](_0xa1fe[1297],this[_0xa1fe[1239]](_0xfc29x9)),this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29xa)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1243]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1244]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1243]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1244]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1244],this[_0xa1fe[1239]](_0xfc29x2));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1245]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[604]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1245]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1298]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1246]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){if(null!=_0xfc29x2&&null!=_0xfc29x3){mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1246]][_0xa1fe[183]](this,arguments);var _0xfc29x15=this[_0xa1fe[55]](_0xa1fe[1299]);_0xfc29x15[_0xa1fe[57]](_0xa1fe[1300],_0xfc29x2);_0xfc29x15[_0xa1fe[57]](_0xa1fe[1301],_0xfc29x3);_0xfc29x15[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x15[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x5));_0xfc29x15[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x9));_0xfc29x15[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29xa));null!=_0xfc29x12&&_0xfc29x15[_0xa1fe[57]](_0xa1fe[663],_0xfc29x12);null!=_0xfc29x13&&_0xfc29x15[_0xa1fe[57]](_0xa1fe[1304],_0xfc29x13);null!=_0xfc29x14&&_0xfc29x15[_0xa1fe[57]](_0xa1fe[1305],_0xfc29x14);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x15)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1249]]=function(_0xfc29x2){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[608]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1249]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1306]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1250]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[610]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1250]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1307]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[117],this[_0xa1fe[1239]](_0xfc29x2));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1251]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[648]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1251]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[648]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[648],_0xfc29x2?_0xa1fe[500]:_0xa1fe[468]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1252]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[649]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1252]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1308]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1309],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1253]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1254]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1253]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1310]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1311],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1255]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1256]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1255]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1312]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[234],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1257]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1258]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1257]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1313]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1314],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1259]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[665]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1259]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1315]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1260]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1261]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1260]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1316]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1262]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1263]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1262]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1317]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1264]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[487]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1264]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1289]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[803],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1265]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[486]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1265]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1287]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1288],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1266]]=function(_0xfc29x2){if(this[_0xa1fe[1285]]){null==_0xfc29x2&&(_0xfc29x2=0);if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[666]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1266]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1318]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[124],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1267]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[639]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1267]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[639]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[984],_0xfc29x2?_0xa1fe[500]:_0xa1fe[468]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1268]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){_0xfc29x2==mxConstants[_0xa1fe[217]]&&(_0xfc29x2=null);if(this[_0xa1fe[724]][_0xa1fe[1269]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1268]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1290]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[352],null!=_0xfc29x2?_0xfc29x2:mxConstants[_0xa1fe[217]]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1270]]=function(_0xfc29x2){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1271]]==_0xfc29x2){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1270]][_0xa1fe[183]](this,arguments)};var _0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1291]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[1244],_0xfc29x2);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x3)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1272]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1286]]){if(this[_0xa1fe[724]][_0xa1fe[1273]]==_0xfc29x2&&this[_0xa1fe[724]][_0xa1fe[1274]]==_0xfc29x3){return};mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1272]][_0xa1fe[183]](this,arguments)};var _0xfc29x4=this[_0xa1fe[55]](_0xa1fe[1292]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[1126],_0xfc29x2);_0xfc29x4[_0xa1fe[57]](_0xa1fe[1125],_0xfc29x3);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1319]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[55]](_0xa1fe[1319]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x9[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29x5));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x9)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1320]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=this[_0xa1fe[55]](_0xa1fe[1320]);_0xfc29x12[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x12[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29x5));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1126],this[_0xa1fe[1239]](_0xfc29x9));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1125],this[_0xa1fe[1239]](_0xfc29xa));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x12)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[680]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[55]](_0xa1fe[680]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x9[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29x5));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x9)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[618]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){_0xfc29x9=this[_0xa1fe[1212]][_0xa1fe[1321]](_0xfc29x9);var _0xfc29x14=this[_0xa1fe[55]](_0xa1fe[618]);_0xfc29x14[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x14[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x14[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x14[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29x5));_0xfc29x14[_0xa1fe[57]](_0xa1fe[390],_0xfc29x9);_0xfc29x14[_0xa1fe[57]](_0xa1fe[1322],_0xfc29xa?_0xa1fe[500]:_0xa1fe[468]);_0xfc29x14[_0xa1fe[57]](_0xa1fe[623],_0xfc29x12?_0xa1fe[500]:_0xa1fe[468]);_0xfc29x14[_0xa1fe[57]](_0xa1fe[624],_0xfc29x13?_0xa1fe[500]:_0xa1fe[468]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x14)};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1275]]=function(){this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[1275]));this[_0xa1fe[1218]]=this[_0xa1fe[1217]]=0};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1276]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[55]](_0xa1fe[582]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x4[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4);this[_0xa1fe[1217]]=_0xfc29x2;this[_0xa1fe[1218]]=_0xfc29x3};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1277]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[55]](_0xa1fe[683]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x4[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4);this[_0xa1fe[1217]]=_0xfc29x2;this[_0xa1fe[1218]]=_0xfc29x3};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1278]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[55]](_0xa1fe[1323]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[1324],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1325],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1326],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x9[_0xa1fe[57]](_0xa1fe[1327],this[_0xa1fe[1239]](_0xfc29x5));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x9);this[_0xa1fe[1217]]=_0xfc29x4;this[_0xa1fe[1218]]=_0xfc29x5};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1279]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=this[_0xa1fe[55]](_0xa1fe[1328]);_0xfc29x12[_0xa1fe[57]](_0xa1fe[1324],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1325],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1326],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1327],this[_0xa1fe[1239]](_0xfc29x5));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1329],this[_0xa1fe[1239]](_0xfc29x9));_0xfc29x12[_0xa1fe[57]](_0xa1fe[1330],this[_0xa1fe[1239]](_0xfc29xa));this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x12);this[_0xa1fe[1217]]=_0xfc29x9;this[_0xa1fe[1218]]=_0xfc29xa};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[268]]=function(){this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[268]))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[963]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){if(this[_0xa1fe[1285]]&&null!=_0xfc29x9){mxUtils[_0xa1fe[1331]](_0xfc29x9)&&(_0xfc29x9=mxUtils[_0xa1fe[532]](_0xfc29x9));var _0xfc29x18=this[_0xa1fe[55]](_0xa1fe[963]);_0xfc29x18[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2));_0xfc29x18[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3));_0xfc29x18[_0xa1fe[57]](_0xa1fe[1302],this[_0xa1fe[1239]](_0xfc29x4));_0xfc29x18[_0xa1fe[57]](_0xa1fe[1303],this[_0xa1fe[1239]](_0xfc29x5));_0xfc29x18[_0xa1fe[57]](_0xa1fe[1332],_0xfc29x9);null!=_0xfc29xa&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[611],_0xfc29xa);null!=_0xfc29x12&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[552],_0xfc29x12);_0xfc29x18[_0xa1fe[57]](_0xa1fe[1333],_0xfc29x13?_0xa1fe[500]:_0xa1fe[468]);null==_0xfc29x14&&(_0xfc29x14=_0xa1fe[110]);_0xfc29x18[_0xa1fe[57]](_0xa1fe[1239],_0xfc29x14);null!=_0xfc29x15&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[1334],_0xfc29x15?_0xa1fe[500]:_0xa1fe[468]);null!=_0xfc29x16&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[1335],_0xfc29x16?_0xa1fe[500]:_0xa1fe[468]);null!=_0xfc29x17&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[603],_0xfc29x17);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x18)}};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1336]]=function(){this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[1336]))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1334]]=function(){this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[1334]))};mxXmlCanvas2D[_0xa1fe[202]][_0xa1fe[1337]]=function(){this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[55]](_0xa1fe[1338]))};function mxSvgCanvas2D(_0xfc29x2,_0xfc29x3){mxAbstractCanvas2D[_0xa1fe[239]](this);this[_0xa1fe[813]]=_0xfc29x2;this[_0xa1fe[1339]]=[];this[_0xa1fe[1340]]=null;this[_0xa1fe[1341]]=null!=_0xfc29x3?_0xfc29x3:!1;var _0xfc29x4=null;if(_0xfc29x2[_0xa1fe[295]]!=document){for(_0xfc29x4=_0xfc29x2;null!=_0xfc29x4&&_0xa1fe[571]!=_0xfc29x4[_0xa1fe[301]];){_0xfc29x4=_0xfc29x4[_0xa1fe[265]]}};null!=_0xfc29x4&&(0<_0xfc29x4[_0xa1fe[64]](_0xa1fe[1340])[_0xa1fe[67]]&&(this[_0xa1fe[1340]]=_0xfc29x4[_0xa1fe[64]](_0xa1fe[1340])[0]),null==this[_0xa1fe[1340]]&&(this[_0xa1fe[1340]]=this[_0xa1fe[55]](_0xa1fe[1340]),null!=_0xfc29x4[_0xa1fe[285]]?_0xfc29x4[_0xa1fe[950]](this[_0xa1fe[1340]],_0xfc29x4[_0xa1fe[285]]):_0xfc29x4[_0xa1fe[62]](this[_0xa1fe[1340]])),this[_0xa1fe[1341]]&&this[_0xa1fe[1340]][_0xa1fe[62]](this[_0xa1fe[1342]]()))}mxUtils[_0xa1fe[1284]](mxSvgCanvas2D,mxAbstractCanvas2D);mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[252]]=null;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1343]]= !0;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1285]]= !0;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1344]]= !0;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1345]]=0;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1346]]=0;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1347]]= !1;mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[862]]=function(){mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[862]][_0xa1fe[183]](this,arguments);this[_0xa1fe[1339]]=[]};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1342]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[55]](_0xa1fe[124]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[60],_0xa1fe[61]);mxUtils[_0xa1fe[53]](_0xfc29x2,_0xa1fe[1348]+mxConstants[_0xa1fe[484]]+_0xa1fe[1349]+mxConstants[_0xa1fe[483]]+_0xa1fe[1350]);return _0xfc29x2};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[55]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[813]][_0xa1fe[295]][_0xa1fe[509]]){return this[_0xa1fe[813]][_0xa1fe[295]][_0xa1fe[509]](_0xfc29x3||mxConstants[_0xa1fe[1351]],_0xfc29x2)};var _0xfc29x4=this[_0xa1fe[813]][_0xa1fe[295]][_0xa1fe[55]](_0xfc29x2);null!=_0xfc29x3&&_0xfc29x4[_0xa1fe[57]](_0xa1fe[1352],_0xfc29x3);return _0xfc29x4};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1353]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xa1fe[198]==_0xfc29x2[_0xa1fe[225]](0)&&(_0xfc29x2=_0xfc29x2[_0xa1fe[85]](1));_0xa1fe[198]==_0xfc29x3[_0xa1fe[225]](0)&&(_0xfc29x3=_0xfc29x3[_0xa1fe[85]](1));_0xfc29x2=_0xfc29x2[_0xa1fe[216]]()+_0xa1fe[213]+_0xfc29x4;_0xfc29x3=_0xfc29x3[_0xa1fe[216]]()+_0xa1fe[213]+_0xfc29x5;_0xfc29x4=null;null==_0xfc29x9||_0xfc29x9==mxConstants[_0xa1fe[1354]]?_0xfc29x4=_0xa1fe[1355]:_0xfc29x9==mxConstants[_0xa1fe[1356]]?_0xfc29x4=_0xa1fe[1357]:(_0xfc29x5=_0xfc29x2,_0xfc29x2=_0xfc29x3,_0xfc29x3=_0xfc29x5,_0xfc29x9==mxConstants[_0xa1fe[1358]]?_0xfc29x4=_0xa1fe[1355]:_0xfc29x9==mxConstants[_0xa1fe[1359]]&&(_0xfc29x4=_0xa1fe[1357]));return _0xa1fe[1360]+_0xfc29x2+_0xa1fe[213]+_0xfc29x3+_0xa1fe[213]+_0xfc29x4};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1361]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=this[_0xa1fe[1353]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x12=this[_0xa1fe[1339]][_0xfc29xa];if(null==_0xfc29x12){var _0xfc29x13=this[_0xa1fe[813]][_0xa1fe[538]],_0xfc29x14=0,_0xfc29x15=_0xfc29xa+_0xa1fe[213]+_0xfc29x14;if(null!=_0xfc29x13){for(_0xfc29x12=_0xfc29x13[_0xa1fe[295]][_0xa1fe[1362]](_0xfc29x15);null!=_0xfc29x12&&_0xfc29x12[_0xa1fe[538]]!=_0xfc29x13;){_0xfc29x15=_0xfc29xa+_0xa1fe[213]+_0xfc29x14++,_0xfc29x12=_0xfc29x13[_0xa1fe[295]][_0xa1fe[1362]](_0xfc29x15)}}else {_0xfc29x15=_0xa1fe[1363]+++this[_0xa1fe[1346]]};null==_0xfc29x12&&(_0xfc29x12=this[_0xa1fe[1364]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x12[_0xa1fe[57]](_0xa1fe[1363],_0xfc29x15),null!=this[_0xa1fe[1340]]?this[_0xa1fe[1340]][_0xa1fe[62]](_0xfc29x12):_0xfc29x13[_0xa1fe[62]](_0xfc29x12));this[_0xa1fe[1339]][_0xfc29xa]=_0xfc29x12};return _0xfc29x12[_0xa1fe[284]](_0xa1fe[1363])};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1364]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=this[_0xa1fe[55]](_0xa1fe[1365]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1324],_0xa1fe[1366]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1325],_0xa1fe[1366]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1326],_0xa1fe[1366]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1327],_0xa1fe[1366]);null==_0xfc29x9||_0xfc29x9==mxConstants[_0xa1fe[1354]]?_0xfc29xa[_0xa1fe[57]](_0xa1fe[1327],_0xa1fe[118]):_0xfc29x9==mxConstants[_0xa1fe[1356]]?_0xfc29xa[_0xa1fe[57]](_0xa1fe[1326],_0xa1fe[118]):_0xfc29x9==mxConstants[_0xa1fe[1358]]?_0xfc29xa[_0xa1fe[57]](_0xa1fe[1325],_0xa1fe[118]):_0xfc29x9==mxConstants[_0xa1fe[1359]]&&_0xfc29xa[_0xa1fe[57]](_0xa1fe[1324],_0xa1fe[118]);_0xfc29x4=1>_0xfc29x4?_0xa1fe[1367]+_0xfc29x4:_0xa1fe[110];_0xfc29x9=this[_0xa1fe[55]](_0xa1fe[1076]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[1368],_0xa1fe[1366]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[124],_0xa1fe[1369]+_0xfc29x2+_0xfc29x4);_0xfc29xa[_0xa1fe[62]](_0xfc29x9);_0xfc29x4=1>_0xfc29x5?_0xa1fe[1367]+_0xfc29x5:_0xa1fe[110];_0xfc29x9=this[_0xa1fe[55]](_0xa1fe[1076]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[1368],_0xa1fe[118]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[124],_0xa1fe[1369]+_0xfc29x3+_0xfc29x4);_0xfc29xa[_0xa1fe[62]](_0xfc29x9);return _0xfc29xa};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1370]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[252]],_0xfc29x5=this[_0xa1fe[724]];if(null!=_0xfc29x4){if(_0xa1fe[1215]==_0xfc29x4[_0xa1fe[301]]){if(null!=this[_0xa1fe[1215]]&&0<this[_0xa1fe[1215]][_0xa1fe[67]]){_0xfc29x4[_0xa1fe[57]](_0xa1fe[1371],this[_0xa1fe[1215]][_0xa1fe[234]](_0xa1fe[185]))}else {return}};_0xfc29x2&&null!=_0xfc29x5[_0xa1fe[604]]?this[_0xa1fe[1372]]():this[_0xa1fe[1341]]||(_0xa1fe[680]==_0xfc29x4[_0xa1fe[301]]&&mxClient[_0xa1fe[133]]&&!mxClient[_0xa1fe[76]]&&!mxClient[_0xa1fe[75]]?_0xfc29x4[_0xa1fe[57]](_0xa1fe[1334],_0xa1fe[1373]):_0xfc29x4[_0xa1fe[57]](_0xa1fe[1334],_0xa1fe[130]),_0xfc29x2= !1);_0xfc29x3&&null!=_0xfc29x5[_0xa1fe[608]]?this[_0xa1fe[1374]]():this[_0xa1fe[1341]]||_0xfc29x4[_0xa1fe[57]](_0xa1fe[1336],_0xa1fe[130]);null!=_0xfc29x5[_0xa1fe[535]]&&0<_0xfc29x5[_0xa1fe[535]][_0xa1fe[67]]&&_0xfc29x4[_0xa1fe[57]](_0xa1fe[535],_0xfc29x5[_0xa1fe[535]]);_0xfc29x5[_0xa1fe[639]]&&this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[1375]](_0xfc29x4));0<this[_0xa1fe[1345]]&&!_0xfc29x2&&this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[1376]](_0xfc29x4));this[_0xa1fe[1229]]&&(_0xa1fe[1215]!=_0xfc29x4[_0xa1fe[301]]||this[_0xa1fe[1215]][this[_0xa1fe[1215]][_0xa1fe[67]]-1]==this[_0xa1fe[1227]])&&_0xfc29x4[_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[1378]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4)}};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1372]]=function(){var _0xfc29x2=this[_0xa1fe[724]];1>_0xfc29x2[_0xa1fe[1244]]&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1379],_0xfc29x2[_0xa1fe[1244]]);null!=_0xfc29x2[_0xa1fe[604]]&&(null!=_0xfc29x2[_0xa1fe[606]]?(_0xfc29x2=this[_0xa1fe[1361]](_0xfc29x2[_0xa1fe[604]],_0xfc29x2[_0xa1fe[606]],_0xfc29x2[_0xa1fe[1247]],_0xfc29x2[_0xa1fe[1248]],_0xfc29x2[_0xa1fe[607]]),this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1334],_0xa1fe[1380]+_0xfc29x2+_0xa1fe[460])):this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1334],_0xfc29x2[_0xa1fe[604]][_0xa1fe[216]]()))};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1374]]=function(){var _0xfc29x2=this[_0xa1fe[724]];this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1336],_0xfc29x2[_0xa1fe[608]][_0xa1fe[216]]());1>_0xfc29x2[_0xa1fe[1244]]&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1381],_0xfc29x2[_0xa1fe[1244]]);var _0xfc29x3=Math[_0xa1fe[160]](1,this[_0xa1fe[1239]](_0xfc29x2[_0xa1fe[610]]*_0xfc29x2[_0xa1fe[255]]));1!=_0xfc29x3&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1382],_0xfc29x3);_0xa1fe[1215]==this[_0xa1fe[252]][_0xa1fe[301]]&&this[_0xa1fe[1383]]();_0xfc29x2[_0xa1fe[648]]&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1384],this[_0xa1fe[1385]](_0xfc29x3))};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1383]]=function(){var _0xfc29x2=this[_0xa1fe[724]];null!=_0xfc29x2[_0xa1fe[1256]]&&_0xa1fe[1233]!=_0xfc29x2[_0xa1fe[1256]]&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1386],_0xfc29x2[_0xa1fe[1256]]);if(null!=_0xfc29x2[_0xa1fe[1254]]){var _0xfc29x3=_0xfc29x2[_0xa1fe[1254]];_0xa1fe[1232]==_0xfc29x3&&(_0xfc29x3=_0xa1fe[1387]);_0xa1fe[1387]!=_0xfc29x3&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1388],_0xfc29x3)};null!=_0xfc29x2[_0xa1fe[1258]]&&(!this[_0xa1fe[1341]]||10!=_0xfc29x2[_0xa1fe[1258]])&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1389],_0xfc29x2[_0xa1fe[1258]])};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1385]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[724]][_0xa1fe[649]][_0xa1fe[224]](_0xa1fe[185]),_0xfc29x4=[];if(0<_0xfc29x3[_0xa1fe[67]]){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){_0xfc29x4[_0xfc29x5]=Number(_0xfc29x3[_0xfc29x5])*_0xfc29x2}};return _0xfc29x4[_0xa1fe[234]](_0xa1fe[185])};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1376]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[511]](!0);var _0xfc29x3=parseFloat(_0xfc29x2[_0xa1fe[284]](_0xa1fe[1382])||1)+this[_0xa1fe[1345]];_0xfc29x2[_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[1336]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[187],_0xa1fe[188]);_0xfc29x2[_0xa1fe[1390]](_0xa1fe[1384]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1382],_0xfc29x3);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1334],_0xa1fe[130]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1336],mxClient[_0xa1fe[71]]?_0xa1fe[130]:_0xa1fe[1391]);return _0xfc29x2};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1375]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[511]](!0);var _0xfc29x3=this[_0xa1fe[724]];_0xa1fe[130]!=_0xfc29x2[_0xa1fe[284]](_0xa1fe[1334])&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1334],_0xfc29x3[_0xa1fe[1269]]);_0xa1fe[130]!=_0xfc29x2[_0xa1fe[284]](_0xa1fe[1336])&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1336],_0xfc29x3[_0xa1fe[1269]]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+this[_0xa1fe[1239]](_0xfc29x3[_0xa1fe[1273]]*_0xfc29x3[_0xa1fe[255]])+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x3[_0xa1fe[1274]]*_0xfc29x3[_0xa1fe[255]])+_0xa1fe[460]+(_0xfc29x3[_0xa1fe[535]]||_0xa1fe[110]));_0xfc29x2[_0xa1fe[57]](_0xa1fe[461],_0xfc29x3[_0xa1fe[1271]]);return _0xfc29x2};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1294]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(0!=_0xfc29x2||_0xfc29x3||_0xfc29x4){var _0xfc29xa=this[_0xa1fe[724]];_0xfc29x5+=_0xfc29xa[_0xa1fe[1126]];_0xfc29x9+=_0xfc29xa[_0xa1fe[1125]];_0xfc29x5*=_0xfc29xa[_0xa1fe[255]];_0xfc29x9*=_0xfc29xa[_0xa1fe[255]];_0xfc29xa[_0xa1fe[535]]=_0xfc29xa[_0xa1fe[535]]||_0xa1fe[110];if(_0xfc29x3&&_0xfc29x4){_0xfc29x2+=180}else {if(_0xfc29x3^_0xfc29x4){var _0xfc29x12=_0xfc29x3?_0xfc29x5:0,_0xfc29x13=_0xfc29x3?-1:1,_0xfc29x14=_0xfc29x4?_0xfc29x9:0,_0xfc29x15=_0xfc29x4?-1:1;_0xfc29xa[_0xa1fe[535]]+=_0xa1fe[536]+this[_0xa1fe[1239]](_0xfc29x12)+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x14)+_0xa1fe[1392]+this[_0xa1fe[1239]](_0xfc29x13)+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x15)+_0xa1fe[1393]+this[_0xa1fe[1239]](-_0xfc29x12)+_0xa1fe[537]+this[_0xa1fe[1239]](-_0xfc29x14)+_0xa1fe[460]}};if(_0xfc29x3?!_0xfc29x4:_0xfc29x4){_0xfc29x2*= -1};0!=_0xfc29x2&&(_0xfc29xa[_0xa1fe[535]]+=_0xa1fe[1394]+this[_0xa1fe[1239]](_0xfc29x2)+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x5)+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x9)+_0xa1fe[460]);_0xfc29xa[_0xa1fe[603]]+=_0xfc29x2;_0xfc29xa[_0xa1fe[1395]]=_0xfc29x5;_0xfc29xa[_0xa1fe[1396]]=_0xfc29x9}};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1275]]=function(){mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1275]][_0xa1fe[183]](this,arguments);this[_0xa1fe[252]]=this[_0xa1fe[55]](_0xa1fe[1215])};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1319]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[724]],_0xfc29xa=this[_0xa1fe[55]](_0xa1fe[1319]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]]((_0xfc29x2+_0xfc29x9[_0xa1fe[1126]])*_0xfc29x9[_0xa1fe[255]]));_0xfc29xa[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]]((_0xfc29x3+_0xfc29x9[_0xa1fe[1125]])*_0xfc29x9[_0xa1fe[255]]));_0xfc29xa[_0xa1fe[57]](_0xa1fe[117],this[_0xa1fe[1239]](_0xfc29x4*_0xfc29x9[_0xa1fe[255]]));_0xfc29xa[_0xa1fe[57]](_0xa1fe[119],this[_0xa1fe[1239]](_0xfc29x5*_0xfc29x9[_0xa1fe[255]]));this[_0xa1fe[252]]=_0xfc29xa};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1320]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1319]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);0<_0xfc29x9&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1397],this[_0xa1fe[1239]](_0xfc29x9*this[_0xa1fe[724]][_0xa1fe[255]]));0<_0xfc29xa&&this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1398],this[_0xa1fe[1239]](_0xfc29xa*this[_0xa1fe[724]][_0xa1fe[255]]))};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[680]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[724]],_0xfc29xa=this[_0xa1fe[55]](_0xa1fe[680]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1296],Math[_0xa1fe[488]]((_0xfc29x2+_0xfc29x4/2+_0xfc29x9[_0xa1fe[1126]])*_0xfc29x9[_0xa1fe[255]]));_0xfc29xa[_0xa1fe[57]](_0xa1fe[1297],Math[_0xa1fe[488]]((_0xfc29x3+_0xfc29x5/2+_0xfc29x9[_0xa1fe[1125]])*_0xfc29x9[_0xa1fe[255]]));_0xfc29xa[_0xa1fe[57]](_0xa1fe[1397],_0xfc29x4/2*_0xfc29x9[_0xa1fe[255]]);_0xfc29xa[_0xa1fe[57]](_0xa1fe[1398],_0xfc29x5/2*_0xfc29x9[_0xa1fe[255]]);this[_0xa1fe[252]]=_0xfc29xa};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[618]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){_0xfc29x9=this[_0xa1fe[1212]][_0xa1fe[1321]](_0xfc29x9);_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:!0;_0xfc29x12=null!=_0xfc29x12?_0xfc29x12:!1;_0xfc29x13=null!=_0xfc29x13?_0xfc29x13:!1;var _0xfc29x14=this[_0xa1fe[724]];_0xfc29x2+=_0xfc29x14[_0xa1fe[1126]];_0xfc29x3+=_0xfc29x14[_0xa1fe[1125]];var _0xfc29x15=this[_0xa1fe[55]](_0xa1fe[618]);_0xfc29x15[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2*_0xfc29x14[_0xa1fe[255]]));_0xfc29x15[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3*_0xfc29x14[_0xa1fe[255]]));_0xfc29x15[_0xa1fe[57]](_0xa1fe[117],this[_0xa1fe[1239]](_0xfc29x4*_0xfc29x14[_0xa1fe[255]]));_0xfc29x15[_0xa1fe[57]](_0xa1fe[119],this[_0xa1fe[1239]](_0xfc29x5*_0xfc29x14[_0xa1fe[255]]));null==_0xfc29x15[_0xa1fe[1399]]?_0xfc29x15[_0xa1fe[57]](_0xa1fe[1400],_0xfc29x9):_0xfc29x15[_0xa1fe[1399]](mxConstants.NS_XLINK,_0xa1fe[44],_0xfc29x9);_0xfc29xa||_0xfc29x15[_0xa1fe[57]](_0xa1fe[1401],_0xa1fe[130]);1>_0xfc29x14[_0xa1fe[1244]]&&_0xfc29x15[_0xa1fe[57]](_0xa1fe[461],_0xfc29x14[_0xa1fe[1244]]);_0xfc29x9=this[_0xa1fe[724]][_0xa1fe[535]]||_0xa1fe[110];if(_0xfc29x12||_0xfc29x13){var _0xfc29x16=_0xfc29xa=1,_0xfc29x17=0,_0xfc29x18=0;_0xfc29x12&&(_0xfc29xa= -1,_0xfc29x17=-_0xfc29x4-2*_0xfc29x2);_0xfc29x13&&(_0xfc29x16= -1,_0xfc29x18=-_0xfc29x5-2*_0xfc29x3);_0xfc29x9+=_0xa1fe[1402]+_0xfc29xa+_0xa1fe[537]+_0xfc29x16+_0xa1fe[1393]+_0xfc29x17+_0xa1fe[537]+_0xfc29x18+_0xa1fe[460]};0<_0xfc29x9[_0xa1fe[67]]&&_0xfc29x15[_0xa1fe[57]](_0xa1fe[535],_0xfc29x9);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x15);this[_0xa1fe[1347]]&&(_0xfc29x15[_0xa1fe[57]](_0xa1fe[124],_0xa1fe[1403]),_0xfc29x15=this[_0xa1fe[55]](_0xa1fe[1319]),_0xfc29x15[_0xa1fe[57]](_0xa1fe[187],_0xa1fe[188]),_0xfc29x15[_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[1334]),_0xfc29x15[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2*_0xfc29x14[_0xa1fe[255]])),_0xfc29x15[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x3*_0xfc29x14[_0xa1fe[255]])),_0xfc29x15[_0xa1fe[57]](_0xa1fe[117],this[_0xa1fe[1239]](_0xfc29x4*_0xfc29x14[_0xa1fe[255]])),_0xfc29x15[_0xa1fe[57]](_0xa1fe[119],this[_0xa1fe[1239]](_0xfc29x5*_0xfc29x14[_0xa1fe[255]])),this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x15))};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1404]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x4=this[_0xa1fe[724]];_0xfc29x5=_0xa1fe[1405]+Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[487]])+_0xa1fe[1406]+_0xfc29x4[_0xa1fe[486]]+_0xa1fe[1407]+_0xfc29x4[_0xa1fe[665]]+_0xa1fe[1408]+Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[487]]*mxConstants[_0xa1fe[490]])+_0xa1fe[1409]+_0xfc29x5;(_0xfc29x4[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]&&(_0xfc29x5+=_0xa1fe[1411]);(_0xfc29x4[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]&&(_0xfc29x5+=_0xa1fe[1413]);(_0xfc29x4[_0xa1fe[666]]&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]]&&(_0xfc29x5+=_0xa1fe[1415]);_0xfc29x3==mxConstants[_0xa1fe[479]]?_0xfc29x5+=_0xa1fe[1416]:_0xfc29x3==mxConstants[_0xa1fe[480]]&&(_0xfc29x5+=_0xa1fe[1417]);_0xfc29x3=_0xa1fe[110];null!=_0xfc29x4[_0xa1fe[1261]]&&(_0xfc29x3+=_0xa1fe[1418]+_0xfc29x4[_0xa1fe[1261]]+_0xa1fe[471]);null!=_0xfc29x4[_0xa1fe[1263]]&&(_0xfc29x3+=_0xa1fe[1419]+_0xfc29x4[_0xa1fe[1263]]+_0xa1fe[471]);mxUtils[_0xa1fe[1331]](_0xfc29x2)||(_0xfc29x4=document[_0xa1fe[55]](_0xa1fe[126]),_0xfc29x4[_0xa1fe[339]]=_0xfc29x2[_0xa1fe[230]](/</g,_0xa1fe[1421])[_0xa1fe[230]](/>/g,_0xa1fe[1420])[_0xa1fe[230]](/</g,_0xa1fe[334])[_0xa1fe[230]](/>/g,_0xa1fe[335]),_0xfc29x2=_0xfc29x4[_0xa1fe[131]],_0xfc29x9?_0xfc29x5+=_0xfc29x3:0<_0xfc29x3[_0xa1fe[67]]&&(_0xfc29x2=_0xa1fe[1422]+_0xfc29x3+_0xa1fe[1423]+_0xfc29x2+_0xa1fe[1424]));if(!mxClient[_0xa1fe[80]]&&document[_0xa1fe[509]]){return _0xfc29x9=document[_0xa1fe[509]](_0xa1fe[577],_0xa1fe[485]),_0xfc29x9[_0xa1fe[57]](_0xa1fe[124],_0xfc29x5),mxUtils[_0xa1fe[1331]](_0xfc29x2)?this[_0xa1fe[813]][_0xa1fe[295]]!=document?_0xfc29x9[_0xa1fe[62]](_0xfc29x2[_0xa1fe[511]](!0)):_0xfc29x9[_0xa1fe[62]](_0xfc29x2):_0xfc29x9[_0xa1fe[339]]=_0xfc29x2,_0xfc29x9};mxUtils[_0xa1fe[1331]](_0xfc29x2)&&this[_0xa1fe[813]][_0xa1fe[295]]!=document&&(_0xfc29x2=_0xfc29x2[_0xa1fe[342]]);_0xfc29x2=_0xfc29x2[_0xa1fe[230]](/<br>/g,_0xa1fe[1426])[_0xa1fe[230]](/<hr>/g,_0xa1fe[1425]);return mxUtils[_0xa1fe[877]](_0xa1fe[1427]+_0xfc29x5+_0xa1fe[1423]+_0xfc29x2+_0xa1fe[1424])[_0xa1fe[158]]};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[963]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){if(this[_0xa1fe[1285]]&&null!=_0xfc29x9){_0xfc29x17=null!=_0xfc29x17?_0xfc29x17:0;var _0xfc29x18=this[_0xa1fe[724]];_0xfc29x2+=_0xfc29x18[_0xa1fe[1126]];_0xfc29x3+=_0xfc29x18[_0xa1fe[1125]];if(this[_0xa1fe[1344]]&&_0xa1fe[1428]==_0xfc29x14){var _0xfc29x19=_0xa1fe[1429];_0xfc29x16?(_0xfc29x19+=_0xa1fe[1430],0<_0xfc29x5&&(_0xfc29x19+=_0xa1fe[1431]+Math[_0xa1fe[488]](_0xfc29x5)+_0xa1fe[1409]),0<_0xfc29x4&&(_0xfc29x19+=_0xa1fe[1432]+Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[1409])):_0xfc29x15&&(_0xfc29x19+=_0xa1fe[1432]+Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[1409],0<_0xfc29x5&&(_0xfc29x19+=_0xa1fe[1431]+Math[_0xa1fe[488]](_0xfc29x5)+_0xa1fe[1409]));_0xfc29x13?(!_0xfc29x16&&0<_0xfc29x4&&(_0xfc29x19+=_0xa1fe[1432]+Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[1409]),_0xfc29x19+=_0xa1fe[1433]):_0xfc29x19+=_0xa1fe[1434];_0xfc29x13=this[_0xa1fe[55]](_0xa1fe[449]);1>_0xfc29x18[_0xa1fe[1244]]&&_0xfc29x13[_0xa1fe[57]](_0xa1fe[461],_0xfc29x18[_0xa1fe[1244]]);_0xfc29x14=this[_0xa1fe[55]](_0xa1fe[1435]);_0xfc29x14[_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[1378]);_0xfc29x19=this[_0xa1fe[1404]](_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x19,_0xfc29x15);if(null!=_0xfc29x19){_0xfc29x13[_0xa1fe[62]](_0xfc29x14);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x13);var _0xfc29x1a=0;if(mxClient[_0xa1fe[80]]&&!mxClient[_0xa1fe[48]]){var _0xfc29x1b=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x1b[_0xa1fe[124]][_0xa1fe[103]]=_0xfc29x19[_0xa1fe[284]](_0xa1fe[124]);_0xfc29x1b[_0xa1fe[124]][_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498];_0xfc29x1b[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];_0xfc29x1b[_0xa1fe[339]]=mxUtils[_0xa1fe[1331]](_0xfc29x9)?_0xfc29x9[_0xa1fe[342]]:_0xfc29x9;document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x1b);_0xfc29x1a=_0xfc29x1b[_0xa1fe[359]];_0xfc29x5=mxClient[_0xa1fe[496]]&&0<_0xfc29x5&&_0xfc29x16?Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x1b[_0xa1fe[167]]+2):_0xfc29x1b[_0xa1fe[167]];_0xfc29x1b[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x1b);_0xfc29x14[_0xa1fe[62]](_0xfc29x19)}else {this[_0xa1fe[813]][_0xa1fe[295]]!=document?(_0xfc29x19[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x19),_0xfc29x1a=_0xfc29x19[_0xa1fe[359]],_0xfc29x5=_0xfc29x19[_0xa1fe[167]],_0xfc29x14[_0xa1fe[62]](_0xfc29x19),_0xfc29x19[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110]):(_0xfc29x14[_0xa1fe[62]](_0xfc29x19),_0xfc29x1a=_0xfc29x19[_0xa1fe[359]],_0xfc29x5=_0xfc29x19[_0xa1fe[167]])};_0xfc29x4=_0xfc29x15?Math[_0xa1fe[160]](_0xfc29x4,_0xfc29x1a):_0xfc29x1a;1>_0xfc29x18[_0xa1fe[1244]]&&_0xfc29x13[_0xa1fe[57]](_0xa1fe[461],_0xfc29x18[_0xa1fe[1244]]);_0xfc29x15=_0xfc29x9=0;_0xfc29xa==mxConstants[_0xa1fe[479]]?_0xfc29x9-=_0xfc29x4/2:_0xfc29xa==mxConstants[_0xa1fe[480]]&&(_0xfc29x9-=_0xfc29x4);_0xfc29x2+=_0xfc29x9;_0xfc29x12==mxConstants[_0xa1fe[481]]?_0xfc29x15-=_0xfc29x5/2:_0xfc29x12==mxConstants[_0xa1fe[482]]&&(_0xfc29x15-=_0xfc29x5);_0xfc29x3+=_0xfc29x15;_0xfc29xa=1!=_0xfc29x18[_0xa1fe[255]]?_0xa1fe[1402]+_0xfc29x18[_0xa1fe[255]]+_0xa1fe[460]:_0xa1fe[110];0!=_0xfc29x18[_0xa1fe[603]]&&this[_0xa1fe[1216]]?(_0xfc29xa+=_0xa1fe[1394]+_0xfc29x18[_0xa1fe[603]]+_0xa1fe[537]+_0xfc29x4/2+_0xa1fe[537]+_0xfc29x5/2+_0xa1fe[460],_0xfc29x3=this[_0xa1fe[1241]]((_0xfc29x2+_0xfc29x4/2)*_0xfc29x18[_0xa1fe[255]],(_0xfc29x3+_0xfc29x5/2)*_0xfc29x18[_0xa1fe[255]],_0xfc29x18[_0xa1fe[603]],_0xfc29x18[_0xa1fe[1395]],_0xfc29x18[_0xa1fe[1396]]),_0xfc29x2=_0xfc29x3[_0xa1fe[235]]-_0xfc29x4*_0xfc29x18[_0xa1fe[255]]/2,_0xfc29x3=_0xfc29x3[_0xa1fe[236]]-_0xfc29x5*_0xfc29x18[_0xa1fe[255]]/2):(_0xfc29x2*=_0xfc29x18[_0xa1fe[255]],_0xfc29x3*=_0xfc29x18[_0xa1fe[255]]);0!=_0xfc29x17&&(_0xfc29xa+=_0xa1fe[1394]+_0xfc29x17+_0xa1fe[537]+-_0xfc29x9+_0xa1fe[537]+-_0xfc29x15+_0xa1fe[460]);_0xfc29x13[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+Math[_0xa1fe[488]](_0xfc29x2)+_0xa1fe[537]+Math[_0xa1fe[488]](_0xfc29x3)+_0xa1fe[460]+_0xfc29xa);_0xfc29x14[_0xa1fe[57]](_0xa1fe[117],Math[_0xa1fe[488]](Math[_0xa1fe[160]](1,_0xfc29x4)));_0xfc29x14[_0xa1fe[57]](_0xa1fe[119],Math[_0xa1fe[488]](Math[_0xa1fe[160]](1,_0xfc29x5)))}}else {this[_0xa1fe[1436]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x15,_0xfc29x16,_0xfc29x17)}}};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1437]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x2=Math[_0xa1fe[488]](_0xfc29x2);_0xfc29x3=Math[_0xa1fe[488]](_0xfc29x3);_0xfc29x4=Math[_0xa1fe[488]](_0xfc29x4);_0xfc29x5=Math[_0xa1fe[488]](_0xfc29x5);for(var _0xfc29x9=_0xa1fe[1438]+_0xfc29x2+_0xa1fe[213]+_0xfc29x3+_0xa1fe[213]+_0xfc29x4+_0xa1fe[213]+_0xfc29x5,_0xfc29xa=0,_0xfc29x12=_0xfc29x9+_0xa1fe[213]+_0xfc29xa;null!=document[_0xa1fe[1362]](_0xfc29x12);){_0xfc29x12=_0xfc29x9+_0xa1fe[213]+ ++_0xfc29xa};clip=this[_0xa1fe[55]](_0xa1fe[1439]);clip[_0xa1fe[57]](_0xa1fe[1363],_0xfc29x12);_0xfc29x9=this[_0xa1fe[55]](_0xa1fe[1319]);_0xfc29x9[_0xa1fe[57]](_0xa1fe[235],_0xfc29x2);_0xfc29x9[_0xa1fe[57]](_0xa1fe[236],_0xfc29x3);_0xfc29x9[_0xa1fe[57]](_0xa1fe[117],_0xfc29x4);_0xfc29x9[_0xa1fe[57]](_0xa1fe[119],_0xfc29x5);clip[_0xa1fe[62]](_0xfc29x9);return clip};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1436]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16){_0xfc29x16=null!=_0xfc29x16?_0xfc29x16:0;_0xfc29x13=this[_0xa1fe[724]];var _0xfc29x17=Math[_0xa1fe[488]](_0xfc29x13[_0xa1fe[487]]),_0xfc29x18=this[_0xa1fe[55]](_0xa1fe[449]),_0xfc29x19=_0xfc29x13[_0xa1fe[535]]||_0xa1fe[110];0!=_0xfc29x16&&(_0xfc29x19+=_0xa1fe[1394]+_0xfc29x16+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x2*_0xfc29x13[_0xa1fe[255]])+_0xa1fe[537]+this[_0xa1fe[1239]](_0xfc29x3*_0xfc29x13[_0xa1fe[255]])+_0xa1fe[460]);if(_0xfc29x15&&0<_0xfc29x4&&0<_0xfc29x5){var _0xfc29x1a=_0xfc29x2;_0xfc29x16=_0xfc29x3;_0xfc29xa==mxConstants[_0xa1fe[479]]?_0xfc29x1a-=_0xfc29x4/2:_0xfc29xa==mxConstants[_0xa1fe[480]]&&(_0xfc29x1a-=_0xfc29x4);_0xfc29x12==mxConstants[_0xa1fe[481]]?_0xfc29x16-=_0xfc29x5/2:_0xfc29x12==mxConstants[_0xa1fe[482]]&&(_0xfc29x16-=_0xfc29x5);_0xfc29x16=this[_0xa1fe[1437]](_0xfc29x1a*_0xfc29x13[_0xa1fe[255]]-2,_0xfc29x16*_0xfc29x13[_0xa1fe[255]]-2,_0xfc29x4*_0xfc29x13[_0xa1fe[255]]+4,_0xfc29x5*_0xfc29x13[_0xa1fe[255]]+4);null!=this[_0xa1fe[1340]]?this[_0xa1fe[1340]][_0xa1fe[62]](_0xfc29x16):this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x16);_0xfc29x18[_0xa1fe[57]](_0xa1fe[1440],_0xa1fe[1380]+_0xfc29x16[_0xa1fe[284]](_0xa1fe[1363])+_0xa1fe[460])};this[_0xa1fe[1441]](_0xfc29x18,_0xfc29xa);_0xfc29x16=_0xfc29xa==mxConstants[_0xa1fe[480]]?_0xa1fe[1282]:_0xfc29xa==mxConstants[_0xa1fe[479]]?_0xa1fe[554]:_0xa1fe[861];_0xa1fe[861]!=_0xfc29x16&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[1442],_0xfc29x16);(!this[_0xa1fe[1341]]||_0xfc29x17!=mxConstants[_0xa1fe[483]])&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[1443],Math[_0xa1fe[488]](_0xfc29x17*_0xfc29x13[_0xa1fe[255]])+_0xa1fe[168]);0<_0xfc29x19[_0xa1fe[67]]&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[535],_0xfc29x19);1>_0xfc29x13[_0xa1fe[1244]]&&_0xfc29x18[_0xa1fe[57]](_0xa1fe[461],_0xfc29x13[_0xa1fe[1244]]);var _0xfc29x19=_0xfc29x9[_0xa1fe[224]](_0xa1fe[192]),_0xfc29x1a=Math[_0xa1fe[488]](_0xfc29x17*mxConstants[_0xa1fe[490]]),_0xfc29x1b=_0xfc29x17+(_0xfc29x19[_0xa1fe[67]]-1)*_0xfc29x1a;_0xfc29x16=_0xfc29x3+_0xfc29x17-1;_0xfc29x12==mxConstants[_0xa1fe[481]]?(_0xfc29x5=(this[_0xa1fe[1343]]&&_0xfc29x15&&0<_0xfc29x5?Math[_0xa1fe[243]](_0xfc29x1b,_0xfc29x5):_0xfc29x1b)/2,_0xfc29x16-=_0xfc29x5+1):_0xfc29x12==mxConstants[_0xa1fe[482]]&&(_0xfc29x5=this[_0xa1fe[1343]]&&_0xfc29x15&&0<_0xfc29x5?Math[_0xa1fe[243]](_0xfc29x1b,_0xfc29x5):_0xfc29x1b,_0xfc29x16-=_0xfc29x5+2);for(_0xfc29x5=0;_0xfc29x5<_0xfc29x19[_0xa1fe[67]];_0xfc29x5++){0<_0xfc29x19[_0xfc29x5][_0xa1fe[67]]&&0<mxUtils[_0xa1fe[330]](_0xfc29x19[_0xfc29x5])[_0xa1fe[67]]&&(_0xfc29x15=this[_0xa1fe[55]](_0xa1fe[963]),_0xfc29x15[_0xa1fe[57]](_0xa1fe[235],this[_0xa1fe[1239]](_0xfc29x2*_0xfc29x13[_0xa1fe[255]])),_0xfc29x15[_0xa1fe[57]](_0xa1fe[236],this[_0xa1fe[1239]](_0xfc29x16*_0xfc29x13[_0xa1fe[255]])),mxUtils[_0xa1fe[53]](_0xfc29x15,_0xfc29x19[_0xfc29x5]),_0xfc29x18[_0xa1fe[62]](_0xfc29x15)),_0xfc29x16+=_0xfc29x1a};this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x18);this[_0xa1fe[1444]](_0xfc29x18,_0xfc29x9,_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x1b,_0xfc29xa,_0xfc29x12,_0xfc29x14)};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1441]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[724]];_0xfc29x2[_0xa1fe[57]](_0xa1fe[1334],_0xfc29x3[_0xa1fe[665]]);(!this[_0xa1fe[1341]]||_0xfc29x3[_0xa1fe[486]]!=mxConstants[_0xa1fe[484]])&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1445],_0xfc29x3[_0xa1fe[486]]);(_0xfc29x3[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1446],_0xa1fe[1447]);(_0xfc29x3[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1448],_0xa1fe[1449]);(_0xfc29x3[_0xa1fe[666]]&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]]&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[1450],_0xa1fe[355])};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1444]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){var _0xfc29x15=this[_0xa1fe[724]];if(null!=_0xfc29x15[_0xa1fe[1261]]||null!=_0xfc29x15[_0xa1fe[1263]]){var _0xfc29x16=null;_0xfc29x14?(_0xfc29x12==mxConstants[_0xa1fe[479]]?_0xfc29x4-=_0xfc29x9/2:_0xfc29x12==mxConstants[_0xa1fe[480]]&&(_0xfc29x4-=_0xfc29x9),_0xfc29x13==mxConstants[_0xa1fe[481]]?_0xfc29x5-=_0xfc29xa/2:_0xfc29x13==mxConstants[_0xa1fe[482]]&&(_0xfc29x5-=_0xfc29xa),_0xfc29x16= new mxRectangle((_0xfc29x4+1)*_0xfc29x15[_0xa1fe[255]],_0xfc29x5*_0xfc29x15[_0xa1fe[255]],(_0xfc29x9-2)*_0xfc29x15[_0xa1fe[255]],(_0xfc29xa+2)*_0xfc29x15[_0xa1fe[255]])):null!=_0xfc29x2[_0xa1fe[1451]]&&this[_0xa1fe[813]][_0xa1fe[295]]==document?(_0xfc29x16=_0xfc29x2[_0xa1fe[1451]](),_0xfc29x3=mxClient[_0xa1fe[80]]&&mxClient[_0xa1fe[48]],_0xfc29x16= new mxRectangle(_0xfc29x16[_0xa1fe[235]],_0xfc29x16[_0xa1fe[236]]+(_0xfc29x3?0:1),_0xfc29x16[_0xa1fe[117]],_0xfc29x16[_0xa1fe[119]]+(_0xfc29x3?1:0))):(_0xfc29x16=document[_0xa1fe[55]](_0xa1fe[485]),_0xfc29x16[_0xa1fe[124]][_0xa1fe[489]]=Math[_0xa1fe[488]](_0xfc29x15[_0xa1fe[487]]*mxConstants[_0xa1fe[490]])+_0xa1fe[168],_0xfc29x16[_0xa1fe[124]][_0xa1fe[487]]=Math[_0xa1fe[488]](_0xfc29x15[_0xa1fe[487]])+_0xa1fe[168],_0xfc29x16[_0xa1fe[124]][_0xa1fe[486]]=_0xfc29x15[_0xa1fe[486]],_0xfc29x16[_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[494],_0xfc29x16[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492],_0xfc29x16[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],_0xfc29x16[_0xa1fe[124]][_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498],_0xfc29x16[_0xa1fe[124]][_0xa1fe[499]]=_0xa1fe[500],(_0xfc29x15[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]&&(_0xfc29x16[_0xa1fe[124]][_0xa1fe[1452]]=_0xa1fe[1447]),(_0xfc29x15[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]&&(_0xfc29x16[_0xa1fe[124]][_0xa1fe[666]]=_0xa1fe[1449]),_0xfc29x3=mxUtils[_0xa1fe[321]](_0xfc29x3,!1),_0xfc29x16[_0xa1fe[339]]=_0xfc29x3[_0xa1fe[230]](/\n/g,_0xa1fe[1453]),document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x16),_0xfc29x9=_0xfc29x16[_0xa1fe[359]],_0xfc29xa=_0xfc29x16[_0xa1fe[167]],_0xfc29x16[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x16),_0xfc29x12==mxConstants[_0xa1fe[479]]?_0xfc29x4-=_0xfc29x9/2:_0xfc29x12==mxConstants[_0xa1fe[480]]&&(_0xfc29x4-=_0xfc29x9),_0xfc29x13==mxConstants[_0xa1fe[481]]?_0xfc29x5-=_0xfc29xa/2:_0xfc29x13==mxConstants[_0xa1fe[482]]&&(_0xfc29x5-=_0xfc29xa),_0xfc29x16= new mxRectangle((_0xfc29x4+1)*_0xfc29x15[_0xa1fe[255]],(_0xfc29x5+2)*_0xfc29x15[_0xa1fe[255]],_0xfc29x9*_0xfc29x15[_0xa1fe[255]],(_0xfc29xa+1)*_0xfc29x15[_0xa1fe[255]]));null!=_0xfc29x16&&(_0xfc29x3=this[_0xa1fe[55]](_0xa1fe[1319]),_0xfc29x3[_0xa1fe[57]](_0xa1fe[1334],_0xfc29x15[_0xa1fe[1261]]||_0xa1fe[130]),_0xfc29x3[_0xa1fe[57]](_0xa1fe[1336],_0xfc29x15[_0xa1fe[1263]]||_0xa1fe[130]),_0xfc29x3[_0xa1fe[57]](_0xa1fe[235],Math[_0xa1fe[519]](_0xfc29x16[_0xa1fe[235]]-1)),_0xfc29x3[_0xa1fe[57]](_0xa1fe[236],Math[_0xa1fe[519]](_0xfc29x16[_0xa1fe[236]]-1)),_0xfc29x3[_0xa1fe[57]](_0xa1fe[117],Math[_0xa1fe[430]](_0xfc29x16[_0xa1fe[117]]+2)),_0xfc29x3[_0xa1fe[57]](_0xa1fe[119],Math[_0xa1fe[430]](_0xfc29x16[_0xa1fe[119]])),_0xfc29x15=null!=_0xfc29x15[_0xa1fe[1263]]?Math[_0xa1fe[160]](1,this[_0xa1fe[1239]](_0xfc29x15[_0xa1fe[255]])):0,_0xfc29x3[_0xa1fe[57]](_0xa1fe[1382],_0xfc29x15),this[_0xa1fe[813]][_0xa1fe[295]]==document&&1==mxUtils[_0xa1fe[1454]](_0xfc29x15,2)&&_0xfc29x3[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[1455]),_0xfc29x2[_0xa1fe[950]](_0xfc29x3,_0xfc29x2[_0xa1fe[285]]))}};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1336]]=function(){this[_0xa1fe[1370]](!1,!0)};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1334]]=function(){this[_0xa1fe[1370]](!0,!1)};mxSvgCanvas2D[_0xa1fe[202]][_0xa1fe[1337]]=function(){this[_0xa1fe[1370]](!0,!0)};var mxVmlCanvas2D=function(_0xfc29x2){mxAbstractCanvas2D[_0xa1fe[239]](this);this[_0xa1fe[813]]=_0xfc29x2};mxUtils[_0xa1fe[1284]](mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[252]]=null;mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1285]]= !0;mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1219]]=_0xa1fe[1456];mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1221]]=_0xa1fe[1457];mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1225]]=_0xa1fe[1458];mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1227]]=_0xa1fe[235];mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1459]]=_0xa1fe[110];mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1460]]=1;mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1370]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[252]],_0xfc29x5=this[_0xa1fe[724]];if(null!=_0xfc29x4){if(_0xa1fe[253]==_0xfc29x4[_0xa1fe[301]]){if(null!=this[_0xa1fe[1215]]&&0<this[_0xa1fe[1215]][_0xa1fe[67]]){_0xfc29x4[_0xa1fe[1215]]=this[_0xa1fe[1215]][_0xa1fe[234]](_0xa1fe[185])+_0xa1fe[1461],_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[117]],_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[119]],_0xfc29x4[_0xa1fe[1462]]=parseInt(_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]])+_0xa1fe[185]+parseInt(_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]])}else {return}};_0xfc29x4[_0xa1fe[1463]]=this[_0xa1fe[1239]](Math[_0xa1fe[160]](1,_0xfc29x5[_0xa1fe[610]]*_0xfc29x5[_0xa1fe[255]]/this[_0xa1fe[1460]]))+_0xa1fe[168];_0xfc29x5[_0xa1fe[639]]&&this[_0xa1fe[813]][_0xa1fe[62]](this[_0xa1fe[1375]](_0xfc29x4,_0xfc29x2&&null!=_0xfc29x5[_0xa1fe[604]],_0xfc29x3&&null!=_0xfc29x5[_0xa1fe[608]]));_0xfc29x3&&null!=_0xfc29x5[_0xa1fe[608]]?(_0xfc29x4[_0xa1fe[1464]]=_0xa1fe[128],_0xfc29x4[_0xa1fe[1306]]=_0xfc29x5[_0xa1fe[608]]):_0xfc29x4[_0xa1fe[1464]]=_0xa1fe[308];_0xfc29x4[_0xa1fe[62]](this[_0xa1fe[1465]]());_0xfc29x2&&null!=_0xfc29x5[_0xa1fe[604]]?_0xfc29x4[_0xa1fe[62]](this[_0xa1fe[1466]]()):this[_0xa1fe[1229]]&&(_0xa1fe[253]!=_0xfc29x4[_0xa1fe[301]]||this[_0xa1fe[1215]][this[_0xa1fe[1215]][_0xa1fe[67]]-1]==this[_0xa1fe[1227]])?_0xfc29x4[_0xa1fe[62]](this[_0xa1fe[1467]]()):_0xfc29x4[_0xa1fe[1468]]=_0xa1fe[308];this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4)}};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1467]]=function(){var _0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1469]);_0xfc29x2[_0xa1fe[390]]=mxClient[_0xa1fe[88]]+_0xa1fe[1470];_0xfc29x2[_0xa1fe[60]]=_0xa1fe[1471];return _0xfc29x2};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1466]]=function(){var _0xfc29x2=this[_0xa1fe[724]],_0xfc29x3=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1469]);_0xfc29x3[_0xa1fe[352]]=_0xfc29x2[_0xa1fe[604]];if(null!=_0xfc29x2[_0xa1fe[606]]){_0xfc29x3[_0xa1fe[60]]=_0xa1fe[1299];_0xfc29x3[_0xa1fe[865]]=_0xa1fe[130];_0xfc29x3[_0xa1fe[1472]]=_0xfc29x2[_0xa1fe[606]];var _0xfc29x4=180-_0xfc29x2[_0xa1fe[603]],_0xfc29x4=_0xfc29x2[_0xa1fe[607]]==mxConstants[_0xa1fe[1359]]?_0xfc29x4-(90+(_0xa1fe[235]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]?180:0)):_0xfc29x2[_0xa1fe[607]]==mxConstants[_0xa1fe[1356]]?_0xfc29x4+(90+(_0xa1fe[235]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]?180:0)):_0xfc29x2[_0xa1fe[607]]==mxConstants[_0xa1fe[1358]]?_0xfc29x4-(180+(_0xa1fe[236]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]?-180:0)):_0xfc29x4+(_0xa1fe[236]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]?-180:0);if(_0xa1fe[235]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]||_0xa1fe[236]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]){_0xfc29x4*= -1};_0xfc29x3[_0xa1fe[1474]]=mxUtils[_0xa1fe[1454]](_0xfc29x4,360);_0xfc29x3[_0xa1fe[461]]=100*_0xfc29x2[_0xa1fe[1244]]*_0xfc29x2[_0xa1fe[1247]]+_0xa1fe[229];_0xfc29x3[_0xa1fe[57]](mxClient[_0xa1fe[1475]]+_0xa1fe[1476],100*_0xfc29x2[_0xa1fe[1244]]*_0xfc29x2[_0xa1fe[1248]]+_0xa1fe[229])}else {1>_0xfc29x2[_0xa1fe[1244]]&&(_0xfc29x3[_0xa1fe[461]]=100*_0xfc29x2[_0xa1fe[1244]]+_0xa1fe[229])};return _0xfc29x3};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1465]]=function(){var _0xfc29x2=this[_0xa1fe[724]],_0xfc29x3=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1477]);_0xfc29x3[_0xa1fe[1478]]=_0xfc29x2[_0xa1fe[1254]]||_0xa1fe[1232];_0xfc29x3[_0xa1fe[1479]]=_0xfc29x2[_0xa1fe[1256]]||_0xa1fe[1233];_0xfc29x3[_0xa1fe[1313]]=_0xfc29x2[_0xa1fe[1258]]||_0xa1fe[1480];1>_0xfc29x2[_0xa1fe[1244]]&&(_0xfc29x3[_0xa1fe[461]]=100*_0xfc29x2[_0xa1fe[1244]]+_0xa1fe[229]);_0xfc29x2[_0xa1fe[648]]&&(_0xfc29x3[_0xa1fe[1481]]=this[_0xa1fe[1482]]());return _0xfc29x3};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1482]]=function(){var _0xfc29x2=_0xa1fe[1483];if(null!=this[_0xa1fe[724]][_0xa1fe[649]]){var _0xfc29x3=this[_0xa1fe[724]][_0xa1fe[649]][_0xa1fe[224]](_0xa1fe[185]);0<_0xfc29x3[_0xa1fe[67]]&&1==_0xfc29x3[0]&&(_0xfc29x2=_0xa1fe[1484])};return _0xfc29x2};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1375]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[724]],_0xfc29x9=-_0xfc29x5[_0xa1fe[603]]*(Math[_0xa1fe[424]]/180),_0xfc29xa=Math[_0xa1fe[426]](_0xfc29x9),_0xfc29x9=Math[_0xa1fe[427]](_0xfc29x9),_0xfc29x12=_0xfc29x5[_0xa1fe[1273]]*_0xfc29x5[_0xa1fe[255]],_0xfc29x13=_0xfc29x5[_0xa1fe[1274]]*_0xfc29x5[_0xa1fe[255]];_0xa1fe[235]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]?_0xfc29x12*= -1:_0xa1fe[236]==this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]&&(_0xfc29x13*= -1);var _0xfc29x14=_0xfc29x2[_0xa1fe[511]](!0);_0xfc29x14[_0xa1fe[124]][_0xa1fe[945]]=Math[_0xa1fe[488]](_0xfc29x12*_0xfc29xa-_0xfc29x13*_0xfc29x9)+_0xa1fe[168];_0xfc29x14[_0xa1fe[124]][_0xa1fe[953]]=Math[_0xa1fe[488]](_0xfc29x12*_0xfc29x9+_0xfc29x13*_0xfc29xa)+_0xa1fe[168];8==document[_0xa1fe[5]]&&(_0xfc29x14[_0xa1fe[1463]]=_0xfc29x2[_0xa1fe[1463]],_0xa1fe[253]==_0xfc29x2[_0xa1fe[301]]&&(_0xfc29x14[_0xa1fe[1215]]=this[_0xa1fe[1215]][_0xa1fe[234]](_0xa1fe[185])+_0xa1fe[1461],_0xfc29x14[_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[117]],_0xfc29x14[_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[119]],_0xfc29x14[_0xa1fe[1462]]=parseInt(_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]])+_0xa1fe[185]+parseInt(_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]])));_0xfc29x4?(_0xfc29x14[_0xa1fe[1306]]=_0xfc29x5[_0xa1fe[1269]],_0xfc29x14[_0xa1fe[62]](this[_0xa1fe[1485]]())):_0xfc29x14[_0xa1fe[1464]]=_0xa1fe[308];_0xfc29x3?_0xfc29x14[_0xa1fe[62]](this[_0xa1fe[1486]]()):_0xfc29x14[_0xa1fe[1468]]=_0xa1fe[308];return _0xfc29x14};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1486]]=function(){var _0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1469]);_0xfc29x2[_0xa1fe[352]]=this[_0xa1fe[724]][_0xa1fe[1269]];_0xfc29x2[_0xa1fe[461]]=100*this[_0xa1fe[724]][_0xa1fe[1244]]*this[_0xa1fe[724]][_0xa1fe[1271]]+_0xa1fe[229];return _0xfc29x2};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1485]]=function(){var _0xfc29x2=this[_0xa1fe[1465]]();_0xfc29x2[_0xa1fe[461]]=100*this[_0xa1fe[724]][_0xa1fe[1244]]*this[_0xa1fe[724]][_0xa1fe[1271]]+_0xa1fe[229];return _0xfc29x2};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1294]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x3&&_0xfc29x4?_0xfc29x2+=180:_0xfc29x3?this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]=_0xa1fe[235]:_0xfc29x4&&(this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[1473]]=_0xa1fe[236]);if(_0xfc29x3?!_0xfc29x4:_0xfc29x4){_0xfc29x2*= -1};this[_0xa1fe[813]][_0xa1fe[124]][_0xa1fe[603]]=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[603]]+=_0xfc29x2;this[_0xa1fe[724]][_0xa1fe[1395]]=_0xfc29x5;this[_0xa1fe[724]][_0xa1fe[1396]]=_0xfc29x9};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1275]]=function(){mxAbstractCanvas2D[_0xa1fe[202]][_0xa1fe[1275]][_0xa1fe[183]](this,arguments);this[_0xa1fe[252]]=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1487]);this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492]};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1278]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[724]],_0xfc29xa=(this[_0xa1fe[1217]]+_0xfc29x9[_0xa1fe[1126]])*_0xfc29x9[_0xa1fe[255]],_0xfc29x12=(this[_0xa1fe[1218]]+_0xfc29x9[_0xa1fe[1125]])*_0xfc29x9[_0xa1fe[255]];_0xfc29x2=(_0xfc29x2+_0xfc29x9[_0xa1fe[1126]])*_0xfc29x9[_0xa1fe[255]];_0xfc29x3=(_0xfc29x3+_0xfc29x9[_0xa1fe[1125]])*_0xfc29x9[_0xa1fe[255]];_0xfc29x4=(_0xfc29x4+_0xfc29x9[_0xa1fe[1126]])*_0xfc29x9[_0xa1fe[255]];_0xfc29x5=(_0xfc29x5+_0xfc29x9[_0xa1fe[1125]])*_0xfc29x9[_0xa1fe[255]];var _0xfc29x12=_0xfc29x12+2/3*(_0xfc29x3-_0xfc29x12),_0xfc29x13=_0xfc29x4+2/3*(_0xfc29x2-_0xfc29x4);_0xfc29x3=_0xfc29x5+2/3*(_0xfc29x3-_0xfc29x5);this[_0xa1fe[1215]][_0xa1fe[207]](_0xa1fe[1488]+this[_0xa1fe[1239]](_0xfc29xa+2/3*(_0xfc29x2-_0xfc29xa))+_0xa1fe[185]+this[_0xa1fe[1239]](_0xfc29x12)+_0xa1fe[185]+this[_0xa1fe[1239]](_0xfc29x13)+_0xa1fe[185]+this[_0xa1fe[1239]](_0xfc29x3)+_0xa1fe[185]+this[_0xa1fe[1239]](_0xfc29x4)+_0xa1fe[185]+this[_0xa1fe[1239]](_0xfc29x5));this[_0xa1fe[1217]]=_0xfc29x4/_0xfc29x9[_0xa1fe[255]]-_0xfc29x9[_0xa1fe[1126]];this[_0xa1fe[1218]]=_0xfc29x5/_0xfc29x9[_0xa1fe[255]]-_0xfc29x9[_0xa1fe[1125]]};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1489]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=this[_0xa1fe[724]];_0xfc29x2=document[_0xa1fe[55]](_0xfc29x2);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x2[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]]((_0xfc29x3+_0xfc29xa[_0xa1fe[1126]])*_0xfc29xa[_0xa1fe[255]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]]((_0xfc29x4+_0xfc29xa[_0xa1fe[1125]])*_0xfc29xa[_0xa1fe[255]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[1239]](_0xfc29x5*_0xfc29xa[_0xa1fe[255]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[1239]](_0xfc29x9*_0xfc29xa[_0xa1fe[255]])+_0xa1fe[168];return _0xfc29x2};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1319]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[252]]=this[_0xa1fe[1489]](mxClient[_0xa1fe[463]]+_0xa1fe[1490],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1320]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[252]]=this[_0xa1fe[1489]](mxClient[_0xa1fe[463]]+_0xa1fe[1491],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1492],Math[_0xa1fe[160]](100*_0xfc29x9/_0xfc29x4,100*_0xfc29xa/_0xfc29x5)+_0xa1fe[229])};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[680]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[252]]=this[_0xa1fe[1489]](mxClient[_0xa1fe[463]]+_0xa1fe[1493],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[618]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){var _0xfc29x14=null;_0xfc29xa?(_0xfc29x14=this[_0xa1fe[1489]](mxClient[_0xa1fe[463]]+_0xa1fe[1490],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5),_0xfc29x14[_0xa1fe[1464]]=_0xa1fe[308],_0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1469]),_0xfc29x2[_0xa1fe[1322]]=_0xfc29xa?_0xa1fe[1494]:_0xa1fe[1495],_0xfc29x2[_0xa1fe[1294]]=_0xa1fe[128],_0xfc29x2[_0xa1fe[60]]=_0xa1fe[1496],_0xfc29x2[_0xa1fe[390]]=_0xfc29x9,_0xfc29x14[_0xa1fe[62]](_0xfc29x2)):(_0xfc29x14=this[_0xa1fe[1489]](mxClient[_0xa1fe[463]]+_0xa1fe[464],_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5),_0xfc29x14[_0xa1fe[390]]=_0xfc29x9);_0xfc29x12&&_0xfc29x13?_0xfc29x14[_0xa1fe[124]][_0xa1fe[603]]=_0xa1fe[1497]:_0xfc29x12?_0xfc29x14[_0xa1fe[124]][_0xa1fe[1473]]=_0xa1fe[235]:_0xfc29x13&&(_0xfc29x14[_0xa1fe[124]][_0xa1fe[1473]]=_0xa1fe[236]);1>this[_0xa1fe[724]][_0xa1fe[1244]]&&(_0xfc29x14[_0xa1fe[124]][_0xa1fe[347]]+=_0xa1fe[459]+100*this[_0xa1fe[724]][_0xa1fe[1244]]+_0xa1fe[460]);this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x14)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1404]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=document[_0xa1fe[55]](_0xa1fe[485]);var _0xfc29x9=this[_0xa1fe[724]],_0xfc29xa=_0xa1fe[110];null!=_0xfc29x9[_0xa1fe[1261]]&&(_0xfc29xa+=_0xa1fe[1418]+_0xfc29x9[_0xa1fe[1261]]+_0xa1fe[471]);null!=_0xfc29x9[_0xa1fe[1263]]&&(_0xfc29xa+=_0xa1fe[1419]+_0xfc29x9[_0xa1fe[1263]]+_0xa1fe[471]);mxUtils[_0xa1fe[1331]](_0xfc29x2)?_0xfc29x4[_0xa1fe[62]](_0xfc29x2):0<_0xfc29xa[_0xa1fe[67]]&&!_0xfc29x5?(_0xfc29x5=document[_0xa1fe[55]](_0xa1fe[485]),_0xfc29x5[_0xa1fe[124]][_0xa1fe[103]]=_0xfc29xa,_0xfc29x5[_0xa1fe[124]][_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498],_0xfc29x5[_0xa1fe[124]][_0xa1fe[499]]=_0xa1fe[500],_0xfc29x5[_0xa1fe[339]]=_0xfc29x2,_0xfc29x4[_0xa1fe[62]](_0xfc29x5)):(_0xfc29x4[_0xa1fe[124]][_0xa1fe[103]]=_0xfc29xa,_0xfc29x4[_0xa1fe[339]]=_0xfc29x2);_0xfc29x2=_0xfc29x4[_0xa1fe[124]];_0xfc29x2[_0xa1fe[487]]=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[487]]/this[_0xa1fe[1460]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[486]]=_0xfc29x9[_0xa1fe[486]];_0xfc29x2[_0xa1fe[352]]=_0xfc29x9[_0xa1fe[665]];_0xfc29x2[_0xa1fe[123]]=_0xa1fe[125];_0xfc29x2[_0xa1fe[1165]]=_0xfc29x3||_0xa1fe[361];_0xfc29x2[_0xa1fe[489]]=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[487]]*mxConstants[_0xa1fe[490]]/this[_0xa1fe[1460]])+_0xa1fe[168];(_0xfc29x9[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]&&(_0xfc29x2[_0xa1fe[1452]]=_0xa1fe[1447]);(_0xfc29x9[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]&&(_0xfc29x2[_0xa1fe[666]]=_0xa1fe[1449]);(_0xfc29x9[_0xa1fe[666]]&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]]&&(_0xfc29x2[_0xa1fe[1498]]=_0xa1fe[355]);return _0xfc29x4};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[963]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){if(this[_0xa1fe[1285]]&&null!=_0xfc29x9){var _0xfc29x18=this[_0xa1fe[724]];if(_0xa1fe[1428]==_0xfc29x14){null!=_0xfc29x18[_0xa1fe[603]]&&(_0xfc29x3=this[_0xa1fe[1241]](_0xfc29x2,_0xfc29x3,_0xfc29x18[_0xa1fe[603]],_0xfc29x18[_0xa1fe[1395]],_0xfc29x18[_0xa1fe[1396]]),_0xfc29x2=_0xfc29x3[_0xa1fe[235]],_0xfc29x3=_0xfc29x3[_0xa1fe[236]]);8==document[_0xa1fe[5]]?(_0xfc29x2+=_0xfc29x18[_0xa1fe[1126]],_0xfc29x3+=_0xfc29x18[_0xa1fe[1125]]):(_0xfc29x2*=_0xfc29x18[_0xa1fe[255]],_0xfc29x3*=_0xfc29x18[_0xa1fe[255]]);_0xfc29x14=8==document[_0xa1fe[5]]?document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1499]):document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x14[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x14[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497];_0xfc29x14[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]](_0xfc29x2)+_0xa1fe[168];_0xfc29x14[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]](_0xfc29x3)+_0xa1fe[168];_0xfc29x14[_0xa1fe[124]][_0xa1fe[499]]=_0xfc29x18[_0xa1fe[255]];var _0xfc29x19=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x19[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[1500];_0xfc29x19[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497];var _0xfc29x1a=mxUtils[_0xa1fe[1501]](_0xfc29xa,_0xfc29x12),_0xfc29x1b=_0xfc29x1a[_0xa1fe[235]],_0xfc29x1a=_0xfc29x1a[_0xa1fe[236]];_0xfc29x9=this[_0xa1fe[1404]](_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x15);_0xfc29xa=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x13?(!_0xfc29x16&&0<_0xfc29x4&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[168]),_0xfc29x9[_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[1502]):_0xfc29x9[_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[494];_0xfc29x13=_0xfc29x18[_0xa1fe[603]]+(_0xfc29x17||0);this[_0xa1fe[1216]]&&0!=_0xfc29x13?(_0xfc29xa[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497],_0xfc29xa[_0xa1fe[124]][_0xa1fe[499]]=_0xa1fe[500],_0xfc29xa[_0xa1fe[62]](_0xfc29x9),8==document[_0xa1fe[5]]&&_0xa1fe[529]!=this[_0xa1fe[813]][_0xa1fe[301]]?(_0xfc29x19[_0xa1fe[62]](_0xfc29xa),_0xfc29x14[_0xa1fe[62]](_0xfc29x19)):_0xfc29x14[_0xa1fe[62]](_0xfc29xa)):8==document[_0xa1fe[5]]?(_0xfc29x19[_0xa1fe[62]](_0xfc29x9),_0xfc29x14[_0xa1fe[62]](_0xfc29x19)):(_0xfc29x9[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497],_0xfc29x14[_0xa1fe[62]](_0xfc29x9));_0xa1fe[529]!=this[_0xa1fe[813]][_0xa1fe[301]]?(_0xfc29x17=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1490]),_0xfc29x17[_0xa1fe[1464]]=_0xa1fe[308],_0xfc29x17[_0xa1fe[1468]]=_0xa1fe[308],_0xfc29x17[_0xa1fe[62]](_0xfc29x14),this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x17)):this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x14);_0xfc29x16?(_0xfc29x9[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[188],0<_0xfc29x4&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[488]](_0xfc29x4)+_0xa1fe[168]),0<_0xfc29x5&&8==document[_0xa1fe[5]]&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[1503]]=Math[_0xa1fe[488]](_0xfc29x5)+_0xa1fe[168])):_0xfc29x15&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x4+_0xa1fe[168],0<_0xfc29x5&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[1503]]=Math[_0xa1fe[488]](_0xfc29x5)+_0xa1fe[168]));if(this[_0xa1fe[1216]]&&0!=_0xfc29x13){_0xfc29x4=_0xfc29x13*(Math[_0xa1fe[424]]/180);_0xfc29x13=parseFloat(parseFloat(Math[_0xa1fe[426]](_0xfc29x4))[_0xa1fe[1293]](8));_0xfc29x17=parseFloat(parseFloat(Math[_0xa1fe[427]](-_0xfc29x4))[_0xa1fe[1293]](8));_0xfc29x4%=2*Math[_0xa1fe[424]];0>_0xfc29x4&&(_0xfc29x4+=2*Math[_0xa1fe[424]]);_0xfc29x4%=Math[_0xa1fe[424]];_0xfc29x4>Math[_0xa1fe[424]]/2&&(_0xfc29x4=Math[_0xa1fe[424]]-_0xfc29x4);_0xfc29x12=Math[_0xa1fe[426]](_0xfc29x4);var _0xfc29x1c=Math[_0xa1fe[427]](_0xfc29x4);8==document[_0xa1fe[5]]&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[498],_0xfc29xa[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[498],_0xfc29x19[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[498]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x9);_0xfc29x4=_0xfc29x9[_0xa1fe[359]];_0xfc29x19=_0xfc29x9[_0xa1fe[167]];if(mxClient[_0xa1fe[496]]&&(_0xfc29x16||_0xfc29x15)&&_0xfc29x19>_0xfc29x5){_0xfc29x19=_0xfc29x5,_0xfc29x9[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x19+_0xa1fe[168]};_0xfc29x5=_0xfc29x19;_0xfc29x16=(_0xfc29x5-_0xfc29x5*_0xfc29x12+_0xfc29x4* -_0xfc29x1c)/2-_0xfc29x17*_0xfc29x4*(_0xfc29x1b+0.5)+_0xfc29x13*_0xfc29x5*(_0xfc29x1a+0.5);_0xfc29x15=(_0xfc29x4-_0xfc29x4*_0xfc29x12+_0xfc29x5* -_0xfc29x1c)/2+_0xfc29x13*_0xfc29x4*(_0xfc29x1b+0.5)+_0xfc29x17*_0xfc29x5*(_0xfc29x1a+0.5);_0xa1fe[1504]==_0xfc29x14[_0xa1fe[301]]&&_0xa1fe[529]==this[_0xa1fe[813]][_0xa1fe[301]]?(_0xfc29x1b=document[_0xa1fe[55]](_0xa1fe[485]),_0xfc29x1b[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[498],_0xfc29x1b[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492],_0xfc29x1b[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]](_0xfc29x2+(_0xfc29x15-_0xfc29x4/2)*_0xfc29x18[_0xa1fe[255]])+_0xa1fe[168],_0xfc29x1b[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]](_0xfc29x3+(_0xfc29x16-_0xfc29x5/2)*_0xfc29x18[_0xa1fe[255]])+_0xa1fe[168],_0xfc29x14[_0xa1fe[265]][_0xa1fe[62]](_0xfc29x1b),_0xfc29x1b[_0xa1fe[62]](_0xfc29x14)):(_0xfc29x18=8==document[_0xa1fe[5]]?1:_0xfc29x18[_0xa1fe[255]],_0xfc29x14[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]](_0xfc29x2+(_0xfc29x15-_0xfc29x4/2)*_0xfc29x18)+_0xa1fe[168],_0xfc29x14[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]](_0xfc29x3+(_0xfc29x16-_0xfc29x5/2)*_0xfc29x18)+_0xa1fe[168]);_0xfc29xa[_0xa1fe[124]][_0xa1fe[347]]=_0xa1fe[1505]+_0xfc29x13+_0xa1fe[1506]+_0xfc29x17+_0xa1fe[1507]+-_0xfc29x17+_0xa1fe[1508]+_0xfc29x13+_0xa1fe[1509];_0xfc29xa[_0xa1fe[124]][_0xa1fe[1028]]=this[_0xa1fe[1459]];1>this[_0xa1fe[724]][_0xa1fe[1244]]&&(_0xfc29xa[_0xa1fe[124]][_0xa1fe[347]]+=_0xa1fe[459]+100*this[_0xa1fe[724]][_0xa1fe[1244]]+_0xa1fe[460]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110];_0xfc29xa[_0xa1fe[62]](_0xfc29x9)}else {8!=document[_0xa1fe[5]]?(_0xfc29x9[_0xa1fe[124]][_0xa1fe[123]]=_0xa1fe[125],1>this[_0xa1fe[724]][_0xa1fe[1244]]&&(_0xfc29x14[_0xa1fe[124]][_0xa1fe[347]]=_0xa1fe[459]+100*this[_0xa1fe[724]][_0xa1fe[1244]]+_0xa1fe[460]),_0xfc29x18=_0xfc29x9[_0xa1fe[265]],_0xfc29x9[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x9),_0xfc29x4=_0xfc29x9[_0xa1fe[359]],_0xfc29x19=_0xfc29x9[_0xa1fe[167]],mxClient[_0xa1fe[496]]&&(_0xfc29x16&&_0xfc29x19>_0xfc29x5)&&(_0xfc29x19=_0xfc29x5,_0xfc29x9[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x19+_0xa1fe[168]),_0xfc29x5=_0xfc29x19,_0xfc29x9[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110],_0xfc29x18[_0xa1fe[62]](_0xfc29x9),_0xfc29x14[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]](_0xfc29x2+_0xfc29x4*_0xfc29x1b*this[_0xa1fe[724]][_0xa1fe[255]])+_0xa1fe[168],_0xfc29x14[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]](_0xfc29x3+_0xfc29x5*_0xfc29x1a*this[_0xa1fe[724]][_0xa1fe[255]])+_0xa1fe[168]):(1>this[_0xa1fe[724]][_0xa1fe[1244]]&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[347]]=_0xa1fe[459]+100*this[_0xa1fe[724]][_0xa1fe[1244]]+_0xa1fe[460]),_0xfc29x19[_0xa1fe[124]][_0xa1fe[361]]=100*_0xfc29x1b+_0xa1fe[229],_0xfc29x19[_0xa1fe[124]][_0xa1fe[125]]=100*_0xfc29x1a+_0xa1fe[229])}}else {this[_0xa1fe[1436]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,mxUtils[_0xa1fe[321]](_0xfc29x9,!1),_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17)}}};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1436]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){_0xfc29x5=this[_0xa1fe[724]];_0xfc29x2=(_0xfc29x2+_0xfc29x5[_0xa1fe[1126]])*_0xfc29x5[_0xa1fe[255]];_0xfc29x3=(_0xfc29x3+_0xfc29x5[_0xa1fe[1125]])*_0xfc29x5[_0xa1fe[255]];_0xfc29x4=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1487]);_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[942];_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[942];_0xfc29x4[_0xa1fe[1464]]=_0xa1fe[308];_0xfc29x15=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1469]);_0xfc29x15[_0xa1fe[352]]=_0xfc29x5[_0xa1fe[665]];_0xfc29x15[_0xa1fe[461]]=100*_0xfc29x5[_0xa1fe[1244]]+_0xa1fe[229];_0xfc29x4[_0xa1fe[62]](_0xfc29x15);_0xfc29x15=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1510]);_0xfc29x15[_0xa1fe[1511]]=_0xa1fe[128];_0xfc29x15[_0xa1fe[6]]=_0xa1fe[1512]+this[_0xa1fe[1239]](0)+_0xa1fe[185]+this[_0xa1fe[1239]](0)+_0xa1fe[1513]+this[_0xa1fe[1239]](1)+_0xa1fe[185]+this[_0xa1fe[1239]](0);_0xfc29x4[_0xa1fe[62]](_0xfc29x15);_0xfc29x15=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1514]);_0xfc29x15[_0xa1fe[124]][_0xa1fe[103]]=_0xa1fe[1515]+_0xfc29xa;_0xfc29x15[_0xa1fe[124]][_0xa1fe[611]]=_0xfc29xa;_0xfc29x15[_0xa1fe[124]][_0xa1fe[486]]=_0xfc29x5[_0xa1fe[486]];_0xfc29x15[_0xa1fe[1516]]=_0xfc29x9;_0xfc29x15[_0xa1fe[747]]=_0xa1fe[128];_0xfc29xa=Math[_0xa1fe[488]](_0xfc29x5[_0xa1fe[487]]*_0xfc29x5[_0xa1fe[255]]/this[_0xa1fe[1460]]);_0xfc29x15[_0xa1fe[124]][_0xa1fe[487]]=_0xfc29xa+_0xa1fe[168];(_0xfc29x5[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]&&(_0xfc29x15[_0xa1fe[124]][_0xa1fe[1452]]=_0xa1fe[1447]);(_0xfc29x5[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]&&(_0xfc29x15[_0xa1fe[124]][_0xa1fe[666]]=_0xa1fe[1449]);(_0xfc29x5[_0xa1fe[666]]&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]]&&(_0xfc29x15[_0xa1fe[124]][_0xa1fe[354]]=_0xa1fe[355]);_0xfc29x9=_0xfc29x9[_0xa1fe[224]](_0xa1fe[192]);_0xfc29x5=_0xfc29xa+(_0xfc29x9[_0xa1fe[67]]-1)*_0xfc29xa*mxConstants[_0xa1fe[490]];_0xfc29xa=_0xfc29x9=0;_0xfc29x12==mxConstants[_0xa1fe[482]]?_0xfc29xa=-_0xfc29x5/2:_0xfc29x12!=mxConstants[_0xa1fe[481]]&&(_0xfc29xa=_0xfc29x5/2);null!=_0xfc29x17&&(_0xfc29x4[_0xa1fe[124]][_0xa1fe[603]]=_0xfc29x17,_0xfc29x12=_0xfc29x17*(Math[_0xa1fe[424]]/180),_0xfc29x9=Math[_0xa1fe[427]](_0xfc29x12)*_0xfc29xa,_0xfc29xa*=Math[_0xa1fe[426]](_0xfc29x12));_0xfc29x4[_0xa1fe[62]](_0xfc29x15);_0xfc29x4[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[1239]](_0xfc29x2-_0xfc29x9)+_0xa1fe[168];_0xfc29x4[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[1239]](_0xfc29x3+_0xfc29xa)+_0xa1fe[168];this[_0xa1fe[813]][_0xa1fe[62]](_0xfc29x4)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1336]]=function(){this[_0xa1fe[1370]](!1,!0)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1334]]=function(){this[_0xa1fe[1370]](!0,!1)};mxVmlCanvas2D[_0xa1fe[202]][_0xa1fe[1337]]=function(){this[_0xa1fe[1370]](!0,!0)};function mxGuide(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[1517]](_0xfc29x3)}mxGuide[_0xa1fe[202]][_0xa1fe[1179]]=null;mxGuide[_0xa1fe[202]][_0xa1fe[1214]]=null;mxGuide[_0xa1fe[202]][_0xa1fe[662]]= !0;mxGuide[_0xa1fe[202]][_0xa1fe[704]]= !0;mxGuide[_0xa1fe[202]][_0xa1fe[1518]]=null;mxGuide[_0xa1fe[202]][_0xa1fe[1519]]=null;mxGuide[_0xa1fe[202]][_0xa1fe[1517]]=function(_0xfc29x2){this[_0xa1fe[1214]]=_0xfc29x2};mxGuide[_0xa1fe[202]][_0xa1fe[1019]]=function(_0xfc29x2){return !0};mxGuide[_0xa1fe[202]][_0xa1fe[1520]]=function(){return this[_0xa1fe[1179]][_0xa1fe[1020]]*this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]]/2};mxGuide[_0xa1fe[202]][_0xa1fe[1521]]=function(_0xfc29x2){_0xfc29x2= new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);_0xfc29x2[_0xa1fe[1522]]= !0;return _0xfc29x2};mxGuide[_0xa1fe[202]][_0xa1fe[582]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=this[_0xa1fe[1214]]&&(this[_0xa1fe[662]]||this[_0xa1fe[704]])&&null!=_0xfc29x2&&null!=_0xfc29x3){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29xa=_0xfc29x3[_0xa1fe[235]],_0xfc29x12=_0xfc29x3[_0xa1fe[236]],_0xfc29x13=!1,_0xfc29x14=!1,_0xfc29x15=this[_0xa1fe[1520]](),_0xfc29x16=_0xfc29x15,_0xfc29x17=_0xfc29x15,_0xfc29x15=_0xfc29x2[_0xa1fe[238]]();_0xfc29x15[_0xa1fe[235]]+=_0xfc29x3[_0xa1fe[235]];_0xfc29x15[_0xa1fe[236]]+=_0xfc29x3[_0xa1fe[236]];var _0xfc29x18=_0xfc29x15[_0xa1fe[235]],_0xfc29x19=_0xfc29x15[_0xa1fe[235]]+_0xfc29x15[_0xa1fe[117]],_0xfc29x1a=_0xfc29x15[_0xa1fe[241]](),_0xfc29x1b=_0xfc29x15[_0xa1fe[236]],_0xfc29x1c=_0xfc29x15[_0xa1fe[236]]+_0xfc29x15[_0xa1fe[119]],_0xfc29x1d=_0xfc29x15[_0xa1fe[242]]();_0xfc29x3=function(_0xfc29x3){_0xfc29x3+=this[_0xa1fe[1179]][_0xa1fe[1136]];var _0xfc29x4=!1;Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1a)<_0xfc29x16?(_0xfc29xa=_0xfc29x3-_0xfc29x2[_0xa1fe[241]](),_0xfc29x16=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1a),_0xfc29x4= !0):Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x18)<_0xfc29x16?(_0xfc29xa=_0xfc29x3-_0xfc29x2[_0xa1fe[235]],_0xfc29x16=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x18),_0xfc29x4= !0):Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x19)<_0xfc29x16&&(_0xfc29xa=_0xfc29x3-_0xfc29x2[_0xa1fe[235]]-_0xfc29x2[_0xa1fe[117]],_0xfc29x16=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x19),_0xfc29x4= !0);if(_0xfc29x4){null==this[_0xa1fe[1518]]&&(this[_0xa1fe[1518]]=this[_0xa1fe[1521]](!0),this[_0xa1fe[1518]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]],this[_0xa1fe[1518]][_0xa1fe[1229]]= !1,this[_0xa1fe[1518]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()));var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[526]];_0xfc29x3-=this[_0xa1fe[1179]][_0xa1fe[1136]];this[_0xa1fe[1518]][_0xa1fe[1525]]=[ new mxPoint(_0xfc29x3,-this[_0xa1fe[1179]][_0xa1fe[1137]]), new mxPoint(_0xfc29x3,_0xfc29x5[_0xa1fe[191]]-3-this[_0xa1fe[1179]][_0xa1fe[1137]])]};_0xfc29x13=_0xfc29x13||_0xfc29x4};for(var _0xfc29x15=function(_0xfc29x3){_0xfc29x3+=this[_0xa1fe[1179]][_0xa1fe[1137]];var _0xfc29x4=!1;Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1d)<_0xfc29x17?(_0xfc29x12=_0xfc29x3-_0xfc29x2[_0xa1fe[242]](),_0xfc29x17=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1d),_0xfc29x4= !0):Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1b)<_0xfc29x17?(_0xfc29x12=_0xfc29x3-_0xfc29x2[_0xa1fe[236]],_0xfc29x17=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1b),_0xfc29x4= !0):Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1c)<_0xfc29x17&&(_0xfc29x12=_0xfc29x3-_0xfc29x2[_0xa1fe[236]]-_0xfc29x2[_0xa1fe[119]],_0xfc29x17=Math[_0xa1fe[425]](_0xfc29x3-_0xfc29x1c),_0xfc29x4= !0);if(_0xfc29x4){null==this[_0xa1fe[1519]]&&(this[_0xa1fe[1519]]=this[_0xa1fe[1521]](!1),this[_0xa1fe[1519]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]],this[_0xa1fe[1519]][_0xa1fe[1229]]= !1,this[_0xa1fe[1519]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()));var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[526]];_0xfc29x3-=this[_0xa1fe[1179]][_0xa1fe[1137]];this[_0xa1fe[1519]][_0xa1fe[1525]]=[ new mxPoint(-this[_0xa1fe[1179]][_0xa1fe[1136]],_0xfc29x3), new mxPoint(_0xfc29x5[_0xa1fe[1526]]-3-this[_0xa1fe[1179]][_0xa1fe[1136]],_0xfc29x3)]};_0xfc29x14=_0xfc29x14||_0xfc29x4},_0xfc29x1e=0;_0xfc29x1e<this[_0xa1fe[1214]][_0xa1fe[67]];_0xfc29x1e++){var _0xfc29x1f=this[_0xa1fe[1214]][_0xfc29x1e];null!=_0xfc29x1f&&(this[_0xa1fe[662]]&&(_0xfc29x3[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[241]]()),_0xfc29x3[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[235]]),_0xfc29x3[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[235]]+_0xfc29x1f[_0xa1fe[117]])),this[_0xa1fe[704]]&&(_0xfc29x15[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[242]]()),_0xfc29x15[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[236]]),_0xfc29x15[_0xa1fe[239]](this,_0xfc29x1f[_0xa1fe[236]]+_0xfc29x1f[_0xa1fe[119]])))};!_0xfc29x13&&null!=this[_0xa1fe[1518]]?this[_0xa1fe[1518]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]:null!=this[_0xa1fe[1518]]&&(this[_0xa1fe[1518]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189],this[_0xa1fe[1518]][_0xa1fe[258]]());!_0xfc29x14&&null!=this[_0xa1fe[1519]]?this[_0xa1fe[1519]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]:null!=this[_0xa1fe[1519]]&&(this[_0xa1fe[1519]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189],this[_0xa1fe[1519]][_0xa1fe[258]]());_0xfc29x4&&(_0xfc29x13||(_0xfc29x4=_0xfc29x2[_0xa1fe[235]]-(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[235]]/_0xfc29x9-_0xfc29x5[_0xa1fe[235]])+_0xfc29x5[_0xa1fe[235]])*_0xfc29x9,_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29xa/_0xfc29x9)*_0xfc29x9-_0xfc29x4),_0xfc29x14||(_0xfc29x5=_0xfc29x2[_0xa1fe[236]]-(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[236]]/_0xfc29x9-_0xfc29x5[_0xa1fe[236]])+_0xfc29x5[_0xa1fe[236]])*_0xfc29x9,_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x12/_0xfc29x9)*_0xfc29x9-_0xfc29x5));_0xfc29x3= new mxPoint(_0xfc29xa,_0xfc29x12)};return _0xfc29x3};mxGuide[_0xa1fe[202]][_0xa1fe[801]]=function(){null!=this[_0xa1fe[1518]]&&(this[_0xa1fe[1518]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]);null!=this[_0xa1fe[1519]]&&(this[_0xa1fe[1519]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188])};mxGuide[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[1518]]&&(this[_0xa1fe[1518]][_0xa1fe[515]](),this[_0xa1fe[1518]]=null);null!=this[_0xa1fe[1519]]&&(this[_0xa1fe[1519]][_0xa1fe[515]](),this[_0xa1fe[1519]]=null)};function mxStencil(_0xfc29x2){this[_0xa1fe[1527]]=_0xfc29x2;this[_0xa1fe[1528]]();this[_0xa1fe[1529]]()}mxStencil[_0xa1fe[1530]]= !1;mxStencil[_0xa1fe[202]][_0xa1fe[1527]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1531]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1322]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1532]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1533]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1534]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1535]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1307]]=null;mxStencil[_0xa1fe[202]][_0xa1fe[1528]]=function(){this[_0xa1fe[1535]]=this[_0xa1fe[1527]][_0xa1fe[64]](_0xa1fe[1536])[0];this[_0xa1fe[1534]]=this[_0xa1fe[1527]][_0xa1fe[64]](_0xa1fe[1537])[0];this[_0xa1fe[1532]]=Number(this[_0xa1fe[1527]][_0xa1fe[284]](_0xa1fe[1302])||100);this[_0xa1fe[1533]]=Number(this[_0xa1fe[1527]][_0xa1fe[284]](_0xa1fe[1303])||100);var _0xfc29x2=this[_0xa1fe[1527]][_0xa1fe[284]](_0xa1fe[1322]);this[_0xa1fe[1322]]=null!=_0xfc29x2?_0xfc29x2:_0xa1fe[1538];_0xfc29x2=this[_0xa1fe[1527]][_0xa1fe[284]](_0xa1fe[1307]);this[_0xa1fe[1307]]=null!=_0xfc29x2?_0xfc29x2:_0xa1fe[500]};mxStencil[_0xa1fe[202]][_0xa1fe[1529]]=function(){var _0xfc29x2=this[_0xa1fe[1527]][_0xa1fe[64]](_0xa1fe[1539])[0];if(null!=_0xfc29x2&&(_0xfc29x2=mxUtils[_0xa1fe[1540]](_0xfc29x2),null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]])){this[_0xa1fe[1531]]=[];for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[1531]][_0xa1fe[207]](this[_0xa1fe[1541]](_0xfc29x2[_0xfc29x3]))}}};mxStencil[_0xa1fe[202]][_0xa1fe[1541]]=function(_0xfc29x2){var _0xfc29x3=Number(_0xfc29x2[_0xa1fe[284]](_0xa1fe[235])),_0xfc29x4=Number(_0xfc29x2[_0xa1fe[284]](_0xa1fe[236]));_0xfc29x2=_0xa1fe[500]==_0xfc29x2[_0xa1fe[284]](_0xa1fe[591]);return new mxConnectionConstraint( new mxPoint(_0xfc29x3,_0xfc29x4),_0xfc29x2)};mxStencil[_0xa1fe[202]][_0xa1fe[1542]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=this[_0xa1fe[1543]](_0xfc29x2,_0xfc29x3,_0xfc29x4);_0xfc29x2=_0xfc29x2[_0xa1fe[284]](_0xa1fe[1544]);if(mxStencil[_0xa1fe[1530]]&&null==_0xfc29x2||_0xa1fe[500]==_0xfc29x2){_0xfc29x3=mxResources[_0xa1fe[203]](_0xfc29x3)};return _0xfc29x3};mxStencil[_0xa1fe[202]][_0xa1fe[1543]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=_0xfc29x2[_0xa1fe[284]](_0xfc29x3);null==_0xfc29x3&&(_0xfc29x2=mxUtils[_0xa1fe[329]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x2=mxUtils[_0xa1fe[1545]](_0xfc29x2),_0xa1fe[279]== typeof _0xfc29x2&&(_0xfc29x3=_0xfc29x2(_0xfc29x4))));return _0xfc29x3};mxStencil[_0xa1fe[202]][_0xa1fe[1546]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1547]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,this[_0xa1fe[1534]],!1);this[_0xa1fe[1547]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,this[_0xa1fe[1535]],!0)};mxStencil[_0xa1fe[202]][_0xa1fe[1547]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){if(null!=_0xfc29x12){var _0xfc29x14=mxUtils[_0xa1fe[433]](_0xfc29x3[_0xa1fe[124]],mxConstants.STYLE_DIRECTION,null);_0xfc29x4=this[_0xa1fe[1548]](_0xfc29x3[_0xa1fe[124]],_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x14);_0xfc29x5=Math[_0xa1fe[243]](_0xfc29x4[_0xa1fe[117]],_0xfc29x4[_0xa1fe[119]]);_0xfc29x5=_0xa1fe[1549]==this[_0xa1fe[1307]]?Number(mxUtils[_0xa1fe[1550]](_0xfc29x3[_0xa1fe[124]],mxConstants.STYLE_STROKEWIDTH,1)):Number(this[_0xa1fe[1307]])*_0xfc29x5;_0xfc29x2[_0xa1fe[1250]](_0xfc29x5);for(_0xfc29x12=_0xfc29x12[_0xa1fe[285]];null!=_0xfc29x12;){_0xfc29x12[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&this[_0xa1fe[1551]](_0xfc29x2,_0xfc29x3,_0xfc29x12,_0xfc29x4,_0xfc29x13),_0xfc29x12=_0xfc29x12[_0xa1fe[287]]}}};mxStencil[_0xa1fe[202]][_0xa1fe[1548]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x2=_0xfc29x3;_0xfc29x3=_0xfc29x5/this[_0xa1fe[1532]];var _0xfc29x12=_0xfc29x9/this[_0xa1fe[1533]];if(_0xfc29xa=_0xa1fe[700]==_0xfc29xa||_0xa1fe[701]==_0xfc29xa){_0xfc29x12=_0xfc29x5/this[_0xa1fe[1533]];_0xfc29x3=_0xfc29x9/this[_0xa1fe[1532]];var _0xfc29x13=(_0xfc29x5-_0xfc29x9)/2;_0xfc29x2+=_0xfc29x13;_0xfc29x4-=_0xfc29x13};_0xa1fe[1552]==this[_0xa1fe[1322]]&&(_0xfc29x3=_0xfc29x12=Math[_0xa1fe[243]](_0xfc29x3,_0xfc29x12),_0xfc29xa?(_0xfc29x2+=(_0xfc29x9-this[_0xa1fe[1532]]*_0xfc29x3)/2,_0xfc29x4+=(_0xfc29x5-this[_0xa1fe[1533]]*_0xfc29x12)/2):(_0xfc29x2+=(_0xfc29x5-this[_0xa1fe[1532]]*_0xfc29x3)/2,_0xfc29x4+=(_0xfc29x9-this[_0xa1fe[1533]]*_0xfc29x12)/2));return new mxRectangle(_0xfc29x2,_0xfc29x4,_0xfc29x3,_0xfc29x12)};mxStencil[_0xa1fe[202]][_0xa1fe[1551]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x4[_0xa1fe[301]],_0xfc29x12=_0xfc29x5[_0xa1fe[235]],_0xfc29x13=_0xfc29x5[_0xa1fe[236]],_0xfc29x14=_0xfc29x5[_0xa1fe[117]],_0xfc29x15=_0xfc29x5[_0xa1fe[119]],_0xfc29x16=Math[_0xa1fe[243]](_0xfc29x14,_0xfc29x15);if(_0xa1fe[815]==_0xfc29xa){_0xfc29x2[_0xa1fe[815]]()}else {if(_0xa1fe[1210]==_0xfc29xa){_0xfc29x2[_0xa1fe[1210]]()}else {if(_0xa1fe[1215]==_0xfc29xa){_0xfc29x2[_0xa1fe[1275]]();for(_0xfc29x4=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x4;){_0xfc29x4[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&this[_0xa1fe[1551]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x4=_0xfc29x4[_0xa1fe[287]]}}else {if(_0xa1fe[268]==_0xfc29xa){_0xfc29x2[_0xa1fe[268]]()}else {if(_0xa1fe[582]==_0xfc29xa){_0xfc29x2[_0xa1fe[1276]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15)}else {if(_0xa1fe[683]==_0xfc29xa){_0xfc29x2[_0xa1fe[1277]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15)}else {if(_0xa1fe[1323]==_0xfc29xa){_0xfc29x2[_0xa1fe[1278]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1324]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1325]))*_0xfc29x15,_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1326]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1327]))*_0xfc29x15)}else {if(_0xa1fe[1328]==_0xfc29xa){_0xfc29x2[_0xa1fe[1279]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1324]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1325]))*_0xfc29x15,_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1326]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1327]))*_0xfc29x15,_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1329]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1330]))*_0xfc29x15)}else {if(_0xa1fe[1553]==_0xfc29xa){_0xfc29x2[_0xa1fe[1280]](Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1397]))*_0xfc29x14,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1398]))*_0xfc29x15,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1554])),Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1555])),Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1556])),_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15)}else {if(_0xa1fe[1319]==_0xfc29xa){_0xfc29x2[_0xa1fe[1319]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1302]))*_0xfc29x14,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1303]))*_0xfc29x15)}else {if(_0xa1fe[1320]==_0xfc29xa){_0xfc29x3=_0xfc29x4[_0xa1fe[284]](_0xa1fe[1492]),0==_0xfc29x3&&(_0xfc29x3=100*mxConstants[_0xa1fe[1557]]),_0xfc29x16=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1302]))*_0xfc29x14,_0xfc29x5=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1303]))*_0xfc29x15,_0xfc29x3=Number(_0xfc29x3)/100,_0xfc29x3=Math[_0xa1fe[243]](_0xfc29x16*_0xfc29x3,_0xfc29x5*_0xfc29x3),_0xfc29x2[_0xa1fe[1320]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,_0xfc29x16,_0xfc29x5,_0xfc29x3,_0xfc29x3)}else {if(_0xa1fe[680]==_0xfc29xa){_0xfc29x2[_0xa1fe[680]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1302]))*_0xfc29x14,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1303]))*_0xfc29x15)}else {if(_0xa1fe[618]==_0xfc29xa){_0xfc29x3=this[_0xa1fe[1543]](_0xfc29x4,_0xa1fe[390],_0xfc29x3),_0xfc29x2[_0xa1fe[618]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1302]))*_0xfc29x14,Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1303]))*_0xfc29x15,_0xfc29x3,!1,_0xa1fe[500]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[623]),_0xa1fe[500]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[624]))}else {if(_0xa1fe[963]==_0xfc29xa){_0xfc29x16=this[_0xa1fe[1542]](_0xfc29x4,_0xa1fe[1332],_0xfc29x3);_0xfc29x5=_0xa1fe[500]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[704])?-90:0;if(_0xa1fe[468]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[1558])){var _0xfc29x17=_0xfc29x3[_0xa1fe[603]],_0xfc29x18=1==mxUtils[_0xa1fe[433]](_0xfc29x3[_0xa1fe[124]],mxConstants.STYLE_FLIPH,0);_0xfc29x3=1==mxUtils[_0xa1fe[433]](_0xfc29x3[_0xa1fe[124]],mxConstants.STYLE_FLIPV,0);_0xfc29x5=_0xfc29x18&&_0xfc29x3?_0xfc29x5-_0xfc29x17:_0xfc29x18||_0xfc29x3?_0xfc29x5+_0xfc29x17:_0xfc29x5-_0xfc29x17};_0xfc29x5-=_0xfc29x4[_0xa1fe[284]](_0xa1fe[603]);_0xfc29x2[_0xa1fe[963]](_0xfc29x12+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,0,0,_0xfc29x16,_0xfc29x4[_0xa1fe[284]](_0xa1fe[611])||_0xa1fe[361],_0xfc29x4[_0xa1fe[284]](_0xa1fe[552])||_0xa1fe[125],!1,_0xa1fe[110],!1,!1,_0xfc29x5)}else {if(_0xa1fe[1559]==_0xfc29xa){_0xfc29x17=mxStencilRegistry[_0xa1fe[1560]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[298])),null!=_0xfc29x17&&(_0xfc29x12+=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[235]))*_0xfc29x14,_0xfc29x13+=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[236]))*_0xfc29x15,_0xfc29x16=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1302]))*_0xfc29x14,_0xfc29x5=Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1303]))*_0xfc29x15,_0xfc29x17[_0xa1fe[1546]](_0xfc29x2,_0xfc29x3,_0xfc29x12,_0xfc29x13,_0xfc29x16,_0xfc29x5))}else {if(_0xa1fe[1338]==_0xfc29xa){_0xfc29x2[_0xa1fe[1337]]()}else {if(_0xa1fe[1334]==_0xfc29xa){_0xfc29x2[_0xa1fe[1334]]()}else {if(_0xa1fe[1336]==_0xfc29xa){_0xfc29x2[_0xa1fe[1336]]()}else {if(_0xa1fe[1307]==_0xfc29xa){_0xfc29x2[_0xa1fe[1250]](Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[117]))*_0xfc29x16)}else {if(_0xa1fe[648]==_0xfc29xa){_0xfc29x2[_0xa1fe[1251]](_0xa1fe[500]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[648]))}else {if(_0xa1fe[1308]==_0xfc29xa){if(_0xfc29x4=_0xfc29x4[_0xa1fe[284]](_0xa1fe[1309]),null!=_0xfc29x4){_0xfc29x4=_0xfc29x4[_0xa1fe[224]](_0xa1fe[185]);_0xfc29x14=[];for(_0xfc29x15=0;_0xfc29x15<_0xfc29x4[_0xa1fe[67]];_0xfc29x15++){0<_0xfc29x4[_0xfc29x15][_0xa1fe[67]]&&_0xfc29x14[_0xa1fe[207]](Number(_0xfc29x4[_0xfc29x15])*_0xfc29x16)};_0xfc29x4=_0xfc29x14[_0xa1fe[234]](_0xa1fe[185]);_0xfc29x2[_0xa1fe[1252]](_0xfc29x4)}}else {_0xa1fe[1306]==_0xfc29xa?_0xfc29x2[_0xa1fe[1249]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[352])):_0xa1fe[1310]==_0xfc29xa?_0xfc29x2[_0xa1fe[1253]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[1311])):_0xa1fe[1312]==_0xfc29xa?_0xfc29x2[_0xa1fe[1255]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[234])):_0xa1fe[1313]==_0xfc29xa?_0xfc29x2[_0xa1fe[1257]](Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[1314]))):_0xa1fe[1298]==_0xfc29xa?_0xfc29x2[_0xa1fe[1245]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[352])):_0xa1fe[1244]==_0xfc29xa?_0xfc29x2[_0xa1fe[1243]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[1244])):_0xa1fe[1315]==_0xfc29xa?_0xfc29x2[_0xa1fe[1259]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[352])):_0xa1fe[1318]==_0xfc29xa?_0xfc29x2[_0xa1fe[1266]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[124])):_0xa1fe[1287]==_0xfc29xa?_0xfc29x2[_0xa1fe[1265]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[1288])):_0xa1fe[1289]==_0xfc29xa&&_0xfc29x2[_0xa1fe[1264]](Number(_0xfc29x4[_0xa1fe[284]](_0xa1fe[803]))*_0xfc29x16)}}}}}}}}}}}}}}}}}}}}};_0xfc29x9&&(_0xa1fe[1338]==_0xfc29xa||_0xa1fe[1334]==_0xfc29xa||_0xa1fe[1336]==_0xfc29xa)&&_0xfc29x2[_0xa1fe[1267]](!1)};function mxShape(_0xfc29x2){this[_0xa1fe[1561]]=_0xfc29x2;this[_0xa1fe[1307]]=1;this[_0xa1fe[603]]=0;this[_0xa1fe[461]]=100;this[_0xa1fe[624]]=this[_0xa1fe[623]]= !1}mxShape[_0xa1fe[202]][_0xa1fe[507]]=null;mxShape[_0xa1fe[202]][_0xa1fe[255]]=1;mxShape[_0xa1fe[202]][_0xa1fe[1562]]=null;mxShape[_0xa1fe[202]][_0xa1fe[1525]]=null;mxShape[_0xa1fe[202]][_0xa1fe[252]]=null;mxShape[_0xa1fe[202]][_0xa1fe[124]]=null;mxShape[_0xa1fe[202]][_0xa1fe[124]]=null;mxShape[_0xa1fe[202]][_0xa1fe[1563]]=null;mxShape[_0xa1fe[202]][_0xa1fe[1561]]=null;mxShape[_0xa1fe[202]][_0xa1fe[1564]]=6;mxShape[_0xa1fe[202]][_0xa1fe[1229]]= !0;mxShape[_0xa1fe[202]][_0xa1fe[1565]]= !1;mxShape[_0xa1fe[202]][_0xa1fe[1460]]=1;mxShape[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2){null==this[_0xa1fe[252]]&&(this[_0xa1fe[252]]=this[_0xa1fe[385]](_0xfc29x2),null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[62]](this[_0xa1fe[252]]))};mxShape[_0xa1fe[202]][_0xa1fe[1566]]=function(){return !0};mxShape[_0xa1fe[202]][_0xa1fe[1567]]=function(){return !1};mxShape[_0xa1fe[202]][_0xa1fe[1568]]=function(){return 1==mxUtils[_0xa1fe[1454]](Math[_0xa1fe[160]](1,Math[_0xa1fe[488]](this[_0xa1fe[1307]]*this[_0xa1fe[255]])),2)?0.5:0};mxShape[_0xa1fe[202]][_0xa1fe[385]]=function(_0xfc29x2){var _0xfc29x3=null;return _0xfc29x3=null!=_0xfc29x2[_0xa1fe[538]]?this[_0xa1fe[1569]](_0xfc29x2):8==document[_0xa1fe[5]]||this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]||this[_0xa1fe[507]]!=mxConstants[_0xa1fe[1523]]&&this[_0xa1fe[1567]]()?this[_0xa1fe[1570]](_0xfc29x2):this[_0xa1fe[1571]](_0xfc29x2)};mxShape[_0xa1fe[202]][_0xa1fe[1569]]=function(){return document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449])};mxShape[_0xa1fe[202]][_0xa1fe[1571]]=function(){var _0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1499]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1570]]=function(){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1572]]=function(){this[_0xa1fe[258]]()};mxShape[_0xa1fe[202]][_0xa1fe[258]]=function(){this[_0xa1fe[1573]]();this[_0xa1fe[1574]]()?(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110],_0xa1fe[529]==this[_0xa1fe[252]][_0xa1fe[301]]&&this[_0xa1fe[1567]]()?this[_0xa1fe[1575]]():this[_0xa1fe[1576]](),this[_0xa1fe[1577]]()):(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],this[_0xa1fe[1563]]=null)};mxShape[_0xa1fe[202]][_0xa1fe[1573]]=function(){var _0xfc29x2=this[_0xa1fe[1525]];if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]&&null!=_0xfc29x2[0]){this[_0xa1fe[1562]]= new mxRectangle(Number(_0xfc29x2[0][_0xa1fe[235]]),Number(_0xfc29x2[0][_0xa1fe[236]]),1,1);for(var _0xfc29x3=1;_0xfc29x3<this[_0xa1fe[1525]][_0xa1fe[67]];_0xfc29x3++){null!=_0xfc29x2[_0xfc29x3]&&this[_0xa1fe[1562]][_0xa1fe[99]]( new mxRectangle(Number(_0xfc29x2[_0xfc29x3][_0xa1fe[235]]),Number(_0xfc29x2[_0xfc29x3][_0xa1fe[236]]),1,1))}}};mxShape[_0xa1fe[202]][_0xa1fe[1574]]=function(){return null!=this[_0xa1fe[1562]]&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[235]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[236]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[117]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[119]])&&0<this[_0xa1fe[1562]][_0xa1fe[117]]&&0<this[_0xa1fe[1562]][_0xa1fe[119]]};mxShape[_0xa1fe[202]][_0xa1fe[1578]]=function(){var _0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1499]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[117]];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[119]];return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1576]]=function(){var _0xfc29x2=this[_0xa1fe[1579]]();for(_0xfc29x2[_0xa1fe[1229]]=this[_0xa1fe[1229]];this[_0xa1fe[252]][_0xa1fe[1580]]();){this[_0xa1fe[252]][_0xa1fe[266]](this[_0xa1fe[252]][_0xa1fe[1581]])};this[_0xa1fe[1209]](_0xfc29x2);this[_0xa1fe[252]]!=_0xfc29x2[_0xa1fe[813]]&&this[_0xa1fe[252]][_0xa1fe[1583]](_0xa1fe[1582],_0xfc29x2[_0xa1fe[813]][_0xa1fe[342]]);_0xa1fe[529]==this[_0xa1fe[252]][_0xa1fe[301]]&&8==document[_0xa1fe[5]]&&(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[347]]=_0xa1fe[110],(null==this[_0xa1fe[1561]]||!this[_0xa1fe[1565]])&&mxUtils[_0xa1fe[1584]](this[_0xa1fe[252]]));this[_0xa1fe[1585]](_0xfc29x2)};mxShape[_0xa1fe[202]][_0xa1fe[1579]]=function(){var _0xfc29x2=null,_0xfc29x3=null;if(null!=this[_0xa1fe[252]][_0xa1fe[538]]){_0xfc29x2= new mxSvgCanvas2D(this[_0xa1fe[252]],!1),_0xfc29x2[_0xa1fe[1345]]=this[_0xa1fe[1564]],_0xfc29x2[_0xa1fe[1347]]=mxClient[_0xa1fe[133]]&&!mxClient[_0xa1fe[75]]&&!mxClient[_0xa1fe[76]],_0xfc29x3=this[_0xa1fe[1568]](),0!=_0xfc29x3?this[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+_0xfc29x3+_0xa1fe[537]+_0xfc29x3+_0xa1fe[460]):this[_0xa1fe[252]][_0xa1fe[1390]](_0xa1fe[535])}else {this[_0xa1fe[1586]]();var _0xfc29x4=Math[_0xa1fe[160]](1,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[117]])),_0xfc29x5=Math[_0xa1fe[160]](1,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[119]])),_0xfc29x3=8==document[_0xa1fe[5]]&&this[_0xa1fe[1566]]()?this[_0xa1fe[1578]]():this[_0xa1fe[252]],_0xfc29x2= new mxVmlCanvas2D(_0xfc29x3,!1);_0xa1fe[110]!=_0xfc29x3[_0xa1fe[337]]&&(_0xfc29x3[_0xa1fe[1462]]=_0xfc29x4*this[_0xa1fe[1460]]+_0xa1fe[537]+_0xfc29x5*this[_0xa1fe[1460]],_0xfc29x2[_0xa1fe[255]](this[_0xa1fe[1460]]),_0xfc29x2[_0xa1fe[1460]]=this[_0xa1fe[1460]]);_0xfc29x3=this[_0xa1fe[255]];_0xfc29x2[_0xa1fe[513]](-Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]]/_0xfc29x3),-Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]]/_0xfc29x3))};return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1586]]=function(){this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]])+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]])+_0xa1fe[168];var _0xfc29x2=Math[_0xa1fe[160]](1,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[117]])),_0xfc29x3=Math[_0xa1fe[160]](1,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[119]]));this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[189]};mxShape[_0xa1fe[202]][_0xa1fe[1585]]=function(_0xfc29x2){if(_0xfc29x2 instanceof mxSvgCanvas2D){for(var _0xfc29x3 in _0xfc29x2[_0xa1fe[1339]]){var _0xfc29x4=_0xfc29x2[_0xa1fe[1339]][_0xfc29x3];_0xfc29x4[_0xa1fe[1587]]=(_0xfc29x4[_0xa1fe[1587]]||0)+1};this[_0xa1fe[1589]](this[_0xa1fe[1588]]);this[_0xa1fe[1588]]=_0xfc29x2[_0xa1fe[1339]]}};mxShape[_0xa1fe[202]][_0xa1fe[1209]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[1562]][_0xa1fe[235]]/_0xfc29x3,_0xfc29x5=this[_0xa1fe[1562]][_0xa1fe[236]]/_0xfc29x3,_0xfc29x9=this[_0xa1fe[1562]][_0xa1fe[117]]/_0xfc29x3,_0xfc29xa=this[_0xa1fe[1562]][_0xa1fe[119]]/_0xfc29x3;if(this[_0xa1fe[1590]]()){var _0xfc29x12=(_0xfc29x9-_0xfc29xa)/2,_0xfc29x4=_0xfc29x4+_0xfc29x12,_0xfc29x5=_0xfc29x5-_0xfc29x12,_0xfc29x12=_0xfc29x9,_0xfc29x9=_0xfc29xa,_0xfc29xa=_0xfc29x12};this[_0xa1fe[1591]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa);this[_0xa1fe[1592]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa);if(null!=this[_0xa1fe[1561]]){this[_0xa1fe[1593]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa)}else {if(_0xfc29x2[_0xa1fe[1250]](this[_0xa1fe[1307]]),null!=this[_0xa1fe[1525]]){_0xfc29x4=[];for(_0xfc29x5=0;_0xfc29x5<this[_0xa1fe[1525]][_0xa1fe[67]];_0xfc29x5++){_0xfc29x4[_0xa1fe[207]]( new mxPoint(this[_0xa1fe[1525]][_0xfc29x5][_0xa1fe[235]]/_0xfc29x3,this[_0xa1fe[1525]][_0xfc29x5][_0xa1fe[236]]/_0xfc29x3))};this[_0xa1fe[1594]](_0xfc29x2,_0xfc29x4)}else {this[_0xa1fe[1595]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa)}}};mxShape[_0xa1fe[202]][_0xa1fe[1592]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=null;null!=this[_0xa1fe[124]]&&(_0xfc29xa=this[_0xa1fe[124]][_0xa1fe[649]]);_0xfc29x2[_0xa1fe[1243]](this[_0xa1fe[461]]/100);null!=this[_0xa1fe[1596]]&&_0xfc29x2[_0xa1fe[1267]](this[_0xa1fe[1596]]);null!=this[_0xa1fe[1522]]&&_0xfc29x2[_0xa1fe[1251]](this[_0xa1fe[1522]]);null!=_0xfc29xa&&_0xfc29x2[_0xa1fe[1252]](_0xfc29xa);null!=this[_0xa1fe[1299]]?(_0xfc29x3=this[_0xa1fe[1597]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[1246]](this[_0xa1fe[1334]],this[_0xa1fe[1299]],_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]],this[_0xa1fe[607]])):_0xfc29x2[_0xa1fe[1245]](this[_0xa1fe[1334]]);_0xfc29x2[_0xa1fe[1249]](this[_0xa1fe[1336]])};mxShape[_0xa1fe[202]][_0xa1fe[1597]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return new mxRectangle(_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)};mxShape[_0xa1fe[202]][_0xa1fe[1591]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[255]](this[_0xa1fe[255]]);_0xfc29x2[_0xa1fe[1294]](this[_0xa1fe[1598]](),this[_0xa1fe[623]],this[_0xa1fe[624]],_0xfc29x3+_0xfc29x5/2,_0xfc29x4+_0xfc29x9/2)};mxShape[_0xa1fe[202]][_0xa1fe[1593]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){this[_0xa1fe[1565]]&&(this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?this[_0xa1fe[1599]](this[_0xa1fe[252]],_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9):8!=document[_0xa1fe[5]]&&this[_0xa1fe[1600]](this[_0xa1fe[252]]));this[_0xa1fe[1561]][_0xa1fe[1546]](_0xfc29x2,this,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)};mxShape[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){this[_0xa1fe[1601]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1267]](!1);this[_0xa1fe[1602]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)};mxShape[_0xa1fe[202]][_0xa1fe[1601]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){};mxShape[_0xa1fe[202]][_0xa1fe[1602]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){};mxShape[_0xa1fe[202]][_0xa1fe[1594]]=function(_0xfc29x2,_0xfc29x3){};mxShape[_0xa1fe[202]][_0xa1fe[1603]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0xa1fe[1557]])/100;return Math[_0xa1fe[243]](_0xfc29x2*_0xfc29x4,_0xfc29x3*_0xfc29x4)};mxShape[_0xa1fe[202]][_0xa1fe[1604]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=Math[_0xa1fe[430]](this[_0xa1fe[1307]]/2);_0xfc29x2[_0xa1fe[1246]](_0xa1fe[1605],_0xa1fe[1605],_0xfc29x3,_0xfc29x4,_0xfc29x5,0.6*_0xfc29x9,_0xa1fe[701],0.9,0.1);_0xfc29x2[_0xa1fe[1275]]();_0xfc29xa+=2*_0xfc29x12;this[_0xa1fe[1606]]?(_0xfc29x2[_0xa1fe[1276]](_0xfc29x3-_0xfc29x12+_0xfc29xa,_0xfc29x4-_0xfc29x12),_0xfc29x2[_0xa1fe[1278]](_0xfc29x3-_0xfc29x12,_0xfc29x4-_0xfc29x12,_0xfc29x3-_0xfc29x12,_0xfc29x4-_0xfc29x12+_0xfc29xa),_0xfc29x2[_0xa1fe[1277]](_0xfc29x3-_0xfc29x12,_0xfc29x4+0.4*_0xfc29x9),_0xfc29x2[_0xa1fe[1278]](_0xfc29x3+0.5*_0xfc29x5,_0xfc29x4+0.7*_0xfc29x9,_0xfc29x3+_0xfc29x5+_0xfc29x12,_0xfc29x4+0.4*_0xfc29x9),_0xfc29x2[_0xa1fe[1277]](_0xfc29x3+_0xfc29x5+_0xfc29x12,_0xfc29x4-_0xfc29x12+_0xfc29xa),_0xfc29x2[_0xa1fe[1278]](_0xfc29x3+_0xfc29x5+_0xfc29x12,_0xfc29x4-_0xfc29x12,_0xfc29x3+_0xfc29x5+_0xfc29x12-_0xfc29xa,_0xfc29x4-_0xfc29x12)):(_0xfc29x2[_0xa1fe[1276]](_0xfc29x3-_0xfc29x12,_0xfc29x4-_0xfc29x12),_0xfc29x2[_0xa1fe[1277]](_0xfc29x3-_0xfc29x12,_0xfc29x4+0.4*_0xfc29x9),_0xfc29x2[_0xa1fe[1278]](_0xfc29x3+0.5*_0xfc29x5,_0xfc29x4+0.7*_0xfc29x9,_0xfc29x3+_0xfc29x5+_0xfc29x12,_0xfc29x4+0.4*_0xfc29x9),_0xfc29x2[_0xa1fe[1277]](_0xfc29x3+_0xfc29x5+_0xfc29x12,_0xfc29x4-_0xfc29x12));_0xfc29x2[_0xa1fe[268]]();_0xfc29x2[_0xa1fe[1334]]()};mxShape[_0xa1fe[202]][_0xa1fe[183]]=function(_0xfc29x2){this[_0xa1fe[724]]=_0xfc29x2;this[_0xa1fe[124]]=_0xfc29x2[_0xa1fe[124]];if(null!=this[_0xa1fe[124]]){this[_0xa1fe[1334]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_FILLCOLOR,this[_0xa1fe[1334]]);this[_0xa1fe[1299]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_GRADIENTCOLOR,this[_0xa1fe[1299]]);this[_0xa1fe[607]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_GRADIENT_DIRECTION,this[_0xa1fe[607]]);this[_0xa1fe[461]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_OPACITY,this[_0xa1fe[461]]);this[_0xa1fe[1336]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_STROKECOLOR,this[_0xa1fe[1336]]);this[_0xa1fe[1307]]=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_STROKEWIDTH,this[_0xa1fe[1307]]);this[_0xa1fe[657]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_SPACING,this[_0xa1fe[657]]);this[_0xa1fe[644]]=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_STARTSIZE,this[_0xa1fe[644]]);this[_0xa1fe[643]]=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_ENDSIZE,this[_0xa1fe[643]]);this[_0xa1fe[642]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_STARTARROW,this[_0xa1fe[642]]);this[_0xa1fe[641]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ENDARROW,this[_0xa1fe[641]]);this[_0xa1fe[603]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ROTATION,this[_0xa1fe[603]]);this[_0xa1fe[663]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_DIRECTION,this[_0xa1fe[663]]);this[_0xa1fe[623]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_FLIPH,0);this[_0xa1fe[624]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_FLIPV,0);null!=this[_0xa1fe[1561]]&&(this[_0xa1fe[623]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],_0xa1fe[1607],0)||this[_0xa1fe[623]],this[_0xa1fe[624]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],_0xa1fe[1608],0)||this[_0xa1fe[624]]);if(_0xa1fe[700]==this[_0xa1fe[663]]||_0xa1fe[701]==this[_0xa1fe[663]]){_0xfc29x2=this[_0xa1fe[623]],this[_0xa1fe[623]]=this[_0xa1fe[624]],this[_0xa1fe[624]]=_0xfc29x2};this[_0xa1fe[1596]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_SHADOW,this[_0xa1fe[1596]]);this[_0xa1fe[1522]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_DASHED,this[_0xa1fe[1522]]);this[_0xa1fe[1606]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ROUNDED,this[_0xa1fe[1606]]);this[_0xa1fe[617]]=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_GLASS,this[_0xa1fe[617]]);_0xa1fe[130]==this[_0xa1fe[1334]]&&(this[_0xa1fe[1334]]=null);_0xa1fe[130]==this[_0xa1fe[1299]]&&(this[_0xa1fe[1299]]=null);_0xa1fe[130]==this[_0xa1fe[1336]]&&(this[_0xa1fe[1336]]=null)}};mxShape[_0xa1fe[202]][_0xa1fe[1609]]=function(_0xfc29x2){null==_0xfc29x2&&(_0xfc29x2=_0xa1fe[110]);this[_0xa1fe[270]]=_0xfc29x2;null!=this[_0xa1fe[252]]&&(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xfc29x2)};mxShape[_0xa1fe[202]][_0xa1fe[1610]]=function(){return this[_0xa1fe[270]]};mxShape[_0xa1fe[202]][_0xa1fe[1577]]=function(){if(null!=this[_0xa1fe[1562]]){var _0xfc29x2=this[_0xa1fe[1611]]();if(null!=_0xfc29x2){this[_0xa1fe[1612]](_0xfc29x2);var _0xfc29x3=this[_0xa1fe[1598]]();0!=_0xfc29x3&&(_0xfc29x2=mxUtils[_0xa1fe[1613]](_0xfc29x2,_0xfc29x3));_0xfc29x2[_0xa1fe[235]]=Math[_0xa1fe[519]](_0xfc29x2[_0xa1fe[235]]);_0xfc29x2[_0xa1fe[236]]=Math[_0xa1fe[519]](_0xfc29x2[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[117]]=Math[_0xa1fe[430]](_0xfc29x2[_0xa1fe[117]]);_0xfc29x2[_0xa1fe[119]]=Math[_0xa1fe[430]](_0xfc29x2[_0xa1fe[119]])};this[_0xa1fe[1563]]=_0xfc29x2}};mxShape[_0xa1fe[202]][_0xa1fe[1611]]=function(){var _0xfc29x2=this[_0xa1fe[1562]][_0xa1fe[238]]();if(this[_0xa1fe[1590]]()){var _0xfc29x3=(_0xfc29x2[_0xa1fe[117]]-_0xfc29x2[_0xa1fe[119]])/2;_0xfc29x2[_0xa1fe[235]]+=_0xfc29x3;_0xfc29x2[_0xa1fe[236]]-=_0xfc29x3;_0xfc29x3=_0xfc29x2[_0xa1fe[117]];_0xfc29x2[_0xa1fe[117]]=_0xfc29x2[_0xa1fe[119]];_0xfc29x2[_0xa1fe[119]]=_0xfc29x3};return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1612]]=function(_0xfc29x2){this[_0xa1fe[1596]]&&(_0xfc29x2[_0xa1fe[117]]+=Math[_0xa1fe[430]](mxConstants[_0xa1fe[1237]]*this[_0xa1fe[255]]),_0xfc29x2[_0xa1fe[119]]+=Math[_0xa1fe[430]](mxConstants[_0xa1fe[1238]]*this[_0xa1fe[255]]));var _0xfc29x3=Math[_0xa1fe[430]](this[_0xa1fe[1307]]*this[_0xa1fe[255]]);_0xfc29x2[_0xa1fe[244]](Math[_0xa1fe[430]](_0xfc29x3/2))};mxShape[_0xa1fe[202]][_0xa1fe[1590]]=function(){return null==this[_0xa1fe[1561]]&&(_0xa1fe[700]==this[_0xa1fe[663]]||_0xa1fe[701]==this[_0xa1fe[663]])};mxShape[_0xa1fe[202]][_0xa1fe[1614]]=function(){return null!=this[_0xa1fe[603]]?this[_0xa1fe[603]]:0};mxShape[_0xa1fe[202]][_0xa1fe[1615]]=function(){var _0xfc29x2=this[_0xa1fe[1614]]();1!=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_HORIZONTAL,1)&&(_0xfc29x2+=mxText[_0xa1fe[202]][_0xa1fe[1616]]);return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1598]]=function(){var _0xfc29x2=this[_0xa1fe[1614]]();null!=this[_0xa1fe[663]]&&(_0xa1fe[700]==this[_0xa1fe[663]]?_0xfc29x2+=270:_0xa1fe[703]==this[_0xa1fe[663]]?_0xfc29x2+=180:_0xa1fe[701]==this[_0xa1fe[663]]&&(_0xfc29x2+=90));return _0xfc29x2};mxShape[_0xa1fe[202]][_0xa1fe[1599]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[1319]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[235],_0xfc29x3);_0xfc29x2[_0xa1fe[57]](_0xa1fe[236],_0xfc29x4);_0xfc29x2[_0xa1fe[57]](_0xa1fe[117],_0xfc29x5);_0xfc29x2[_0xa1fe[57]](_0xa1fe[119],_0xfc29x9);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1334],_0xa1fe[130]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1336],_0xa1fe[130]);_0xfc29x2[_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[1378]);this[_0xa1fe[252]][_0xa1fe[62]](_0xfc29x2)};mxShape[_0xa1fe[202]][_0xa1fe[1600]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[124]][_0xa1fe[1617]]=_0xa1fe[1618]+mxClient[_0xa1fe[88]]+_0xa1fe[1619]};mxShape[_0xa1fe[202]][_0xa1fe[1589]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3 in _0xfc29x2){var _0xfc29x4=_0xfc29x2[_0xfc29x3];_0xfc29x4[_0xa1fe[1587]]=(_0xfc29x4[_0xa1fe[1587]]||0)-1;0==_0xfc29x4[_0xa1fe[1587]]&&null!=_0xfc29x4[_0xa1fe[265]]&&_0xfc29x4[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x4)}}};mxShape[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[252]]&&(mxEvent[_0xa1fe[762]](this[_0xa1fe[252]]),null!=this[_0xa1fe[252]][_0xa1fe[265]]&&this[_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[252]]),this[_0xa1fe[252]]=null);this[_0xa1fe[1589]](this[_0xa1fe[1588]]);this[_0xa1fe[1588]]=null};var mxStencilRegistry={stencils:[],addStencil:function(_0xfc29x2,_0xfc29x3){mxStencilRegistry[_0xa1fe[1620]][_0xfc29x2]=_0xfc29x3},getStencil:function(_0xfc29x2){return mxStencilRegistry[_0xa1fe[1620]][_0xfc29x2]}},mxMarker={markers:[],addMarker:function(_0xfc29x2,_0xfc29x3){mxMarker[_0xa1fe[1621]][_0xfc29x2]=_0xfc29x3},createMarker:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15){var _0xfc29x16=mxMarker[_0xa1fe[1621]][_0xfc29x4];return null!=_0xfc29x16?_0xfc29x16(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15):null}};(function(){function _0xfc29x2(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){_0xfc29x3=1.118*_0xfc29x12*_0xfc29x16;_0xfc29x15=1.118*_0xfc29x13*_0xfc29x16;_0xfc29x12*=_0xfc29x14+_0xfc29x16;_0xfc29x13*=_0xfc29x14+_0xfc29x16;var _0xfc29x18=_0xfc29xa[_0xa1fe[238]]();_0xfc29x18[_0xa1fe[235]]-=_0xfc29x3;_0xfc29x18[_0xa1fe[236]]-=_0xfc29x15;_0xfc29x14=_0xfc29x9!=mxConstants[_0xa1fe[1622]]?1:0.75;_0xfc29xa[_0xa1fe[235]]+=-_0xfc29x12*_0xfc29x14-_0xfc29x3;_0xfc29xa[_0xa1fe[236]]+=-_0xfc29x13*_0xfc29x14-_0xfc29x15;return function(){_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x18[_0xa1fe[235]],_0xfc29x18[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]-_0xfc29x12-_0xfc29x13/2,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13+_0xfc29x12/2);_0xfc29x9==mxConstants[_0xa1fe[1622]]&&_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]-3*_0xfc29x12/4,_0xfc29x18[_0xa1fe[236]]-3*_0xfc29x13/4);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]+_0xfc29x13/2-_0xfc29x12,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13-_0xfc29x12/2);_0xfc29x2[_0xa1fe[268]]();_0xfc29x17?_0xfc29x2[_0xa1fe[1337]]():_0xfc29x2[_0xa1fe[1336]]()}}function _0xfc29x3(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){_0xfc29x15=_0xfc29x9==mxConstants[_0xa1fe[1623]]?0.7071:0.9862;_0xfc29x3=_0xfc29x12*_0xfc29x16*_0xfc29x15;_0xfc29x15*=_0xfc29x13*_0xfc29x16;_0xfc29x12*=_0xfc29x14+_0xfc29x16;_0xfc29x13*=_0xfc29x14+_0xfc29x16;var _0xfc29x18=_0xfc29xa[_0xa1fe[238]]();_0xfc29x18[_0xa1fe[235]]-=_0xfc29x3;_0xfc29x18[_0xa1fe[236]]-=_0xfc29x15;_0xfc29xa[_0xa1fe[235]]+=-_0xfc29x12-_0xfc29x3;_0xfc29xa[_0xa1fe[236]]+=-_0xfc29x13-_0xfc29x15;var _0xfc29x19=_0xfc29x9==mxConstants[_0xa1fe[1623]]?2:3.4;return function(){_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x18[_0xa1fe[235]],_0xfc29x18[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]-_0xfc29x12/2-_0xfc29x13/_0xfc29x19,_0xfc29x18[_0xa1fe[236]]+_0xfc29x12/_0xfc29x19-_0xfc29x13/2);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]-_0xfc29x12,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]-_0xfc29x12/2+_0xfc29x13/_0xfc29x19,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13/2-_0xfc29x12/_0xfc29x19);_0xfc29x2[_0xa1fe[268]]();_0xfc29x17?_0xfc29x2[_0xa1fe[1337]]():_0xfc29x2[_0xa1fe[1336]]()}}mxMarker[_0xa1fe[1624]](_0xa1fe[693],_0xfc29x2);mxMarker[_0xa1fe[1624]](_0xa1fe[694],_0xfc29x2);mxMarker[_0xa1fe[1624]](_0xa1fe[392],function(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){_0xfc29x3=1.118*_0xfc29x12*_0xfc29x16;_0xfc29x9=1.118*_0xfc29x13*_0xfc29x16;_0xfc29x12*=_0xfc29x14+_0xfc29x16;_0xfc29x13*=_0xfc29x14+_0xfc29x16;var _0xfc29x18=_0xfc29xa[_0xa1fe[238]]();_0xfc29x18[_0xa1fe[235]]-=_0xfc29x3;_0xfc29x18[_0xa1fe[236]]-=_0xfc29x9;_0xfc29xa[_0xa1fe[235]]+=2* -_0xfc29x3;_0xfc29xa[_0xa1fe[236]]+=2* -_0xfc29x9;return function(){_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x18[_0xa1fe[235]]-_0xfc29x12-_0xfc29x13/2,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13+_0xfc29x12/2);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]],_0xfc29x18[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[1277]](_0xfc29x18[_0xa1fe[235]]+_0xfc29x13/2-_0xfc29x12,_0xfc29x18[_0xa1fe[236]]-_0xfc29x13-_0xfc29x12/2);_0xfc29x2[_0xa1fe[1336]]()}});mxMarker[_0xa1fe[1624]](_0xa1fe[695],function(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17){var _0xfc29x18=_0xfc29x14/2,_0xfc29x19=_0xfc29xa[_0xa1fe[238]]();_0xfc29xa[_0xa1fe[235]]-=_0xfc29x12*_0xfc29x18;_0xfc29xa[_0xa1fe[236]]-=_0xfc29x13*_0xfc29x18;return function(){_0xfc29x2[_0xa1fe[680]](_0xfc29x19[_0xa1fe[235]]-_0xfc29x18,_0xfc29x19[_0xa1fe[236]]-_0xfc29x18,_0xfc29x14,_0xfc29x14);_0xfc29x17?_0xfc29x2[_0xa1fe[1337]]():_0xfc29x2[_0xa1fe[1336]]()}});mxMarker[_0xa1fe[1624]](_0xa1fe[696],_0xfc29x3);mxMarker[_0xa1fe[1624]](_0xa1fe[697],_0xfc29x3)})();function mxActor(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxActor,mxShape);mxActor[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[513]](_0xfc29x3,_0xfc29x4);_0xfc29x2[_0xa1fe[1275]]();this[_0xa1fe[1625]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1337]]()};mxActor[_0xa1fe[202]][_0xa1fe[1625]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x3=_0xfc29x5/3;_0xfc29x2[_0xa1fe[1276]](0,_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](0,3*_0xfc29x9/5,0,2*_0xfc29x9/5,_0xfc29x5/2,2*_0xfc29x9/5);_0xfc29x2[_0xa1fe[1279]](_0xfc29x5/2-_0xfc29x3,2*_0xfc29x9/5,_0xfc29x5/2-_0xfc29x3,0,_0xfc29x5/2,0);_0xfc29x2[_0xa1fe[1279]](_0xfc29x5/2+_0xfc29x3,0,_0xfc29x5/2+_0xfc29x3,2*_0xfc29x9/5,_0xfc29x5/2,2*_0xfc29x9/5);_0xfc29x2[_0xa1fe[1279]](_0xfc29x5,2*_0xfc29x9/5,_0xfc29x5,3*_0xfc29x9/5,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[268]]()};function mxCloud(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxActor[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxCloud,mxActor);mxCloud[_0xa1fe[202]][_0xa1fe[1625]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[1276]](0.25*_0xfc29x5,0.25*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](0.05*_0xfc29x5,0.25*_0xfc29x9,0,0.5*_0xfc29x9,0.16*_0xfc29x5,0.55*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](0,0.66*_0xfc29x9,0.18*_0xfc29x5,0.9*_0xfc29x9,0.31*_0xfc29x5,0.8*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](0.4*_0xfc29x5,_0xfc29x9,0.7*_0xfc29x5,_0xfc29x9,0.8*_0xfc29x5,0.8*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](_0xfc29x5,0.8*_0xfc29x9,_0xfc29x5,0.6*_0xfc29x9,0.875*_0xfc29x5,0.5*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](_0xfc29x5,0.3*_0xfc29x9,0.8*_0xfc29x5,0.1*_0xfc29x9,0.625*_0xfc29x5,0.2*_0xfc29x9);_0xfc29x2[_0xa1fe[1279]](0.5*_0xfc29x5,0.05*_0xfc29x9,0.3*_0xfc29x5,0.05*_0xfc29x9,0.25*_0xfc29x5,0.25*_0xfc29x9);_0xfc29x2[_0xa1fe[268]]()};function mxRectangleShape(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxRectangleShape,mxShape);mxRectangleShape[_0xa1fe[202]][_0xa1fe[1567]]=function(){return !this[_0xa1fe[1606]]&&!this[_0xa1fe[617]]&&0==this[_0xa1fe[603]]};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1601]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(this[_0xa1fe[1606]]){var _0xfc29xa=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0xa1fe[1557]])/100,_0xfc29xa=Math[_0xa1fe[243]](_0xfc29x5*_0xfc29xa,_0xfc29x9*_0xfc29xa);_0xfc29x2[_0xa1fe[1320]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29xa)}else {_0xfc29x2[_0xa1fe[1319]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)};_0xfc29x2[_0xa1fe[1337]]()};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1602]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){this[_0xa1fe[617]]&&this[_0xa1fe[1604]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,this[_0xa1fe[1603]](_0xfc29x5+this[_0xa1fe[1307]],_0xfc29x9+this[_0xa1fe[1307]]))};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1575]]=function(){this[_0xa1fe[1626]](this[_0xa1fe[252]]);this[_0xa1fe[1627]](this[_0xa1fe[252]]);this[_0xa1fe[1628]](this[_0xa1fe[252]])};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1626]]=function(_0xfc29x2){var _0xfc29x3=9<=document[_0xa1fe[5]]?0:Math[_0xa1fe[430]](this[_0xa1fe[1307]]*this[_0xa1fe[255]]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[1629]]=Math[_0xa1fe[160]](1,_0xfc29x3)+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[188];_0xfc29x2[_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]]-_0xfc29x3/2)+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]]-_0xfc29x3/2)+_0xa1fe[168];_0xa1fe[462]==document[_0xa1fe[135]]&&(_0xfc29x3= -_0xfc29x3);_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[488]](Math[_0xa1fe[160]](0,this[_0xa1fe[1562]][_0xa1fe[117]]+_0xfc29x3))+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[488]](Math[_0xa1fe[160]](0,this[_0xa1fe[1562]][_0xa1fe[119]]+_0xfc29x3))+_0xa1fe[168]};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1628]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1336]];null!=_0xfc29x3&&_0xfc29x3!=mxConstants[_0xa1fe[217]]?(_0xfc29x2[_0xa1fe[124]][_0xa1fe[1630]]=_0xfc29x3,this[_0xa1fe[1522]]?_0xfc29x2[_0xa1fe[124]][_0xa1fe[465]]=_0xa1fe[648]:0<this[_0xa1fe[1307]]&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[465]]=_0xa1fe[1631]),_0xfc29x2[_0xa1fe[124]][_0xa1fe[1629]]=Math[_0xa1fe[160]](1,Math[_0xa1fe[430]](this[_0xa1fe[1307]]*this[_0xa1fe[255]]))+_0xa1fe[168]):_0xfc29x2[_0xa1fe[124]][_0xa1fe[1629]]=_0xa1fe[946];_0xfc29x3=this[_0xa1fe[1334]];null!=_0xfc29x3&&_0xfc29x3!=mxConstants[_0xa1fe[217]]?(_0xfc29x2[_0xa1fe[124]][_0xa1fe[1028]]=_0xfc29x3,_0xfc29x2[_0xa1fe[124]][_0xa1fe[1617]]=_0xa1fe[130]):this[_0xa1fe[1229]]?_0xfc29x2[_0xa1fe[124]][_0xa1fe[1028]]=_0xa1fe[1373]:8==document[_0xa1fe[5]]?mxUtils[_0xa1fe[1584]](_0xfc29x2):this[_0xa1fe[1600]](_0xfc29x2)};mxRectangleShape[_0xa1fe[202]][_0xa1fe[1627]]=function(_0xfc29x2){var _0xfc29x3=_0xa1fe[110];100>this[_0xa1fe[461]]&&(_0xfc29x3+=_0xa1fe[459]+this[_0xa1fe[461]]+_0xa1fe[460]);this[_0xa1fe[1596]]&&(_0xfc29x3+=_0xa1fe[1632]+Math[_0xa1fe[488]](mxConstants[_0xa1fe[1237]]*this[_0xa1fe[255]])+_0xa1fe[1633]+Math[_0xa1fe[488]](mxConstants[_0xa1fe[1238]]*this[_0xa1fe[255]])+_0xa1fe[1634]+mxConstants[_0xa1fe[1235]]+_0xa1fe[1635]);if(this[_0xa1fe[1299]]){var _0xfc29x4=this[_0xa1fe[1334]],_0xfc29x5=this[_0xa1fe[1299]],_0xfc29x9=_0xa1fe[468],_0xfc29xa={east:0,south:1,west:2,north:3},_0xfc29x12=null!=this[_0xa1fe[663]]?_0xfc29xa[this[_0xa1fe[663]]]:0;null!=this[_0xa1fe[607]]&&(_0xfc29x12=mxUtils[_0xa1fe[1454]](_0xfc29x12+_0xfc29xa[this[_0xa1fe[607]]]-1,4));1==_0xfc29x12?(_0xfc29x9=_0xa1fe[500],_0xfc29xa=_0xfc29x4,_0xfc29x4=_0xfc29x5,_0xfc29x5=_0xfc29xa):2==_0xfc29x12?(_0xfc29xa=_0xfc29x4,_0xfc29x4=_0xfc29x5,_0xfc29x5=_0xfc29xa):3==_0xfc29x12&&(_0xfc29x9=_0xa1fe[500]);_0xfc29x3+=_0xa1fe[1636]+_0xfc29x4+_0xa1fe[1637]+_0xfc29x5+_0xa1fe[1638]+_0xfc29x9+_0xa1fe[1635]};_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]=_0xfc29x3};function mxEllipse(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxEllipse,mxShape);mxEllipse[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[680]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1337]]()};function mxDoubleEllipse(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxDoubleEllipse,mxShape);mxDoubleEllipse[_0xa1fe[202]][_0xa1fe[1460]]=10;mxDoubleEllipse[_0xa1fe[202]][_0xa1fe[1601]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[680]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1337]]()};mxDoubleEllipse[_0xa1fe[202]][_0xa1fe[1602]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=Math[_0xa1fe[243]](4,Math[_0xa1fe[243]](_0xfc29x5/5,_0xfc29x9/5));_0xfc29x5-=2*_0xfc29xa;_0xfc29x9-=2*_0xfc29xa;0<_0xfc29x5&&0<_0xfc29x9&&_0xfc29x2[_0xa1fe[680]](_0xfc29x3+_0xfc29xa,_0xfc29x4+_0xfc29xa,_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1336]]()};function mxRhombus(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxRhombus,mxShape);mxRhombus[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x5/2,_0xfc29x12=_0xfc29x9/2;_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x3+_0xfc29xa,_0xfc29x4);_0xfc29x2[_0xa1fe[1277]](_0xfc29x3+_0xfc29x5,_0xfc29x4+_0xfc29x12);_0xfc29x2[_0xa1fe[1277]](_0xfc29x3+_0xfc29xa,_0xfc29x4+_0xfc29x9);_0xfc29x2[_0xa1fe[1277]](_0xfc29x3,_0xfc29x4+_0xfc29x12);_0xfc29x2[_0xa1fe[268]]();_0xfc29x2[_0xa1fe[1337]]()};function mxPolyline(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1525]]=_0xfc29x2;this[_0xa1fe[1336]]=_0xfc29x3;this[_0xa1fe[1307]]=null!=_0xfc29x4?_0xfc29x4:1}mxUtils[_0xa1fe[1284]](mxPolyline,mxShape);mxPolyline[_0xa1fe[202]][_0xa1fe[1614]]=function(){return 0};mxPolyline[_0xa1fe[202]][_0xa1fe[1594]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1639]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[1606]])};mxPolyline[_0xa1fe[202]][_0xa1fe[1639]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,_0xfc29x9=_0xfc29x3[0],_0xfc29xa=_0xfc29x3[_0xfc29x3[_0xa1fe[67]]-1];_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]]);for(var _0xfc29x12=1;_0xfc29x12<_0xfc29x3[_0xa1fe[67]]-1;_0xfc29x12++){var _0xfc29x13=_0xfc29x3[_0xfc29x12],_0xfc29x14=_0xfc29x9[_0xa1fe[235]]-_0xfc29x13[_0xa1fe[235]],_0xfc29x9=_0xfc29x9[_0xa1fe[236]]-_0xfc29x13[_0xa1fe[236]];if(_0xfc29x4&&_0xfc29x12<_0xfc29x3[_0xa1fe[67]]-1&&(0!=_0xfc29x14||0!=_0xfc29x9)){var _0xfc29x15=Math[_0xa1fe[428]](_0xfc29x14*_0xfc29x14+_0xfc29x9*_0xfc29x9),_0xfc29x14=_0xfc29x14*Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x15/2)/_0xfc29x15,_0xfc29x9=_0xfc29x9*Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x15/2)/_0xfc29x15;_0xfc29x2[_0xa1fe[1277]](_0xfc29x13[_0xa1fe[235]]+_0xfc29x14,_0xfc29x13[_0xa1fe[236]]+_0xfc29x9);_0xfc29x9=_0xfc29x3[_0xfc29x12+1];_0xfc29x14=_0xfc29x9[_0xa1fe[235]]-_0xfc29x13[_0xa1fe[235]];_0xfc29x9=_0xfc29x9[_0xa1fe[236]]-_0xfc29x13[_0xa1fe[236]];_0xfc29x15=Math[_0xa1fe[160]](1,Math[_0xa1fe[428]](_0xfc29x14*_0xfc29x14+_0xfc29x9*_0xfc29x9));_0xfc29x14=_0xfc29x14*Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x15/2)/_0xfc29x15;_0xfc29x9=_0xfc29x9*Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x15/2)/_0xfc29x15;_0xfc29x14=_0xfc29x13[_0xa1fe[235]]+_0xfc29x14;_0xfc29x9=_0xfc29x13[_0xa1fe[236]]+_0xfc29x9;_0xfc29x2[_0xa1fe[1278]](_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x14,_0xfc29x9);_0xfc29x13= new mxPoint(_0xfc29x14,_0xfc29x9)}else {_0xfc29x2[_0xa1fe[1277]](_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]])};_0xfc29x9=_0xfc29x13};_0xfc29x2[_0xa1fe[1277]](_0xfc29xa[_0xa1fe[235]],_0xfc29xa[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[1336]]()};function mxArrow(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1525]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1;this[_0xa1fe[1640]]=null!=_0xfc29x9?_0xfc29x9:mxConstants[_0xa1fe[1641]];this[_0xa1fe[657]]=null!=_0xfc29xa?_0xfc29xa:mxConstants[_0xa1fe[1642]];this[_0xa1fe[643]]=null!=_0xfc29x12?_0xfc29x12:mxConstants[_0xa1fe[1643]]}mxUtils[_0xa1fe[1284]](mxArrow,mxShape);mxArrow[_0xa1fe[202]][_0xa1fe[1594]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxConstants[_0xa1fe[1642]],_0xfc29x5=mxConstants[_0xa1fe[1641]],_0xfc29x9=mxConstants[_0xa1fe[1643]],_0xfc29xa=_0xfc29x3[0],_0xfc29x12=_0xfc29x3[_0xfc29x3[_0xa1fe[67]]-1],_0xfc29x13=_0xfc29x12[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]],_0xfc29x14=_0xfc29x12[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]],_0xfc29x15=Math[_0xa1fe[428]](_0xfc29x13*_0xfc29x13+_0xfc29x14*_0xfc29x14),_0xfc29x16=_0xfc29x15-2*_0xfc29x4-_0xfc29x9,_0xfc29x13=_0xfc29x13/_0xfc29x15,_0xfc29x14=_0xfc29x14/_0xfc29x15,_0xfc29x15=_0xfc29x5*_0xfc29x14/3,_0xfc29x5=-_0xfc29x5*_0xfc29x13/3,_0xfc29x9=_0xfc29xa[_0xa1fe[235]]-_0xfc29x15/2+_0xfc29x4*_0xfc29x13,_0xfc29xa=_0xfc29xa[_0xa1fe[236]]-_0xfc29x5/2+_0xfc29x4*_0xfc29x14,_0xfc29x17=_0xfc29x9+_0xfc29x15,_0xfc29x18=_0xfc29xa+_0xfc29x5,_0xfc29x19=_0xfc29x17+_0xfc29x16*_0xfc29x13,_0xfc29x16=_0xfc29x18+_0xfc29x16*_0xfc29x14,_0xfc29x1a=_0xfc29x19+_0xfc29x15,_0xfc29x1b=_0xfc29x16+_0xfc29x5,_0xfc29x1c=_0xfc29x1a-3*_0xfc29x15,_0xfc29x1d=_0xfc29x1b-3*_0xfc29x5;_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x9,_0xfc29xa);_0xfc29x2[_0xa1fe[1277]](_0xfc29x17,_0xfc29x18);_0xfc29x2[_0xa1fe[1277]](_0xfc29x19,_0xfc29x16);_0xfc29x2[_0xa1fe[1277]](_0xfc29x1a,_0xfc29x1b);_0xfc29x2[_0xa1fe[1277]](_0xfc29x12[_0xa1fe[235]]-_0xfc29x4*_0xfc29x13,_0xfc29x12[_0xa1fe[236]]-_0xfc29x4*_0xfc29x14);_0xfc29x2[_0xa1fe[1277]](_0xfc29x1c,_0xfc29x1d);_0xfc29x2[_0xa1fe[1277]](_0xfc29x1c+_0xfc29x15,_0xfc29x1d+_0xfc29x5);_0xfc29x2[_0xa1fe[268]]();_0xfc29x2[_0xa1fe[1337]]()};function mxText(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15,_0xfc29x16,_0xfc29x17,_0xfc29x18,_0xfc29x19,_0xfc29x1a,_0xfc29x1b,_0xfc29x1c,_0xfc29x1d,_0xfc29x1e,_0xfc29x1f){mxShape[_0xa1fe[239]](this);this[_0xa1fe[131]]=_0xfc29x2;this[_0xa1fe[1562]]=_0xfc29x3;this[_0xa1fe[352]]=null!=_0xfc29x9?_0xfc29x9:_0xa1fe[586];this[_0xa1fe[611]]=null!=_0xfc29x4?_0xfc29x4:_0xa1fe[110];this[_0xa1fe[552]]=null!=_0xfc29x5?_0xfc29x5:_0xa1fe[110];this[_0xa1fe[1288]]=null!=_0xfc29xa?_0xfc29xa:mxConstants[_0xa1fe[484]];this[_0xa1fe[803]]=null!=_0xfc29x12?_0xfc29x12:mxConstants[_0xa1fe[483]];this[_0xa1fe[666]]=null!=_0xfc29x13?_0xfc29x13:mxConstants[_0xa1fe[1644]];this[_0xa1fe[657]]=parseInt(_0xfc29x14||2);this[_0xa1fe[658]]=this[_0xa1fe[657]]+parseInt(_0xfc29x15||0);this[_0xa1fe[661]]=this[_0xa1fe[657]]+parseInt(_0xfc29x16||0);this[_0xa1fe[660]]=this[_0xa1fe[657]]+parseInt(_0xfc29x17||0);this[_0xa1fe[659]]=this[_0xa1fe[657]]+parseInt(_0xfc29x18||0);this[_0xa1fe[662]]=null!=_0xfc29x19?_0xfc29x19:!0;this[_0xa1fe[1537]]=_0xfc29x1a;this[_0xa1fe[467]]=_0xfc29x1b;this[_0xa1fe[1333]]=null!=_0xfc29x1c?_0xfc29x1c:!1;this[_0xa1fe[1645]]=null!=_0xfc29x1d?_0xfc29x1d:!1;this[_0xa1fe[277]]=null!=_0xfc29x1e?_0xfc29x1e:_0xa1fe[189];this[_0xa1fe[629]]=null!=_0xfc29x1f?_0xfc29x1f:0;this[_0xa1fe[603]]=0}mxUtils[_0xa1fe[1284]](mxText,mxShape);mxText[_0xa1fe[202]][_0xa1fe[1646]]=0;mxText[_0xa1fe[202]][_0xa1fe[1647]]=0;mxText[_0xa1fe[202]][_0xa1fe[1648]]=0;mxText[_0xa1fe[202]][_0xa1fe[1649]]=0;mxText[_0xa1fe[202]][_0xa1fe[1650]]= !0;mxText[_0xa1fe[202]][_0xa1fe[1616]]= -90;mxText[_0xa1fe[202]][_0xa1fe[1651]]= !0;mxText[_0xa1fe[202]][_0xa1fe[1652]]= !1;mxText[_0xa1fe[202]][_0xa1fe[1566]]=function(){return !1};mxText[_0xa1fe[202]][_0xa1fe[1567]]=function(){return 8!=document[_0xa1fe[5]]};mxText[_0xa1fe[202]][_0xa1fe[1568]]=function(){return 0};mxText[_0xa1fe[202]][_0xa1fe[1574]]=function(){return null!=this[_0xa1fe[1562]]&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[235]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[236]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[117]])&&!isNaN(this[_0xa1fe[1562]][_0xa1fe[119]])};mxText[_0xa1fe[202]][_0xa1fe[1577]]=function(){var _0xfc29x2=this[_0xa1fe[252]];8==document[_0xa1fe[5]]&&null!=_0xfc29x2[_0xa1fe[285]]&&(_0xfc29x2=_0xfc29x2[_0xa1fe[285]],null!=_0xfc29x2[_0xa1fe[285]]&&(_0xfc29x2=_0xfc29x2[_0xa1fe[285]]));this[_0xa1fe[1563]]=this[_0xa1fe[1562]][_0xa1fe[238]]();var _0xfc29x3=this[_0xa1fe[1615]]();if(!this[_0xa1fe[1652]]&&null!=_0xfc29x2&&_0xa1fe[1334]!=this[_0xa1fe[277]]&&(!this[_0xa1fe[1645]]||!this[_0xa1fe[1651]])){var _0xfc29x4=null,_0xfc29x5=null;if(null!=_0xfc29x2[_0xa1fe[538]]){if(null!=_0xfc29x2[_0xa1fe[285]]&&null!=_0xfc29x2[_0xa1fe[285]][_0xa1fe[285]]&&_0xa1fe[1435]==_0xfc29x2[_0xa1fe[285]][_0xa1fe[285]][_0xa1fe[301]]){_0xfc29x2=_0xfc29x2[_0xa1fe[285]][_0xa1fe[285]],_0xfc29x4=this[_0xa1fe[1333]]?this[_0xa1fe[1562]][_0xa1fe[117]]:parseInt(_0xfc29x2[_0xa1fe[284]](_0xa1fe[117]))*this[_0xa1fe[255]],_0xfc29x5=parseInt(_0xfc29x2[_0xa1fe[284]](_0xa1fe[119]))*this[_0xa1fe[255]]}else {_0xfc29x3=_0xfc29x2[_0xa1fe[1451]]();if(0==_0xfc29x3[_0xa1fe[117]]&&0==_0xfc29x3[_0xa1fe[119]]){return};this[_0xa1fe[1563]]= new mxRectangle(_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]);_0xfc29x3=0}}else {_0xfc29x5=this[_0xa1fe[724]][_0xa1fe[441]][_0xa1fe[1653]],null!=this[_0xa1fe[359]]&&null!=this[_0xa1fe[167]]?(_0xfc29x4=this[_0xa1fe[1333]]?this[_0xa1fe[1562]][_0xa1fe[117]]:this[_0xa1fe[359]]*this[_0xa1fe[255]],_0xfc29x5=this[_0xa1fe[167]]*this[_0xa1fe[255]]):null!=_0xfc29x5?(this[_0xa1fe[1441]](_0xfc29x5),this[_0xa1fe[1654]](_0xfc29x5),mxUtils[_0xa1fe[1331]](this[_0xa1fe[131]])?_0xfc29x5[_0xa1fe[339]]=this[_0xa1fe[131]][_0xa1fe[342]]:(_0xfc29x4=this[_0xa1fe[1650]]?this[_0xa1fe[131]][_0xa1fe[230]](/\n/g,_0xa1fe[1453]):this[_0xa1fe[131]],_0xfc29x5[_0xa1fe[339]]=_0xfc29x4),_0xfc29x4=this[_0xa1fe[1333]]?this[_0xa1fe[1562]][_0xa1fe[117]]:_0xfc29x5[_0xa1fe[359]]*this[_0xa1fe[255]],_0xfc29x5=_0xfc29x5[_0xa1fe[167]]*this[_0xa1fe[255]]):(_0xfc29x4=this[_0xa1fe[1333]]?this[_0xa1fe[1562]][_0xa1fe[117]]:_0xfc29x2[_0xa1fe[359]]*this[_0xa1fe[255]],_0xfc29x5=_0xfc29x2[_0xa1fe[167]]*this[_0xa1fe[255]])};null!=_0xfc29x4&&null!=_0xfc29x5&&(this[_0xa1fe[1563]]= new mxRectangle(this[_0xa1fe[1562]][_0xa1fe[235]]+this[_0xa1fe[1655]][_0xa1fe[235]]*_0xfc29x4,this[_0xa1fe[1562]][_0xa1fe[236]]+this[_0xa1fe[1655]][_0xa1fe[236]]*_0xfc29x5,_0xfc29x4,_0xfc29x5))}else {this[_0xa1fe[1563]][_0xa1fe[235]]+=this[_0xa1fe[1655]][_0xa1fe[235]]*this[_0xa1fe[1563]][_0xa1fe[117]],this[_0xa1fe[1563]][_0xa1fe[236]]+=this[_0xa1fe[1655]][_0xa1fe[236]]*this[_0xa1fe[1563]][_0xa1fe[119]]};null!=this[_0xa1fe[1563]]&&(0!=_0xfc29x3&&(_0xfc29x3=mxUtils[_0xa1fe[1613]](this[_0xa1fe[1563]],_0xfc29x3),this[_0xa1fe[1563]][_0xa1fe[235]]=_0xfc29x3[_0xa1fe[235]],this[_0xa1fe[1563]][_0xa1fe[236]]=_0xfc29x3[_0xa1fe[236]],mxClient[_0xa1fe[496]]||(this[_0xa1fe[1563]][_0xa1fe[117]]=_0xfc29x3[_0xa1fe[117]],this[_0xa1fe[1563]][_0xa1fe[119]]=_0xfc29x3[_0xa1fe[119]])),this[_0xa1fe[1563]][_0xa1fe[235]]=Math[_0xa1fe[519]](this[_0xa1fe[1563]][_0xa1fe[235]]),this[_0xa1fe[1563]][_0xa1fe[236]]=Math[_0xa1fe[519]](this[_0xa1fe[1563]][_0xa1fe[236]]),this[_0xa1fe[1563]][_0xa1fe[117]]=Math[_0xa1fe[430]](this[_0xa1fe[1563]][_0xa1fe[117]]),this[_0xa1fe[1563]][_0xa1fe[119]]=Math[_0xa1fe[430]](this[_0xa1fe[1563]][_0xa1fe[119]]))};mxText[_0xa1fe[202]][_0xa1fe[1598]]=function(){return 0};mxText[_0xa1fe[202]][_0xa1fe[1615]]=function(){return null!=this[_0xa1fe[724]]&&null!=this[_0xa1fe[724]][_0xa1fe[253]]?this[_0xa1fe[724]][_0xa1fe[253]][_0xa1fe[1615]]():0};mxText[_0xa1fe[202]][_0xa1fe[1590]]=function(){return !this[_0xa1fe[662]]&&null!=this[_0xa1fe[724]]&&this[_0xa1fe[724]][_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1193]](this[_0xa1fe[724]][_0xa1fe[246]])};mxText[_0xa1fe[202]][_0xa1fe[1592]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){mxShape[_0xa1fe[202]][_0xa1fe[1592]][_0xa1fe[183]](this,arguments);_0xfc29x2[_0xa1fe[1259]](this[_0xa1fe[352]]);_0xfc29x2[_0xa1fe[1260]](this[_0xa1fe[1537]]);_0xfc29x2[_0xa1fe[1262]](this[_0xa1fe[467]]);_0xfc29x2[_0xa1fe[1265]](this[_0xa1fe[1288]]);_0xfc29x2[_0xa1fe[1264]](this[_0xa1fe[803]]);_0xfc29x2[_0xa1fe[1266]](this[_0xa1fe[666]])};mxText[_0xa1fe[202]][_0xa1fe[1586]]=function(){this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]])+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]])+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[942];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[942];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[189]};mxText[_0xa1fe[202]][_0xa1fe[1209]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[1562]][_0xa1fe[235]]/_0xfc29x3,_0xfc29x5=this[_0xa1fe[1562]][_0xa1fe[236]]/_0xfc29x3,_0xfc29x9=this[_0xa1fe[1562]][_0xa1fe[117]]/_0xfc29x3,_0xfc29x3=this[_0xa1fe[1562]][_0xa1fe[119]]/_0xfc29x3;this[_0xa1fe[1591]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29x3);this[_0xa1fe[1592]](_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29x3);var _0xfc29xa=mxUtils[_0xa1fe[1331]](this[_0xa1fe[131]])||this[_0xa1fe[507]]==mxConstants[_0xa1fe[1656]],_0xfc29x12=_0xfc29xa||_0xfc29x2 instanceof mxVmlCanvas2D?_0xa1fe[1428]:_0xa1fe[110],_0xfc29x13=this[_0xa1fe[131]];!_0xfc29xa&&_0xa1fe[1428]==_0xfc29x12&&(_0xfc29x13=mxUtils[_0xa1fe[321]](_0xfc29x13,!1));_0xfc29x13=!mxUtils[_0xa1fe[1331]](this[_0xa1fe[131]])&&this[_0xa1fe[1650]]&&_0xa1fe[1428]==_0xfc29x12?_0xfc29x13[_0xa1fe[230]](/\n/g,_0xa1fe[1453]):_0xfc29x13;_0xfc29x2[_0xa1fe[963]](_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29x3,_0xfc29x13,this[_0xa1fe[611]],this[_0xa1fe[552]],this[_0xa1fe[1333]],_0xfc29x12,_0xa1fe[1334]==this[_0xa1fe[277]],this[_0xa1fe[1645]],this[_0xa1fe[1615]]())};mxText[_0xa1fe[202]][_0xa1fe[1575]]=function(){var _0xfc29x2=this[_0xa1fe[252]][_0xa1fe[124]];_0xfc29x2[_0xa1fe[461]]=1>this[_0xa1fe[461]]?this[_0xa1fe[461]]:_0xa1fe[110];_0xfc29x2[_0xa1fe[277]]=_0xa1fe[110];_0xfc29x2[_0xa1fe[117]]=_0xa1fe[110];_0xfc29x2[_0xa1fe[119]]=_0xa1fe[110];this[_0xa1fe[1441]](this[_0xa1fe[252]]);this[_0xa1fe[1654]](this[_0xa1fe[252]]);this[_0xa1fe[1657]]();this[_0xa1fe[167]]=this[_0xa1fe[359]]=null;null!=mxClient[_0xa1fe[73]]?this[_0xa1fe[1658]]():this[_0xa1fe[1659]]()};mxText[_0xa1fe[202]][_0xa1fe[1658]]=function(){var _0xfc29x2=this[_0xa1fe[1615]](),_0xfc29x3=this[_0xa1fe[252]][_0xa1fe[124]],_0xfc29x4=this[_0xa1fe[1655]][_0xa1fe[235]],_0xfc29x5=this[_0xa1fe[1655]][_0xa1fe[236]];0!=_0xfc29x2?(_0xfc29x3[mxClient[_0xa1fe[73]]+_0xa1fe[1660]]=100*-_0xfc29x4+_0xa1fe[1661]+100*-_0xfc29x5+_0xa1fe[229],_0xfc29x3[mxClient[_0xa1fe[73]]+_0xa1fe[1662]]=_0xa1fe[536]+100*_0xfc29x4+_0xa1fe[1663]+100*_0xfc29x5+_0xa1fe[1664]+this[_0xa1fe[255]]+_0xa1fe[1665]+_0xfc29x2+_0xa1fe[1666]):(_0xfc29x3[mxClient[_0xa1fe[73]]+_0xa1fe[1660]]=_0xa1fe[1667],_0xfc29x3[mxClient[_0xa1fe[73]]+_0xa1fe[1662]]=_0xa1fe[1402]+this[_0xa1fe[255]]+_0xa1fe[1393]+100*_0xfc29x4+_0xa1fe[1663]+100*_0xfc29x5+_0xa1fe[1668]);_0xfc29x3[_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]])+_0xa1fe[168];_0xfc29x3[_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]])+_0xa1fe[168]};mxText[_0xa1fe[202]][_0xa1fe[1659]]=function(){var _0xfc29x2=this[_0xa1fe[252]][_0xa1fe[124]],_0xfc29x3=this[_0xa1fe[1655]][_0xa1fe[235]],_0xfc29x4=this[_0xa1fe[1655]][_0xa1fe[236]],_0xfc29x5=this[_0xa1fe[255]];_0xfc29x2[_0xa1fe[347]]=_0xa1fe[110];var _0xfc29x9=0,_0xfc29xa=0,_0xfc29x12=null!=this[_0xa1fe[724]]?this[_0xa1fe[724]][_0xa1fe[441]][_0xa1fe[1653]]:null;if(null!=_0xfc29x12){_0xfc29x12[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[110];_0xfc29x12[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[110];_0xfc29x12[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[110];this[_0xa1fe[1441]](_0xfc29x12);this[_0xa1fe[1654]](_0xfc29x12);if(mxUtils[_0xa1fe[1331]](this[_0xa1fe[131]])){_0xfc29x12[_0xa1fe[339]]=this[_0xa1fe[131]][_0xa1fe[342]]}else {var _0xfc29x13=this[_0xa1fe[131]];this[_0xa1fe[507]]!=mxConstants[_0xa1fe[1656]]&&(_0xfc29x13=mxUtils[_0xa1fe[321]](_0xfc29x13,!1));_0xfc29x13=this[_0xa1fe[1650]]?_0xfc29x13[_0xa1fe[230]](/\n/g,_0xa1fe[1453]):_0xfc29x13;_0xfc29x12[_0xa1fe[339]]=_0xfc29x13};_0xfc29x9=_0xfc29x12[_0xa1fe[359]]+2;_0xfc29xa=_0xfc29x12[_0xa1fe[167]]+2}else {_0xfc29x9=this[_0xa1fe[252]][_0xa1fe[359]],_0xfc29xa=this[_0xa1fe[252]][_0xa1fe[167]]+1};this[_0xa1fe[359]]=_0xfc29x9;this[_0xa1fe[167]]=_0xfc29xa;_0xfc29x12=this[_0xa1fe[1562]][_0xa1fe[117]]/_0xfc29x5;_0xfc29x13=this[_0xa1fe[1562]][_0xa1fe[119]]/_0xfc29x5;mxClient[_0xa1fe[496]]&&(this[_0xa1fe[1645]]||_0xa1fe[1334]==this[_0xa1fe[277]])&&0<_0xfc29x13?(_0xfc29x13=Math[_0xa1fe[243]](_0xfc29x13,_0xfc29xa),_0xfc29x2[_0xa1fe[119]]=Math[_0xa1fe[488]](_0xfc29x13+1)+_0xa1fe[168]):_0xfc29x13=_0xfc29xa;_0xa1fe[1334]!=this[_0xa1fe[277]]&&(mxClient[_0xa1fe[496]]&&(this[_0xa1fe[1645]]||this[_0xa1fe[1333]])&&0<_0xfc29x12?(_0xfc29x12=Math[_0xa1fe[243]](_0xfc29x12,_0xfc29x9),_0xfc29x2[_0xa1fe[117]]=Math[_0xa1fe[488]](_0xfc29x12)+_0xa1fe[168]):_0xfc29x12=_0xfc29x9);var _0xfc29x13=_0xfc29x13*_0xfc29x5,_0xfc29x12=_0xfc29x12*_0xfc29x5,_0xfc29x9=this[_0xa1fe[1615]]()*(Math[_0xa1fe[424]]/180),_0xfc29xa=parseFloat(parseFloat(Math[_0xa1fe[426]](_0xfc29x9))[_0xa1fe[1293]](8)),_0xfc29x14=parseFloat(parseFloat(Math[_0xa1fe[427]](-_0xfc29x9))[_0xa1fe[1293]](8)),_0xfc29x9=_0xfc29x9%(2*Math[_0xa1fe[424]]);0>_0xfc29x9&&(_0xfc29x9+=2*Math[_0xa1fe[424]]);_0xfc29x9%=Math[_0xa1fe[424]];_0xfc29x9>Math[_0xa1fe[424]]/2&&(_0xfc29x9=Math[_0xa1fe[424]]-_0xfc29x9);var _0xfc29x15=Math[_0xa1fe[426]](_0xfc29x9),_0xfc29x16=Math[_0xa1fe[427]](-_0xfc29x9),_0xfc29x3=_0xfc29x12* -(_0xfc29x3+0.5),_0xfc29x4=_0xfc29x13* -(_0xfc29x4+0.5),_0xfc29x17=(_0xfc29x13-_0xfc29x13*_0xfc29x15+_0xfc29x12*_0xfc29x16)/2+_0xfc29x14*_0xfc29x3-_0xfc29xa*_0xfc29x4;0!=_0xfc29x9&&(_0xfc29x2[_0xa1fe[347]]=_0xa1fe[1505]+_0xfc29xa+_0xa1fe[1506]+_0xfc29x14+_0xa1fe[1507]+-_0xfc29x14+_0xa1fe[1508]+_0xfc29xa+_0xa1fe[1509]);_0xfc29x2[_0xa1fe[499]]=_0xfc29x5;_0xfc29x2[_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]]+((_0xfc29x12-_0xfc29x12*_0xfc29x15+_0xfc29x13*_0xfc29x16)/2-_0xfc29xa*_0xfc29x3-_0xfc29x14*_0xfc29x4)-_0xfc29x12/2)+_0xa1fe[168];_0xfc29x2[_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]]+_0xfc29x17-_0xfc29x13/2)+_0xa1fe[168]};mxText[_0xa1fe[202]][_0xa1fe[1657]]=function(){if(mxUtils[_0xa1fe[1331]](this[_0xa1fe[131]])){this[_0xa1fe[252]][_0xa1fe[339]]=_0xa1fe[110],this[_0xa1fe[252]][_0xa1fe[62]](this[_0xa1fe[131]])}else {var _0xfc29x2=this[_0xa1fe[131]];this[_0xa1fe[507]]!=mxConstants[_0xa1fe[1656]]&&(_0xfc29x2=mxUtils[_0xa1fe[321]](_0xfc29x2,!1));var _0xfc29x2=this[_0xa1fe[1650]]?_0xfc29x2[_0xa1fe[230]](/\n/g,_0xa1fe[1453]):_0xfc29x2,_0xfc29x3=null!=this[_0xa1fe[1537]]&&this[_0xa1fe[1537]]!=mxConstants[_0xa1fe[217]]?this[_0xa1fe[1537]]:null,_0xfc29x4=null!=this[_0xa1fe[467]]&&this[_0xa1fe[467]]!=mxConstants[_0xa1fe[217]]?this[_0xa1fe[467]]:null;if(null!=_0xfc29x3||null!=_0xfc29x4){if(_0xa1fe[1334]==this[_0xa1fe[277]]){null!=_0xfc29x3&&(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[1028]]=_0xfc29x3),null!=_0xfc29x4&&(this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[467]]=_0xa1fe[1669]+_0xfc29x4)}else {var _0xfc29x5=_0xa1fe[110];null!=_0xfc29x3&&(_0xfc29x5+=_0xa1fe[1418]+_0xfc29x3+_0xa1fe[471]);null!=_0xfc29x4&&(_0xfc29x5+=_0xa1fe[1419]+_0xfc29x4+_0xa1fe[471]);_0xfc29x2=_0xa1fe[1670]+_0xfc29x5+_0xa1fe[1671]+this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[489]]+_0xa1fe[1423]+_0xfc29x2+_0xa1fe[1424];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[489]]=_0xa1fe[110]}};this[_0xa1fe[252]][_0xa1fe[339]]=_0xfc29x2}};mxText[_0xa1fe[202]][_0xa1fe[1441]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[124]];_0xfc29x2[_0xa1fe[489]]=Math[_0xa1fe[488]](this[_0xa1fe[803]]*mxConstants[_0xa1fe[490]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[487]]=Math[_0xa1fe[488]](this[_0xa1fe[803]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[486]]=this[_0xa1fe[1288]];_0xfc29x2[_0xa1fe[123]]=_0xa1fe[125];_0xfc29x2[_0xa1fe[352]]=this[_0xa1fe[352]];_0xfc29x2[_0xa1fe[1452]]=(this[_0xa1fe[666]]&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]]?_0xa1fe[1447]:_0xa1fe[110];_0xfc29x2[_0xa1fe[666]]=(this[_0xa1fe[666]]&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]]?_0xa1fe[1449]:_0xa1fe[110];_0xfc29x2[_0xa1fe[1498]]=(this[_0xa1fe[666]]&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]]?_0xa1fe[355]:_0xa1fe[110];_0xfc29x2[_0xa1fe[1165]]=this[_0xa1fe[611]]==mxConstants[_0xa1fe[479]]?_0xa1fe[698]:this[_0xa1fe[611]]==mxConstants[_0xa1fe[480]]?_0xa1fe[699]:_0xa1fe[361]};mxText[_0xa1fe[202]][_0xa1fe[1654]]=function(_0xfc29x2){var _0xfc29x3=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[117]]/this[_0xa1fe[255]]),_0xfc29x4=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[119]]/this[_0xa1fe[255]]);_0xfc29x2=_0xfc29x2[_0xa1fe[124]];this[_0xa1fe[1645]]?(_0xfc29x2[_0xa1fe[277]]=_0xa1fe[188],0<_0xfc29x4&&(_0xfc29x2[_0xa1fe[1503]]=_0xfc29x4+_0xa1fe[168]),0<_0xfc29x3&&(_0xfc29x2[_0xa1fe[117]]=_0xfc29x3+_0xa1fe[168])):_0xa1fe[1334]==this[_0xa1fe[277]]&&(_0xfc29x2[_0xa1fe[117]]=_0xfc29x3+_0xa1fe[168],0<_0xfc29x4&&(_0xfc29x2[_0xa1fe[1503]]=_0xfc29x4+_0xa1fe[168]));this[_0xa1fe[1333]]?(!this[_0xa1fe[1645]]&&0<_0xfc29x3&&(_0xfc29x2[_0xa1fe[117]]=_0xfc29x3+_0xa1fe[168]),_0xfc29x2[_0xa1fe[493]]=_0xa1fe[1502]):_0xfc29x2[_0xa1fe[493]]=_0xa1fe[494]};mxText[_0xa1fe[202]][_0xa1fe[1672]]=function(){this[_0xa1fe[1655]]=mxUtils[_0xa1fe[1501]](this[_0xa1fe[611]],this[_0xa1fe[552]])};mxText[_0xa1fe[202]][_0xa1fe[1673]]=function(){var _0xfc29x2=0,_0xfc29x3=0,_0xfc29x2=this[_0xa1fe[611]]==mxConstants[_0xa1fe[479]]?(this[_0xa1fe[659]]-this[_0xa1fe[661]])/2:this[_0xa1fe[611]]==mxConstants[_0xa1fe[480]]?-this[_0xa1fe[661]]-this[_0xa1fe[1649]]:this[_0xa1fe[659]]+this[_0xa1fe[1648]],_0xfc29x3=this[_0xa1fe[552]]==mxConstants[_0xa1fe[481]]?(this[_0xa1fe[658]]-this[_0xa1fe[660]])/2:this[_0xa1fe[552]]==mxConstants[_0xa1fe[482]]?-this[_0xa1fe[660]]-this[_0xa1fe[1647]]:this[_0xa1fe[658]]+this[_0xa1fe[1646]];return new mxPoint(_0xfc29x2,_0xfc29x3)};function mxTriangle(){mxActor[_0xa1fe[239]](this)}mxUtils[_0xa1fe[1284]](mxTriangle,mxActor);mxTriangle[_0xa1fe[202]][_0xa1fe[1625]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[1276]](0,0);_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,0.5*_0xfc29x9);_0xfc29x2[_0xa1fe[1277]](0,_0xfc29x9);_0xfc29x2[_0xa1fe[268]]()};function mxHexagon(){mxActor[_0xa1fe[239]](this)}mxUtils[_0xa1fe[1284]](mxHexagon,mxActor);mxHexagon[_0xa1fe[202]][_0xa1fe[1625]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[1276]](0.25*_0xfc29x5,0);_0xfc29x2[_0xa1fe[1277]](0.75*_0xfc29x5,0);_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,0.5*_0xfc29x9);_0xfc29x2[_0xa1fe[1277]](0.75*_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1277]](0.25*_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[1277]](0,0.5*_0xfc29x9);_0xfc29x2[_0xa1fe[268]]()};function mxLine(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1336]]=_0xfc29x3;this[_0xa1fe[1307]]=null!=_0xfc29x4?_0xfc29x4:1}mxUtils[_0xa1fe[1284]](mxLine,mxShape);mxLine[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x4+=_0xfc29x9/2;_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x3,_0xfc29x4);_0xfc29x2[_0xa1fe[1277]](_0xfc29x3+_0xfc29x5,_0xfc29x4);_0xfc29x2[_0xa1fe[1336]]()};function mxImageShape(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[618]]=_0xfc29x3;this[_0xa1fe[1334]]=_0xfc29x4;this[_0xa1fe[1336]]=_0xfc29x5;this[_0xa1fe[1307]]=null!=_0xfc29x9?_0xfc29x9:1;this[_0xa1fe[639]]= !1}mxUtils[_0xa1fe[1284]](mxImageShape,mxRectangleShape);mxImageShape[_0xa1fe[202]][_0xa1fe[1674]]= !0;mxImageShape[_0xa1fe[202]][_0xa1fe[1568]]=function(){return !mxClient[_0xa1fe[80]]?0.5:0};mxImageShape[_0xa1fe[202]][_0xa1fe[183]]=function(_0xfc29x2){mxShape[_0xa1fe[202]][_0xa1fe[183]][_0xa1fe[183]](this,arguments);this[_0xa1fe[1299]]=this[_0xa1fe[1336]]=this[_0xa1fe[1334]]=null;null!=this[_0xa1fe[124]]&&(this[_0xa1fe[1334]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_BACKGROUND),this[_0xa1fe[1336]]=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_BORDER),this[_0xa1fe[1674]]=1==mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_ASPECT,1),this[_0xa1fe[623]]=this[_0xa1fe[623]]||1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],_0xa1fe[1675],0),this[_0xa1fe[624]]=this[_0xa1fe[624]]||1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],_0xa1fe[1676],0))};mxImageShape[_0xa1fe[202]][_0xa1fe[1567]]=function(){return !this[_0xa1fe[1674]]};mxImageShape[_0xa1fe[202]][_0xa1fe[1570]]=function(){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];return _0xfc29x2};mxImageShape[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=this[_0xa1fe[618]]){var _0xfc29xa=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_BACKGROUND,null),_0xfc29x12=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_BORDER,null);if(null!=_0xfc29xa||null!=_0xfc29x12){_0xfc29x2[_0xa1fe[1245]](_0xfc29xa),_0xfc29x2[_0xa1fe[1249]](_0xfc29x12),_0xfc29x2[_0xa1fe[1319]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[1337]]()};_0xfc29x2[_0xa1fe[618]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,this[_0xa1fe[618]],this[_0xa1fe[1674]],!1,!1)}else {mxRectangleShape[_0xa1fe[202]][_0xa1fe[1601]][_0xa1fe[183]](this,arguments)}};mxImageShape[_0xa1fe[202]][_0xa1fe[1575]]=function(){this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]])+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]])+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[160]](0,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[117]]))+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[160]](0,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[119]]))+_0xa1fe[168];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[1028]]=this[_0xa1fe[1334]]||_0xa1fe[110];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[1630]]=this[_0xa1fe[1336]]||_0xa1fe[110];this[_0xa1fe[252]][_0xa1fe[339]]=_0xa1fe[110];if(null!=this[_0xa1fe[618]]){var _0xfc29x2=document[_0xa1fe[55]](mxClient[_0xa1fe[49]]||null==mxClient[_0xa1fe[73]]&&0!=this[_0xa1fe[603]]?mxClient[_0xa1fe[463]]+_0xa1fe[464]:_0xa1fe[466]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x2[_0xa1fe[390]]=this[_0xa1fe[618]];var _0xfc29x3=100>this[_0xa1fe[461]]?_0xa1fe[459]+this[_0xa1fe[461]]+_0xa1fe[460]:_0xa1fe[110];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[347]]=_0xfc29x3;this[_0xa1fe[623]]&&this[_0xa1fe[624]]?_0xfc29x3+=_0xa1fe[1677]:this[_0xa1fe[623]]?_0xfc29x3+=_0xa1fe[1678]:this[_0xa1fe[624]]&&(_0xfc29x3+=_0xa1fe[1679]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]!=_0xfc29x3&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[347]]=_0xfc29x3);_0xa1fe[618]==_0xfc29x2[_0xa1fe[301]]?_0xfc29x2[_0xa1fe[124]][_0xa1fe[603]]=this[_0xa1fe[603]]:_0xfc29x2[_0xa1fe[124]][mxClient[_0xa1fe[73]]+_0xa1fe[1662]]=_0xa1fe[1394]+this[_0xa1fe[603]]+_0xa1fe[1666];_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[117]];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[119]];this[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[1617]]=_0xa1fe[110];this[_0xa1fe[252]][_0xa1fe[62]](_0xfc29x2)}else {this[_0xa1fe[1600]](this[_0xa1fe[252]])}};function mxLabel(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxRectangleShape[_0xa1fe[239]](this,_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)}mxUtils[_0xa1fe[1284]](mxLabel,mxRectangleShape);mxLabel[_0xa1fe[202]][_0xa1fe[1680]]=mxConstants[_0xa1fe[1681]];mxLabel[_0xa1fe[202]][_0xa1fe[657]]=2;mxLabel[_0xa1fe[202]][_0xa1fe[1682]]=10;mxLabel[_0xa1fe[202]][_0xa1fe[635]]=2;mxLabel[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2){mxShape[_0xa1fe[202]][_0xa1fe[176]][_0xa1fe[183]](this,arguments);null!=this[_0xa1fe[632]]&&null!=this[_0xa1fe[630]]&&(this[_0xa1fe[1683]]= new this[_0xa1fe[630]],this[_0xa1fe[1683]][_0xa1fe[507]]=this[_0xa1fe[507]],this[_0xa1fe[1683]][_0xa1fe[1562]]=this[_0xa1fe[1562]],this[_0xa1fe[1683]][_0xa1fe[1334]]=this[_0xa1fe[632]],this[_0xa1fe[1683]][_0xa1fe[1336]]=this[_0xa1fe[632]],this[_0xa1fe[1683]][_0xa1fe[1299]]=this[_0xa1fe[634]],this[_0xa1fe[1683]][_0xa1fe[663]]=this[_0xa1fe[638]],this[_0xa1fe[1683]][_0xa1fe[176]](this[_0xa1fe[252]]))};mxLabel[_0xa1fe[202]][_0xa1fe[258]]=function(){null!=this[_0xa1fe[1683]]&&(this[_0xa1fe[1683]][_0xa1fe[1334]]=this[_0xa1fe[632]],this[_0xa1fe[1683]][_0xa1fe[1336]]=this[_0xa1fe[632]],this[_0xa1fe[1683]][_0xa1fe[1299]]=this[_0xa1fe[634]],this[_0xa1fe[1683]][_0xa1fe[663]]=this[_0xa1fe[638]]);mxShape[_0xa1fe[202]][_0xa1fe[258]][_0xa1fe[183]](this,arguments)};mxLabel[_0xa1fe[202]][_0xa1fe[1567]]=function(){return mxRectangleShape[_0xa1fe[202]][_0xa1fe[1567]][_0xa1fe[183]](this,arguments)&&null==this[_0xa1fe[632]]&&null==this[_0xa1fe[630]]};mxLabel[_0xa1fe[202]][_0xa1fe[1602]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){this[_0xa1fe[1684]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);this[_0xa1fe[1685]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9);mxRectangleShape[_0xa1fe[202]][_0xa1fe[1602]][_0xa1fe[183]](this,arguments)};mxLabel[_0xa1fe[202]][_0xa1fe[1684]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){null!=this[_0xa1fe[618]]&&(_0xfc29x3=this[_0xa1fe[1686]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[618]](_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]],this[_0xa1fe[618]],!1,!1,!1))};mxLabel[_0xa1fe[202]][_0xa1fe[1686]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0xfc29xa=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xfc29x12=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),_0xfc29x13=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),_0xfc29x14=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_SPACING,this[_0xa1fe[657]])+5;_0xfc29x2=_0xfc29x9==mxConstants[_0xa1fe[479]]?_0xfc29x2+(_0xfc29x4-_0xfc29x12)/2:_0xfc29x9==mxConstants[_0xa1fe[480]]?_0xfc29x2+(_0xfc29x4-_0xfc29x12-_0xfc29x14):_0xfc29x2+_0xfc29x14;_0xfc29x3=_0xfc29xa==mxConstants[_0xa1fe[1687]]?_0xfc29x3+_0xfc29x14:_0xfc29xa==mxConstants[_0xa1fe[482]]?_0xfc29x3+(_0xfc29x5-_0xfc29x13-_0xfc29x14):_0xfc29x3+(_0xfc29x5-_0xfc29x13)/2;return new mxRectangle(_0xfc29x2,_0xfc29x3,_0xfc29x12,_0xfc29x13)};mxLabel[_0xa1fe[202]][_0xa1fe[1685]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){null!=this[_0xa1fe[1683]]?(this[_0xa1fe[1683]][_0xa1fe[1562]]=this[_0xa1fe[1688]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),this[_0xa1fe[1683]][_0xa1fe[1209]](_0xfc29x2)):null!=this[_0xa1fe[631]]&&(_0xfc29x3=this[_0xa1fe[1688]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[618]](_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]],this[_0xa1fe[631]],!1,!1,!1))};mxLabel[_0xa1fe[202]][_0xa1fe[1688]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0xfc29xa=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xfc29x12=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_INDICATOR_WIDTH,this[_0xa1fe[1682]]),_0xfc29x13=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_INDICATOR_HEIGHT,this[_0xa1fe[1682]]),_0xfc29x14=this[_0xa1fe[657]]+5;_0xfc29x2=_0xfc29x9==mxConstants[_0xa1fe[480]]?_0xfc29x2+(_0xfc29x4-_0xfc29x12-_0xfc29x14):_0xfc29x9==mxConstants[_0xa1fe[479]]?_0xfc29x2+(_0xfc29x4-_0xfc29x12)/2:_0xfc29x2+_0xfc29x14;_0xfc29x3=_0xfc29xa==mxConstants[_0xa1fe[482]]?_0xfc29x3+(_0xfc29x5-_0xfc29x13-_0xfc29x14):_0xfc29xa==mxConstants[_0xa1fe[1687]]?_0xfc29x3+_0xfc29x14:_0xfc29x3+(_0xfc29x5-_0xfc29x13)/2;return new mxRectangle(_0xfc29x2,_0xfc29x3,_0xfc29x12,_0xfc29x13)};mxLabel[_0xa1fe[202]][_0xa1fe[1575]]=function(){for(mxRectangleShape[_0xa1fe[202]][_0xa1fe[1575]][_0xa1fe[183]](this,arguments);this[_0xa1fe[252]][_0xa1fe[1580]]();){this[_0xa1fe[252]][_0xa1fe[266]](this[_0xa1fe[252]][_0xa1fe[1581]])};if(null!=this[_0xa1fe[618]]){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[466]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[1500];_0xfc29x2[_0xa1fe[57]](_0xa1fe[467],_0xa1fe[468]);var _0xfc29x3=this[_0xa1fe[1686]](this[_0xa1fe[1562]][_0xa1fe[235]],this[_0xa1fe[1562]][_0xa1fe[236]],this[_0xa1fe[1562]][_0xa1fe[117]],this[_0xa1fe[1562]][_0xa1fe[119]]);_0xfc29x3[_0xa1fe[235]]-=this[_0xa1fe[1562]][_0xa1fe[235]];_0xfc29x3[_0xa1fe[236]]-=this[_0xa1fe[1562]][_0xa1fe[236]];_0xfc29x2[_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[488]](_0xfc29x3[_0xa1fe[235]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[488]](_0xfc29x3[_0xa1fe[236]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[488]](_0xfc29x3[_0xa1fe[117]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[488]](_0xfc29x3[_0xa1fe[119]])+_0xa1fe[168];_0xfc29x2[_0xa1fe[390]]=this[_0xa1fe[618]];this[_0xa1fe[252]][_0xa1fe[62]](_0xfc29x2)}};function mxCylinder(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxCylinder,mxShape);mxCylinder[_0xa1fe[202]][_0xa1fe[1503]]=40;mxCylinder[_0xa1fe[202]][_0xa1fe[1564]]=0;mxCylinder[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[513]](_0xfc29x3,_0xfc29x4);_0xfc29x2[_0xa1fe[1275]]();this[_0xa1fe[1625]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,!1);_0xfc29x2[_0xa1fe[1337]]();_0xfc29x2[_0xa1fe[1267]](!1);_0xfc29x2[_0xa1fe[1275]]();this[_0xa1fe[1625]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,!0);_0xfc29x2[_0xa1fe[1336]]()};mxCylinder[_0xa1fe[202]][_0xa1fe[1625]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x3=Math[_0xa1fe[243]](this[_0xa1fe[1503]],Math[_0xa1fe[488]](_0xfc29x9/5));if(_0xfc29xa&&null!=this[_0xa1fe[1334]]||!_0xfc29xa&&null==this[_0xa1fe[1334]]){_0xfc29x2[_0xa1fe[1276]](0,_0xfc29x3),_0xfc29x2[_0xa1fe[1279]](0,2*_0xfc29x3,_0xfc29x5,2*_0xfc29x3,_0xfc29x5,_0xfc29x3),_0xfc29xa||(_0xfc29x2[_0xa1fe[1336]](),_0xfc29x2[_0xa1fe[1275]]())};_0xfc29xa||(_0xfc29x2[_0xa1fe[1276]](0,_0xfc29x3),_0xfc29x2[_0xa1fe[1279]](0,-_0xfc29x3/3,_0xfc29x5,-_0xfc29x3/3,_0xfc29x5,_0xfc29x3),_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29x9-_0xfc29x3),_0xfc29x2[_0xa1fe[1279]](_0xfc29x5,_0xfc29x9+_0xfc29x3/3,0,_0xfc29x9+_0xfc29x3/3,0,_0xfc29x9-_0xfc29x3),_0xfc29x2[_0xa1fe[268]]())};function mxConnector(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxPolyline[_0xa1fe[239]](this,_0xfc29x2,_0xfc29x3,_0xfc29x4)}mxUtils[_0xa1fe[1284]](mxConnector,mxPolyline);mxConnector[_0xa1fe[202]][_0xa1fe[1594]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1689]](_0xfc29x2,_0xfc29x3,!0),_0xfc29x5=this[_0xa1fe[1689]](_0xfc29x2,_0xfc29x3,!1);null==this[_0xa1fe[124]]||1!=this[_0xa1fe[124]][mxConstants[_0xa1fe[1690]]]?this[_0xa1fe[1639]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[1606]]):this[_0xa1fe[1691]](_0xfc29x2,_0xfc29x3);_0xfc29x2[_0xa1fe[1245]](this[_0xa1fe[1336]]);_0xfc29x2[_0xa1fe[1267]](!1);_0xfc29x2[_0xa1fe[1251]](!1);null!=_0xfc29x4&&_0xfc29x4();null!=_0xfc29x5&&_0xfc29x5()};mxConnector[_0xa1fe[202]][_0xa1fe[1691]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[1275]]();var _0xfc29x4=_0xfc29x3[0],_0xfc29x5=_0xfc29x3[_0xa1fe[67]];_0xfc29x2[_0xa1fe[1276]](_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]);for(_0xfc29x4=1;_0xfc29x4<_0xfc29x5-2;_0xfc29x4++){var _0xfc29x9=_0xfc29x3[_0xfc29x4],_0xfc29xa=_0xfc29x3[_0xfc29x4+1];_0xfc29x2[_0xa1fe[1278]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],(_0xfc29x9[_0xa1fe[235]]+_0xfc29xa[_0xa1fe[235]])/2,(_0xfc29x9[_0xa1fe[236]]+_0xfc29xa[_0xa1fe[236]])/2)};_0xfc29x9=_0xfc29x3[_0xfc29x5-2];_0xfc29xa=_0xfc29x3[_0xfc29x5-1];_0xfc29x2[_0xa1fe[1278]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29xa[_0xa1fe[235]],_0xfc29xa[_0xa1fe[236]]);_0xfc29x2[_0xa1fe[1336]]()};mxConnector[_0xa1fe[202]][_0xa1fe[1689]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x3[_0xa1fe[67]],_0xfc29x9=_0xfc29x4?_0xfc29x3[1]:_0xfc29x3[_0xfc29x5-2];_0xfc29x3=_0xfc29x4?_0xfc29x3[0]:_0xfc29x3[_0xfc29x5-1];var _0xfc29x5=_0xfc29x3[_0xa1fe[235]]-_0xfc29x9[_0xa1fe[235]],_0xfc29xa=_0xfc29x3[_0xa1fe[236]]-_0xfc29x9[_0xa1fe[236]],_0xfc29x12=Math[_0xa1fe[160]](1,Math[_0xa1fe[428]](_0xfc29x5*_0xfc29x5+_0xfc29xa*_0xfc29xa)),_0xfc29x9=_0xfc29x5/_0xfc29x12,_0xfc29x5=_0xfc29xa/_0xfc29x12,_0xfc29xa=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],_0xfc29x4?mxConstants[_0xa1fe[1692]]:mxConstants[_0xa1fe[1693]],mxConstants.DEFAULT_MARKERSIZE),_0xfc29x12=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],_0xfc29x4?mxConstants[_0xa1fe[1694]]:mxConstants[_0xa1fe[1695]]);return mxMarker[_0xa1fe[1689]](_0xfc29x2,this,_0xfc29x12,_0xfc29x3,_0xfc29x9,_0xfc29x5,_0xfc29xa,_0xfc29x4,this[_0xa1fe[1307]],0!=this[_0xa1fe[124]][_0xfc29x4?mxConstants[_0xa1fe[1696]]:mxConstants[_0xa1fe[1697]]])};mxConnector[_0xa1fe[202]][_0xa1fe[1612]]=function(_0xfc29x2){mxShape[_0xa1fe[202]][_0xa1fe[1612]][_0xa1fe[183]](this,arguments);var _0xfc29x3=0;mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants[_0xa1fe[217]]&&(_0xfc29x3=mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+1);mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants[_0xa1fe[217]]&&(_0xfc29x3=Math[_0xa1fe[160]](_0xfc29x3,mxUtils[_0xa1fe[1550]](this[_0xa1fe[124]],mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+1);_0xfc29x2[_0xa1fe[244]](Math[_0xa1fe[430]](_0xfc29x3*this[_0xa1fe[255]]))};function mxSwimlane(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxShape[_0xa1fe[239]](this);this[_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[1334]]=_0xfc29x3;this[_0xa1fe[1336]]=_0xfc29x4;this[_0xa1fe[1307]]=null!=_0xfc29x5?_0xfc29x5:1}mxUtils[_0xa1fe[1284]](mxSwimlane,mxShape);mxSwimlane[_0xa1fe[202]][_0xa1fe[1680]]=16;mxSwimlane[_0xa1fe[202]][_0xa1fe[1597]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2=Math[_0xa1fe[243]](_0xfc29x9,mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return new mxRectangle(_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x2)};mxSwimlane[_0xa1fe[202]][_0xa1fe[1614]]=function(){var _0xfc29x2=mxShape[_0xa1fe[202]][_0xa1fe[1614]][_0xa1fe[183]](this,arguments);1!=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_HORIZONTAL,1)&&(_0xfc29x2+=mxText[_0xa1fe[202]][_0xa1fe[1616]]);return _0xfc29x2};mxSwimlane[_0xa1fe[202]][_0xa1fe[1615]]=function(){return this[_0xa1fe[1614]]()};mxSwimlane[_0xa1fe[202]][_0xa1fe[1590]]=function(){return mxShape[_0xa1fe[202]][_0xa1fe[1590]][_0xa1fe[183]](this,arguments)||1!=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_HORIZONTAL,1)};mxSwimlane[_0xa1fe[202]][_0xa1fe[1603]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0xa1fe[1557]])/100;return 3*_0xfc29x4*_0xfc29x2};mxSwimlane[_0xa1fe[202]][_0xa1fe[1595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=Math[_0xa1fe[243]](_0xfc29x9,mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),_0xfc29x12=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),_0xfc29x13=1==mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_SWIMLANE_LINE,1),_0xfc29x14=0;_0xfc29x2[_0xa1fe[513]](_0xfc29x3,_0xfc29x4);this[_0xa1fe[1606]]?(_0xfc29x14=this[_0xa1fe[1603]](_0xfc29x5,_0xfc29x9,_0xfc29xa),this[_0xa1fe[1698]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x14,_0xfc29x12,_0xfc29x13)):this[_0xa1fe[1699]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13);_0xfc29x12=mxUtils[_0xa1fe[433]](this[_0xa1fe[124]],mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);this[_0xa1fe[1700]](_0xfc29x2,_0xfc29x5,_0xfc29xa,_0xfc29x9,_0xfc29x12);null!=this[_0xa1fe[618]]&&(_0xfc29x9=this[_0xa1fe[1686]](_0xfc29x3,_0xfc29xa,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[618]](_0xfc29x9[_0xa1fe[235]]-_0xfc29x3,_0xfc29x9[_0xa1fe[236]]-_0xfc29x4,_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]],this[_0xa1fe[618]],!1,!1,!1));this[_0xa1fe[617]]&&(_0xfc29x2[_0xa1fe[1267]](!1),this[_0xa1fe[1604]](_0xfc29x2,0,0,_0xfc29x5,_0xfc29xa,_0xfc29x14))};mxSwimlane[_0xa1fe[202]][_0xa1fe[1699]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){_0xfc29x12!=mxConstants[_0xa1fe[217]]&&(_0xfc29x2[_0xa1fe[815]](),_0xfc29x2[_0xa1fe[1245]](_0xfc29x12),_0xfc29x2[_0xa1fe[1319]](0,0,_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[1337]](),_0xfc29x2[_0xa1fe[1210]](),_0xfc29x2[_0xa1fe[1267]](!1));_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](0,_0xfc29xa);_0xfc29x2[_0xa1fe[1277]](0,0);_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,0);_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29xa);_0xfc29x13&&_0xfc29x2[_0xa1fe[268]]();_0xfc29x2[_0xa1fe[1337]]();_0xfc29xa<_0xfc29x9&&_0xfc29x12==mxConstants[_0xa1fe[217]]&&(_0xfc29x2[_0xa1fe[1229]]= !1,_0xfc29x2[_0xa1fe[1275]](),_0xfc29x2[_0xa1fe[1276]](0,_0xfc29xa),_0xfc29x2[_0xa1fe[1277]](0,_0xfc29x9),_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29x9),_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29xa),_0xfc29x2[_0xa1fe[1336]]())};mxSwimlane[_0xa1fe[202]][_0xa1fe[1698]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){_0xfc29x13!=mxConstants[_0xa1fe[217]]&&(_0xfc29x2[_0xa1fe[815]](),_0xfc29x2[_0xa1fe[1245]](_0xfc29x13),_0xfc29x2[_0xa1fe[1320]](0,0,_0xfc29x5,_0xfc29x9,_0xfc29x12,_0xfc29x12),_0xfc29x2[_0xa1fe[1337]](),_0xfc29x2[_0xa1fe[1210]](),_0xfc29x2[_0xa1fe[1267]](!1));_0xfc29x2[_0xa1fe[1275]]();_0xfc29x2[_0xa1fe[1276]](_0xfc29x5,_0xfc29xa);_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29x12);_0xfc29x2[_0xa1fe[1278]](_0xfc29x5,0,_0xfc29x5-Math[_0xa1fe[243]](_0xfc29x5/2,_0xfc29x12),0);_0xfc29x2[_0xa1fe[1277]](Math[_0xa1fe[243]](_0xfc29x5/2,_0xfc29x12),0);_0xfc29x2[_0xa1fe[1278]](0,0,0,_0xfc29x12);_0xfc29x2[_0xa1fe[1277]](0,_0xfc29xa);_0xfc29x14&&_0xfc29x2[_0xa1fe[268]]();_0xfc29x2[_0xa1fe[1337]]();_0xfc29xa<_0xfc29x9&&_0xfc29x13==mxConstants[_0xa1fe[217]]&&(_0xfc29x2[_0xa1fe[1229]]= !1,_0xfc29x2[_0xa1fe[1275]](),_0xfc29x2[_0xa1fe[1276]](0,_0xfc29xa),_0xfc29x2[_0xa1fe[1277]](0,_0xfc29x9-_0xfc29x12),_0xfc29x2[_0xa1fe[1278]](0,_0xfc29x9,Math[_0xa1fe[243]](_0xfc29x5/2,_0xfc29x12),_0xfc29x9),_0xfc29x2[_0xa1fe[1277]](_0xfc29x5-Math[_0xa1fe[243]](_0xfc29x5/2,_0xfc29x12),_0xfc29x9),_0xfc29x2[_0xa1fe[1278]](_0xfc29x5,_0xfc29x9,_0xfc29x5,_0xfc29x9-_0xfc29x12),_0xfc29x2[_0xa1fe[1277]](_0xfc29x5,_0xfc29xa),_0xfc29x2[_0xa1fe[1336]]())};mxSwimlane[_0xa1fe[202]][_0xa1fe[1700]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x9!=mxConstants[_0xa1fe[217]]&&(_0xfc29x2[_0xa1fe[1249]](_0xfc29x9),_0xfc29x2[_0xa1fe[1251]](!0),_0xfc29x2[_0xa1fe[1275]](),_0xfc29x2[_0xa1fe[1276]](_0xfc29x3,_0xfc29x4),_0xfc29x2[_0xa1fe[1277]](_0xfc29x3,_0xfc29x5),_0xfc29x2[_0xa1fe[1336]](),_0xfc29x2[_0xa1fe[1251]](!1))};mxSwimlane[_0xa1fe[202]][_0xa1fe[1686]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return new mxRectangle(_0xfc29x2+_0xfc29x4-this[_0xa1fe[1680]],_0xfc29x3,this[_0xa1fe[1680]],this[_0xa1fe[1680]])};function mxGraphLayout(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2}mxGraphLayout[_0xa1fe[202]][_0xa1fe[1179]]=null;mxGraphLayout[_0xa1fe[202]][_0xa1fe[1701]]= !0;mxGraphLayout[_0xa1fe[202]][_0xa1fe[1101]]=null;mxGraphLayout[_0xa1fe[202]][_0xa1fe[1702]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){};mxGraphLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1703]]=function(){return this[_0xa1fe[1179]]};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1704]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3);_0xfc29x3=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1179]][_0xa1fe[1705]](_0xfc29x3);return null!=_0xfc29x3?_0xfc29x3[_0xfc29x2]:null};mxGraphLayout[_0xa1fe[1706]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x4&&null!=_0xfc29x2){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;_0xfc29x9=_0xfc29x9||[];var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2);if(null==_0xfc29x9[_0xfc29xa]&&(_0xfc29x9[_0xfc29xa]=_0xfc29x2,_0xfc29x5=_0xfc29x4(_0xfc29x2,_0xfc29x5),null==_0xfc29x5||_0xfc29x5)){if(_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1707]](_0xfc29x2),0<_0xfc29x5){for(_0xfc29xa=0;_0xfc29xa<_0xfc29x5;_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1708]](_0xfc29x2,_0xfc29xa),_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x12,!0)==_0xfc29x2;if(!_0xfc29x3||_0xfc29x13){_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x12,!_0xfc29x13),this[_0xa1fe[1706]](_0xfc29x13,_0xfc29x3,_0xfc29x4,_0xfc29x12,_0xfc29x9)}}}}}};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1711]]=function(_0xfc29x2){return this[_0xa1fe[1179]][_0xa1fe[1712]](_0xfc29x2)};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1713]]=function(_0xfc29x2){return !this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2)||!this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2)};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1715]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();return !_0xfc29x3[_0xa1fe[250]](_0xfc29x2)||!this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2)||null==_0xfc29x3[_0xa1fe[1709]](_0xfc29x2,!0)||null==_0xfc29x3[_0xa1fe[1709]](_0xfc29x2,!1)};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1716]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_NOEDGESTYLE,_0xfc29x3?_0xa1fe[468]:_0xa1fe[500],[_0xfc29x2])};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1718]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_ORTHOGONAL,_0xfc29x3?_0xa1fe[500]:_0xa1fe[468],[_0xfc29x2])};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1719]]=function(_0xfc29x2){var _0xfc29x3= new mxPoint;if(null!=_0xfc29x2&&_0xfc29x2!=this[_0xa1fe[1101]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]();if(_0xfc29x4[_0xa1fe[1720]](this[_0xa1fe[1101]],_0xfc29x2)){for(var _0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2);_0xfc29x2!=this[_0xa1fe[1101]];){_0xfc29x3[_0xa1fe[235]]+=_0xfc29x5[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]+=_0xfc29x5[_0xa1fe[236]],_0xfc29x2=_0xfc29x4[_0xa1fe[1197]](_0xfc29x2),_0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2)}}};return _0xfc29x3};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1722]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[251]],_0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2);null==_0xfc29x5?(_0xfc29x5= new mxGeometry,_0xfc29x5[_0xa1fe[1723]](!0)):_0xfc29x5=_0xfc29x5[_0xa1fe[238]]();if(null!=this[_0xa1fe[1101]]&&null!=_0xfc29x3){for(var _0xfc29x9=_0xfc29x4[_0xa1fe[1197]](_0xfc29x2),_0xfc29x9=this[_0xa1fe[1719]](_0xfc29x9),_0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[67]];_0xfc29xa++){_0xfc29x3[_0xfc29xa][_0xa1fe[235]]-=_0xfc29x9[_0xa1fe[235]],_0xfc29x3[_0xfc29xa][_0xa1fe[236]]-=_0xfc29x9[_0xa1fe[236]]}};_0xfc29x5[_0xa1fe[1525]]=_0xfc29x3;_0xfc29x4[_0xa1fe[1724]](_0xfc29x2,_0xfc29x5)}};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1725]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2),_0xfc29xa=null;if(null!=_0xfc29x9){_0xfc29xa= new mxRectangle(_0xfc29x3,_0xfc29x4,_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]]);if(this[_0xa1fe[1701]]){var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);if(null!=_0xfc29x12&&null!=_0xfc29x12[_0xa1fe[963]]&&null!=_0xfc29x12[_0xa1fe[963]][_0xa1fe[1563]]){var _0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x14=_0xfc29x12[_0xa1fe[963]][_0xa1fe[1563]];_0xfc29x12[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[235]]<_0xfc29x12[_0xa1fe[235]]&&(_0xfc29x3+=(_0xfc29x12[_0xa1fe[235]]-_0xfc29x14[_0xa1fe[235]])/_0xfc29x13,_0xfc29xa[_0xa1fe[117]]=_0xfc29x14[_0xa1fe[117]]);_0xfc29x12[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[236]]<_0xfc29x12[_0xa1fe[236]]&&(_0xfc29x4+=(_0xfc29x12[_0xa1fe[236]]-_0xfc29x14[_0xa1fe[236]])/_0xfc29x13,_0xfc29xa[_0xa1fe[119]]=_0xfc29x14[_0xa1fe[119]])}};null!=this[_0xa1fe[1101]]&&(_0xfc29x12=_0xfc29x5[_0xa1fe[1197]](_0xfc29x2),null!=_0xfc29x12&&_0xfc29x12!=this[_0xa1fe[1101]]&&(_0xfc29x12=this[_0xa1fe[1719]](_0xfc29x12),_0xfc29x3-=_0xfc29x12[_0xa1fe[235]],_0xfc29x4-=_0xfc29x12[_0xa1fe[236]]));if(_0xfc29x9[_0xa1fe[235]]!=_0xfc29x3||_0xfc29x9[_0xa1fe[236]]!=_0xfc29x4){_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29x9[_0xa1fe[235]]=_0xfc29x3,_0xfc29x9[_0xa1fe[236]]=_0xfc29x4,_0xfc29x5[_0xa1fe[1724]](_0xfc29x2,_0xfc29x9)}};return _0xfc29xa};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1726]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1721]](_0xfc29x2);if(this[_0xa1fe[1701]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);if(null!=_0xfc29x4&&null!=_0xfc29x4[_0xa1fe[963]]&&null!=_0xfc29x4[_0xa1fe[963]][_0xa1fe[1563]]){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x9=_0xfc29x4[_0xa1fe[963]][_0xa1fe[1563]],_0xfc29xa=Math[_0xa1fe[160]](_0xfc29x4[_0xa1fe[235]]-_0xfc29x9[_0xa1fe[235]],0)/_0xfc29x5,_0xfc29x12=Math[_0xa1fe[160]](_0xfc29x4[_0xa1fe[236]]-_0xfc29x9[_0xa1fe[236]],0)/_0xfc29x5,_0xfc29x13=Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]-(_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]),0)/_0xfc29x5,_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]-(_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]),0)/_0xfc29x5,_0xfc29x3= new mxRectangle(_0xfc29x3[_0xa1fe[235]]-_0xfc29xa,_0xfc29x3[_0xa1fe[236]]-_0xfc29x12,_0xfc29x3[_0xa1fe[117]]+_0xfc29xa+_0xfc29x13,_0xfc29x3[_0xa1fe[119]]+_0xfc29x12+_0xfc29x4)}};null!=this[_0xa1fe[1101]]&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x2),_0xfc29x3=_0xfc29x3[_0xa1fe[238]](),null!=_0xfc29x2&&_0xfc29x2!=this[_0xa1fe[1101]]&&(_0xfc29x2=this[_0xa1fe[1719]](_0xfc29x2),_0xfc29x3[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[236]]));return new mxRectangle(_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]])};mxGraphLayout[_0xa1fe[202]][_0xa1fe[1727]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[473]]();try{for(var _0xfc29x4=_0xfc29x2[_0xa1fe[67]]-1;0<=_0xfc29x4;_0xfc29x4--){var _0xfc29x5=_0xfc29x2[_0xfc29x4],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[1728]](_0xfc29x5),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[1729]](_0xfc29x9),_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x5),_0xfc29x13=0,_0xfc29x14=0;if(this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x5)){var _0xfc29x15=this[_0xa1fe[1179]][_0xa1fe[1731]](_0xfc29x5),_0xfc29x13=_0xfc29x15[_0xa1fe[117]],_0xfc29x14=_0xfc29x15[_0xa1fe[119]]};null!=_0xfc29xa&&null!=_0xfc29x12&&(_0xfc29x12=_0xfc29x12[_0xa1fe[238]](),_0xfc29x12[_0xa1fe[235]]=_0xfc29x12[_0xa1fe[235]]+_0xfc29xa[_0xa1fe[235]]-_0xfc29x3-_0xfc29x13,_0xfc29x12[_0xa1fe[236]]=_0xfc29x12[_0xa1fe[236]]+_0xfc29xa[_0xa1fe[236]]-_0xfc29x3-_0xfc29x14,_0xfc29x12[_0xa1fe[117]]=_0xfc29xa[_0xa1fe[117]]+2*_0xfc29x3+_0xfc29x13,_0xfc29x12[_0xa1fe[119]]=_0xfc29xa[_0xa1fe[119]]+2*_0xfc29x3+_0xfc29x14,this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1724]](_0xfc29x5,_0xfc29x12),this[_0xa1fe[1179]][_0xa1fe[834]](_0xfc29x9,_0xfc29x3+_0xfc29x13-_0xfc29xa[_0xa1fe[235]],_0xfc29x3+_0xfc29x14-_0xfc29xa[_0xa1fe[236]]))}}finally{this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[476]]()}};function mxStackLayout(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[662]]=null!=_0xfc29x3?_0xfc29x3:!0;this[_0xa1fe[657]]=null!=_0xfc29x4?_0xfc29x4:0;this[_0xa1fe[1732]]=null!=_0xfc29x5?_0xfc29x5:0;this[_0xa1fe[1733]]=null!=_0xfc29x9?_0xfc29x9:0;this[_0xa1fe[467]]=null!=_0xfc29xa?_0xfc29xa:0}mxStackLayout[_0xa1fe[202]]= new mxGraphLayout;mxStackLayout[_0xa1fe[202]][_0xa1fe[196]]=mxStackLayout;mxStackLayout[_0xa1fe[202]][_0xa1fe[662]]=null;mxStackLayout[_0xa1fe[202]][_0xa1fe[657]]=null;mxStackLayout[_0xa1fe[202]][_0xa1fe[1732]]=null;mxStackLayout[_0xa1fe[202]][_0xa1fe[1733]]=null;mxStackLayout[_0xa1fe[202]][_0xa1fe[467]]=0;mxStackLayout[_0xa1fe[202]][_0xa1fe[1734]]= !1;mxStackLayout[_0xa1fe[202]][_0xa1fe[1334]]= !1;mxStackLayout[_0xa1fe[202]][_0xa1fe[1735]]= !1;mxStackLayout[_0xa1fe[202]][_0xa1fe[1736]]= !1;mxStackLayout[_0xa1fe[202]][_0xa1fe[1333]]=null;mxStackLayout[_0xa1fe[202]][_0xa1fe[1737]]=function(){return this[_0xa1fe[662]]};mxStackLayout[_0xa1fe[202]][_0xa1fe[1702]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[1197]](_0xfc29x2),_0xfc29xa=this[_0xa1fe[1737]]();if(null!=_0xfc29x2&&null!=_0xfc29x9){var _0xfc29x12=0,_0xfc29x13=0,_0xfc29x14=_0xfc29x5[_0xa1fe[262]](_0xfc29x9);_0xfc29x3=_0xfc29xa?_0xfc29x3:_0xfc29x4;_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x9);null!=_0xfc29x12&&(_0xfc29x3-=_0xfc29xa?_0xfc29x12[_0xa1fe[235]]:_0xfc29x12[_0xa1fe[236]]);for(_0xfc29x12=0;_0xfc29x12<_0xfc29x14;_0xfc29x12++){if(_0xfc29x4=_0xfc29x5[_0xa1fe[263]](_0xfc29x9,_0xfc29x12),_0xfc29x4!=_0xfc29x2&&(_0xfc29x4=_0xfc29x5[_0xa1fe[1721]](_0xfc29x4),null!=_0xfc29x4)){_0xfc29x4=_0xfc29xa?_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]/2:_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]/2;if(_0xfc29x13<_0xfc29x3&&_0xfc29x4>_0xfc29x3){break};_0xfc29x13=_0xfc29x4}};_0xfc29xa=_0xfc29x9[_0xa1fe[1738]](_0xfc29x2);_0xfc29xa=Math[_0xa1fe[160]](0,_0xfc29x12-(_0xfc29x12>_0xfc29xa?1:0));_0xfc29x5[_0xa1fe[99]](_0xfc29x9,_0xfc29x2,_0xfc29xa)}};mxStackLayout[_0xa1fe[202]][_0xa1fe[1739]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=_0xfc29x3[_0xa1fe[1721]](_0xfc29x2);if(null!=this[_0xa1fe[1179]][_0xa1fe[526]]&&(null==_0xfc29x4&&_0xfc29x3[_0xa1fe[1740]](_0xfc29x2)||_0xfc29x2==this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1741]])){_0xfc29x4= new mxRectangle(0,0,this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[359]]-1,this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[167]]-1)};return _0xfc29x4};mxStackLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1737]](),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=this[_0xa1fe[1739]](_0xfc29x2),_0xfc29x9=0;null!=_0xfc29x5&&(_0xfc29x9=_0xfc29x3?_0xfc29x5[_0xa1fe[119]]:_0xfc29x5[_0xa1fe[117]]);var _0xfc29x9=_0xfc29x9-(2*this[_0xa1fe[657]]+2*this[_0xa1fe[467]]),_0xfc29xa=this[_0xa1fe[1732]]+this[_0xa1fe[467]],_0xfc29x12=this[_0xa1fe[1733]]+this[_0xa1fe[467]];if(this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)){var _0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1705]](_0xfc29x2),_0xfc29x14=mxUtils[_0xa1fe[433]](_0xfc29x13,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),_0xfc29x13=mxUtils[_0xa1fe[433]](_0xfc29x13,mxConstants.STYLE_HORIZONTAL,!0);_0xfc29x3==_0xfc29x13&&(_0xfc29x9-=_0xfc29x14);_0xfc29x3?_0xfc29x12+=_0xfc29x14:_0xfc29xa+=_0xfc29x14};_0xfc29x4[_0xa1fe[473]]();try{for(var _0xfc29x14=0,_0xfc29x13=null,_0xfc29x15=_0xfc29x4[_0xa1fe[262]](_0xfc29x2),_0xfc29x16=0;_0xfc29x16<_0xfc29x15;_0xfc29x16++){var _0xfc29x17=_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x16);if(!this[_0xa1fe[1713]](_0xfc29x17)&&this[_0xa1fe[1711]](_0xfc29x17)){var _0xfc29x18=_0xfc29x4[_0xa1fe[1721]](_0xfc29x17);if(null!=_0xfc29x18){_0xfc29x18=_0xfc29x18[_0xa1fe[238]]();if(null!=this[_0xa1fe[1333]]&&null!=_0xfc29x13&&(_0xfc29x3&&_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]+_0xfc29x18[_0xa1fe[117]]+2*this[_0xa1fe[657]]>this[_0xa1fe[1333]]||!_0xfc29x3&&_0xfc29x13[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]]+_0xfc29x18[_0xa1fe[119]]+2*this[_0xa1fe[657]]>this[_0xa1fe[1333]])){_0xfc29x13=null,_0xfc29x3?_0xfc29x12+=_0xfc29x14+this[_0xa1fe[657]]:_0xfc29xa+=_0xfc29x14+this[_0xa1fe[657]],_0xfc29x14=0};_0xfc29x14=Math[_0xa1fe[160]](_0xfc29x14,_0xfc29x3?_0xfc29x18[_0xa1fe[119]]:_0xfc29x18[_0xa1fe[117]]);null!=_0xfc29x13?_0xfc29x3?_0xfc29x18[_0xa1fe[235]]=_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]+this[_0xa1fe[657]]:_0xfc29x18[_0xa1fe[236]]=_0xfc29x13[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]]+this[_0xa1fe[657]]:this[_0xa1fe[1734]]||(_0xfc29x3?_0xfc29x18[_0xa1fe[235]]=_0xfc29xa:_0xfc29x18[_0xa1fe[236]]=_0xfc29x12);_0xfc29x3?_0xfc29x18[_0xa1fe[236]]=_0xfc29x12:_0xfc29x18[_0xa1fe[235]]=_0xfc29xa;this[_0xa1fe[1334]]&&0<_0xfc29x9&&(_0xfc29x3?_0xfc29x18[_0xa1fe[119]]=_0xfc29x9:_0xfc29x18[_0xa1fe[117]]=_0xfc29x9);_0xfc29x4[_0xa1fe[1724]](_0xfc29x17,_0xfc29x18);_0xfc29x13=_0xfc29x18}}};this[_0xa1fe[1735]]&&null!=_0xfc29x5&&null!=_0xfc29x13&&!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x2)?(_0xfc29x5=_0xfc29x5[_0xa1fe[238]](),_0xfc29x3?_0xfc29x5[_0xa1fe[117]]=_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]+this[_0xa1fe[657]]:_0xfc29x5[_0xa1fe[119]]=_0xfc29x13[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]]+this[_0xa1fe[657]],_0xfc29x4[_0xa1fe[1724]](_0xfc29x2,_0xfc29x5)):this[_0xa1fe[1736]]&&(null!=_0xfc29x5&&null!=_0xfc29x13)&&(_0xfc29x3?_0xfc29x13[_0xa1fe[117]]=_0xfc29x5[_0xa1fe[117]]-_0xfc29x13[_0xa1fe[235]]-this[_0xa1fe[657]]:_0xfc29x13[_0xa1fe[119]]=_0xfc29x5[_0xa1fe[119]]-_0xfc29x13[_0xa1fe[236]]-this[_0xa1fe[657]])}finally{_0xfc29x4[_0xa1fe[476]]()}}};function mxPartitionLayout(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[662]]=null!=_0xfc29x3?_0xfc29x3:!0;this[_0xa1fe[657]]=_0xfc29x4||0;this[_0xa1fe[467]]=_0xfc29x5||0}mxPartitionLayout[_0xa1fe[202]]= new mxGraphLayout;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[196]]=mxPartitionLayout;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[662]]=null;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[657]]=null;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[467]]=null;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[1743]]= !0;mxPartitionLayout[_0xa1fe[202]][_0xa1fe[1737]]=function(){return this[_0xa1fe[662]]};mxPartitionLayout[_0xa1fe[202]][_0xa1fe[1702]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]();var _0xfc29x5=_0xfc29x4[_0xa1fe[1197]](_0xfc29x2);if(null!=_0xfc29x2&&null!=_0xfc29x5){for(var _0xfc29x9=0,_0xfc29xa=0,_0xfc29x12=_0xfc29x4[_0xa1fe[262]](_0xfc29x5),_0xfc29x9=0;_0xfc29x9<_0xfc29x12;_0xfc29x9++){var _0xfc29x13=_0xfc29x4[_0xa1fe[263]](_0xfc29x5,_0xfc29x9),_0xfc29x13=this[_0xa1fe[1726]](_0xfc29x13);if(null!=_0xfc29x13){_0xfc29x13=_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]/2;if(_0xfc29xa<_0xfc29x3&&_0xfc29x13>_0xfc29x3){break};_0xfc29xa=_0xfc29x13}};_0xfc29x3=_0xfc29x5[_0xa1fe[1738]](_0xfc29x2);_0xfc29x3=Math[_0xa1fe[160]](0,_0xfc29x9-(_0xfc29x9>_0xfc29x3?1:0));_0xfc29x4[_0xa1fe[99]](_0xfc29x5,_0xfc29x2,_0xfc29x3)}};mxPartitionLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1737]](),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2);if(null!=this[_0xa1fe[1179]][_0xa1fe[526]]&&(null==_0xfc29x5&&_0xfc29x4[_0xa1fe[1740]](_0xfc29x2)||_0xfc29x2==this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1741]])){_0xfc29x5= new mxRectangle(0,0,this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[359]]-1,this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[167]]-1)};if(null!=_0xfc29x5){for(var _0xfc29x9=[],_0xfc29xa=_0xfc29x4[_0xa1fe[262]](_0xfc29x2),_0xfc29x12=0;_0xfc29x12<_0xfc29xa;_0xfc29x12++){var _0xfc29x13=_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x12);!this[_0xa1fe[1713]](_0xfc29x13)&&this[_0xa1fe[1711]](_0xfc29x13)&&_0xfc29x9[_0xa1fe[207]](_0xfc29x13)};_0xfc29xa=_0xfc29x9[_0xa1fe[67]];if(0<_0xfc29xa){var _0xfc29x14=this[_0xa1fe[467]],_0xfc29x15=this[_0xa1fe[467]],_0xfc29x16=_0xfc29x3?_0xfc29x5[_0xa1fe[119]]:_0xfc29x5[_0xa1fe[117]],_0xfc29x16=_0xfc29x16-2*this[_0xa1fe[467]];_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)?this[_0xa1fe[1179]][_0xa1fe[1731]](_0xfc29x2): new mxRectangle;_0xfc29x16-=_0xfc29x3?_0xfc29x2[_0xa1fe[119]]:_0xfc29x2[_0xa1fe[117]];_0xfc29x14+=_0xfc29x2[_0xa1fe[117]];_0xfc29x15+=_0xfc29x2[_0xa1fe[119]];_0xfc29x2=this[_0xa1fe[467]]+(_0xfc29xa-1)*this[_0xa1fe[657]];_0xfc29x5=_0xfc29x3?(_0xfc29x5[_0xa1fe[117]]-_0xfc29x14-_0xfc29x2)/_0xfc29xa:(_0xfc29x5[_0xa1fe[119]]-_0xfc29x15-_0xfc29x2)/_0xfc29xa;if(0<_0xfc29x5){_0xfc29x4[_0xa1fe[473]]();try{for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa;_0xfc29x12++){var _0xfc29x13=_0xfc29x9[_0xfc29x12],_0xfc29x17=_0xfc29x4[_0xa1fe[1721]](_0xfc29x13);null!=_0xfc29x17&&(_0xfc29x17=_0xfc29x17[_0xa1fe[238]](),_0xfc29x17[_0xa1fe[235]]=_0xfc29x14,_0xfc29x17[_0xa1fe[236]]=_0xfc29x15,_0xfc29x3?(this[_0xa1fe[1743]]&&(_0xfc29x17[_0xa1fe[117]]=_0xfc29x5,_0xfc29x17[_0xa1fe[119]]=_0xfc29x16),_0xfc29x14+=_0xfc29x5+this[_0xa1fe[657]]):(this[_0xa1fe[1743]]&&(_0xfc29x17[_0xa1fe[119]]=_0xfc29x5,_0xfc29x17[_0xa1fe[117]]=_0xfc29x16),_0xfc29x15+=_0xfc29x5+this[_0xa1fe[657]]),_0xfc29x4[_0xa1fe[1724]](_0xfc29x13,_0xfc29x17))}}finally{_0xfc29x4[_0xa1fe[476]]()}}}}};function mxCompactTreeLayout(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[662]]=null!=_0xfc29x3?_0xfc29x3:!0;this[_0xa1fe[1744]]=null!=_0xfc29x4?_0xfc29x4:!1}mxCompactTreeLayout[_0xa1fe[202]]= new mxGraphLayout;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[196]]=mxCompactTreeLayout;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[662]]=null;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1744]]=null;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1735]]= !0;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1745]]=10;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1746]]=null;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1747]]= !1;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1748]]=10;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1749]]=20;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1750]]= !0;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1751]]=5;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1752]]=4;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1753]]=8;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1754]]=4;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1755]]= !0;mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1713]]=function(_0xfc29x2){return mxGraphLayout[_0xa1fe[202]][_0xa1fe[1713]][_0xa1fe[183]](this,arguments)||0==this[_0xa1fe[1179]][_0xa1fe[1756]](_0xfc29x2)[_0xa1fe[67]]};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1737]]=function(){return this[_0xa1fe[662]]};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1101]]=_0xfc29x2;var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]();if(null==_0xfc29x3){if(0<this[_0xa1fe[1179]][_0xa1fe[264]](_0xfc29x2,_0xfc29x4[_0xa1fe[1197]](_0xfc29x2),this[_0xa1fe[1744]],!this[_0xa1fe[1744]],!1)[_0xa1fe[67]]){_0xfc29x3=_0xfc29x2}else {var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1757]](_0xfc29x2,!0,this[_0xa1fe[1744]]);if(0<_0xfc29x5[_0xa1fe[67]]){for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x5[_0xa1fe[67]];_0xfc29x9++){if(!this[_0xa1fe[1713]](_0xfc29x5[_0xfc29x9])&&0<this[_0xa1fe[1179]][_0xa1fe[264]](_0xfc29x5[_0xfc29x9],null,this[_0xa1fe[1744]],!this[_0xa1fe[1744]],!1)[_0xa1fe[67]]){_0xfc29x3=_0xfc29x5[_0xfc29x9];break}}}}};if(null!=_0xfc29x3){this[_0xa1fe[1746]]=this[_0xa1fe[1735]]?{}:null;_0xfc29x4[_0xa1fe[473]]();try{var _0xfc29xa=this[_0xa1fe[1758]](_0xfc29x3,_0xfc29x2);if(null!=_0xfc29xa){this[_0xa1fe[1759]](_0xfc29xa);var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[1020]],_0xfc29x5=_0xfc29x12;if(!this[_0xa1fe[1747]]){var _0xfc29x13=this[_0xa1fe[1726]](_0xfc29x3);null!=_0xfc29x13&&(_0xfc29x12=_0xfc29x13[_0xa1fe[235]],_0xfc29x5=_0xfc29x13[_0xa1fe[236]])};_0xfc29x13=null;_0xfc29x13=this[_0xa1fe[1737]]()?this[_0xa1fe[1760]](_0xfc29xa,_0xfc29x12,_0xfc29x5):this[_0xa1fe[1761]](_0xfc29xa,null,_0xfc29x12,_0xfc29x5);if(null!=_0xfc29x13){var _0xfc29x14=_0xfc29x9=0;0>_0xfc29x13[_0xa1fe[235]]&&(_0xfc29x9=Math[_0xa1fe[425]](_0xfc29x12-_0xfc29x13[_0xa1fe[235]]));0>_0xfc29x13[_0xa1fe[236]]&&(_0xfc29x14=Math[_0xa1fe[425]](_0xfc29x5-_0xfc29x13[_0xa1fe[236]]));(0!=_0xfc29x9||0!=_0xfc29x14)&&this[_0xa1fe[1762]](_0xfc29xa,_0xfc29x9,_0xfc29x14);this[_0xa1fe[1735]]&&this[_0xa1fe[1763]]();this[_0xa1fe[1755]]&&this[_0xa1fe[1764]](_0xfc29xa)}}}finally{_0xfc29x4[_0xa1fe[476]]()}}};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1762]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2[_0xa1fe[235]]+=_0xfc29x3;_0xfc29x2[_0xa1fe[236]]+=_0xfc29x4;this[_0xa1fe[183]](_0xfc29x2);for(_0xfc29x2=_0xfc29x2[_0xa1fe[247]];null!=_0xfc29x2;){this[_0xa1fe[1762]](_0xfc29x2,_0xfc29x3,_0xfc29x4),_0xfc29x2=_0xfc29x2[_0xa1fe[1765]]}};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1758]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:[];var _0xfc29x5=mxCellPath[_0xa1fe[385]](_0xfc29x2),_0xfc29x9=null;if(null!=_0xfc29x2&&null==_0xfc29x4[_0xfc29x5]&&!this[_0xa1fe[1713]](_0xfc29x2)){_0xfc29x4[_0xfc29x5]=_0xfc29x2;var _0xfc29x9=this[_0xa1fe[1766]](_0xfc29x2),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29xa=null;_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[264]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[1744]],!this[_0xa1fe[1744]],!1,!0);for(var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]](),_0xfc29x13=0;_0xfc29x13<_0xfc29x2[_0xa1fe[67]];_0xfc29x13++){var _0xfc29x14=_0xfc29x2[_0xfc29x13];if(!this[_0xa1fe[1715]](_0xfc29x14)){this[_0xa1fe[1750]]&&this[_0xa1fe[1722]](_0xfc29x14,null);this[_0xa1fe[1755]]&&(this[_0xa1fe[1716]](_0xfc29x14,!1),this[_0xa1fe[1722]](_0xfc29x14,null));var _0xfc29x15=_0xfc29x12[_0xa1fe[248]](_0xfc29x14),_0xfc29x14=null!=_0xfc29x15?_0xfc29x15[_0xa1fe[1710]](this[_0xa1fe[1744]]):_0xfc29x12[_0xa1fe[1710]](_0xfc29x14,this[_0xa1fe[1744]]),_0xfc29x15=this[_0xa1fe[1758]](_0xfc29x14,_0xfc29x3,_0xfc29x4);null!=_0xfc29x15&&null!=_0xfc29x5[_0xa1fe[1721]](_0xfc29x14)&&(null==_0xfc29xa?_0xfc29x9[_0xa1fe[247]]=_0xfc29x15:_0xfc29xa[_0xa1fe[1765]]=_0xfc29x15,_0xfc29xa=_0xfc29x15)}}};return _0xfc29x9};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1759]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3=_0xfc29x2[_0xa1fe[247]];null!=_0xfc29x3;){this[_0xa1fe[1759]](_0xfc29x3),_0xfc29x3=_0xfc29x3[_0xa1fe[1765]]};null!=_0xfc29x2[_0xa1fe[247]]?this[_0xa1fe[1767]](_0xfc29x2,this[_0xa1fe[234]](_0xfc29x2)):this[_0xa1fe[1768]](_0xfc29x2)}};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1760]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x2[_0xa1fe[235]]+=_0xfc29x3+_0xfc29x2[_0xa1fe[1769]];_0xfc29x2[_0xa1fe[236]]+=_0xfc29x4+_0xfc29x2[_0xa1fe[1770]];_0xfc29x5=this[_0xa1fe[183]](_0xfc29x2,_0xfc29x5);_0xfc29x3=_0xfc29x2[_0xa1fe[247]];if(null!=_0xfc29x3){_0xfc29x5=this[_0xa1fe[1760]](_0xfc29x3,_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],_0xfc29x5);_0xfc29x4=_0xfc29x2[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[1770]];for(var _0xfc29x9=_0xfc29x3[_0xa1fe[1765]];null!=_0xfc29x9;){_0xfc29x5=this[_0xa1fe[1760]](_0xfc29x9,_0xfc29x2[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[1769]],_0xfc29x4,_0xfc29x5),_0xfc29x4+=_0xfc29x9[_0xa1fe[1770]],_0xfc29x9=_0xfc29x9[_0xa1fe[1765]]}};return _0xfc29x5};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1761]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[235]]+=_0xfc29x4+_0xfc29x2[_0xa1fe[1770]];_0xfc29x2[_0xa1fe[236]]+=_0xfc29x5+_0xfc29x2[_0xa1fe[1769]];_0xfc29x9=this[_0xa1fe[183]](_0xfc29x2,_0xfc29x9);_0xfc29x3=_0xfc29x2[_0xa1fe[247]];if(null!=_0xfc29x3){_0xfc29x9=this[_0xa1fe[1761]](_0xfc29x3,_0xfc29x2,_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],_0xfc29x9);_0xfc29x4=_0xfc29x2[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[1770]];for(_0xfc29x5=_0xfc29x3[_0xa1fe[1765]];null!=_0xfc29x5;){_0xfc29x9=this[_0xa1fe[1761]](_0xfc29x5,_0xfc29x2,_0xfc29x4,_0xfc29x2[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[1769]],_0xfc29x9),_0xfc29x4+=_0xfc29x5[_0xa1fe[1770]],_0xfc29x5=_0xfc29x5[_0xa1fe[1765]]}};return _0xfc29x9};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1767]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1749]]+this[_0xa1fe[1748]],_0xfc29x5=(_0xfc29x3-_0xfc29x2[_0xa1fe[117]])/2-this[_0xa1fe[1749]],_0xfc29x9=_0xfc29x5+_0xfc29x2[_0xa1fe[117]]+2*this[_0xa1fe[1749]]-_0xfc29x3;_0xfc29x2[_0xa1fe[247]][_0xa1fe[1769]]=_0xfc29x4+_0xfc29x2[_0xa1fe[119]];_0xfc29x2[_0xa1fe[247]][_0xa1fe[1770]]=_0xfc29x9;_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1771]]=this[_0xa1fe[1773]](_0xfc29x2[_0xa1fe[119]],0,this[_0xa1fe[1773]](_0xfc29x4,_0xfc29x9,_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1771]]));_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1774]]=this[_0xa1fe[1773]](_0xfc29x2[_0xa1fe[119]],0,this[_0xa1fe[1773]](_0xfc29x4,_0xfc29x5,_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1774]]))};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1768]]=function(_0xfc29x2){var _0xfc29x3=2*this[_0xa1fe[1749]];_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1775]]=this[_0xa1fe[1773]](_0xfc29x2[_0xa1fe[119]]+_0xfc29x3,0);_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1771]]=_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1775]];_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1776]]=this[_0xa1fe[1773]](0,-_0xfc29x2[_0xa1fe[117]]-_0xfc29x3);_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1774]]=this[_0xa1fe[1773]](_0xfc29x2[_0xa1fe[119]]+_0xfc29x3,0,_0xfc29x2[_0xa1fe[1772]][_0xa1fe[1776]])};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[234]]=function(_0xfc29x2){var _0xfc29x3=2*this[_0xa1fe[1749]],_0xfc29x4=_0xfc29x2[_0xa1fe[247]];_0xfc29x2[_0xa1fe[1772]]=_0xfc29x4[_0xa1fe[1772]];for(var _0xfc29x5=_0xfc29x4[_0xa1fe[117]]+_0xfc29x3,_0xfc29x9=_0xfc29x5,_0xfc29x4=_0xfc29x4[_0xa1fe[1765]];null!=_0xfc29x4;){var _0xfc29xa=this[_0xa1fe[1777]](_0xfc29x2[_0xa1fe[1772]],_0xfc29x4[_0xa1fe[1772]]);_0xfc29x4[_0xa1fe[1770]]=_0xfc29xa+_0xfc29x5;_0xfc29x4[_0xa1fe[1769]]=0;_0xfc29x5=_0xfc29x4[_0xa1fe[117]]+_0xfc29x3;_0xfc29x9+=_0xfc29xa+_0xfc29x5;_0xfc29x4=_0xfc29x4[_0xa1fe[1765]]};return _0xfc29x9};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1777]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=0,_0xfc29x5=0,_0xfc29x9=0,_0xfc29xa=_0xfc29x2[_0xa1fe[1774]],_0xfc29x12=_0xfc29x3[_0xa1fe[1771]];null!=_0xfc29x12&&null!=_0xfc29xa;){var _0xfc29x13=this[_0xa1fe[1368]](_0xfc29x4,_0xfc29x5,_0xfc29x12[_0xa1fe[1126]],_0xfc29x12[_0xa1fe[1125]],_0xfc29xa[_0xa1fe[1126]],_0xfc29xa[_0xa1fe[1125]]),_0xfc29x5=_0xfc29x5+_0xfc29x13,_0xfc29x9=_0xfc29x9+_0xfc29x13;_0xfc29x4+_0xfc29x12[_0xa1fe[1126]]<=_0xfc29xa[_0xa1fe[1126]]?(_0xfc29x4+=_0xfc29x12[_0xa1fe[1126]],_0xfc29x5+=_0xfc29x12[_0xa1fe[1125]],_0xfc29x12=_0xfc29x12[_0xa1fe[1765]]):(_0xfc29x4-=_0xfc29xa[_0xa1fe[1126]],_0xfc29x5-=_0xfc29xa[_0xa1fe[1125]],_0xfc29xa=_0xfc29xa[_0xa1fe[1765]])};null!=_0xfc29x12?(_0xfc29x4=this[_0xa1fe[1778]](_0xfc29x2[_0xa1fe[1775]],0,0,_0xfc29x12,_0xfc29x4,_0xfc29x5),_0xfc29x2[_0xa1fe[1775]]=null!=_0xfc29x4[_0xa1fe[1765]]?_0xfc29x3[_0xa1fe[1775]]:_0xfc29x4,_0xfc29x2[_0xa1fe[1776]]=_0xfc29x3[_0xa1fe[1776]]):(_0xfc29x4=this[_0xa1fe[1778]](_0xfc29x3[_0xa1fe[1776]],_0xfc29x4,_0xfc29x5,_0xfc29xa,0,0),null==_0xfc29x4[_0xa1fe[1765]]&&(_0xfc29x2[_0xa1fe[1776]]=_0xfc29x4));_0xfc29x2[_0xa1fe[1774]]=_0xfc29x3[_0xa1fe[1774]];return _0xfc29x9};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1368]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=0;if(_0xfc29x9<=_0xfc29x2||0>=_0xfc29x2+_0xfc29x4){return 0};_0xfc29x12=0<_0xfc29x9*_0xfc29x5-_0xfc29x4*_0xfc29xa?0>_0xfc29x2?_0xfc29x2*_0xfc29x5/_0xfc29x4-_0xfc29x3:0<_0xfc29x2?_0xfc29x2*_0xfc29xa/_0xfc29x9-_0xfc29x3:-_0xfc29x3:_0xfc29x9<_0xfc29x2+_0xfc29x4?_0xfc29xa-(_0xfc29x3+(_0xfc29x9-_0xfc29x2)*_0xfc29x5/_0xfc29x4):_0xfc29x9>_0xfc29x2+_0xfc29x4?(_0xfc29x4+_0xfc29x2)*_0xfc29xa/_0xfc29x9-(_0xfc29x3+_0xfc29x5):_0xfc29xa-(_0xfc29x3+_0xfc29x5);return 0<_0xfc29x12?_0xfc29x12:0};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1778]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x3=_0xfc29x9+_0xfc29x5[_0xa1fe[1126]]-_0xfc29x3;_0xfc29x9=_0xfc29x9=0;0==_0xfc29x5[_0xa1fe[1126]]?_0xfc29x9=_0xfc29x5[_0xa1fe[1125]]:(_0xfc29x9=_0xfc29x3*_0xfc29x5[_0xa1fe[1125]],_0xfc29x9/=_0xfc29x5[_0xa1fe[1126]]);_0xfc29x3=this[_0xa1fe[1773]](_0xfc29x3,_0xfc29x9,_0xfc29x5[_0xa1fe[1765]]);_0xfc29x2[_0xa1fe[1765]]=this[_0xa1fe[1773]](0,_0xfc29xa+_0xfc29x5[_0xa1fe[1125]]-_0xfc29x9-_0xfc29x4,_0xfc29x3);return _0xfc29x3};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1766]]=function(_0xfc29x2){var _0xfc29x3={};_0xfc29x3[_0xa1fe[246]]=_0xfc29x2;_0xfc29x3[_0xa1fe[235]]=0;_0xfc29x3[_0xa1fe[236]]=0;_0xfc29x3[_0xa1fe[117]]=0;_0xfc29x3[_0xa1fe[119]]=0;_0xfc29x2=this[_0xa1fe[1726]](_0xfc29x2);null!=_0xfc29x2&&(this[_0xa1fe[1737]]()?(_0xfc29x3[_0xa1fe[117]]=_0xfc29x2[_0xa1fe[119]],_0xfc29x3[_0xa1fe[119]]=_0xfc29x2[_0xa1fe[117]]):(_0xfc29x3[_0xa1fe[117]]=_0xfc29x2[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]=_0xfc29x2[_0xa1fe[119]]));_0xfc29x3[_0xa1fe[1769]]=0;_0xfc29x3[_0xa1fe[1770]]=0;_0xfc29x3[_0xa1fe[1772]]={};return _0xfc29x3};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[183]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x2[_0xa1fe[246]],_0xfc29x9=_0xfc29x4[_0xa1fe[1721]](_0xfc29x5);null!=_0xfc29x5&&null!=_0xfc29x9&&(this[_0xa1fe[1711]](_0xfc29x5)&&(_0xfc29x9=this[_0xa1fe[1725]](_0xfc29x5,_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]),this[_0xa1fe[1735]]&&(_0xfc29x4=_0xfc29x4[_0xa1fe[1197]](_0xfc29x5),_0xfc29x5=mxCellPath[_0xa1fe[385]](_0xfc29x4),null==this[_0xa1fe[1746]][_0xfc29x5]&&(this[_0xa1fe[1746]][_0xfc29x5]=_0xfc29x4))),_0xfc29x3=null==_0xfc29x3? new mxRectangle(_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]]): new mxRectangle(Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]],_0xfc29x9[_0xa1fe[235]]),Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]],_0xfc29x9[_0xa1fe[236]]),Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]),Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]])));return _0xfc29x3};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1773]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5={};_0xfc29x5[_0xa1fe[1126]]=_0xfc29x2;_0xfc29x5[_0xa1fe[1125]]=_0xfc29x3;_0xfc29x5[_0xa1fe[1765]]=_0xfc29x4;return _0xfc29x5};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1763]]=function(){var _0xfc29x2=[],_0xfc29x3;for(_0xfc29x3 in this[_0xa1fe[1746]]){_0xfc29x2[_0xa1fe[207]](this[_0xa1fe[1746]][_0xfc29x3])};this[_0xa1fe[1727]](mxUtils[_0xa1fe[1779]](_0xfc29x2,!0),this[_0xa1fe[1745]])};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1764]]=function(_0xfc29x2){this[_0xa1fe[1780]](_0xfc29x2);for(_0xfc29x2=_0xfc29x2[_0xa1fe[247]];null!=_0xfc29x2;){this[_0xa1fe[1764]](_0xfc29x2),_0xfc29x2=_0xfc29x2[_0xa1fe[1765]]}};mxCompactTreeLayout[_0xa1fe[202]][_0xa1fe[1780]]=function(_0xfc29x2){for(var _0xfc29x3=_0xfc29x2[_0xa1fe[247]],_0xfc29x4=_0xfc29x2[_0xa1fe[246]],_0xfc29x5=0,_0xfc29x9=[];null!=_0xfc29x3;){_0xfc29x5++;var _0xfc29xa=_0xfc29x3[_0xa1fe[235]];this[_0xa1fe[662]]&&(_0xfc29xa=_0xfc29x3[_0xa1fe[236]]);_0xfc29x9[_0xa1fe[207]]( new WeightedCellSorter(_0xfc29x3,_0xfc29xa));_0xfc29x3=_0xfc29x3[_0xa1fe[1765]]};_0xfc29x9[_0xa1fe[470]](WeightedCellSorter[_0xa1fe[202]][_0xa1fe[469]]);var _0xfc29xa=_0xfc29x2[_0xa1fe[117]],_0xfc29x12=(_0xfc29x5+1)*this[_0xa1fe[1751]];_0xfc29xa>_0xfc29x12+2*this[_0xa1fe[1751]]&&(_0xfc29xa-=2*this[_0xa1fe[1751]]);_0xfc29x2=_0xfc29xa/_0xfc29x5;_0xfc29x3=_0xfc29x2/2;_0xfc29xa>_0xfc29x12+2*this[_0xa1fe[1751]]&&(_0xfc29x3+=this[_0xa1fe[1751]]);for(var _0xfc29xa=this[_0xa1fe[1753]]-this[_0xa1fe[1752]],_0xfc29x12=0,_0xfc29x13=this[_0xa1fe[1726]](_0xfc29x4),_0xfc29x14=0;_0xfc29x14<_0xfc29x9[_0xa1fe[67]];_0xfc29x14++){for(var _0xfc29x15=_0xfc29x9[_0xfc29x14][_0xa1fe[246]][_0xa1fe[246]],_0xfc29x16=this[_0xa1fe[1726]](_0xfc29x15),_0xfc29x15=this[_0xa1fe[1179]][_0xa1fe[1781]](_0xfc29x4,_0xfc29x15,!1),_0xfc29x17=[],_0xfc29x18=0,_0xfc29x19=0,_0xfc29x1a=0;_0xfc29x1a<_0xfc29x15[_0xa1fe[67]];_0xfc29x1a++){this[_0xa1fe[662]]?(_0xfc29x18=_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]],_0xfc29x19=_0xfc29x13[_0xa1fe[236]]+_0xfc29x3,_0xfc29x17[_0xa1fe[207]]( new mxPoint(_0xfc29x18,_0xfc29x19)),_0xfc29x18=_0xfc29x13[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]+_0xfc29xa,_0xfc29x17[_0xa1fe[207]]( new mxPoint(_0xfc29x18,_0xfc29x19)),_0xfc29x19=_0xfc29x16[_0xa1fe[236]]+_0xfc29x16[_0xa1fe[119]]/2):(_0xfc29x18=_0xfc29x13[_0xa1fe[235]]+_0xfc29x3,_0xfc29x19=_0xfc29x13[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]],_0xfc29x17[_0xa1fe[207]]( new mxPoint(_0xfc29x18,_0xfc29x19)),_0xfc29x19=_0xfc29x13[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]]+_0xfc29xa,_0xfc29x17[_0xa1fe[207]]( new mxPoint(_0xfc29x18,_0xfc29x19)),_0xfc29x18=_0xfc29x16[_0xa1fe[235]]+_0xfc29x16[_0xa1fe[117]]/2),_0xfc29x17[_0xa1fe[207]]( new mxPoint(_0xfc29x18,_0xfc29x19)),this[_0xa1fe[1722]](_0xfc29x15[_0xfc29x1a],_0xfc29x17)};_0xfc29x14<_0xfc29x5/2?_0xfc29xa+=this[_0xa1fe[1752]]:_0xfc29x14>_0xfc29x5/2&&(_0xfc29xa-=this[_0xa1fe[1752]]);_0xfc29x3+=_0xfc29x2;_0xfc29x12=Math[_0xa1fe[160]](_0xfc29x12,_0xfc29xa)}};function WeightedCellSorter(_0xfc29x2,_0xfc29x3){this[_0xa1fe[246]]=_0xfc29x2;this[_0xa1fe[1782]]=_0xfc29x3}WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1782]]=0;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1783]]= !1;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1784]]= !1;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1785]]=null;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[246]]=null;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[469]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2&&null!=_0xfc29x3?_0xfc29x3[_0xa1fe[1782]]>_0xfc29x2[_0xa1fe[1782]]?1:_0xfc29x3[_0xa1fe[1782]]<_0xfc29x2[_0xa1fe[1782]]?-1:_0xfc29x3[_0xa1fe[1783]]?1:-1:0};function mxFastOrganicLayout(_0xfc29x2){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2)}mxFastOrganicLayout[_0xa1fe[202]]= new mxGraphLayout;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[196]]=mxFastOrganicLayout;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1786]]= !0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1750]]= !0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1787]]= !0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1788]]=50;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1789]]=0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1790]]=2;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1791]]=500;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1792]]=4;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1793]]=200;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1794]]=0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1795]]=0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1796]]=0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1797]]= !0;mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1713]]=function(_0xfc29x2){return mxGraphLayout[_0xa1fe[202]][_0xa1fe[1713]][_0xa1fe[183]](this,arguments)||0==this[_0xa1fe[1179]][_0xa1fe[1756]](_0xfc29x2)[_0xa1fe[67]]};mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();this[_0xa1fe[1798]]=[];for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1728]](_0xfc29x2),_0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){this[_0xa1fe[1713]](_0xfc29x4[_0xfc29x5])||this[_0xa1fe[1798]][_0xa1fe[207]](_0xfc29x4[_0xfc29x5])};var _0xfc29x9=this[_0xa1fe[1786]]?this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[1799]](this[_0xa1fe[1798]]):null,_0xfc29xa=this[_0xa1fe[1798]][_0xa1fe[67]];this[_0xa1fe[1800]]=[];this[_0xa1fe[1801]]=[];this[_0xa1fe[1802]]=[];this[_0xa1fe[1803]]=[];this[_0xa1fe[1804]]=[];this[_0xa1fe[1805]]=[];this[_0xa1fe[1806]]=[];this[_0xa1fe[1807]]=[];0.0010>this[_0xa1fe[1788]]&&(this[_0xa1fe[1788]]=0.0010);this[_0xa1fe[1789]]=this[_0xa1fe[1788]]*this[_0xa1fe[1788]];for(_0xfc29x5=0;_0xfc29x5<this[_0xa1fe[1798]][_0xa1fe[67]];_0xfc29x5++){var _0xfc29x12=this[_0xa1fe[1798]][_0xfc29x5];this[_0xa1fe[1803]][_0xfc29x5]=[];var _0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x12);this[_0xa1fe[1800]][_0xfc29x13]=_0xfc29x5;var _0xfc29x14=this[_0xa1fe[1726]](_0xfc29x12),_0xfc29x15=_0xfc29x14[_0xa1fe[117]],_0xfc29x16=_0xfc29x14[_0xa1fe[119]],_0xfc29x17=_0xfc29x14[_0xa1fe[235]],_0xfc29x18=_0xfc29x14[_0xa1fe[236]];this[_0xa1fe[1803]][_0xfc29x5][0]=_0xfc29x17+_0xfc29x15/2;this[_0xa1fe[1803]][_0xfc29x5][1]=_0xfc29x18+_0xfc29x16/2;this[_0xa1fe[1806]][_0xfc29x5]=Math[_0xa1fe[243]](_0xfc29x15,_0xfc29x16);this[_0xa1fe[1807]][_0xfc29x5]=this[_0xa1fe[1806]][_0xfc29x5]*this[_0xa1fe[1806]][_0xfc29x5]};_0xfc29x3[_0xa1fe[473]]();try{for(_0xfc29x5=0;_0xfc29x5<_0xfc29xa;_0xfc29x5++){this[_0xa1fe[1801]][_0xfc29x5]=0;this[_0xa1fe[1802]][_0xfc29x5]=0;this[_0xa1fe[1804]][_0xfc29x5]=this[_0xa1fe[1711]](this[_0xa1fe[1798]][_0xfc29x5]);var _0xfc29x19=this[_0xa1fe[1179]][_0xa1fe[1756]](this[_0xa1fe[1798]][_0xfc29x5],_0xfc29x2),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1808]](_0xfc29x19,this[_0xa1fe[1798]][_0xfc29x5]);this[_0xa1fe[1805]][_0xfc29x5]=[];for(_0xfc29x15=0;_0xfc29x15<_0xfc29x4[_0xa1fe[67]];_0xfc29x15++){this[_0xa1fe[1750]]&&this[_0xa1fe[1179]][_0xa1fe[1809]](_0xfc29x19[_0xfc29x15]);this[_0xa1fe[1787]]&&this[_0xa1fe[1716]](_0xfc29x19[_0xfc29x15],!1);var _0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x4[_0xfc29x15]),_0xfc29x1a=this[_0xa1fe[1800]][_0xfc29x13];this[_0xa1fe[1805]][_0xfc29x5][_0xfc29x15]=null!=_0xfc29x1a?_0xfc29x1a:_0xfc29x5}};this[_0xa1fe[1794]]=this[_0xa1fe[1793]];0==this[_0xa1fe[1795]]&&(this[_0xa1fe[1795]]=20*Math[_0xa1fe[428]](_0xfc29xa));for(this[_0xa1fe[1796]]=0;this[_0xa1fe[1796]]<this[_0xa1fe[1795]];this[_0xa1fe[1796]]++){if(!this[_0xa1fe[1797]]){return};this[_0xa1fe[1810]]();this[_0xa1fe[1811]]();this[_0xa1fe[1812]]();this[_0xa1fe[1813]]()};_0xfc29x2=_0xfc29x4=null;for(_0xfc29x5=0;_0xfc29x5<this[_0xa1fe[1798]][_0xa1fe[67]];_0xfc29x5++){_0xfc29x12=this[_0xa1fe[1798]][_0xfc29x5],this[_0xa1fe[1711]](_0xfc29x12)&&(_0xfc29x14=this[_0xa1fe[1726]](_0xfc29x12),null!=_0xfc29x14&&(this[_0xa1fe[1803]][_0xfc29x5][0]-=_0xfc29x14[_0xa1fe[117]]/2,this[_0xa1fe[1803]][_0xfc29x5][1]-=_0xfc29x14[_0xa1fe[119]]/2,_0xfc29x17=this[_0xa1fe[1179]][_0xa1fe[1021]](this[_0xa1fe[1803]][_0xfc29x5][0]),_0xfc29x18=this[_0xa1fe[1179]][_0xa1fe[1021]](this[_0xa1fe[1803]][_0xfc29x5][1]),this[_0xa1fe[1725]](_0xfc29x12,_0xfc29x17,_0xfc29x18),_0xfc29x4=null==_0xfc29x4?_0xfc29x17:Math[_0xa1fe[243]](_0xfc29x4,_0xfc29x17),_0xfc29x2=null==_0xfc29x2?_0xfc29x18:Math[_0xa1fe[243]](_0xfc29x2,_0xfc29x18)))};_0xfc29x5=-(_0xfc29x4||0)+1;_0xfc29x12=-(_0xfc29x2||0)+1;null!=_0xfc29x9&&(_0xfc29x5+=_0xfc29x9[_0xa1fe[235]],_0xfc29x12+=_0xfc29x9[_0xa1fe[236]]);this[_0xa1fe[1179]][_0xa1fe[834]](this[_0xa1fe[1798]],_0xfc29x5,_0xfc29x12)}finally{_0xfc29x3[_0xa1fe[476]]()}};mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1812]]=function(){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[1798]][_0xa1fe[67]];_0xfc29x2++){if(this[_0xa1fe[1804]][_0xfc29x2]){var _0xfc29x3=Math[_0xa1fe[428]](this[_0xa1fe[1801]][_0xfc29x2]*this[_0xa1fe[1801]][_0xfc29x2]+this[_0xa1fe[1802]][_0xfc29x2]*this[_0xa1fe[1802]][_0xfc29x2]);0.0010>_0xfc29x3&&(_0xfc29x3=0.0010);var _0xfc29x4=this[_0xa1fe[1801]][_0xfc29x2]/_0xfc29x3*Math[_0xa1fe[243]](_0xfc29x3,this[_0xa1fe[1794]]),_0xfc29x3=this[_0xa1fe[1802]][_0xfc29x2]/_0xfc29x3*Math[_0xa1fe[243]](_0xfc29x3,this[_0xa1fe[1794]]);this[_0xa1fe[1801]][_0xfc29x2]=0;this[_0xa1fe[1802]][_0xfc29x2]=0;this[_0xa1fe[1803]][_0xfc29x2][0]+=_0xfc29x4;this[_0xa1fe[1803]][_0xfc29x2][1]+=_0xfc29x3}}};mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1811]]=function(){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[1798]][_0xa1fe[67]];_0xfc29x2++){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1805]][_0xfc29x2][_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[1805]][_0xfc29x2][_0xfc29x3];if(_0xfc29x2!=_0xfc29x4&&this[_0xa1fe[1804]][_0xfc29x2]&&this[_0xa1fe[1804]][_0xfc29x4]){var _0xfc29x5=this[_0xa1fe[1803]][_0xfc29x2][0]-this[_0xa1fe[1803]][_0xfc29x4][0],_0xfc29x9=this[_0xa1fe[1803]][_0xfc29x2][1]-this[_0xa1fe[1803]][_0xfc29x4][1],_0xfc29xa=_0xfc29x5*_0xfc29x5+_0xfc29x9*_0xfc29x9-this[_0xa1fe[1807]][_0xfc29x2]-this[_0xa1fe[1807]][_0xfc29x4];_0xfc29xa<this[_0xa1fe[1792]]&&(_0xfc29xa=this[_0xa1fe[1792]]);var _0xfc29x12=Math[_0xa1fe[428]](_0xfc29xa),_0xfc29xa=_0xfc29xa/this[_0xa1fe[1788]],_0xfc29x5=_0xfc29x5/_0xfc29x12*_0xfc29xa,_0xfc29x9=_0xfc29x9/_0xfc29x12*_0xfc29xa;this[_0xa1fe[1801]][_0xfc29x2]-=_0xfc29x5;this[_0xa1fe[1802]][_0xfc29x2]-=_0xfc29x9;this[_0xa1fe[1801]][_0xfc29x4]+=_0xfc29x5;this[_0xa1fe[1802]][_0xfc29x4]+=_0xfc29x9}}}};mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1810]]=function(){for(var _0xfc29x2=this[_0xa1fe[1798]][_0xa1fe[67]],_0xfc29x3=0;_0xfc29x3<_0xfc29x2;_0xfc29x3++){for(var _0xfc29x4=_0xfc29x3;_0xfc29x4<_0xfc29x2;_0xfc29x4++){if(!this[_0xa1fe[1797]]){return};if(_0xfc29x4!=_0xfc29x3&&this[_0xa1fe[1804]][_0xfc29x3]&&this[_0xa1fe[1804]][_0xfc29x4]){var _0xfc29x5=this[_0xa1fe[1803]][_0xfc29x3][0]-this[_0xa1fe[1803]][_0xfc29x4][0],_0xfc29x9=this[_0xa1fe[1803]][_0xfc29x3][1]-this[_0xa1fe[1803]][_0xfc29x4][1];0==_0xfc29x5&&(_0xfc29x5=0.01+Math[_0xa1fe[1814]]());0==_0xfc29x9&&(_0xfc29x9=0.01+Math[_0xa1fe[1814]]());var _0xfc29xa=Math[_0xa1fe[428]](_0xfc29x5*_0xfc29x5+_0xfc29x9*_0xfc29x9),_0xfc29x12=_0xfc29xa-this[_0xa1fe[1806]][_0xfc29x3]-this[_0xa1fe[1806]][_0xfc29x4];_0xfc29x12>this[_0xa1fe[1791]]||(_0xfc29x12<this[_0xa1fe[1790]]&&(_0xfc29x12=this[_0xa1fe[1790]]),_0xfc29x12=this[_0xa1fe[1789]]/_0xfc29x12,_0xfc29x5=_0xfc29x5/_0xfc29xa*_0xfc29x12,_0xfc29x9=_0xfc29x9/_0xfc29xa*_0xfc29x12,this[_0xa1fe[1801]][_0xfc29x3]+=_0xfc29x5,this[_0xa1fe[1802]][_0xfc29x3]+=_0xfc29x9,this[_0xa1fe[1801]][_0xfc29x4]-=_0xfc29x5,this[_0xa1fe[1802]][_0xfc29x4]-=_0xfc29x9)}}}};mxFastOrganicLayout[_0xa1fe[202]][_0xa1fe[1813]]=function(){this[_0xa1fe[1794]]=this[_0xa1fe[1793]]*(1-this[_0xa1fe[1796]]/this[_0xa1fe[1795]])};function mxCircleLayout(_0xfc29x2,_0xfc29x3){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[1806]]=null!=_0xfc29x3?_0xfc29x3:100}mxCircleLayout[_0xa1fe[202]]= new mxGraphLayout;mxCircleLayout[_0xa1fe[202]][_0xa1fe[196]]=mxCircleLayout;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1806]]=null;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1815]]= !1;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1732]]=0;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1733]]=0;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1750]]= !0;mxCircleLayout[_0xa1fe[202]][_0xa1fe[1787]]= !0;mxCircleLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=0,_0xfc29x5=null,_0xfc29x9=null,_0xfc29xa=[],_0xfc29x12=_0xfc29x3[_0xa1fe[262]](_0xfc29x2),_0xfc29x13=0;_0xfc29x13<_0xfc29x12;_0xfc29x13++){var _0xfc29x14=_0xfc29x3[_0xa1fe[263]](_0xfc29x2,_0xfc29x13);if(this[_0xa1fe[1713]](_0xfc29x14)){this[_0xa1fe[1715]](_0xfc29x14)||(this[_0xa1fe[1750]]&&this[_0xa1fe[1179]][_0xa1fe[1809]](_0xfc29x14),this[_0xa1fe[1787]]&&this[_0xa1fe[1716]](_0xfc29x14,!1))}else {_0xfc29xa[_0xa1fe[207]](_0xfc29x14);var _0xfc29x15=this[_0xa1fe[1726]](_0xfc29x14),_0xfc29x5=null==_0xfc29x5?_0xfc29x15[_0xa1fe[236]]:Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x15[_0xa1fe[236]]),_0xfc29x9=null==_0xfc29x9?_0xfc29x15[_0xa1fe[235]]:Math[_0xa1fe[243]](_0xfc29x9,_0xfc29x15[_0xa1fe[235]]),_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x4,Math[_0xa1fe[160]](_0xfc29x15[_0xa1fe[117]],_0xfc29x15[_0xa1fe[119]]))}};var _0xfc29x16=this[_0xa1fe[1816]](_0xfc29xa[_0xa1fe[67]],_0xfc29x4);this[_0xa1fe[1815]]&&(_0xfc29x9=this[_0xa1fe[1732]],_0xfc29x5=this[_0xa1fe[1733]]);this[_0xa1fe[1817]](_0xfc29xa,_0xfc29x16,_0xfc29x9,_0xfc29x5)}finally{_0xfc29x3[_0xa1fe[476]]()}};mxCircleLayout[_0xa1fe[202]][_0xa1fe[1816]]=function(_0xfc29x2,_0xfc29x3){return Math[_0xa1fe[160]](_0xfc29x2*_0xfc29x3/Math[_0xa1fe[424]],this[_0xa1fe[1806]])};mxCircleLayout[_0xa1fe[202]][_0xa1fe[1817]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){for(var _0xfc29x9=_0xfc29x2[_0xa1fe[67]],_0xfc29xa=2*Math[_0xa1fe[424]]/_0xfc29x9,_0xfc29x12=0;_0xfc29x12<_0xfc29x9;_0xfc29x12++){this[_0xa1fe[1711]](_0xfc29x2[_0xfc29x12])&&this[_0xa1fe[1725]](_0xfc29x2[_0xfc29x12],_0xfc29x4+_0xfc29x3+_0xfc29x3*Math[_0xa1fe[427]](_0xfc29x12*_0xfc29xa),_0xfc29x5+_0xfc29x3+_0xfc29x3*Math[_0xa1fe[426]](_0xfc29x12*_0xfc29xa))}};function mxParallelEdgeLayout(_0xfc29x2){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2)}mxParallelEdgeLayout[_0xa1fe[202]]= new mxGraphLayout;mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[196]]=mxParallelEdgeLayout;mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[657]]=20;mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1818]](_0xfc29x2);this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x3 in _0xfc29x2){var _0xfc29x4=_0xfc29x2[_0xfc29x3];1<_0xfc29x4[_0xa1fe[67]]&&this[_0xa1fe[1759]](_0xfc29x4)}}finally{this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[476]]()}};mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[1818]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=[],_0xfc29x5=_0xfc29x3[_0xa1fe[262]](_0xfc29x2),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=_0xfc29x3[_0xa1fe[263]](_0xfc29x2,_0xfc29x9);if(!this[_0xa1fe[1715]](_0xfc29xa)){var _0xfc29x12=this[_0xa1fe[1819]](_0xfc29xa);null!=_0xfc29x12&&(null==_0xfc29x4[_0xfc29x12]&&(_0xfc29x4[_0xfc29x12]=[]),_0xfc29x4[_0xfc29x12][_0xa1fe[207]](_0xfc29xa))}};return _0xfc29x4};mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[1819]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[249]](),_0xfc29x4=_0xfc29x3[_0xa1fe[248]](_0xfc29x2),_0xfc29x5=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[1710]](!0):_0xfc29x3[_0xa1fe[1710]](_0xfc29x2,!0);_0xfc29x2=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[1710]](!1):_0xfc29x3[_0xa1fe[1710]](_0xfc29x2,!1);return null!=_0xfc29x5&&null!=_0xfc29x2?(_0xfc29x5=mxCellPath[_0xa1fe[385]](_0xfc29x5),_0xfc29x2=mxCellPath[_0xa1fe[385]](_0xfc29x2),_0xfc29x5>_0xfc29x2?_0xfc29x2+_0xa1fe[213]+_0xfc29x5:_0xfc29x5+_0xa1fe[213]+_0xfc29x2):null};mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[1759]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[0],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x4[_0xa1fe[1709]](_0xfc29x3,!0)),_0xfc29x9=_0xfc29x4[_0xa1fe[1721]](_0xfc29x4[_0xa1fe[1709]](_0xfc29x3,!1));if(_0xfc29x5==_0xfc29x9){for(var _0xfc29x3=_0xfc29x5[_0xa1fe[235]]+_0xfc29x5[_0xa1fe[117]]+this[_0xa1fe[657]],_0xfc29x4=_0xfc29x5[_0xa1fe[236]]+_0xfc29x5[_0xa1fe[119]]/2,_0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){this[_0xa1fe[1820]](_0xfc29x2[_0xfc29xa],_0xfc29x3,_0xfc29x4),_0xfc29x3+=this[_0xa1fe[657]]}}else {if(null!=_0xfc29x5&&null!=_0xfc29x9){for(var _0xfc29x3=_0xfc29x5[_0xa1fe[235]]+_0xfc29x5[_0xa1fe[117]]/2,_0xfc29x4=_0xfc29x5[_0xa1fe[236]]+_0xfc29x5[_0xa1fe[119]]/2,_0xfc29xa=_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]/2-_0xfc29x3,_0xfc29x12=_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]/2-_0xfc29x4,_0xfc29x9=Math[_0xa1fe[428]](_0xfc29xa*_0xfc29xa+_0xfc29x12*_0xfc29x12),_0xfc29x5=_0xfc29x12*this[_0xa1fe[657]]/_0xfc29x9,_0xfc29x9=_0xfc29xa*this[_0xa1fe[657]]/_0xfc29x9,_0xfc29x3=_0xfc29x3+_0xfc29xa/2+_0xfc29x5*(_0xfc29x2[_0xa1fe[67]]-1)/2,_0xfc29x4=_0xfc29x4+_0xfc29x12/2-_0xfc29x9*(_0xfc29x2[_0xa1fe[67]]-1)/2,_0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){this[_0xa1fe[1820]](_0xfc29x2[_0xfc29xa],_0xfc29x3,_0xfc29x4),_0xfc29x3-=_0xfc29x5,_0xfc29x4+=_0xfc29x9}}}};mxParallelEdgeLayout[_0xa1fe[202]][_0xa1fe[1820]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[1179]][_0xa1fe[1712]](_0xfc29x2)&&this[_0xa1fe[1722]](_0xfc29x2,[ new mxPoint(_0xfc29x3,_0xfc29x4)])};function mxCompositeLayout(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[1821]]=_0xfc29x3;this[_0xa1fe[1822]]=_0xfc29x4}mxCompositeLayout[_0xa1fe[202]]= new mxGraphLayout;mxCompositeLayout[_0xa1fe[202]][_0xa1fe[196]]=mxCompositeLayout;mxCompositeLayout[_0xa1fe[202]][_0xa1fe[1821]]=null;mxCompositeLayout[_0xa1fe[202]][_0xa1fe[1822]]=null;mxCompositeLayout[_0xa1fe[202]][_0xa1fe[1702]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null!=this[_0xa1fe[1822]]?this[_0xa1fe[1822]][_0xa1fe[582]][_0xa1fe[183]](this[_0xa1fe[1822]],arguments):this[_0xa1fe[1821]][0][_0xa1fe[582]][_0xa1fe[183]](this[_0xa1fe[1821]][0],arguments)};mxCompositeLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<this[_0xa1fe[1821]][_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[1821]][_0xfc29x4][_0xa1fe[350]][_0xa1fe[183]](this[_0xa1fe[1821]][_0xfc29x4],arguments)}}finally{_0xfc29x3[_0xa1fe[476]]()}};function mxEdgeLabelLayout(_0xfc29x2,_0xfc29x3){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2)}mxEdgeLabelLayout[_0xa1fe[202]]= new mxGraphLayout;mxEdgeLabelLayout[_0xa1fe[202]][_0xa1fe[196]]=mxEdgeLabelLayout;mxEdgeLabelLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[441]],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=[],_0xfc29x9=[],_0xfc29xa=_0xfc29x4[_0xa1fe[262]](_0xfc29x2),_0xfc29x12=0;_0xfc29x12<_0xfc29xa;_0xfc29x12++){var _0xfc29x13=_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x12),_0xfc29x14=_0xfc29x3[_0xa1fe[248]](_0xfc29x13);null!=_0xfc29x14&&(this[_0xa1fe[1713]](_0xfc29x13)?this[_0xa1fe[1715]](_0xfc29x13)||_0xfc29x5[_0xa1fe[207]](_0xfc29x14):_0xfc29x9[_0xa1fe[207]](_0xfc29x14))};this[_0xa1fe[1823]](_0xfc29x9,_0xfc29x5)};mxEdgeLabelLayout[_0xa1fe[202]][_0xa1fe[1823]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x4[_0xa1fe[473]]();try{for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=_0xfc29x3[_0xfc29x5];if(null!=_0xfc29x9&&null!=_0xfc29x9[_0xa1fe[963]]&&null!=_0xfc29x9[_0xa1fe[963]][_0xa1fe[1563]]){for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x2[_0xfc29xa];null!=_0xfc29x12&&this[_0xa1fe[1824]](_0xfc29x9,_0xfc29x12)}}}}finally{_0xfc29x4[_0xa1fe[476]]()}};mxEdgeLabelLayout[_0xa1fe[202]][_0xa1fe[1824]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]];if(mxUtils[_0xa1fe[1825]](_0xfc29x5,_0xfc29x3)){var _0xfc29x9=-_0xfc29x5[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[119]]+_0xfc29x3[_0xa1fe[236]],_0xfc29xa=-_0xfc29x5[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x9=Math[_0xa1fe[425]](_0xfc29x9)<Math[_0xa1fe[425]](_0xfc29xa)?_0xfc29x9:_0xfc29xa,_0xfc29xa=-_0xfc29x5[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[117]]+_0xfc29x3[_0xa1fe[235]],_0xfc29x5=-_0xfc29x5[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x5=Math[_0xa1fe[425]](_0xfc29xa)<Math[_0xa1fe[425]](_0xfc29x5)?_0xfc29xa:_0xfc29x5;Math[_0xa1fe[425]](_0xfc29x5)<Math[_0xa1fe[425]](_0xfc29x9)?_0xfc29x9=0:_0xfc29x5=0;_0xfc29xa=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2[_0xa1fe[246]]);null!=_0xfc29xa&&(_0xfc29xa=_0xfc29xa[_0xa1fe[238]](),null!=_0xfc29xa[_0xa1fe[1368]]?(_0xfc29xa[_0xa1fe[1368]][_0xa1fe[235]]+=_0xfc29x5,_0xfc29xa[_0xa1fe[1368]][_0xa1fe[236]]+=_0xfc29x9):_0xfc29xa[_0xa1fe[1368]]= new mxPoint(_0xfc29x5,_0xfc29x9),_0xfc29x4[_0xa1fe[1724]](_0xfc29x2[_0xa1fe[246]],_0xfc29xa))}};function mxGraphAbstractHierarchyCell(){this[_0xa1fe[235]]=[];this[_0xa1fe[236]]=[];this[_0xa1fe[1826]]=[]}mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1827]]= -1;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1828]]= -1;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[235]]=null;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[236]]=null;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[117]]=0;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[119]]=0;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1829]]=null;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1830]]=null;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1826]]=null;mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1831]]=function(_0xfc29x2){return null};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1832]]=function(_0xfc29x2){return null};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[250]]=function(){return !1};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1193]]=function(){return !1};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1833]]=function(_0xfc29x2){return null};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1834]]=function(_0xfc29x2,_0xfc29x3){return null};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1835]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1193]]()?this[_0xa1fe[235]][0]=_0xfc29x3:this[_0xa1fe[250]]()&&(this[_0xa1fe[235]][_0xfc29x2-this[_0xa1fe[1828]]-1]=_0xfc29x3)};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[730]]=function(_0xfc29x2){return this[_0xa1fe[1193]]()?this[_0xa1fe[235]][0]:this[_0xa1fe[250]]()?this[_0xa1fe[235]][_0xfc29x2-this[_0xa1fe[1828]]-1]:0};mxGraphAbstractHierarchyCell[_0xa1fe[202]][_0xa1fe[1836]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1193]]()?this[_0xa1fe[236]][0]=_0xfc29x3:this[_0xa1fe[250]]()&&(this[_0xa1fe[236]][_0xfc29x2-this[_0xa1fe[1828]]-1]=_0xfc29x3)};function mxGraphHierarchyNode(_0xfc29x2){mxGraphAbstractHierarchyCell[_0xa1fe[183]](this,arguments);this[_0xa1fe[246]]=_0xfc29x2}mxGraphHierarchyNode[_0xa1fe[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[196]]=mxGraphHierarchyNode;mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[246]]=null;mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1837]]=[];mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1838]]=[];mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1839]]= !1;mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1840]]=function(_0xfc29x2){return this[_0xa1fe[1827]]};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1831]]=function(_0xfc29x2){if(null==this[_0xa1fe[1829]]){this[_0xa1fe[1829]]=[];this[_0xa1fe[1829]][0]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1837]][_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[1837]][_0xfc29x3];-1==_0xfc29x4[_0xa1fe[1827]]||_0xfc29x4[_0xa1fe[1827]]==_0xfc29x2+1?this[_0xa1fe[1829]][0][_0xa1fe[207]](_0xfc29x4[_0xa1fe[1097]]):this[_0xa1fe[1829]][0][_0xa1fe[207]](_0xfc29x4)}};return this[_0xa1fe[1829]][0]};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1832]]=function(_0xfc29x2){if(null==this[_0xa1fe[1830]]){this[_0xa1fe[1830]]=[];this[_0xa1fe[1830]][0]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1838]][_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[1838]][_0xfc29x3];-1==_0xfc29x4[_0xa1fe[1828]]||_0xfc29x4[_0xa1fe[1828]]==_0xfc29x2-1?this[_0xa1fe[1830]][0][_0xa1fe[207]](_0xfc29x4[_0xa1fe[772]]):this[_0xa1fe[1830]][0][_0xa1fe[207]](_0xfc29x4)}};return this[_0xa1fe[1830]][0]};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1193]]=function(){return !0};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1833]]=function(_0xfc29x2){return this[_0xa1fe[1826]][0]};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1834]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1826]][0]=_0xfc29x3};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1720]]=function(_0xfc29x2){if(null!=_0xfc29x2&&null!=this[_0xa1fe[1839]]&&null!=_0xfc29x2[_0xa1fe[1839]]&&this[_0xa1fe[1839]][_0xa1fe[67]]<_0xfc29x2[_0xa1fe[1839]][_0xa1fe[67]]){if(this[_0xa1fe[1839]]==_0xfc29x2[_0xa1fe[1839]]){return !0};if(null==this[_0xa1fe[1839]]||null==this[_0xa1fe[1839]]){return !1};for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1839]][_0xa1fe[67]];_0xfc29x3++){if(this[_0xa1fe[1839]][_0xfc29x3]!=_0xfc29x2[_0xa1fe[1839]][_0xfc29x3]){return !1}};return !0};return !1};mxGraphHierarchyNode[_0xa1fe[202]][_0xa1fe[1841]]=function(){return this[_0xa1fe[246]]};function mxGraphHierarchyEdge(_0xfc29x2){mxGraphAbstractHierarchyCell[_0xa1fe[183]](this,arguments);this[_0xa1fe[1842]]=_0xfc29x2}mxGraphHierarchyEdge[_0xa1fe[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[196]]=mxGraphHierarchyEdge;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1842]]=null;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1097]]=null;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[772]]=null;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1843]]= !1;mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1744]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1097]];this[_0xa1fe[1097]]=this[_0xa1fe[772]];this[_0xa1fe[772]]=_0xfc29x2;this[_0xa1fe[1843]]=!this[_0xa1fe[1843]]};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1831]]=function(_0xfc29x2){if(null==this[_0xa1fe[1829]]){this[_0xa1fe[1829]]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1826]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[1829]][_0xfc29x3]=[],_0xfc29x3==this[_0xa1fe[1826]][_0xa1fe[67]]-1?this[_0xa1fe[1829]][_0xfc29x3][_0xa1fe[207]](this[_0xa1fe[1097]]):this[_0xa1fe[1829]][_0xfc29x3][_0xa1fe[207]](this)}};return this[_0xa1fe[1829]][_0xfc29x2-this[_0xa1fe[1828]]-1]};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1832]]=function(_0xfc29x2){if(null==this[_0xa1fe[1830]]){this[_0xa1fe[1830]]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1826]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[1830]][_0xfc29x3]=[],0==_0xfc29x3?this[_0xa1fe[1830]][_0xfc29x3][_0xa1fe[207]](this[_0xa1fe[772]]):this[_0xa1fe[1830]][_0xfc29x3][_0xa1fe[207]](this)}};return this[_0xa1fe[1830]][_0xfc29x2-this[_0xa1fe[1828]]-1]};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[250]]=function(){return !0};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1833]]=function(_0xfc29x2){return this[_0xa1fe[1826]][_0xfc29x2-this[_0xa1fe[1828]]-1]};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1834]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1826]][_0xfc29x2-this[_0xa1fe[1828]]-1]=_0xfc29x3};mxGraphHierarchyEdge[_0xa1fe[202]][_0xa1fe[1841]]=function(){return null!=this[_0xa1fe[1842]]&&0<this[_0xa1fe[1842]][_0xa1fe[67]]?this[_0xa1fe[1842]][0]:null};function mxGraphHierarchyModel(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2[_0xa1fe[1703]]();this[_0xa1fe[1844]]=_0xfc29x9;this[_0xa1fe[1845]]=_0xfc29x4;this[_0xa1fe[1101]]=_0xfc29x5;this[_0xa1fe[1846]]={};this[_0xa1fe[1847]]={};this[_0xa1fe[1827]]=0;_0xfc29x4=[];null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[1728]](_0xfc29x5));this[_0xa1fe[1827]]=this[_0xa1fe[1848]];this[_0xa1fe[1849]](_0xfc29x2,_0xfc29x3,_0xfc29x4);for(_0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){_0xfc29x9=_0xfc29x4[_0xfc29x5][_0xa1fe[1838]];for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x9[_0xfc29xa],_0xfc29x13=_0xfc29x12[_0xa1fe[1842]];if(null!=_0xfc29x13&&0<_0xfc29x13[_0xa1fe[67]]){var _0xfc29x13=_0xfc29x13[0],_0xfc29x14=_0xfc29x2[_0xa1fe[1710]](_0xfc29x13,!1),_0xfc29x14=mxCellPath[_0xa1fe[385]](_0xfc29x14),_0xfc29x14=this[_0xa1fe[1846]][_0xfc29x14];_0xfc29x4[_0xfc29x5]==_0xfc29x14&&(_0xfc29x14=_0xfc29x2[_0xa1fe[1710]](_0xfc29x13,!0),_0xfc29x14=mxCellPath[_0xa1fe[385]](_0xfc29x14),_0xfc29x14=this[_0xa1fe[1846]][_0xfc29x14]);null!=_0xfc29x14&&_0xfc29x4[_0xfc29x5]!=_0xfc29x14&&(_0xfc29x12[_0xa1fe[772]]=_0xfc29x14,0==_0xfc29x14[_0xa1fe[1837]][_0xa1fe[67]]&&(_0xfc29x14[_0xa1fe[1837]]=[]),0>mxUtils[_0xa1fe[2]](_0xfc29x14[_0xa1fe[1837]],_0xfc29x12)&&_0xfc29x14[_0xa1fe[1837]][_0xa1fe[207]](_0xfc29x12))}};_0xfc29x4[_0xfc29x5][_0xa1fe[1826]][0]=1}}mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1827]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1846]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1847]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1850]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1845]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1101]]=null;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1851]]=0;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1848]]=1E8;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1844]]= !1;mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1849]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[1703]](),_0xfc29x9=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){_0xfc29x4[_0xfc29x9]= new mxGraphHierarchyNode(_0xfc29x3[_0xfc29x9]);var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xfc29x9]);this[_0xa1fe[1846]][_0xfc29xa]=_0xfc29x4[_0xfc29x9];_0xfc29xa=_0xfc29x2[_0xa1fe[264]](_0xfc29x3[_0xfc29x9]);_0xfc29x4[_0xfc29x9][_0xa1fe[1838]]=[];for(var _0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){var _0xfc29x13=_0xfc29x2[_0xa1fe[1710]](_0xfc29xa[_0xfc29x12],!1);if(_0xfc29x13!=_0xfc29x3[_0xfc29x9]&&_0xfc29x13!=_0xfc29x3[_0xfc29x9]&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x13)&&!_0xfc29x2[_0xa1fe[1713]](_0xfc29x13)){var _0xfc29x14=_0xfc29x2[_0xa1fe[1781]](_0xfc29x3[_0xfc29x9],_0xfc29x13,!1),_0xfc29x15=_0xfc29x2[_0xa1fe[1781]](_0xfc29x3[_0xfc29x9],_0xfc29x13,!0),_0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x14[0]);if(null!=_0xfc29x14&&0<_0xfc29x14[_0xa1fe[67]]&&null==this[_0xa1fe[1847]][_0xfc29x13]&&2*_0xfc29x15[_0xa1fe[67]]>=_0xfc29x14[_0xa1fe[67]]){for(var _0xfc29x15= new mxGraphHierarchyEdge(_0xfc29x14),_0xfc29x16=0;_0xfc29x16<_0xfc29x14[_0xa1fe[67]];_0xfc29x16++){var _0xfc29x17=_0xfc29x14[_0xfc29x16],_0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x17);this[_0xa1fe[1847]][_0xfc29x13]=_0xfc29x15;_0xfc29x5[_0xa1fe[1809]](_0xfc29x17);_0xfc29x2[_0xa1fe[1787]]&&(_0xfc29x2[_0xa1fe[1716]](_0xfc29x17,!1),_0xfc29x2[_0xa1fe[1718]](_0xfc29x17,!0))};_0xfc29x15[_0xa1fe[1097]]=_0xfc29x4[_0xfc29x9];0>mxUtils[_0xa1fe[2]](_0xfc29x4[_0xfc29x9][_0xa1fe[1838]],_0xfc29x15)&&_0xfc29x4[_0xfc29x9][_0xa1fe[1838]][_0xa1fe[207]](_0xfc29x15)}}};_0xfc29x4[_0xfc29x9][_0xa1fe[1826]][0]=0}};mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1852]]=function(){var _0xfc29x2=[];if(null!=this[_0xa1fe[1845]]){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1845]][_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=mxCellPath[_0xa1fe[385]](this[_0xa1fe[1845]][_0xfc29x3]),_0xfc29x4=this[_0xa1fe[1846]][_0xfc29x4];null!=_0xfc29x4&&_0xfc29x2[_0xa1fe[207]](_0xfc29x4)}};for(var _0xfc29x5 in this[_0xa1fe[1846]]){_0xfc29x4=this[_0xa1fe[1846]][_0xfc29x5],_0xfc29x4[_0xa1fe[1826]][0]= -1};for(var _0xfc29x9=_0xfc29x2[_0xa1fe[1853]]();0<_0xfc29x2[_0xa1fe[67]];){var _0xfc29x4=_0xfc29x2[0],_0xfc29xa,_0xfc29x12;_0xfc29xa=_0xfc29x4[_0xa1fe[1837]];_0xfc29x12=_0xfc29x4[_0xa1fe[1838]];for(var _0xfc29x13=!0,_0xfc29x14=this[_0xa1fe[1848]],_0xfc29x3=0;_0xfc29x3<_0xfc29xa[_0xa1fe[67]];_0xfc29x3++){var _0xfc29x15=_0xfc29xa[_0xfc29x3];if(5270620==_0xfc29x15[_0xa1fe[1826]][0]){_0xfc29x15=_0xfc29x15[_0xa1fe[1097]],_0xfc29x14=Math[_0xa1fe[243]](_0xfc29x14,_0xfc29x15[_0xa1fe[1826]][0]-1)}else {_0xfc29x13= !1;break}};if(_0xfc29x13){_0xfc29x4[_0xa1fe[1826]][0]=_0xfc29x14;this[_0xa1fe[1827]]=Math[_0xa1fe[243]](this[_0xa1fe[1827]],_0xfc29x14);if(null!=_0xfc29x12){for(_0xfc29x3=0;_0xfc29x3<_0xfc29x12[_0xa1fe[67]];_0xfc29x3++){_0xfc29x15=_0xfc29x12[_0xfc29x3],_0xfc29x15[_0xa1fe[1826]][0]=5270620,_0xfc29x15=_0xfc29x15[_0xa1fe[772]],-1==_0xfc29x15[_0xa1fe[1826]][0]&&(_0xfc29x2[_0xa1fe[207]](_0xfc29x15),_0xfc29x15[_0xa1fe[1826]][0]= -2)}};_0xfc29x2[_0xa1fe[1115]]()}else {if(_0xfc29x3=_0xfc29x2[_0xa1fe[1115]](),_0xfc29x2[_0xa1fe[207]](_0xfc29x4),_0xfc29x3==_0xfc29x4&&1==_0xfc29x2[_0xa1fe[67]]){break}}};for(_0xfc29x5 in this[_0xa1fe[1846]]){_0xfc29x4=this[_0xa1fe[1846]][_0xfc29x5],_0xfc29x4[_0xa1fe[1826]][0]-=this[_0xa1fe[1827]]};for(_0xfc29x3=0;_0xfc29x3<_0xfc29x9[_0xa1fe[67]];_0xfc29x3++){_0xfc29x4=_0xfc29x9[_0xfc29x3];_0xfc29x2=0;_0xfc29xa=_0xfc29x4[_0xa1fe[1838]];for(_0xfc29x5=0;_0xfc29x5<_0xfc29xa[_0xa1fe[67]];_0xfc29x5++){_0xfc29x15=_0xfc29xa[_0xfc29x5],_0xfc29x15=_0xfc29x15[_0xa1fe[772]],_0xfc29x4[_0xa1fe[1826]][0]=Math[_0xa1fe[160]](_0xfc29x2,_0xfc29x15[_0xa1fe[1826]][0]+1),_0xfc29x2=_0xfc29x4[_0xa1fe[1826]][0]}};this[_0xa1fe[1827]]=this[_0xa1fe[1848]]-this[_0xa1fe[1827]]};mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1854]]=function(){var _0xfc29x2=[];this[_0xa1fe[1850]]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1827]]+1;_0xfc29x3++){_0xfc29x2[_0xfc29x3]=[],this[_0xa1fe[1850]][_0xfc29x3]=_0xfc29x2[_0xfc29x3]};var _0xfc29x4=null;if(null!=this[_0xa1fe[1845]]){for(var _0xfc29x5=this[_0xa1fe[1845]],_0xfc29x4=[],_0xfc29x3=0;_0xfc29x3<_0xfc29x5[_0xa1fe[67]];_0xfc29x3++){var _0xfc29x9=mxCellPath[_0xa1fe[385]](_0xfc29x5[_0xfc29x3]);_0xfc29x4[_0xfc29x3]=this[_0xa1fe[1846]][_0xfc29x9]}};this[_0xa1fe[209]](function(_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29x15){0==_0xfc29x15&&(0>_0xfc29x4[_0xa1fe[1827]]&&0>_0xfc29x4[_0xa1fe[1828]])&&(_0xfc29x2[_0xfc29x4[_0xa1fe[1826]][0]][_0xa1fe[207]](_0xfc29x4),_0xfc29x4[_0xa1fe[1827]]=_0xfc29x4[_0xa1fe[1826]][0],_0xfc29x4[_0xa1fe[1828]]=_0xfc29x4[_0xa1fe[1826]][0],_0xfc29x4[_0xa1fe[1826]][0]=_0xfc29x2[_0xfc29x4[_0xa1fe[1827]]][_0xa1fe[67]]-1);if(null!=_0xfc29x3&&null!=_0xfc29x5&&1<_0xfc29x3[_0xa1fe[1827]]-_0xfc29x4[_0xa1fe[1827]]){_0xfc29x5[_0xa1fe[1827]]=_0xfc29x3[_0xa1fe[1827]];_0xfc29x5[_0xa1fe[1828]]=_0xfc29x4[_0xa1fe[1827]];_0xfc29x5[_0xa1fe[1826]]=[];_0xfc29x5[_0xa1fe[235]]=[];_0xfc29x5[_0xa1fe[236]]=[];for(_0xfc29x3=_0xfc29x5[_0xa1fe[1828]]+1;_0xfc29x3<_0xfc29x5[_0xa1fe[1827]];_0xfc29x3++){_0xfc29x2[_0xfc29x3][_0xa1fe[207]](_0xfc29x5),_0xfc29x5[_0xa1fe[1834]](_0xfc29x3,_0xfc29x2[_0xfc29x3][_0xa1fe[67]]-1)}}},_0xfc29x4,!1,null)};mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[209]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x3){for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=_0xfc29x3[_0xfc29x9];null!=_0xfc29xa&&(null==_0xfc29x5&&(_0xfc29x5={}),_0xfc29x4?(_0xfc29xa[_0xa1fe[1839]]=[],_0xfc29xa[_0xa1fe[1839]][0]=this[_0xa1fe[1851]],_0xfc29xa[_0xa1fe[1839]][1]=_0xfc29x9,this[_0xa1fe[1855]](null,_0xfc29xa,null,_0xfc29x2,_0xfc29x5,_0xfc29xa[_0xa1fe[1839]],_0xfc29x9,0)):this[_0xa1fe[1758]](null,_0xfc29xa,null,_0xfc29x2,_0xfc29x5,0))};this[_0xa1fe[1851]]++}};mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1758]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){if(null!=_0xfc29x3){var _0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]);if(null==_0xfc29x9[_0xfc29x12]){_0xfc29x9[_0xfc29x12]=_0xfc29x3;_0xfc29x5(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29xa,0);_0xfc29x2=_0xfc29x3[_0xa1fe[1838]][_0xa1fe[1853]]();for(_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){_0xfc29x12=_0xfc29x2[_0xfc29x4],this[_0xa1fe[1758]](_0xfc29x3,_0xfc29x12[_0xa1fe[772]],_0xfc29x12,_0xfc29x5,_0xfc29x9,_0xfc29xa+1)}}else {_0xfc29x5(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29xa,1)}}};mxGraphHierarchyModel[_0xa1fe[202]][_0xa1fe[1855]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13){if(null!=_0xfc29x3){if(null!=_0xfc29x2&&(null==_0xfc29x3[_0xa1fe[1839]]||_0xfc29x3[_0xa1fe[1839]][0]!=_0xfc29x2[_0xa1fe[1839]][0])){_0xfc29xa=_0xfc29x2[_0xa1fe[1839]][_0xa1fe[67]]+1,_0xfc29x3[_0xa1fe[1839]]=_0xfc29x2[_0xa1fe[1839]][_0xa1fe[1853]](),_0xfc29x3[_0xa1fe[1839]][_0xfc29xa-1]=_0xfc29x12};_0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]);if(null==_0xfc29x9[_0xfc29x12]){_0xfc29x9[_0xfc29x12]=_0xfc29x3;_0xfc29x5(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x13,0);_0xfc29x2=_0xfc29x3[_0xa1fe[1838]][_0xa1fe[1853]]();for(_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){_0xfc29x12=_0xfc29x2[_0xfc29x4],this[_0xa1fe[1855]](_0xfc29x3,_0xfc29x12[_0xa1fe[772]],_0xfc29x12,_0xfc29x5,_0xfc29x9,_0xfc29x3[_0xa1fe[1839]],_0xfc29x4,_0xfc29x13+1)}}else {_0xfc29x5(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x13,1)}}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){};function mxMedianHybridCrossingReduction(_0xfc29x2){this[_0xa1fe[1759]]=_0xfc29x2}mxMedianHybridCrossingReduction[_0xa1fe[202]]= new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[196]]=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1759]]=null;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1795]]=24;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1856]]=null;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1857]]=0;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1858]]=0;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1859]]=2;mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1759]][_0xa1fe[502]]();this[_0xa1fe[1856]]=[];for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[1856]][_0xfc29x3]=_0xfc29x2[_0xa1fe[1850]][_0xfc29x3][_0xa1fe[1853]]()};for(var _0xfc29x4=0,_0xfc29x5=this[_0xa1fe[1860]](_0xfc29x2),_0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1795]]&&_0xfc29x4<this[_0xa1fe[1859]];_0xfc29x3++){this[_0xa1fe[1861]](_0xfc29x3,_0xfc29x2);this[_0xa1fe[1862]](_0xfc29x3,_0xfc29x2);var _0xfc29x9=this[_0xa1fe[1860]](_0xfc29x2);if(_0xfc29x9<_0xfc29x5){_0xfc29x5=_0xfc29x9;for(_0xfc29x9=_0xfc29x4=0;_0xfc29x9<this[_0xa1fe[1856]][_0xa1fe[67]];_0xfc29x9++){for(var _0xfc29xa=_0xfc29x2[_0xa1fe[1850]][_0xfc29x9],_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){var _0xfc29x13=_0xfc29xa[_0xfc29x12];this[_0xa1fe[1856]][_0xfc29x9][_0xfc29x13[_0xa1fe[1833]](_0xfc29x9)]=_0xfc29x13}}}else {_0xfc29x4++;for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[1856]][_0xa1fe[67]];_0xfc29x9++){_0xfc29xa=_0xfc29x2[_0xa1fe[1850]][_0xfc29x9];for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa[_0xa1fe[67]];_0xfc29x12++){_0xfc29x13=_0xfc29xa[_0xfc29x12],_0xfc29x13[_0xa1fe[1834]](_0xfc29x9,_0xfc29x12)}}};if(0==_0xfc29x5){break}};_0xfc29x4=[];_0xfc29x5=[];for(_0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[1827]]+1;_0xfc29x3++){_0xfc29x5[_0xfc29x3]=[],_0xfc29x4[_0xfc29x3]=_0xfc29x5[_0xfc29x3]};for(_0xfc29x3=0;_0xfc29x3<this[_0xa1fe[1856]][_0xa1fe[67]];_0xfc29x3++){for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[1856]][_0xfc29x3][_0xa1fe[67]];_0xfc29x9++){_0xfc29x5[_0xfc29x3][_0xa1fe[207]](this[_0xa1fe[1856]][_0xfc29x3][_0xfc29x9])}};_0xfc29x2[_0xa1fe[1850]]=_0xfc29x4};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1860]]=function(_0xfc29x2){for(var _0xfc29x3=_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]],_0xfc29x4=0,_0xfc29x5=1;_0xfc29x5<_0xfc29x3;_0xfc29x5++){_0xfc29x4+=this[_0xa1fe[1863]](_0xfc29x5,_0xfc29x2)};return _0xfc29x4};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1863]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=0,_0xfc29x5=_0xfc29x3[_0xa1fe[1850]][_0xfc29x2],_0xfc29x9=_0xfc29x5[_0xa1fe[67]],_0xfc29xa=_0xfc29x3[_0xa1fe[1850]][_0xfc29x2-1][_0xa1fe[67]],_0xfc29x12=[],_0xfc29x13=0;_0xfc29x13<_0xfc29x9;_0xfc29x13++){_0xfc29x12[_0xfc29x13]=[]};for(_0xfc29x13=0;_0xfc29x13<_0xfc29x5[_0xa1fe[67]];_0xfc29x13++){for(var _0xfc29x14=_0xfc29x5[_0xfc29x13],_0xfc29x15=_0xfc29x14[_0xa1fe[1833]](_0xfc29x2),_0xfc29x16=_0xfc29x14[_0xa1fe[1832]](_0xfc29x2),_0xfc29x14=0;_0xfc29x14<_0xfc29x16[_0xa1fe[67]];_0xfc29x14++){var _0xfc29x17=_0xfc29x16[_0xfc29x14][_0xa1fe[1833]](_0xfc29x2-1);_0xfc29x12[_0xfc29x15][_0xfc29x17]=201207}};for(_0xfc29x13=0;_0xfc29x13<_0xfc29x9;_0xfc29x13++){for(_0xfc29x14=0;_0xfc29x14<_0xfc29xa;_0xfc29x14++){if(201207==_0xfc29x12[_0xfc29x13][_0xfc29x14]){for(_0xfc29x5=_0xfc29x13+1;_0xfc29x5<_0xfc29x9;_0xfc29x5++){for(_0xfc29x15=0;_0xfc29x15<_0xfc29x14;_0xfc29x15++){201207==_0xfc29x12[_0xfc29x5][_0xfc29x15]&&_0xfc29x4++}};for(_0xfc29x5=0;_0xfc29x5<_0xfc29x13;_0xfc29x5++){for(_0xfc29x15=_0xfc29x14+1;_0xfc29x15<_0xfc29xa;_0xfc29x15++){201207==_0xfc29x12[_0xfc29x5][_0xfc29x15]&&_0xfc29x4++}}}}};return _0xfc29x4/2};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1862]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=!0,_0xfc29x5=0;_0xfc29x4&&10>_0xfc29x5++;){for(var _0xfc29x9=1==_0xfc29x2%2&&1==_0xfc29x5%2,_0xfc29x4=!1,_0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29xa++){for(var _0xfc29x12=_0xfc29x3[_0xa1fe[1850]][_0xfc29xa],_0xfc29x13=[],_0xfc29x14=0;_0xfc29x14<_0xfc29x12[_0xa1fe[67]];_0xfc29x14++){var _0xfc29x15=_0xfc29x12[_0xfc29x14],_0xfc29x16=_0xfc29x15[_0xa1fe[1833]](_0xfc29xa);0>_0xfc29x16&&(_0xfc29x16=_0xfc29x14);_0xfc29x13[_0xfc29x16]=_0xfc29x15};for(var _0xfc29x17=_0xfc29x16=_0xfc29x15=null,_0xfc29x18=null,_0xfc29x19=null,_0xfc29x1a=null,_0xfc29x1b=null,_0xfc29x1c=null,_0xfc29x1d=null,_0xfc29x1e=null,_0xfc29x14=0;_0xfc29x14<_0xfc29x12[_0xa1fe[67]]-1;_0xfc29x14++){if(0==_0xfc29x14){for(var _0xfc29x1d=_0xfc29x13[_0xfc29x14],_0xfc29x15=_0xfc29x1d[_0xa1fe[1831]](_0xfc29xa),_0xfc29x16=_0xfc29x1d[_0xa1fe[1832]](_0xfc29xa),_0xfc29x19=[],_0xfc29x1a=[],_0xfc29x1f=0;_0xfc29x1f<_0xfc29x15[_0xa1fe[67]];_0xfc29x1f++){_0xfc29x19[_0xfc29x1f]=_0xfc29x15[_0xfc29x1f][_0xa1fe[1833]](_0xfc29xa+1)};for(_0xfc29x1f=0;_0xfc29x1f<_0xfc29x16[_0xa1fe[67]];_0xfc29x1f++){_0xfc29x1a[_0xfc29x1f]=_0xfc29x16[_0xfc29x1f][_0xa1fe[1833]](_0xfc29xa-1)}}else {_0xfc29x15=_0xfc29x17,_0xfc29x16=_0xfc29x18,_0xfc29x19=_0xfc29x1b,_0xfc29x1a=_0xfc29x1c,_0xfc29x1d=_0xfc29x1e};_0xfc29x1e=_0xfc29x13[_0xfc29x14+1];_0xfc29x17=_0xfc29x1e[_0xa1fe[1831]](_0xfc29xa);_0xfc29x18=_0xfc29x1e[_0xa1fe[1832]](_0xfc29xa);_0xfc29x1b=[];_0xfc29x1c=[];for(_0xfc29x1f=0;_0xfc29x1f<_0xfc29x17[_0xa1fe[67]];_0xfc29x1f++){_0xfc29x1b[_0xfc29x1f]=_0xfc29x17[_0xfc29x1f][_0xa1fe[1833]](_0xfc29xa+1)};for(_0xfc29x1f=0;_0xfc29x1f<_0xfc29x18[_0xa1fe[67]];_0xfc29x1f++){_0xfc29x1c[_0xfc29x1f]=_0xfc29x18[_0xfc29x1f][_0xa1fe[1833]](_0xfc29xa-1)};for(var _0xfc29x20=0,_0xfc29x62=0,_0xfc29x1f=0;_0xfc29x1f<_0xfc29x19[_0xa1fe[67]];_0xfc29x1f++){for(var _0xfc29x63=0;_0xfc29x63<_0xfc29x1b[_0xa1fe[67]];_0xfc29x63++){_0xfc29x19[_0xfc29x1f]>_0xfc29x1b[_0xfc29x63]&&_0xfc29x20++,_0xfc29x19[_0xfc29x1f]<_0xfc29x1b[_0xfc29x63]&&_0xfc29x62++}};for(_0xfc29x1f=0;_0xfc29x1f<_0xfc29x1a[_0xa1fe[67]];_0xfc29x1f++){for(_0xfc29x63=0;_0xfc29x63<_0xfc29x1c[_0xa1fe[67]];_0xfc29x63++){_0xfc29x1a[_0xfc29x1f]>_0xfc29x1c[_0xfc29x63]&&_0xfc29x20++,_0xfc29x1a[_0xfc29x1f]<_0xfc29x1c[_0xfc29x63]&&_0xfc29x62++}};if(_0xfc29x62<_0xfc29x20||_0xfc29x62==_0xfc29x20&&_0xfc29x9){_0xfc29x17=_0xfc29x1d[_0xa1fe[1833]](_0xfc29xa),_0xfc29x1d[_0xa1fe[1834]](_0xfc29xa,_0xfc29x1e[_0xa1fe[1833]](_0xfc29xa)),_0xfc29x1e[_0xa1fe[1834]](_0xfc29xa,_0xfc29x17),_0xfc29x17=_0xfc29x15,_0xfc29x18=_0xfc29x16,_0xfc29x1b=_0xfc29x19,_0xfc29x1c=_0xfc29x1a,_0xfc29x1e=_0xfc29x1d,_0xfc29x9||(_0xfc29x4= !0)}}}}};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1861]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=0==_0xfc29x2%2;if(_0xfc29x4){for(var _0xfc29x5=_0xfc29x3[_0xa1fe[1827]]-1;0<=_0xfc29x5;_0xfc29x5--){this[_0xa1fe[1864]](_0xfc29x5,_0xfc29x4)}}else {for(_0xfc29x5=1;_0xfc29x5<_0xfc29x3[_0xa1fe[1827]];_0xfc29x5++){this[_0xa1fe[1864]](_0xfc29x5,_0xfc29x4)}}};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1864]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=this[_0xa1fe[1856]][_0xfc29x2][_0xa1fe[67]],_0xfc29x5=[],_0xfc29x9=[],_0xfc29xa=0;_0xfc29xa<_0xfc29x4;_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[1856]][_0xfc29x2][_0xfc29xa],_0xfc29x13= new MedianCellSorter;_0xfc29x13[_0xa1fe[246]]=_0xfc29x12;var _0xfc29x14;_0xfc29x14=_0xfc29x3?_0xfc29x12[_0xa1fe[1831]](_0xfc29x2):_0xfc29x12[_0xa1fe[1832]](_0xfc29x2);var _0xfc29x15;_0xfc29x15=_0xfc29x3?_0xfc29x2+1:_0xfc29x2-1;null!=_0xfc29x14&&0!=_0xfc29x14[_0xa1fe[67]]?(_0xfc29x13[_0xa1fe[1865]]=this[_0xa1fe[1865]](_0xfc29x14,_0xfc29x15),_0xfc29x5[_0xa1fe[207]](_0xfc29x13)):_0xfc29x9[_0xfc29x12[_0xa1fe[1833]](_0xfc29x2)]= !0};_0xfc29x5[_0xa1fe[470]](MedianCellSorter[_0xa1fe[202]][_0xa1fe[469]]);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x4;_0xfc29xa++){null==_0xfc29x9[_0xfc29xa]&&(_0xfc29x12=_0xfc29x5[_0xa1fe[1115]]()[_0xa1fe[246]],_0xfc29x12[_0xa1fe[1834]](_0xfc29x2,_0xfc29xa))}};mxMedianHybridCrossingReduction[_0xa1fe[202]][_0xa1fe[1865]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=[],_0xfc29x5=0,_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=_0xfc29x2[_0xfc29x9];_0xfc29x4[_0xfc29x5++]=_0xfc29xa[_0xa1fe[1833]](_0xfc29x3)};_0xfc29x4[_0xa1fe[470]](function(_0xfc29x2,_0xfc29x3){return _0xfc29x2-_0xfc29x3});if(1==_0xfc29x5%2){return _0xfc29x4[Math[_0xa1fe[519]](_0xfc29x5/2)]};if(2==_0xfc29x5){return (_0xfc29x4[0]+_0xfc29x4[1])/2};_0xfc29x9=_0xfc29x5/2;_0xfc29xa=_0xfc29x4[_0xfc29x9-1]-_0xfc29x4[0];_0xfc29x5=_0xfc29x4[_0xfc29x5-1]-_0xfc29x4[_0xfc29x9];return (_0xfc29x4[_0xfc29x9-1]*_0xfc29x5+_0xfc29x4[_0xfc29x9]*_0xfc29xa)/(_0xfc29xa+_0xfc29x5)};function MedianCellSorter(){}MedianCellSorter[_0xa1fe[202]][_0xa1fe[1865]]=0;MedianCellSorter[_0xa1fe[202]][_0xa1fe[246]]= !1;MedianCellSorter[_0xa1fe[202]][_0xa1fe[469]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2&&null!=_0xfc29x3?_0xfc29x3[_0xa1fe[1865]]>_0xfc29x2[_0xa1fe[1865]]?-1:_0xfc29x3[_0xa1fe[1865]]<_0xfc29x2[_0xa1fe[1865]]?1:0:0};function mxMinimumCycleRemover(_0xfc29x2){this[_0xa1fe[1759]]=_0xfc29x2}mxMinimumCycleRemover[_0xa1fe[202]]= new mxHierarchicalLayoutStage;mxMinimumCycleRemover[_0xa1fe[202]][_0xa1fe[196]]=mxMinimumCycleRemover;mxMinimumCycleRemover[_0xa1fe[202]][_0xa1fe[1759]]=null;mxMinimumCycleRemover[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1759]][_0xa1fe[502]](),_0xfc29x4={},_0xfc29x5=mxUtils[_0xa1fe[238]](_0xfc29x3[_0xa1fe[1846]],null,!0),_0xfc29x9=null;if(null!=_0xfc29x3[_0xa1fe[1845]]){var _0xfc29xa=_0xfc29x3[_0xa1fe[1845]],_0xfc29x9=[];for(_0xfc29x2=0;_0xfc29x2<_0xfc29xa[_0xa1fe[67]];_0xfc29x2++){var _0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29xa[_0xfc29x2]);_0xfc29x9[_0xfc29x2]=_0xfc29x3[_0xa1fe[1846]][_0xfc29x12]}};_0xfc29x3[_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12){_0xfc29x3[_0xa1fe[1720]](_0xfc29x2)&&(_0xfc29x9[_0xa1fe[1744]](),mxUtils[_0xa1fe[205]](_0xfc29x9,_0xfc29x2[_0xa1fe[1838]]),_0xfc29x2[_0xa1fe[1837]][_0xa1fe[207]](_0xfc29x9),mxUtils[_0xa1fe[205]](_0xfc29x9,_0xfc29x3[_0xa1fe[1837]]),_0xfc29x3[_0xa1fe[1838]][_0xa1fe[207]](_0xfc29x9));_0xfc29x2=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]);_0xfc29x4[_0xfc29x2]=_0xfc29x3;delete _0xfc29x5[_0xfc29x2]},_0xfc29x9,!0,null);_0xfc29x9=null;0<_0xfc29x5[_0xa1fe[1866]]&&(_0xfc29x9=mxUtils[_0xa1fe[238]](_0xfc29x5,null,!0));_0xfc29x2=mxUtils[_0xa1fe[238]](_0xfc29x4,null,!0);_0xfc29x3[_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x12){_0xfc29x3[_0xa1fe[1720]](_0xfc29x2)&&(_0xfc29x9[_0xa1fe[1744]](),mxUtils[_0xa1fe[205]](_0xfc29x9,_0xfc29x2[_0xa1fe[1838]]),_0xfc29x3[_0xa1fe[1838]][_0xa1fe[207]](_0xfc29x9),_0xfc29x2[_0xa1fe[1837]][_0xa1fe[207]](_0xfc29x9),mxUtils[_0xa1fe[205]](_0xfc29x9,_0xfc29x3[_0xa1fe[1837]]));_0xfc29x2=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]);_0xfc29x4[_0xfc29x2]=_0xfc29x3;delete _0xfc29x5[_0xfc29x2]},_0xfc29x5,!0,_0xfc29x2);_0xfc29xa=this[_0xa1fe[1759]][_0xa1fe[1703]]();if(null!=_0xfc29x9&&0<_0xfc29x9[_0xa1fe[67]]){_0xfc29x3=_0xfc29x3[_0xa1fe[1845]];for(_0xfc29x2=0;_0xfc29x2<_0xfc29x9[_0xa1fe[67]];_0xfc29x2++){_0xfc29x12=_0xfc29x9[_0xfc29x2][_0xa1fe[246]],0==_0xfc29xa[_0xa1fe[1867]](_0xfc29x12)[_0xa1fe[67]]&&_0xfc29x3[_0xa1fe[207]](_0xfc29x12)}}};function mxCoordinateAssignment(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[1759]]=_0xfc29x2;this[_0xa1fe[1868]]=_0xfc29x3;this[_0xa1fe[1869]]=_0xfc29x4;this[_0xa1fe[1870]]=_0xfc29x5;this[_0xa1fe[1871]]=_0xfc29x9;this[_0xa1fe[1872]]=_0xfc29xa}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxCoordinateAssignment[_0xa1fe[202]]= new mxHierarchicalLayoutStage;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[196]]=mxCoordinateAssignment;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1759]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1868]]=30;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1869]]=100;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1872]]=10;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1795]]=8;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1751]]=5;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1752]]=2;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1753]]=12;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1754]]=4;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1873]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1870]]=mxConstants[_0xa1fe[1358]];mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1871]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1874]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1875]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1876]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1877]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1878]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1879]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1880]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1881]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1882]]= !0;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[675]]=mxHierarchicalEdgeStyle[_0xa1fe[1883]];mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1884]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1885]]=null;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1745]]=10;mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1886]]=function(){var _0xfc29x2=this[_0xa1fe[1759]][_0xa1fe[502]]();mxLog[_0xa1fe[539]]();mxLog[_0xa1fe[171]](_0xa1fe[1887]);for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x3++){mxLog[_0xa1fe[53]](_0xa1fe[1888],_0xfc29x3,_0xa1fe[1889]);for(var _0xfc29x4=_0xfc29x2[_0xa1fe[1850]][_0xfc29x3],_0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){mxLog[_0xa1fe[53]](_0xfc29x4[_0xfc29x5][_0xa1fe[1833]](_0xfc29x3),_0xa1fe[316])};mxLog[_0xa1fe[171]]()};mxLog[_0xa1fe[171]](_0xa1fe[1890])};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){this[_0xa1fe[1873]]=[];_0xfc29x2=this[_0xa1fe[1759]][_0xa1fe[502]]();this[_0xa1fe[1875]]=0;this[_0xa1fe[1891]](this[_0xa1fe[1759]][_0xa1fe[1703]](),_0xfc29x2);this[_0xa1fe[1882]]&&this[_0xa1fe[1892]](_0xfc29x2);var _0xfc29x3=1E8;if(this[_0xa1fe[1882]]){for(var _0xfc29x4=0;_0xfc29x4<this[_0xa1fe[1795]];_0xfc29x4++){0!=_0xfc29x4&&(this[_0xa1fe[1893]](_0xfc29x4,_0xfc29x2),this[_0xa1fe[1892]](_0xfc29x2));if(this[_0xa1fe[1875]]<_0xfc29x3){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x5++){for(var _0xfc29x9=_0xfc29x2[_0xa1fe[1850]][_0xfc29x5],_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x9[_0xfc29xa];_0xfc29x12[_0xa1fe[1835]](_0xfc29x5,_0xfc29x12[_0xa1fe[1833]](_0xfc29x5))}};_0xfc29x3=this[_0xa1fe[1875]]}else {for(_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x5++){_0xfc29x9=_0xfc29x2[_0xa1fe[1850]][_0xfc29x5];for(_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){_0xfc29x12=_0xfc29x9[_0xfc29xa],_0xfc29x12[_0xa1fe[1834]](_0xfc29x5,_0xfc29x12[_0xa1fe[730]](_0xfc29x5))}}};this[_0xa1fe[1894]](this[_0xa1fe[1759]][_0xa1fe[1703]](),_0xfc29x2);this[_0xa1fe[1875]]=0}};this[_0xa1fe[1895]](this[_0xa1fe[1759]][_0xa1fe[1703]](),_0xfc29x2)};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1892]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=[],_0xfc29x5=[],_0xfc29x9=0;_0xfc29x9<=_0xfc29x2[_0xa1fe[1827]];_0xfc29x9++){_0xfc29x5[_0xfc29x9]=_0xfc29x2[_0xa1fe[1850]][_0xfc29x9];for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x5[_0xfc29x9][_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x5[_0xfc29x9][_0xfc29xa],_0xfc29x13= new WeightedCellSorter(_0xfc29x12,_0xfc29x9);_0xfc29x13[_0xa1fe[1785]]=_0xfc29xa;_0xfc29x13[_0xa1fe[1784]]= !0;_0xfc29x3[_0xa1fe[207]](_0xfc29x13);_0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29x12[_0xa1fe[1841]]());_0xfc29x4[_0xfc29x12]=_0xfc29x13}};_0xfc29x2=10*_0xfc29x3[_0xa1fe[67]];for(_0xfc29xa=0;0<_0xfc29x3[_0xa1fe[67]]&&_0xfc29xa<=_0xfc29x2;){var _0xfc29x13=_0xfc29x3[_0xa1fe[1115]](),_0xfc29x9=_0xfc29x13[_0xa1fe[246]],_0xfc29x14=_0xfc29x13[_0xa1fe[1782]],_0xfc29x15=parseInt(_0xfc29x13[_0xa1fe[1785]]),_0xfc29x12=_0xfc29x9[_0xa1fe[1831]](_0xfc29x14),_0xfc29x16=_0xfc29x9[_0xa1fe[1832]](_0xfc29x14),_0xfc29x17=_0xfc29x12[_0xa1fe[67]],_0xfc29x18=_0xfc29x16[_0xa1fe[67]],_0xfc29x19=this[_0xa1fe[1896]](_0xfc29x12,_0xfc29x14+1),_0xfc29x1a=this[_0xa1fe[1896]](_0xfc29x16,_0xfc29x14-1),_0xfc29x1b=_0xfc29x17+_0xfc29x18,_0xfc29x1c=_0xfc29x9[_0xa1fe[1833]](_0xfc29x14),_0xfc29x1d=_0xfc29x1c;0<_0xfc29x1b&&(_0xfc29x1d=(_0xfc29x19*_0xfc29x17+_0xfc29x1a*_0xfc29x18)/_0xfc29x1b);_0xfc29x17= !1;_0xfc29x1d<_0xfc29x1c-1?0==_0xfc29x15?(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1d),_0xfc29x17= !0):(_0xfc29x15=_0xfc29x5[_0xfc29x14][_0xfc29x15-1],_0xfc29x1c=_0xfc29x15[_0xa1fe[1833]](_0xfc29x14),_0xfc29x1c=_0xfc29x1c+_0xfc29x15[_0xa1fe[117]]/2+this[_0xa1fe[1868]]+_0xfc29x9[_0xa1fe[117]]/2,_0xfc29x1c<_0xfc29x1d?(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1d),_0xfc29x17= !0):_0xfc29x1c<_0xfc29x9[_0xa1fe[1833]](_0xfc29x14)-1&&(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1c),_0xfc29x17= !0)):_0xfc29x1d>_0xfc29x1c+1&&(_0xfc29x15==_0xfc29x5[_0xfc29x14][_0xa1fe[67]]-1?(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1d),_0xfc29x17= !0):(_0xfc29x15=_0xfc29x5[_0xfc29x14][_0xfc29x15+1],_0xfc29x1c=_0xfc29x15[_0xa1fe[1833]](_0xfc29x14),_0xfc29x1c=_0xfc29x1c-_0xfc29x15[_0xa1fe[117]]/2-this[_0xa1fe[1868]]-_0xfc29x9[_0xa1fe[117]]/2,_0xfc29x1c>_0xfc29x1d?(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1d),_0xfc29x17= !0):_0xfc29x1c>_0xfc29x9[_0xa1fe[1833]](_0xfc29x14)+1&&(_0xfc29x9[_0xa1fe[1834]](_0xfc29x14,_0xfc29x1c),_0xfc29x17= !0)));if(_0xfc29x17){for(_0xfc29x9=0;_0xfc29x9<_0xfc29x12[_0xa1fe[67]];_0xfc29x9++){_0xfc29x14=_0xfc29x12[_0xfc29x9],_0xfc29x14=mxCellPath[_0xa1fe[385]](_0xfc29x14[_0xa1fe[1841]]()),_0xfc29x14=_0xfc29x4[_0xfc29x14],null!=_0xfc29x14&&!1==_0xfc29x14[_0xa1fe[1784]]&&(_0xfc29x14[_0xa1fe[1784]]= !0,_0xfc29x3[_0xa1fe[207]](_0xfc29x14))};for(_0xfc29x9=0;_0xfc29x9<_0xfc29x16[_0xa1fe[67]];_0xfc29x9++){_0xfc29x14=_0xfc29x16[_0xfc29x9],_0xfc29x14=mxCellPath[_0xa1fe[385]](_0xfc29x14[_0xa1fe[1841]]()),_0xfc29x14=_0xfc29x4[_0xfc29x14],null!=_0xfc29x14&&!1==_0xfc29x14[_0xa1fe[1784]]&&(_0xfc29x14[_0xa1fe[1784]]= !0,_0xfc29x3[_0xa1fe[207]](_0xfc29x14))}};_0xfc29x13[_0xa1fe[1784]]= !1;_0xfc29xa++}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1893]]=function(_0xfc29x2,_0xfc29x3){if(0==_0xfc29x2%2){for(var _0xfc29x4=_0xfc29x3[_0xa1fe[1827]];0<_0xfc29x4;_0xfc29x4--){this[_0xa1fe[1897]](_0xfc29x4-1,_0xfc29x3,_0xfc29x4)}}else {for(_0xfc29x4=0;_0xfc29x4<_0xfc29x3[_0xa1fe[1827]]-1;_0xfc29x4++){this[_0xa1fe[1897]](_0xfc29x4+1,_0xfc29x3,_0xfc29x4)}}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1897]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=_0xfc29x3[_0xa1fe[1850]][_0xfc29x2];for(var _0xfc29x5=[],_0xfc29x9=[],_0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x3[_0xfc29xa];_0xfc29x5[_0xfc29xa]= new WeightedCellSorter;_0xfc29x5[_0xfc29xa][_0xa1fe[246]]=_0xfc29x12;_0xfc29x5[_0xfc29xa][_0xa1fe[1785]]=_0xfc29xa;var _0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x12[_0xa1fe[1841]]());_0xfc29x9[_0xfc29x13]=_0xfc29x5[_0xfc29xa];var _0xfc29x14=null,_0xfc29x14=_0xfc29x4<_0xfc29x2?_0xfc29x12[_0xa1fe[1832]](_0xfc29x2):_0xfc29x12[_0xa1fe[1831]](_0xfc29x2);_0xfc29x5[_0xfc29xa][_0xa1fe[1782]]=this[_0xa1fe[1898]](_0xfc29x12,_0xfc29x14)};_0xfc29x5[_0xa1fe[470]](WeightedCellSorter[_0xa1fe[202]][_0xa1fe[469]]);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x5[_0xa1fe[67]];_0xfc29xa++){_0xfc29x13=0;_0xfc29x12=_0xfc29x5[_0xfc29xa][_0xa1fe[246]];_0xfc29x13=0;_0xfc29x14=_0xfc29x4<_0xfc29x2?_0xfc29x12[_0xa1fe[1832]](_0xfc29x2)[_0xa1fe[1853]]():_0xfc29x12[_0xa1fe[1831]](_0xfc29x2)[_0xa1fe[1853]]();null!=_0xfc29x14&&(_0xfc29x13=_0xfc29x14[_0xa1fe[67]],_0xfc29x13=0<_0xfc29x13?this[_0xa1fe[1896]](_0xfc29x14,_0xfc29x4):_0xfc29x12[_0xa1fe[1833]](_0xfc29x2));for(var _0xfc29x15=0,_0xfc29x14=-1E8,_0xfc29x16=_0xfc29x5[_0xfc29xa][_0xa1fe[1785]]-1;0<=_0xfc29x16;){var _0xfc29x17=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xfc29x16][_0xa1fe[1841]]()),_0xfc29x17=_0xfc29x9[_0xfc29x17];if(null!=_0xfc29x17){var _0xfc29x18=_0xfc29x17[_0xa1fe[246]];_0xfc29x17[_0xa1fe[1784]]?(_0xfc29x14=_0xfc29x18[_0xa1fe[1833]](_0xfc29x2)+_0xfc29x18[_0xa1fe[117]]/2+this[_0xa1fe[1868]]+_0xfc29x15+_0xfc29x12[_0xa1fe[117]]/2,_0xfc29x16= -1):(_0xfc29x15+=_0xfc29x18[_0xa1fe[117]]+this[_0xa1fe[1868]],_0xfc29x16--)}};_0xfc29x15=0;_0xfc29x18=1E8;for(_0xfc29x16=_0xfc29x5[_0xfc29xa][_0xa1fe[1785]]+1;_0xfc29x16<_0xfc29x5[_0xa1fe[67]];){if(_0xfc29x17=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xfc29x16][_0xa1fe[1841]]()),_0xfc29x17=_0xfc29x9[_0xfc29x17],null!=_0xfc29x17){var _0xfc29x19=_0xfc29x17[_0xa1fe[246]];_0xfc29x17[_0xa1fe[1784]]?(_0xfc29x18=_0xfc29x19[_0xa1fe[1833]](_0xfc29x2)-_0xfc29x19[_0xa1fe[117]]/2-this[_0xa1fe[1868]]-_0xfc29x15-_0xfc29x12[_0xa1fe[117]]/2,_0xfc29x16=_0xfc29x5[_0xa1fe[67]]):(_0xfc29x15+=_0xfc29x19[_0xa1fe[117]]+this[_0xa1fe[1868]],_0xfc29x16++)}};_0xfc29x13>=_0xfc29x14&&_0xfc29x13<=_0xfc29x18?_0xfc29x12[_0xa1fe[1834]](_0xfc29x2,_0xfc29x13):_0xfc29x13<_0xfc29x14?(_0xfc29x12[_0xa1fe[1834]](_0xfc29x2,_0xfc29x14),this[_0xa1fe[1875]]+=_0xfc29x14-_0xfc29x13):_0xfc29x13>_0xfc29x18&&(_0xfc29x12[_0xa1fe[1834]](_0xfc29x2,_0xfc29x18),this[_0xa1fe[1875]]+=_0xfc29x13-_0xfc29x18);_0xfc29x5[_0xfc29xa][_0xa1fe[1784]]= !0}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1898]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=0,_0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=_0xfc29x3[_0xfc29x5];_0xfc29x2[_0xa1fe[1193]]()&&_0xfc29x9[_0xa1fe[1193]]()?_0xfc29x4++:_0xfc29x4=_0xfc29x2[_0xa1fe[250]]()&&_0xfc29x9[_0xa1fe[250]]()?_0xfc29x4+8:_0xfc29x4+2};return _0xfc29x4};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1896]]=function(_0xfc29x2,_0xfc29x3){if(0==_0xfc29x2[_0xa1fe[67]]){return 0};for(var _0xfc29x4=[],_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){_0xfc29x4[_0xfc29x5]=_0xfc29x2[_0xfc29x5][_0xa1fe[1833]](_0xfc29x3)};_0xfc29x4[_0xa1fe[470]](function(_0xfc29x2,_0xfc29x3){return _0xfc29x2-_0xfc29x3});if(1==_0xfc29x2[_0xa1fe[67]]%2){return _0xfc29x4[Math[_0xa1fe[519]](_0xfc29x2[_0xa1fe[67]]/2)]};_0xfc29x5=_0xfc29x2[_0xa1fe[67]]/2;return (_0xfc29x4[_0xfc29x5-1]+_0xfc29x4[_0xfc29x5])/2};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1891]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1899]](_0xfc29x2,_0xfc29x3);for(var _0xfc29x4=this[_0xa1fe[1876]];0<=_0xfc29x4;_0xfc29x4--){_0xfc29x4<_0xfc29x3[_0xa1fe[1827]]&&this[_0xa1fe[1900]](_0xfc29x4,_0xfc29x2,_0xfc29x3)};for(_0xfc29x4=this[_0xa1fe[1876]]+1;_0xfc29x4<=_0xfc29x3[_0xa1fe[1827]];_0xfc29x4++){0<_0xfc29x4&&this[_0xa1fe[1900]](_0xfc29x4,_0xfc29x2,_0xfc29x3)}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1900]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=_0xfc29x4[_0xa1fe[1850]][_0xfc29x2];_0xfc29x4=0;for(var _0xfc29x5=this[_0xa1fe[1871]]+(this[_0xa1fe[1879]]-this[_0xa1fe[1880]][_0xfc29x2])/2,_0xfc29x9=!1,_0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x3[_0xfc29xa];if(_0xfc29x12[_0xa1fe[1193]]()){var _0xfc29x13=this[_0xa1fe[1759]][_0xa1fe[1726]](_0xfc29x12[_0xa1fe[246]]);null!=_0xfc29x13?this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?(_0xfc29x12[_0xa1fe[117]]=_0xfc29x13[_0xa1fe[117]],_0xfc29x12[_0xa1fe[119]]=_0xfc29x13[_0xa1fe[119]]):(_0xfc29x12[_0xa1fe[117]]=_0xfc29x13[_0xa1fe[119]],_0xfc29x12[_0xa1fe[119]]=_0xfc29x13[_0xa1fe[117]]):_0xfc29x9= !0;_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x4,_0xfc29x12[_0xa1fe[119]])}else {_0xfc29x12[_0xa1fe[250]]()&&(_0xfc29x13=1,null!=_0xfc29x12[_0xa1fe[1842]]?_0xfc29x13=_0xfc29x12[_0xa1fe[1842]][_0xa1fe[67]]:mxLog[_0xa1fe[283]](_0xa1fe[1901]),_0xfc29x12[_0xa1fe[117]]=(_0xfc29x13-1)*this[_0xa1fe[1872]])};_0xfc29x5+=_0xfc29x12[_0xa1fe[117]]/2;_0xfc29x12[_0xa1fe[1835]](_0xfc29x2,_0xfc29x5);_0xfc29x12[_0xa1fe[1834]](_0xfc29x2,_0xfc29x5);_0xfc29x5+=_0xfc29x12[_0xa1fe[117]]/2;_0xfc29x5+=this[_0xa1fe[1868]]};!0==_0xfc29x9&&mxLog[_0xa1fe[283]](_0xa1fe[1902])};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1899]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=-this[_0xa1fe[1869]],_0xfc29x5=0;this[_0xa1fe[1880]]=[];this[_0xa1fe[1881]]=[];for(var _0xfc29x9=_0xfc29x3[_0xa1fe[1827]];0<=_0xfc29x9;_0xfc29x9--){for(var _0xfc29xa=0,_0xfc29x12=_0xfc29x3[_0xa1fe[1850]][_0xfc29x9],_0xfc29x13=this[_0xa1fe[1871]],_0xfc29x14=!1,_0xfc29x15=0;_0xfc29x15<_0xfc29x12[_0xa1fe[67]];_0xfc29x15++){var _0xfc29x16=_0xfc29x12[_0xfc29x15];if(_0xfc29x16[_0xa1fe[1193]]()){var _0xfc29x17=this[_0xa1fe[1759]][_0xa1fe[1726]](_0xfc29x16[_0xa1fe[246]]);null!=_0xfc29x17?this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?(_0xfc29x16[_0xa1fe[117]]=_0xfc29x17[_0xa1fe[117]],_0xfc29x16[_0xa1fe[119]]=_0xfc29x17[_0xa1fe[119]]):(_0xfc29x16[_0xa1fe[117]]=_0xfc29x17[_0xa1fe[119]],_0xfc29x16[_0xa1fe[119]]=_0xfc29x17[_0xa1fe[117]]):_0xfc29x14= !0;_0xfc29xa=Math[_0xa1fe[160]](_0xfc29xa,_0xfc29x16[_0xa1fe[119]])}else {_0xfc29x16[_0xa1fe[250]]()&&(_0xfc29x17=1,null!=_0xfc29x16[_0xa1fe[1842]]?_0xfc29x17=_0xfc29x16[_0xa1fe[1842]][_0xa1fe[67]]:mxLog[_0xa1fe[283]](_0xa1fe[1901]),_0xfc29x16[_0xa1fe[117]]=(_0xfc29x17-1)*this[_0xa1fe[1872]])};_0xfc29x13+=_0xfc29x16[_0xa1fe[117]]/2;_0xfc29x16[_0xa1fe[1835]](_0xfc29x9,_0xfc29x13);_0xfc29x16[_0xa1fe[1834]](_0xfc29x9,_0xfc29x13);_0xfc29x13+=_0xfc29x16[_0xa1fe[117]]/2;_0xfc29x13+=this[_0xa1fe[1868]];_0xfc29x13>this[_0xa1fe[1879]]&&(this[_0xa1fe[1879]]=_0xfc29x13,this[_0xa1fe[1876]]=_0xfc29x9);this[_0xa1fe[1880]][_0xfc29x9]=_0xfc29x13};!0==_0xfc29x14&&mxLog[_0xa1fe[283]](_0xa1fe[1902]);this[_0xa1fe[1881]][_0xfc29x9]=_0xfc29x4;_0xfc29x13=_0xfc29xa/2+_0xfc29x5/2+this[_0xa1fe[1869]];_0xfc29x5=_0xfc29xa;_0xfc29x4=this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1359]]?_0xfc29x4+_0xfc29x13:_0xfc29x4-_0xfc29x13;for(_0xfc29x15=0;_0xfc29x15<_0xfc29x12[_0xa1fe[67]];_0xfc29x15++){_0xfc29x12[_0xfc29x15][_0xa1fe[1836]](_0xfc29x9,_0xfc29x4)}}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1894]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x3[_0xa1fe[1847]],_0xfc29x5;for(_0xfc29x5 in _0xfc29x4){var _0xfc29x9=_0xfc29x4[_0xfc29x5];if(!(1>_0xfc29x9[_0xa1fe[1827]]-_0xfc29x9[_0xa1fe[1828]]-1)){for(var _0xfc29xa=_0xfc29x9[_0xa1fe[1833]](_0xfc29x9[_0xa1fe[1828]]+1),_0xfc29x12=!0,_0xfc29x13=0,_0xfc29x14=_0xfc29x9[_0xa1fe[1828]]+2;_0xfc29x14<_0xfc29x9[_0xa1fe[1827]];_0xfc29x14++){var _0xfc29x15=_0xfc29x9[_0xa1fe[1833]](_0xfc29x14);_0xfc29xa!=_0xfc29x15?(_0xfc29x12= !1,_0xfc29xa=_0xfc29x15):_0xfc29x13++};if(!_0xfc29x12){for(var _0xfc29x12=_0xfc29xa=0,_0xfc29x15=[],_0xfc29x16=[],_0xfc29x17=_0xfc29x9[_0xa1fe[1833]](_0xfc29x9[_0xa1fe[1828]]+1),_0xfc29x14=_0xfc29x9[_0xa1fe[1828]]+1;_0xfc29x14<_0xfc29x9[_0xa1fe[1827]]-1;_0xfc29x14++){var _0xfc29x18=_0xfc29x9[_0xa1fe[730]](_0xfc29x14+1);_0xfc29x17==_0xfc29x18?(_0xfc29x15[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-1]=_0xfc29x17,_0xfc29xa++):this[_0xa1fe[1903]](_0xfc29x3,_0xfc29x9,_0xfc29x14+1,_0xfc29x17)?(_0xfc29x15[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-1]=_0xfc29x17,_0xfc29xa++):_0xfc29x17=_0xfc29x15[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-1]=_0xfc29x18};_0xfc29x17=_0xfc29x9[_0xa1fe[730]](_0xfc29x14);for(_0xfc29x14=_0xfc29x9[_0xa1fe[1827]]-1;_0xfc29x14>_0xfc29x9[_0xa1fe[1828]]+1;_0xfc29x14--){_0xfc29x18=_0xfc29x9[_0xa1fe[730]](_0xfc29x14-1),_0xfc29x17==_0xfc29x18?(_0xfc29x16[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-2]=_0xfc29x17,_0xfc29x12++):this[_0xa1fe[1903]](_0xfc29x3,_0xfc29x9,_0xfc29x14-1,_0xfc29x17)?(_0xfc29x16[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-2]=_0xfc29x17,_0xfc29x12++):(_0xfc29x16[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-2]=_0xfc29x9[_0xa1fe[730]](_0xfc29x14-1),_0xfc29x17=_0xfc29x18)};if(_0xfc29x12>_0xfc29x13||_0xfc29xa>_0xfc29x13){if(_0xfc29x12>=_0xfc29xa){for(_0xfc29x14=_0xfc29x9[_0xa1fe[1827]]-2;_0xfc29x14>_0xfc29x9[_0xa1fe[1828]];_0xfc29x14--){_0xfc29x9[_0xa1fe[1835]](_0xfc29x14,_0xfc29x16[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-1])}}else {if(_0xfc29xa>_0xfc29x12){for(_0xfc29x14=_0xfc29x9[_0xa1fe[1828]]+2;_0xfc29x14<_0xfc29x9[_0xa1fe[1827]];_0xfc29x14++){_0xfc29x9[_0xa1fe[1835]](_0xfc29x14,_0xfc29x15[_0xfc29x14-_0xfc29x9[_0xa1fe[1828]]-2])}}}}}}}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1903]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x2=_0xfc29x2[_0xa1fe[1850]][_0xfc29x4];for(var _0xfc29x9=-1,_0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){if(_0xfc29x3==_0xfc29x2[_0xfc29xa]){_0xfc29x9=_0xfc29xa;break}};if(0>_0xfc29x9){return !1};_0xfc29xa=_0xfc29x3[_0xa1fe[1833]](_0xfc29x4);if(_0xfc29x5<_0xfc29xa){if(0==_0xfc29x9){return !0};_0xfc29x2=_0xfc29x2[_0xfc29x9-1];_0xfc29x4=_0xfc29x2[_0xa1fe[1833]](_0xfc29x4);_0xfc29x4=_0xfc29x4+_0xfc29x2[_0xa1fe[117]]/2+this[_0xa1fe[1868]]+_0xfc29x3[_0xa1fe[117]]/2;if(!(_0xfc29x4<=_0xfc29x5)){return !1}}else {if(_0xfc29x5>_0xfc29xa){if(_0xfc29x9==_0xfc29x2[_0xa1fe[67]]-1){return !0};_0xfc29x2=_0xfc29x2[_0xfc29x9+1];_0xfc29x4=_0xfc29x2[_0xa1fe[1833]](_0xfc29x4);_0xfc29x4=_0xfc29x4-_0xfc29x2[_0xa1fe[117]]/2-this[_0xa1fe[1868]]-_0xfc29x3[_0xa1fe[117]]/2;if(!(_0xfc29x4>=_0xfc29x5)){return !1}}};return !0};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1895]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1877]]=[];this[_0xa1fe[1878]]=[];for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x3[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[1877]][_0xfc29x4]=Number[_0xa1fe[1904]],this[_0xa1fe[1878]][_0xfc29x4]=0};_0xfc29x4=null;this[_0xa1fe[1759]][_0xa1fe[1735]]&&(_0xfc29x4={});var _0xfc29x5=_0xfc29x3[_0xa1fe[1847]],_0xfc29x9=_0xfc29x3[_0xa1fe[1846]],_0xfc29xa;for(_0xfc29xa in _0xfc29x9){var _0xfc29x12=_0xfc29x9[_0xfc29xa];this[_0xa1fe[1725]](_0xfc29x12);if(this[_0xa1fe[1759]][_0xa1fe[1735]]){var _0xfc29x12=_0xfc29x2[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x12[_0xa1fe[246]]),_0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x12);null==_0xfc29x4[_0xfc29x13]&&(_0xfc29x4[_0xfc29x13]=_0xfc29x12)}};this[_0xa1fe[1759]][_0xa1fe[1735]]&&null!=_0xfc29x4&&this[_0xa1fe[1763]](_0xfc29x4);(this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1905]]||this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1883]]||this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1906]])&&this[_0xa1fe[1764]](_0xfc29x3);for(_0xfc29xa in _0xfc29x5){this[_0xa1fe[1907]](_0xfc29x5[_0xfc29xa])}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1763]]=function(_0xfc29x2){var _0xfc29x3=[],_0xfc29x4;for(_0xfc29x4 in _0xfc29x2){_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])};this[_0xa1fe[1759]][_0xa1fe[1727]](mxUtils[_0xa1fe[1779]](_0xfc29x3,!0),this[_0xa1fe[1745]])};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1764]]=function(_0xfc29x2){for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]];_0xfc29x3++){for(var _0xfc29x4=_0xfc29x2[_0xa1fe[1850]][_0xfc29x3],_0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=_0xfc29x4[_0xfc29x5];if(_0xfc29x9[_0xa1fe[1193]]()){for(var _0xfc29xa=_0xfc29x9[_0xa1fe[1832]](_0xfc29x3),_0xfc29x12=_0xfc29x3-1,_0xfc29x13=0;2>_0xfc29x13;_0xfc29x13++){if(-1<_0xfc29x12&&_0xfc29x12<_0xfc29x2[_0xa1fe[1850]][_0xa1fe[67]]&&null!=_0xfc29xa&&0<_0xfc29xa[_0xa1fe[67]]){for(var _0xfc29x14=[],_0xfc29x15=0;_0xfc29x15<_0xfc29xa[_0xa1fe[67]];_0xfc29x15++){var _0xfc29x16= new WeightedCellSorter(_0xfc29xa[_0xfc29x15],_0xfc29xa[_0xfc29x15][_0xa1fe[730]](_0xfc29x12));_0xfc29x14[_0xa1fe[207]](_0xfc29x16)};_0xfc29x14[_0xa1fe[470]](WeightedCellSorter[_0xa1fe[202]][_0xa1fe[469]]);for(var _0xfc29x16=_0xfc29x9[_0xa1fe[235]][0]-_0xfc29x9[_0xa1fe[117]]/2,_0xfc29x17=_0xfc29x16+_0xfc29x9[_0xa1fe[117]],_0xfc29x18=_0xfc29xa=0,_0xfc29x12=[],_0xfc29x15=0;_0xfc29x15<_0xfc29x14[_0xa1fe[67]];_0xfc29x15++){var _0xfc29x19=_0xfc29x14[_0xfc29x15][_0xa1fe[246]],_0xfc29x1a;if(_0xfc29x19[_0xa1fe[1193]]()){_0xfc29x1a=0==_0xfc29x13?_0xfc29x9[_0xa1fe[1838]]:_0xfc29x9[_0xa1fe[1837]];for(var _0xfc29x1b=0;_0xfc29x1b<_0xfc29x1a[_0xa1fe[67]];_0xfc29x1b++){if(_0xfc29x1a[_0xfc29x1b][_0xa1fe[1097]]==_0xfc29x19||_0xfc29x1a[_0xfc29x1b][_0xa1fe[772]]==_0xfc29x19){_0xfc29xa+=_0xfc29x1a[_0xfc29x1b][_0xa1fe[1842]][_0xa1fe[67]],_0xfc29x18++,_0xfc29x12[_0xa1fe[207]](_0xfc29x1a[_0xfc29x1b])}}}else {_0xfc29xa+=_0xfc29x19[_0xa1fe[1842]][_0xa1fe[67]],_0xfc29x18++,_0xfc29x12[_0xa1fe[207]](_0xfc29x19)}};_0xfc29x9[_0xa1fe[117]]>(_0xfc29xa+1)*this[_0xa1fe[1751]]+2*this[_0xa1fe[1751]]&&(_0xfc29x16+=this[_0xa1fe[1751]],_0xfc29x17-=this[_0xa1fe[1751]]);_0xfc29x14=(_0xfc29x17-_0xfc29x16)/_0xfc29xa;_0xfc29x16+=_0xfc29x14/2;_0xfc29x17=this[_0xa1fe[1753]]-this[_0xa1fe[1752]];for(_0xfc29x15=_0xfc29x18=0;_0xfc29x15<_0xfc29x12[_0xa1fe[67]];_0xfc29x15++){_0xfc29x19=_0xfc29x12[_0xfc29x15][_0xa1fe[1842]][_0xa1fe[67]];_0xfc29x1b=mxCellPath[_0xa1fe[385]](_0xfc29x12[_0xfc29x15][_0xa1fe[1842]][0]);_0xfc29x1a=this[_0xa1fe[1873]][_0xfc29x1b];null==_0xfc29x1a&&(_0xfc29x1a=[],this[_0xa1fe[1873]][_0xfc29x1b]=_0xfc29x1a);_0xfc29x15<_0xfc29xa/2?_0xfc29x17+=this[_0xa1fe[1752]]:_0xfc29x15>_0xfc29xa/2&&(_0xfc29x17-=this[_0xa1fe[1752]]);for(_0xfc29x1b=0;_0xfc29x1b<_0xfc29x19;_0xfc29x1b++){_0xfc29x1a[4*_0xfc29x1b+2*_0xfc29x13]=_0xfc29x16,_0xfc29x16+=_0xfc29x14,_0xfc29x1a[4*_0xfc29x1b+2*_0xfc29x13+1]=_0xfc29x17};_0xfc29x18=Math[_0xa1fe[160]](_0xfc29x18,_0xfc29x17)}};_0xfc29xa=_0xfc29x9[_0xa1fe[1831]](_0xfc29x3);_0xfc29x12=_0xfc29x3+1}}}}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1907]]=function(_0xfc29x2){var _0xfc29x3=0;if(101207!=_0xfc29x2[_0xa1fe[1826]][0]){var _0xfc29x4=_0xfc29x2[_0xa1fe[1827]],_0xfc29x5=_0xfc29x2[_0xa1fe[1828]];_0xfc29x4==_0xfc29x5&&(_0xfc29x4=_0xfc29x2[_0xa1fe[1097]][_0xa1fe[1827]],_0xfc29x5=_0xfc29x2[_0xa1fe[772]][_0xa1fe[1828]]);for(var _0xfc29x9=0,_0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xa1fe[1842]][0]),_0xfc29xa=this[_0xa1fe[1873]][_0xfc29xa],_0xfc29x12=_0xfc29x2[_0xa1fe[1843]]?_0xfc29x2[_0xa1fe[772]][_0xa1fe[246]]:_0xfc29x2[_0xa1fe[1097]][_0xa1fe[246]],_0xfc29x13=this[_0xa1fe[1759]][_0xa1fe[1179]],_0xfc29x14=0;_0xfc29x14<_0xfc29x2[_0xa1fe[1842]][_0xa1fe[67]];_0xfc29x14++){var _0xfc29x15=_0xfc29x2[_0xa1fe[1842]][_0xfc29x14],_0xfc29x16=this[_0xa1fe[1759]][_0xa1fe[1710]](_0xfc29x15,!0),_0xfc29x17=_0xfc29x13[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x15,!0),_0xfc29x18=[],_0xfc29x19=_0xfc29x2[_0xa1fe[1843]];_0xfc29x16!=_0xfc29x12&&(_0xfc29x19= !_0xfc29x19);if(null!=_0xfc29xa){var _0xfc29x1a=_0xfc29x19?2:0,_0xfc29x1b=_0xfc29x19?this[_0xa1fe[1877]][_0xfc29x5]:this[_0xa1fe[1878]][_0xfc29x4],_0xfc29x1c=_0xfc29xa[4*_0xfc29x9+1+_0xfc29x1a];_0xfc29x19&&(_0xfc29x1c= -_0xfc29x1c);_0xfc29x1b+=_0xfc29x1c;_0xfc29x1a=_0xfc29xa[4*_0xfc29x9+_0xfc29x1a];_0xfc29x17=_0xfc29x13[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x15,!0);this[_0xa1fe[1759]][_0xa1fe[1908]](_0xfc29x17)&&_0xfc29x13[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x17)==_0xfc29x16&&(_0xfc29x1a=_0xfc29x13[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x17),_0xfc29x1a=null!=_0xfc29x1a?_0xfc29x1a[_0xa1fe[235]]:_0xfc29x16[_0xa1fe[256]][_0xa1fe[235]]+_0xfc29x2[_0xa1fe[1097]][_0xa1fe[117]]*_0xfc29x17[_0xa1fe[256]][_0xa1fe[235]]);this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?(_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1a,_0xfc29x1b)),this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1906]]&&_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1a,_0xfc29x1b+_0xfc29x1c))):(_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1b,_0xfc29x1a)),this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1906]]&&_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1b+_0xfc29x1c,_0xfc29x1a)))};_0xfc29x1a=_0xfc29x2[_0xa1fe[235]][_0xa1fe[67]]-1;_0xfc29x1b=_0xfc29x1c= -1;_0xfc29x16=_0xfc29x2[_0xa1fe[1827]]-1;_0xfc29x19&&(_0xfc29x1a=0,_0xfc29x1c=_0xfc29x2[_0xa1fe[235]][_0xa1fe[67]],_0xfc29x1b=1,_0xfc29x16=_0xfc29x2[_0xa1fe[1828]]+1);for(;_0xfc29x2[_0xa1fe[1827]]!=_0xfc29x2[_0xa1fe[1828]]&&_0xfc29x1a!=_0xfc29x1c;_0xfc29x1a+=_0xfc29x1b){var _0xfc29x17=_0xfc29x2[_0xa1fe[235]][_0xfc29x1a]+_0xfc29x3,_0xfc29x1d=(this[_0xa1fe[1877]][_0xfc29x16]+this[_0xa1fe[1878]][_0xfc29x16+1])/2,_0xfc29x1e=(this[_0xa1fe[1877]][_0xfc29x16-1]+this[_0xa1fe[1878]][_0xfc29x16])/2;if(_0xfc29x19){var _0xfc29x1f=_0xfc29x1d,_0xfc29x1d=_0xfc29x1e,_0xfc29x1e=_0xfc29x1f};this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?(_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x17,_0xfc29x1d)),_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x17,_0xfc29x1e))):(_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1d,_0xfc29x17)),_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1e,_0xfc29x17)));this[_0xa1fe[1874]]=Math[_0xa1fe[160]](this[_0xa1fe[1874]],_0xfc29x17);_0xfc29x16+=_0xfc29x1b};null!=_0xfc29xa&&(_0xfc29x1a=_0xfc29x19?2:0,_0xfc29x1b=_0xfc29x19?this[_0xa1fe[1878]][_0xfc29x4]:this[_0xa1fe[1877]][_0xfc29x5],_0xfc29x1c=_0xfc29xa[4*_0xfc29x9+3-_0xfc29x1a],_0xfc29x19&&(_0xfc29x1c= -_0xfc29x1c),_0xfc29x1b-=_0xfc29x1c,_0xfc29x1a=_0xfc29xa[4*_0xfc29x9+2-_0xfc29x1a],_0xfc29x19=_0xfc29x13[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x15,!1),_0xfc29x16=this[_0xa1fe[1759]][_0xa1fe[1710]](_0xfc29x15,!1),this[_0xa1fe[1759]][_0xa1fe[1908]](_0xfc29x19)&&_0xfc29x13[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x19)==_0xfc29x16&&(_0xfc29x1a=_0xfc29x13[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x19),_0xfc29x1a=null!=_0xfc29x1a?_0xfc29x1a[_0xa1fe[235]]:_0xfc29x16[_0xa1fe[256]][_0xa1fe[235]]+_0xfc29x2[_0xa1fe[772]][_0xa1fe[117]]*_0xfc29x19[_0xa1fe[256]][_0xa1fe[235]]),this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?(this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1906]]&&_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1a,_0xfc29x1b-_0xfc29x1c)),_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1a,_0xfc29x1b))):(this[_0xa1fe[675]]==mxHierarchicalEdgeStyle[_0xa1fe[1906]]&&_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1b-_0xfc29x1c,_0xfc29x1a)),_0xfc29x18[_0xa1fe[207]]( new mxPoint(_0xfc29x1b,_0xfc29x1a))));_0xfc29x2[_0xa1fe[1843]]&&this[_0xa1fe[1909]](_0xfc29x2,_0xfc29x15);this[_0xa1fe[1759]][_0xa1fe[1722]](_0xfc29x15,_0xfc29x18);_0xfc29x3=0==_0xfc29x3?this[_0xa1fe[1872]]:0<_0xfc29x3?-_0xfc29x3:-_0xfc29x3+this[_0xa1fe[1872]];_0xfc29x9++};_0xfc29x2[_0xa1fe[1826]][0]=101207}};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1725]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[246]],_0xfc29x4=_0xfc29x2[_0xa1fe[235]][0]-_0xfc29x2[_0xa1fe[117]]/2,_0xfc29x5=_0xfc29x2[_0xa1fe[236]][0]-_0xfc29x2[_0xa1fe[119]]/2;this[_0xa1fe[1877]][_0xfc29x2[_0xa1fe[1828]]]=Math[_0xa1fe[243]](this[_0xa1fe[1877]][_0xfc29x2[_0xa1fe[1828]]],_0xfc29x5);this[_0xa1fe[1878]][_0xfc29x2[_0xa1fe[1828]]]=Math[_0xa1fe[160]](this[_0xa1fe[1878]][_0xfc29x2[_0xa1fe[1828]]],_0xfc29x5+_0xfc29x2[_0xa1fe[119]]);this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1358]]||this[_0xa1fe[1870]]==mxConstants[_0xa1fe[1354]]?this[_0xa1fe[1759]][_0xa1fe[1725]](_0xfc29x3,_0xfc29x4,_0xfc29x5):this[_0xa1fe[1759]][_0xa1fe[1725]](_0xfc29x3,_0xfc29x5,_0xfc29x4);this[_0xa1fe[1874]]=Math[_0xa1fe[160]](this[_0xa1fe[1874]],_0xfc29x4+_0xfc29x2[_0xa1fe[117]])};mxCoordinateAssignment[_0xa1fe[202]][_0xa1fe[1909]]=function(_0xfc29x2,_0xfc29x3){};function WeightedCellSorter(_0xfc29x2,_0xfc29x3){this[_0xa1fe[246]]=_0xfc29x2;this[_0xa1fe[1782]]=_0xfc29x3}WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1782]]=0;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1783]]= !1;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1784]]= !1;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[1785]]=null;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[246]]=null;WeightedCellSorter[_0xa1fe[202]][_0xa1fe[469]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2&&null!=_0xfc29x3?_0xfc29x3[_0xa1fe[1782]]>_0xfc29x2[_0xa1fe[1782]]?-1:_0xfc29x3[_0xa1fe[1782]]<_0xfc29x2[_0xa1fe[1782]]?1:_0xfc29x3[_0xa1fe[1783]]?-1:1:0};function mxHierarchicalLayout(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxGraphLayout[_0xa1fe[239]](this,_0xfc29x2);this[_0xa1fe[1870]]=null!=_0xfc29x3?_0xfc29x3:mxConstants[_0xa1fe[1358]];this[_0xa1fe[1910]]=null!=_0xfc29x4?_0xfc29x4:!0}mxHierarchicalLayout[_0xa1fe[202]]= new mxGraphLayout;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[196]]=mxHierarchicalLayout;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1845]]=null;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1735]]= !1;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1911]]= !1;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1912]]=0;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1868]]=30;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1869]]=100;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1913]]=60;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1872]]=10;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1870]]=mxConstants[_0xa1fe[1358]];mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1882]]= !0;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1844]]= !0;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1787]]= !0;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1914]]= !0;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[251]]=null;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1915]]=null;mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[502]]=function(){return this[_0xa1fe[251]]};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1101]]=_0xfc29x2;var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[251]];this[_0xa1fe[1915]]={};if(!(null==_0xfc29x3&&null==_0xfc29x2)){if(null!=_0xfc29x3&&null!=_0xfc29x2){for(var _0xfc29x5=[],_0xfc29x9=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){_0xfc29x4[_0xa1fe[1720]](_0xfc29x2,_0xfc29x3[_0xfc29x9])&&_0xfc29x5[_0xa1fe[207]](_0xfc29x3[_0xfc29x9])};this[_0xa1fe[1845]]=_0xfc29x5}else {this[_0xa1fe[1845]]=_0xfc29x3};_0xfc29x4[_0xa1fe[473]]();try{this[_0xa1fe[1916]](_0xfc29x2),this[_0xa1fe[1735]]&&!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x2)&&this[_0xa1fe[1179]][_0xa1fe[1917]]([_0xfc29x2],this[_0xa1fe[1912]],this[_0xa1fe[1911]])}finally{_0xfc29x4[_0xa1fe[476]]()}}};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1918]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=[];if(null!=_0xfc29x2&&null!=_0xfc29x3){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[251]],_0xfc29x9=null,_0xfc29xa=-1E5,_0xfc29x12;for(_0xfc29x12 in _0xfc29x3){var _0xfc29x13=_0xfc29x3[_0xfc29x12];if(_0xfc29x5[_0xa1fe[1193]](_0xfc29x13)&&this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x13)){for(var _0xfc29x14=this[_0xa1fe[264]](_0xfc29x13),_0xfc29x15=0,_0xfc29x16=0,_0xfc29x17=0;_0xfc29x17<_0xfc29x14[_0xa1fe[67]];_0xfc29x17++){this[_0xa1fe[1710]](_0xfc29x14[_0xfc29x17],!0)==_0xfc29x13?_0xfc29x15++:_0xfc29x16++};0==_0xfc29x16&&0<_0xfc29x15&&_0xfc29x4[_0xa1fe[207]](_0xfc29x13);_0xfc29x14=_0xfc29x15-_0xfc29x16;_0xfc29x14>_0xfc29xa&&(_0xfc29xa=_0xfc29x14,_0xfc29x9=_0xfc29x13)}};0==_0xfc29x4[_0xa1fe[67]]&&null!=_0xfc29x9&&_0xfc29x4[_0xa1fe[207]](_0xfc29x9)};return _0xfc29x4};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[264]]=function(_0xfc29x2){var _0xfc29x3=mxCellPath[_0xa1fe[385]](_0xfc29x2);if(null!=this[_0xa1fe[1915]][_0xfc29x3]){return this[_0xa1fe[1915]][_0xfc29x3]};for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[251]],_0xfc29x5=[],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x2),_0xfc29xa=_0xfc29x4[_0xa1fe[262]](_0xfc29x2),_0xfc29x12=0;_0xfc29x12<_0xfc29xa;_0xfc29x12++){var _0xfc29x13=_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x12);if(this[_0xa1fe[1908]](_0xfc29x13)){_0xfc29x5=_0xfc29x5[_0xa1fe[1919]](_0xfc29x4[_0xa1fe[264]](_0xfc29x13,!0,!0))}else {if(_0xfc29x9||!this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x13)){_0xfc29x5=_0xfc29x5[_0xa1fe[1919]](_0xfc29x4[_0xa1fe[264]](_0xfc29x13,!0,!0))}}};_0xfc29x5=_0xfc29x5[_0xa1fe[1919]](_0xfc29x4[_0xa1fe[264]](_0xfc29x2,!0,!0));_0xfc29x4=[];for(_0xfc29x12=0;_0xfc29x12<_0xfc29x5[_0xa1fe[67]];_0xfc29x12++){_0xfc29x9=this[_0xa1fe[1710]](_0xfc29x5[_0xfc29x12],!0),_0xfc29xa=this[_0xa1fe[1710]](_0xfc29x5[_0xfc29x12],!1),(_0xfc29x9==_0xfc29xa||_0xfc29x9!=_0xfc29xa&&(_0xfc29xa==_0xfc29x2&&(null==this[_0xa1fe[1101]]||this[_0xa1fe[1179]][_0xa1fe[1920]](_0xfc29x9,this[_0xa1fe[1101]],this[_0xa1fe[1914]]))||_0xfc29x9==_0xfc29x2&&(null==this[_0xa1fe[1101]]||this[_0xa1fe[1179]][_0xa1fe[1920]](_0xfc29xa,this[_0xa1fe[1101]],this[_0xa1fe[1914]]))))&&_0xfc29x4[_0xa1fe[207]](_0xfc29x5[_0xfc29x12])};return this[_0xa1fe[1915]][_0xfc29x3]=_0xfc29x4};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1710]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x4=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[1710]](_0xfc29x3):this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x2,_0xfc29x3);this[_0xa1fe[1908]](_0xfc29x4)&&(_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4));return _0xfc29x4};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1916]]=function(_0xfc29x2){var _0xfc29x3=[],_0xfc29x4=[];if(null==this[_0xa1fe[1845]]&&null!=_0xfc29x2){var _0xfc29x5={};this[_0xa1fe[1921]](_0xfc29x2,_0xfc29x5);this[_0xa1fe[1845]]=[];var _0xfc29x9=!0,_0xfc29xa;for(_0xfc29xa in _0xfc29x5){if(null!=_0xfc29x5[_0xfc29xa]){_0xfc29x9= !1;break}};for(;!_0xfc29x9;){for(var _0xfc29x12=this[_0xa1fe[1918]](_0xfc29x2,_0xfc29x5),_0xfc29x9=0;_0xfc29x9<_0xfc29x12[_0xa1fe[67]];_0xfc29x9++){var _0xfc29x13=[];_0xfc29x3[_0xa1fe[207]](_0xfc29x13);this[_0xa1fe[1706]](_0xfc29x12[_0xfc29x9],!0,null,_0xfc29x4,_0xfc29x13,_0xfc29x3,_0xfc29x5)};for(_0xfc29x9=0;_0xfc29x9<_0xfc29x12[_0xa1fe[67]];_0xfc29x9++){this[_0xa1fe[1845]][_0xa1fe[207]](_0xfc29x12[_0xfc29x9])};_0xfc29x9= !0;for(_0xfc29xa in _0xfc29x5){if(null!=_0xfc29x5[_0xfc29xa]){_0xfc29x9= !1;break}}}}else {for(_0xfc29x9=0;_0xfc29x9<roots[_0xa1fe[67]];_0xfc29x9++){_0xfc29x13=[],_0xfc29x3[_0xa1fe[207]](_0xfc29x13),traverse(roots[_0xa1fe[203]](_0xfc29x9),!0,null,_0xfc29x4,_0xfc29x13,_0xfc29x3,null)}};for(_0xfc29x9=_0xfc29x4=0;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){_0xfc29x13=_0xfc29x3[_0xfc29x9];_0xfc29x5=[];for(_0xfc29xa in _0xfc29x13){_0xfc29x5[_0xa1fe[207]](_0xfc29x13[_0xfc29xa])};this[_0xa1fe[251]]= new mxGraphHierarchyModel(this,_0xfc29x5,this[_0xa1fe[1845]],_0xfc29x2,this[_0xa1fe[1844]]);this[_0xa1fe[1922]](_0xfc29x2);this[_0xa1fe[1923]]();this[_0xa1fe[1924]](_0xfc29x2);_0xfc29x4=this[_0xa1fe[1925]](_0xfc29x4,_0xfc29x2)}};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1921]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[251]];_0xfc29x4[_0xa1fe[1193]](_0xfc29x2)&&(_0xfc29x2!=this[_0xa1fe[1101]]&&this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2))&&(_0xfc29x3[mxCellPath[_0xa1fe[385]](_0xfc29x2)]=_0xfc29x2);if(this[_0xa1fe[1914]]||_0xfc29x2==this[_0xa1fe[1101]]&&this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2)){for(var _0xfc29x5=_0xfc29x4[_0xa1fe[262]](_0xfc29x2),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x9);this[_0xa1fe[1908]](_0xfc29xa)||this[_0xa1fe[1921]](_0xfc29xa,_0xfc29x3)}}};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1908]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[256]][_0xa1fe[1500]]?!0:!1};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1781]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;for(var _0xfc29x5=this[_0xa1fe[264]](_0xfc29x2),_0xfc29x9=[],_0xfc29xa=0;_0xfc29xa<_0xfc29x5[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[1710]](_0xfc29x5[_0xfc29xa],!0),_0xfc29x13=this[_0xa1fe[1710]](_0xfc29x5[_0xfc29xa],!1);(_0xfc29x12==_0xfc29x2&&_0xfc29x13==_0xfc29x3||!_0xfc29x4&&_0xfc29x12==_0xfc29x3&&_0xfc29x13==_0xfc29x2)&&_0xfc29x9[_0xa1fe[207]](_0xfc29x5[_0xfc29xa])};return _0xfc29x9};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1706]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){if(null!=_0xfc29x2&&null!=_0xfc29x5){var _0xfc29x13=mxCellPath[_0xa1fe[385]](_0xfc29x2);if(null==_0xfc29x5[_0xfc29x13]&&(null==_0xfc29x12||null!=_0xfc29x12[_0xfc29x13])){null==_0xfc29x9[_0xfc29x13]&&(_0xfc29x9[_0xfc29x13]=_0xfc29x2);null==_0xfc29x5[_0xfc29x13]&&(_0xfc29x5[_0xfc29x13]=_0xfc29x2);delete _0xfc29x12[_0xfc29x13];var _0xfc29x14=this[_0xa1fe[264]](_0xfc29x2);for(_0xfc29x4=0;_0xfc29x4<_0xfc29x14[_0xa1fe[67]];_0xfc29x4++){if(_0xfc29x13=this[_0xa1fe[1710]](_0xfc29x14[_0xfc29x4],!0)==_0xfc29x2,!_0xfc29x3||_0xfc29x13){_0xfc29x13=this[_0xa1fe[1710]](_0xfc29x14[_0xfc29x4],!_0xfc29x13),_0xfc29x9=this[_0xa1fe[1706]](_0xfc29x13,_0xfc29x3,_0xfc29x14[_0xfc29x4],_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12)}}}else {if(null==_0xfc29x9[_0xfc29x13]){for(_0xfc29x4=0;_0xfc29x4<_0xfc29xa[_0xa1fe[67]];_0xfc29x4++){if(_0xfc29x2=_0xfc29xa[_0xfc29x4],null!=_0xfc29x2[_0xfc29x13]){for(_0xfc29x14 in _0xfc29x9){_0xfc29x2[_0xfc29x14]=_0xfc29x9[_0xfc29x14]};_0xfc29xa[_0xa1fe[1242]]();return _0xfc29x2}}}}};return _0xfc29x9};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1922]]=function(_0xfc29x2){( new mxMinimumCycleRemover(this))[_0xa1fe[350]](_0xfc29x2)};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1923]]=function(){this[_0xa1fe[251]][_0xa1fe[1852]]();this[_0xa1fe[251]][_0xa1fe[1854]]()};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1924]]=function(_0xfc29x2){( new mxMedianHybridCrossingReduction(this))[_0xa1fe[350]](_0xfc29x2)};mxHierarchicalLayout[_0xa1fe[202]][_0xa1fe[1925]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4= new mxCoordinateAssignment(this,this[_0xa1fe[1868]],this[_0xa1fe[1869]],this[_0xa1fe[1870]],_0xfc29x2,this[_0xa1fe[1872]]);_0xfc29x4[_0xa1fe[1882]]=this[_0xa1fe[1882]];_0xfc29x4[_0xa1fe[350]](_0xfc29x3);return _0xfc29x4[_0xa1fe[1874]]+this[_0xa1fe[1913]]};function mxGraphModel(_0xfc29x2){this[_0xa1fe[1926]]=this[_0xa1fe[1096]]();null!=_0xfc29x2?this[_0xa1fe[1927]](_0xfc29x2):this[_0xa1fe[200]]()}mxGraphModel[_0xa1fe[202]]= new mxEventSource;mxGraphModel[_0xa1fe[202]][_0xa1fe[196]]=mxGraphModel;mxGraphModel[_0xa1fe[202]][_0xa1fe[813]]=null;mxGraphModel[_0xa1fe[202]][_0xa1fe[895]]=null;mxGraphModel[_0xa1fe[202]][_0xa1fe[1928]]= !0;mxGraphModel[_0xa1fe[202]][_0xa1fe[1929]]= !0;mxGraphModel[_0xa1fe[202]][_0xa1fe[1089]]=_0xa1fe[110];mxGraphModel[_0xa1fe[202]][_0xa1fe[1930]]=_0xa1fe[110];mxGraphModel[_0xa1fe[202]][_0xa1fe[1931]]=0;mxGraphModel[_0xa1fe[202]][_0xa1fe[1926]]=null;mxGraphModel[_0xa1fe[202]][_0xa1fe[1932]]=0;mxGraphModel[_0xa1fe[202]][_0xa1fe[1933]]= !1;mxGraphModel[_0xa1fe[202]][_0xa1fe[200]]=function(){this[_0xa1fe[1927]](this[_0xa1fe[1934]]())};mxGraphModel[_0xa1fe[202]][_0xa1fe[1935]]=function(){return this[_0xa1fe[1929]]};mxGraphModel[_0xa1fe[202]][_0xa1fe[1936]]=function(_0xfc29x2){this[_0xa1fe[1929]]=_0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[1934]]=function(){var _0xfc29x2= new mxCell;_0xfc29x2[_0xa1fe[1937]]( new mxCell);return _0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[736]]=function(_0xfc29x2){return null!=this[_0xa1fe[895]]?this[_0xa1fe[895]][_0xfc29x2]:null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1938]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(null!=_0xfc29x2){for(var _0xfc29x4=[],_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){_0xfc29x3(_0xfc29x2[_0xfc29x5])&&_0xfc29x4[_0xa1fe[207]](_0xfc29x2[_0xfc29x5])}};return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[1939]]=function(_0xfc29x2){return this[_0xa1fe[1921]](null,_0xfc29x2)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1921]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=[];_0xfc29x3=_0xfc29x3||this[_0xa1fe[501]]();(null==_0xfc29x2||_0xfc29x2(_0xfc29x3))&&_0xfc29x4[_0xa1fe[207]](_0xfc29x3);for(var _0xfc29x5=this[_0xa1fe[262]](_0xfc29x3),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[263]](_0xfc29x3,_0xfc29x9),_0xfc29x4=_0xfc29x4[_0xa1fe[1919]](this[_0xa1fe[1921]](_0xfc29x2,_0xfc29xa))};return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[501]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2||this[_0xa1fe[813]];if(null!=_0xfc29x2){for(;null!=_0xfc29x2;){_0xfc29x3=_0xfc29x2,_0xfc29x2=this[_0xa1fe[1197]](_0xfc29x2)}};return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1927]]=function(_0xfc29x2){this[_0xa1fe[350]]( new mxRootChange(this,_0xfc29x2));return _0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[1940]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[813]];this[_0xa1fe[813]]=_0xfc29x2;this[_0xa1fe[1931]]=0;this[_0xa1fe[895]]=null;this[_0xa1fe[1941]](_0xfc29x2);return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1942]]=function(_0xfc29x2){return null!=_0xfc29x2&&this[_0xa1fe[813]]==_0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[1740]]=function(_0xfc29x2){return this[_0xa1fe[1942]](this[_0xa1fe[1197]](_0xfc29x2))};mxGraphModel[_0xa1fe[202]][_0xa1fe[1720]]=function(_0xfc29x2,_0xfc29x3){for(;null!=_0xfc29x3&&_0xfc29x3!=_0xfc29x2;){_0xfc29x3=this[_0xa1fe[1197]](_0xfc29x3)};return _0xfc29x3==_0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[442]]=function(_0xfc29x2){return this[_0xa1fe[1720]](this[_0xa1fe[813]],_0xfc29x2)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1197]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1197]]():null};mxGraphModel[_0xa1fe[202]][_0xa1fe[99]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(_0xfc29x3!=_0xfc29x2&&null!=_0xfc29x2&&null!=_0xfc29x3){null==_0xfc29x4&&(_0xfc29x4=this[_0xa1fe[262]](_0xfc29x2));var _0xfc29x5=_0xfc29x2!=this[_0xa1fe[1197]](_0xfc29x3);this[_0xa1fe[350]]( new mxChildChange(this,_0xfc29x2,_0xfc29x3,_0xfc29x4));this[_0xa1fe[1928]]&&_0xfc29x5&&this[_0xa1fe[1943]](_0xfc29x3)};return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1941]]=function(_0xfc29x2){if(null!=_0xfc29x2){null==_0xfc29x2[_0xa1fe[1103]]()&&this[_0xa1fe[1929]]&&_0xfc29x2[_0xa1fe[1945]](this[_0xa1fe[1944]](_0xfc29x2));if(null!=_0xfc29x2[_0xa1fe[1103]]()){var _0xfc29x3=this[_0xa1fe[736]](_0xfc29x2[_0xa1fe[1103]]());if(_0xfc29x3!=_0xfc29x2){for(;null!=_0xfc29x3;){_0xfc29x2[_0xa1fe[1945]](this[_0xa1fe[1944]](_0xfc29x2)),_0xfc29x3=this[_0xa1fe[736]](_0xfc29x2[_0xa1fe[1103]]())};null==this[_0xa1fe[895]]&&(this[_0xa1fe[895]]={});this[_0xa1fe[895]][_0xfc29x2[_0xa1fe[1103]]()]=_0xfc29x2}};mxUtils[_0xa1fe[1946]](_0xfc29x2[_0xa1fe[1103]]())&&(this[_0xa1fe[1931]]=Math[_0xa1fe[160]](this[_0xa1fe[1931]],_0xfc29x2[_0xa1fe[1103]]()));for(var _0xfc29x3=this[_0xa1fe[262]](_0xfc29x2),_0xfc29x4=0;_0xfc29x4<_0xfc29x3;_0xfc29x4++){this[_0xa1fe[1941]](this[_0xa1fe[263]](_0xfc29x2,_0xfc29x4))}}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1944]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1931]];this[_0xa1fe[1931]]++;return this[_0xa1fe[1089]]+_0xfc29x2+this[_0xa1fe[1930]]};mxGraphModel[_0xa1fe[202]][_0xa1fe[1943]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3||this[_0xa1fe[501]](_0xfc29x2);for(var _0xfc29x4=this[_0xa1fe[262]](_0xfc29x2),_0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[263]](_0xfc29x2,_0xfc29x5);this[_0xa1fe[1943]](_0xfc29x9,_0xfc29x3)};_0xfc29x9=this[_0xa1fe[1707]](_0xfc29x2);_0xfc29x4=[];for(_0xfc29x5=0;_0xfc29x5<_0xfc29x9;_0xfc29x5++){_0xfc29x4[_0xa1fe[207]](this[_0xa1fe[1708]](_0xfc29x2,_0xfc29x5))};for(_0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){_0xfc29x9=_0xfc29x4[_0xfc29x5],this[_0xa1fe[1720]](_0xfc29x3,_0xfc29x9)&&this[_0xa1fe[1947]](_0xfc29x9,_0xfc29x3)}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1947]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=this[_0xa1fe[1709]](_0xfc29x2,!0),_0xfc29x5=this[_0xa1fe[1709]](_0xfc29x2,!1),_0xfc29x9=null;null!=_0xfc29x4&&!this[_0xa1fe[250]](_0xfc29x4)&&null!=_0xfc29x4[_0xa1fe[256]]&&_0xfc29x4[_0xa1fe[256]][_0xa1fe[1500]];){_0xfc29x4=this[_0xa1fe[1197]](_0xfc29x4)};for(;null!=_0xfc29x5&&!this[_0xa1fe[250]](_0xfc29x5)&&null!=_0xfc29x5[_0xa1fe[256]]&&_0xfc29x5[_0xa1fe[256]][_0xa1fe[1500]];){_0xfc29x5=this[_0xa1fe[1197]](_0xfc29x5)};if(this[_0xa1fe[1720]](_0xfc29x3,_0xfc29x4)&&this[_0xa1fe[1720]](_0xfc29x3,_0xfc29x5)&&(_0xfc29x9=_0xfc29x4==_0xfc29x5?this[_0xa1fe[1197]](_0xfc29x4):this[_0xa1fe[1948]](_0xfc29x4,_0xfc29x5),null!=_0xfc29x9&&(this[_0xa1fe[1197]](_0xfc29x9)!=this[_0xa1fe[813]]||this[_0xa1fe[1720]](_0xfc29x9,_0xfc29x2))&&this[_0xa1fe[1197]](_0xfc29x2)!=_0xfc29x9)){_0xfc29x4=this[_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x4){var _0xfc29xa=this[_0xa1fe[1949]](this[_0xa1fe[1197]](_0xfc29x2)),_0xfc29x12=this[_0xa1fe[1949]](_0xfc29x9),_0xfc29x5=_0xfc29x12[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]],_0xfc29xa=_0xfc29x12[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]],_0xfc29x4=_0xfc29x4[_0xa1fe[238]]();_0xfc29x4[_0xa1fe[513]](-_0xfc29x5,-_0xfc29xa);this[_0xa1fe[1724]](_0xfc29x2,_0xfc29x4)};this[_0xa1fe[99]](_0xfc29x9,_0xfc29x2,this[_0xa1fe[262]](_0xfc29x9))}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1949]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2?(_0xfc29x3=this[_0xa1fe[1949]](this[_0xa1fe[1197]](_0xfc29x2)),this[_0xa1fe[250]](_0xfc29x2)||(_0xfc29x2=this[_0xa1fe[1721]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x3[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[236]]))):_0xfc29x3= new mxPoint;return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1948]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x3){var _0xfc29x4=mxCellPath[_0xa1fe[385]](_0xfc29x3);if(null!=_0xfc29x4&&0<_0xfc29x4[_0xa1fe[67]]){var _0xfc29x5=_0xfc29x2,_0xfc29x9=mxCellPath[_0xa1fe[385]](_0xfc29x5);if(_0xfc29x4[_0xa1fe[67]]<_0xfc29x9[_0xa1fe[67]]){var _0xfc29x5=_0xfc29x3,_0xfc29xa=_0xfc29x9,_0xfc29x9=_0xfc29x4,_0xfc29x4=_0xfc29xa};for(;null!=_0xfc29x5;){_0xfc29xa=this[_0xa1fe[1197]](_0xfc29x5);if(0==_0xfc29x4[_0xa1fe[2]](_0xfc29x9+mxCellPath[_0xa1fe[1950]])&&null!=_0xfc29xa){return _0xfc29x5};_0xfc29x9=mxCellPath[_0xa1fe[1951]](_0xfc29x9);_0xfc29x5=_0xfc29xa}}};return null};mxGraphModel[_0xa1fe[202]][_0xa1fe[205]]=function(_0xfc29x2){_0xfc29x2==this[_0xa1fe[813]]?this[_0xa1fe[1927]](null):null!=this[_0xa1fe[1197]](_0xfc29x2)&&this[_0xa1fe[350]]( new mxChildChange(this,null,_0xfc29x2));return _0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[1102]]=function(_0xfc29x2){if(null!=_0xfc29x2&&null!=this[_0xa1fe[895]]){for(var _0xfc29x3=this[_0xa1fe[262]](_0xfc29x2)-1;0<=_0xfc29x3;_0xfc29x3--){this[_0xa1fe[1102]](this[_0xa1fe[263]](_0xfc29x2,_0xfc29x3))};null!=this[_0xa1fe[895]]&&null!=_0xfc29x2[_0xa1fe[1103]]()&& delete this[_0xa1fe[895]][_0xfc29x2[_0xa1fe[1103]]()]}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1952]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1197]](_0xfc29x2);null!=_0xfc29x3?(_0xfc29x3!=_0xfc29x5||_0xfc29x5[_0xa1fe[1738]](_0xfc29x2)!=_0xfc29x4)&&_0xfc29x3[_0xa1fe[1937]](_0xfc29x2,_0xfc29x4):null!=_0xfc29x5&&(_0xfc29x4=_0xfc29x5[_0xa1fe[1738]](_0xfc29x2),_0xfc29x5[_0xa1fe[205]](_0xfc29x4));!this[_0xa1fe[442]](_0xfc29x5)&&null!=_0xfc29x3?this[_0xa1fe[1941]](_0xfc29x2):null==_0xfc29x3&&this[_0xa1fe[1102]](_0xfc29x2);return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[262]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[262]]():0};mxGraphModel[_0xa1fe[202]][_0xa1fe[263]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[263]](_0xfc29x3):null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1953]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1954]]:null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1728]]=function(_0xfc29x2){return this[_0xa1fe[1955]](_0xfc29x2,!0,!1)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1956]]=function(_0xfc29x2){return this[_0xa1fe[1955]](_0xfc29x2,!1,!0)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1955]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;for(var _0xfc29x5=this[_0xa1fe[262]](_0xfc29x2),_0xfc29x9=[],_0xfc29xa=0;_0xfc29xa<_0xfc29x5;_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[263]](_0xfc29x2,_0xfc29xa);(!_0xfc29x4&&!_0xfc29x3||_0xfc29x4&&this[_0xa1fe[250]](_0xfc29x12)||_0xfc29x3&&this[_0xa1fe[1193]](_0xfc29x12))&&_0xfc29x9[_0xa1fe[207]](_0xfc29x12)};return _0xfc29x9};mxGraphModel[_0xa1fe[202]][_0xa1fe[1709]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1709]](_0xfc29x3):null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1957]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x3!=this[_0xa1fe[1709]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[350]]( new mxTerminalChange(this,_0xfc29x2,_0xfc29x3,_0xfc29x4));this[_0xa1fe[1928]]&&_0xfc29x5&&this[_0xa1fe[1947]](_0xfc29x2,this[_0xa1fe[501]]());return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1958]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[473]]();try{this[_0xa1fe[1957]](_0xfc29x2,_0xfc29x3,!0),this[_0xa1fe[1957]](_0xfc29x2,_0xfc29x4,!1)}finally{this[_0xa1fe[476]]()}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1959]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1709]](_0xfc29x2,_0xfc29x4);null!=_0xfc29x3?_0xfc29x3[_0xa1fe[1960]](_0xfc29x2,_0xfc29x4):null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[1961]](_0xfc29x2,_0xfc29x4);return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[1707]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1707]]():0};mxGraphModel[_0xa1fe[202]][_0xa1fe[1708]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1708]](_0xfc29x3):null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1962]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){for(var _0xfc29x5=0,_0xfc29x9=this[_0xa1fe[1707]](_0xfc29x2),_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[1708]](_0xfc29x2,_0xfc29xa);_0xfc29x12!=_0xfc29x4&&this[_0xa1fe[1709]](_0xfc29x12,_0xfc29x3)==_0xfc29x2&&_0xfc29x5++};return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[1756]]=function(_0xfc29x2){return this[_0xa1fe[264]](_0xfc29x2,!0,!0,!1)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1867]]=function(_0xfc29x2){return this[_0xa1fe[264]](_0xfc29x2,!0,!1,!1)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1963]]=function(_0xfc29x2){return this[_0xa1fe[264]](_0xfc29x2,!1,!0,!1)};mxGraphModel[_0xa1fe[202]][_0xa1fe[264]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;for(var _0xfc29x9=this[_0xa1fe[1707]](_0xfc29x2),_0xfc29xa=[],_0xfc29x12=0;_0xfc29x12<_0xfc29x9;_0xfc29x12++){var _0xfc29x13=this[_0xa1fe[1708]](_0xfc29x2,_0xfc29x12),_0xfc29x14=this[_0xa1fe[1709]](_0xfc29x13,!0),_0xfc29x15=this[_0xa1fe[1709]](_0xfc29x13,!1);(_0xfc29x5&&_0xfc29x14==_0xfc29x15||_0xfc29x14!=_0xfc29x15&&(_0xfc29x3&&_0xfc29x15==_0xfc29x2||_0xfc29x4&&_0xfc29x14==_0xfc29x2))&&_0xfc29xa[_0xa1fe[207]](_0xfc29x13)};return _0xfc29xa};mxGraphModel[_0xa1fe[202]][_0xa1fe[1781]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;var _0xfc29x5=this[_0xa1fe[1707]](_0xfc29x2),_0xfc29x9=this[_0xa1fe[1707]](_0xfc29x3),_0xfc29xa=_0xfc29x2,_0xfc29x12=_0xfc29x5;_0xfc29x9<_0xfc29x5&&(_0xfc29x12=_0xfc29x9,_0xfc29xa=_0xfc29x3);_0xfc29x5=[];for(_0xfc29x9=0;_0xfc29x9<_0xfc29x12;_0xfc29x9++){var _0xfc29x13=this[_0xa1fe[1708]](_0xfc29xa,_0xfc29x9),_0xfc29x14=this[_0xa1fe[1709]](_0xfc29x13,!0),_0xfc29x15=this[_0xa1fe[1709]](_0xfc29x13,!1),_0xfc29x16=_0xfc29x15==_0xfc29x2&&_0xfc29x14==_0xfc29x3;(_0xfc29x14==_0xfc29x2&&_0xfc29x15==_0xfc29x3||!_0xfc29x4&&_0xfc29x16)&&_0xfc29x5[_0xa1fe[207]](_0xfc29x13)};return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[1808]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;var _0xfc29x9=[];if(null!=_0xfc29x2){for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[1709]](_0xfc29x2[_0xfc29xa],!0),_0xfc29x13=this[_0xa1fe[1709]](_0xfc29x2[_0xfc29xa],!1);_0xfc29x12==_0xfc29x3&&null!=_0xfc29x13&&_0xfc29x13!=_0xfc29x3&&_0xfc29x5?_0xfc29x9[_0xa1fe[207]](_0xfc29x13):_0xfc29x13==_0xfc29x3&&(null!=_0xfc29x12&&_0xfc29x12!=_0xfc29x3&&_0xfc29x4)&&_0xfc29x9[_0xa1fe[207]](_0xfc29x12)}};return _0xfc29x9};mxGraphModel[_0xa1fe[202]][_0xa1fe[1964]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){for(var _0xfc29x5=_0xfc29x2[_0xfc29x4],_0xfc29x9=!0,_0xfc29xa=this[_0xa1fe[1197]](_0xfc29x5);null!=_0xfc29xa;){if(0<=mxUtils[_0xa1fe[2]](_0xfc29x2,_0xfc29xa)){_0xfc29x9= !1;break};_0xfc29xa=this[_0xa1fe[1197]](_0xfc29xa)};_0xfc29x9&&_0xfc29x3[_0xa1fe[207]](_0xfc29x5)};return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1193]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1193]]():!1};mxGraphModel[_0xa1fe[202]][_0xa1fe[250]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[250]]():!1};mxGraphModel[_0xa1fe[202]][_0xa1fe[1965]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1965]]():!1};mxGraphModel[_0xa1fe[202]][_0xa1fe[433]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[433]]():null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1966]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[350]]( new mxValueChange(this,_0xfc29x2,_0xfc29x3));return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1967]]=function(_0xfc29x2,_0xfc29x3){return _0xfc29x2[_0xa1fe[1968]](_0xfc29x3)};mxGraphModel[_0xa1fe[202]][_0xa1fe[1721]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1721]]():null};mxGraphModel[_0xa1fe[202]][_0xa1fe[1724]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3!=this[_0xa1fe[1721]](_0xfc29x2)&&this[_0xa1fe[350]]( new mxGeometryChange(this,_0xfc29x2,_0xfc29x3));return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1969]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1721]](_0xfc29x2);_0xfc29x2[_0xa1fe[1724]](_0xfc29x3);return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[474]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[474]]():null};mxGraphModel[_0xa1fe[202]][_0xa1fe[475]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3!=this[_0xa1fe[474]](_0xfc29x2)&&this[_0xa1fe[350]]( new mxStyleChange(this,_0xfc29x2,_0xfc29x3));return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1970]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[474]](_0xfc29x2);_0xfc29x2[_0xa1fe[475]](_0xfc29x3);return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[1971]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1971]]():!1};mxGraphModel[_0xa1fe[202]][_0xa1fe[1972]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3!=this[_0xa1fe[1971]](_0xfc29x2)&&this[_0xa1fe[350]]( new mxCollapseChange(this,_0xfc29x2,_0xfc29x3));return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1973]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1971]](_0xfc29x2);_0xfc29x2[_0xa1fe[1972]](_0xfc29x3);return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[174]]=function(_0xfc29x2){return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[174]]():!1};mxGraphModel[_0xa1fe[202]][_0xa1fe[175]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3!=this[_0xa1fe[174]](_0xfc29x2)&&this[_0xa1fe[350]]( new mxVisibleChange(this,_0xfc29x2,_0xfc29x3));return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1974]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[174]](_0xfc29x2);_0xfc29x2[_0xa1fe[175]](_0xfc29x3);return _0xfc29x4};mxGraphModel[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[350]]();this[_0xa1fe[473]]();this[_0xa1fe[1926]][_0xa1fe[99]](_0xfc29x2);this[_0xa1fe[746]]( new mxEventObject(mxEvent.EXECUTE,_0xa1fe[826],_0xfc29x2));this[_0xa1fe[746]]( new mxEventObject(mxEvent.EXECUTED,_0xa1fe[826],_0xfc29x2));this[_0xa1fe[476]]()};mxGraphModel[_0xa1fe[202]][_0xa1fe[473]]=function(){this[_0xa1fe[1932]]++;this[_0xa1fe[746]]( new mxEventObject(mxEvent.BEGIN_UPDATE));1==this[_0xa1fe[1932]]&&this[_0xa1fe[746]]( new mxEventObject(mxEvent.START_EDIT))};mxGraphModel[_0xa1fe[202]][_0xa1fe[476]]=function(){this[_0xa1fe[1932]]--;0==this[_0xa1fe[1932]]&&this[_0xa1fe[746]]( new mxEventObject(mxEvent.END_EDIT));if(!this[_0xa1fe[1933]]){this[_0xa1fe[1933]]=0==this[_0xa1fe[1932]];this[_0xa1fe[746]]( new mxEventObject(mxEvent.END_UPDATE,_0xa1fe[1061],this[_0xa1fe[1926]]));try{if(this[_0xa1fe[1933]]&&!this[_0xa1fe[1926]][_0xa1fe[1107]]()){this[_0xa1fe[746]]( new mxEventObject(mxEvent.BEFORE_UNDO,_0xa1fe[1061],this[_0xa1fe[1926]]));var _0xfc29x2=this[_0xa1fe[1926]];this[_0xa1fe[1926]]=this[_0xa1fe[1096]]();_0xfc29x2[_0xa1fe[827]]();this[_0xa1fe[746]]( new mxEventObject(mxEvent.UNDO,_0xa1fe[1061],_0xfc29x2))}}finally{this[_0xa1fe[1933]]= !1}}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1096]]=function(){var _0xfc29x2= new mxUndoableEdit(this,!0);_0xfc29x2[_0xa1fe[827]]=function(){_0xfc29x2[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.CHANGE,_0xa1fe[1061],_0xfc29x2,_0xa1fe[1065],_0xfc29x2[_0xa1fe[1065]]));_0xfc29x2[_0xa1fe[1097]][_0xa1fe[746]]( new mxEventObject(mxEvent.NOTIFY,_0xa1fe[1061],_0xfc29x2,_0xa1fe[1065],_0xfc29x2[_0xa1fe[1065]]))};return _0xfc29x2};mxGraphModel[_0xa1fe[202]][_0xa1fe[1975]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;this[_0xa1fe[473]]();try{var _0xfc29x5={};this[_0xa1fe[1976]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);for(var _0xfc29x9 in _0xfc29x5){var _0xfc29xa=_0xfc29x5[_0xfc29x9],_0xfc29x12=this[_0xa1fe[1709]](_0xfc29xa,!0);null!=_0xfc29x12&&(_0xfc29x12=_0xfc29x5[mxCellPath[_0xa1fe[385]](_0xfc29x12)],this[_0xa1fe[1957]](_0xfc29xa,_0xfc29x12,!0));_0xfc29x12=this[_0xa1fe[1709]](_0xfc29xa,!1);null!=_0xfc29x12&&(_0xfc29x12=_0xfc29x5[mxCellPath[_0xa1fe[385]](_0xfc29x12)],this[_0xa1fe[1957]](_0xfc29xa,_0xfc29x12,!1))}}finally{this[_0xa1fe[476]]()}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1976]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[473]]();try{for(var _0xfc29x9=_0xfc29x2[_0xa1fe[262]](),_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){var _0xfc29x12=_0xfc29x2[_0xa1fe[263]](_0xfc29xa);if(_0xa1fe[279]== typeof _0xfc29x12[_0xa1fe[1103]]){var _0xfc29x13=_0xfc29x12[_0xa1fe[1103]](),_0xfc29x14=null!=_0xfc29x13&&(!this[_0xa1fe[250]](_0xfc29x12)|| !_0xfc29x4)?this[_0xa1fe[736]](_0xfc29x13):null;if(null==_0xfc29x14){var _0xfc29x15=_0xfc29x12[_0xa1fe[238]]();_0xfc29x15[_0xa1fe[1945]](_0xfc29x13);_0xfc29x15[_0xa1fe[1957]](_0xfc29x12[_0xa1fe[1709]](!0),!0);_0xfc29x15[_0xa1fe[1957]](_0xfc29x12[_0xa1fe[1709]](!1),!1);_0xfc29x14=_0xfc29x3[_0xa1fe[1937]](_0xfc29x15);this[_0xa1fe[1941]](_0xfc29x14)};_0xfc29x5[mxCellPath[_0xa1fe[385]](_0xfc29x12)]=_0xfc29x14;this[_0xa1fe[1976]](_0xfc29x12,_0xfc29x14,_0xfc29x4,_0xfc29x5)}}}finally{this[_0xa1fe[476]]()}};mxGraphModel[_0xa1fe[202]][_0xa1fe[1977]]=function(_0xfc29x2){var _0xfc29x3=[];if(null!=_0xfc29x2){for(var _0xfc29x4={},_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[1197]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29x9){var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x9);null==_0xfc29x4[_0xfc29xa]&&(_0xfc29x4[_0xfc29xa]=_0xfc29x9,_0xfc29x3[_0xa1fe[207]](_0xfc29x9))}}};return _0xfc29x3};mxGraphModel[_0xa1fe[202]][_0xa1fe[1978]]=function(_0xfc29x2){return null!=_0xfc29x2?this[_0xa1fe[899]]([_0xfc29x2],!0)[0]:null};mxGraphModel[_0xa1fe[202]][_0xa1fe[899]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4={},_0xfc29x5=[],_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){null!=_0xfc29x2[_0xfc29x9]?_0xfc29x5[_0xa1fe[207]](this[_0xa1fe[1979]](_0xfc29x2[_0xfc29x9],_0xfc29x4,_0xfc29x3)):_0xfc29x5[_0xa1fe[207]](null)};for(_0xfc29x9=0;_0xfc29x9<_0xfc29x5[_0xa1fe[67]];_0xfc29x9++){null!=_0xfc29x5[_0xfc29x9]&&this[_0xa1fe[1980]](_0xfc29x5[_0xfc29x9],_0xfc29x2[_0xfc29x9],_0xfc29x4)};return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[1979]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1981]](_0xfc29x2);_0xfc29x3[mxObjectIdentity[_0xa1fe[203]](_0xfc29x2)]=_0xfc29x5;if(_0xfc29x4){_0xfc29x4=this[_0xa1fe[262]](_0xfc29x2);for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x4;_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[1979]](this[_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x3,!0);_0xfc29x5[_0xa1fe[1937]](_0xfc29xa)}};return _0xfc29x5};mxGraphModel[_0xa1fe[202]][_0xa1fe[1981]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[238]]()};mxGraphModel[_0xa1fe[202]][_0xa1fe[1980]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1709]](_0xfc29x3,!0);null!=_0xfc29x5&&(_0xfc29x5=_0xfc29x4[mxObjectIdentity[_0xa1fe[203]](_0xfc29x5)],null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[1960]](_0xfc29x2,!0));_0xfc29x5=this[_0xa1fe[1709]](_0xfc29x3,!1);null!=_0xfc29x5&&(_0xfc29x5=_0xfc29x4[mxObjectIdentity[_0xa1fe[203]](_0xfc29x5)],null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[1960]](_0xfc29x2,!1));for(var _0xfc29x5=this[_0xa1fe[262]](_0xfc29x2),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){this[_0xa1fe[1980]](this[_0xa1fe[263]](_0xfc29x2,_0xfc29x9),this[_0xa1fe[263]](_0xfc29x3,_0xfc29x9),_0xfc29x4)}};function mxRootChange(_0xfc29x2,_0xfc29x3){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[257]]=this[_0xa1fe[813]]=_0xfc29x3}mxRootChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[813]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1940]](this[_0xa1fe[257]])};function mxChildChange(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[257]]=this[_0xa1fe[1101]]=_0xfc29x3;this[_0xa1fe[247]]=_0xfc29x4;this[_0xa1fe[1982]]=this[_0xa1fe[1983]]=_0xfc29x5}mxChildChange[_0xa1fe[202]][_0xa1fe[350]]=function(){var _0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1197]](this[_0xa1fe[247]]),_0xfc29x3=null!=_0xfc29x2?_0xfc29x2[_0xa1fe[1738]](this[_0xa1fe[247]]):0;null==this[_0xa1fe[257]]&&this[_0xa1fe[807]](this[_0xa1fe[247]],!1);_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1952]](this[_0xa1fe[247]],this[_0xa1fe[257]],this[_0xa1fe[1982]]);null!=this[_0xa1fe[257]]&&this[_0xa1fe[807]](this[_0xa1fe[247]],!0);this[_0xa1fe[1101]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=_0xfc29x2;this[_0xa1fe[1983]]=this[_0xa1fe[1982]];this[_0xa1fe[1982]]=_0xfc29x3};mxChildChange[_0xa1fe[202]][_0xa1fe[807]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;var _0xfc29x4=_0xfc29x2[_0xa1fe[1709]](!0),_0xfc29x5=_0xfc29x2[_0xa1fe[1709]](!1);null!=_0xfc29x4&&(_0xfc29x3?this[_0xa1fe[251]][_0xa1fe[1959]](_0xfc29x2,_0xfc29x4,!0):this[_0xa1fe[251]][_0xa1fe[1959]](_0xfc29x2,null,!0));null!=_0xfc29x5&&(_0xfc29x3?this[_0xa1fe[251]][_0xa1fe[1959]](_0xfc29x2,_0xfc29x5,!1):this[_0xa1fe[251]][_0xa1fe[1959]](_0xfc29x2,null,!1));_0xfc29x2[_0xa1fe[1957]](_0xfc29x4,!0);_0xfc29x2[_0xa1fe[1957]](_0xfc29x5,!1);_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2);for(_0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){this[_0xa1fe[807]](this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x5),_0xfc29x3)}};function mxTerminalChange(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[1984]]=_0xfc29x4;this[_0xa1fe[1097]]=_0xfc29x5}mxTerminalChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[1984]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1959]](this[_0xa1fe[246]],this[_0xa1fe[257]],this[_0xa1fe[1097]])};function mxValueChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[131]]=_0xfc29x4}mxValueChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[131]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1967]](this[_0xa1fe[246]],this[_0xa1fe[257]])};function mxStyleChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[124]]=_0xfc29x4}mxStyleChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[124]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1970]](this[_0xa1fe[246]],this[_0xa1fe[257]])};function mxGeometryChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[256]]=_0xfc29x4}mxGeometryChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[256]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1969]](this[_0xa1fe[246]],this[_0xa1fe[257]])};function mxCollapseChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[1985]]=_0xfc29x4}mxCollapseChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[1985]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1973]](this[_0xa1fe[246]],this[_0xa1fe[257]])};function mxVisibleChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[189]]=_0xfc29x4}mxVisibleChange[_0xa1fe[202]][_0xa1fe[350]]=function(){this[_0xa1fe[189]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=this[_0xa1fe[251]][_0xa1fe[1974]](this[_0xa1fe[246]],this[_0xa1fe[257]])};function mxCellAttributeChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[246]]=_0xfc29x2;this[_0xa1fe[1986]]=_0xfc29x3;this[_0xa1fe[257]]=this[_0xa1fe[131]]=_0xfc29x4}mxCellAttributeChange[_0xa1fe[202]][_0xa1fe[350]]=function(){var _0xfc29x2=this[_0xa1fe[246]][_0xa1fe[284]](this[_0xa1fe[1986]]);null==this[_0xa1fe[257]]?this[_0xa1fe[246]][_0xa1fe[131]][_0xa1fe[1390]](this[_0xa1fe[1986]]):this[_0xa1fe[246]][_0xa1fe[57]](this[_0xa1fe[1986]],this[_0xa1fe[257]]);this[_0xa1fe[257]]=_0xfc29x2};function mxCell(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[131]]=_0xfc29x2;this[_0xa1fe[1724]](_0xfc29x3);this[_0xa1fe[475]](_0xfc29x4);if(null!=this[_0xa1fe[1987]]){this[_0xa1fe[1987]]()}}mxCell[_0xa1fe[202]][_0xa1fe[1363]]=null;mxCell[_0xa1fe[202]][_0xa1fe[131]]=null;mxCell[_0xa1fe[202]][_0xa1fe[256]]=null;mxCell[_0xa1fe[202]][_0xa1fe[124]]=null;mxCell[_0xa1fe[202]][_0xa1fe[1988]]= !1;mxCell[_0xa1fe[202]][_0xa1fe[1989]]= !1;mxCell[_0xa1fe[202]][_0xa1fe[1990]]= !0;mxCell[_0xa1fe[202]][_0xa1fe[189]]= !0;mxCell[_0xa1fe[202]][_0xa1fe[1985]]= !1;mxCell[_0xa1fe[202]][_0xa1fe[1101]]=null;mxCell[_0xa1fe[202]][_0xa1fe[1097]]=null;mxCell[_0xa1fe[202]][_0xa1fe[772]]=null;mxCell[_0xa1fe[202]][_0xa1fe[1954]]=null;mxCell[_0xa1fe[202]][_0xa1fe[1842]]=null;mxCell[_0xa1fe[202]][_0xa1fe[1991]]=_0xa1fe[1992][_0xa1fe[224]](_0xa1fe[185]);mxCell[_0xa1fe[202]][_0xa1fe[1103]]=function(){return this[_0xa1fe[1363]]};mxCell[_0xa1fe[202]][_0xa1fe[1945]]=function(_0xfc29x2){this[_0xa1fe[1363]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[433]]=function(){return this[_0xa1fe[131]]};mxCell[_0xa1fe[202]][_0xa1fe[1966]]=function(_0xfc29x2){this[_0xa1fe[131]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1968]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[433]]();this[_0xa1fe[1966]](_0xfc29x2);return _0xfc29x3};mxCell[_0xa1fe[202]][_0xa1fe[1721]]=function(){return this[_0xa1fe[256]]};mxCell[_0xa1fe[202]][_0xa1fe[1724]]=function(_0xfc29x2){this[_0xa1fe[256]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[474]]=function(){return this[_0xa1fe[124]]};mxCell[_0xa1fe[202]][_0xa1fe[475]]=function(_0xfc29x2){this[_0xa1fe[124]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1193]]=function(){return this[_0xa1fe[1988]]};mxCell[_0xa1fe[202]][_0xa1fe[1993]]=function(_0xfc29x2){this[_0xa1fe[1988]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[250]]=function(){return this[_0xa1fe[1989]]};mxCell[_0xa1fe[202]][_0xa1fe[1994]]=function(_0xfc29x2){this[_0xa1fe[1989]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1965]]=function(){return this[_0xa1fe[1990]]};mxCell[_0xa1fe[202]][_0xa1fe[1995]]=function(_0xfc29x2){this[_0xa1fe[1990]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[174]]=function(){return this[_0xa1fe[189]]};mxCell[_0xa1fe[202]][_0xa1fe[175]]=function(_0xfc29x2){this[_0xa1fe[189]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1971]]=function(){return this[_0xa1fe[1985]]};mxCell[_0xa1fe[202]][_0xa1fe[1972]]=function(_0xfc29x2){this[_0xa1fe[1985]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1197]]=function(){return this[_0xa1fe[1101]]};mxCell[_0xa1fe[202]][_0xa1fe[1996]]=function(_0xfc29x2){this[_0xa1fe[1101]]=_0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1709]]=function(_0xfc29x2){return _0xfc29x2?this[_0xa1fe[1097]]:this[_0xa1fe[772]]};mxCell[_0xa1fe[202]][_0xa1fe[1957]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3?this[_0xa1fe[1097]]=_0xfc29x2:this[_0xa1fe[772]]=_0xfc29x2;return _0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[262]]=function(){return null==this[_0xa1fe[1954]]?0:this[_0xa1fe[1954]][_0xa1fe[67]]};mxCell[_0xa1fe[202]][_0xa1fe[1738]]=function(_0xfc29x2){return mxUtils[_0xa1fe[2]](this[_0xa1fe[1954]],_0xfc29x2)};mxCell[_0xa1fe[202]][_0xa1fe[263]]=function(_0xfc29x2){return null==this[_0xa1fe[1954]]?null:this[_0xa1fe[1954]][_0xfc29x2]};mxCell[_0xa1fe[202]][_0xa1fe[1937]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&(null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[262]](),_0xfc29x2[_0xa1fe[1197]]()==this&&_0xfc29x3--),_0xfc29x2[_0xa1fe[1997]](),_0xfc29x2[_0xa1fe[1996]](this),null==this[_0xa1fe[1954]]?(this[_0xa1fe[1954]]=[],this[_0xa1fe[1954]][_0xa1fe[207]](_0xfc29x2)):this[_0xa1fe[1954]][_0xa1fe[300]](_0xfc29x3,0,_0xfc29x2));return _0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[205]]=function(_0xfc29x2){var _0xfc29x3=null;null!=this[_0xa1fe[1954]]&&0<=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[263]](_0xfc29x2),null!=_0xfc29x3&&(this[_0xa1fe[1954]][_0xa1fe[300]](_0xfc29x2,1),_0xfc29x3[_0xa1fe[1996]](null)));return _0xfc29x3};mxCell[_0xa1fe[202]][_0xa1fe[1997]]=function(){if(null!=this[_0xa1fe[1101]]){var _0xfc29x2=this[_0xa1fe[1101]][_0xa1fe[1738]](this);this[_0xa1fe[1101]][_0xa1fe[205]](_0xfc29x2)}};mxCell[_0xa1fe[202]][_0xa1fe[1707]]=function(){return null==this[_0xa1fe[1842]]?0:this[_0xa1fe[1842]][_0xa1fe[67]]};mxCell[_0xa1fe[202]][_0xa1fe[1998]]=function(_0xfc29x2){return mxUtils[_0xa1fe[2]](this[_0xa1fe[1842]],_0xfc29x2)};mxCell[_0xa1fe[202]][_0xa1fe[1708]]=function(_0xfc29x2){return null==this[_0xa1fe[1842]]?null:this[_0xa1fe[1842]][_0xfc29x2]};mxCell[_0xa1fe[202]][_0xa1fe[1960]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[1999]](_0xfc29x3),_0xfc29x2[_0xa1fe[1957]](this,_0xfc29x3),null==this[_0xa1fe[1842]]||_0xfc29x2[_0xa1fe[1709]](!_0xfc29x3)!=this||0>mxUtils[_0xa1fe[2]](this[_0xa1fe[1842]],_0xfc29x2))){null==this[_0xa1fe[1842]]&&(this[_0xa1fe[1842]]=[]),this[_0xa1fe[1842]][_0xa1fe[207]](_0xfc29x2)};return _0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1961]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2){if(_0xfc29x2[_0xa1fe[1709]](!_0xfc29x3)!=this&&null!=this[_0xa1fe[1842]]){var _0xfc29x4=this[_0xa1fe[1998]](_0xfc29x2);0<=_0xfc29x4&&this[_0xa1fe[1842]][_0xa1fe[300]](_0xfc29x4,1)};_0xfc29x2[_0xa1fe[1957]](null,_0xfc29x3)};return _0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[1999]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1709]](_0xfc29x2);null!=_0xfc29x3&&_0xfc29x3[_0xa1fe[1961]](this,_0xfc29x2)};mxCell[_0xa1fe[202]][_0xa1fe[284]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[433]]();return (null!=_0xfc29x4&&_0xfc29x4[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]?_0xfc29x4[_0xa1fe[284]](_0xfc29x2):null)||_0xfc29x3};mxCell[_0xa1fe[202]][_0xa1fe[57]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[433]]();null!=_0xfc29x4&&_0xfc29x4[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&_0xfc29x4[_0xa1fe[57]](_0xfc29x2,_0xfc29x3)};mxCell[_0xa1fe[202]][_0xa1fe[238]]=function(){var _0xfc29x2=mxUtils[_0xa1fe[238]](this,this[_0xa1fe[1991]]);_0xfc29x2[_0xa1fe[1966]](this[_0xa1fe[2000]]());return _0xfc29x2};mxCell[_0xa1fe[202]][_0xa1fe[2000]]=function(){var _0xfc29x2=this[_0xa1fe[433]]();null!=_0xfc29x2&&(_0xa1fe[279]== typeof _0xfc29x2[_0xa1fe[238]]?_0xfc29x2=_0xfc29x2[_0xa1fe[238]]():isNaN(_0xfc29x2[_0xa1fe[288]])||(_0xfc29x2=_0xfc29x2[_0xa1fe[511]](!0)));return _0xfc29x2};function mxGeometry(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxRectangle[_0xa1fe[239]](this,_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)}mxGeometry[_0xa1fe[202]]= new mxRectangle;mxGeometry[_0xa1fe[202]][_0xa1fe[196]]=mxGeometry;mxGeometry[_0xa1fe[202]][_0xa1fe[2001]]= !0;mxGeometry[_0xa1fe[202]][_0xa1fe[2002]]=null;mxGeometry[_0xa1fe[202]][_0xa1fe[2003]]=null;mxGeometry[_0xa1fe[202]][_0xa1fe[2004]]=null;mxGeometry[_0xa1fe[202]][_0xa1fe[1525]]=null;mxGeometry[_0xa1fe[202]][_0xa1fe[1368]]=null;mxGeometry[_0xa1fe[202]][_0xa1fe[1500]]= !1;mxGeometry[_0xa1fe[202]][_0xa1fe[2005]]=function(){if(null!=this[_0xa1fe[2002]]){var _0xfc29x2= new mxRectangle(this[_0xa1fe[235]],this[_0xa1fe[236]],this[_0xa1fe[117]],this[_0xa1fe[119]]);this[_0xa1fe[235]]=this[_0xa1fe[2002]][_0xa1fe[235]];this[_0xa1fe[236]]=this[_0xa1fe[2002]][_0xa1fe[236]];this[_0xa1fe[117]]=this[_0xa1fe[2002]][_0xa1fe[117]];this[_0xa1fe[119]]=this[_0xa1fe[2002]][_0xa1fe[119]];this[_0xa1fe[2002]]=_0xfc29x2}};mxGeometry[_0xa1fe[202]][_0xa1fe[2006]]=function(_0xfc29x2){return _0xfc29x2?this[_0xa1fe[2003]]:this[_0xa1fe[2004]]};mxGeometry[_0xa1fe[202]][_0xa1fe[2007]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3?this[_0xa1fe[2003]]=_0xfc29x2:this[_0xa1fe[2004]]=_0xfc29x2;return _0xfc29x2};mxGeometry[_0xa1fe[202]][_0xa1fe[513]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[238]]();this[_0xa1fe[1500]]||(this[_0xa1fe[235]]+=_0xfc29x2,this[_0xa1fe[236]]+=_0xfc29x3);null!=this[_0xa1fe[2003]]&&(this[_0xa1fe[2003]][_0xa1fe[235]]+=_0xfc29x2,this[_0xa1fe[2003]][_0xa1fe[236]]+=_0xfc29x3);null!=this[_0xa1fe[2004]]&&(this[_0xa1fe[2004]][_0xa1fe[235]]+=_0xfc29x2,this[_0xa1fe[2004]][_0xa1fe[236]]+=_0xfc29x3);if(this[_0xa1fe[2001]]&&null!=this[_0xa1fe[1525]]){for(var _0xfc29x4=this[_0xa1fe[1525]][_0xa1fe[67]],_0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[1525]][_0xfc29x5];null!=_0xfc29x9&&(_0xfc29x9[_0xa1fe[235]]+=_0xfc29x2,_0xfc29x9[_0xa1fe[236]]+=_0xfc29x3)}}};var mxCellPath={PATH_SEPARATOR:_0xa1fe[87],create:function(_0xfc29x2){var _0xfc29x3=_0xa1fe[110];if(null!=_0xfc29x2){for(var _0xfc29x4=_0xfc29x2[_0xa1fe[1197]]();null!=_0xfc29x4;){_0xfc29x3=_0xfc29x4[_0xa1fe[1738]](_0xfc29x2)+mxCellPath[_0xa1fe[1950]]+_0xfc29x3,_0xfc29x2=_0xfc29x4,_0xfc29x4=_0xfc29x2[_0xa1fe[1197]]()}};_0xfc29x2=_0xfc29x3[_0xa1fe[67]];1<_0xfc29x2&&(_0xfc29x3=_0xfc29x3[_0xa1fe[85]](0,_0xfc29x2-1));return _0xfc29x3},getParentPath:function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[1122]](mxCellPath.PATH_SEPARATOR);if(0<=_0xfc29x3){return _0xfc29x2[_0xa1fe[85]](0,_0xfc29x3)};if(0<_0xfc29x2[_0xa1fe[67]]){return _0xa1fe[110]}};return null},resolve:function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2;if(null!=_0xfc29x3){for(var _0xfc29x5=_0xfc29x3[_0xa1fe[224]](mxCellPath.PATH_SEPARATOR),_0xfc29x9=0;_0xfc29x9<_0xfc29x5[_0xa1fe[67]];_0xfc29x9++){_0xfc29x4=_0xfc29x4[_0xa1fe[263]](parseInt(_0xfc29x5[_0xfc29x9]))}};return _0xfc29x4},compare:function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=Math[_0xa1fe[243]](_0xfc29x2[_0xa1fe[67]],_0xfc29x3[_0xa1fe[67]]),_0xfc29x5=0,_0xfc29x9=0;_0xfc29x9<_0xfc29x4;_0xfc29x9++){if(_0xfc29x2[_0xfc29x9]!=_0xfc29x3[_0xfc29x9]){0==_0xfc29x2[_0xfc29x9][_0xa1fe[67]]||0==_0xfc29x3[_0xfc29x9][_0xa1fe[67]]?_0xfc29x5=_0xfc29x2[_0xfc29x9]==_0xfc29x3[_0xfc29x9]?0:_0xfc29x2[_0xfc29x9]>_0xfc29x3[_0xfc29x9]?1:-1:(_0xfc29x4=parseInt(_0xfc29x2[_0xfc29x9]),_0xfc29x9=parseInt(_0xfc29x3[_0xfc29x9]),_0xfc29x5=_0xfc29x4==_0xfc29x9?0:_0xfc29x4>_0xfc29x9?1:-1);break}};0==_0xfc29x5&&(_0xfc29x4=_0xfc29x2[_0xa1fe[67]],_0xfc29x9=_0xfc29x3[_0xa1fe[67]],_0xfc29x4!=_0xfc29x9&&(_0xfc29x5=_0xfc29x4>_0xfc29x9?1:-1));return _0xfc29x5}},mxPerimeter={RectanglePerimeter:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=_0xfc29x2[_0xa1fe[241]]();var _0xfc29x9=_0xfc29x2[_0xa1fe[242]](),_0xfc29xa=Math[_0xa1fe[429]](_0xfc29x4[_0xa1fe[236]]-_0xfc29x9,_0xfc29x4[_0xa1fe[235]]-_0xfc29x3),_0xfc29x12= new mxPoint(0,0),_0xfc29x13=Math[_0xa1fe[424]],_0xfc29x14=Math[_0xa1fe[424]]/2-_0xfc29xa,_0xfc29x15=Math[_0xa1fe[429]](_0xfc29x2[_0xa1fe[119]],_0xfc29x2[_0xa1fe[117]]);_0xfc29xa<-_0xfc29x13+_0xfc29x15||_0xfc29xa>_0xfc29x13-_0xfc29x15?(_0xfc29x12[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]]=_0xfc29x9-_0xfc29x2[_0xa1fe[117]]*Math[_0xa1fe[2008]](_0xfc29xa)/2):_0xfc29xa<-_0xfc29x15?(_0xfc29x12[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]],_0xfc29x12[_0xa1fe[235]]=_0xfc29x3-_0xfc29x2[_0xa1fe[119]]*Math[_0xa1fe[2008]](_0xfc29x14)/2):_0xfc29xa<_0xfc29x15?(_0xfc29x12[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]],_0xfc29x12[_0xa1fe[236]]=_0xfc29x9+_0xfc29x2[_0xa1fe[117]]*Math[_0xa1fe[2008]](_0xfc29xa)/2):(_0xfc29x12[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]],_0xfc29x12[_0xa1fe[235]]=_0xfc29x3+_0xfc29x2[_0xa1fe[119]]*Math[_0xa1fe[2008]](_0xfc29x14)/2);_0xfc29x5&&(_0xfc29x4[_0xa1fe[235]]>=_0xfc29x2[_0xa1fe[235]]&&_0xfc29x4[_0xa1fe[235]]<=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]?_0xfc29x12[_0xa1fe[235]]=_0xfc29x4[_0xa1fe[235]]:_0xfc29x4[_0xa1fe[236]]>=_0xfc29x2[_0xa1fe[236]]&&_0xfc29x4[_0xa1fe[236]]<=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]&&(_0xfc29x12[_0xa1fe[236]]=_0xfc29x4[_0xa1fe[236]]),_0xfc29x4[_0xa1fe[235]]<_0xfc29x2[_0xa1fe[235]]?_0xfc29x12[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]]:_0xfc29x4[_0xa1fe[235]]>_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]&&(_0xfc29x12[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]),_0xfc29x4[_0xa1fe[236]]<_0xfc29x2[_0xa1fe[236]]?_0xfc29x12[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]]:_0xfc29x4[_0xa1fe[236]]>_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]&&(_0xfc29x12[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]));return _0xfc29x12},EllipsePerimeter:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[235]],_0xfc29xa=_0xfc29x2[_0xa1fe[236]],_0xfc29x12=_0xfc29x2[_0xa1fe[117]]/2,_0xfc29x13=_0xfc29x2[_0xa1fe[119]]/2,_0xfc29x14=_0xfc29x9+_0xfc29x12,_0xfc29x15=_0xfc29xa+_0xfc29x13;_0xfc29x3=_0xfc29x4[_0xa1fe[235]];_0xfc29x4=_0xfc29x4[_0xa1fe[236]];var _0xfc29x16=parseInt(_0xfc29x3-_0xfc29x14),_0xfc29x17=parseInt(_0xfc29x4-_0xfc29x15);if(0==_0xfc29x16&&0!=_0xfc29x17){return new mxPoint(_0xfc29x14,_0xfc29x15+_0xfc29x13*_0xfc29x17/Math[_0xa1fe[425]](_0xfc29x17))};if(0==_0xfc29x16&&0==_0xfc29x17){return new mxPoint(_0xfc29x3,_0xfc29x4)};if(_0xfc29x5){if(_0xfc29x4>=_0xfc29xa&&_0xfc29x4<=_0xfc29xa+_0xfc29x2[_0xa1fe[119]]){return _0xfc29x2=_0xfc29x4-_0xfc29x15,_0xfc29x2=Math[_0xa1fe[428]](_0xfc29x12*_0xfc29x12*(1-_0xfc29x2*_0xfc29x2/(_0xfc29x13*_0xfc29x13)))||0,_0xfc29x3<=_0xfc29x9&&(_0xfc29x2= -_0xfc29x2), new mxPoint(_0xfc29x14+_0xfc29x2,_0xfc29x4)};if(_0xfc29x3>=_0xfc29x9&&_0xfc29x3<=_0xfc29x9+_0xfc29x2[_0xa1fe[117]]){return _0xfc29x2=_0xfc29x3-_0xfc29x14,_0xfc29x2=Math[_0xa1fe[428]](_0xfc29x13*_0xfc29x13*(1-_0xfc29x2*_0xfc29x2/(_0xfc29x12*_0xfc29x12)))||0,_0xfc29x4<=_0xfc29xa&&(_0xfc29x2= -_0xfc29x2), new mxPoint(_0xfc29x3,_0xfc29x15+_0xfc29x2)}};_0xfc29x9=_0xfc29x17/_0xfc29x16;_0xfc29x15-=_0xfc29x9*_0xfc29x14;_0xfc29xa=_0xfc29x12*_0xfc29x12*_0xfc29x9*_0xfc29x9+_0xfc29x13*_0xfc29x13;_0xfc29x2=-2*_0xfc29x14*_0xfc29xa;_0xfc29x13=Math[_0xa1fe[428]](_0xfc29x2*_0xfc29x2-4*_0xfc29xa*(_0xfc29x12*_0xfc29x12*_0xfc29x9*_0xfc29x9*_0xfc29x14*_0xfc29x14+_0xfc29x13*_0xfc29x13*_0xfc29x14*_0xfc29x14-_0xfc29x12*_0xfc29x12*_0xfc29x13*_0xfc29x13));_0xfc29x12=(-_0xfc29x2+_0xfc29x13)/(2*_0xfc29xa);_0xfc29x13=(-_0xfc29x2-_0xfc29x13)/(2*_0xfc29xa);_0xfc29x14=_0xfc29x9*_0xfc29x12+_0xfc29x15;_0xfc29x15=_0xfc29x9*_0xfc29x13+_0xfc29x15;_0xfc29x9=Math[_0xa1fe[428]](Math[_0xa1fe[2009]](_0xfc29x12-_0xfc29x3,2)+Math[_0xa1fe[2009]](_0xfc29x14-_0xfc29x4,2));_0xfc29x3=Math[_0xa1fe[428]](Math[_0xa1fe[2009]](_0xfc29x13-_0xfc29x3,2)+Math[_0xa1fe[2009]](_0xfc29x15-_0xfc29x4,2));_0xfc29xa=_0xfc29x4=0;_0xfc29x9<_0xfc29x3?(_0xfc29x4=_0xfc29x12,_0xfc29xa=_0xfc29x14):(_0xfc29x4=_0xfc29x13,_0xfc29xa=_0xfc29x15);return new mxPoint(_0xfc29x4,_0xfc29xa)},RhombusPerimeter:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=_0xfc29x2[_0xa1fe[235]];var _0xfc29x9=_0xfc29x2[_0xa1fe[236]],_0xfc29xa=_0xfc29x2[_0xa1fe[117]];_0xfc29x2=_0xfc29x2[_0xa1fe[119]];var _0xfc29x12=_0xfc29x3+_0xfc29xa/2,_0xfc29x13=_0xfc29x9+_0xfc29x2/2,_0xfc29x14=_0xfc29x4[_0xa1fe[235]];_0xfc29x4=_0xfc29x4[_0xa1fe[236]];if(_0xfc29x12==_0xfc29x14){return _0xfc29x13>_0xfc29x4? new mxPoint(_0xfc29x12,_0xfc29x9): new mxPoint(_0xfc29x12,_0xfc29x9+_0xfc29x2)};if(_0xfc29x13==_0xfc29x4){return _0xfc29x12>_0xfc29x14? new mxPoint(_0xfc29x3,_0xfc29x13): new mxPoint(_0xfc29x3+_0xfc29xa,_0xfc29x13)};var _0xfc29x15=_0xfc29x12,_0xfc29x16=_0xfc29x13;_0xfc29x5&&(_0xfc29x14>=_0xfc29x3&&_0xfc29x14<=_0xfc29x3+_0xfc29xa?_0xfc29x15=_0xfc29x14:_0xfc29x4>=_0xfc29x9&&_0xfc29x4<=_0xfc29x9+_0xfc29x2&&(_0xfc29x16=_0xfc29x4));return _0xfc29x14<_0xfc29x12?_0xfc29x4<_0xfc29x13?mxUtils[_0xa1fe[2010]](_0xfc29x14,_0xfc29x4,_0xfc29x15,_0xfc29x16,_0xfc29x12,_0xfc29x9,_0xfc29x3,_0xfc29x13):mxUtils[_0xa1fe[2010]](_0xfc29x14,_0xfc29x4,_0xfc29x15,_0xfc29x16,_0xfc29x12,_0xfc29x9+_0xfc29x2,_0xfc29x3,_0xfc29x13):_0xfc29x4<_0xfc29x13?mxUtils[_0xa1fe[2010]](_0xfc29x14,_0xfc29x4,_0xfc29x15,_0xfc29x16,_0xfc29x12,_0xfc29x9,_0xfc29x3+_0xfc29xa,_0xfc29x13):mxUtils[_0xa1fe[2010]](_0xfc29x14,_0xfc29x4,_0xfc29x15,_0xfc29x16,_0xfc29x12,_0xfc29x9+_0xfc29x2,_0xfc29x3+_0xfc29xa,_0xfc29x13)},TrianglePerimeter:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]][mxConstants[_0xa1fe[2011]]]:null;var _0xfc29x9=_0xfc29x3==mxConstants[_0xa1fe[1358]]||_0xfc29x3==mxConstants[_0xa1fe[1354]],_0xfc29xa=_0xfc29x2[_0xa1fe[235]],_0xfc29x12=_0xfc29x2[_0xa1fe[236]],_0xfc29x13=_0xfc29x2[_0xa1fe[117]];_0xfc29x2=_0xfc29x2[_0xa1fe[119]];var _0xfc29x14=_0xfc29xa+_0xfc29x13/2,_0xfc29x15=_0xfc29x12+_0xfc29x2/2,_0xfc29x16= new mxPoint(_0xfc29xa,_0xfc29x12),_0xfc29x17= new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x15),_0xfc29x18= new mxPoint(_0xfc29xa,_0xfc29x12+_0xfc29x2);_0xfc29x3==mxConstants[_0xa1fe[1358]]?(_0xfc29x16=_0xfc29x18,_0xfc29x17= new mxPoint(_0xfc29x14,_0xfc29x12),_0xfc29x18= new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x12+_0xfc29x2)):_0xfc29x3==mxConstants[_0xa1fe[1354]]?(_0xfc29x17= new mxPoint(_0xfc29x14,_0xfc29x12+_0xfc29x2),_0xfc29x18= new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x12)):_0xfc29x3==mxConstants[_0xa1fe[1359]]&&(_0xfc29x16= new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x12),_0xfc29x17= new mxPoint(_0xfc29xa,_0xfc29x15),_0xfc29x18= new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x12+_0xfc29x2));var _0xfc29x19=_0xfc29x4[_0xa1fe[235]]-_0xfc29x14,_0xfc29x1a=_0xfc29x4[_0xa1fe[236]]-_0xfc29x15,_0xfc29x19=_0xfc29x9?Math[_0xa1fe[429]](_0xfc29x19,_0xfc29x1a):Math[_0xa1fe[429]](_0xfc29x1a,_0xfc29x19),_0xfc29x1b=_0xfc29x9?Math[_0xa1fe[429]](_0xfc29x13,_0xfc29x2):Math[_0xa1fe[429]](_0xfc29x2,_0xfc29x13),_0xfc29x1a=!1,_0xfc29x1a=_0xfc29x3==mxConstants[_0xa1fe[1358]]||_0xfc29x3==mxConstants[_0xa1fe[1359]]?_0xfc29x19>-_0xfc29x1b&&_0xfc29x19<_0xfc29x1b:_0xfc29x19<-Math[_0xa1fe[424]]+_0xfc29x1b||_0xfc29x19>Math[_0xa1fe[424]]-_0xfc29x1b,_0xfc29x1b=null;_0xfc29x1a?_0xfc29x1b=_0xfc29x5&&(_0xfc29x9&&_0xfc29x4[_0xa1fe[235]]>=_0xfc29x16[_0xa1fe[235]]&&_0xfc29x4[_0xa1fe[235]]<=_0xfc29x18[_0xa1fe[235]]||!_0xfc29x9&&_0xfc29x4[_0xa1fe[236]]>=_0xfc29x16[_0xa1fe[236]]&&_0xfc29x4[_0xa1fe[236]]<=_0xfc29x18[_0xa1fe[236]])?_0xfc29x9? new mxPoint(_0xfc29x4[_0xa1fe[235]],_0xfc29x16[_0xa1fe[236]]): new mxPoint(_0xfc29x16[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]):_0xfc29x3==mxConstants[_0xa1fe[1358]]? new mxPoint(_0xfc29xa+_0xfc29x13/2+_0xfc29x2*Math[_0xa1fe[2008]](_0xfc29x19)/2,_0xfc29x12+_0xfc29x2):_0xfc29x3==mxConstants[_0xa1fe[1354]]? new mxPoint(_0xfc29xa+_0xfc29x13/2-_0xfc29x2*Math[_0xa1fe[2008]](_0xfc29x19)/2,_0xfc29x12):_0xfc29x3==mxConstants[_0xa1fe[1359]]? new mxPoint(_0xfc29xa+_0xfc29x13,_0xfc29x12+_0xfc29x2/2+_0xfc29x13*Math[_0xa1fe[2008]](_0xfc29x19)/2): new mxPoint(_0xfc29xa,_0xfc29x12+_0xfc29x2/2-_0xfc29x13*Math[_0xa1fe[2008]](_0xfc29x19)/2):(_0xfc29x5&&(_0xfc29x5= new mxPoint(_0xfc29x14,_0xfc29x15),_0xfc29x4[_0xa1fe[236]]>=_0xfc29x12&&_0xfc29x4[_0xa1fe[236]]<=_0xfc29x12+_0xfc29x2?(_0xfc29x5[_0xa1fe[235]]=_0xfc29x9?_0xfc29x14:_0xfc29x3==mxConstants[_0xa1fe[1359]]?_0xfc29xa+_0xfc29x13:_0xfc29xa,_0xfc29x5[_0xa1fe[236]]=_0xfc29x4[_0xa1fe[236]]):_0xfc29x4[_0xa1fe[235]]>=_0xfc29xa&&_0xfc29x4[_0xa1fe[235]]<=_0xfc29xa+_0xfc29x13&&(_0xfc29x5[_0xa1fe[235]]=_0xfc29x4[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]]=!_0xfc29x9?_0xfc29x15:_0xfc29x3==mxConstants[_0xa1fe[1358]]?_0xfc29x12+_0xfc29x2:_0xfc29x12),_0xfc29x14=_0xfc29x5[_0xa1fe[235]],_0xfc29x15=_0xfc29x5[_0xa1fe[236]]),_0xfc29x1b=_0xfc29x9&&_0xfc29x4[_0xa1fe[235]]<=_0xfc29xa+_0xfc29x13/2||!_0xfc29x9&&_0xfc29x4[_0xa1fe[236]]<=_0xfc29x12+_0xfc29x2/2?mxUtils[_0xa1fe[2010]](_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]],_0xfc29x14,_0xfc29x15,_0xfc29x16[_0xa1fe[235]],_0xfc29x16[_0xa1fe[236]],_0xfc29x17[_0xa1fe[235]],_0xfc29x17[_0xa1fe[236]]):mxUtils[_0xa1fe[2010]](_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]],_0xfc29x14,_0xfc29x15,_0xfc29x17[_0xa1fe[235]],_0xfc29x17[_0xa1fe[236]],_0xfc29x18[_0xa1fe[235]],_0xfc29x18[_0xa1fe[236]]));null==_0xfc29x1b&&(_0xfc29x1b= new mxPoint(_0xfc29x14,_0xfc29x15));return _0xfc29x1b}};function mxPrintPreview(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[255]]=null!=_0xfc29x3?_0xfc29x3:1/_0xfc29x2[_0xa1fe[2012]];this[_0xa1fe[467]]=null!=_0xfc29x5?_0xfc29x5:0;this[_0xa1fe[2013]]=null!=_0xfc29x4?_0xfc29x4:_0xfc29x2[_0xa1fe[2013]];this[_0xa1fe[924]]=null!=_0xfc29x13?_0xfc29x13:_0xa1fe[2014];this[_0xa1fe[1732]]=null!=_0xfc29x9?_0xfc29x9:0;this[_0xa1fe[1733]]=null!=_0xfc29xa?_0xfc29xa:0;this[_0xa1fe[1630]]=_0xfc29x12;this[_0xa1fe[2015]]=null!=_0xfc29x14?_0xfc29x14:!0}mxPrintPreview[_0xa1fe[202]][_0xa1fe[1179]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2013]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[255]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[467]]=0;mxPrintPreview[_0xa1fe[202]][_0xa1fe[1732]]=0;mxPrintPreview[_0xa1fe[202]][_0xa1fe[1733]]=0;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2016]]= !0;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2017]]= !1;mxPrintPreview[_0xa1fe[202]][_0xa1fe[1630]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[924]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2015]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2018]]=null;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2019]]=0;mxPrintPreview[_0xa1fe[202]][_0xa1fe[2020]]=function(){return this[_0xa1fe[2018]]};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2021]]=function(){var _0xfc29x2=_0xa1fe[110];8==document[_0xa1fe[5]]&&(_0xfc29x2=_0xa1fe[2022]);return _0xfc29x2};mxPrintPreview[_0xa1fe[202]][_0xa1fe[392]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[2023]],_0xfc29x4=null;try{this[_0xa1fe[2017]]&&(this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[2023]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[176]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[2024]]())});if(null==this[_0xa1fe[2018]]){this[_0xa1fe[2018]]=window[_0xa1fe[392]]();var _0xfc29x5=this[_0xa1fe[2018]][_0xa1fe[395]],_0xfc29x9=this[_0xa1fe[2021]]();null!=_0xfc29x9&&0<_0xfc29x9[_0xa1fe[67]]&&_0xfc29x5[_0xa1fe[171]](_0xfc29x9);_0xfc29x5[_0xa1fe[171]](_0xa1fe[528]);_0xfc29x5[_0xa1fe[171]](_0xa1fe[531]);this[_0xa1fe[2025]](_0xfc29x5,_0xfc29x2);_0xfc29x5[_0xa1fe[171]](_0xa1fe[533]);_0xfc29x5[_0xa1fe[171]](_0xa1fe[2026]);mxClient[_0xa1fe[54]](_0xa1fe[94],mxClient[_0xa1fe[86]]+_0xa1fe[95],_0xfc29x5);mxClient[_0xa1fe[47]]&&(_0xfc29x5[_0xa1fe[100]][_0xa1fe[99]](_0xa1fe[6],_0xa1fe[97]),_0xfc29x5[_0xa1fe[100]][_0xa1fe[99]](_0xa1fe[7],_0xa1fe[101]),_0xfc29x5[_0xa1fe[102]]()[_0xa1fe[103]]=_0xa1fe[104],mxClient[_0xa1fe[54]](_0xa1fe[94],mxClient[_0xa1fe[86]]+_0xa1fe[105],_0xfc29x5));var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[517]]()[_0xa1fe[238]](),_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[518]](),_0xfc29x13=_0xfc29x12/this[_0xa1fe[255]],_0xfc29x14=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[512]]();this[_0xa1fe[2016]]||(this[_0xa1fe[1732]]=-_0xfc29x14[_0xa1fe[235]]*this[_0xa1fe[255]],this[_0xa1fe[1733]]=-_0xfc29x14[_0xa1fe[236]]*this[_0xa1fe[255]],_0xfc29xa[_0xa1fe[117]]+=_0xfc29xa[_0xa1fe[235]],_0xfc29xa[_0xa1fe[119]]+=_0xfc29xa[_0xa1fe[236]],_0xfc29xa[_0xa1fe[235]]=0,this[_0xa1fe[467]]=_0xfc29xa[_0xa1fe[236]]=0);_0xfc29xa[_0xa1fe[117]]/=_0xfc29x13;_0xfc29xa[_0xa1fe[119]]/=_0xfc29x13;var _0xfc29x15=this[_0xa1fe[2013]][_0xa1fe[117]]-2*this[_0xa1fe[467]],_0xfc29x16=this[_0xa1fe[2013]][_0xa1fe[119]]-2*this[_0xa1fe[467]],_0xfc29x17=Math[_0xa1fe[160]](1,Math[_0xa1fe[430]]((_0xfc29xa[_0xa1fe[117]]+this[_0xa1fe[1732]])/_0xfc29x15)),_0xfc29x18=Math[_0xa1fe[160]](1,Math[_0xa1fe[430]]((_0xfc29xa[_0xa1fe[119]]+this[_0xa1fe[1733]])/_0xfc29x16));this[_0xa1fe[2019]]=_0xfc29x17*_0xfc29x18;var _0xfc29x19=mxUtils[_0xa1fe[885]](this,function(){if(this[_0xa1fe[2015]]&&(1<_0xfc29x18||1<_0xfc29x17)){var _0xfc29x2=this[_0xa1fe[2027]](_0xfc29x18,_0xfc29x17);_0xfc29x5[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x2);if(mxClient[_0xa1fe[80]]){_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];var _0xfc29x3=function(){_0xfc29x2[_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x5[_0xa1fe[112]][_0xa1fe[190]]+10+_0xa1fe[168]};mxEvent[_0xa1fe[169]](this[_0xa1fe[2018]],_0xa1fe[276],function(_0xfc29x2){_0xfc29x3()});mxEvent[_0xa1fe[169]](this[_0xa1fe[2018]],_0xa1fe[129],function(_0xfc29x2){_0xfc29x3()})}}});_0xfc29x2=function(_0xfc29x2,_0xfc29x3){null!=this[_0xa1fe[1630]]&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[1630]]=this[_0xa1fe[1630]],_0xfc29x2[_0xa1fe[124]][_0xa1fe[465]]=_0xa1fe[1631],_0xfc29x2[_0xa1fe[124]][_0xa1fe[1629]]=_0xa1fe[942]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[1537]]=_0xa1fe[1391];_0xfc29x3&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[2028]]=_0xa1fe[2029]);mxClient[_0xa1fe[80]]?(_0xfc29x5[_0xa1fe[171]](_0xfc29x2[_0xa1fe[342]]),_0xfc29x2[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2)):(_0xfc29x2[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2),_0xfc29x5[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x2));if(_0xfc29x3){var _0xfc29x4=_0xfc29x5[_0xa1fe[55]](_0xa1fe[1054]);_0xfc29x4[_0xa1fe[926]]=_0xa1fe[2030];_0xfc29x5[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x4)}};var _0xfc29x1a=this[_0xa1fe[2031]](this[_0xa1fe[2013]][_0xa1fe[117]],this[_0xa1fe[2013]][_0xa1fe[119]]);if(null!=_0xfc29x1a){for(var _0xfc29x1b=0;_0xfc29x1b<_0xfc29x1a[_0xa1fe[67]];_0xfc29x1b++){_0xfc29x2(_0xfc29x1a[_0xfc29x1b],!0)}};for(var _0xfc29x1c=this[_0xa1fe[2032]](this[_0xa1fe[2013]][_0xa1fe[117]],this[_0xa1fe[2013]][_0xa1fe[119]]),_0xfc29x1b=0;_0xfc29x1b<_0xfc29x18;_0xfc29x1b++){for(var _0xfc29x1d=_0xfc29x1b*_0xfc29x16/this[_0xa1fe[255]]-this[_0xa1fe[1733]]/this[_0xa1fe[255]]+(_0xfc29xa[_0xa1fe[236]]-_0xfc29x14[_0xa1fe[236]]*_0xfc29x12)/_0xfc29x12,_0xfc29x1a=0;_0xfc29x1a<_0xfc29x17;_0xfc29x1a++){if(null==this[_0xa1fe[2018]]){return null};var _0xfc29x1e=_0xfc29x1a*_0xfc29x15/this[_0xa1fe[255]]-this[_0xa1fe[1732]]/this[_0xa1fe[255]]+(_0xfc29xa[_0xa1fe[235]]-_0xfc29x14[_0xa1fe[235]]*_0xfc29x12)/_0xfc29x12,_0xfc29x1f=_0xfc29x1b*_0xfc29x17+_0xfc29x1a+1,_0xfc29x4=this[_0xa1fe[2034]](this[_0xa1fe[2013]][_0xa1fe[117]],this[_0xa1fe[2013]][_0xa1fe[119]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2033]](-_0xfc29x1e,-_0xfc29x1d,this[_0xa1fe[255]],_0xfc29x1f,_0xfc29x2)}));_0xfc29x4[_0xa1fe[57]](_0xa1fe[1363],_0xa1fe[2035]+_0xfc29x1f);_0xfc29x2(_0xfc29x4,null!=_0xfc29x1c||_0xfc29x1b<_0xfc29x18-1||_0xfc29x1a<_0xfc29x17-1)}};if(null!=_0xfc29x1c){for(_0xfc29x1b=0;_0xfc29x1b<_0xfc29x1c[_0xa1fe[67]];_0xfc29x1b++){_0xfc29x2(_0xfc29x1c[_0xfc29x1b],_0xfc29x1b<_0xfc29x1c[_0xa1fe[67]])}};_0xfc29x5[_0xa1fe[171]](_0xa1fe[527]);_0xfc29x5[_0xa1fe[171]](_0xa1fe[534]);_0xfc29x5[_0xa1fe[268]]();_0xfc29x19();mxEvent[_0xa1fe[762]](_0xfc29x5[_0xa1fe[112]])};this[_0xa1fe[2018]][_0xa1fe[393]]()}catch(y){null!=_0xfc29x4&&null!=_0xfc29x4[_0xa1fe[265]]&&_0xfc29x4[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x4)}finally{this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[2023]]=_0xfc29x3};return this[_0xa1fe[2018]]};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2025]]=function(_0xfc29x2,_0xfc29x3){null!=this[_0xa1fe[924]]&&_0xfc29x2[_0xa1fe[171]](_0xa1fe[2036]+this[_0xa1fe[924]]+_0xa1fe[2037]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2038]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2039]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2040]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2041]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[233]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2042]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2043]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2044]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2045]);_0xfc29x2[_0xa1fe[171]](_0xa1fe[233]);null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[171]](_0xfc29x3);_0xfc29x2[_0xa1fe[171]](_0xa1fe[2046])};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2027]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[2018]][_0xa1fe[395]],_0xfc29x5=_0xfc29x4[_0xa1fe[55]](_0xa1fe[116]);_0xfc29x5[_0xa1fe[926]]=_0xa1fe[2047];_0xfc29x5[_0xa1fe[57]](_0xa1fe[467],_0xa1fe[468]);for(var _0xfc29x9=_0xfc29x4[_0xa1fe[55]](_0xa1fe[120]),_0xfc29xa=0;_0xfc29xa<_0xfc29x2;_0xfc29xa++){for(var _0xfc29x12=_0xfc29x4[_0xa1fe[55]](_0xa1fe[121]),_0xfc29x13=0;_0xfc29x13<_0xfc29x3;_0xfc29x13++){var _0xfc29x14=_0xfc29xa*_0xfc29x3+_0xfc29x13+1,_0xfc29x15=_0xfc29x4[_0xa1fe[55]](_0xa1fe[122]);if(!mxClient[_0xa1fe[133]]||mxClient[_0xa1fe[75]]||mxClient[_0xa1fe[76]]){var _0xfc29x16=_0xfc29x4[_0xa1fe[55]](_0xa1fe[2048]);_0xfc29x16[_0xa1fe[57]](_0xa1fe[44],_0xa1fe[2049]+_0xfc29x14);mxUtils[_0xa1fe[53]](_0xfc29x16,_0xfc29x14,_0xfc29x4);_0xfc29x15[_0xa1fe[62]](_0xfc29x16)}else {mxUtils[_0xa1fe[53]](_0xfc29x15,_0xfc29x14,_0xfc29x4)};_0xfc29x12[_0xa1fe[62]](_0xfc29x15)};_0xfc29x9[_0xa1fe[62]](_0xfc29x12)};_0xfc29x5[_0xa1fe[62]](_0xfc29x9);return _0xfc29x5};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2034]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[485]);try{_0xfc29x5[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2+_0xa1fe[168];_0xfc29x5[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168];_0xfc29x5[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[188];_0xfc29x5[_0xa1fe[124]][_0xa1fe[2050]]=_0xa1fe[1824];_0xfc29x5[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[1500];var _0xfc29x9=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x9[_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[467]]+_0xa1fe[168];_0xfc29x9[_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[467]]+_0xa1fe[168];_0xfc29x9[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2-2*this[_0xa1fe[467]]+_0xa1fe[168];_0xfc29x9[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3-2*this[_0xa1fe[467]]+_0xa1fe[168];_0xfc29x9[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[188];this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[1523]]&&(_0xfc29x9[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492]);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x5);_0xfc29x4(_0xfc29x9)}catch(f){throw _0xfc29x5[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x5),f};return _0xfc29x5};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2033]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]();var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[526]];this[_0xa1fe[1179]][_0xa1fe[526]]=_0xfc29x9;var _0xfc29x12=_0xfc29x5[_0xa1fe[2051]](),_0xfc29x13=_0xfc29x5[_0xa1fe[2052]](),_0xfc29x14=_0xfc29x5[_0xa1fe[2024]](),_0xfc29x15=_0xfc29x5[_0xa1fe[1524]]();this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?_0xfc29x5[_0xa1fe[1569]]():this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[1523]]?_0xfc29x5[_0xa1fe[1571]]():_0xfc29x5[_0xa1fe[1570]]();var _0xfc29x16=_0xfc29x5[_0xa1fe[503]]();_0xfc29x5[_0xa1fe[504]](!1);var _0xfc29x17=this[_0xa1fe[1179]][_0xa1fe[994]]();this[_0xa1fe[1179]][_0xa1fe[995]](!1);var _0xfc29x18=_0xfc29x5[_0xa1fe[512]]();_0xfc29x5[_0xa1fe[513]]= new mxPoint(_0xfc29x2,_0xfc29x3);_0xfc29x2=null;try{var _0xfc29x19=[this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]]()];_0xfc29x2= new mxTemporaryCellStates(_0xfc29x5,_0xfc29x4,_0xfc29x19)}finally{if(mxClient[_0xa1fe[80]]){_0xfc29x5[_0xa1fe[506]][_0xa1fe[339]]=_0xa1fe[110]}else {for(_0xfc29x4=_0xfc29x9[_0xa1fe[285]];null!=_0xfc29x4;){_0xfc29x19=_0xfc29x4[_0xa1fe[287]],_0xfc29x3=_0xfc29x4[_0xa1fe[301]][_0xa1fe[216]](),_0xa1fe[571]==_0xfc29x3?(_0xfc29x4[_0xa1fe[57]](_0xa1fe[117],parseInt(_0xfc29x9[_0xa1fe[124]][_0xa1fe[117]])),_0xfc29x4[_0xa1fe[57]](_0xa1fe[119],parseInt(_0xfc29x9[_0xa1fe[124]][_0xa1fe[119]]))):_0xa1fe[583]!=_0xfc29x4[_0xa1fe[124]][_0xa1fe[270]]&&_0xa1fe[116]!=_0xfc29x3&&_0xfc29x4[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x4),_0xfc29x4=_0xfc29x19}};_0xfc29x5[_0xa1fe[506]][_0xa1fe[265]][_0xa1fe[266]](_0xfc29x5[_0xa1fe[506]]);this[_0xa1fe[1179]][_0xa1fe[995]](_0xfc29x17);this[_0xa1fe[1179]][_0xa1fe[526]]=_0xfc29xa;_0xfc29x5[_0xa1fe[510]]=_0xfc29x12;_0xfc29x5[_0xa1fe[2053]]=_0xfc29x13;_0xfc29x5[_0xa1fe[505]]=_0xfc29x14;_0xfc29x5[_0xa1fe[506]]=_0xfc29x15;_0xfc29x5[_0xa1fe[513]]=_0xfc29x18;_0xfc29x2[_0xa1fe[515]]();_0xfc29x5[_0xa1fe[504]](_0xfc29x16)}};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2031]]=function(){return null};mxPrintPreview[_0xa1fe[202]][_0xa1fe[2032]]=function(){return null};mxPrintPreview[_0xa1fe[202]][_0xa1fe[540]]=function(){var _0xfc29x2=this[_0xa1fe[392]]();null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[540]]()};mxPrintPreview[_0xa1fe[202]][_0xa1fe[268]]=function(){null!=this[_0xa1fe[2018]]&&(this[_0xa1fe[2018]][_0xa1fe[268]](),this[_0xa1fe[2018]]=null)};function mxStylesheet(){this[_0xa1fe[2054]]={};this[_0xa1fe[2056]](this[_0xa1fe[2055]]());this[_0xa1fe[2058]](this[_0xa1fe[2057]]())}mxStylesheet[_0xa1fe[202]][_0xa1fe[2055]]=function(){var _0xfc29x2={};_0xfc29x2[mxConstants[_0xa1fe[2059]]]=mxConstants[_0xa1fe[2060]];_0xfc29x2[mxConstants[_0xa1fe[2061]]]=mxPerimeter[_0xa1fe[2062]];_0xfc29x2[mxConstants[_0xa1fe[2063]]]=mxConstants[_0xa1fe[481]];_0xfc29x2[mxConstants[_0xa1fe[2064]]]=mxConstants[_0xa1fe[479]];_0xfc29x2[mxConstants[_0xa1fe[2065]]]=_0xa1fe[2066];_0xfc29x2[mxConstants[_0xa1fe[2067]]]=_0xa1fe[2068];_0xfc29x2[mxConstants[_0xa1fe[2069]]]=_0xa1fe[2070];return _0xfc29x2};mxStylesheet[_0xa1fe[202]][_0xa1fe[2057]]=function(){var _0xfc29x2={};_0xfc29x2[mxConstants[_0xa1fe[2059]]]=mxConstants[_0xa1fe[2071]];_0xfc29x2[mxConstants[_0xa1fe[1695]]]=mxConstants[_0xa1fe[1622]];_0xfc29x2[mxConstants[_0xa1fe[2063]]]=mxConstants[_0xa1fe[481]];_0xfc29x2[mxConstants[_0xa1fe[2064]]]=mxConstants[_0xa1fe[479]];_0xfc29x2[mxConstants[_0xa1fe[2067]]]=_0xa1fe[2068];_0xfc29x2[mxConstants[_0xa1fe[2069]]]=_0xa1fe[2072];return _0xfc29x2};mxStylesheet[_0xa1fe[202]][_0xa1fe[2056]]=function(_0xfc29x2){this[_0xa1fe[2074]](_0xa1fe[2073],_0xfc29x2)};mxStylesheet[_0xa1fe[202]][_0xa1fe[2058]]=function(_0xfc29x2){this[_0xa1fe[2074]](_0xa1fe[2075],_0xfc29x2)};mxStylesheet[_0xa1fe[202]][_0xa1fe[2076]]=function(){return this[_0xa1fe[2054]][_0xa1fe[2073]]};mxStylesheet[_0xa1fe[202]][_0xa1fe[2077]]=function(){return this[_0xa1fe[2054]][_0xa1fe[2075]]};mxStylesheet[_0xa1fe[202]][_0xa1fe[2074]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2054]][_0xfc29x2]=_0xfc29x3};mxStylesheet[_0xa1fe[202]][_0xa1fe[1705]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x3;if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[224]](_0xa1fe[471]),_0xfc29x4=null!=_0xfc29x4&&_0xa1fe[471]!=_0xfc29x2[_0xa1fe[225]](0)?mxUtils[_0xa1fe[238]](_0xfc29x4):{},_0xfc29x9=0;_0xfc29x9<_0xfc29x5[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=_0xfc29x5[_0xfc29x9],_0xfc29x12=_0xfc29xa[_0xa1fe[2]](_0xa1fe[226]);if(0<=_0xfc29x12){var _0xfc29x13=_0xfc29xa[_0xa1fe[85]](0,_0xfc29x12),_0xfc29xa=_0xfc29xa[_0xa1fe[85]](_0xfc29x12+1);_0xfc29xa==mxConstants[_0xa1fe[217]]? delete _0xfc29x4[_0xfc29x13]:mxUtils[_0xa1fe[1946]](_0xfc29xa)?_0xfc29x4[_0xfc29x13]=parseFloat(_0xfc29xa):_0xfc29x4[_0xfc29x13]=_0xfc29xa}else {if(_0xfc29xa=this[_0xa1fe[2054]][_0xfc29xa],null!=_0xfc29xa){for(_0xfc29x13 in _0xfc29xa){_0xfc29x4[_0xfc29x13]=_0xfc29xa[_0xfc29x13]}}}}};return _0xfc29x4};function mxCellState(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[441]]=_0xfc29x2;this[_0xa1fe[246]]=_0xfc29x3;this[_0xa1fe[124]]=_0xfc29x4;this[_0xa1fe[2078]]= new mxPoint;this[_0xa1fe[2079]]= new mxPoint}mxCellState[_0xa1fe[202]]= new mxRectangle;mxCellState[_0xa1fe[202]][_0xa1fe[196]]=mxCellState;mxCellState[_0xa1fe[202]][_0xa1fe[441]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[246]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[124]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2080]]= !0;mxCellState[_0xa1fe[202]][_0xa1fe[2081]]= !1;mxCellState[_0xa1fe[202]][_0xa1fe[2082]]= !1;mxCellState[_0xa1fe[202]][_0xa1fe[2078]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[439]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2079]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2083]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2084]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2085]]=0;mxCellState[_0xa1fe[202]][_0xa1fe[67]]=0;mxCellState[_0xa1fe[202]][_0xa1fe[2086]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[253]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[963]]=null;mxCellState[_0xa1fe[202]][_0xa1fe[2087]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=_0xfc29x2||0;_0xfc29x3=null!=_0xfc29x3?_0xfc29x3: new mxRectangle(this[_0xa1fe[235]],this[_0xa1fe[236]],this[_0xa1fe[117]],this[_0xa1fe[119]]);if(null!=this[_0xa1fe[253]]&&null!=this[_0xa1fe[253]][_0xa1fe[1561]]){var _0xfc29x4=this[_0xa1fe[253]][_0xa1fe[1561]][_0xa1fe[1548]](this[_0xa1fe[124]],_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]],_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]);_0xfc29x3[_0xa1fe[235]]=_0xfc29x4[_0xa1fe[235]];_0xfc29x3[_0xa1fe[236]]=_0xfc29x4[_0xa1fe[236]];_0xfc29x3[_0xa1fe[117]]=this[_0xa1fe[253]][_0xa1fe[1561]][_0xa1fe[1532]]*_0xfc29x4[_0xa1fe[117]];_0xfc29x3[_0xa1fe[119]]=this[_0xa1fe[253]][_0xa1fe[1561]][_0xa1fe[1533]]*_0xfc29x4[_0xa1fe[119]]};0!=_0xfc29x2&&_0xfc29x3[_0xa1fe[244]](_0xfc29x2);return _0xfc29x3};mxCellState[_0xa1fe[202]][_0xa1fe[2088]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3?(null==this[_0xa1fe[439]]&&(this[_0xa1fe[439]]=[]),0==this[_0xa1fe[439]][_0xa1fe[67]]?this[_0xa1fe[439]][_0xa1fe[207]](_0xfc29x2):this[_0xa1fe[439]][0]=_0xfc29x2):null==this[_0xa1fe[439]]?(this[_0xa1fe[439]]=[],this[_0xa1fe[439]][_0xa1fe[207]](null),this[_0xa1fe[439]][_0xa1fe[207]](_0xfc29x2)):1==this[_0xa1fe[439]][_0xa1fe[67]]?this[_0xa1fe[439]][_0xa1fe[207]](_0xfc29x2):this[_0xa1fe[439]][this[_0xa1fe[439]][_0xa1fe[67]]-1]=_0xfc29x2};mxCellState[_0xa1fe[202]][_0xa1fe[1609]]=function(_0xfc29x2){null!=this[_0xa1fe[253]]&&this[_0xa1fe[253]][_0xa1fe[1609]](_0xfc29x2);null!=this[_0xa1fe[963]]&&this[_0xa1fe[963]][_0xa1fe[1609]](_0xfc29x2)};mxCellState[_0xa1fe[202]][_0xa1fe[1710]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[2089]](_0xfc29x2);return null!=_0xfc29x2?_0xfc29x2[_0xa1fe[246]]:null};mxCellState[_0xa1fe[202]][_0xa1fe[2089]]=function(_0xfc29x2){return _0xfc29x2?this[_0xa1fe[2083]]:this[_0xa1fe[2084]]};mxCellState[_0xa1fe[202]][_0xa1fe[2090]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3?this[_0xa1fe[2083]]=_0xfc29x2:this[_0xa1fe[2084]]=_0xfc29x2};mxCellState[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[515]](this)};mxCellState[_0xa1fe[202]][_0xa1fe[238]]=function(){var _0xfc29x2= new mxCellState(this[_0xa1fe[441]],this[_0xa1fe[246]],this[_0xa1fe[124]]);if(null!=this[_0xa1fe[439]]){_0xfc29x2[_0xa1fe[439]]=[];for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[439]][_0xa1fe[67]];_0xfc29x3++){_0xfc29x2[_0xa1fe[439]][_0xfc29x3]=this[_0xa1fe[439]][_0xfc29x3][_0xa1fe[238]]()}};null!=this[_0xa1fe[2078]]&&(_0xfc29x2[_0xa1fe[2078]]=this[_0xa1fe[2078]][_0xa1fe[238]]());null!=this[_0xa1fe[2079]]&&(_0xfc29x2[_0xa1fe[2079]]=this[_0xa1fe[2079]][_0xa1fe[238]]());null!=this[_0xa1fe[1563]]&&(_0xfc29x2[_0xa1fe[1563]]=this[_0xa1fe[1563]][_0xa1fe[238]]());_0xfc29x2[_0xa1fe[2085]]=this[_0xa1fe[2085]];_0xfc29x2[_0xa1fe[2086]]=this[_0xa1fe[2086]];_0xfc29x2[_0xa1fe[67]]=this[_0xa1fe[67]];_0xfc29x2[_0xa1fe[235]]=this[_0xa1fe[235]];_0xfc29x2[_0xa1fe[236]]=this[_0xa1fe[236]];_0xfc29x2[_0xa1fe[117]]=this[_0xa1fe[117]];_0xfc29x2[_0xa1fe[119]]=this[_0xa1fe[119]];return _0xfc29x2};function mxGraphSelectionModel(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[895]]=[]}mxGraphSelectionModel[_0xa1fe[202]]= new mxEventSource;mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[196]]=mxGraphSelectionModel;mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2091]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[819]:_0xa1fe[110];mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2092]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2093]:_0xa1fe[110];mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[1179]]=null;mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2094]]= !1;mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2095]]=function(){return this[_0xa1fe[2094]]};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2096]]=function(_0xfc29x2){this[_0xa1fe[2094]]=_0xfc29x2};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2097]]=function(_0xfc29x2){return null!=_0xfc29x2?0<=mxUtils[_0xa1fe[2]](this[_0xa1fe[895]],_0xfc29x2):!1};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[1107]]=function(){return 0==this[_0xa1fe[895]][_0xa1fe[67]]};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[200]]=function(){this[_0xa1fe[2098]](null,this[_0xa1fe[895]])};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2099]]=function(_0xfc29x2){null!=_0xfc29x2&&this[_0xa1fe[2100]]([_0xfc29x2])};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2100]]=function(_0xfc29x2){if(null!=_0xfc29x2){this[_0xa1fe[2094]]&&(_0xfc29x2=[this[_0xa1fe[2101]](_0xfc29x2)]);for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[1179]][_0xa1fe[2102]](_0xfc29x2[_0xfc29x4])&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])};this[_0xa1fe[2098]](_0xfc29x3,this[_0xa1fe[895]])}};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2101]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){if(this[_0xa1fe[1179]][_0xa1fe[2102]](_0xfc29x2[_0xfc29x3])){return _0xfc29x2[_0xfc29x3]}}};return null};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2103]]=function(_0xfc29x2){null!=_0xfc29x2&&this[_0xa1fe[832]]([_0xfc29x2])};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[832]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=null;this[_0xa1fe[2094]]&&(_0xfc29x3=this[_0xa1fe[895]],_0xfc29x2=[this[_0xa1fe[2101]](_0xfc29x2)]);for(var _0xfc29x4=[],_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){!this[_0xa1fe[2097]](_0xfc29x2[_0xfc29x5])&&this[_0xa1fe[1179]][_0xa1fe[2102]](_0xfc29x2[_0xfc29x5])&&_0xfc29x4[_0xa1fe[207]](_0xfc29x2[_0xfc29x5])};this[_0xa1fe[2098]](_0xfc29x4,_0xfc29x3)}};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2104]]=function(_0xfc29x2){null!=_0xfc29x2&&this[_0xa1fe[842]]([_0xfc29x2])};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[842]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[2097]](_0xfc29x2[_0xfc29x4])&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])};this[_0xa1fe[2098]](null,_0xfc29x3)}};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[2098]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]&&null!=_0xfc29x2[0]||null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]&&null!=_0xfc29x3[0]){var _0xfc29x4= new mxSelectionChange(this,_0xfc29x2,_0xfc29x3);_0xfc29x4[_0xa1fe[350]]();var _0xfc29x5= new mxUndoableEdit(this,!1);_0xfc29x5[_0xa1fe[99]](_0xfc29x4);this[_0xa1fe[746]]( new mxEventObject(mxEvent.UNDO,_0xa1fe[1061],_0xfc29x5))}};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[1941]]=function(_0xfc29x2){null!=_0xfc29x2&&!this[_0xa1fe[2097]](_0xfc29x2)&&this[_0xa1fe[895]][_0xa1fe[207]](_0xfc29x2)};mxGraphSelectionModel[_0xa1fe[202]][_0xa1fe[1102]]=function(_0xfc29x2){null!=_0xfc29x2&&(_0xfc29x2=mxUtils[_0xa1fe[2]](this[_0xa1fe[895]],_0xfc29x2),0<=_0xfc29x2&&this[_0xa1fe[895]][_0xa1fe[300]](_0xfc29x2,1))};function mxSelectionChange(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[2105]]=_0xfc29x2;this[_0xa1fe[2106]]=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[1853]]():null;this[_0xa1fe[2107]]=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[1853]]():null}mxSelectionChange[_0xa1fe[202]][_0xa1fe[350]]=function(){var _0xfc29x2=mxLog[_0xa1fe[2109]](_0xa1fe[2108]);window[_0xa1fe[879]]=mxResources[_0xa1fe[203]](this[_0xa1fe[2105]][_0xa1fe[2092]])||this[_0xa1fe[2105]][_0xa1fe[2092]];if(null!=this[_0xa1fe[2107]]){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[2107]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[2105]][_0xa1fe[1102]](this[_0xa1fe[2107]][_0xfc29x3])}};if(null!=this[_0xa1fe[2106]]){for(_0xfc29x3=0;_0xfc29x3<this[_0xa1fe[2106]][_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[2105]][_0xa1fe[1941]](this[_0xa1fe[2106]][_0xfc29x3])}};_0xfc29x3=this[_0xa1fe[2106]];this[_0xa1fe[2106]]=this[_0xa1fe[2107]];this[_0xa1fe[2107]]=_0xfc29x3;window[_0xa1fe[879]]=mxResources[_0xa1fe[203]](this[_0xa1fe[2105]][_0xa1fe[2091]])||this[_0xa1fe[2105]][_0xa1fe[2091]];mxLog[_0xa1fe[2110]](_0xa1fe[2108],_0xfc29x2);this[_0xa1fe[2105]][_0xa1fe[746]]( new mxEventObject(mxEvent.CHANGE,_0xa1fe[2106],this[_0xa1fe[2106]],_0xa1fe[2107],this[_0xa1fe[2107]]))};function mxCellEditor(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2}mxCellEditor[_0xa1fe[202]][_0xa1fe[1179]]=null;mxCellEditor[_0xa1fe[202]][_0xa1fe[126]]=null;mxCellEditor[_0xa1fe[202]][_0xa1fe[2111]]=null;mxCellEditor[_0xa1fe[202]][_0xa1fe[2112]]=null;mxCellEditor[_0xa1fe[202]][_0xa1fe[2113]]= !1;mxCellEditor[_0xa1fe[202]][_0xa1fe[2114]]= !0;mxCellEditor[_0xa1fe[202]][_0xa1fe[2115]]=_0xa1fe[110];mxCellEditor[_0xa1fe[202]][_0xa1fe[2116]]=_0xa1fe[110];mxCellEditor[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[126]]=document[_0xa1fe[55]](_0xa1fe[126]);this[_0xa1fe[126]][_0xa1fe[926]]=_0xa1fe[2117];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[189];this[_0xa1fe[126]][_0xa1fe[57]](_0xa1fe[2118],_0xa1fe[2119]);this[_0xa1fe[126]][_0xa1fe[57]](_0xa1fe[969],_0xa1fe[2120]);mxClient[_0xa1fe[133]]&&(this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[129]]=_0xa1fe[130]);mxEvent[_0xa1fe[169]](this[_0xa1fe[126]],_0xa1fe[2121],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2122]]()}));mxEvent[_0xa1fe[169]](this[_0xa1fe[126]],_0xa1fe[2123],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){mxEvent[_0xa1fe[721]](_0xfc29x2)||(113==_0xfc29x2[_0xa1fe[2124]]||this[_0xa1fe[1179]][_0xa1fe[2125]]()&&13==_0xfc29x2[_0xa1fe[2124]]&&!mxEvent[_0xa1fe[775]](_0xfc29x2)&&!mxEvent[_0xa1fe[774]](_0xfc29x2)?(this[_0xa1fe[1179]][_0xa1fe[2126]](!1),mxEvent[_0xa1fe[722]](_0xfc29x2)):27==_0xfc29x2[_0xa1fe[2124]]?(this[_0xa1fe[1179]][_0xa1fe[2126]](!0),mxEvent[_0xa1fe[722]](_0xfc29x2)):(this[_0xa1fe[2127]]&&(this[_0xa1fe[2127]]= !1,this[_0xa1fe[126]][_0xa1fe[131]]=_0xa1fe[110]),this[_0xa1fe[2128]](!0)))}));mxEvent[_0xa1fe[169]](this[_0xa1fe[126]],_0xa1fe[2129],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2114]]&&!mxEvent[_0xa1fe[721]](_0xfc29x2)&&setTimeout(mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[129]]()}),0)}))};mxCellEditor[_0xa1fe[202]][_0xa1fe[129]]=function(){if(null!=this[_0xa1fe[1653]]){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](this[_0xa1fe[2111]]),_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[2130]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[2131]](_0xfc29x2[_0xa1fe[246]]);if(this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])){this[_0xa1fe[1562]][_0xa1fe[235]]=_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]],this[_0xa1fe[1562]][_0xa1fe[236]]=_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]],this[_0xa1fe[1562]][_0xa1fe[117]]=0,this[_0xa1fe[1562]][_0xa1fe[119]]=0}else {if(null!=this[_0xa1fe[1562]]){this[_0xa1fe[1562]][_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]];this[_0xa1fe[1562]][_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]];this[_0xa1fe[1562]][_0xa1fe[117]]=_0xfc29x2[_0xa1fe[117]];this[_0xa1fe[1562]][_0xa1fe[119]]=_0xfc29x2[_0xa1fe[119]];var _0xfc29x5=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0xfc29x5==mxConstants[_0xa1fe[2132]]?this[_0xa1fe[1562]][_0xa1fe[235]]-=_0xfc29x2[_0xa1fe[117]]:_0xfc29x5==mxConstants[_0xa1fe[480]]&&(this[_0xa1fe[1562]][_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[117]]);_0xfc29x5=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0xfc29x5==mxConstants[_0xa1fe[1687]]?this[_0xa1fe[1562]][_0xa1fe[236]]-=_0xfc29x2[_0xa1fe[119]]:_0xfc29x5==mxConstants[_0xa1fe[482]]&&(this[_0xa1fe[1562]][_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[119]])}};_0xfc29x5=this[_0xa1fe[126]][_0xa1fe[131]];if(_0xa1fe[192]==_0xfc29x5[_0xa1fe[225]](_0xfc29x5[_0xa1fe[67]]-1)||_0xa1fe[110]==_0xfc29x5){_0xfc29x5+=_0xa1fe[544]};_0xfc29x5=mxUtils[_0xa1fe[321]](_0xfc29x5,!1);_0xfc29x4?(this[_0xa1fe[1653]][_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[1502],this[_0xa1fe[1653]][_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[1562]][_0xa1fe[117]]+_0xa1fe[168]):_0xfc29x5=_0xfc29x5[_0xa1fe[230]](/ /g,_0xa1fe[544]);_0xfc29x5=_0xfc29x5[_0xa1fe[230]](/\n/g,_0xa1fe[1453]);this[_0xa1fe[1653]][_0xa1fe[339]]=_0xfc29x5;var _0xfc29x5=this[_0xa1fe[1653]][_0xa1fe[359]]+30,_0xfc29x9=this[_0xa1fe[1653]][_0xa1fe[167]]+16,_0xfc29x5=Math[_0xa1fe[160]](_0xfc29x5,40),_0xfc29x9=Math[_0xa1fe[160]](_0xfc29x9,20);_0xfc29x3&&(_0xfc29x5=Math[_0xa1fe[243]](this[_0xa1fe[1562]][_0xa1fe[117]]-4,_0xfc29x5),_0xfc29x9=Math[_0xa1fe[243]](this[_0xa1fe[1562]][_0xa1fe[119]],_0xfc29x9));var _0xfc29xa=null!=_0xfc29x2[_0xa1fe[963]]?_0xfc29x2[_0xa1fe[963]][_0xa1fe[1655]]:null;null==_0xfc29xa&&(_0xfc29xa=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),_0xfc29x2=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xfc29xa=mxUtils[_0xa1fe[1501]](_0xfc29xa,_0xfc29x2));if(null!=_0xfc29xa){if(_0xfc29x3|| !_0xfc29x4){this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[361]]=Math[_0xa1fe[160]](0,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]]*this[_0xa1fe[1562]][_0xa1fe[117]]+_0xfc29xa[_0xa1fe[235]]*_0xfc29x5)-3)+_0xa1fe[168]};this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[125]]=Math[_0xa1fe[160]](0,Math[_0xa1fe[488]](this[_0xa1fe[1562]][_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]]*this[_0xa1fe[1562]][_0xa1fe[119]]+_0xfc29xa[_0xa1fe[236]]*_0xfc29x9)+4)+_0xa1fe[168]};if(_0xfc29x3|| !_0xfc29x4){this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x5+_0xa1fe[168]};this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x9+_0xa1fe[168]}};mxCellEditor[_0xa1fe[202]][_0xa1fe[2133]]=function(){return this[_0xa1fe[2113]]};mxCellEditor[_0xa1fe[202]][_0xa1fe[2128]]=function(_0xfc29x2){this[_0xa1fe[2113]]=_0xfc29x2};mxCellEditor[_0xa1fe[202]][_0xa1fe[2122]]=function(){this[_0xa1fe[2126]](!this[_0xa1fe[1179]][_0xa1fe[2134]]())};mxCellEditor[_0xa1fe[202]][_0xa1fe[855]]=function(_0xfc29x2,_0xfc29x3){null==this[_0xa1fe[126]]&&this[_0xa1fe[176]]();this[_0xa1fe[2126]](!0);var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);if(null!=_0xfc29x4){this[_0xa1fe[2111]]=_0xfc29x2;this[_0xa1fe[2112]]=_0xfc29x3;this[_0xa1fe[2116]]=null;null!=_0xfc29x4[_0xa1fe[963]]&&this[_0xa1fe[2135]](_0xfc29x4)&&(this[_0xa1fe[2116]]=_0xfc29x4[_0xa1fe[963]][_0xa1fe[252]],this[_0xa1fe[2116]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]);var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x5=mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)*_0xfc29x5,_0xfc29x9=mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),_0xfc29xa=mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTCOLOR,_0xa1fe[586]),_0xfc29x12=mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),_0xfc29x13=(mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0xa1fe[1410]])==mxConstants[_0xa1fe[1410]],_0xfc29x14=(mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0xa1fe[1412]])==mxConstants[_0xa1fe[1412]],_0xfc29x15=(mxUtils[_0xa1fe[433]](_0xfc29x4[_0xa1fe[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0xa1fe[1414]])==mxConstants[_0xa1fe[1414]];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[487]]=Math[_0xa1fe[488]](_0xfc29x5)+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[489]]=Math[_0xa1fe[488]](_0xfc29x5*mxConstants[_0xa1fe[490]])+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[486]]=_0xfc29x9;this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[1165]]=_0xfc29x12;this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[352]]=_0xfc29xa;this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[1452]]=_0xfc29x13?_0xa1fe[1447]:_0xa1fe[1502];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[666]]=_0xfc29x14?_0xa1fe[1449]:_0xa1fe[110];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[354]]=_0xfc29x15?_0xa1fe[355]:_0xa1fe[110];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[278];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[2136]]=_0xa1fe[130];this[_0xa1fe[1562]]=_0xfc29x5=this[_0xa1fe[2137]](_0xfc29x4);this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x5[_0xa1fe[235]]+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x5[_0xa1fe[236]]+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x5[_0xa1fe[117]]+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x5[_0xa1fe[119]]+_0xa1fe[168];this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[931]]=5;_0xfc29x4=this[_0xa1fe[2138]](_0xfc29x4,_0xfc29x3);null==_0xfc29x4||0==_0xfc29x4[_0xa1fe[67]]?(_0xfc29x4=this[_0xa1fe[2139]](),this[_0xa1fe[2127]]= !0):this[_0xa1fe[2127]]= !1;this[_0xa1fe[2128]](!1);this[_0xa1fe[126]][_0xa1fe[131]]=_0xfc29x4;this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[62]](this[_0xa1fe[126]]);_0xa1fe[130]!=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[495]]&&(this[_0xa1fe[2114]]&&(this[_0xa1fe[1653]]=this[_0xa1fe[2140]](),document[_0xa1fe[112]][_0xa1fe[62]](this[_0xa1fe[1653]]),this[_0xa1fe[129]]()),this[_0xa1fe[126]][_0xa1fe[393]](),this[_0xa1fe[126]][_0xa1fe[804]]())}};mxCellEditor[_0xa1fe[202]][_0xa1fe[2140]]=function(){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[485]),_0xfc29x3=_0xfc29x2[_0xa1fe[124]];_0xfc29x3[_0xa1fe[491]]=_0xa1fe[492];_0xfc29x3[_0xa1fe[493]]=_0xa1fe[494];_0xfc29x3[_0xa1fe[187]]=_0xa1fe[188];_0xfc29x3[_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498];_0xfc29x3[_0xa1fe[499]]=_0xa1fe[500];_0xfc29x3[_0xa1fe[123]]=_0xa1fe[125];_0xfc29x3[_0xa1fe[489]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[489]];_0xfc29x3[_0xa1fe[487]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[487]];_0xfc29x3[_0xa1fe[486]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[486]];_0xfc29x3[_0xa1fe[1452]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[1452]];_0xfc29x3[_0xa1fe[1165]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[1165]];_0xfc29x3[_0xa1fe[666]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[666]];_0xfc29x3[_0xa1fe[354]]=this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[354]];return _0xfc29x2};mxCellEditor[_0xa1fe[202]][_0xa1fe[2126]]=function(_0xfc29x2){null!=this[_0xa1fe[2111]]&&(null!=this[_0xa1fe[2116]]&&(this[_0xa1fe[2116]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189],this[_0xa1fe[2116]]=null),!_0xfc29x2&&this[_0xa1fe[2133]]()&&this[_0xa1fe[1179]][_0xa1fe[850]](this[_0xa1fe[2111]],this[_0xa1fe[2141]](),this[_0xa1fe[2112]]),null!=this[_0xa1fe[1653]]&&(document[_0xa1fe[112]][_0xa1fe[266]](this[_0xa1fe[1653]]),this[_0xa1fe[1653]]=null),this[_0xa1fe[1562]]=this[_0xa1fe[2112]]=this[_0xa1fe[2111]]=null,this[_0xa1fe[126]][_0xa1fe[2121]](),this[_0xa1fe[126]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[126]]))};mxCellEditor[_0xa1fe[202]][_0xa1fe[2138]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[1179]][_0xa1fe[2142]](_0xfc29x2[_0xa1fe[246]],_0xfc29x3)};mxCellEditor[_0xa1fe[202]][_0xa1fe[2141]]=function(){return this[_0xa1fe[126]][_0xa1fe[131]][_0xa1fe[230]](/\r/g,_0xa1fe[110])};mxCellEditor[_0xa1fe[202]][_0xa1fe[2135]]=function(_0xfc29x2){return !0};mxCellEditor[_0xa1fe[202]][_0xa1fe[939]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]];return new mxRectangle(0,0,null==_0xfc29x2[_0xa1fe[963]]?30:_0xfc29x2[_0xa1fe[963]][_0xa1fe[803]]*_0xfc29x3+20,_0xa1fe[361]==this[_0xa1fe[126]][_0xa1fe[124]][_0xa1fe[1165]]?120:40)};mxCellEditor[_0xa1fe[202]][_0xa1fe[2137]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x5=this[_0xa1fe[939]](_0xfc29x2),_0xfc29x9=_0xfc29x5[_0xa1fe[117]],_0xfc29x5=_0xfc29x5[_0xa1fe[119]],_0xfc29xa=parseInt(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2143]]]||2)*_0xfc29x4,_0xfc29x12=parseInt(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2144]]]||0)*_0xfc29x4+_0xfc29xa,_0xfc29x13=parseInt(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2145]]]||0)*_0xfc29x4+_0xfc29xa,_0xfc29x14=parseInt(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2146]]]||0)*_0xfc29x4+_0xfc29xa,_0xfc29x4=parseInt(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2147]]]||0)*_0xfc29x4+_0xfc29xa,_0xfc29x13= new mxRectangle(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],Math[_0xa1fe[160]](_0xfc29x9,_0xfc29x2[_0xa1fe[117]]-_0xfc29x4-_0xfc29x13),Math[_0xa1fe[160]](_0xfc29x5,_0xfc29x2[_0xa1fe[119]]-_0xfc29x12-_0xfc29x14));_0xfc29x3?(_0xfc29x13[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]],null!=_0xfc29x2[_0xa1fe[963]]&&null!=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]]&&(0<_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[235]]&&(_0xfc29x13[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[235]]),0<_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[236]]&&(_0xfc29x13[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[236]]))):null!=_0xfc29x2[_0xa1fe[963]]&&null!=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]]&&(_0xfc29x13[_0xa1fe[235]]=Math[_0xa1fe[243]](_0xfc29x13[_0xa1fe[235]],_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[235]]),_0xfc29x13[_0xa1fe[236]]=Math[_0xa1fe[243]](_0xfc29x13[_0xa1fe[236]],_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[236]]));_0xfc29x13[_0xa1fe[235]]+=_0xfc29x4;_0xfc29x13[_0xa1fe[236]]+=_0xfc29x12;null!=_0xfc29x2[_0xa1fe[963]]&&null!=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]]&&(_0xfc29x3?(_0xfc29x13[_0xa1fe[117]]=Math[_0xa1fe[160]](_0xfc29x9,_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[117]]),_0xfc29x13[_0xa1fe[119]]=Math[_0xa1fe[160]](_0xfc29x5,_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[119]])):(_0xfc29x13[_0xa1fe[117]]=Math[_0xa1fe[160]](_0xfc29x13[_0xa1fe[117]],_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[117]]),_0xfc29x13[_0xa1fe[119]]=Math[_0xa1fe[160]](_0xfc29x13[_0xa1fe[119]],_0xfc29x2[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[119]])));this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2[_0xa1fe[246]])&&(_0xfc29x3=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),_0xfc29x3==mxConstants[_0xa1fe[2132]]?_0xfc29x13[_0xa1fe[235]]-=_0xfc29x2[_0xa1fe[117]]:_0xfc29x3==mxConstants[_0xa1fe[480]]&&(_0xfc29x13[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[117]]),_0xfc29x3=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),_0xfc29x3==mxConstants[_0xa1fe[1687]]?_0xfc29x13[_0xa1fe[236]]-=_0xfc29x2[_0xa1fe[119]]:_0xfc29x3==mxConstants[_0xa1fe[482]]&&(_0xfc29x13[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[119]]));return _0xfc29x13};mxCellEditor[_0xa1fe[202]][_0xa1fe[2139]]=function(_0xfc29x2){return this[_0xa1fe[2115]]};mxCellEditor[_0xa1fe[202]][_0xa1fe[2148]]=function(){return this[_0xa1fe[2111]]};mxCellEditor[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[126]]&&(mxEvent[_0xa1fe[762]](this[_0xa1fe[126]]),null!=this[_0xa1fe[126]][_0xa1fe[265]]&&this[_0xa1fe[126]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[126]]),this[_0xa1fe[126]]=null)};function mxCellRenderer(){}mxCellRenderer[_0xa1fe[202]][_0xa1fe[2149]]=mxConnector;mxCellRenderer[_0xa1fe[202]][_0xa1fe[2150]]=mxRectangleShape;mxCellRenderer[_0xa1fe[202]][_0xa1fe[2151]]=mxText;mxCellRenderer[_0xa1fe[202]][_0xa1fe[2152]]= !0;mxCellRenderer[_0xa1fe[202]][_0xa1fe[2153]]={};mxCellRenderer[_0xa1fe[2154]]=function(_0xfc29x2,_0xfc29x3){mxCellRenderer[_0xa1fe[202]][_0xa1fe[2153]][_0xfc29x2]=_0xfc29x3};mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_RECTANGLE,mxRectangleShape);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_HEXAGON,mxHexagon);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_LINE,mxLine);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_IMAGE,mxImageShape);mxCellRenderer[_0xa1fe[2154]](mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer[_0xa1fe[202]][_0xa1fe[2155]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]();if(null!=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[526]]&&null==_0xfc29x2[_0xa1fe[253]]&&_0xfc29x2[_0xa1fe[246]]!=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1741]]&&(_0xfc29x4[_0xa1fe[1193]](_0xfc29x2[_0xa1fe[246]])||_0xfc29x4[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]))){if(this[_0xa1fe[2156]](_0xfc29x2),null!=_0xfc29x2[_0xa1fe[253]]&&(null==_0xfc29x3||_0xfc29x3)){this[_0xa1fe[2157]](_0xfc29x2),_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2158]]||_0xfc29x4[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])?_0xfc29x2[_0xa1fe[2081]]= !0:_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2159]]&&null!=this[_0xa1fe[2160]]&&(this[_0xa1fe[2160]][_0xa1fe[265]]==_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]]?this[_0xa1fe[2161]](_0xfc29x2,this[_0xa1fe[2160]]):this[_0xa1fe[2160]]=null),_0xfc29x2[_0xa1fe[253]][_0xa1fe[255]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],this[_0xa1fe[2162]](_0xfc29x2),this[_0xa1fe[2163]](_0xfc29x2)}}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2157]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[253]][_0xa1fe[176]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[2024]]())};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2164]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=null,_0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x9=_0xfc29x5[_0xa1fe[502]](),_0xfc29xa=_0xfc29x2[_0xa1fe[246]],_0xfc29x12=_0xfc29x9[_0xa1fe[1197]](_0xfc29xa);null!=_0xfc29x12&&null==_0xfc29x4;){_0xfc29x4=this[_0xa1fe[2165]](_0xfc29x5,_0xfc29x12,_0xfc29xa,_0xfc29x3),_0xfc29xa=_0xfc29x12,_0xfc29x12=_0xfc29x9[_0xa1fe[1197]](_0xfc29xa)};return _0xfc29x4};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2165]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null,_0xfc29xa=_0xfc29x2[_0xa1fe[502]]();for(_0xfc29x4=null!=_0xfc29x4?_0xfc29x3[_0xa1fe[1738]](_0xfc29x4)-1:_0xfc29xa[_0xa1fe[262]](_0xfc29x3)-1;0<=_0xfc29x4&&null==_0xfc29x9;_0xfc29x4--){_0xfc29x9=this[_0xa1fe[2165]](_0xfc29x2,_0xfc29xa[_0xa1fe[263]](_0xfc29x3,_0xfc29x4),null,_0xfc29x5)};if(null==_0xfc29x9&&(_0xfc29x9=_0xfc29x2[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3),null!=_0xfc29x9&&(null==_0xfc29x9[_0xa1fe[253]]||null==_0xfc29x9[_0xa1fe[253]][_0xa1fe[252]]||_0xfc29x9[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]]!=_0xfc29x5))){_0xfc29x9=null};return _0xfc29x9};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2166]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]],_0xfc29x4=this[_0xa1fe[2164]](_0xfc29x2,_0xfc29x3),_0xfc29x5=_0xfc29x3[_0xa1fe[285]];null!=_0xfc29x4&&(_0xfc29x5=_0xfc29x4[_0xa1fe[253]][_0xa1fe[252]],null!=_0xfc29x4[_0xa1fe[963]]&&(null!=_0xfc29x4[_0xa1fe[963]][_0xa1fe[252]]&&_0xfc29x4[_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==_0xfc29x3)&&(_0xfc29x5=_0xfc29x4[_0xa1fe[963]][_0xa1fe[252]]),_0xfc29x5=_0xfc29x5[_0xa1fe[287]]);this[_0xa1fe[2161]](_0xfc29x2,_0xfc29x5)};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2167]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]],_0xfc29x4=_0xfc29x3[_0xa1fe[1179]][_0xa1fe[502]]();if(_0xfc29x3[_0xa1fe[1179]][_0xa1fe[2159]]){if(null==this[_0xa1fe[2160]]||null==this[_0xa1fe[2160]][_0xa1fe[265]]||this[_0xa1fe[2160]][_0xa1fe[265]]!=_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]]){this[_0xa1fe[2160]]=_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]]}}else {if(_0xfc29x3[_0xa1fe[1179]][_0xa1fe[2168]]){var _0xfc29x5=_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]],_0xfc29x9=_0xfc29x5[_0xa1fe[265]],_0xfc29x4=_0xfc29x4[_0xa1fe[1197]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x3=_0xfc29x3[_0xa1fe[248]](_0xfc29x4),_0xfc29x9=null!=_0xfc29x3&&null!=_0xfc29x3[_0xa1fe[253]]&&null!=_0xfc29x3[_0xa1fe[253]][_0xa1fe[252]]?_0xfc29x3[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[287]]:_0xfc29x9[_0xa1fe[285]];null!=_0xfc29x9&&_0xfc29x9!=_0xfc29x5&&this[_0xa1fe[2161]](_0xfc29x2,_0xfc29x9)}}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2161]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]],_0xfc29x3);null!=_0xfc29x2[_0xa1fe[963]]&&(null!=_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]]&&_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]])&&_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]],_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[287]])};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2156]]=function(_0xfc29x2){if(null!=_0xfc29x2[_0xa1fe[124]]){var _0xfc29x3=mxStencilRegistry[_0xa1fe[1560]](_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2059]]]);null!=_0xfc29x3?_0xfc29x2[_0xa1fe[253]]= new mxShape(_0xfc29x3):(_0xfc29x3=this[_0xa1fe[2169]](_0xfc29x2),_0xfc29x2[_0xa1fe[253]]= new _0xfc29x3);_0xfc29x2[_0xa1fe[253]][_0xa1fe[1525]]=_0xfc29x2[_0xa1fe[439]];_0xfc29x2[_0xa1fe[253]][_0xa1fe[1562]]= new mxRectangle(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],_0xfc29x2[_0xa1fe[117]],_0xfc29x2[_0xa1fe[119]]);_0xfc29x2[_0xa1fe[253]][_0xa1fe[507]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[507]];this[_0xa1fe[2170]](_0xfc29x2)}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2171]]=function(_0xfc29x2){return null!=_0xfc29x2?mxCellRenderer[_0xa1fe[202]][_0xa1fe[2153]][_0xfc29x2]:null};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2169]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[2171]](_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2059]]]);null==_0xfc29x3&&(_0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])?this[_0xa1fe[2149]]:this[_0xa1fe[2150]]);return _0xfc29x3};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2170]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[253]][_0xa1fe[183]](_0xfc29x2);_0xfc29x2[_0xa1fe[253]][_0xa1fe[618]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[1202]](_0xfc29x2);_0xfc29x2[_0xa1fe[253]][_0xa1fe[630]]=this[_0xa1fe[2171]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2172]](_0xfc29x2));_0xfc29x2[_0xa1fe[253]][_0xa1fe[632]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2173]](_0xfc29x2);_0xfc29x2[_0xa1fe[253]][_0xa1fe[634]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2174]](_0xfc29x2);_0xfc29x2[_0xa1fe[253]][_0xa1fe[638]]=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2175]]];_0xfc29x2[_0xa1fe[253]][_0xa1fe[631]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2176]](_0xfc29x2);this[_0xa1fe[2177]](_0xfc29x2)};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2177]]=function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[253]]&&(this[_0xa1fe[2178]](_0xfc29x2,_0xa1fe[632],mxConstants.STYLE_FILLCOLOR),this[_0xa1fe[2178]](_0xfc29x2,_0xa1fe[634],mxConstants.STYLE_GRADIENTCOLOR),this[_0xa1fe[2178]](_0xfc29x2,_0xa1fe[1334],mxConstants.STYLE_FILLCOLOR),this[_0xa1fe[2178]](_0xfc29x2,_0xa1fe[1336],mxConstants.STYLE_STROKECOLOR),this[_0xa1fe[2178]](_0xfc29x2,_0xa1fe[1299],mxConstants.STYLE_GRADIENTCOLOR))};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2178]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[253]][_0xfc29x3],_0xfc29x9=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29xa=null;_0xa1fe[1549]==_0xfc29x5?_0xfc29xa=_0xfc29x9[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xa1fe[246]]):_0xa1fe[687]==_0xfc29x5?(_0xfc29xa=null!=_0xfc29x9[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xa1fe[246]],!1)?_0xfc29x9[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xa1fe[246]],!1):_0xfc29x2[_0xa1fe[246]],_0xfc29xa=_0xfc29x9[_0xa1fe[2179]](_0xfc29xa),_0xfc29x4=_0xfc29x9[_0xa1fe[2180]]):_0xa1fe[2181]==_0xfc29x5&&(_0xfc29x2[_0xa1fe[253]][_0xfc29x3]=_0xfc29x2[_0xa1fe[253]][_0xa1fe[632]]);null!=_0xfc29xa&&(_0xfc29x5=_0xfc29x9[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29xa),_0xfc29x2[_0xa1fe[253]][_0xfc29x3]=null,null!=_0xfc29x5&&(_0xfc29x2[_0xa1fe[253]][_0xfc29x3]=null!=_0xfc29x5[_0xa1fe[253]]&&_0xa1fe[632]!=_0xfc29x3?_0xfc29x5[_0xa1fe[253]][_0xfc29x3]:_0xfc29x5[_0xa1fe[124]][_0xfc29x4]))};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2182]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2183]](_0xfc29x2[_0xa1fe[246]])};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2184]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]];_0xfc29x4[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]);if(0<_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2185]]]||null==_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2185]]]){var _0xfc29x5=_0xfc29x4[_0xa1fe[2186]](_0xfc29x2[_0xa1fe[246]])||null!=_0xfc29x3&&mxUtils[_0xa1fe[1331]](_0xfc29x3);_0xfc29x2[_0xa1fe[963]]= new this[_0xa1fe[2151]](_0xfc29x3, new mxRectangle,_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2064]]]||mxConstants[_0xa1fe[479]],_0xfc29x4[_0xa1fe[2187]](_0xfc29x2),_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2069]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2188]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2185]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2189]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2143]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2144]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2145]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2146]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2147]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2190]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2191]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2192]]],_0xfc29x4[_0xa1fe[2131]](_0xfc29x2[_0xa1fe[246]])&&_0xfc29x4[_0xa1fe[2186]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4[_0xa1fe[2130]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2193]]],_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2194]]]);_0xfc29x2[_0xa1fe[963]][_0xa1fe[461]]=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_TEXT_OPACITY,100);_0xfc29x2[_0xa1fe[963]][_0xa1fe[507]]=_0xfc29x5?mxConstants[_0xa1fe[1656]]:_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[507]];_0xfc29x2[_0xa1fe[963]][_0xa1fe[724]]=_0xfc29x2;this[_0xa1fe[2195]](_0xfc29x2);var _0xfc29x9=!1,_0xfc29xa=function(_0xfc29x3){var _0xfc29x5=_0xfc29x2;if(mxClient[_0xa1fe[754]]||_0xfc29x9){_0xfc29x5=mxEvent[_0xa1fe[731]](_0xfc29x3),_0xfc29x3=mxEvent[_0xa1fe[733]](_0xfc29x3),_0xfc29x3=mxUtils[_0xa1fe[2196]](_0xfc29x4[_0xa1fe[526]],_0xfc29x5,_0xfc29x3),_0xfc29x5=_0xfc29x4[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x4[_0xa1fe[999]](_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]))};return _0xfc29x5};mxEvent[_0xa1fe[759]](_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2197]](_0xfc29x2,_0xfc29x3)&&(_0xfc29x4[_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x3,_0xfc29x2)),_0xfc29x9=_0xfc29x4[_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]&&_0xa1fe[2198]==mxEvent[_0xa1fe[728]](_0xfc29x3)[_0xa1fe[301]])}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2197]](_0xfc29x2,_0xfc29x3)&&_0xfc29x4[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x3,_0xfc29xa(_0xfc29x3)))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2197]](_0xfc29x2,_0xfc29x3)&&(_0xfc29x4[_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x3,_0xfc29xa(_0xfc29x3))),_0xfc29x9= !1)}));mxEvent[_0xa1fe[169]](_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]],_0xa1fe[760],mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2197]](_0xfc29x2,_0xfc29x3)&&(_0xfc29x4[_0xa1fe[761]](_0xfc29x3,_0xfc29x2[_0xa1fe[246]]),mxEvent[_0xa1fe[722]](_0xfc29x3))}))}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2195]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]];_0xfc29x2[_0xa1fe[963]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]&&(mxClient[_0xa1fe[48]]&&mxClient[_0xa1fe[2199]]?_0xfc29x2[_0xa1fe[963]][_0xa1fe[176]](_0xfc29x3[_0xa1fe[526]]):mxUtils[_0xa1fe[458]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[2024]]())&&(null!=_0xfc29x2[_0xa1fe[253]][_0xa1fe[685]]?_0xfc29x2[_0xa1fe[963]][_0xa1fe[176]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[685]]):_0xfc29x2[_0xa1fe[963]][_0xa1fe[176]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]])));null==_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]]&&(_0xfc29x2[_0xa1fe[963]][_0xa1fe[176]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[2024]]()),null!=_0xfc29x2[_0xa1fe[253]]&&null!=_0xfc29x2[_0xa1fe[963]]&&_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]],_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[287]]))};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2162]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2200]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4=null;if(null!=_0xfc29x3){for(var _0xfc29x4= new mxDictionary,_0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=null!=_0xfc29x2[_0xa1fe[1211]]?_0xfc29x2[_0xa1fe[1211]][_0xa1fe[205]](_0xfc29x3[_0xfc29x5]):null;null==_0xfc29x9&&(_0xfc29x9= new mxImageShape( new mxRectangle,_0xfc29x3[_0xfc29x5][_0xa1fe[618]][_0xa1fe[390]]),_0xfc29x9[_0xa1fe[507]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[507]],_0xfc29x9[_0xa1fe[1674]]= !1,_0xfc29x9[_0xa1fe[2201]]=_0xfc29x3[_0xfc29x5],this[_0xa1fe[2023]](_0xfc29x2,_0xfc29x9),this[_0xa1fe[2202]](_0xfc29x2,_0xfc29x3[_0xfc29x5],_0xfc29x9),null!=_0xfc29x3[_0xfc29x5][_0xa1fe[270]]&&(_0xfc29x9[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xfc29x3[_0xfc29x5][_0xa1fe[270]]));_0xfc29x4[_0xa1fe[204]](_0xfc29x3[_0xfc29x5],_0xfc29x9)}};null!=_0xfc29x2[_0xa1fe[1211]]&&_0xfc29x2[_0xa1fe[1211]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[515]]()});_0xfc29x2[_0xa1fe[1211]]=_0xfc29x4};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2023]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[176]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[1524]]())};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2202]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]];mxEvent[_0xa1fe[169]](_0xfc29x4[_0xa1fe[252]],_0xa1fe[173],function(_0xfc29x4){_0xfc29x5[_0xa1fe[2203]]()&&_0xfc29x5[_0xa1fe[2126]](!_0xfc29x5[_0xa1fe[2134]]());_0xfc29x3[_0xa1fe[746]]( new mxEventObject(mxEvent.CLICK,_0xa1fe[763],_0xfc29x4,_0xa1fe[246],_0xfc29x2[_0xa1fe[246]]))});mxEvent[_0xa1fe[759]](_0xfc29x4[_0xa1fe[252]],function(_0xfc29x2){mxEvent[_0xa1fe[722]](_0xfc29x2)},function(_0xfc29x3){_0xfc29x5[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x3,_0xfc29x2))});mxClient[_0xa1fe[754]]&&mxEvent[_0xa1fe[169]](_0xfc29x4[_0xa1fe[252]],_0xa1fe[757],function(_0xfc29x4){_0xfc29x3[_0xa1fe[746]]( new mxEventObject(mxEvent.CLICK,_0xa1fe[763],_0xfc29x4,_0xa1fe[246],_0xfc29x2[_0xa1fe[246]]))})};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2204]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x4=_0xfc29x3[_0xa1fe[2205]](_0xfc29x2);if(_0xfc29x3[_0xa1fe[2206]]&&null!=_0xfc29x4){if(null==_0xfc29x2[_0xa1fe[2207]]){var _0xfc29x5= new mxRectangle(0,0,_0xfc29x4[_0xa1fe[117]],_0xfc29x4[_0xa1fe[119]]);_0xfc29x2[_0xa1fe[2207]]= new mxImageShape(_0xfc29x5,_0xfc29x4[_0xa1fe[390]]);_0xfc29x2[_0xa1fe[2207]][_0xa1fe[1674]]= !1;_0xfc29x2[_0xa1fe[2207]][_0xa1fe[507]]=_0xfc29x3[_0xa1fe[507]];this[_0xa1fe[2208]](_0xfc29x2,_0xfc29x2[_0xa1fe[2207]],!0,function(_0xfc29x4){if(_0xfc29x3[_0xa1fe[994]]()){var _0xfc29x5=!_0xfc29x3[_0xa1fe[1742]](_0xfc29x2[_0xa1fe[246]]);_0xfc29x3[_0xa1fe[847]](_0xfc29x5,!1,[_0xfc29x2[_0xa1fe[246]]]);mxEvent[_0xa1fe[722]](_0xfc29x4)}})}}else {null!=_0xfc29x2[_0xa1fe[2207]]&&(_0xfc29x2[_0xa1fe[2207]][_0xa1fe[515]](),_0xfc29x2[_0xa1fe[2207]]=null)}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2208]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]];_0xfc29x9[_0xa1fe[2186]](_0xfc29x2[_0xa1fe[246]])&&mxClient[_0xa1fe[2199]]&&_0xfc29x9[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?(_0xfc29x3[_0xa1fe[507]]=mxConstants[_0xa1fe[2209]],_0xfc29x3[_0xa1fe[176]](_0xfc29x9[_0xa1fe[526]]),_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[931]]=1):_0xfc29x3[_0xa1fe[176]](_0xfc29x2[_0xa1fe[441]][_0xa1fe[1524]]());_0xfc29x3=_0xfc29x3[_0xa1fe[2210]]||_0xfc29x3[_0xa1fe[252]];_0xfc29x5&&(_0xfc29x9[_0xa1fe[994]]()&&(_0xfc29x3[_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356]),mxEvent[_0xa1fe[169]](_0xfc29x3,_0xa1fe[173],_0xfc29x5));_0xfc29x4&&mxEvent[_0xa1fe[759]](_0xfc29x3,function(_0xfc29x3){_0xfc29x9[_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x3,_0xfc29x2));mxEvent[_0xa1fe[722]](_0xfc29x3)},function(_0xfc29x3){_0xfc29x9[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x3,_0xfc29x2))});return _0xfc29x3};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2211]]=function(_0xfc29x2,_0xfc29x3){return !0};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2197]]=function(_0xfc29x2,_0xfc29x3){return !0};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2163]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x4=function(_0xfc29x4){var _0xfc29x5=_0xfc29x2;if(_0xfc29x3[_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]&&_0xa1fe[2198]==mxEvent[_0xa1fe[728]](_0xfc29x4)[_0xa1fe[301]]||mxClient[_0xa1fe[754]]){_0xfc29x5=mxEvent[_0xa1fe[731]](_0xfc29x4),_0xfc29x4=mxEvent[_0xa1fe[733]](_0xfc29x4),_0xfc29x4=mxUtils[_0xa1fe[2196]](_0xfc29x3[_0xa1fe[526]],_0xfc29x5,_0xfc29x4),_0xfc29x5=_0xfc29x3[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3[_0xa1fe[999]](_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]))};return _0xfc29x5},_0xfc29x5=!1;mxEvent[_0xa1fe[169]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]],_0xa1fe[2212],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x3[_0xa1fe[2213]]=0;_0xfc29x5= !0;mxEvent[_0xa1fe[722]](_0xfc29x2)}));mxEvent[_0xa1fe[759]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x4){this[_0xa1fe[2211]](_0xfc29x2,_0xfc29x4)&&!_0xfc29x5?_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x4,null!=_0xfc29x2[_0xa1fe[253]]&&mxEvent[_0xa1fe[728]](_0xfc29x4)==_0xfc29x2[_0xa1fe[253]][_0xa1fe[905]]?null:_0xfc29x2)):_0xfc29x5&&mxEvent[_0xa1fe[722]](_0xfc29x4)}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x9){this[_0xa1fe[2211]](_0xfc29x2,_0xfc29x9)&&!_0xfc29x5?_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x9,null!=_0xfc29x2[_0xa1fe[253]]&&mxEvent[_0xa1fe[728]](_0xfc29x9)==_0xfc29x2[_0xa1fe[253]][_0xa1fe[905]]?null:_0xfc29x4(_0xfc29x9))):_0xfc29x5&&mxEvent[_0xa1fe[722]](_0xfc29x9)}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x9){this[_0xa1fe[2211]](_0xfc29x2,_0xfc29x9)&&!_0xfc29x5?_0xfc29x3[_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x9,null!=_0xfc29x2[_0xa1fe[253]]&&mxEvent[_0xa1fe[728]](_0xfc29x9)==_0xfc29x2[_0xa1fe[253]][_0xa1fe[905]]?null:_0xfc29x4(_0xfc29x9))):_0xfc29x5&&mxEvent[_0xa1fe[722]](_0xfc29x9)}));var _0xfc29x9=mxClient[_0xa1fe[754]]?_0xa1fe[2214]:_0xa1fe[760];mxEvent[_0xa1fe[169]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[252]],_0xfc29x9,mxUtils[_0xa1fe[885]](this,function(_0xfc29x4){_0xfc29x5= !1;_0xa1fe[2214]==_0xfc29x9?(_0xfc29x3[_0xa1fe[2213]]=0,_0xfc29x3[_0xa1fe[2215]]&&(_0xfc29x3[_0xa1fe[2216]](_0xfc29x2,_0xfc29x4),mxEvent[_0xa1fe[722]](_0xfc29x4))):this[_0xa1fe[2211]](_0xfc29x2,_0xfc29x4)&&(_0xfc29x3[_0xa1fe[761]](_0xfc29x4,null!=_0xfc29x2[_0xa1fe[253]]&&mxEvent[_0xa1fe[728]](_0xfc29x4)==_0xfc29x2[_0xa1fe[253]][_0xa1fe[905]]?null:_0xfc29x2[_0xa1fe[246]]),mxEvent[_0xa1fe[722]](_0xfc29x4))}))};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2217]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[2182]](_0xfc29x2);if(null==_0xfc29x2[_0xa1fe[963]]&&null!=_0xfc29x4&&(mxUtils[_0xa1fe[1331]](_0xfc29x4)||0<_0xfc29x4[_0xa1fe[67]])){this[_0xa1fe[2184]](_0xfc29x2,_0xfc29x4)}else {if(null!=_0xfc29x2[_0xa1fe[963]]&&(null==_0xfc29x4||0==_0xfc29x4[_0xa1fe[67]])){_0xfc29x2[_0xa1fe[963]][_0xa1fe[515]](),_0xfc29x2[_0xa1fe[963]]=null}};if(null!=_0xfc29x2[_0xa1fe[963]]){var _0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x9=_0xfc29x5[_0xa1fe[2131]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x5=_0xfc29x5[_0xa1fe[2130]](_0xfc29x2[_0xa1fe[246]]),_0xfc29xa=this[_0xa1fe[2218]](_0xfc29x2);if(_0xfc29x3||_0xfc29x2[_0xa1fe[963]][_0xa1fe[131]]!=_0xfc29x4||_0xfc29x2[_0xa1fe[963]][_0xa1fe[2131]]!=_0xfc29x9||_0xfc29x2[_0xa1fe[963]][_0xa1fe[2219]]!=_0xfc29x5||_0xfc29x2[_0xa1fe[963]][_0xa1fe[255]]!=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]]||!_0xfc29x2[_0xa1fe[963]][_0xa1fe[1562]][_0xa1fe[237]](_0xfc29xa)){_0xfc29x2[_0xa1fe[963]][_0xa1fe[131]]=_0xfc29x4,_0xfc29x2[_0xa1fe[963]][_0xa1fe[1562]]=_0xfc29xa,_0xfc29x2[_0xa1fe[963]][_0xa1fe[255]]=this[_0xa1fe[2220]](_0xfc29x2),_0xfc29x2[_0xa1fe[963]][_0xa1fe[2131]]=_0xfc29x9,_0xfc29x2[_0xa1fe[963]][_0xa1fe[2219]]=_0xfc29x5,_0xfc29x2[_0xa1fe[963]][_0xa1fe[258]]()}}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2220]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[441]][_0xa1fe[255]]};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2218]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x4=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x5=_0xfc29x3[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x9= new mxRectangle(_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]],_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]);_0xfc29x2[_0xa1fe[963]][_0xa1fe[1672]]();_0xfc29x5?(_0xfc29x5=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1673]](),_0xfc29x9[_0xa1fe[235]]+=_0xfc29x5[_0xa1fe[235]]*_0xfc29x4,_0xfc29x9[_0xa1fe[236]]+=_0xfc29x5[_0xa1fe[236]]*_0xfc29x4,_0xfc29x3=_0xfc29x3[_0xa1fe[1198]](_0xfc29x2[_0xa1fe[246]]),null!=_0xfc29x3&&(_0xfc29x9[_0xa1fe[117]]=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[963]][_0xa1fe[1655]][_0xa1fe[235]]*_0xfc29x3[_0xa1fe[117]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[659]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[661]]*_0xfc29x4),_0xfc29x9[_0xa1fe[119]]=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[963]][_0xa1fe[1655]][_0xa1fe[236]]*_0xfc29x3[_0xa1fe[119]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[658]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[660]]*_0xfc29x4))):(_0xfc29x2[_0xa1fe[963]][_0xa1fe[1590]]()&&(_0xfc29x5=_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[235]]=_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[236]]=_0xfc29x5),_0xfc29x9[_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[236]],_0xfc29x9[_0xa1fe[117]]=Math[_0xa1fe[160]](1,_0xfc29x2[_0xa1fe[117]]),_0xfc29x9[_0xa1fe[119]]=Math[_0xa1fe[160]](1,_0xfc29x2[_0xa1fe[119]]),_0xfc29x3[_0xa1fe[1730]](_0xfc29x2[_0xa1fe[246]])&&(_0xfc29x3=_0xfc29x3[_0xa1fe[1731]](_0xfc29x2[_0xa1fe[246]]),0<_0xfc29x3[_0xa1fe[117]]?(_0xfc29x5=Math[_0xa1fe[243]](_0xfc29x9[_0xa1fe[117]],_0xfc29x3[_0xa1fe[117]]*_0xfc29x4),_0xfc29x2[_0xa1fe[253]][_0xa1fe[623]]&&(_0xfc29x9[_0xa1fe[235]]+=_0xfc29x9[_0xa1fe[117]]-_0xfc29x5),_0xfc29x9[_0xa1fe[117]]=_0xfc29x5):0<_0xfc29x3[_0xa1fe[119]]&&(_0xfc29x5=Math[_0xa1fe[243]](_0xfc29x9[_0xa1fe[119]],_0xfc29x3[_0xa1fe[119]]*_0xfc29x4),_0xfc29x2[_0xa1fe[253]][_0xa1fe[624]]&&(_0xfc29x9[_0xa1fe[236]]+=_0xfc29x9[_0xa1fe[119]]-_0xfc29x5),_0xfc29x9[_0xa1fe[119]]=_0xfc29x5)),this[_0xa1fe[2221]](_0xfc29x2,_0xfc29x9));return _0xfc29x9};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2221]]=function(_0xfc29x2,_0xfc29x3){if(_0xfc29x2[_0xa1fe[963]][_0xa1fe[1590]]()){var _0xfc29x4=(_0xfc29x2[_0xa1fe[117]]-_0xfc29x2[_0xa1fe[119]])/2;_0xfc29x3[_0xa1fe[235]]+=_0xfc29x4;_0xfc29x3[_0xa1fe[236]]-=_0xfc29x4;_0xfc29x4=_0xfc29x3[_0xa1fe[117]];_0xfc29x3[_0xa1fe[117]]=_0xfc29x3[_0xa1fe[119]];_0xfc29x3[_0xa1fe[119]]=_0xfc29x4};_0xfc29x3[_0xa1fe[235]]-=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1655]][_0xa1fe[235]]*_0xfc29x3[_0xa1fe[117]];_0xfc29x3[_0xa1fe[236]]-=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1655]][_0xa1fe[236]]*_0xfc29x3[_0xa1fe[119]];if(_0xa1fe[1334]!=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2193]]]){var _0xfc29x4=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x5=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1673]]();_0xfc29x3[_0xa1fe[235]]+=_0xfc29x5[_0xa1fe[235]]*_0xfc29x4;_0xfc29x3[_0xa1fe[236]]+=_0xfc29x5[_0xa1fe[236]]*_0xfc29x4;_0xfc29x3[_0xa1fe[117]]=Math[_0xa1fe[160]](0,_0xfc29x3[_0xa1fe[117]]-_0xfc29x2[_0xa1fe[963]][_0xa1fe[659]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[661]]*_0xfc29x4);_0xfc29x3[_0xa1fe[119]]=Math[_0xa1fe[160]](0,_0xfc29x3[_0xa1fe[119]]-_0xfc29x2[_0xa1fe[963]][_0xa1fe[658]]*_0xfc29x4-_0xfc29x2[_0xa1fe[963]][_0xa1fe[660]]*_0xfc29x4)};var _0xfc29x9=_0xfc29x2[_0xa1fe[963]][_0xa1fe[1615]]();if(0!=_0xfc29x9&&(null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2[_0xa1fe[246]]))&&(_0xfc29x4=_0xfc29x2[_0xa1fe[241]](),_0xfc29x5=_0xfc29x2[_0xa1fe[242]](),_0xfc29x3[_0xa1fe[235]]!=_0xfc29x4||_0xfc29x3[_0xa1fe[236]]!=_0xfc29x5)){_0xfc29x9*=Math[_0xa1fe[424]]/180,pt=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]),Math[_0xa1fe[426]](_0xfc29x9),Math[_0xa1fe[427]](_0xfc29x9), new mxPoint(_0xfc29x4,_0xfc29x5)),_0xfc29x3[_0xa1fe[235]]=pt[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]=pt[_0xa1fe[236]]}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2222]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2162]](_0xfc29x2);if(null!=_0xfc29x2[_0xa1fe[1211]]){var _0xfc29x4=mxUtils[_0xa1fe[1454]](mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION,0),90),_0xfc29x5=mxUtils[_0xa1fe[431]](_0xfc29x4),_0xfc29x9=Math[_0xa1fe[426]](_0xfc29x5),_0xfc29xa=Math[_0xa1fe[427]](_0xfc29x5);_0xfc29x2[_0xa1fe[1211]][_0xa1fe[209]](function(_0xfc29x5,_0xfc29x13){var _0xfc29x14=_0xfc29x13[_0xa1fe[2201]][_0xa1fe[1799]](_0xfc29x2);if(!_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])&&null!=_0xfc29x2[_0xa1fe[253]]&&0!=_0xfc29x4){var _0xfc29x15=_0xfc29x14[_0xa1fe[241]](),_0xfc29x16=_0xfc29x14[_0xa1fe[242]](),_0xfc29x16=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x15,_0xfc29x16),_0xfc29x9,_0xfc29xa, new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]())),_0xfc29x15=_0xfc29x16[_0xa1fe[235]],_0xfc29x16=_0xfc29x16[_0xa1fe[236]];_0xfc29x14[_0xa1fe[235]]=Math[_0xa1fe[488]](_0xfc29x15-_0xfc29x14[_0xa1fe[117]]/2);_0xfc29x14[_0xa1fe[236]]=Math[_0xa1fe[488]](_0xfc29x16-_0xfc29x14[_0xa1fe[119]]/2)};if(_0xfc29x3||null==_0xfc29x13[_0xa1fe[1562]]||_0xfc29x13[_0xa1fe[255]]!=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]]||!_0xfc29x13[_0xa1fe[1562]][_0xa1fe[237]](_0xfc29x14)){_0xfc29x13[_0xa1fe[1562]]=_0xfc29x14,_0xfc29x13[_0xa1fe[255]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x13[_0xa1fe[258]]()}})}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2223]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2[_0xa1fe[2207]]){var _0xfc29x4=this[_0xa1fe[2224]](_0xfc29x2),_0xfc29x5=this[_0xa1fe[2152]]?mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION,0):_0xfc29x2[_0xa1fe[253]][_0xa1fe[1615]](),_0xfc29x9=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]];if(_0xfc29x3||_0xfc29x2[_0xa1fe[2207]][_0xa1fe[255]]!=_0xfc29x9||!_0xfc29x2[_0xa1fe[2207]][_0xa1fe[1562]][_0xa1fe[237]](_0xfc29x4)||_0xfc29x2[_0xa1fe[2207]][_0xa1fe[603]]!=_0xfc29x5){_0xfc29x2[_0xa1fe[2207]][_0xa1fe[603]]=_0xfc29x5,_0xfc29x2[_0xa1fe[2207]][_0xa1fe[1562]]=_0xfc29x4,_0xfc29x2[_0xa1fe[2207]][_0xa1fe[255]]=_0xfc29x9,_0xfc29x2[_0xa1fe[2207]][_0xa1fe[258]]()}}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[2224]]=function(_0xfc29x2){if(null!=_0xfc29x2[_0xa1fe[2207]]){var _0xfc29x3=_0xfc29x2[_0xa1fe[2207]][_0xa1fe[255]],_0xfc29x4=_0xfc29x2[_0xa1fe[2207]][_0xa1fe[1562]][_0xa1fe[117]]/_0xfc29x3,_0xfc29x3=_0xfc29x2[_0xa1fe[2207]][_0xa1fe[1562]][_0xa1fe[119]]/_0xfc29x3,_0xfc29x5=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x9=_0xfc29x2[_0xa1fe[241]](),_0xfc29xa=_0xfc29x2[_0xa1fe[242]]();if(!_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])&&(_0xfc29x9=_0xfc29x2[_0xa1fe[235]]+_0xfc29x4*_0xfc29x5,_0xfc29xa=_0xfc29x2[_0xa1fe[236]]+_0xfc29x3*_0xfc29x5,null!=_0xfc29x2[_0xa1fe[253]])){var _0xfc29x12=_0xfc29x2[_0xa1fe[253]][_0xa1fe[1598]]();if(this[_0xa1fe[2152]]){_0xfc29x12=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION,0)}else {if(_0xfc29x2[_0xa1fe[253]][_0xa1fe[1590]]()){var _0xfc29x13=(_0xfc29x2[_0xa1fe[117]]-_0xfc29x2[_0xa1fe[119]])/2,_0xfc29x9=_0xfc29x9+_0xfc29x13,_0xfc29xa=_0xfc29xa-_0xfc29x13}};0!=_0xfc29x12&&(_0xfc29x13=mxUtils[_0xa1fe[431]](_0xfc29x12),_0xfc29x12=Math[_0xa1fe[426]](_0xfc29x13),_0xfc29x13=Math[_0xa1fe[427]](_0xfc29x13),_0xfc29xa=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x9,_0xfc29xa),_0xfc29x12,_0xfc29x13, new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]())),_0xfc29x9=_0xfc29xa[_0xa1fe[235]],_0xfc29xa=_0xfc29xa[_0xa1fe[236]])};return _0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]), new mxRectangle(Math[_0xa1fe[488]](_0xfc29x9-_0xfc29x4/2*_0xfc29x5),Math[_0xa1fe[488]](_0xfc29xa-_0xfc29x3/2*_0xfc29x5),Math[_0xa1fe[488]](_0xfc29x4*_0xfc29x5),Math[_0xa1fe[488]](_0xfc29x3*_0xfc29x5))};return null};mxCellRenderer[_0xa1fe[202]][_0xa1fe[258]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2[_0xa1fe[253]]){var _0xfc29x5=!1;_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]);reconfigure=null!=_0xfc29x3?_0xfc29x3:!1;this[_0xa1fe[2204]](_0xfc29x2);if(_0xfc29x2[_0xa1fe[2082]]||_0xfc29x2[_0xa1fe[2081]]){_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2158]]?this[_0xa1fe[2166]](_0xfc29x2):this[_0xa1fe[2167]](_0xfc29x2)};if(_0xfc29x2[_0xa1fe[2082]]||!mxUtils[_0xa1fe[2225]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[124]],_0xfc29x2[_0xa1fe[124]])){this[_0xa1fe[2170]](_0xfc29x2),_0xfc29x3= !0};delete _0xfc29x2[_0xa1fe[2081]];delete _0xfc29x2[_0xa1fe[2082]];if(_0xfc29x3||null==_0xfc29x2[_0xa1fe[253]][_0xa1fe[1562]]||_0xfc29x2[_0xa1fe[253]][_0xa1fe[255]]!=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]]||!_0xfc29x2[_0xa1fe[253]][_0xa1fe[1562]][_0xa1fe[237]](_0xfc29x2)||!mxUtils[_0xa1fe[2226]](_0xfc29x2[_0xa1fe[253]][_0xa1fe[1525]],_0xfc29x2[_0xa1fe[439]])){_0xfc29x5= !0,_0xfc29x2[_0xa1fe[253]][_0xa1fe[1525]]=null!=_0xfc29x2[_0xa1fe[439]]?_0xfc29x2[_0xa1fe[439]][_0xa1fe[1853]]():null,_0xfc29x2[_0xa1fe[253]][_0xa1fe[1562]]= new mxRectangle(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],_0xfc29x2[_0xa1fe[117]],_0xfc29x2[_0xa1fe[119]]),_0xfc29x2[_0xa1fe[253]][_0xa1fe[255]]=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],null==_0xfc29x4||_0xfc29x4?_0xfc29x2[_0xa1fe[253]][_0xa1fe[258]]():_0xfc29x2[_0xa1fe[253]][_0xa1fe[1577]]()};if(null==_0xfc29x4||_0xfc29x4){this[_0xa1fe[2217]](_0xfc29x2,_0xfc29x5),this[_0xa1fe[2222]](_0xfc29x2,_0xfc29x5),this[_0xa1fe[2223]](_0xfc29x2,_0xfc29x5)}}};mxCellRenderer[_0xa1fe[202]][_0xa1fe[515]]=function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[253]]&&(null!=_0xfc29x2[_0xa1fe[963]]&&(_0xfc29x2[_0xa1fe[963]][_0xa1fe[515]](),_0xfc29x2[_0xa1fe[963]]=null),null!=_0xfc29x2[_0xa1fe[1211]]&&(_0xfc29x2[_0xa1fe[1211]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x4){_0xfc29x4[_0xa1fe[515]]()}),_0xfc29x2[_0xa1fe[1211]]=null),null!=_0xfc29x2[_0xa1fe[2207]]&&(_0xfc29x2[_0xa1fe[2207]][_0xa1fe[515]](),_0xfc29x2[_0xa1fe[2207]]=null),_0xfc29x2[_0xa1fe[253]][_0xa1fe[515]](),_0xfc29x2[_0xa1fe[253]]=null)};var mxEdgeStyle={EntityRelation:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x2[_0xa1fe[441]],_0xfc29x12=_0xfc29xa[_0xa1fe[1179]];_0xfc29x5=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)*_0xfc29xa[_0xa1fe[255]];var _0xfc29x13=_0xfc29x2[_0xa1fe[439]],_0xfc29x14=_0xfc29x13[0],_0xfc29x15=_0xfc29x13[_0xfc29x13[_0xa1fe[67]]-1],_0xfc29x13=!1;if(null!=_0xfc29x14){_0xfc29x3= new mxCellState,_0xfc29x3[_0xa1fe[235]]=_0xfc29x14[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]=_0xfc29x14[_0xa1fe[236]]}else {if(null!=_0xfc29x3){var _0xfc29x16=mxUtils[_0xa1fe[2227]](_0xfc29x3,_0xfc29x2,!0,mxConstants.DIRECTION_MASK_NONE);_0xfc29x16!=mxConstants[_0xa1fe[434]]?_0xfc29x13=_0xfc29x16==mxConstants[_0xa1fe[436]]:(_0xfc29x14=_0xfc29x12[_0xa1fe[1198]](_0xfc29x3[_0xa1fe[246]]),_0xfc29x14[_0xa1fe[1500]]?_0xfc29x13=0.5>=_0xfc29x14[_0xa1fe[235]]:null!=_0xfc29x4&&(_0xfc29x13=_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]<_0xfc29x3[_0xa1fe[235]]))}else {return}};_0xfc29x14= !0;null!=_0xfc29x15?(_0xfc29x4= new mxCellState,_0xfc29x4[_0xa1fe[235]]=_0xfc29x15[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]=_0xfc29x15[_0xa1fe[236]]):null!=_0xfc29x4&&(_0xfc29x16=mxUtils[_0xa1fe[2227]](_0xfc29x4,_0xfc29x2,!1,mxConstants.DIRECTION_MASK_NONE),_0xfc29x16!=mxConstants[_0xa1fe[434]]?_0xfc29x14=_0xfc29x16==mxConstants[_0xa1fe[436]]:(_0xfc29x2=_0xfc29x12[_0xa1fe[1198]](_0xfc29x4[_0xa1fe[246]]),_0xfc29x2[_0xa1fe[1500]]?_0xfc29x14=0.5>=_0xfc29x2[_0xa1fe[235]]:null!=_0xfc29x3&&(_0xfc29x14=_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]]<_0xfc29x4[_0xa1fe[235]])));null!=_0xfc29x3&&null!=_0xfc29x4&&(_0xfc29x2=_0xfc29x13?_0xfc29x3[_0xa1fe[235]]:_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x3=_0xfc29xa[_0xa1fe[2228]](_0xfc29x3),_0xfc29x12=_0xfc29x14?_0xfc29x4[_0xa1fe[235]]:_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]],_0xfc29x4=_0xfc29xa[_0xa1fe[2228]](_0xfc29x4),_0xfc29xa= new mxPoint(_0xfc29x2+(_0xfc29x13?-_0xfc29x5:_0xfc29x5),_0xfc29x3),_0xfc29x15= new mxPoint(_0xfc29x12+(_0xfc29x14?-_0xfc29x5:_0xfc29x5),_0xfc29x4),_0xfc29x13==_0xfc29x14?(_0xfc29x5=_0xfc29x13?Math[_0xa1fe[243]](_0xfc29x2,_0xfc29x12)-_0xfc29x5:Math[_0xa1fe[160]](_0xfc29x2,_0xfc29x12)+_0xfc29x5,_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x5,_0xfc29x3)),_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x5,_0xfc29x4))):(_0xfc29xa[_0xa1fe[235]]<_0xfc29x15[_0xa1fe[235]]==_0xfc29x13?(_0xfc29x5=_0xfc29x3+(_0xfc29x4-_0xfc29x3)/2,_0xfc29x9[_0xa1fe[207]](_0xfc29xa),_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29xa[_0xa1fe[235]],_0xfc29x5)),_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x15[_0xa1fe[235]],_0xfc29x5))):_0xfc29x9[_0xa1fe[207]](_0xfc29xa),_0xfc29x9[_0xa1fe[207]](_0xfc29x15)))},Loop:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x3){_0xfc29x4=_0xfc29x2[_0xa1fe[441]];var _0xfc29xa=_0xfc29x4[_0xa1fe[1179]];_0xfc29x5=null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5[0]:null;null!=_0xfc29x5&&(_0xfc29x5=_0xfc29x4[_0xa1fe[2229]](_0xfc29x2,_0xfc29x5),mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x5[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]])&&(_0xfc29x5=null));var _0xfc29x12=0,_0xfc29x13=0,_0xfc29x14=0,_0xfc29x15=0,_0xfc29xa=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_SEGMENT,_0xfc29xa[_0xa1fe[1020]])*_0xfc29x4[_0xa1fe[255]];_0xfc29x2=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);_0xfc29x2==mxConstants[_0xa1fe[1358]]||_0xfc29x2==mxConstants[_0xa1fe[1354]]?(_0xfc29x12=_0xfc29x4[_0xa1fe[2230]](_0xfc29x3),_0xfc29x13=_0xfc29xa):(_0xfc29x14=_0xfc29x4[_0xa1fe[2228]](_0xfc29x3),_0xfc29x15=_0xfc29xa);null==_0xfc29x5||_0xfc29x5[_0xa1fe[235]]<_0xfc29x3[_0xa1fe[235]]||_0xfc29x5[_0xa1fe[235]]>_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]]?null!=_0xfc29x5?(_0xfc29x12=_0xfc29x5[_0xa1fe[235]],_0xfc29x15=Math[_0xa1fe[160]](Math[_0xa1fe[425]](_0xfc29x14-_0xfc29x5[_0xa1fe[236]]),_0xfc29x15)):_0xfc29x2==mxConstants[_0xa1fe[1358]]?_0xfc29x14=_0xfc29x3[_0xa1fe[236]]-2*_0xfc29x13:_0xfc29x2==mxConstants[_0xa1fe[1354]]?_0xfc29x14=_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]]+2*_0xfc29x13:_0xfc29x12=_0xfc29x2==mxConstants[_0xa1fe[1356]]?_0xfc29x3[_0xa1fe[235]]-2*_0xfc29x15:_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]]+2*_0xfc29x15:null!=_0xfc29x5&&(_0xfc29x12=_0xfc29x4[_0xa1fe[2230]](_0xfc29x3),_0xfc29x13=Math[_0xa1fe[160]](Math[_0xa1fe[425]](_0xfc29x12-_0xfc29x5[_0xa1fe[235]]),_0xfc29x15),_0xfc29x14=_0xfc29x5[_0xa1fe[236]],_0xfc29x15=0);_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x12-_0xfc29x13,_0xfc29x14-_0xfc29x15));_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x12+_0xfc29x13,_0xfc29x14+_0xfc29x15))}},ElbowConnector:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5[0]:null,_0xfc29x12=!1,_0xfc29x13=!1;if(null!=_0xfc29x3&&null!=_0xfc29x4){if(null!=_0xfc29xa){var _0xfc29x14=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]),_0xfc29x15=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]),_0xfc29x13=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]),_0xfc29x16=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]),_0xfc29xa=_0xfc29x2[_0xa1fe[441]][_0xa1fe[2229]](_0xfc29x2,_0xfc29xa),_0xfc29x12=_0xfc29xa[_0xa1fe[236]]<_0xfc29x13||_0xfc29xa[_0xa1fe[236]]>_0xfc29x16,_0xfc29x13=_0xfc29xa[_0xa1fe[235]]<_0xfc29x14||_0xfc29xa[_0xa1fe[235]]>_0xfc29x15}else {_0xfc29x14=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]),_0xfc29x15=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]),_0xfc29x12=_0xfc29x14==_0xfc29x15,_0xfc29x12||(_0xfc29x13=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]),_0xfc29x16=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]),_0xfc29x13=_0xfc29x13==_0xfc29x16)}};!_0xfc29x13&&(_0xfc29x12||_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2231]]]==mxConstants[_0xa1fe[2232]])?mxEdgeStyle.TopToBottom(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9):mxEdgeStyle.SideToSide(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)},SideToSide:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x2[_0xa1fe[441]];_0xfc29x5=null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5[0]:null;var _0xfc29x12=_0xfc29x2[_0xa1fe[439]],_0xfc29x13=_0xfc29x12[0],_0xfc29x12=_0xfc29x12[_0xfc29x12[_0xa1fe[67]]-1];null!=_0xfc29x5&&(_0xfc29x5=_0xfc29xa[_0xa1fe[2229]](_0xfc29x2,_0xfc29x5));null!=_0xfc29x13&&(_0xfc29x3= new mxCellState,_0xfc29x3[_0xa1fe[235]]=_0xfc29x13[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]=_0xfc29x13[_0xa1fe[236]]);null!=_0xfc29x12&&(_0xfc29x4= new mxCellState,_0xfc29x4[_0xa1fe[235]]=_0xfc29x12[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]=_0xfc29x12[_0xa1fe[236]]);null!=_0xfc29x3&&null!=_0xfc29x4&&(_0xfc29x2=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]),_0xfc29x13=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]),_0xfc29x2=null!=_0xfc29x5?_0xfc29x5[_0xa1fe[235]]:_0xfc29x13+(_0xfc29x2-_0xfc29x13)/2,_0xfc29x13=_0xfc29xa[_0xa1fe[2228]](_0xfc29x3),_0xfc29xa=_0xfc29xa[_0xa1fe[2228]](_0xfc29x4),null!=_0xfc29x5&&(_0xfc29x5[_0xa1fe[236]]>=_0xfc29x3[_0xa1fe[236]]&&_0xfc29x5[_0xa1fe[236]]<=_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]]&&(_0xfc29x13=_0xfc29x5[_0xa1fe[236]]),_0xfc29x5[_0xa1fe[236]]>=_0xfc29x4[_0xa1fe[236]]&&_0xfc29x5[_0xa1fe[236]]<=_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]&&(_0xfc29xa=_0xfc29x5[_0xa1fe[236]])),!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x2,_0xfc29x13)&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x2,_0xfc29x13)&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29x13)),!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x2,_0xfc29xa)&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x2,_0xfc29xa)&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29xa)),1==_0xfc29x9[_0xa1fe[67]]&&(null!=_0xfc29x5?!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x2,_0xfc29x5[_0xa1fe[236]])&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x2,_0xfc29x5[_0xa1fe[236]])&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29x5[_0xa1fe[236]])):(_0xfc29xa=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]),_0xfc29x3=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]),_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29xa+(_0xfc29x3-_0xfc29xa)/2)))))},TopToBottom:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x2[_0xa1fe[441]];_0xfc29x5=null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5[0]:null;var _0xfc29x12=_0xfc29x2[_0xa1fe[439]],_0xfc29x13=_0xfc29x12[0],_0xfc29x12=_0xfc29x12[_0xfc29x12[_0xa1fe[67]]-1];null!=_0xfc29x5&&(_0xfc29x5=_0xfc29xa[_0xa1fe[2229]](_0xfc29x2,_0xfc29x5));null!=_0xfc29x13&&(_0xfc29x3= new mxCellState,_0xfc29x3[_0xa1fe[235]]=_0xfc29x13[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]=_0xfc29x13[_0xa1fe[236]]);null!=_0xfc29x12&&(_0xfc29x4= new mxCellState,_0xfc29x4[_0xa1fe[235]]=_0xfc29x12[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]=_0xfc29x12[_0xa1fe[236]]);null!=_0xfc29x3&&null!=_0xfc29x4&&(_0xfc29x13=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]),_0xfc29x12=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]],_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]),_0xfc29x2=_0xfc29xa[_0xa1fe[2230]](_0xfc29x3),null!=_0xfc29x5&&(_0xfc29x5[_0xa1fe[235]]>=_0xfc29x3[_0xa1fe[235]]&&_0xfc29x5[_0xa1fe[235]]<=_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]])&&(_0xfc29x2=_0xfc29x5[_0xa1fe[235]]),_0xfc29x13=null!=_0xfc29x5?_0xfc29x5[_0xa1fe[236]]:_0xfc29x12+(_0xfc29x13-_0xfc29x12)/2,!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x2,_0xfc29x13)&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x2,_0xfc29x13)&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29x13)),_0xfc29x2=null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[235]]>=_0xfc29x4[_0xa1fe[235]]&&_0xfc29x5[_0xa1fe[235]]<=_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]?_0xfc29x5[_0xa1fe[235]]:_0xfc29xa[_0xa1fe[2230]](_0xfc29x4),!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x2,_0xfc29x13)&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x2,_0xfc29x13)&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x2,_0xfc29x13)),1==_0xfc29x9[_0xa1fe[67]]&&(null!=_0xfc29x5&&1==_0xfc29x9[_0xa1fe[67]]?!mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x5[_0xa1fe[235]],_0xfc29x13)&&!mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x5[_0xa1fe[235]],_0xfc29x13)&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x5[_0xa1fe[235]],_0xfc29x13)):(_0xfc29xa=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]),_0xfc29x3=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]],_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]),_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29xa+(_0xfc29x3-_0xfc29xa)/2,_0xfc29x13)))))},SegmentConnector:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x2[_0xa1fe[439]],_0xfc29x12=!0,_0xfc29x13=null,_0xfc29x14=_0xfc29xa[0];null==_0xfc29x14&&null!=_0xfc29x3?_0xfc29x14= new mxPoint(_0xfc29x2[_0xa1fe[441]][_0xa1fe[2230]](_0xfc29x3),_0xfc29x2[_0xa1fe[441]][_0xa1fe[2228]](_0xfc29x3)):null!=_0xfc29x14&&(_0xfc29x14=_0xfc29x14[_0xa1fe[238]]());var _0xfc29x15=_0xfc29xa[_0xa1fe[67]]-1;if(null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]){for(var _0xfc29x13=_0xfc29x2[_0xa1fe[441]][_0xa1fe[2229]](_0xfc29x2,_0xfc29x5[0]),_0xfc29x16=_0xfc29x3,_0xfc29x17=_0xfc29xa[0],_0xfc29x18=!1,_0xfc29x19=!1,_0xfc29x18=_0xfc29x13,_0xfc29x1a=_0xfc29x5[_0xa1fe[67]],_0xfc29x1b=0;2>_0xfc29x1b;_0xfc29x1b++){var _0xfc29x1c=null!=_0xfc29x17&&_0xfc29x17[_0xa1fe[235]]==_0xfc29x18[_0xa1fe[235]],_0xfc29x1d=null!=_0xfc29x17&&_0xfc29x17[_0xa1fe[236]]==_0xfc29x18[_0xa1fe[236]],_0xfc29x1e=null!=_0xfc29x16&&_0xfc29x18[_0xa1fe[236]]>=_0xfc29x16[_0xa1fe[236]]&&_0xfc29x18[_0xa1fe[236]]<=_0xfc29x16[_0xa1fe[236]]+_0xfc29x16[_0xa1fe[119]],_0xfc29x16=null!=_0xfc29x16&&_0xfc29x18[_0xa1fe[235]]>=_0xfc29x16[_0xa1fe[235]]&&_0xfc29x18[_0xa1fe[235]]<=_0xfc29x16[_0xa1fe[235]]+_0xfc29x16[_0xa1fe[117]],_0xfc29x18=_0xfc29x1d||null==_0xfc29x17&&_0xfc29x1e,_0xfc29x19=_0xfc29x1c||null==_0xfc29x17&&_0xfc29x16;if(null!=_0xfc29x17&&!_0xfc29x1d&&!_0xfc29x1c&&(_0xfc29x1e||_0xfc29x16)){_0xfc29x12=_0xfc29x1e?!1:!0;break};if(_0xfc29x19||_0xfc29x18){_0xfc29x12=_0xfc29x18;1==_0xfc29x1b&&(_0xfc29x12=0==_0xfc29x5[_0xa1fe[67]]%2?_0xfc29x18:_0xfc29x19);break};_0xfc29x16=_0xfc29x4;_0xfc29x17=_0xfc29xa[_0xfc29x15];_0xfc29x18=_0xfc29x2[_0xa1fe[441]][_0xa1fe[2229]](_0xfc29x2,_0xfc29x5[_0xfc29x1a-1])};_0xfc29x12&&(null!=_0xfc29xa[0]&&_0xfc29xa[0][_0xa1fe[236]]!=_0xfc29x13[_0xa1fe[236]]||null==_0xfc29xa[0]&&null!=_0xfc29x3&&(_0xfc29x13[_0xa1fe[236]]<_0xfc29x3[_0xa1fe[236]]||_0xfc29x13[_0xa1fe[236]]>_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]]))?_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x14[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]])):!_0xfc29x12&&(null!=_0xfc29xa[0]&&_0xfc29xa[0][_0xa1fe[235]]!=_0xfc29x13[_0xa1fe[235]]||null==_0xfc29xa[0]&&null!=_0xfc29x3&&(_0xfc29x13[_0xa1fe[235]]<_0xfc29x3[_0xa1fe[235]]||_0xfc29x13[_0xa1fe[235]]>_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]]))&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x13[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]));_0xfc29x12?_0xfc29x14[_0xa1fe[236]]=_0xfc29x13[_0xa1fe[236]]:_0xfc29x14[_0xa1fe[235]]=_0xfc29x13[_0xa1fe[235]];for(_0xfc29x1b=0;_0xfc29x1b<_0xfc29x5[_0xa1fe[67]];_0xfc29x1b++){_0xfc29x12= !_0xfc29x12,_0xfc29x13=_0xfc29x2[_0xa1fe[441]][_0xa1fe[2229]](_0xfc29x2,_0xfc29x5[_0xfc29x1b]),_0xfc29x12?_0xfc29x14[_0xa1fe[236]]=_0xfc29x13[_0xa1fe[236]]:_0xfc29x14[_0xa1fe[235]]=_0xfc29x13[_0xa1fe[235]],_0xfc29x9[_0xa1fe[207]](_0xfc29x14[_0xa1fe[238]]())}}else {_0xfc29x13=_0xfc29x14,_0xfc29x12= !0};_0xfc29x14=_0xfc29xa[_0xfc29x15];null==_0xfc29x14&&null!=_0xfc29x4&&(_0xfc29x14= new mxPoint(_0xfc29x2[_0xa1fe[441]][_0xa1fe[2230]](_0xfc29x4),_0xfc29x2[_0xa1fe[441]][_0xa1fe[2228]](_0xfc29x4)));_0xfc29x12&&(null!=_0xfc29xa[_0xfc29x15]&&_0xfc29xa[_0xfc29x15][_0xa1fe[236]]!=_0xfc29x13[_0xa1fe[236]]||null==_0xfc29xa[_0xfc29x15]&&null!=_0xfc29x4&&(_0xfc29x13[_0xa1fe[236]]<_0xfc29x4[_0xa1fe[236]]||_0xfc29x13[_0xa1fe[236]]>_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]))?_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x14[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]])):!_0xfc29x12&&(null!=_0xfc29xa[_0xfc29x15]&&_0xfc29xa[_0xfc29x15][_0xa1fe[235]]!=_0xfc29x13[_0xa1fe[235]]||null==_0xfc29xa[_0xfc29x15]&&null!=_0xfc29x4&&(_0xfc29x13[_0xa1fe[235]]<_0xfc29x4[_0xa1fe[235]]||_0xfc29x13[_0xa1fe[235]]>_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]))&&_0xfc29x9[_0xa1fe[207]]( new mxPoint(_0xfc29x13[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]));if(null==_0xfc29xa[0]&&null!=_0xfc29x3){for(;1<_0xfc29x9[_0xa1fe[67]]&&mxUtils[_0xa1fe[442]](_0xfc29x3,_0xfc29x9[1][_0xa1fe[235]],_0xfc29x9[1][_0xa1fe[236]]);){_0xfc29x9=_0xfc29x9[_0xa1fe[300]](1,1)}};if(null==_0xfc29xa[_0xfc29x15]&&null!=_0xfc29x4){for(;1<_0xfc29x9[_0xa1fe[67]]&&mxUtils[_0xa1fe[442]](_0xfc29x4,_0xfc29x9[_0xfc29x9[_0xa1fe[67]]-1][_0xa1fe[235]],_0xfc29x9[_0xfc29x9[_0xa1fe[67]]-1][_0xa1fe[236]]);){_0xfc29x9=_0xfc29x9[_0xa1fe[300]](_0xfc29x9[_0xa1fe[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(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]],_0xfc29x12=null==_0xfc29x3?!1:_0xfc29xa[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x3[_0xa1fe[246]]),_0xfc29xa=null==_0xfc29x4?!1:_0xfc29xa[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x4[_0xa1fe[246]]);if(null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]||_0xfc29x12||_0xfc29xa){mxEdgeStyle.SegmentConnector(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)}else {_0xfc29x5=_0xfc29x2[_0xa1fe[439]];var _0xfc29x13=_0xfc29x5[0],_0xfc29x14=_0xfc29x5[_0xfc29x5[_0xa1fe[67]]-1];_0xfc29x5=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[235]]:_0xfc29x13[_0xa1fe[235]];var _0xfc29x12=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[236]]:_0xfc29x13[_0xa1fe[236]],_0xfc29x15=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[117]]:1,_0xfc29x16=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[119]]:1,_0xfc29x17=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[235]]:_0xfc29x14[_0xa1fe[235]],_0xfc29x18=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[236]]:_0xfc29x14[_0xa1fe[236]],_0xfc29x19=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[117]]:1,_0xfc29x1a=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[119]]:1,_0xfc29xa=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]]*mxEdgeStyle[_0xa1fe[2233]],_0xfc29x1b=[mxConstants[_0xa1fe[2234]],mxConstants[_0xa1fe[2234]]];null!=_0xfc29x3&&(_0xfc29x1b[0]=mxUtils[_0xa1fe[2227]](_0xfc29x3,_0xfc29x2,!0,mxConstants.DIRECTION_MASK_ALL));null!=_0xfc29x4&&(_0xfc29x1b[1]=mxUtils[_0xa1fe[2227]](_0xfc29x4,_0xfc29x2,!1,mxConstants.DIRECTION_MASK_ALL));_0xfc29x2=[0,0];_0xfc29x5=[[_0xfc29x5,_0xfc29x12,_0xfc29x15,_0xfc29x16],[_0xfc29x17,_0xfc29x18,_0xfc29x19,_0xfc29x1a]];for(_0xfc29x15=0;2>_0xfc29x15;_0xfc29x15++){mxEdgeStyle[_0xa1fe[2235]][_0xfc29x15][1]=_0xfc29x5[_0xfc29x15][0]-_0xfc29xa,mxEdgeStyle[_0xa1fe[2235]][_0xfc29x15][2]=_0xfc29x5[_0xfc29x15][1]-_0xfc29xa,mxEdgeStyle[_0xa1fe[2235]][_0xfc29x15][4]=_0xfc29x5[_0xfc29x15][0]+_0xfc29x5[_0xfc29x15][2]+_0xfc29xa,mxEdgeStyle[_0xa1fe[2235]][_0xfc29x15][8]=_0xfc29x5[_0xfc29x15][1]+_0xfc29x5[_0xfc29x15][3]+_0xfc29xa};_0xfc29x15=_0xfc29x5[0][0]+_0xfc29x5[0][2]/2-(_0xfc29x5[1][0]+_0xfc29x5[1][2]/2);_0xfc29x16=_0xfc29x5[0][1]+_0xfc29x5[0][3]/2-(_0xfc29x5[1][1]+_0xfc29x5[1][3]/2);_0xfc29x12=0;0>_0xfc29x15?_0xfc29x12=0>_0xfc29x16?2:1:0>=_0xfc29x16&&(_0xfc29x12=3,0==_0xfc29x15&&(_0xfc29x12=2));_0xfc29x16=null;null!=_0xfc29x3&&(_0xfc29x16=_0xfc29x13);_0xfc29x3=[[0.5,0.5],[0.5,0.5]];for(_0xfc29x15=0;2>_0xfc29x15;_0xfc29x15++){null!=_0xfc29x16&&(_0xfc29x3[_0xfc29x15][0]=(_0xfc29x16[_0xa1fe[235]]-_0xfc29x5[_0xfc29x15][0])/_0xfc29x5[_0xfc29x15][2],0.01>_0xfc29x3[_0xfc29x15][0]?_0xfc29x2[_0xfc29x15]=mxConstants[_0xa1fe[436]]:0.99<_0xfc29x3[_0xfc29x15][0]&&(_0xfc29x2[_0xfc29x15]=mxConstants[_0xa1fe[438]]),_0xfc29x3[_0xfc29x15][1]=(_0xfc29x16[_0xa1fe[236]]-_0xfc29x5[_0xfc29x15][1])/_0xfc29x5[_0xfc29x15][3],0.01>_0xfc29x3[_0xfc29x15][1]?_0xfc29x2[_0xfc29x15]=mxConstants[_0xa1fe[435]]:0.99<_0xfc29x3[_0xfc29x15][1]&&(_0xfc29x2[_0xfc29x15]=mxConstants[_0xa1fe[437]])),_0xfc29x16=null,null!=_0xfc29x4&&(_0xfc29x16=_0xfc29x14)};_0xfc29x15=_0xfc29x5[0][1]-(_0xfc29x5[1][1]+_0xfc29x5[1][3]);_0xfc29x16=_0xfc29x5[0][0]-(_0xfc29x5[1][0]+_0xfc29x5[1][2]);_0xfc29x17=_0xfc29x5[1][1]-(_0xfc29x5[0][1]+_0xfc29x5[0][3]);_0xfc29x18=_0xfc29x5[1][0]-(_0xfc29x5[0][0]+_0xfc29x5[0][2]);mxEdgeStyle[_0xa1fe[2236]][1]=Math[_0xa1fe[160]](_0xfc29x16-2*_0xfc29xa,0);mxEdgeStyle[_0xa1fe[2236]][2]=Math[_0xa1fe[160]](_0xfc29x15-2*_0xfc29xa,0);mxEdgeStyle[_0xa1fe[2236]][4]=Math[_0xa1fe[160]](_0xfc29x17-2*_0xfc29xa,0);mxEdgeStyle[_0xa1fe[2236]][3]=Math[_0xa1fe[160]](_0xfc29x18-2*_0xfc29xa,0);_0xfc29x4=[];_0xfc29x13=[];_0xfc29x14=[];_0xfc29x13[0]=_0xfc29x16>=_0xfc29x18?mxConstants[_0xa1fe[436]]:mxConstants[_0xa1fe[438]];_0xfc29x14[0]=_0xfc29x15>=_0xfc29x17?mxConstants[_0xa1fe[435]]:mxConstants[_0xa1fe[437]];_0xfc29x13[1]=mxUtils[_0xa1fe[2237]](_0xfc29x13[0]);_0xfc29x14[1]=mxUtils[_0xa1fe[2237]](_0xfc29x14[0]);_0xfc29x16=_0xfc29x16>=_0xfc29x18?_0xfc29x16:_0xfc29x18;_0xfc29x17=_0xfc29x15>=_0xfc29x17?_0xfc29x15:_0xfc29x17;_0xfc29x18=[[0,0],[0,0]];_0xfc29x19= !1;for(_0xfc29x15=0;2>_0xfc29x15;_0xfc29x15++){0==_0xfc29x2[_0xfc29x15]&&(0==(_0xfc29x13[_0xfc29x15]&_0xfc29x1b[_0xfc29x15])&&(_0xfc29x13[_0xfc29x15]=mxUtils[_0xa1fe[2237]](_0xfc29x13[_0xfc29x15])),0==(_0xfc29x14[_0xfc29x15]&_0xfc29x1b[_0xfc29x15])&&(_0xfc29x14[_0xfc29x15]=mxUtils[_0xa1fe[2237]](_0xfc29x14[_0xfc29x15])),_0xfc29x18[_0xfc29x15][0]=_0xfc29x14[_0xfc29x15],_0xfc29x18[_0xfc29x15][1]=_0xfc29x13[_0xfc29x15])};_0xfc29x17>2*_0xfc29xa&&_0xfc29x16>2*_0xfc29xa&&(0<(_0xfc29x13[0]&_0xfc29x1b[0])&&0<(_0xfc29x14[1]&_0xfc29x1b[1])?(_0xfc29x18[0][0]=_0xfc29x13[0],_0xfc29x18[0][1]=_0xfc29x14[0],_0xfc29x18[1][0]=_0xfc29x14[1],_0xfc29x18[1][1]=_0xfc29x13[1],_0xfc29x19= !0):0<(_0xfc29x14[0]&_0xfc29x1b[0])&&0<(_0xfc29x13[1]&_0xfc29x1b[1])&&(_0xfc29x18[0][0]=_0xfc29x14[0],_0xfc29x18[0][1]=_0xfc29x13[0],_0xfc29x18[1][0]=_0xfc29x13[1],_0xfc29x18[1][1]=_0xfc29x14[1],_0xfc29x19= !0));_0xfc29x17>2*_0xfc29xa&&!_0xfc29x19&&(_0xfc29x18[0][0]=_0xfc29x14[0],_0xfc29x18[0][1]=_0xfc29x13[0],_0xfc29x18[1][0]=_0xfc29x14[1],_0xfc29x18[1][1]=_0xfc29x13[1],_0xfc29x19= !0);_0xfc29x16>2*_0xfc29xa&&!_0xfc29x19&&(_0xfc29x18[0][0]=_0xfc29x13[0],_0xfc29x18[0][1]=_0xfc29x14[0],_0xfc29x18[1][0]=_0xfc29x13[1],_0xfc29x18[1][1]=_0xfc29x14[1]);for(_0xfc29x15=0;2>_0xfc29x15;_0xfc29x15++){if(0==_0xfc29x2[_0xfc29x15]&&(0==(_0xfc29x18[_0xfc29x15][0]&_0xfc29x1b[_0xfc29x15])&&(_0xfc29x18[_0xfc29x15][0]=_0xfc29x18[_0xfc29x15][1]),_0xfc29x4[_0xfc29x15]=_0xfc29x18[_0xfc29x15][0]&_0xfc29x1b[_0xfc29x15],_0xfc29x4[_0xfc29x15]|=(_0xfc29x18[_0xfc29x15][1]&_0xfc29x1b[_0xfc29x15])<<8,_0xfc29x4[_0xfc29x15]|=(_0xfc29x18[1-_0xfc29x15][_0xfc29x15]&_0xfc29x1b[_0xfc29x15])<<16,_0xfc29x4[_0xfc29x15]|=(_0xfc29x18[1-_0xfc29x15][1-_0xfc29x15]&_0xfc29x1b[_0xfc29x15])<<24,0==(_0xfc29x4[_0xfc29x15]&15)&&(_0xfc29x4[_0xfc29x15]<<=8),0==(_0xfc29x4[_0xfc29x15]&3840)&&(_0xfc29x4[_0xfc29x15]=_0xfc29x4[_0xfc29x15]&15|_0xfc29x4[_0xfc29x15]>>8),0==(_0xfc29x4[_0xfc29x15]&983040)&&(_0xfc29x4[_0xfc29x15]=_0xfc29x4[_0xfc29x15]&65535|(_0xfc29x4[_0xfc29x15]&251658240)>>8),_0xfc29x2[_0xfc29x15]=_0xfc29x4[_0xfc29x15]&15,_0xfc29x1b[_0xfc29x15]==mxConstants[_0xa1fe[436]]||_0xfc29x1b[_0xfc29x15]==mxConstants[_0xa1fe[435]]||_0xfc29x1b[_0xfc29x15]==mxConstants[_0xa1fe[438]]||_0xfc29x1b[_0xfc29x15]==mxConstants[_0xa1fe[437]])){_0xfc29x2[_0xfc29x15]=_0xfc29x1b[_0xfc29x15]}};_0xfc29x15=_0xfc29x2[0]==mxConstants[_0xa1fe[438]]?3:_0xfc29x2[0];_0xfc29x1b=_0xfc29x2[1]==mxConstants[_0xa1fe[438]]?3:_0xfc29x2[1];_0xfc29x15-=_0xfc29x12;_0xfc29x1b-=_0xfc29x12;1>_0xfc29x15&&(_0xfc29x15+=4);1>_0xfc29x1b&&(_0xfc29x1b+=4);_0xfc29x1b=mxEdgeStyle[_0xa1fe[2238]][_0xfc29x15-1][_0xfc29x1b-1];mxEdgeStyle[_0xa1fe[2239]][0][0]=_0xfc29x5[0][0];mxEdgeStyle[_0xa1fe[2239]][0][1]=_0xfc29x5[0][1];switch(_0xfc29x2[0]){case mxConstants[_0xa1fe[436]]:mxEdgeStyle[_0xa1fe[2239]][0][0]-=_0xfc29xa;mxEdgeStyle[_0xa1fe[2239]][0][1]+=_0xfc29x3[0][1]*_0xfc29x5[0][3];break;case mxConstants[_0xa1fe[437]]:mxEdgeStyle[_0xa1fe[2239]][0][0]+=_0xfc29x3[0][0]*_0xfc29x5[0][2];mxEdgeStyle[_0xa1fe[2239]][0][1]+=_0xfc29x5[0][3]+_0xfc29xa;break;case mxConstants[_0xa1fe[438]]:mxEdgeStyle[_0xa1fe[2239]][0][0]+=_0xfc29x5[0][2]+_0xfc29xa;mxEdgeStyle[_0xa1fe[2239]][0][1]+=_0xfc29x3[0][1]*_0xfc29x5[0][3];break;case mxConstants[_0xa1fe[435]]:mxEdgeStyle[_0xa1fe[2239]][0][0]+=_0xfc29x3[0][0]*_0xfc29x5[0][2],mxEdgeStyle[_0xa1fe[2239]][0][1]-=_0xfc29xa};_0xfc29xa=0;_0xfc29x13=_0xfc29x4=0<(_0xfc29x2[0]&(mxConstants[_0xa1fe[438]]|mxConstants[_0xa1fe[436]]))?0:1;for(_0xfc29x15=_0xfc29x14=0;_0xfc29x15<_0xfc29x1b[_0xa1fe[67]];_0xfc29x15++){_0xfc29x14=_0xfc29x1b[_0xfc29x15]&15;_0xfc29x1a=_0xfc29x14==mxConstants[_0xa1fe[438]]?3:_0xfc29x14;_0xfc29x1a+=_0xfc29x12;4<_0xfc29x1a&&(_0xfc29x1a-=4);_0xfc29x16=mxEdgeStyle[_0xa1fe[2240]][_0xfc29x1a-1];_0xfc29x14=0<_0xfc29x1a%2?0:1;_0xfc29x14!=_0xfc29x4&&(_0xfc29xa++,mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][0]=mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa-1][0],mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][1]=mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa-1][1]);var _0xfc29x1c=0<(_0xfc29x1b[_0xfc29x15]&mxEdgeStyle[_0xa1fe[2241]]),_0xfc29x19=0<(_0xfc29x1b[_0xfc29x15]&mxEdgeStyle[_0xa1fe[2242]]),_0xfc29x17=(_0xfc29x1b[_0xfc29x15]&mxEdgeStyle[_0xa1fe[2243]])>>5,_0xfc29x17=_0xfc29x17<<_0xfc29x12;15<_0xfc29x17&&(_0xfc29x17>>=4);_0xfc29x18=0<(_0xfc29x1b[_0xfc29x15]&mxEdgeStyle[_0xa1fe[2244]]);(_0xfc29x19||_0xfc29x1c)&&9>_0xfc29x17?(_0xfc29x1a=0,_0xfc29x19=_0xfc29x19?0:1,_0xfc29x1a=_0xfc29x18&&0==_0xfc29x14?_0xfc29x5[_0xfc29x19][0]+_0xfc29x3[_0xfc29x19][0]*_0xfc29x5[_0xfc29x19][2]:_0xfc29x18?_0xfc29x5[_0xfc29x19][1]+_0xfc29x3[_0xfc29x19][1]*_0xfc29x5[_0xfc29x19][3]:mxEdgeStyle[_0xa1fe[2235]][_0xfc29x19][_0xfc29x17],0==_0xfc29x14?(_0xfc29x17=(_0xfc29x1a-mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][0])*_0xfc29x16[0],0<_0xfc29x17&&(mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][0]+=_0xfc29x16[0]*_0xfc29x17)):(_0xfc29x17=(_0xfc29x1a-mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][1])*_0xfc29x16[1],0<_0xfc29x17&&(mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][1]+=_0xfc29x16[1]*_0xfc29x17))):_0xfc29x18&&(mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][0]+=_0xfc29x16[0]*Math[_0xa1fe[425]](mxEdgeStyle[_0xa1fe[2236]][_0xfc29x1a]/2),mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][1]+=_0xfc29x16[1]*Math[_0xa1fe[425]](mxEdgeStyle[_0xa1fe[2236]][_0xfc29x1a]/2));0<_0xfc29xa&&mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa][_0xfc29x14]==mxEdgeStyle[_0xa1fe[2239]][_0xfc29xa-1][_0xfc29x14]?_0xfc29xa--:_0xfc29x4=_0xfc29x14};for(_0xfc29x15=0;_0xfc29x15<=_0xfc29xa&& !(_0xfc29x15==_0xfc29xa&&((0<(_0xfc29x2[1]&(mxConstants[_0xa1fe[438]]|mxConstants[_0xa1fe[436]]))?0:1)==_0xfc29x13?0:1)!=(_0xfc29xa+1)%2);_0xfc29x15++){_0xfc29x9[_0xa1fe[207]]( new mxPoint(mxEdgeStyle[_0xa1fe[2239]][_0xfc29x15][0],mxEdgeStyle[_0xa1fe[2239]][_0xfc29x15][1]))}}},getRoutePattern:function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x2[0]==mxConstants[_0xa1fe[438]]?3:_0xfc29x2[0];_0xfc29x2=_0xfc29x2[1]==mxConstants[_0xa1fe[438]]?3:_0xfc29x2[1];_0xfc29x9-=_0xfc29x3;_0xfc29x2-=_0xfc29x3;1>_0xfc29x9&&(_0xfc29x9+=4);1>_0xfc29x2&&(_0xfc29x2+=4);_0xfc29x3=routePatterns[_0xfc29x9-1][_0xfc29x2-1];if(0==_0xfc29x4||0==_0xfc29x5){null!=inlineRoutePatterns[_0xfc29x9-1][_0xfc29x2-1]&&(_0xfc29x3=inlineRoutePatterns[_0xfc29x9-1][_0xfc29x2-1])};return _0xfc29x3}},mxStyleRegistry={values:[],putValue:function(_0xfc29x2,_0xfc29x3){mxStyleRegistry[_0xa1fe[2245]][_0xfc29x2]=_0xfc29x3},getValue:function(_0xfc29x2){return mxStyleRegistry[_0xa1fe[2245]][_0xfc29x2]},getName:function(_0xfc29x2){for(var _0xfc29x3 in mxStyleRegistry[_0xa1fe[2245]]){if(mxStyleRegistry[_0xa1fe[2245]][_0xfc29x3]==_0xfc29x2){return _0xfc29x3}};return null}};mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry[_0xa1fe[2246]](mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry[_0xa1fe[2246]](mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);mxStyleRegistry[_0xa1fe[2246]](mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry[_0xa1fe[2246]](mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry[_0xa1fe[2246]](mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);function mxGraphView(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[513]]= new mxPoint;this[_0xa1fe[2247]]= new mxRectangle;this[_0xa1fe[1214]]= new mxDictionary}mxGraphView[_0xa1fe[202]]= new mxEventSource;mxGraphView[_0xa1fe[202]][_0xa1fe[196]]=mxGraphView;mxGraphView[_0xa1fe[202]][_0xa1fe[2248]]= new mxPoint;mxGraphView[_0xa1fe[202]][_0xa1fe[2091]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[819]:_0xa1fe[110];mxGraphView[_0xa1fe[202]][_0xa1fe[2249]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2250]:_0xa1fe[110];mxGraphView[_0xa1fe[202]][_0xa1fe[2251]]= !1;mxGraphView[_0xa1fe[202]][_0xa1fe[2252]]= !0;mxGraphView[_0xa1fe[202]][_0xa1fe[2253]]= !0;mxGraphView[_0xa1fe[202]][_0xa1fe[2254]]= !0;mxGraphView[_0xa1fe[202]][_0xa1fe[1179]]=null;mxGraphView[_0xa1fe[202]][_0xa1fe[1741]]=null;mxGraphView[_0xa1fe[202]][_0xa1fe[2247]]=null;mxGraphView[_0xa1fe[202]][_0xa1fe[255]]=1;mxGraphView[_0xa1fe[202]][_0xa1fe[513]]=null;mxGraphView[_0xa1fe[202]][_0xa1fe[2255]]= !1;mxGraphView[_0xa1fe[202]][_0xa1fe[517]]=function(){return this[_0xa1fe[2247]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2256]]=function(_0xfc29x2){this[_0xa1fe[2247]]=_0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[1799]]=function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){if(_0xfc29x4[_0xa1fe[1193]](_0xfc29x2[_0xfc29x5])||_0xfc29x4[_0xa1fe[250]](_0xfc29x2[_0xfc29x5])){var _0xfc29x9=this[_0xa1fe[248]](_0xfc29x2[_0xfc29x5]);null!=_0xfc29x9&&(null==_0xfc29x3?_0xfc29x3= new mxRectangle(_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]]):_0xfc29x3[_0xa1fe[99]](_0xfc29x9))}}};return _0xfc29x3};mxGraphView[_0xa1fe[202]][_0xa1fe[2257]]=function(_0xfc29x2){if(this[_0xa1fe[1741]]!=_0xfc29x2){var _0xfc29x3= new mxCurrentRootChange(this,_0xfc29x2);_0xfc29x3[_0xa1fe[350]]();var _0xfc29x4= new mxUndoableEdit(this,!1);_0xfc29x4[_0xa1fe[99]](_0xfc29x3);this[_0xa1fe[746]]( new mxEventObject(mxEvent.UNDO,_0xa1fe[1061],_0xfc29x4));this[_0xa1fe[1179]][_0xa1fe[2258]]()};return _0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[829]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[255]],_0xfc29x9= new mxPoint(this[_0xa1fe[513]][_0xa1fe[235]],this[_0xa1fe[513]][_0xa1fe[236]]);if(this[_0xa1fe[255]]!=_0xfc29x2||this[_0xa1fe[513]][_0xa1fe[235]]!=_0xfc29x3||this[_0xa1fe[513]][_0xa1fe[236]]!=_0xfc29x4){this[_0xa1fe[255]]=_0xfc29x2,this[_0xa1fe[513]][_0xa1fe[235]]=_0xfc29x3,this[_0xa1fe[513]][_0xa1fe[236]]=_0xfc29x4,this[_0xa1fe[503]]()&&(this[_0xa1fe[2259]](),this[_0xa1fe[1179]][_0xa1fe[2258]]())};this[_0xa1fe[746]]( new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,_0xa1fe[255],_0xfc29x2,_0xa1fe[2260],_0xfc29x5,_0xa1fe[513],this[_0xa1fe[513]],_0xa1fe[2261],_0xfc29x9))};mxGraphView[_0xa1fe[202]][_0xa1fe[518]]=function(){return this[_0xa1fe[255]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2262]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[255]];this[_0xa1fe[255]]!=_0xfc29x2&&(this[_0xa1fe[255]]=_0xfc29x2,this[_0xa1fe[503]]()&&(this[_0xa1fe[2259]](),this[_0xa1fe[1179]][_0xa1fe[2258]]()));this[_0xa1fe[746]]( new mxEventObject(mxEvent.SCALE,_0xa1fe[255],_0xfc29x2,_0xa1fe[2260],_0xfc29x3))};mxGraphView[_0xa1fe[202]][_0xa1fe[512]]=function(){return this[_0xa1fe[513]]};mxGraphView[_0xa1fe[202]][_0xa1fe[1147]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4= new mxPoint(this[_0xa1fe[513]][_0xa1fe[235]],this[_0xa1fe[513]][_0xa1fe[236]]);if(this[_0xa1fe[513]][_0xa1fe[235]]!=_0xfc29x2||this[_0xa1fe[513]][_0xa1fe[236]]!=_0xfc29x3){this[_0xa1fe[513]][_0xa1fe[235]]=_0xfc29x2,this[_0xa1fe[513]][_0xa1fe[236]]=_0xfc29x3,this[_0xa1fe[503]]()&&(this[_0xa1fe[2259]](),this[_0xa1fe[1179]][_0xa1fe[2258]]())};this[_0xa1fe[746]]( new mxEventObject(mxEvent.TRANSLATE,_0xa1fe[513],this[_0xa1fe[513]],_0xa1fe[2261],_0xfc29x4))};mxGraphView[_0xa1fe[202]][_0xa1fe[802]]=function(){null!=this[_0xa1fe[1741]]&&this[_0xa1fe[200]]();this[_0xa1fe[2259]]()};mxGraphView[_0xa1fe[202]][_0xa1fe[2259]]=function(){this[_0xa1fe[2263]]();this[_0xa1fe[2264]]()};mxGraphView[_0xa1fe[202]][_0xa1fe[200]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x2=_0xfc29x2||_0xfc29x5[_0xa1fe[501]]();_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;this[_0xa1fe[2265]](_0xfc29x2);if(_0xfc29x4&&(_0xfc29x3||_0xfc29x2!=this[_0xa1fe[1741]])){_0xfc29x4=_0xfc29x5[_0xa1fe[262]](_0xfc29x2);for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x4;_0xfc29x9++){this[_0xa1fe[200]](_0xfc29x5[_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x3)}}else {this[_0xa1fe[2263]](_0xfc29x2)}};mxGraphView[_0xa1fe[202]][_0xa1fe[2263]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x2=_0xfc29x2||_0xfc29x9[_0xa1fe[501]]();_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!1;var _0xfc29xa=this[_0xa1fe[248]](_0xfc29x2);null!=_0xfc29xa&&(_0xfc29xa[_0xa1fe[2080]]= !0,_0xfc29x5&&(_0xfc29xa[_0xa1fe[2082]]= !0));if(_0xfc29x3){for(var _0xfc29x12=_0xfc29x9[_0xa1fe[262]](_0xfc29x2),_0xfc29xa=0;_0xfc29xa<_0xfc29x12;_0xfc29xa++){var _0xfc29x13=_0xfc29x9[_0xa1fe[263]](_0xfc29x2,_0xfc29xa);this[_0xa1fe[2263]](_0xfc29x13,_0xfc29x3,_0xfc29x4,_0xfc29x5)}};if(_0xfc29x4){_0xfc29x5=_0xfc29x9[_0xa1fe[1707]](_0xfc29x2);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x5;_0xfc29xa++){this[_0xa1fe[2263]](_0xfc29x9[_0xa1fe[1708]](_0xfc29x2,_0xfc29xa),_0xfc29x3,_0xfc29x4)}}};mxGraphView[_0xa1fe[202]][_0xa1fe[2264]]=function(_0xfc29x2){var _0xfc29x3=mxLog[_0xa1fe[2109]](_0xa1fe[2266]);window[_0xa1fe[879]]=mxResources[_0xa1fe[203]](this[_0xa1fe[2249]])||this[_0xa1fe[2249]];var _0xfc29x4=null;if(this[_0xa1fe[2253]]&&null!=this[_0xa1fe[510]]&&null==this[_0xa1fe[1653]]&&(8==document[_0xa1fe[5]]||mxClient[_0xa1fe[496]])){_0xfc29x4=this[_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[495]];this[_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130];var _0xfc29x5=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x5[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x5[_0xa1fe[124]][_0xa1fe[493]]=_0xa1fe[494];_0xfc29x5[_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];_0xfc29x5[_0xa1fe[124]][_0xa1fe[495]]=mxClient[_0xa1fe[496]]?_0xa1fe[497]:_0xa1fe[498];_0xfc29x5[_0xa1fe[124]][_0xa1fe[499]]=_0xa1fe[500];document[_0xa1fe[112]][_0xa1fe[62]](_0xfc29x5);this[_0xa1fe[1653]]=_0xfc29x5};_0xfc29x2=_0xfc29x2||(null!=this[_0xa1fe[1741]]?this[_0xa1fe[1741]]:this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]]());this[_0xa1fe[2267]](null,_0xfc29x2);_0xfc29x2=this[_0xa1fe[2268]](null,_0xfc29x2);null==_0xfc29x2&&(_0xfc29x2= new mxRectangle);this[_0xa1fe[2256]](_0xfc29x2);this[_0xa1fe[2269]]();null!=_0xfc29x4&&(this[_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x4,document[_0xa1fe[112]][_0xa1fe[266]](this[_0xa1fe[1653]]),this[_0xa1fe[1653]]=null);window[_0xa1fe[879]]=mxResources[_0xa1fe[203]](this[_0xa1fe[2091]])||this[_0xa1fe[2091]];mxLog[_0xa1fe[2110]](_0xa1fe[2266],_0xfc29x3)};mxGraphView[_0xa1fe[202]][_0xa1fe[2270]]=function(_0xfc29x2){return new mxRectangleShape(_0xfc29x2,_0xa1fe[1391],_0xa1fe[586])};mxGraphView[_0xa1fe[202]][_0xa1fe[2269]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2271]]();if(null!=_0xfc29x2){if(null==this[_0xa1fe[1617]]||this[_0xa1fe[1617]][_0xa1fe[618]]!=_0xfc29x2[_0xa1fe[390]]){null!=this[_0xa1fe[1617]]&&this[_0xa1fe[1617]][_0xa1fe[515]]();var _0xfc29x3= new mxRectangle(0,0,1,1);this[_0xa1fe[1617]]= new mxImageShape(_0xfc29x3,_0xfc29x2[_0xa1fe[390]]);this[_0xa1fe[1617]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]];this[_0xa1fe[1617]][_0xa1fe[176]](this[_0xa1fe[2053]]);this[_0xa1fe[1617]][_0xa1fe[258]]()};this[_0xa1fe[2272]](this[_0xa1fe[1617]],_0xfc29x2)}else {null!=this[_0xa1fe[1617]]&&(this[_0xa1fe[1617]][_0xa1fe[515]](),this[_0xa1fe[1617]]=null)};this[_0xa1fe[1179]][_0xa1fe[2273]]?(_0xfc29x3=this[_0xa1fe[2274]](),null==this[_0xa1fe[2275]]?(this[_0xa1fe[2275]]=this[_0xa1fe[2270]](_0xfc29x3),this[_0xa1fe[2275]][_0xa1fe[255]]=this[_0xa1fe[255]],this[_0xa1fe[2275]][_0xa1fe[1596]]= !0,this[_0xa1fe[2275]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]],this[_0xa1fe[2275]][_0xa1fe[176]](this[_0xa1fe[2053]]),this[_0xa1fe[2275]][_0xa1fe[258]](),mxEvent[_0xa1fe[169]](this[_0xa1fe[2275]][_0xa1fe[252]],_0xa1fe[760],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[761]](_0xfc29x2)})),mxEvent[_0xa1fe[759]](this[_0xa1fe[2275]][_0xa1fe[252]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x2))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){null!=this[_0xa1fe[1179]][_0xa1fe[2276]]&&this[_0xa1fe[1179]][_0xa1fe[2276]][_0xa1fe[2277]]()&&this[_0xa1fe[1179]][_0xa1fe[2276]][_0xa1fe[801]]();this[_0xa1fe[1179]][_0xa1fe[1009]]&&!mxEvent[_0xa1fe[721]](_0xfc29x2)&&this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x2))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x2))}))):(this[_0xa1fe[2275]][_0xa1fe[255]]=this[_0xa1fe[255]],this[_0xa1fe[2275]][_0xa1fe[1562]]=_0xfc29x3,this[_0xa1fe[2275]][_0xa1fe[258]]())):null!=this[_0xa1fe[2275]]&&(this[_0xa1fe[2275]][_0xa1fe[515]](),this[_0xa1fe[2275]]=null)};mxGraphView[_0xa1fe[202]][_0xa1fe[2274]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2013]],_0xfc29x3=this[_0xa1fe[255]]*this[_0xa1fe[1179]][_0xa1fe[2012]];return new mxRectangle(this[_0xa1fe[255]]*this[_0xa1fe[513]][_0xa1fe[235]],this[_0xa1fe[255]]*this[_0xa1fe[513]][_0xa1fe[236]],_0xfc29x2[_0xa1fe[117]]*_0xfc29x3,_0xfc29x2[_0xa1fe[119]]*_0xfc29x3)};mxGraphView[_0xa1fe[202]][_0xa1fe[2272]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[255]]=this[_0xa1fe[255]];_0xfc29x2[_0xa1fe[1562]][_0xa1fe[235]]=this[_0xa1fe[255]]*this[_0xa1fe[513]][_0xa1fe[235]];_0xfc29x2[_0xa1fe[1562]][_0xa1fe[236]]=this[_0xa1fe[255]]*this[_0xa1fe[513]][_0xa1fe[236]];_0xfc29x2[_0xa1fe[1562]][_0xa1fe[117]]=this[_0xa1fe[255]]*_0xfc29x3[_0xa1fe[117]];_0xfc29x2[_0xa1fe[1562]][_0xa1fe[119]]=this[_0xa1fe[255]]*_0xfc29x3[_0xa1fe[119]];_0xfc29x2[_0xa1fe[258]]()};mxGraphView[_0xa1fe[202]][_0xa1fe[2267]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=this[_0xa1fe[248]](_0xfc29x3,!0);if(null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[2080]]){if(this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x3)){if(_0xfc29x3!=this[_0xa1fe[1741]]&&null!=_0xfc29x2){_0xfc29x5[_0xa1fe[2079]][_0xa1fe[235]]=0;_0xfc29x5[_0xa1fe[2079]][_0xa1fe[236]]=0;_0xfc29x5[_0xa1fe[2078]][_0xa1fe[235]]=_0xfc29x2[_0xa1fe[2078]][_0xa1fe[235]];_0xfc29x5[_0xa1fe[2078]][_0xa1fe[236]]=_0xfc29x2[_0xa1fe[2078]][_0xa1fe[236]];var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x3);if(null!=_0xfc29x9){if(!_0xfc29x4[_0xa1fe[250]](_0xfc29x3)){var _0xfc29xa=_0xfc29x9[_0xa1fe[1368]]||this[_0xa1fe[2248]];_0xfc29x9[_0xa1fe[1500]]?(_0xfc29x5[_0xa1fe[2078]][_0xa1fe[235]]+=_0xfc29x9[_0xa1fe[235]]*_0xfc29x2[_0xa1fe[117]]/this[_0xa1fe[255]]+_0xfc29xa[_0xa1fe[235]],_0xfc29x5[_0xa1fe[2078]][_0xa1fe[236]]+=_0xfc29x9[_0xa1fe[236]]*_0xfc29x2[_0xa1fe[119]]/this[_0xa1fe[255]]+_0xfc29xa[_0xa1fe[236]]):(_0xfc29x5[_0xa1fe[2079]][_0xa1fe[235]]=this[_0xa1fe[255]]*_0xfc29xa[_0xa1fe[235]],_0xfc29x5[_0xa1fe[2079]][_0xa1fe[236]]=this[_0xa1fe[255]]*_0xfc29xa[_0xa1fe[236]],_0xfc29x5[_0xa1fe[2078]][_0xa1fe[235]]+=_0xfc29x9[_0xa1fe[235]],_0xfc29x5[_0xa1fe[2078]][_0xa1fe[236]]+=_0xfc29x9[_0xa1fe[236]])};_0xfc29x5[_0xa1fe[235]]=this[_0xa1fe[255]]*(this[_0xa1fe[513]][_0xa1fe[235]]+_0xfc29x5[_0xa1fe[2078]][_0xa1fe[235]]);_0xfc29x5[_0xa1fe[236]]=this[_0xa1fe[255]]*(this[_0xa1fe[513]][_0xa1fe[236]]+_0xfc29x5[_0xa1fe[2078]][_0xa1fe[236]]);_0xfc29x5[_0xa1fe[117]]=this[_0xa1fe[255]]*_0xfc29x9[_0xa1fe[117]];_0xfc29x5[_0xa1fe[119]]=this[_0xa1fe[255]]*_0xfc29x9[_0xa1fe[119]];if(_0xfc29x4[_0xa1fe[1193]](_0xfc29x3)){if(_0xfc29x9[_0xa1fe[1500]]&&(_0xfc29xa=mxUtils[_0xa1fe[431]](_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),0!=_0xfc29xa)){var _0xfc29x9=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29xa=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x12= new mxPoint(_0xfc29x5[_0xa1fe[241]](),_0xfc29x5[_0xa1fe[242]]()),_0xfc29x13= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]()),_0xfc29x9=mxUtils[_0xa1fe[432]](_0xfc29x12,_0xfc29x9,_0xfc29xa,_0xfc29x13);_0xfc29x5[_0xa1fe[235]]=_0xfc29x9[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[117]]/2;_0xfc29x5[_0xa1fe[236]]=_0xfc29x9[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[119]]/2};this[_0xa1fe[2279]](_0xfc29x5)}}}}else {this[_0xa1fe[2265]](_0xfc29x3)};_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[2280]](_0xfc29x3);null!=_0xfc29xa&&(_0xfc29x5[_0xa1fe[2078]][_0xa1fe[235]]+=_0xfc29xa[_0xa1fe[235]],_0xfc29x5[_0xa1fe[2078]][_0xa1fe[236]]+=_0xfc29xa[_0xa1fe[236]])};if(null!=_0xfc29x5&&(!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x3)||_0xfc29x3==this[_0xa1fe[1741]])){_0xfc29x9=_0xfc29x4[_0xa1fe[262]](_0xfc29x3);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){_0xfc29x12=_0xfc29x4[_0xa1fe[263]](_0xfc29x3,_0xfc29xa),this[_0xa1fe[2267]](_0xfc29x5,_0xfc29x12)}}};mxGraphView[_0xa1fe[202]][_0xa1fe[2279]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0xfc29x3==mxConstants[_0xa1fe[2132]]?_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]]-=_0xfc29x2[_0xa1fe[117]]:_0xfc29x3==mxConstants[_0xa1fe[480]]&&(_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]]+=_0xfc29x2[_0xa1fe[117]]);_0xfc29x3=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0xfc29x3==mxConstants[_0xa1fe[1687]]?_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]-=_0xfc29x2[_0xa1fe[119]]:_0xfc29x3==mxConstants[_0xa1fe[482]]&&(_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]+=_0xfc29x2[_0xa1fe[119]])};mxGraphView[_0xa1fe[202]][_0xa1fe[2268]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=this[_0xa1fe[248]](_0xfc29x3),_0xfc29x9=null;if(null!=_0xfc29x5){if(_0xfc29x5[_0xa1fe[2080]]){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x3);if(null!=_0xfc29xa&&_0xfc29x4[_0xa1fe[250]](_0xfc29x3)){var _0xfc29x12=this[_0xa1fe[248]](this[_0xa1fe[1710]](_0xfc29x3,!0));_0xfc29x5[_0xa1fe[2090]](_0xfc29x12,!0);if(null!=_0xfc29x12&&_0xfc29x4[_0xa1fe[250]](_0xfc29x12[_0xa1fe[246]])&&!_0xfc29x4[_0xa1fe[1720]](_0xfc29x12[_0xa1fe[246]],_0xfc29x3)){var _0xfc29x13=this[_0xa1fe[248]](_0xfc29x4[_0xa1fe[1197]](_0xfc29x12[_0xa1fe[246]]));this[_0xa1fe[2268]](_0xfc29x13,_0xfc29x12[_0xa1fe[246]])};var _0xfc29x14=this[_0xa1fe[248]](this[_0xa1fe[1710]](_0xfc29x3,!1));_0xfc29x5[_0xa1fe[2090]](_0xfc29x14,!1);null!=_0xfc29x14&&(_0xfc29x4[_0xa1fe[250]](_0xfc29x14[_0xa1fe[246]])&&!_0xfc29x4[_0xa1fe[1720]](_0xfc29x14[_0xa1fe[246]],_0xfc29x3))&&(_0xfc29x13=this[_0xa1fe[248]](_0xfc29x4[_0xa1fe[1197]](_0xfc29x14[_0xa1fe[246]])),this[_0xa1fe[2268]](_0xfc29x13,_0xfc29x14[_0xa1fe[246]]));this[_0xa1fe[2281]](_0xfc29x5,_0xfc29x12,_0xfc29x14);this[_0xa1fe[2282]](_0xfc29x5,_0xfc29xa[_0xa1fe[1525]],_0xfc29x12,_0xfc29x14);this[_0xa1fe[2283]](_0xfc29x5,_0xfc29x12,_0xfc29x14);this[_0xa1fe[2284]](_0xfc29x5);this[_0xa1fe[2285]](_0xfc29x5)}else {null!=_0xfc29xa&&(_0xfc29xa[_0xa1fe[1500]]&&null!=_0xfc29x2&&_0xfc29x4[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]))&&(_0xfc29xa=this[_0xa1fe[245]](_0xfc29x2,_0xfc29xa),null!=_0xfc29xa&&(_0xfc29x5[_0xa1fe[235]]=_0xfc29xa[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]]=_0xfc29xa[_0xa1fe[236]],_0xfc29xa[_0xa1fe[235]]=_0xfc29xa[_0xa1fe[235]]/this[_0xa1fe[255]]-this[_0xa1fe[513]][_0xa1fe[235]],_0xfc29xa[_0xa1fe[236]]=_0xfc29xa[_0xa1fe[236]]/this[_0xa1fe[255]]-this[_0xa1fe[513]][_0xa1fe[236]],_0xfc29x5[_0xa1fe[2078]]=_0xfc29xa,this[_0xa1fe[2286]](_0xfc29x2,_0xfc29x5)))};_0xfc29x5[_0xa1fe[2080]]= !1;_0xfc29x3!=this[_0xa1fe[1741]]&&this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[258]](_0xfc29x5,!1,this[_0xa1fe[2287]]())};if(_0xfc29x4[_0xa1fe[250]](_0xfc29x3)||_0xfc29x4[_0xa1fe[1193]](_0xfc29x3)){null!=_0xfc29x5[_0xa1fe[253]]&&null!=_0xfc29x5[_0xa1fe[253]][_0xa1fe[1563]]&&(_0xfc29x9=_0xfc29x5[_0xa1fe[253]][_0xa1fe[1563]][_0xa1fe[238]]()),null!=_0xfc29x5[_0xa1fe[963]]&&!this[_0xa1fe[1179]][_0xa1fe[2130]](_0xfc29x5[_0xa1fe[246]])&&null!=_0xfc29x5[_0xa1fe[963]][_0xa1fe[1563]]&&(null!=_0xfc29x9?_0xfc29x9[_0xa1fe[99]](_0xfc29x5[_0xa1fe[963]][_0xa1fe[1563]]):_0xfc29x9=_0xfc29x5[_0xa1fe[963]][_0xa1fe[1563]][_0xa1fe[238]]())}};if(null!=_0xfc29x5&&(!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x3)||_0xfc29x3==this[_0xa1fe[1741]])){_0xfc29xa=_0xfc29x4[_0xa1fe[262]](_0xfc29x3);for(_0xfc29x12=0;_0xfc29x12<_0xfc29xa;_0xfc29x12++){_0xfc29x13=_0xfc29x4[_0xa1fe[263]](_0xfc29x3,_0xfc29x12),_0xfc29x13=this[_0xa1fe[2268]](_0xfc29x5,_0xfc29x13),null!=_0xfc29x13&&(null==_0xfc29x9?_0xfc29x9=_0xfc29x13:_0xfc29x9[_0xa1fe[99]](_0xfc29x13))}};return _0xfc29x9};mxGraphView[_0xa1fe[202]][_0xa1fe[2286]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x3[_0xa1fe[246]];if(!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x4)||_0xfc29x4==this[_0xa1fe[1741]]){for(var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[262]](_0xfc29x4),_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){this[_0xa1fe[2267]](_0xfc29x3,_0xfc29x5[_0xa1fe[263]](_0xfc29x4,_0xfc29xa))}}};mxGraphView[_0xa1fe[202]][_0xa1fe[2281]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[2289]](_0xfc29x2,_0xfc29x3,!0,this[_0xa1fe[1179]][_0xa1fe[2288]](_0xfc29x2,_0xfc29x3,!0));this[_0xa1fe[2289]](_0xfc29x2,_0xfc29x4,!1,this[_0xa1fe[1179]][_0xa1fe[2288]](_0xfc29x2,_0xfc29x4,!1))};mxGraphView[_0xa1fe[202]][_0xa1fe[2289]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;null!=_0xfc29x5&&(_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[2290]](_0xfc29x3,_0xfc29x5));if(null==_0xfc29x9&&null==_0xfc29x3){_0xfc29x3=this[_0xa1fe[255]];_0xfc29x5=this[_0xa1fe[513]];var _0xfc29xa=_0xfc29x2[_0xa1fe[2078]],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x2[_0xa1fe[246]])[_0xa1fe[2006]](_0xfc29x4);null!=_0xfc29x9&&(_0xfc29x9= new mxPoint(_0xfc29x3*(_0xfc29x5[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[235]]+_0xfc29xa[_0xa1fe[235]]),_0xfc29x3*(_0xfc29x5[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[236]]+_0xfc29xa[_0xa1fe[236]])))};_0xfc29x2[_0xa1fe[2088]](_0xfc29x9,_0xfc29x4)};mxGraphView[_0xa1fe[202]][_0xa1fe[2282]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x2){var _0xfc29x9=[];_0xfc29x9[_0xa1fe[207]](_0xfc29x2[_0xa1fe[439]][0]);var _0xfc29xa=this[_0xa1fe[2291]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);if(null!=_0xfc29xa){_0xfc29x4=this[_0xa1fe[2292]](_0xfc29x2,_0xfc29x4,!0),_0xfc29x5=this[_0xa1fe[2292]](_0xfc29x2,_0xfc29x5,!1),_0xfc29xa(_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x3,_0xfc29x9)}else {if(null!=_0xfc29x3){for(_0xfc29xa=0;_0xfc29xa<_0xfc29x3[_0xa1fe[67]];_0xfc29xa++){null!=_0xfc29x3[_0xfc29xa]&&(_0xfc29x5=mxUtils[_0xa1fe[238]](_0xfc29x3[_0xfc29xa]),_0xfc29x9[_0xa1fe[207]](this[_0xa1fe[2229]](_0xfc29x2,_0xfc29x5)))}}};_0xfc29x3=_0xfc29x2[_0xa1fe[439]];_0xfc29x9[_0xa1fe[207]](_0xfc29x3[_0xfc29x3[_0xa1fe[67]]-1]);_0xfc29x2[_0xa1fe[439]]=_0xfc29x9}};mxGraphView[_0xa1fe[202]][_0xa1fe[2229]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[2078]];return new mxPoint(this[_0xa1fe[255]]*(_0xfc29x3[_0xa1fe[235]]+this[_0xa1fe[513]][_0xa1fe[235]]+_0xfc29x4[_0xa1fe[235]]),this[_0xa1fe[255]]*(_0xfc29x3[_0xa1fe[236]]+this[_0xa1fe[513]][_0xa1fe[236]]+_0xfc29x4[_0xa1fe[236]]))};mxGraphView[_0xa1fe[202]][_0xa1fe[2291]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x2=null!=_0xfc29x4&&_0xfc29x4==_0xfc29x5?mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_LOOP,this[_0xa1fe[1179]][_0xa1fe[2293]]):!mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_NOEDGESTYLE,!1)?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2294]]]:null;_0xa1fe[1516]== typeof _0xfc29x2&&(_0xfc29x3=mxStyleRegistry[_0xa1fe[433]](_0xfc29x2),null==_0xfc29x3&&this[_0xa1fe[2295]]()&&(_0xfc29x3=mxUtils[_0xa1fe[1545]](_0xfc29x2)),_0xfc29x2=_0xfc29x3);return _0xa1fe[279]== typeof _0xfc29x2?_0xfc29x2:null};mxGraphView[_0xa1fe[202]][_0xa1fe[2283]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[439]],_0xfc29x9=_0xfc29x5[0];null==_0xfc29x5[_0xfc29x5[_0xa1fe[67]]-1]&&null!=_0xfc29x4&&this[_0xa1fe[2296]](_0xfc29x2,_0xfc29x4,_0xfc29x3,!1);null==_0xfc29x9&&null!=_0xfc29x3&&this[_0xa1fe[2296]](_0xfc29x2,_0xfc29x3,_0xfc29x4,!0)};mxGraphView[_0xa1fe[202]][_0xa1fe[2296]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=this[_0xa1fe[2292]](_0xfc29x2,_0xfc29x3,_0xfc29x5);var _0xfc29x9=this[_0xa1fe[2297]](_0xfc29x2,_0xfc29x4,_0xfc29x5),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[2298]](_0xfc29x2);_0xfc29x4=mxUtils[_0xa1fe[431]](Number(_0xfc29x3[_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]));var _0xfc29x12= new mxPoint(_0xfc29x3[_0xa1fe[241]](),_0xfc29x3[_0xa1fe[242]]());if(0!=_0xfc29x4){var _0xfc29x13=Math[_0xa1fe[426]](-_0xfc29x4),_0xfc29x14=Math[_0xa1fe[427]](-_0xfc29x4),_0xfc29x9=mxUtils[_0xa1fe[432]](_0xfc29x9,_0xfc29x13,_0xfc29x14,_0xfc29x12)};_0xfc29x13=parseFloat(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2299]]]||0);_0xfc29x13+=parseFloat(_0xfc29x2[_0xa1fe[124]][_0xfc29x5?mxConstants[_0xa1fe[2300]]:mxConstants[_0xa1fe[2301]]]||0);_0xfc29x3=this[_0xa1fe[2302]](_0xfc29x3,_0xfc29x9,0==_0xfc29x4&&_0xfc29xa,_0xfc29x13);0!=_0xfc29x4&&(_0xfc29x13=Math[_0xa1fe[426]](_0xfc29x4),_0xfc29x14=Math[_0xa1fe[427]](_0xfc29x4),_0xfc29x3=mxUtils[_0xa1fe[432]](_0xfc29x3,_0xfc29x13,_0xfc29x14,_0xfc29x12));_0xfc29x2[_0xa1fe[2088]](_0xfc29x3,_0xfc29x5)};mxGraphView[_0xa1fe[202]][_0xa1fe[2292]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],_0xfc29x4?mxConstants[_0xa1fe[2303]]:mxConstants[_0xa1fe[2304]]);null!=_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[248]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[736]](_0xfc29x2)),null!=_0xfc29x2&&(_0xfc29x3=_0xfc29x2));return _0xfc29x3};mxGraphView[_0xa1fe[202]][_0xa1fe[2302]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;if(null!=_0xfc29x2){var _0xfc29xa=this[_0xa1fe[2305]](_0xfc29x2);if(null!=_0xfc29xa&&null!=_0xfc29x3&&(_0xfc29x5=this[_0xa1fe[2087]](_0xfc29x2,_0xfc29x5),0<_0xfc29x5[_0xa1fe[117]]||0<_0xfc29x5[_0xa1fe[119]])){_0xfc29x9=_0xfc29xa(_0xfc29x5,_0xfc29x2,_0xfc29x3,_0xfc29x4)};null==_0xfc29x9&&(_0xfc29x9=this[_0xa1fe[245]](_0xfc29x2))};return _0xfc29x9};mxGraphView[_0xa1fe[202]][_0xa1fe[2230]]=function(_0xfc29x2){var _0xfc29x3=null!=_0xfc29x2[_0xa1fe[124]]?parseFloat(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2306]]])||0:0;return _0xfc29x2[_0xa1fe[241]]()+_0xfc29x3*_0xfc29x2[_0xa1fe[117]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2228]]=function(_0xfc29x2){var _0xfc29x3=null!=_0xfc29x2[_0xa1fe[124]]?parseFloat(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2307]]])||0:0;return _0xfc29x2[_0xa1fe[242]]()+_0xfc29x3*_0xfc29x2[_0xa1fe[119]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2087]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:0;null!=_0xfc29x2&&(_0xfc29x3+=parseFloat(_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2299]]]||0));return _0xfc29x2[_0xa1fe[2087]](_0xfc29x3*this[_0xa1fe[255]])};mxGraphView[_0xa1fe[202]][_0xa1fe[2305]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2061]]];if(_0xa1fe[1516]== typeof _0xfc29x2){var _0xfc29x3=mxStyleRegistry[_0xa1fe[433]](_0xfc29x2);null==_0xfc29x3&&this[_0xa1fe[2295]]()&&(_0xfc29x3=mxUtils[_0xa1fe[1545]](_0xfc29x2));_0xfc29x2=_0xfc29x3};return _0xa1fe[279]== typeof _0xfc29x2?_0xfc29x2:null};mxGraphView[_0xa1fe[202]][_0xa1fe[2297]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=_0xfc29x2[_0xa1fe[439]];var _0xfc29x5=null;if(null!=_0xfc29x2&&(_0xfc29x4||2<_0xfc29x2[_0xa1fe[67]]||null==_0xfc29x3)){_0xfc29x5=_0xfc29x2[_0xa1fe[67]],_0xfc29x5=_0xfc29x2[_0xfc29x4?Math[_0xa1fe[243]](1,_0xfc29x5-1):Math[_0xa1fe[160]](0,_0xfc29x5-2)]};null==_0xfc29x5&&null!=_0xfc29x3&&(_0xfc29x5= new mxPoint(_0xfc29x3[_0xa1fe[241]](),_0xfc29x3[_0xa1fe[242]]()));return _0xfc29x5};mxGraphView[_0xa1fe[202]][_0xa1fe[1710]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x4[_0xa1fe[1709]](_0xfc29x2,_0xfc29x3),_0xfc29x9=_0xfc29x5;null!=_0xfc29x5&&_0xfc29x5!=this[_0xa1fe[1741]];){if(!this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x9)||this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x5)){_0xfc29x9=_0xfc29x5};_0xfc29x5=_0xfc29x4[_0xa1fe[1197]](_0xfc29x5)};_0xfc29x4[_0xa1fe[1197]](_0xfc29x9)==_0xfc29x4[_0xa1fe[501]]()&&(_0xfc29x9=null);return _0xfc29x9};mxGraphView[_0xa1fe[202]][_0xa1fe[2284]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[439]];_0xfc29x2[_0xa1fe[67]]=0;if(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]){var _0xfc29x4=_0xfc29x3[0],_0xfc29x5=_0xfc29x3[_0xfc29x3[_0xa1fe[67]]-1];if(null==_0xfc29x4||null==_0xfc29x5){_0xfc29x2[_0xa1fe[246]]!=this[_0xa1fe[1741]]&&this[_0xa1fe[200]](_0xfc29x2[_0xa1fe[246]],!0)}else {if(_0xfc29x4[_0xa1fe[235]]!=_0xfc29x5[_0xa1fe[235]]||_0xfc29x4[_0xa1fe[236]]!=_0xfc29x5[_0xa1fe[236]]){var _0xfc29x9=_0xfc29x5[_0xa1fe[235]]-_0xfc29x4[_0xa1fe[235]],_0xfc29xa=_0xfc29x5[_0xa1fe[236]]-_0xfc29x4[_0xa1fe[236]];_0xfc29x2[_0xa1fe[2085]]=Math[_0xa1fe[428]](_0xfc29x9*_0xfc29x9+_0xfc29xa*_0xfc29xa)}else {_0xfc29x2[_0xa1fe[2085]]=0};var _0xfc29x5=0,_0xfc29x12=[],_0xfc29xa=_0xfc29x4;if(null!=_0xfc29xa){for(var _0xfc29x4=_0xfc29xa[_0xa1fe[235]],_0xfc29x13=_0xfc29xa[_0xa1fe[236]],_0xfc29x14=_0xfc29x4,_0xfc29x15=_0xfc29x13,_0xfc29x16=1;_0xfc29x16<_0xfc29x3[_0xa1fe[67]];_0xfc29x16++){var _0xfc29x17=_0xfc29x3[_0xfc29x16];null!=_0xfc29x17&&(_0xfc29x9=_0xfc29xa[_0xa1fe[235]]-_0xfc29x17[_0xa1fe[235]],_0xfc29xa=_0xfc29xa[_0xa1fe[236]]-_0xfc29x17[_0xa1fe[236]],_0xfc29x9=Math[_0xa1fe[428]](_0xfc29x9*_0xfc29x9+_0xfc29xa*_0xfc29xa),_0xfc29x12[_0xa1fe[207]](_0xfc29x9),_0xfc29x5+=_0xfc29x9,_0xfc29xa=_0xfc29x17,_0xfc29x4=Math[_0xa1fe[243]](_0xfc29xa[_0xa1fe[235]],_0xfc29x4),_0xfc29x13=Math[_0xa1fe[243]](_0xfc29xa[_0xa1fe[236]],_0xfc29x13),_0xfc29x14=Math[_0xa1fe[160]](_0xfc29xa[_0xa1fe[235]],_0xfc29x14),_0xfc29x15=Math[_0xa1fe[160]](_0xfc29xa[_0xa1fe[236]],_0xfc29x15))};_0xfc29x2[_0xa1fe[67]]=_0xfc29x5;_0xfc29x2[_0xa1fe[2086]]=_0xfc29x12;_0xfc29x2[_0xa1fe[235]]=_0xfc29x4;_0xfc29x2[_0xa1fe[236]]=_0xfc29x13;_0xfc29x2[_0xa1fe[117]]=Math[_0xa1fe[160]](1,_0xfc29x14-_0xfc29x4);_0xfc29x2[_0xa1fe[119]]=Math[_0xa1fe[160]](1,_0xfc29x15-_0xfc29x13)}}}};mxGraphView[_0xa1fe[202]][_0xa1fe[245]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[241]](),_0xfc29x5=_0xfc29x2[_0xa1fe[242]]();if(null!=_0xfc29x2[_0xa1fe[2086]]&&(null==_0xfc29x3||_0xfc29x3[_0xa1fe[1500]])){for(var _0xfc29x9=_0xfc29x2[_0xa1fe[439]][_0xa1fe[67]],_0xfc29xa=((null!=_0xfc29x3?_0xfc29x3[_0xa1fe[235]]/2:0)+0.5)*_0xfc29x2[_0xa1fe[67]],_0xfc29x12=_0xfc29x2[_0xa1fe[2086]][0],_0xfc29x13=0,_0xfc29x14=1;_0xfc29xa>_0xfc29x13+_0xfc29x12&&_0xfc29x14<_0xfc29x9-1;){_0xfc29x13+=_0xfc29x12,_0xfc29x12=_0xfc29x2[_0xa1fe[2086]][_0xfc29x14++]};_0xfc29x9=0==_0xfc29x12?0:(_0xfc29xa-_0xfc29x13)/_0xfc29x12;_0xfc29xa=_0xfc29x2[_0xa1fe[439]][_0xfc29x14-1];_0xfc29x14=_0xfc29x2[_0xa1fe[439]][_0xfc29x14];if(null!=_0xfc29xa&&null!=_0xfc29x14){_0xfc29x13=_0xfc29x4=_0xfc29x5=0;if(null!=_0xfc29x3){var _0xfc29x5=_0xfc29x3[_0xa1fe[236]],_0xfc29x15=_0xfc29x3[_0xa1fe[1368]];null!=_0xfc29x15&&(_0xfc29x4=_0xfc29x15[_0xa1fe[235]],_0xfc29x13=_0xfc29x15[_0xa1fe[236]])};_0xfc29x15=_0xfc29x14[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]];_0xfc29x14=_0xfc29x14[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]];_0xfc29x4=_0xfc29xa[_0xa1fe[235]]+_0xfc29x15*_0xfc29x9+((0==_0xfc29x12?0:_0xfc29x14/_0xfc29x12)*_0xfc29x5+_0xfc29x4)*this[_0xa1fe[255]];_0xfc29x5=_0xfc29xa[_0xa1fe[236]]+_0xfc29x14*_0xfc29x9-((0==_0xfc29x12?0:_0xfc29x15/_0xfc29x12)*_0xfc29x5-_0xfc29x13)*this[_0xa1fe[255]]}}else {null!=_0xfc29x3&&(_0xfc29x15=_0xfc29x3[_0xa1fe[1368]],null!=_0xfc29x15&&(_0xfc29x4+=_0xfc29x15[_0xa1fe[235]],_0xfc29x5+=_0xfc29x15[_0xa1fe[236]]))};return new mxPoint(_0xfc29x4,_0xfc29x5)};mxGraphView[_0xa1fe[202]][_0xa1fe[2308]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1721]](_0xfc29x2[_0xa1fe[246]]);if(null!=_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[439]][_0xa1fe[67]];if(_0xfc29x5[_0xa1fe[1500]]&&1<_0xfc29x9){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[67]],_0xfc29xa=_0xfc29x2[_0xa1fe[2086]],_0xfc29x12=_0xfc29x2[_0xa1fe[439]][0],_0xfc29x13=_0xfc29x2[_0xa1fe[439]][1],_0xfc29x14=mxUtils[_0xa1fe[440]](_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x3,_0xfc29x4),_0xfc29x15=0,_0xfc29x16=0,_0xfc29x17=0,_0xfc29x18=2;_0xfc29x18<_0xfc29x9;_0xfc29x18++){_0xfc29x16+=_0xfc29xa[_0xfc29x18-2],_0xfc29x13=_0xfc29x2[_0xa1fe[439]][_0xfc29x18],_0xfc29x12=mxUtils[_0xa1fe[440]](_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x3,_0xfc29x4),_0xfc29x12<=_0xfc29x14&&(_0xfc29x14=_0xfc29x12,_0xfc29x15=_0xfc29x18-1,_0xfc29x17=_0xfc29x16),_0xfc29x12=_0xfc29x13};_0xfc29x9=_0xfc29xa[_0xfc29x15];_0xfc29x12=_0xfc29x2[_0xa1fe[439]][_0xfc29x15];_0xfc29x13=_0xfc29x2[_0xa1fe[439]][_0xfc29x15+1];_0xfc29x14=_0xfc29x13[_0xa1fe[235]];_0xfc29xa=_0xfc29x13[_0xa1fe[236]];_0xfc29x2=_0xfc29x12[_0xa1fe[235]]-_0xfc29x14;_0xfc29x15=_0xfc29x12[_0xa1fe[236]]-_0xfc29xa;_0xfc29x14=_0xfc29x3-_0xfc29x14;_0xfc29xa=_0xfc29x4-_0xfc29xa;_0xfc29x14=_0xfc29x2-_0xfc29x14;_0xfc29xa=_0xfc29x15-_0xfc29xa;_0xfc29xa=_0xfc29x14*_0xfc29x2+_0xfc29xa*_0xfc29x15;_0xfc29x2=Math[_0xa1fe[428]](0>=_0xfc29xa?0:_0xfc29xa*_0xfc29xa/(_0xfc29x2*_0xfc29x2+_0xfc29x15*_0xfc29x15));_0xfc29x2>_0xfc29x9&&(_0xfc29x2=_0xfc29x9);_0xfc29x9=Math[_0xa1fe[428]](mxUtils[_0xa1fe[440]](_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x3,_0xfc29x4));-1==mxUtils[_0xa1fe[2309]](_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x13[_0xa1fe[235]],_0xfc29x13[_0xa1fe[236]],_0xfc29x3,_0xfc29x4)&&(_0xfc29x9= -_0xfc29x9);return new mxPoint(-2*((_0xfc29x5/2-_0xfc29x17-_0xfc29x2)/_0xfc29x5),_0xfc29x9/this[_0xa1fe[255]])}};return new mxPoint};mxGraphView[_0xa1fe[202]][_0xa1fe[2285]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[439]];_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]]=_0xfc29x2[_0xa1fe[241]]();_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]=_0xfc29x2[_0xa1fe[242]]();if(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]&&null!=_0xfc29x2[_0xa1fe[2086]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x2[_0xa1fe[246]]);if(_0xfc29x4[_0xa1fe[1500]]){var _0xfc29x5=this[_0xa1fe[245]](_0xfc29x2,_0xfc29x4);null!=_0xfc29x5&&(_0xfc29x2[_0xa1fe[2079]]=_0xfc29x5)}else {var _0xfc29x5=_0xfc29x3[0],_0xfc29x9=_0xfc29x3[_0xfc29x3[_0xa1fe[67]]-1];if(null!=_0xfc29x5&&null!=_0xfc29x9){var _0xfc29x3=_0xfc29x9[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[235]],_0xfc29xa=_0xfc29x9[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[236]],_0xfc29x12=_0xfc29x9=0,_0xfc29x4=_0xfc29x4[_0xa1fe[1368]];null!=_0xfc29x4&&(_0xfc29x9=_0xfc29x4[_0xa1fe[235]],_0xfc29x12=_0xfc29x4[_0xa1fe[236]]);_0xfc29x4=_0xfc29x5[_0xa1fe[236]]+_0xfc29xa/2+_0xfc29x12*this[_0xa1fe[255]];_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]]=_0xfc29x5[_0xa1fe[235]]+_0xfc29x3/2+_0xfc29x9*this[_0xa1fe[255]];_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]=_0xfc29x4}}}};mxGraphView[_0xa1fe[202]][_0xa1fe[248]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3|| !1;var _0xfc29x4=null;null!=_0xfc29x2&&(_0xfc29x4=this[_0xa1fe[1214]][_0xa1fe[203]](_0xfc29x2),this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2)&&(null==_0xfc29x4&&_0xfc29x3&&this[_0xa1fe[1179]][_0xa1fe[1714]](_0xfc29x2)?(_0xfc29x4=this[_0xa1fe[1230]](_0xfc29x2),this[_0xa1fe[1214]][_0xa1fe[204]](_0xfc29x2,_0xfc29x4)):_0xfc29x3&&(null!=_0xfc29x4&&this[_0xa1fe[2255]])&&(_0xfc29x4[_0xa1fe[124]]=this[_0xa1fe[1179]][_0xa1fe[1705]](_0xfc29x2))));return _0xfc29x4};mxGraphView[_0xa1fe[202]][_0xa1fe[2287]]=function(){return this[_0xa1fe[2254]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2310]]=function(_0xfc29x2){this[_0xa1fe[2254]]=_0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[2295]]=function(){return this[_0xa1fe[2251]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2311]]=function(_0xfc29x2){this[_0xa1fe[2251]]=_0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[2312]]=function(){return this[_0xa1fe[1214]]};mxGraphView[_0xa1fe[202]][_0xa1fe[1517]]=function(_0xfc29x2){this[_0xa1fe[1214]]=_0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[2313]]=function(_0xfc29x2){if(null==_0xfc29x2){return this[_0xa1fe[1214]]};for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=this[_0xa1fe[248]](_0xfc29x2[_0xfc29x4]);null!=_0xfc29x5&&_0xfc29x3[_0xa1fe[207]](_0xfc29x5)};return _0xfc29x3};mxGraphView[_0xa1fe[202]][_0xa1fe[2265]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[1214]][_0xa1fe[205]](_0xfc29x2),null!=_0xfc29x3&&(this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[515]](_0xfc29x3),_0xfc29x3[_0xa1fe[515]]()));return _0xfc29x3};mxGraphView[_0xa1fe[202]][_0xa1fe[1230]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[1705]](_0xfc29x2);_0xfc29x2= new mxCellState(this,_0xfc29x2,_0xfc29x3);this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[2155]](_0xfc29x2,this[_0xa1fe[2287]]());return _0xfc29x2};mxGraphView[_0xa1fe[202]][_0xa1fe[2051]]=function(){return this[_0xa1fe[510]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2052]]=function(){return this[_0xa1fe[2053]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2024]]=function(){return this[_0xa1fe[505]]};mxGraphView[_0xa1fe[202]][_0xa1fe[1524]]=function(){return this[_0xa1fe[506]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2314]]=function(_0xfc29x2){_0xfc29x2=mxEvent[_0xa1fe[728]](_0xfc29x2);return _0xfc29x2==this[_0xa1fe[1179]][_0xa1fe[526]]||_0xfc29x2[_0xa1fe[265]]==this[_0xa1fe[2053]]||null!=_0xfc29x2[_0xa1fe[265]]&&_0xfc29x2[_0xa1fe[265]][_0xa1fe[265]]==this[_0xa1fe[2053]]||_0xfc29x2==this[_0xa1fe[510]][_0xa1fe[265]]||_0xfc29x2==this[_0xa1fe[510]]||_0xfc29x2==this[_0xa1fe[2053]]||_0xfc29x2==this[_0xa1fe[505]]||_0xfc29x2==this[_0xa1fe[506]]};mxGraphView[_0xa1fe[202]][_0xa1fe[2315]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[445]](this[_0xa1fe[1179]][_0xa1fe[526]]);_0xfc29x2= new mxPoint(_0xfc29x2[_0xa1fe[782]]-_0xfc29x3[_0xa1fe[235]],_0xfc29x2[_0xa1fe[784]]-_0xfc29x3[_0xa1fe[236]]);var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[359]],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[159]];if(_0xfc29x3>_0xfc29x4&&_0xfc29x2[_0xa1fe[235]]>_0xfc29x4+2&&_0xfc29x2[_0xa1fe[235]]<=_0xfc29x3){return !0};_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[167]];_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[157]];return _0xfc29x3>_0xfc29x4&&_0xfc29x2[_0xa1fe[236]]>_0xfc29x4+2&&_0xfc29x2[_0xa1fe[236]]<=_0xfc29x3?!0:!1};mxGraphView[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[2163]]();var _0xfc29x2=this[_0xa1fe[1179]];_0xfc29x2[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?this[_0xa1fe[1569]]():_0xfc29x2[_0xa1fe[507]]==mxConstants[_0xa1fe[1523]]?this[_0xa1fe[1571]]():this[_0xa1fe[1570]]()};mxGraphView[_0xa1fe[202]][_0xa1fe[2163]]=function(){var _0xfc29x2=this[_0xa1fe[1179]],_0xfc29x3=_0xfc29x2[_0xa1fe[526]];if(null!=_0xfc29x3){mxEvent[_0xa1fe[759]](_0xfc29x3,mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){mxClient[_0xa1fe[754]]&&_0xfc29x2[_0xa1fe[2203]]()&&_0xfc29x2[_0xa1fe[2126]](!_0xfc29x2[_0xa1fe[2134]]());this[_0xa1fe[2314]](_0xfc29x3)&&(!mxClient[_0xa1fe[80]]&&!mxClient[_0xa1fe[76]]&&!mxClient[_0xa1fe[71]]&&!mxClient[_0xa1fe[75]]||!this[_0xa1fe[2315]](_0xfc29x3))&&_0xfc29x2[_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x3))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2314]](_0xfc29x3)&&_0xfc29x2[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x3))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2314]](_0xfc29x3)&&_0xfc29x2[_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x3))}));mxEvent[_0xa1fe[169]](_0xfc29x3,_0xa1fe[760],mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){_0xfc29x2[_0xa1fe[761]](_0xfc29x3)}));var _0xfc29x4=function(_0xfc29x4){var _0xfc29x9=null;mxClient[_0xa1fe[754]]&&(_0xfc29x9=mxEvent[_0xa1fe[731]](_0xfc29x4),_0xfc29x4=mxEvent[_0xa1fe[733]](_0xfc29x4),_0xfc29x4=mxUtils[_0xa1fe[2196]](_0xfc29x3,_0xfc29x9,_0xfc29x4),_0xfc29x9=_0xfc29x2[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xa1fe[999]](_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]])));return _0xfc29x9};_0xfc29x2[_0xa1fe[1133]]({mouseDown:function(_0xfc29x3,_0xfc29x4){_0xfc29x2[_0xa1fe[2316]][_0xa1fe[1032]]()},mouseMove:function(){},mouseUp:function(){}});this[_0xa1fe[2317]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){null!=_0xfc29x2[_0xa1fe[2276]]&&_0xfc29x2[_0xa1fe[2276]][_0xa1fe[2277]]()&&_0xfc29x2[_0xa1fe[2276]][_0xa1fe[801]]();this[_0xa1fe[2252]]&&(_0xfc29x2[_0xa1fe[1009]]&&!mxEvent[_0xa1fe[721]](_0xfc29x3))&&_0xfc29x2[_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x3,_0xfc29x4(_0xfc29x3)))});this[_0xa1fe[2318]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){this[_0xa1fe[2252]]&&_0xfc29x2[_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x3))});mxEvent[_0xa1fe[759]](document,null,this[_0xa1fe[2317]],this[_0xa1fe[2318]])}};mxGraphView[_0xa1fe[202]][_0xa1fe[1570]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[526]];null!=_0xfc29x2&&(this[_0xa1fe[510]]=this[_0xa1fe[2319]](_0xa1fe[118],_0xa1fe[118]),this[_0xa1fe[2053]]=this[_0xa1fe[2319]](_0xa1fe[942],_0xa1fe[942]),this[_0xa1fe[505]]=this[_0xa1fe[2319]](_0xa1fe[942],_0xa1fe[942]),this[_0xa1fe[506]]=this[_0xa1fe[2319]](_0xa1fe[942],_0xa1fe[942]),this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[2053]]),this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[505]]),this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[506]]),_0xfc29x2[_0xa1fe[62]](this[_0xa1fe[510]]),mxClient[_0xa1fe[496]]&&(_0xfc29x2=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[517]]();this[_0xa1fe[2320]](_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]+this[_0xa1fe[1179]][_0xa1fe[467]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]+this[_0xa1fe[1179]][_0xa1fe[467]])}),mxEvent[_0xa1fe[169]](window,_0xa1fe[129],_0xfc29x2)))};mxGraphView[_0xa1fe[202]][_0xa1fe[2320]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[1179]][_0xa1fe[526]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[167]];this[_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[117]]=this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[359]]<_0xfc29x2?_0xfc29x2+_0xa1fe[168]:_0xa1fe[118];this[_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x4<_0xfc29x3?_0xfc29x3+_0xa1fe[168]:_0xa1fe[118]}};mxGraphView[_0xa1fe[202]][_0xa1fe[2319]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[529]);null!=_0xfc29x2&&null!=_0xfc29x3?(_0xfc29x4[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492],_0xfc29x4[_0xa1fe[124]][_0xa1fe[361]]=_0xa1fe[946],_0xfc29x4[_0xa1fe[124]][_0xa1fe[125]]=_0xa1fe[946],_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2,_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3):_0xfc29x4[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[1500];return _0xfc29x4};mxGraphView[_0xa1fe[202]][_0xa1fe[1571]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[526]];if(null!=_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[359]],_0xfc29x4=_0xfc29x2[_0xa1fe[167]];this[_0xa1fe[510]]=this[_0xa1fe[2321]](_0xfc29x3,_0xfc29x4);this[_0xa1fe[2053]]=this[_0xa1fe[2321]](_0xfc29x3,_0xfc29x4);this[_0xa1fe[505]]=this[_0xa1fe[2321]](_0xfc29x3,_0xfc29x4);this[_0xa1fe[506]]=this[_0xa1fe[2321]](_0xfc29x3,_0xfc29x4);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[2053]]);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[505]]);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[506]]);_0xfc29x2[_0xa1fe[62]](this[_0xa1fe[510]])}};mxGraphView[_0xa1fe[202]][_0xa1fe[2321]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](mxClient[_0xa1fe[463]]+_0xa1fe[1499]);_0xfc29x4[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];_0xfc29x4[_0xa1fe[124]][_0xa1fe[361]]=_0xa1fe[946];_0xfc29x4[_0xa1fe[124]][_0xa1fe[125]]=_0xa1fe[946];_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x2+_0xa1fe[168];_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168];_0xfc29x4[_0xa1fe[57]](_0xa1fe[1462],_0xfc29x2+_0xa1fe[537]+_0xfc29x3);_0xfc29x4[_0xa1fe[57]](_0xa1fe[2322],_0xa1fe[2323]);return _0xfc29x4};mxGraphView[_0xa1fe[202]][_0xa1fe[1569]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[526]];this[_0xa1fe[510]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449]);this[_0xa1fe[2053]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449]);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[2053]]);this[_0xa1fe[505]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449]);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[505]]);this[_0xa1fe[506]]=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[449]);this[_0xa1fe[510]][_0xa1fe[62]](this[_0xa1fe[506]]);var _0xfc29x3=document[_0xa1fe[509]](mxConstants.NS_SVG,_0xa1fe[571]);_0xfc29x3[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[118];_0xfc29x3[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[118];_0xfc29x3[_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[694];_0xfc29x3[_0xa1fe[62]](this[_0xa1fe[510]]);null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[62]](_0xfc29x3),_0xa1fe[2324]==mxUtils[_0xa1fe[275]](_0xfc29x2)[_0xa1fe[491]]&&(_0xfc29x2[_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[1500]))};mxGraphView[_0xa1fe[202]][_0xa1fe[515]]=function(){var _0xfc29x2=null!=this[_0xa1fe[510]]?this[_0xa1fe[510]][_0xa1fe[538]]:null;null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[510]]);null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[265]]&&(this[_0xa1fe[200]](this[_0xa1fe[1741]],!0),mxEvent[_0xa1fe[938]](document,null,this[_0xa1fe[2317]],this[_0xa1fe[2318]]),mxEvent[_0xa1fe[762]](this[_0xa1fe[1179]][_0xa1fe[526]]),_0xfc29x2[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x2),this[_0xa1fe[506]]=this[_0xa1fe[505]]=this[_0xa1fe[2053]]=this[_0xa1fe[510]]=this[_0xa1fe[2318]]=this[_0xa1fe[2317]]=null)};function mxCurrentRootChange(_0xfc29x2,_0xfc29x3){this[_0xa1fe[441]]=_0xfc29x2;this[_0xa1fe[257]]=this[_0xa1fe[813]]=_0xfc29x3;this[_0xa1fe[2325]]=null==_0xfc29x3;if(!this[_0xa1fe[2325]]){for(var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[1741]],_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]();null!=_0xfc29x4;){if(_0xfc29x4==_0xfc29x3){this[_0xa1fe[2325]]= !0;break};_0xfc29x4=_0xfc29x5[_0xa1fe[1197]](_0xfc29x4)}}}mxCurrentRootChange[_0xa1fe[202]][_0xa1fe[350]]=function(){var _0xfc29x2=this[_0xa1fe[441]][_0xa1fe[1741]];this[_0xa1fe[441]][_0xa1fe[1741]]=this[_0xa1fe[257]];this[_0xa1fe[257]]=_0xfc29x2;_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[2326]](this[_0xa1fe[441]][_0xa1fe[1741]]);null!=_0xfc29x2&&(this[_0xa1fe[441]][_0xa1fe[513]]= new mxPoint(-_0xfc29x2[_0xa1fe[235]],-_0xfc29x2[_0xa1fe[236]]));this[_0xa1fe[441]][_0xa1fe[746]]( new mxEventObject(this[_0xa1fe[2325]]?mxEvent[_0xa1fe[2327]]:mxEvent[_0xa1fe[2328]],_0xa1fe[813],this[_0xa1fe[441]][_0xa1fe[1741]],_0xa1fe[257],this[_0xa1fe[257]]));this[_0xa1fe[2325]]?(this[_0xa1fe[441]][_0xa1fe[200]](this[_0xa1fe[441]][_0xa1fe[1741]],!0),this[_0xa1fe[441]][_0xa1fe[2264]]()):this[_0xa1fe[441]][_0xa1fe[802]]();this[_0xa1fe[2325]]=!this[_0xa1fe[2325]]};function mxGraph(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[2329]]=null;this[_0xa1fe[2330]]=_0xfc29x4;this[_0xa1fe[507]]=mxClient[_0xa1fe[48]]?mxConstants[_0xa1fe[508]]:_0xfc29x4==mxConstants[_0xa1fe[2331]]&&mxClient[_0xa1fe[47]]?mxConstants[_0xa1fe[1523]]:_0xfc29x4==mxConstants[_0xa1fe[2332]]?mxConstants[_0xa1fe[1656]]:_0xfc29x4==mxConstants[_0xa1fe[2333]]?mxConstants[_0xa1fe[2209]]:mxConstants[_0xa1fe[2334]];this[_0xa1fe[251]]=null!=_0xfc29x3?_0xfc29x3: new mxGraphModel;this[_0xa1fe[2335]]=[];this[_0xa1fe[2336]]=[];this[_0xa1fe[259]]=this[_0xa1fe[2337]]();this[_0xa1fe[2339]](this[_0xa1fe[2338]]());this[_0xa1fe[2341]](null!=_0xfc29x5?_0xfc29x5:this[_0xa1fe[2340]]());this[_0xa1fe[441]]=this[_0xa1fe[2342]]();this[_0xa1fe[2343]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1177]](_0xfc29x3[_0xa1fe[720]](_0xa1fe[1061])[_0xa1fe[1065]])});this[_0xa1fe[251]][_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[2343]]);this[_0xa1fe[2344]]();null!=_0xfc29x2&&this[_0xa1fe[176]](_0xfc29x2);this[_0xa1fe[441]][_0xa1fe[2259]]()}mxLoadResources&&mxResources[_0xa1fe[99]](mxClient[_0xa1fe[86]]+_0xa1fe[2345]);mxGraph[_0xa1fe[202]]= new mxEventSource;mxGraph[_0xa1fe[202]][_0xa1fe[196]]=mxGraph;mxGraph[_0xa1fe[202]][_0xa1fe[2346]]=[];mxGraph[_0xa1fe[202]][_0xa1fe[2329]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[1009]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[251]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[441]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[94]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2105]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2347]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[259]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2335]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2330]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[507]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[1020]]=10;mxGraph[_0xa1fe[202]][_0xa1fe[991]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2348]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2349]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2350]]=700;mxGraph[_0xa1fe[202]][_0xa1fe[2351]]=25;mxGraph[_0xa1fe[202]][_0xa1fe[2352]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[2352]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[2213]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[2215]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2353]]=4;mxGraph[_0xa1fe[202]][_0xa1fe[2354]]=0.5;mxGraph[_0xa1fe[202]][_0xa1fe[2355]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2356]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[1617]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2273]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2357]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2358]]=_0xa1fe[579];mxGraph[_0xa1fe[202]][_0xa1fe[2359]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2360]]=20;mxGraph[_0xa1fe[202]][_0xa1fe[2361]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2013]]=mxConstants[_0xa1fe[516]];mxGraph[_0xa1fe[202]][_0xa1fe[2012]]=1.5;mxGraph[_0xa1fe[202]][_0xa1fe[984]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2362]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2363]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2364]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2365]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2366]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2367]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2368]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2369]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2206]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2370]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2371]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2372]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2373]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2374]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2375]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2376]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2377]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2378]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2379]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2380]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2381]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[1012]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2382]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2383]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2384]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[1013]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2385]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2386]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2387]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2388]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2389]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[467]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[2158]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2159]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2168]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2390]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2391]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2392]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2393]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2394]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2395]]=1.2;mxGraph[_0xa1fe[202]][_0xa1fe[2396]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2397]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2398]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2399]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2400]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2401]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2402]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2293]]=mxEdgeStyle[_0xa1fe[2403]];mxGraph[_0xa1fe[202]][_0xa1fe[2404]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2405]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2406]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2407]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2408]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2409]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2410]]= !1;mxGraph[_0xa1fe[202]][_0xa1fe[2411]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2412]]= !0;mxGraph[_0xa1fe[202]][_0xa1fe[2180]]=mxConstants[_0xa1fe[2065]];mxGraph[_0xa1fe[202]][_0xa1fe[2336]]=null;mxGraph[_0xa1fe[202]][_0xa1fe[2413]]=0.1;mxGraph[_0xa1fe[202]][_0xa1fe[2414]]=8;mxGraph[_0xa1fe[202]][_0xa1fe[1136]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[1137]]=0;mxGraph[_0xa1fe[202]][_0xa1fe[2415]]= new mxImage(mxClient[_0xa1fe[88]]+_0xa1fe[2416],9,9);mxGraph[_0xa1fe[202]][_0xa1fe[2417]]= new mxImage(mxClient[_0xa1fe[88]]+_0xa1fe[2418],9,9);mxGraph[_0xa1fe[202]][_0xa1fe[2419]]= new mxImage(_0xa1fe[2420],16,16);mxGraph[_0xa1fe[202]][_0xa1fe[2421]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2422]:_0xa1fe[110];mxGraph[_0xa1fe[202]][_0xa1fe[2423]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2424]:_0xa1fe[110];mxGraph[_0xa1fe[202]][_0xa1fe[2425]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2426]:_0xa1fe[110];mxGraph[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2){this[_0xa1fe[526]]=_0xfc29x2;this[_0xa1fe[2347]]=this[_0xa1fe[2427]]();this[_0xa1fe[441]][_0xa1fe[176]]();this[_0xa1fe[2258]]();mxClient[_0xa1fe[80]]&&(mxEvent[_0xa1fe[169]](window,_0xa1fe[2428],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[515]]()})),mxEvent[_0xa1fe[169]](_0xfc29x2,_0xa1fe[2429],mxUtils[_0xa1fe[885]](this,function(){return this[_0xa1fe[2203]]()})));8==document[_0xa1fe[5]]&&_0xfc29x2[_0xa1fe[1583]](_0xa1fe[1582],_0xa1fe[2430])};mxGraph[_0xa1fe[202]][_0xa1fe[2344]]=function(_0xfc29x2){this[_0xa1fe[2276]]= new mxTooltipHandler(this);this[_0xa1fe[2276]][_0xa1fe[995]](!1);this[_0xa1fe[2316]]= new mxPanningHandler(this);this[_0xa1fe[2316]][_0xa1fe[2431]]= !1;this[_0xa1fe[2432]]= new mxSelectionCellsHandler(this);this[_0xa1fe[2433]]= new mxConnectionHandler(this);this[_0xa1fe[2433]][_0xa1fe[995]](!1);this[_0xa1fe[1011]]= new mxGraphHandler(this)};mxGraph[_0xa1fe[202]][_0xa1fe[2338]]=function(){return new mxGraphSelectionModel(this)};mxGraph[_0xa1fe[202]][_0xa1fe[2340]]=function(){return new mxStylesheet};mxGraph[_0xa1fe[202]][_0xa1fe[2342]]=function(){return new mxGraphView(this)};mxGraph[_0xa1fe[202]][_0xa1fe[2337]]=function(){return new mxCellRenderer};mxGraph[_0xa1fe[202]][_0xa1fe[2427]]=function(){return new mxCellEditor(this)};mxGraph[_0xa1fe[202]][_0xa1fe[502]]=function(){return this[_0xa1fe[251]]};mxGraph[_0xa1fe[202]][_0xa1fe[249]]=function(){return this[_0xa1fe[441]]};mxGraph[_0xa1fe[202]][_0xa1fe[2434]]=function(){return this[_0xa1fe[94]]};mxGraph[_0xa1fe[202]][_0xa1fe[2341]]=function(_0xfc29x2){this[_0xa1fe[94]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2435]]=function(){return this[_0xa1fe[2105]]};mxGraph[_0xa1fe[202]][_0xa1fe[2339]]=function(_0xfc29x2){this[_0xa1fe[2105]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2436]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=_0xfc29x2[_0xfc29x4];if(_0xfc29x5[_0xa1fe[196]]!=mxRootChange){var _0xfc29x9=null;_0xfc29x5 instanceof mxChildChange&&null==_0xfc29x5[_0xa1fe[257]]?_0xfc29x9=_0xfc29x5[_0xa1fe[247]]:null!=_0xfc29x5[_0xa1fe[246]]&&_0xfc29x5[_0xa1fe[246]] instanceof mxCell&&(_0xfc29x9=_0xfc29x5[_0xa1fe[246]]);null!=_0xfc29x9&&0>mxUtils[_0xa1fe[2]](_0xfc29x3,_0xfc29x9)&&_0xfc29x3[_0xa1fe[207]](_0xfc29x9)}};return this[_0xa1fe[502]]()[_0xa1fe[1964]](_0xfc29x3)};mxGraph[_0xa1fe[202]][_0xa1fe[1177]]=function(_0xfc29x2){for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){this[_0xa1fe[2437]](_0xfc29x2[_0xfc29x3])};this[_0xa1fe[2439]](this[_0xa1fe[2438]](_0xfc29x2));this[_0xa1fe[441]][_0xa1fe[2264]]();this[_0xa1fe[2258]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2438]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=_0xfc29x2[_0xfc29x4];if(_0xfc29x5 instanceof mxRootChange){break}else {_0xfc29x5 instanceof mxChildChange?null!=_0xfc29x5[_0xa1fe[257]]&&null==_0xfc29x5[_0xa1fe[1101]]&&(_0xfc29x3=_0xfc29x3[_0xa1fe[1919]](this[_0xa1fe[251]][_0xa1fe[1939]](_0xfc29x5[_0xa1fe[247]]))):_0xfc29x5 instanceof mxVisibleChange&&(_0xfc29x3=_0xfc29x3[_0xa1fe[1919]](this[_0xa1fe[251]][_0xa1fe[1939]](_0xfc29x5[_0xa1fe[246]])))}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2437]]=function(_0xfc29x2){if(_0xfc29x2 instanceof mxRootChange){this[_0xa1fe[2440]](),this[_0xa1fe[2441]](_0xfc29x2[_0xa1fe[257]]),this[_0xa1fe[2398]]&&(this[_0xa1fe[441]][_0xa1fe[255]]=1,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]=0,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]=0),this[_0xa1fe[746]]( new mxEventObject(mxEvent.ROOT))}else {if(_0xfc29x2 instanceof mxChildChange){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xa1fe[247]]);null!=_0xfc29x3?this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x2[_0xa1fe[247]],!0,!1,null!=_0xfc29x2[_0xa1fe[257]]):(this[_0xa1fe[2441]](_0xfc29x2[_0xa1fe[247]]),this[_0xa1fe[441]][_0xa1fe[1741]]==_0xfc29x2[_0xa1fe[247]]&&this[_0xa1fe[2442]]());_0xfc29x3!=_0xfc29x2[_0xa1fe[257]]&&(null!=_0xfc29x3&&this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x3,!1,!1),null!=_0xfc29x2[_0xa1fe[257]]&&this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x2[_0xa1fe[257]],!1,!1))}else {_0xfc29x2 instanceof mxTerminalChange||_0xfc29x2 instanceof mxGeometryChange?this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x2[_0xa1fe[246]]):_0xfc29x2 instanceof mxValueChange?this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x2[_0xa1fe[246]],!1,!1):_0xfc29x2 instanceof mxStyleChange?(this[_0xa1fe[441]][_0xa1fe[2263]](_0xfc29x2[_0xa1fe[246]],!0,!0,!1),this[_0xa1fe[441]][_0xa1fe[2265]](_0xfc29x2[_0xa1fe[246]])):null!=_0xfc29x2[_0xa1fe[246]]&&_0xfc29x2[_0xa1fe[246]] instanceof mxCell&&this[_0xa1fe[2441]](_0xfc29x2[_0xa1fe[246]])}}};mxGraph[_0xa1fe[202]][_0xa1fe[2441]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2),_0xfc29x4=0;_0xfc29x4<_0xfc29x3;_0xfc29x4++){this[_0xa1fe[2441]](this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x4))};this[_0xa1fe[441]][_0xa1fe[2265]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2443]]=function(_0xfc29x2,_0xfc29x3){null==_0xfc29x2[_0xa1fe[1211]]&&(_0xfc29x2[_0xa1fe[1211]]=[]);_0xfc29x2[_0xa1fe[1211]][_0xa1fe[207]](_0xfc29x3);var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);null!=_0xfc29x4&&this[_0xa1fe[259]][_0xa1fe[258]](_0xfc29x4);this[_0xa1fe[746]]( new mxEventObject(mxEvent.ADD_OVERLAY,_0xa1fe[246],_0xfc29x2,_0xa1fe[2201],_0xfc29x3));return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2200]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[1211]]};mxGraph[_0xa1fe[202]][_0xa1fe[2444]]=function(_0xfc29x2,_0xfc29x3){if(null==_0xfc29x3){this[_0xa1fe[2445]](_0xfc29x2)}else {var _0xfc29x4=mxUtils[_0xa1fe[2]](_0xfc29x2[_0xa1fe[1211]],_0xfc29x3);0<=_0xfc29x4?(_0xfc29x2[_0xa1fe[1211]][_0xa1fe[300]](_0xfc29x4,1),0==_0xfc29x2[_0xa1fe[1211]][_0xa1fe[67]]&&(_0xfc29x2[_0xa1fe[1211]]=null),_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),null!=_0xfc29x4&&this[_0xa1fe[259]][_0xa1fe[258]](_0xfc29x4),this[_0xa1fe[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0xa1fe[246],_0xfc29x2,_0xa1fe[2201],_0xfc29x3))):_0xfc29x3=null};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2445]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[1211]];if(null!=_0xfc29x3){_0xfc29x2[_0xa1fe[1211]]=null;var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);null!=_0xfc29x4&&this[_0xa1fe[259]][_0xa1fe[258]](_0xfc29x4);for(_0xfc29x4=0;_0xfc29x4<_0xfc29x3[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0xa1fe[246],_0xfc29x2,_0xa1fe[2201],_0xfc29x3[_0xfc29x4]))}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2446]]=function(_0xfc29x2){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:this[_0xa1fe[251]][_0xa1fe[501]]();this[_0xa1fe[2445]](_0xfc29x2);for(var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2),_0xfc29x4=0;_0xfc29x4<_0xfc29x3;_0xfc29x4++){var _0xfc29x5=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[2446]](_0xfc29x5)}};mxGraph[_0xa1fe[202]][_0xa1fe[2447]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]){return _0xfc29x4=null!=_0xfc29x4?_0xfc29x4:this[_0xa1fe[2419]],_0xfc29x3= new mxCellOverlay(_0xfc29x4,_0xa1fe[2448]+_0xfc29x3+_0xa1fe[2449]),_0xfc29x5&&_0xfc29x3[_0xa1fe[169]](mxEvent.CLICK,mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x4){this[_0xa1fe[994]]()&&this[_0xa1fe[2450]](_0xfc29x2)})),this[_0xa1fe[2443]](_0xfc29x2,_0xfc29x3)};this[_0xa1fe[2445]](_0xfc29x2);return null};mxGraph[_0xa1fe[202]][_0xa1fe[855]]=function(_0xfc29x2){this[_0xa1fe[2451]](null,_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2451]]=function(_0xfc29x2,_0xfc29x3){null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[2452]](),null!=_0xfc29x2&&!this[_0xa1fe[2453]](_0xfc29x2)&&(_0xfc29x2=null));null!=_0xfc29x2&&(this[_0xa1fe[746]]( new mxEventObject(mxEvent.START_EDITING,_0xa1fe[246],_0xfc29x2,_0xa1fe[763],_0xfc29x3)),this[_0xa1fe[2347]][_0xa1fe[855]](_0xfc29x2,_0xfc29x3))};mxGraph[_0xa1fe[202]][_0xa1fe[2142]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[2454]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2126]]=function(_0xfc29x2){this[_0xa1fe[2347]][_0xa1fe[2126]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[850]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[2456]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[2455]](_0xfc29x2)),this[_0xa1fe[746]]( new mxEventObject(mxEvent.LABEL_CHANGED,_0xa1fe[246],_0xfc29x2,_0xa1fe[131],_0xfc29x3,_0xa1fe[763],_0xfc29x4))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2456]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[251]][_0xa1fe[1966]](_0xfc29x2,_0xfc29x3),_0xfc29x4&&this[_0xa1fe[2457]](_0xfc29x2,!1)}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}};mxGraph[_0xa1fe[202]][_0xa1fe[859]]=function(_0xfc29x2){this[_0xa1fe[2126]](!0);this[_0xa1fe[2433]][_0xa1fe[862]]();this[_0xa1fe[1011]][_0xa1fe[862]]();_0xfc29x2=this[_0xa1fe[897]]();for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xfc29x3]);null!=_0xfc29x4&&null!=_0xfc29x4[_0xa1fe[2458]]&&_0xfc29x4[_0xa1fe[2458]][_0xa1fe[862]]()}};mxGraph[_0xa1fe[202]][_0xa1fe[173]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[727]](),_0xfc29x4=_0xfc29x2[_0xa1fe[736]](),_0xfc29x5= new mxEventObject(mxEvent.CLICK,_0xa1fe[763],_0xfc29x3,_0xa1fe[246],_0xfc29x4);_0xfc29x2[_0xa1fe[721]]()&&_0xfc29x5[_0xa1fe[722]]();this[_0xa1fe[746]](_0xfc29x5);this[_0xa1fe[994]]()&&(!mxEvent[_0xa1fe[721]](_0xfc29x3)&&!_0xfc29x5[_0xa1fe[721]]())&&(null!=_0xfc29x4?this[_0xa1fe[2459]](_0xfc29x4,_0xfc29x3):(_0xfc29x4=null,this[_0xa1fe[2460]]()&&(_0xfc29x4=this[_0xa1fe[2461]](_0xfc29x2[_0xa1fe[734]](),_0xfc29x2[_0xa1fe[735]]())),null!=_0xfc29x4?this[_0xa1fe[2459]](_0xfc29x4,_0xfc29x3):this[_0xa1fe[2462]](_0xfc29x3)||this[_0xa1fe[2440]]()))};mxGraph[_0xa1fe[202]][_0xa1fe[761]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4= new mxEventObject(mxEvent.DOUBLE_CLICK,_0xa1fe[763],_0xfc29x2,_0xa1fe[246],_0xfc29x3);this[_0xa1fe[746]](_0xfc29x4);this[_0xa1fe[994]]()&&(!mxEvent[_0xa1fe[721]](_0xfc29x2)&&!_0xfc29x4[_0xa1fe[721]]()&&null!=_0xfc29x3&&this[_0xa1fe[2453]](_0xfc29x3))&&this[_0xa1fe[2451]](_0xfc29x3,_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1014]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(!this[_0xa1fe[2382]]&&(this[_0xa1fe[2384]]||mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]]))){var _0xfc29x9=this[_0xa1fe[526]];_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:20;if(_0xfc29x2>=_0xfc29x9[_0xa1fe[360]]&&_0xfc29x3>=_0xfc29x9[_0xa1fe[190]]&&_0xfc29x2<=_0xfc29x9[_0xa1fe[360]]+_0xfc29x9[_0xa1fe[159]]&&_0xfc29x3<=_0xfc29x9[_0xa1fe[190]]+_0xfc29x9[_0xa1fe[157]]){var _0xfc29xa=_0xfc29x9[_0xa1fe[360]]+_0xfc29x9[_0xa1fe[159]]-_0xfc29x2;if(_0xfc29xa<_0xfc29x5){if(_0xfc29x2=_0xfc29x9[_0xa1fe[360]],_0xfc29x9[_0xa1fe[360]]+=_0xfc29x5-_0xfc29xa,_0xfc29x4&&_0xfc29x2==_0xfc29x9[_0xa1fe[360]]){if(this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]){_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[2024]]()[_0xa1fe[538]];var _0xfc29x12=this[_0xa1fe[526]][_0xa1fe[1526]]+_0xfc29x5-_0xfc29xa}else {_0xfc29x12=Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[159]],_0xfc29x9[_0xa1fe[1526]])+_0xfc29x5-_0xfc29xa,_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[2051]]()};_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=_0xfc29x12+_0xa1fe[168];_0xfc29x9[_0xa1fe[360]]+=_0xfc29x5-_0xfc29xa}}else {_0xfc29xa=_0xfc29x2-_0xfc29x9[_0xa1fe[360]],_0xfc29xa<_0xfc29x5&&(_0xfc29x9[_0xa1fe[360]]-=_0xfc29x5-_0xfc29xa)};_0xfc29xa=_0xfc29x9[_0xa1fe[190]]+_0xfc29x9[_0xa1fe[157]]-_0xfc29x3;_0xfc29xa<_0xfc29x5?(_0xfc29x2=_0xfc29x9[_0xa1fe[190]],_0xfc29x9[_0xa1fe[190]]+=_0xfc29x5-_0xfc29xa,_0xfc29x2==_0xfc29x9[_0xa1fe[190]]&&_0xfc29x4&&(this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?(_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[2024]]()[_0xa1fe[538]],_0xfc29x3=this[_0xa1fe[526]][_0xa1fe[191]]+_0xfc29x5-_0xfc29xa):(_0xfc29x3=Math[_0xa1fe[160]](_0xfc29x9[_0xa1fe[157]],_0xfc29x9[_0xa1fe[191]])+_0xfc29x5-_0xfc29xa,_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[2051]]()),_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=_0xfc29x3+_0xa1fe[168],_0xfc29x9[_0xa1fe[190]]+=_0xfc29x5-_0xfc29xa)):(_0xfc29xa=_0xfc29x3-_0xfc29x9[_0xa1fe[190]],_0xfc29xa<_0xfc29x5&&(_0xfc29x9[_0xa1fe[190]]-=_0xfc29x5-_0xfc29xa))}}else {this[_0xa1fe[2383]]&&!this[_0xa1fe[2316]][_0xa1fe[1124]]&&(null==this[_0xa1fe[2463]]&&(this[_0xa1fe[2463]]=this[_0xa1fe[2464]]()),this[_0xa1fe[2463]][_0xa1fe[1143]](_0xfc29x2+this[_0xa1fe[1136]],_0xfc29x3+this[_0xa1fe[1137]]))}};mxGraph[_0xa1fe[202]][_0xa1fe[2464]]=function(){return new mxPanningManager(this)};mxGraph[_0xa1fe[202]][_0xa1fe[2465]]=function(){function _0xfc29x2(_0xfc29x2){var _0xfc29x3=0,_0xfc29x3=_0xa1fe[2466]==_0xfc29x2?2:_0xa1fe[2467]==_0xfc29x2?4:_0xa1fe[2468]==_0xfc29x2?6:parseInt(_0xfc29x2);isNaN(_0xfc29x3)&&(_0xfc29x3=0);return _0xfc29x3}var _0xfc29x3=mxUtils[_0xa1fe[275]](this[_0xa1fe[526]]),_0xfc29x4= new mxRectangle;_0xfc29x4[_0xa1fe[235]]=_0xfc29x2(_0xfc29x3[_0xa1fe[2469]])+parseInt(_0xfc29x3[_0xa1fe[357]]||0);_0xfc29x4[_0xa1fe[236]]=_0xfc29x2(_0xfc29x3[_0xa1fe[2470]])+parseInt(_0xfc29x3[_0xa1fe[2471]]||0);_0xfc29x4[_0xa1fe[117]]=_0xfc29x2(_0xfc29x3[_0xa1fe[2472]])+parseInt(_0xfc29x3[_0xa1fe[1164]]||0);_0xfc29x4[_0xa1fe[119]]=_0xfc29x2(_0xfc29x3[_0xa1fe[2473]])+parseInt(_0xfc29x3[_0xa1fe[2474]]||0);return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[2475]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[255]];var _0xfc29x5=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x9=this[_0xa1fe[2013]],_0xfc29xa=_0xfc29x2*this[_0xa1fe[2012]],_0xfc29x9= new mxRectangle(0,0,_0xfc29x9[_0xa1fe[117]]*_0xfc29xa,_0xfc29x9[_0xa1fe[119]]*_0xfc29xa);_0xfc29x3=this[_0xa1fe[2357]]?Math[_0xa1fe[430]](_0xfc29x3/_0xfc29x9[_0xa1fe[117]]):1;_0xfc29x4=this[_0xa1fe[2357]]?Math[_0xa1fe[430]](_0xfc29x4/_0xfc29x9[_0xa1fe[119]]):1;return new mxRectangle(0,0,_0xfc29x3*_0xfc29x9[_0xa1fe[117]]+2+_0xfc29x5[_0xa1fe[235]]/_0xfc29x2,_0xfc29x4*_0xfc29x9[_0xa1fe[119]]+2+_0xfc29x5[_0xa1fe[236]]/_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2258]]=function(){var _0xfc29x2=this[_0xa1fe[517]]();if(null!=this[_0xa1fe[526]]){var _0xfc29x3=this[_0xa1fe[2476]](),_0xfc29x4=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]+1+_0xfc29x3),_0xfc29x3=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]+1+_0xfc29x3);null!=this[_0xa1fe[2387]]&&(_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x4,this[_0xa1fe[2387]][_0xa1fe[117]]),_0xfc29x3=Math[_0xa1fe[160]](_0xfc29x3,this[_0xa1fe[2387]][_0xa1fe[119]]));this[_0xa1fe[2389]]&&this[_0xa1fe[2477]](_0xfc29x4,_0xfc29x3);if(this[_0xa1fe[2361]]||!mxClient[_0xa1fe[80]]&&this[_0xa1fe[2273]]){var _0xfc29x5=this[_0xa1fe[2475]](_0xfc29x2,_0xfc29x4,_0xfc29x3);null!=_0xfc29x5&&(_0xfc29x4=_0xfc29x5[_0xa1fe[117]],_0xfc29x3=_0xfc29x5[_0xa1fe[119]])};null!=this[_0xa1fe[2386]]&&(_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x4,this[_0xa1fe[2386]][_0xa1fe[117]]*this[_0xa1fe[441]][_0xa1fe[255]]),_0xfc29x3=Math[_0xa1fe[160]](_0xfc29x3,this[_0xa1fe[2386]][_0xa1fe[119]]*this[_0xa1fe[441]][_0xa1fe[255]]));_0xfc29x4=Math[_0xa1fe[430]](_0xfc29x4-1);_0xfc29x3=Math[_0xa1fe[430]](_0xfc29x3-1);this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?(_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[2024]]()[_0xa1fe[538]],_0xfc29x5[_0xa1fe[124]][_0xa1fe[2478]]=Math[_0xa1fe[160]](1,_0xfc29x4)+_0xa1fe[168],_0xfc29x5[_0xa1fe[124]][_0xa1fe[2479]]=Math[_0xa1fe[160]](1,_0xfc29x3)+_0xa1fe[168],_0xfc29x5[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[118],_0xfc29x5[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[118]):mxClient[_0xa1fe[496]]?this[_0xa1fe[441]][_0xa1fe[2320]](Math[_0xa1fe[160]](1,_0xfc29x4),Math[_0xa1fe[160]](1,_0xfc29x3)):(this[_0xa1fe[441]][_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[2478]]=Math[_0xa1fe[160]](1,_0xfc29x4)+_0xa1fe[168],this[_0xa1fe[441]][_0xa1fe[510]][_0xa1fe[124]][_0xa1fe[2479]]=Math[_0xa1fe[160]](1,_0xfc29x3)+_0xa1fe[168]);this[_0xa1fe[2480]](this[_0xa1fe[2357]],_0xfc29x4-1,_0xfc29x3-1)};this[_0xa1fe[746]]( new mxEventObject(mxEvent.SIZE,_0xa1fe[1562],_0xfc29x2))};mxGraph[_0xa1fe[202]][_0xa1fe[2477]]=function(_0xfc29x2,_0xfc29x3){if(mxClient[_0xa1fe[80]]){if(mxClient[_0xa1fe[496]]){var _0xfc29x4=this[_0xa1fe[2465]]();_0xfc29x2+=Math[_0xa1fe[160]](2,_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]+1);_0xfc29x3+=Math[_0xa1fe[160]](2,_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]+1)}else {9<=document[_0xa1fe[5]]?(_0xfc29x2+=3,_0xfc29x3+=5):(_0xfc29x2+=1,_0xfc29x3+=1)}}else {_0xfc29x3+=1};null!=this[_0xa1fe[2388]]&&(_0xfc29x2=Math[_0xa1fe[243]](this[_0xa1fe[2388]][_0xa1fe[117]],_0xfc29x2),_0xfc29x3=Math[_0xa1fe[243]](this[_0xa1fe[2388]][_0xa1fe[119]],_0xfc29x3));this[_0xa1fe[526]][_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[430]](_0xfc29x2)+_0xa1fe[168];this[_0xa1fe[526]][_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[430]](_0xfc29x3)+_0xa1fe[168]};mxGraph[_0xa1fe[202]][_0xa1fe[2480]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x9=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29xa=this[_0xa1fe[2013]],_0xfc29x12=_0xfc29x5*this[_0xa1fe[2012]],_0xfc29x9= new mxRectangle(_0xfc29x5*_0xfc29x9[_0xa1fe[235]],_0xfc29x5*_0xfc29x9[_0xa1fe[236]],_0xfc29xa[_0xa1fe[117]]*_0xfc29x12,_0xfc29xa[_0xa1fe[119]]*_0xfc29x12);_0xfc29x2=_0xfc29x2&&Math[_0xa1fe[243]](_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]])>this[_0xa1fe[2360]];_0xfc29x9[_0xa1fe[235]]=mxUtils[_0xa1fe[1454]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[117]]);_0xfc29x9[_0xa1fe[236]]=mxUtils[_0xa1fe[1454]](_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[119]]);_0xfc29xa=_0xfc29x2?Math[_0xa1fe[430]]((_0xfc29x3-_0xfc29x9[_0xa1fe[235]])/_0xfc29x9[_0xa1fe[117]]):0;_0xfc29x2=_0xfc29x2?Math[_0xa1fe[430]]((_0xfc29x4-_0xfc29x9[_0xa1fe[236]])/_0xfc29x9[_0xa1fe[119]]):0;null==this[_0xa1fe[2481]]&&0<_0xfc29xa&&(this[_0xa1fe[2481]]=[]);if(null!=this[_0xa1fe[2481]]){for(_0xfc29x12=0;_0xfc29x12<=_0xfc29xa;_0xfc29x12++){var _0xfc29x13=[ new mxPoint(_0xfc29x9[_0xa1fe[235]]+_0xfc29x12*_0xfc29x9[_0xa1fe[117]],1), new mxPoint(_0xfc29x9[_0xa1fe[235]]+_0xfc29x12*_0xfc29x9[_0xa1fe[117]],_0xfc29x4)];null!=this[_0xa1fe[2481]][_0xfc29x12]?(this[_0xa1fe[2481]][_0xfc29x12][_0xa1fe[255]]=1,this[_0xa1fe[2481]][_0xfc29x12][_0xa1fe[1525]]=_0xfc29x13,this[_0xa1fe[2481]][_0xfc29x12][_0xa1fe[258]]()):(_0xfc29x13= new mxPolyline(_0xfc29x13,this[_0xa1fe[2358]],this[_0xa1fe[255]]),_0xfc29x13[_0xa1fe[507]]=this[_0xa1fe[507]],_0xfc29x13[_0xa1fe[1522]]=this[_0xa1fe[2359]],_0xfc29x13[_0xa1fe[255]]=_0xfc29x5,_0xfc29x13[_0xa1fe[176]](this[_0xa1fe[441]][_0xa1fe[2053]]),_0xfc29x13[_0xa1fe[258]](),this[_0xa1fe[2481]][_0xfc29x12]=_0xfc29x13)};for(_0xfc29x12=_0xfc29xa;_0xfc29x12<this[_0xa1fe[2481]][_0xa1fe[67]];_0xfc29x12++){this[_0xa1fe[2481]][_0xfc29x12][_0xa1fe[515]]()};this[_0xa1fe[2481]][_0xa1fe[300]](_0xfc29xa,this[_0xa1fe[2481]][_0xa1fe[67]]-_0xfc29xa)};null==this[_0xa1fe[2482]]&&0<_0xfc29x2&&(this[_0xa1fe[2482]]=[]);if(null!=this[_0xa1fe[2482]]){for(_0xfc29x12=0;_0xfc29x12<=_0xfc29x2;_0xfc29x12++){_0xfc29x13=[ new mxPoint(1,_0xfc29x9[_0xa1fe[236]]+_0xfc29x12*_0xfc29x9[_0xa1fe[119]]), new mxPoint(_0xfc29x3,_0xfc29x9[_0xa1fe[236]]+_0xfc29x12*_0xfc29x9[_0xa1fe[119]])],null!=this[_0xa1fe[2482]][_0xfc29x12]?(this[_0xa1fe[2482]][_0xfc29x12][_0xa1fe[255]]=1,this[_0xa1fe[2482]][_0xfc29x12][_0xa1fe[1525]]=_0xfc29x13,this[_0xa1fe[2482]][_0xfc29x12][_0xa1fe[258]]()):(_0xfc29x13= new mxPolyline(_0xfc29x13,this[_0xa1fe[2358]],_0xfc29x5),_0xfc29x13[_0xa1fe[507]]=this[_0xa1fe[507]],_0xfc29x13[_0xa1fe[1522]]=this[_0xa1fe[2359]],_0xfc29x13[_0xa1fe[255]]=_0xfc29x5,_0xfc29x13[_0xa1fe[176]](this[_0xa1fe[441]][_0xa1fe[2053]]),_0xfc29x13[_0xa1fe[258]](),this[_0xa1fe[2482]][_0xfc29x12]=_0xfc29x13)};for(_0xfc29x12=_0xfc29x2;_0xfc29x12<this[_0xa1fe[2482]][_0xa1fe[67]];_0xfc29x12++){this[_0xa1fe[2482]][_0xfc29x12][_0xa1fe[515]]()};this[_0xa1fe[2482]][_0xa1fe[300]](_0xfc29x2,this[_0xa1fe[2482]][_0xa1fe[67]]-_0xfc29x2)}};mxGraph[_0xa1fe[202]][_0xa1fe[1705]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[474]](_0xfc29x2),_0xfc29x4=null,_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)?this[_0xa1fe[94]][_0xa1fe[2077]]():this[_0xa1fe[94]][_0xa1fe[2076]]();null!=_0xfc29x3&&(_0xfc29x4=this[_0xa1fe[2483]](this[_0xa1fe[94]][_0xa1fe[1705]](_0xfc29x3,_0xfc29x4)));null==_0xfc29x4&&(_0xfc29x4=mxGraph[_0xa1fe[202]][_0xa1fe[2346]]);return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[2483]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=_0xfc29x2[mxConstants[_0xa1fe[2484]]],_0xfc29x4=this[_0xa1fe[2485]](_0xfc29x3);null!=_0xfc29x4?_0xfc29x2[mxConstants[_0xa1fe[2484]]]=_0xfc29x4:_0xfc29x4=_0xfc29x3;null!=_0xfc29x4&&_0xa1fe[2486]==_0xfc29x4[_0xa1fe[85]](0,11)&&(_0xfc29x3=_0xfc29x4[_0xa1fe[2]](_0xa1fe[537]),0<_0xfc29x3&&(_0xfc29x4=_0xfc29x4[_0xa1fe[85]](0,_0xfc29x3)+_0xa1fe[2487]+_0xfc29x4[_0xa1fe[85]](_0xfc29x3+1)),_0xfc29x2[mxConstants[_0xa1fe[2484]]]=_0xfc29x4)};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2488]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=_0xfc29x3||this[_0xa1fe[897]]();if(null!=_0xfc29x3){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x3[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[251]][_0xa1fe[475]](_0xfc29x3[_0xfc29x4],_0xfc29x2)}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2489]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=_0xfc29x4||this[_0xa1fe[2452]]();this[_0xa1fe[2490]](_0xfc29x2,_0xfc29x3,[_0xfc29x4])};mxGraph[_0xa1fe[202]][_0xa1fe[2490]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;_0xfc29x4=_0xfc29x4||this[_0xa1fe[897]]();if(null!=_0xfc29x4&&0<_0xfc29x4[_0xa1fe[67]]){var _0xfc29x5=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x4[0]),_0xfc29x5=null!=_0xfc29x5?_0xfc29x5[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x4[0]);null!=_0xfc29x5&&(_0xfc29x3=mxUtils[_0xa1fe[433]](_0xfc29x5,_0xfc29x2,_0xfc29x3)?0:1,this[_0xa1fe[1717]](_0xfc29x2,_0xfc29x3,_0xfc29x4))}};mxGraph[_0xa1fe[202]][_0xa1fe[1717]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=_0xfc29x4||this[_0xa1fe[897]]();mxUtils[_0xa1fe[1717]](this[_0xa1fe[251]],_0xfc29x4,_0xfc29x2,_0xfc29x3)};mxGraph[_0xa1fe[202]][_0xa1fe[2491]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[2492]](_0xfc29x2,_0xfc29x3,null,_0xfc29x4)};mxGraph[_0xa1fe[202]][_0xa1fe[2492]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x5=_0xfc29x5||this[_0xa1fe[897]]();if(null!=_0xfc29x5&&0<_0xfc29x5[_0xa1fe[67]]){if(null==_0xfc29x4){var _0xfc29x9=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x5[0]),_0xfc29x9=null!=_0xfc29x9?_0xfc29x9[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x5[0]);null!=_0xfc29x9&&(_0xfc29x4=(parseInt(_0xfc29x9[_0xfc29x2]||0)&_0xfc29x3)!=_0xfc29x3)};mxUtils[_0xa1fe[2492]](this[_0xa1fe[251]],_0xfc29x5,_0xfc29x2,_0xfc29x3,_0xfc29x4)}};mxGraph[_0xa1fe[202]][_0xa1fe[849]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[897]]());if(null!=_0xfc29x3&&1<_0xfc29x3[_0xa1fe[67]]){if(null==_0xfc29x4){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[1198]](_0xfc29x3[_0xfc29x5]);if(null!=_0xfc29x9&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x3[_0xfc29x5])){if(null==_0xfc29x4){if(_0xfc29x2==mxConstants[_0xa1fe[479]]){_0xfc29x4=_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]/2;break}else {if(_0xfc29x2==mxConstants[_0xa1fe[480]]){_0xfc29x4=_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]}else {if(_0xfc29x2==mxConstants[_0xa1fe[1687]]){_0xfc29x4=_0xfc29x9[_0xa1fe[236]]}else {if(_0xfc29x2==mxConstants[_0xa1fe[481]]){_0xfc29x4=_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]/2;break}else {_0xfc29x4=_0xfc29x2==mxConstants[_0xa1fe[482]]?_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]:_0xfc29x9[_0xa1fe[235]]}}}}}else {_0xfc29x4=_0xfc29x2==mxConstants[_0xa1fe[480]]?Math[_0xa1fe[160]](_0xfc29x4,_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]):_0xfc29x2==mxConstants[_0xa1fe[1687]]?Math[_0xa1fe[243]](_0xfc29x4,_0xfc29x9[_0xa1fe[236]]):_0xfc29x2==mxConstants[_0xa1fe[482]]?Math[_0xa1fe[160]](_0xfc29x4,_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]):Math[_0xa1fe[243]](_0xfc29x4,_0xfc29x9[_0xa1fe[235]])}}}};if(null!=_0xfc29x4){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(_0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){_0xfc29x9=this[_0xa1fe[1198]](_0xfc29x3[_0xfc29x5]),null!=_0xfc29x9&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x3[_0xfc29x5])&&(_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29x2==mxConstants[_0xa1fe[479]]?_0xfc29x9[_0xa1fe[235]]=_0xfc29x4-_0xfc29x9[_0xa1fe[117]]/2:_0xfc29x2==mxConstants[_0xa1fe[480]]?_0xfc29x9[_0xa1fe[235]]=_0xfc29x4-_0xfc29x9[_0xa1fe[117]]:_0xfc29x2==mxConstants[_0xa1fe[1687]]?_0xfc29x9[_0xa1fe[236]]=_0xfc29x4:_0xfc29x2==mxConstants[_0xa1fe[481]]?_0xfc29x9[_0xa1fe[236]]=_0xfc29x4-_0xfc29x9[_0xa1fe[119]]/2:_0xfc29x2==mxConstants[_0xa1fe[482]]?_0xfc29x9[_0xa1fe[236]]=_0xfc29x4-_0xfc29x9[_0xa1fe[119]]:_0xfc29x9[_0xa1fe[235]]=_0xfc29x4,this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x3[_0xfc29x5],_0xfc29x9))};this[_0xa1fe[746]]( new mxEventObject(mxEvent.ALIGN_CELLS,_0xa1fe[611],_0xfc29x2,_0xa1fe[895],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[854]]=function(_0xfc29x2){if(null!=_0xfc29x2&&null!=this[_0xa1fe[2356]]){this[_0xa1fe[251]][_0xa1fe[473]]();try{var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[474]](_0xfc29x2);null==_0xfc29x3||0==_0xfc29x3[_0xa1fe[67]]?this[_0xa1fe[251]][_0xa1fe[475]](_0xfc29x2,this[_0xa1fe[2356]]):this[_0xa1fe[251]][_0xa1fe[475]](_0xfc29x2,null);this[_0xa1fe[1809]](_0xfc29x2);this[_0xa1fe[746]]( new mxEventObject(mxEvent.FLIP_EDGE,_0xa1fe[1989],_0xfc29x2))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2493]]=function(_0xfc29x2){this[_0xa1fe[2336]][_0xa1fe[207]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2494]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<this[_0xa1fe[2336]][_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[2336]][_0xfc29x4]!=_0xfc29x2&&_0xfc29x3[_0xa1fe[207]](this[_0xa1fe[2336]][_0xfc29x4])};this[_0xa1fe[2336]]=_0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2485]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[2336]][_0xa1fe[67]];_0xfc29x3++){var _0xfc29x4=this[_0xa1fe[2336]][_0xfc29x3][_0xa1fe[1202]](_0xfc29x2);if(null!=_0xfc29x4){return _0xfc29x4}}};return null};mxGraph[_0xa1fe[202]][_0xa1fe[840]]=function(_0xfc29x2,_0xfc29x3){null==_0xfc29x3&&(_0xfc29x3=mxUtils[_0xa1fe[1779]](this[_0xa1fe[897]](),!0));this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[841]](_0xfc29x3,_0xfc29x2),this[_0xa1fe[746]]( new mxEventObject(mxEvent.ORDER_CELLS,_0xa1fe[2495],_0xfc29x2,_0xa1fe[895],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[841]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x4]);_0xfc29x3?this[_0xa1fe[251]][_0xa1fe[99]](_0xfc29x5,_0xfc29x2[_0xfc29x4],_0xfc29x4):this[_0xa1fe[251]][_0xa1fe[99]](_0xfc29x5,_0xfc29x2[_0xfc29x4],this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x5)-1)};this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_ORDERED,_0xa1fe[2495],_0xfc29x3,_0xa1fe[895],_0xfc29x2))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[844]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null==_0xfc29x4&&(_0xfc29x4=mxUtils[_0xa1fe[1779]](this[_0xa1fe[897]](),!0));_0xfc29x4=this[_0xa1fe[2496]](_0xfc29x4);null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[2497]](_0xfc29x4));var _0xfc29x5=this[_0xa1fe[2498]](_0xfc29x2,_0xfc29x4,_0xfc29x3);if(0<_0xfc29x4[_0xa1fe[67]]&&null!=_0xfc29x5){var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2);null==_0xfc29x9&&(_0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4[0]));this[_0xa1fe[251]][_0xa1fe[473]]();try{null==this[_0xa1fe[1198]](_0xfc29x2)&&this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2, new mxGeometry);var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x9);this[_0xa1fe[833]]([_0xfc29x2],_0xfc29x9,_0xfc29xa,null,null,!1);_0xfc29xa=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2);this[_0xa1fe[833]](_0xfc29x4,_0xfc29x2,_0xfc29xa,null,null,!1,!1);this[_0xa1fe[835]](_0xfc29x4,-_0xfc29x5[_0xa1fe[235]],-_0xfc29x5[_0xa1fe[236]],!1,!0);this[_0xa1fe[837]]([_0xfc29x2],[_0xfc29x5]);this[_0xa1fe[746]]( new mxEventObject(mxEvent.GROUP_CELLS,_0xa1fe[1504],_0xfc29x2,_0xa1fe[467],_0xfc29x3,_0xa1fe[895],_0xfc29x4))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2496]]=function(_0xfc29x2){var _0xfc29x3=[];if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){var _0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[0]);_0xfc29x3[_0xa1fe[207]](_0xfc29x2[0]);for(var _0xfc29x5=1;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x5])==_0xfc29x4&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x5])}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2498]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=this[_0xa1fe[1729]](_0xfc29x3);null!=_0xfc29x3&&(this[_0xa1fe[1730]](_0xfc29x2)&&(_0xfc29x2=this[_0xa1fe[1731]](_0xfc29x2),_0xfc29x3[_0xa1fe[235]]-=_0xfc29x2[_0xa1fe[117]],_0xfc29x3[_0xa1fe[236]]-=_0xfc29x2[_0xa1fe[119]],_0xfc29x3[_0xa1fe[117]]+=_0xfc29x2[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]+=_0xfc29x2[_0xa1fe[119]]),_0xfc29x3[_0xa1fe[235]]-=_0xfc29x4,_0xfc29x3[_0xa1fe[236]]-=_0xfc29x4,_0xfc29x3[_0xa1fe[117]]+=2*_0xfc29x4,_0xfc29x3[_0xa1fe[119]]+=2*_0xfc29x4);return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2497]]=function(_0xfc29x2){_0xfc29x2= new mxCell(_0xa1fe[110]);_0xfc29x2[_0xa1fe[1993]](!0);_0xfc29x2[_0xa1fe[1995]](!1);return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[845]]=function(_0xfc29x2){var _0xfc29x3=[];if(null==_0xfc29x2){_0xfc29x2=this[_0xa1fe[897]]();for(var _0xfc29x4=[],_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){0<this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2[_0xfc29x5])&&_0xfc29x4[_0xa1fe[207]](_0xfc29x2[_0xfc29x5])};_0xfc29x2=_0xfc29x4};if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29x9&&0<_0xfc29x9[_0xa1fe[67]]){var _0xfc29x9=_0xfc29x9[_0xa1fe[1853]](),_0xfc29xa=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x5]),_0xfc29x12=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29xa);this[_0xa1fe[833]](_0xfc29x9,_0xfc29xa,_0xfc29x12,null,null,!0);_0xfc29x3=_0xfc29x3[_0xa1fe[1919]](_0xfc29x9)}};this[_0xa1fe[843]](this[_0xa1fe[2499]](_0xfc29x2));this[_0xa1fe[746]]( new mxEventObject(mxEvent.UNGROUP_CELLS,_0xa1fe[895],_0xfc29x2))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[846]]=function(_0xfc29x2){null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[897]]());this[_0xa1fe[251]][_0xa1fe[473]]();try{var _0xfc29x3=this[_0xa1fe[902]](),_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x3);this[_0xa1fe[833]](_0xfc29x2,_0xfc29x3,_0xfc29x4,null,null,!0);this[_0xa1fe[746]]( new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,_0xa1fe[895],_0xfc29x2))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[1917]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[897]]());_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:0;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[1198]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29x9){var _0xfc29xa=this[_0xa1fe[1955]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29xa&&0<_0xfc29xa[_0xa1fe[67]]){var _0xfc29x12=this[_0xa1fe[1729]](_0xfc29xa);if(0<_0xfc29x12[_0xa1fe[117]]&&0<_0xfc29x12[_0xa1fe[119]]){var _0xfc29x13=this[_0xa1fe[1730]](_0xfc29x2[_0xfc29x5])?this[_0xa1fe[1731]](_0xfc29x2[_0xfc29x5]): new mxRectangle,_0xfc29x9=_0xfc29x9[_0xa1fe[238]]();_0xfc29x4&&(_0xfc29x9[_0xa1fe[235]]+=_0xfc29x12[_0xa1fe[235]]-_0xfc29x13[_0xa1fe[117]]-_0xfc29x3,_0xfc29x9[_0xa1fe[236]]+=_0xfc29x12[_0xa1fe[236]]-_0xfc29x13[_0xa1fe[119]]-_0xfc29x3);_0xfc29x9[_0xa1fe[117]]=_0xfc29x12[_0xa1fe[117]]+_0xfc29x13[_0xa1fe[117]]+2*_0xfc29x3;_0xfc29x9[_0xa1fe[119]]=_0xfc29x12[_0xa1fe[119]]+_0xfc29x13[_0xa1fe[119]]+2*_0xfc29x3;this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2[_0xfc29x5],_0xfc29x9);this[_0xa1fe[834]](_0xfc29xa,-_0xfc29x12[_0xa1fe[235]]+_0xfc29x13[_0xa1fe[117]]+_0xfc29x3,-_0xfc29x12[_0xa1fe[236]]+_0xfc29x13[_0xa1fe[119]]+_0xfc29x3)}}}}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[899]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;var _0xfc29x4=null;if(null!=_0xfc29x2){for(var _0xfc29x5={},_0xfc29x4=[],_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xfc29x9]);_0xfc29x5[_0xfc29xa]=_0xfc29x2[_0xfc29x9];_0xfc29x4[_0xa1fe[207]](_0xfc29x2[_0xfc29x9])};if(0<_0xfc29x4[_0xa1fe[67]]){for(var _0xfc29xa=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x12=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[899]](_0xfc29x2,!0),_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){if(!_0xfc29x3&&this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x4[_0xfc29x9])&&null!=this[_0xa1fe[2500]](_0xfc29x4[_0xfc29x9],this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x4[_0xfc29x9],!0),this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x4[_0xfc29x9],!1))){_0xfc29x4[_0xfc29x9]=null}else {var _0xfc29x13=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x4[_0xfc29x9]);if(null!=_0xfc29x13){var _0xfc29x14=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xfc29x9]),_0xfc29x15=this[_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x9]));if(null!=_0xfc29x14&&null!=_0xfc29x15){var _0xfc29x16=_0xfc29x15[_0xa1fe[2078]][_0xa1fe[235]],_0xfc29x15=_0xfc29x15[_0xa1fe[2078]][_0xa1fe[236]];if(this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x4[_0xfc29x9])){for(var _0xfc29x14=_0xfc29x14[_0xa1fe[439]],_0xfc29x17=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xfc29x9],!0),_0xfc29x18=mxCellPath[_0xa1fe[385]](_0xfc29x17);null!=_0xfc29x17&&null==_0xfc29x5[_0xfc29x18];){_0xfc29x17=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x17),_0xfc29x18=mxCellPath[_0xa1fe[385]](_0xfc29x17)};null==_0xfc29x17&&_0xfc29x13[_0xa1fe[2007]]( new mxPoint(_0xfc29x14[0][_0xa1fe[235]]/_0xfc29xa-_0xfc29x12[_0xa1fe[235]],_0xfc29x14[0][_0xa1fe[236]]/_0xfc29xa-_0xfc29x12[_0xa1fe[236]]),!0);_0xfc29x17=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xfc29x9],!1);for(_0xfc29x18=mxCellPath[_0xa1fe[385]](_0xfc29x17);null!=_0xfc29x17&&null==_0xfc29x5[_0xfc29x18];){_0xfc29x17=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x17),_0xfc29x18=mxCellPath[_0xa1fe[385]](_0xfc29x17)};null==_0xfc29x17&&(_0xfc29x17=_0xfc29x14[_0xa1fe[67]]-1,_0xfc29x13[_0xa1fe[2007]]( new mxPoint(_0xfc29x14[_0xfc29x17][_0xa1fe[235]]/_0xfc29xa-_0xfc29x12[_0xa1fe[235]],_0xfc29x14[_0xfc29x17][_0xa1fe[236]]/_0xfc29xa-_0xfc29x12[_0xa1fe[236]]),!1));_0xfc29x13=_0xfc29x13[_0xa1fe[1525]];if(null!=_0xfc29x13){for(_0xfc29x14=0;_0xfc29x14<_0xfc29x13[_0xa1fe[67]];_0xfc29x14++){_0xfc29x13[_0xfc29x14][_0xa1fe[235]]+=_0xfc29x16,_0xfc29x13[_0xfc29x14][_0xa1fe[236]]+=_0xfc29x15}}}else {_0xfc29x13[_0xa1fe[235]]+=_0xfc29x16,_0xfc29x13[_0xa1fe[236]]+=_0xfc29x15}}}}}}else {_0xfc29x4=[]}};return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[2501]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){_0xfc29x3=this[_0xa1fe[2502]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14);return this[_0xa1fe[2103]](_0xfc29x3,_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2502]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){_0xfc29x2= new mxGeometry(_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12);_0xfc29x2[_0xa1fe[1500]]=null!=_0xfc29x14?_0xfc29x14:!1;_0xfc29x4= new mxCell(_0xfc29x4,_0xfc29x2,_0xfc29x13);_0xfc29x4[_0xa1fe[1945]](_0xfc29x3);_0xfc29x4[_0xa1fe[1993]](!0);_0xfc29x4[_0xa1fe[1995]](!0);return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[1960]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x3=this[_0xa1fe[2503]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa);return this[_0xa1fe[2504]](_0xfc29x3,_0xfc29x2,_0xfc29x5,_0xfc29x9)};mxGraph[_0xa1fe[202]][_0xa1fe[2503]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x2= new mxCell(_0xfc29x4, new mxGeometry,_0xfc29xa);_0xfc29x2[_0xa1fe[1945]](_0xfc29x3);_0xfc29x2[_0xa1fe[1994]](!0);_0xfc29x2[_0xa1fe[256]][_0xa1fe[1500]]= !0;return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2504]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return this[_0xa1fe[2103]](_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29x4,_0xfc29x5)};mxGraph[_0xa1fe[202]][_0xa1fe[2103]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return this[_0xa1fe[832]]([_0xfc29x2],_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)[0]};mxGraph[_0xa1fe[202]][_0xa1fe[832]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[902]]());null==_0xfc29x4&&(_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x3));this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[833]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,!1,!0),this[_0xa1fe[746]]( new mxEventObject(mxEvent.ADD_CELLS,_0xa1fe[895],_0xfc29x2,_0xa1fe[1101],_0xfc29x3,_0xa1fe[1983],_0xfc29x4,_0xa1fe[1097],_0xfc29x5,_0xa1fe[772],_0xfc29x9))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[833]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){if(null!=_0xfc29x2&&null!=_0xfc29x3&&null!=_0xfc29x4){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x13=_0xfc29xa?this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3):null,_0xfc29x14=null!=_0xfc29x13?_0xfc29x13[_0xa1fe[2078]]:null,_0xfc29x15= new mxPoint(0,0),_0xfc29x13=0;_0xfc29x13<_0xfc29x2[_0xa1fe[67]];_0xfc29x13++){if(null==_0xfc29x2[_0xfc29x13]){_0xfc29x4--}else {var _0xfc29x16=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x13]);if(null!=_0xfc29x14&&_0xfc29x2[_0xfc29x13]!=_0xfc29x3&&_0xfc29x3!=_0xfc29x16){var _0xfc29x17=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x16),_0xfc29x18=null!=_0xfc29x17?_0xfc29x17[_0xa1fe[2078]]:_0xfc29x15,_0xfc29x19=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2[_0xfc29x13]);if(null!=_0xfc29x19){var _0xfc29x1a=_0xfc29x18[_0xa1fe[235]]-_0xfc29x14[_0xa1fe[235]],_0xfc29x1b=_0xfc29x18[_0xa1fe[236]]-_0xfc29x14[_0xa1fe[236]],_0xfc29x19=_0xfc29x19[_0xa1fe[238]]();_0xfc29x19[_0xa1fe[513]](_0xfc29x1a,_0xfc29x1b);!_0xfc29x19[_0xa1fe[1500]]&&(this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2[_0xfc29x13])&&!this[_0xa1fe[2505]]())&&(_0xfc29x19[_0xa1fe[235]]=Math[_0xa1fe[160]](0,_0xfc29x19[_0xa1fe[235]]),_0xfc29x19[_0xa1fe[236]]=Math[_0xa1fe[160]](0,_0xfc29x19[_0xa1fe[236]]));this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2[_0xfc29x13],_0xfc29x19)}};_0xfc29x3==_0xfc29x16&&_0xfc29x4+_0xfc29x13>this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x3)&&_0xfc29x4--;this[_0xa1fe[251]][_0xa1fe[99]](_0xfc29x3,_0xfc29x2[_0xfc29x13],_0xfc29x4+_0xfc29x13);this[_0xa1fe[2506]]()&&this[_0xa1fe[2507]](_0xfc29x2[_0xfc29x13])&&this[_0xa1fe[2508]](_0xfc29x2[_0xfc29x13]);(null==_0xfc29x12||_0xfc29x12)&&this[_0xa1fe[2509]](_0xfc29x2[_0xfc29x13]);null!=_0xfc29x5&&this[_0xa1fe[852]](_0xfc29x2[_0xfc29x13],_0xfc29x5,!0);null!=_0xfc29x9&&this[_0xa1fe[852]](_0xfc29x2[_0xfc29x13],_0xfc29x9,!1)}};this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_ADDED,_0xa1fe[895],_0xfc29x2,_0xa1fe[1101],_0xfc29x3,_0xa1fe[1983],_0xfc29x4,_0xa1fe[1097],_0xfc29x5,_0xa1fe[772],_0xfc29x9,_0xa1fe[492],_0xfc29xa))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[842]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[2510]](this[_0xa1fe[897]]()));_0xfc29x3&&(_0xfc29x2=this[_0xa1fe[2510]](this[_0xa1fe[2499]](_0xfc29x2)));this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[843]](_0xfc29x2),this[_0xa1fe[746]]( new mxEventObject(mxEvent.REMOVE_CELLS,_0xa1fe[895],_0xfc29x2,_0xa1fe[2511],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[843]]=function(_0xfc29x2){if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[513]];this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x5={},_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xfc29x9]);_0xfc29x5[_0xfc29xa]=_0xfc29x2[_0xfc29x9]};for(_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){for(var _0xfc29x12=this[_0xa1fe[1756]](_0xfc29x2[_0xfc29x9]),_0xfc29x13=0;_0xfc29x13<_0xfc29x12[_0xa1fe[67]];_0xfc29x13++){if(_0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x12[_0xfc29x13]),null==_0xfc29x5[_0xfc29xa]){var _0xfc29x14=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x12[_0xfc29x13]);if(null!=_0xfc29x14){var _0xfc29x15=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x12[_0xfc29x13]);if(null!=_0xfc29x15){var _0xfc29x14=_0xfc29x14[_0xa1fe[238]](),_0xfc29x16=_0xfc29x15[_0xa1fe[1710]](!0)==_0xfc29x2[_0xfc29x9],_0xfc29x17=_0xfc29x15[_0xa1fe[439]],_0xfc29x18=_0xfc29x16?0:_0xfc29x17[_0xa1fe[67]]-1;_0xfc29x14[_0xa1fe[2007]]( new mxPoint(_0xfc29x17[_0xfc29x18][_0xa1fe[235]]/_0xfc29x3-_0xfc29x4[_0xa1fe[235]],_0xfc29x17[_0xfc29x18][_0xa1fe[236]]/_0xfc29x3-_0xfc29x4[_0xa1fe[236]]),_0xfc29x16);this[_0xa1fe[251]][_0xa1fe[1957]](_0xfc29x12[_0xfc29x13],null,_0xfc29x16);this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x12[_0xfc29x13],_0xfc29x14)}}}};this[_0xa1fe[251]][_0xa1fe[205]](_0xfc29x2[_0xfc29x9])};this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_REMOVED,_0xa1fe[895],_0xfc29x2))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[853]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=_0xfc29x5||0;_0xfc29x9=_0xfc29x9||0;null==_0xfc29x4&&(_0xfc29x4=this[_0xa1fe[899]]([_0xfc29x2])[0]);var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2),_0xfc29x12=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!0);this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[835]](_0xfc29x3,_0xfc29x5,_0xfc29x9,!1,!1),this[_0xa1fe[833]](_0xfc29x3,_0xfc29xa,this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29xa),null,null,!0),this[_0xa1fe[833]]([_0xfc29x4],_0xfc29xa,this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29xa),_0xfc29x12,_0xfc29x3[0],!1),this[_0xa1fe[852]](_0xfc29x2,_0xfc29x3[0],!0),this[_0xa1fe[746]]( new mxEventObject(mxEvent.SPLIT_EDGE,_0xa1fe[1989],_0xfc29x2,_0xa1fe[895],_0xfc29x3,_0xa1fe[2512],_0xfc29x4,_0xa1fe[1126],_0xfc29x5,_0xa1fe[1125],_0xfc29x9))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[838]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[897]]());_0xfc29x4&&(_0xfc29x3=this[_0xa1fe[2499]](_0xfc29x3));this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[839]](_0xfc29x3,_0xfc29x2),this[_0xa1fe[746]]( new mxEventObject(mxEvent.TOGGLE_CELLS,_0xa1fe[539],_0xfc29x2,_0xa1fe[895],_0xfc29x3,_0xa1fe[2511],_0xfc29x4))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[839]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[251]][_0xa1fe[175]](_0xfc29x2[_0xfc29x4],_0xfc29x3)}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[847]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;null==_0xfc29x4&&(_0xfc29x4=this[_0xa1fe[2513]](this[_0xa1fe[897]](),_0xfc29x2));this[_0xa1fe[2126]](!1);this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[848]](_0xfc29x4,_0xfc29x2,_0xfc29x3,_0xfc29x5),this[_0xa1fe[746]]( new mxEventObject(mxEvent.FOLD_CELLS,_0xa1fe[2514],_0xfc29x2,_0xa1fe[2515],_0xfc29x3,_0xa1fe[895],_0xfc29x4))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[848]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){if((!_0xfc29x5||this[_0xa1fe[2516]](_0xfc29x2[_0xfc29x9],_0xfc29x3))&&_0xfc29x3!=this[_0xa1fe[1742]](_0xfc29x2[_0xfc29x9])){if(this[_0xa1fe[251]][_0xa1fe[1972]](_0xfc29x2[_0xfc29x9],_0xfc29x3),this[_0xa1fe[2517]](_0xfc29x2[_0xfc29x9],_0xfc29x3),this[_0xa1fe[2507]](_0xfc29x2[_0xfc29x9])&&this[_0xa1fe[2508]](_0xfc29x2[_0xfc29x9]),_0xfc29x4){var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2[_0xfc29x9]);this[_0xa1fe[847]](_0xfc29xa,_0xfc29x3,_0xfc29x4)}}};this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_FOLDED,_0xa1fe[895],_0xfc29x2,_0xa1fe[2514],_0xfc29x3,_0xa1fe[2515],_0xfc29x4))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2517]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2){var _0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);null!=_0xfc29x4&&(_0xfc29x4=_0xfc29x4[_0xa1fe[238]](),this[_0xa1fe[2518]](_0xfc29x2,_0xfc29x4,_0xfc29x3),_0xfc29x4[_0xa1fe[2005]](),this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2,_0xfc29x4))}};mxGraph[_0xa1fe[202]][_0xa1fe[2518]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2&&null!=_0xfc29x3){_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x4=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);if(null==_0xfc29x3[_0xa1fe[2002]]){var _0xfc29x5=_0xfc29x3;this[_0xa1fe[2394]]&&(_0xfc29x2=this[_0xa1fe[2519]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x5=_0xfc29x2,_0xfc29x2=mxUtils[_0xa1fe[433]](_0xfc29x4,mxConstants.STYLE_STARTSIZE),0<_0xfc29x2&&(_0xfc29x5[_0xa1fe[119]]=Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[119]],_0xfc29x2))));_0xfc29x3[_0xa1fe[2002]]= new mxRectangle(0,0,_0xfc29x5[_0xa1fe[117]],_0xfc29x5[_0xa1fe[119]])};if(null!=_0xfc29x3[_0xa1fe[2002]]){_0xfc29x3[_0xa1fe[2002]][_0xa1fe[235]]=_0xfc29x3[_0xa1fe[235]];_0xfc29x3[_0xa1fe[2002]][_0xa1fe[236]]=_0xfc29x3[_0xa1fe[236]];var _0xfc29x9=mxUtils[_0xa1fe[431]](_0xfc29x4[mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]);0!=_0xfc29x9&&(_0xfc29x2=_0xfc29x3[_0xa1fe[2002]][_0xa1fe[241]]()-_0xfc29x3[_0xa1fe[241]](),_0xfc29x4=_0xfc29x3[_0xa1fe[2002]][_0xa1fe[242]]()-_0xfc29x3[_0xa1fe[242]](),_0xfc29x5=Math[_0xa1fe[426]](_0xfc29x9),_0xfc29x9=Math[_0xa1fe[427]](_0xfc29x9),_0xfc29x3[_0xa1fe[2002]][_0xa1fe[235]]+=_0xfc29x5*_0xfc29x2-_0xfc29x9*_0xfc29x4-_0xfc29x2,_0xfc29x3[_0xa1fe[2002]][_0xa1fe[236]]+=_0xfc29x9*_0xfc29x2+_0xfc29x5*_0xfc29x4-_0xfc29x4)}}};mxGraph[_0xa1fe[202]][_0xa1fe[2499]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[1853]]();return _0xfc29x3=_0xfc29x3[_0xa1fe[1919]](this[_0xa1fe[2520]](_0xfc29x2))};mxGraph[_0xa1fe[202]][_0xa1fe[2520]]=function(_0xfc29x2){var _0xfc29x3=[];if(null!=_0xfc29x2){for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){for(var _0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1707]](_0xfc29x2[_0xfc29x4]),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){_0xfc29x3[_0xa1fe[207]](this[_0xa1fe[251]][_0xa1fe[1708]](_0xfc29x2[_0xfc29x4],_0xfc29x9))};_0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2[_0xfc29x4]);_0xfc29x3=_0xfc29x3[_0xa1fe[1919]](this[_0xa1fe[2520]](_0xfc29x5))}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[858]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[2457]](_0xfc29x2,_0xfc29x3),this[_0xa1fe[746]]( new mxEventObject(mxEvent.UPDATE_CELL_SIZE,_0xa1fe[246],_0xfc29x2,_0xa1fe[2521],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2457]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2){this[_0xa1fe[251]][_0xa1fe[473]]();try{var _0xfc29x4=this[_0xa1fe[2519]](_0xfc29x2),_0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x4&&null!=_0xfc29x5){var _0xfc29x9=this[_0xa1fe[1742]](_0xfc29x2),_0xfc29x5=_0xfc29x5[_0xa1fe[238]]();if(this[_0xa1fe[1730]](_0xfc29x2)){var _0xfc29xa=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x12=null!=_0xfc29xa?_0xfc29xa[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2),_0xfc29x13=this[_0xa1fe[251]][_0xa1fe[474]](_0xfc29x2);null==_0xfc29x13&&(_0xfc29x13=_0xa1fe[110]);mxUtils[_0xa1fe[433]](_0xfc29x12,mxConstants.STYLE_HORIZONTAL,!0)?(_0xfc29x13=mxUtils[_0xa1fe[475]](_0xfc29x13,mxConstants.STYLE_STARTSIZE,_0xfc29x4[_0xa1fe[119]]+8),_0xfc29x9&&(_0xfc29x5[_0xa1fe[119]]=_0xfc29x4[_0xa1fe[119]]+8),_0xfc29x5[_0xa1fe[117]]=_0xfc29x4[_0xa1fe[117]]):(_0xfc29x13=mxUtils[_0xa1fe[475]](_0xfc29x13,mxConstants.STYLE_STARTSIZE,_0xfc29x4[_0xa1fe[117]]+8),_0xfc29x9&&(_0xfc29x5[_0xa1fe[117]]=_0xfc29x4[_0xa1fe[117]]+8),_0xfc29x5[_0xa1fe[119]]=_0xfc29x4[_0xa1fe[119]]);this[_0xa1fe[251]][_0xa1fe[475]](_0xfc29x2,_0xfc29x13)}else {_0xfc29x5[_0xa1fe[117]]=_0xfc29x4[_0xa1fe[117]],_0xfc29x5[_0xa1fe[119]]=_0xfc29x4[_0xa1fe[119]]};if(!_0xfc29x3&& !_0xfc29x9){var _0xfc29x14=this[_0xa1fe[441]][_0xa1fe[1799]](this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2));if(null!=_0xfc29x14){var _0xfc29x15=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x16=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x17=(_0xfc29x14[_0xa1fe[236]]+_0xfc29x14[_0xa1fe[119]])/_0xfc29x16-_0xfc29x5[_0xa1fe[236]]-_0xfc29x15[_0xa1fe[236]];_0xfc29x5[_0xa1fe[117]]=Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[117]],(_0xfc29x14[_0xa1fe[235]]+_0xfc29x14[_0xa1fe[117]])/_0xfc29x16-_0xfc29x5[_0xa1fe[235]]-_0xfc29x15[_0xa1fe[235]]);_0xfc29x5[_0xa1fe[119]]=Math[_0xa1fe[160]](_0xfc29x5[_0xa1fe[119]],_0xfc29x17)}};this[_0xa1fe[837]]([_0xfc29x2],[_0xfc29x5])}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2519]]=function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2){var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x5=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);if(null!=_0xfc29x5&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)){var _0xfc29x9=_0xfc29x5[mxConstants[_0xa1fe[2185]]]||mxConstants[_0xa1fe[483]],_0xfc29xa=0,_0xfc29x3=0;if((null!=this[_0xa1fe[1202]](_0xfc29x4)||null!=_0xfc29x5[mxConstants[_0xa1fe[2484]]])&&_0xfc29x5[mxConstants[_0xa1fe[2059]]]==mxConstants[_0xa1fe[2522]]){_0xfc29x5[mxConstants[_0xa1fe[2063]]]==mxConstants[_0xa1fe[481]]&&(_0xfc29xa+=parseFloat(_0xfc29x5[mxConstants[_0xa1fe[2523]]])||mxLabel[_0xa1fe[202]][_0xa1fe[1680]]),_0xfc29x5[mxConstants[_0xa1fe[2064]]]!=mxConstants[_0xa1fe[479]]&&(_0xfc29x3+=parseFloat(_0xfc29x5[mxConstants[_0xa1fe[2524]]])||mxLabel[_0xa1fe[202]][_0xa1fe[1680]])};_0xfc29xa+=2*(_0xfc29x5[mxConstants[_0xa1fe[2143]]]||0);_0xfc29xa+=_0xfc29x5[mxConstants[_0xa1fe[2147]]]||0;_0xfc29xa+=_0xfc29x5[mxConstants[_0xa1fe[2145]]]||0;_0xfc29x3+=2*(_0xfc29x5[mxConstants[_0xa1fe[2143]]]||0);_0xfc29x3+=_0xfc29x5[mxConstants[_0xa1fe[2144]]]||0;_0xfc29x3+=_0xfc29x5[mxConstants[_0xa1fe[2146]]]||0;_0xfc29x4=this[_0xa1fe[2205]](_0xfc29x4);null!=_0xfc29x4&&(_0xfc29xa+=_0xfc29x4[_0xa1fe[117]]+8);_0xfc29x4=this[_0xa1fe[2183]](_0xfc29x2);null!=_0xfc29x4&&0<_0xfc29x4[_0xa1fe[67]]?(this[_0xa1fe[2186]](_0xfc29x2)||(_0xfc29x4=_0xfc29x4[_0xa1fe[230]](/\n/g,_0xa1fe[545])),_0xfc29x9=mxUtils[_0xa1fe[2525]](_0xfc29x4,_0xfc29x9,_0xfc29x5[mxConstants[_0xa1fe[2188]]]),_0xfc29x2=_0xfc29x9[_0xa1fe[117]]+_0xfc29xa,_0xfc29x3=_0xfc29x9[_0xa1fe[119]]+_0xfc29x3,mxUtils[_0xa1fe[433]](_0xfc29x5,mxConstants.STYLE_HORIZONTAL,!0)||(_0xfc29x5=_0xfc29x3,_0xfc29x3=_0xfc29x2,_0xfc29x2=_0xfc29x5),this[_0xa1fe[991]]&&(_0xfc29x2=this[_0xa1fe[1021]](_0xfc29x2+this[_0xa1fe[1020]]/2),_0xfc29x3=this[_0xa1fe[1021]](_0xfc29x3+this[_0xa1fe[1020]]/2)),_0xfc29x3= new mxRectangle(0,0,_0xfc29x2,_0xfc29x3)):(_0xfc29x5=4*this[_0xa1fe[1020]],_0xfc29x3= new mxRectangle(0,0,_0xfc29x5,_0xfc29x5))}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2216]]=function(_0xfc29x2,_0xfc29x3){if(0.2<Math[_0xa1fe[425]](1-_0xfc29x3[_0xa1fe[255]])){var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x9=_0xfc29x2[_0xa1fe[117]]*_0xfc29x3[_0xa1fe[255]],_0xfc29xa=_0xfc29x2[_0xa1fe[119]]*_0xfc29x3[_0xa1fe[255]],_0xfc29x12=_0xfc29x2[_0xa1fe[236]]-(_0xfc29xa-_0xfc29x2[_0xa1fe[119]])/2,_0xfc29x4= new mxRectangle(this[_0xa1fe[1021]]((_0xfc29x2[_0xa1fe[235]]-(_0xfc29x9-_0xfc29x2[_0xa1fe[117]])/2)/_0xfc29x4)-_0xfc29x5[_0xa1fe[235]],this[_0xa1fe[1021]](_0xfc29x12/_0xfc29x4)-_0xfc29x5[_0xa1fe[236]],this[_0xa1fe[1021]](_0xfc29x9/_0xfc29x4),this[_0xa1fe[1021]](_0xfc29xa/_0xfc29x4));this[_0xa1fe[2526]](_0xfc29x2[_0xa1fe[246]],_0xfc29x4)}};mxGraph[_0xa1fe[202]][_0xa1fe[2526]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[836]]([_0xfc29x2],[_0xfc29x3])[0]};mxGraph[_0xa1fe[202]][_0xa1fe[836]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[251]][_0xa1fe[473]]();try{this[_0xa1fe[837]](_0xfc29x2,_0xfc29x3),this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESIZE_CELLS,_0xa1fe[895],_0xfc29x2,_0xa1fe[1562],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[837]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[67]]==_0xfc29x3[_0xa1fe[67]]){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=_0xfc29x3[_0xfc29x4],_0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2[_0xfc29x4]);if(null!=_0xfc29x9&&(_0xfc29x9[_0xa1fe[235]]!=_0xfc29x5[_0xa1fe[235]]||_0xfc29x9[_0xa1fe[236]]!=_0xfc29x5[_0xa1fe[236]]||_0xfc29x9[_0xa1fe[117]]!=_0xfc29x5[_0xa1fe[117]]||_0xfc29x9[_0xa1fe[119]]!=_0xfc29x5[_0xa1fe[119]])){_0xfc29x9=_0xfc29x9[_0xa1fe[238]]();if(_0xfc29x9[_0xa1fe[1500]]){var _0xfc29xa=_0xfc29x9[_0xa1fe[1368]];null!=_0xfc29xa&&(_0xfc29xa[_0xa1fe[235]]+=_0xfc29x5[_0xa1fe[235]]-_0xfc29x9[_0xa1fe[235]],_0xfc29xa[_0xa1fe[236]]+=_0xfc29x5[_0xa1fe[236]]-_0xfc29x9[_0xa1fe[236]])}else {_0xfc29x9[_0xa1fe[235]]=_0xfc29x5[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]]=_0xfc29x5[_0xa1fe[236]]};_0xfc29x9[_0xa1fe[117]]=_0xfc29x5[_0xa1fe[117]];_0xfc29x9[_0xa1fe[119]]=_0xfc29x5[_0xa1fe[119]];!_0xfc29x9[_0xa1fe[1500]]&&(this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2[_0xfc29x4])&&!this[_0xa1fe[2505]]())&&(_0xfc29x9[_0xa1fe[235]]=Math[_0xa1fe[160]](0,_0xfc29x9[_0xa1fe[235]]),_0xfc29x9[_0xa1fe[236]]=Math[_0xa1fe[160]](0,_0xfc29x9[_0xa1fe[236]]));this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2[_0xfc29x4],_0xfc29x9);this[_0xa1fe[2507]](_0xfc29x2[_0xfc29x4])&&this[_0xa1fe[2508]](_0xfc29x2[_0xfc29x4])}};this[_0xa1fe[2399]]&&this[_0xa1fe[1750]](_0xfc29x2);this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_RESIZED,_0xa1fe[895],_0xfc29x2,_0xa1fe[1562],_0xfc29x3))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2508]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2),_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x3);if(null!=_0xfc29x3&&(null!=_0xfc29x4&&!this[_0xa1fe[1742]](_0xfc29x3))&&(_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x4[_0xa1fe[117]]<_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]||_0xfc29x4[_0xa1fe[119]]<_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]))){_0xfc29x4=_0xfc29x4[_0xa1fe[238]](),_0xfc29x4[_0xa1fe[117]]=Math[_0xa1fe[160]](_0xfc29x4[_0xa1fe[117]],_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]),_0xfc29x4[_0xa1fe[119]]=Math[_0xa1fe[160]](_0xfc29x4[_0xa1fe[119]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]),this[_0xa1fe[837]]([_0xfc29x3],[_0xfc29x4])}}};mxGraph[_0xa1fe[202]][_0xa1fe[903]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return this[_0xa1fe[834]](_0xfc29x2,_0xfc29x3,_0xfc29x4,!0,_0xfc29x5,_0xfc29x9)};mxGraph[_0xa1fe[202]][_0xa1fe[834]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:0;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!1;if(null!=_0xfc29x2&&(0!=_0xfc29x3||0!=_0xfc29x4||_0xfc29x5||null!=_0xfc29x9)){this[_0xa1fe[251]][_0xa1fe[473]]();try{_0xfc29x5&&(_0xfc29x2=this[_0xa1fe[899]](_0xfc29x2,this[_0xa1fe[2527]]()),null==_0xfc29x9&&(_0xfc29x9=this[_0xa1fe[902]]()));var _0xfc29x12=this[_0xa1fe[2505]]();null!=_0xfc29x9&&this[_0xa1fe[2528]](!0);this[_0xa1fe[835]](_0xfc29x2,_0xfc29x3,_0xfc29x4,!_0xfc29x5&&this[_0xa1fe[2529]]()&&this[_0xa1fe[2530]](),null==_0xfc29x9);this[_0xa1fe[2528]](_0xfc29x12);if(null!=_0xfc29x9){var _0xfc29x13=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x9);this[_0xa1fe[833]](_0xfc29x2,_0xfc29x9,_0xfc29x13,null,null,!0)};this[_0xa1fe[746]]( new mxEventObject(mxEvent.MOVE_CELLS,_0xa1fe[895],_0xfc29x2,_0xa1fe[1126],_0xfc29x3,_0xa1fe[1125],_0xfc29x4,_0xa1fe[238],_0xfc29x5,_0xa1fe[772],_0xfc29x9,_0xa1fe[763],_0xfc29xa))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[835]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x2&&(0!=_0xfc29x3||0!=_0xfc29x4)){this[_0xa1fe[251]][_0xa1fe[473]]();try{_0xfc29x5&&this[_0xa1fe[2531]](_0xfc29x2);for(var _0xfc29xa=0;_0xfc29xa<_0xfc29x2[_0xa1fe[67]];_0xfc29xa++){this[_0xa1fe[2532]](_0xfc29x2[_0xfc29xa],_0xfc29x3,_0xfc29x4),_0xfc29x9&&this[_0xa1fe[2509]](_0xfc29x2[_0xfc29xa])};this[_0xa1fe[2400]]&&this[_0xa1fe[1750]](_0xfc29x2);this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELLS_MOVED,_0xa1fe[895],_0xfc29x2,_0xa1fe[1126],_0xfc29x4,_0xa1fe[1125],_0xfc29x4,_0xa1fe[808],_0xfc29x5))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2532]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);null!=_0xfc29x5&&(_0xfc29x5=_0xfc29x5[_0xa1fe[238]](),_0xfc29x5[_0xa1fe[513]](_0xfc29x3,_0xfc29x4),!_0xfc29x5[_0xa1fe[1500]]&&(this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2)&&!this[_0xa1fe[2505]]())&&(_0xfc29x5[_0xa1fe[235]]=Math[_0xa1fe[160]](0,_0xfc29x5[_0xa1fe[235]]),_0xfc29x5[_0xa1fe[236]]=Math[_0xa1fe[160]](0,_0xfc29x5[_0xa1fe[236]])),_0xfc29x5[_0xa1fe[1500]]&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)&&(null==_0xfc29x5[_0xa1fe[1368]]?_0xfc29x5[_0xa1fe[1368]]= new mxPoint(_0xfc29x3,_0xfc29x4):(_0xfc29x5[_0xa1fe[1368]][_0xa1fe[235]]+=_0xfc29x3,_0xfc29x5[_0xa1fe[1368]][_0xa1fe[236]]+=_0xfc29x4)),this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2,_0xfc29x5))};mxGraph[_0xa1fe[202]][_0xa1fe[2533]]=function(_0xfc29x2){if(null!=_0xfc29x2&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2);if(_0xfc29x3==this[_0xa1fe[902]]()||_0xfc29x3==this[_0xa1fe[2534]]()){return this[_0xa1fe[2535]]()};if(null!=_0xfc29x3&&_0xfc29x3!=this[_0xa1fe[902]]()){var _0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x3);if(null!=_0xfc29x4){var _0xfc29x5=_0xfc29x2=0,_0xfc29x9=_0xfc29x4[_0xa1fe[117]],_0xfc29x4=_0xfc29x4[_0xa1fe[119]];this[_0xa1fe[1730]](_0xfc29x3)&&(_0xfc29x3=this[_0xa1fe[1731]](_0xfc29x3),_0xfc29x2=_0xfc29x3[_0xa1fe[117]],_0xfc29x9-=_0xfc29x3[_0xa1fe[117]],_0xfc29x5=_0xfc29x3[_0xa1fe[119]],_0xfc29x4-=_0xfc29x3[_0xa1fe[119]]);return new mxRectangle(_0xfc29x2,_0xfc29x5,_0xfc29x9,_0xfc29x4)}}};return null};mxGraph[_0xa1fe[202]][_0xa1fe[2535]]=function(){return this[_0xa1fe[2385]]};mxGraph[_0xa1fe[202]][_0xa1fe[2509]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2),_0xfc29x4=this[_0xa1fe[2536]](_0xfc29x2)?this[_0xa1fe[2533]](_0xfc29x2):this[_0xa1fe[2535]]();if(null!=_0xfc29x3&&null!=_0xfc29x4&&!_0xfc29x3[_0xa1fe[1500]]&&(_0xfc29x3[_0xa1fe[235]]<_0xfc29x4[_0xa1fe[235]]||_0xfc29x3[_0xa1fe[236]]<_0xfc29x4[_0xa1fe[236]]||_0xfc29x4[_0xa1fe[117]]<_0xfc29x3[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[117]]||_0xfc29x4[_0xa1fe[119]]<_0xfc29x3[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[119]])){_0xfc29x2=this[_0xa1fe[2537]](_0xfc29x2),0<_0xfc29x4[_0xa1fe[117]]&&(_0xfc29x3[_0xa1fe[235]]=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[117]]-(1-_0xfc29x2)*_0xfc29x3[_0xa1fe[117]])),0<_0xfc29x4[_0xa1fe[119]]&&(_0xfc29x3[_0xa1fe[236]]=Math[_0xa1fe[243]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[119]]-(1-_0xfc29x2)*_0xfc29x3[_0xa1fe[119]])),_0xfc29x3[_0xa1fe[235]]=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[235]],_0xfc29x4[_0xa1fe[235]]-_0xfc29x3[_0xa1fe[117]]*_0xfc29x2),_0xfc29x3[_0xa1fe[236]]=Math[_0xa1fe[160]](_0xfc29x3[_0xa1fe[236]],_0xfc29x4[_0xa1fe[236]]-_0xfc29x3[_0xa1fe[119]]*_0xfc29x2)}}};mxGraph[_0xa1fe[202]][_0xa1fe[1750]]=function(_0xfc29x2){if(null!=_0xfc29x2){for(var _0xfc29x3={},_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xfc29x4]);_0xfc29x3[_0xfc29x5]=_0xfc29x2[_0xfc29x4]};this[_0xa1fe[251]][_0xa1fe[473]]();try{for(_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[264]](_0xfc29x2[_0xfc29x4]);if(null!=_0xfc29x9){for(_0xfc29x5=0;_0xfc29x5<_0xfc29x9[_0xa1fe[67]];_0xfc29x5++){var _0xfc29xa=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x9[_0xfc29x5]),_0xfc29x12=null!=_0xfc29xa?_0xfc29xa[_0xa1fe[1710]](!0):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x9[_0xfc29x5],!0),_0xfc29x13=null!=_0xfc29xa?_0xfc29xa[_0xa1fe[1710]](!1):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x9[_0xfc29x5],!1),_0xfc29x14=mxCellPath[_0xa1fe[385]](_0xfc29x12),_0xfc29x15=mxCellPath[_0xa1fe[385]](_0xfc29x13);(null==_0xfc29x3[_0xfc29x14]||null==_0xfc29x3[_0xfc29x15])&&this[_0xa1fe[1809]](_0xfc29x9[_0xfc29x5])}};this[_0xa1fe[1750]](this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2[_0xfc29x4]))}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[1809]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);null!=_0xfc29x3&&(null!=_0xfc29x3[_0xa1fe[1525]]&&0<_0xfc29x3[_0xa1fe[1525]][_0xa1fe[67]])&&(_0xfc29x3=_0xfc29x3[_0xa1fe[238]](),_0xfc29x3[_0xa1fe[1525]]=[],this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2,_0xfc29x3));return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2538]]=function(_0xfc29x2,_0xfc29x3){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[253]]&&null!=_0xfc29x2[_0xa1fe[253]][_0xa1fe[1561]]?_0xfc29x2[_0xa1fe[253]][_0xa1fe[1561]][_0xa1fe[1531]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2288]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=null;var _0xfc29x5=_0xfc29x2[_0xa1fe[124]][_0xfc29x4?mxConstants[_0xa1fe[2539]]:mxConstants[_0xa1fe[2540]]];if(null!=_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[124]][_0xfc29x4?mxConstants[_0xa1fe[2541]]:mxConstants[_0xa1fe[2542]]];null!=_0xfc29x9&&(_0xfc29x3= new mxPoint(parseFloat(_0xfc29x5),parseFloat(_0xfc29x9)))};_0xfc29x5= !1;null!=_0xfc29x3&&(_0xfc29x5=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],_0xfc29x4?mxConstants[_0xa1fe[2543]]:mxConstants[_0xa1fe[2544]],!0));return new mxConnectionConstraint(_0xfc29x3,_0xfc29x5)};mxGraph[_0xa1fe[202]][_0xa1fe[2545]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x5){this[_0xa1fe[251]][_0xa1fe[473]]();try{null==_0xfc29x5||null==_0xfc29x5[_0xa1fe[2546]]?(this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2539]]:mxConstants[_0xa1fe[2540]],null,[_0xfc29x2]),this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2541]]:mxConstants[_0xa1fe[2542]],null,[_0xfc29x2]),this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2543]]:mxConstants[_0xa1fe[2544]],null,[_0xfc29x2])):null!=_0xfc29x5[_0xa1fe[2546]]&&(this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2539]]:mxConstants[_0xa1fe[2540]],_0xfc29x5[_0xa1fe[2546]][_0xa1fe[235]],[_0xfc29x2]),this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2541]]:mxConstants[_0xa1fe[2542]],_0xfc29x5[_0xa1fe[2546]][_0xa1fe[236]],[_0xfc29x2]),_0xfc29x5[_0xa1fe[591]]?this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2543]]:mxConstants[_0xa1fe[2544]],null,[_0xfc29x2]):this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2543]]:mxConstants[_0xa1fe[2544]],_0xa1fe[468],[_0xfc29x2]))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2290]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(null!=_0xfc29x2){var _0xfc29x5=this[_0xa1fe[441]][_0xa1fe[2087]](_0xfc29x2),_0xfc29x9= new mxPoint(_0xfc29x5[_0xa1fe[241]](),_0xfc29x5[_0xa1fe[242]]()),_0xfc29xa=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2011]]],_0xfc29x12=0;if(null!=_0xfc29xa&&(_0xa1fe[700]==_0xfc29xa?_0xfc29x12+=270:_0xa1fe[703]==_0xfc29xa?_0xfc29x12+=180:_0xa1fe[701]==_0xfc29xa&&(_0xfc29x12+=90),_0xa1fe[700]==_0xfc29xa||_0xa1fe[701]==_0xfc29xa)){_0xfc29x5[_0xa1fe[235]]+=_0xfc29x5[_0xa1fe[117]]/2-_0xfc29x5[_0xa1fe[119]]/2;_0xfc29x5[_0xa1fe[236]]+=_0xfc29x5[_0xa1fe[119]]/2-_0xfc29x5[_0xa1fe[117]]/2;var _0xfc29x13=_0xfc29x5[_0xa1fe[117]];_0xfc29x5[_0xa1fe[117]]=_0xfc29x5[_0xa1fe[119]];_0xfc29x5[_0xa1fe[119]]=_0xfc29x13};if(null!=_0xfc29x3[_0xa1fe[2546]]){var _0xfc29x14=_0xfc29x4=1,_0xfc29x15=0,_0xfc29x16=0;if(this[_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2[_0xa1fe[246]])){var _0xfc29x17=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2547]]],_0xfc29x18=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2548]]];null!=_0xfc29x2[_0xa1fe[253]][_0xa1fe[1561]]&&(_0xfc29x17=1==mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],_0xa1fe[1607],0)||_0xfc29x17,_0xfc29x18=1==mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],_0xa1fe[1608],0)||_0xfc29x18);if(_0xa1fe[700]==_0xfc29xa||_0xa1fe[701]==_0xfc29xa){_0xfc29x13=_0xfc29x17,_0xfc29x17=_0xfc29x18,_0xfc29x18=_0xfc29x13};_0xfc29x17&&(_0xfc29x4= -1,_0xfc29x15=-_0xfc29x5[_0xa1fe[117]]);_0xfc29x18&&(_0xfc29x14= -1,_0xfc29x16=-_0xfc29x5[_0xa1fe[119]])};_0xfc29x4= new mxPoint(_0xfc29x5[_0xa1fe[235]]+_0xfc29x3[_0xa1fe[2546]][_0xa1fe[235]]*_0xfc29x5[_0xa1fe[117]]*_0xfc29x4-_0xfc29x15,_0xfc29x5[_0xa1fe[236]]+_0xfc29x3[_0xa1fe[2546]][_0xa1fe[236]]*_0xfc29x5[_0xa1fe[119]]*_0xfc29x14-_0xfc29x16)};_0xfc29xa=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||0;_0xfc29x3[_0xa1fe[591]]?(0!=_0xfc29x12&&null!=_0xfc29x4&&(_0xfc29x13=_0xfc29x5=0,90==_0xfc29x12?_0xfc29x13=1:180==_0xfc29x12?_0xfc29x5= -1:270==_0xfc29xa&&(_0xfc29x13= -1),_0xfc29x4=mxUtils[_0xa1fe[432]](_0xfc29x4,_0xfc29x5,_0xfc29x13,_0xfc29x9)),null!=_0xfc29x4&&_0xfc29x3[_0xa1fe[591]]&&(_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[2302]](_0xfc29x2,_0xfc29x4,!1))):_0xfc29xa+=_0xfc29x12;0!=_0xfc29xa&&null!=_0xfc29x4&&(_0xfc29x12=mxUtils[_0xa1fe[431]](_0xfc29xa),_0xfc29x5=Math[_0xa1fe[426]](_0xfc29x12),_0xfc29x13=Math[_0xa1fe[427]](_0xfc29x12),_0xfc29x4=mxUtils[_0xa1fe[432]](_0xfc29x4,_0xfc29x5,_0xfc29x13,_0xfc29x9))};return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[851]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[251]][_0xa1fe[473]]();try{var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[852]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);this[_0xa1fe[746]]( new mxEventObject(mxEvent.CONNECT_CELL,_0xa1fe[1989],_0xfc29x2,_0xa1fe[1984],_0xfc29x3,_0xa1fe[1097],_0xfc29x4,_0xa1fe[257],_0xfc29x9))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[852]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x2){this[_0xa1fe[251]][_0xa1fe[473]]();try{var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[2545]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5);this[_0xa1fe[2549]]()&&(_0xfc29x5=null,this[_0xa1fe[1908]](_0xfc29x3)&&(_0xfc29x5=_0xfc29x3[_0xa1fe[1103]](),_0xfc29x3=this[_0xa1fe[2550]](_0xfc29x3,_0xfc29x4)),this[_0xa1fe[1717]](_0xfc29x4?mxConstants[_0xa1fe[2303]]:mxConstants[_0xa1fe[2304]],_0xfc29x5,[_0xfc29x2]));this[_0xa1fe[251]][_0xa1fe[1957]](_0xfc29x2,_0xfc29x3,_0xfc29x4);this[_0xa1fe[2401]]&&this[_0xa1fe[1809]](_0xfc29x2);this[_0xa1fe[746]]( new mxEventObject(mxEvent.CELL_CONNECTED,_0xa1fe[1989],_0xfc29x2,_0xa1fe[1984],_0xfc29x3,_0xa1fe[1097],_0xfc29x4,_0xa1fe[257],_0xfc29x9))}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2531]]=function(_0xfc29x2){if(null!=_0xfc29x2){this[_0xa1fe[251]][_0xa1fe[473]]();try{for(var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29x5={},_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xfc29x9]);_0xfc29x5[_0xfc29xa]=_0xfc29x2[_0xfc29x9]};for(_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){if(this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2[_0xfc29x9])){var _0xfc29x12=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2[_0xfc29x9]);if(null!=_0xfc29x12){var _0xfc29x13=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xfc29x9]),_0xfc29x14=this[_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2[_0xfc29x9]));if(null!=_0xfc29x13&&null!=_0xfc29x14){var _0xfc29x12=_0xfc29x12[_0xa1fe[238]](),_0xfc29x15=-_0xfc29x14[_0xa1fe[2078]][_0xa1fe[235]],_0xfc29x16=-_0xfc29x14[_0xa1fe[2078]][_0xa1fe[236]],_0xfc29x17=_0xfc29x13[_0xa1fe[439]],_0xfc29x18=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xfc29x9],!0);if(null!=_0xfc29x18&&this[_0xa1fe[2551]](_0xfc29x2[_0xfc29x9],_0xfc29x18,!0)){for(var _0xfc29x19=mxCellPath[_0xa1fe[385]](_0xfc29x18);null!=_0xfc29x18&&null==_0xfc29x5[_0xfc29x19];){_0xfc29x18=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x18),_0xfc29x19=mxCellPath[_0xa1fe[385]](_0xfc29x18)};null==_0xfc29x18&&(_0xfc29x12[_0xa1fe[2007]]( new mxPoint(_0xfc29x17[0][_0xa1fe[235]]/_0xfc29x3-_0xfc29x4[_0xa1fe[235]]+_0xfc29x15,_0xfc29x17[0][_0xa1fe[236]]/_0xfc29x3-_0xfc29x4[_0xa1fe[236]]+_0xfc29x16),!0),this[_0xa1fe[251]][_0xa1fe[1957]](_0xfc29x2[_0xfc29x9],null,!0))};var _0xfc29x1a=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2[_0xfc29x9],!1);if(null!=_0xfc29x1a&&this[_0xa1fe[2551]](_0xfc29x2[_0xfc29x9],_0xfc29x1a,!1)){for(var _0xfc29x1b=mxCellPath[_0xa1fe[385]](_0xfc29x1a);null!=_0xfc29x1a&&null==_0xfc29x5[_0xfc29x1b];){_0xfc29x1a=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x1a),_0xfc29x1b=mxCellPath[_0xa1fe[385]](_0xfc29x1a)};if(null==_0xfc29x1a){var _0xfc29x1c=_0xfc29x17[_0xa1fe[67]]-1;_0xfc29x12[_0xa1fe[2007]]( new mxPoint(_0xfc29x17[_0xfc29x1c][_0xa1fe[235]]/_0xfc29x3-_0xfc29x4[_0xa1fe[235]]+_0xfc29x15,_0xfc29x17[_0xfc29x1c][_0xa1fe[236]]/_0xfc29x3-_0xfc29x4[_0xa1fe[236]]+_0xfc29x16),!1);this[_0xa1fe[251]][_0xa1fe[1957]](_0xfc29x2[_0xfc29x9],null,!1)}};this[_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2[_0xfc29x9],_0xfc29x12)}}}}}finally{this[_0xa1fe[251]][_0xa1fe[476]]()}}};mxGraph[_0xa1fe[202]][_0xa1fe[2534]]=function(){return this[_0xa1fe[441]][_0xa1fe[1741]]};mxGraph[_0xa1fe[202]][_0xa1fe[2326]]=function(_0xfc29x2){return null};mxGraph[_0xa1fe[202]][_0xa1fe[1908]]=function(_0xfc29x2){return !1};mxGraph[_0xa1fe[202]][_0xa1fe[2550]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2280]]=function(_0xfc29x2){return null};mxGraph[_0xa1fe[202]][_0xa1fe[2552]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2||this[_0xa1fe[2452]]();null!=_0xfc29x2&&this[_0xa1fe[2553]](_0xfc29x2)&&(this[_0xa1fe[441]][_0xa1fe[2257]](_0xfc29x2),this[_0xa1fe[2440]]())};mxGraph[_0xa1fe[202]][_0xa1fe[2554]]=function(){var _0xfc29x2=this[_0xa1fe[251]][_0xa1fe[501]](),_0xfc29x3=this[_0xa1fe[2534]]();if(null!=_0xfc29x3){for(var _0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x3);_0xfc29x4!=_0xfc29x2&&!this[_0xa1fe[2553]](_0xfc29x4)&&this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4)!=_0xfc29x2;){_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4)};_0xfc29x4==_0xfc29x2||this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4)==_0xfc29x2?this[_0xa1fe[441]][_0xa1fe[2257]](null):this[_0xa1fe[441]][_0xa1fe[2257]](_0xfc29x4);null!=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3)&&this[_0xa1fe[2450]](_0xfc29x3)}};mxGraph[_0xa1fe[202]][_0xa1fe[2442]]=function(){var _0xfc29x2=this[_0xa1fe[2534]]();null!=_0xfc29x2&&(this[_0xa1fe[441]][_0xa1fe[2257]](null),null!=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2)&&this[_0xa1fe[2450]](_0xfc29x2))};mxGraph[_0xa1fe[202]][_0xa1fe[2553]]=function(_0xfc29x2){return null!=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[517]]=function(){return this[_0xa1fe[441]][_0xa1fe[517]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2555]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=[_0xfc29x2];_0xfc29x3&&(_0xfc29x5=_0xfc29x5[_0xa1fe[1919]](this[_0xa1fe[251]][_0xa1fe[264]](_0xfc29x2)));_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[1799]](_0xfc29x5);if(_0xfc29x4){_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2);for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x4;_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[2555]](this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x3,!0);null!=_0xfc29x5?_0xfc29x5[_0xa1fe[99]](_0xfc29xa):_0xfc29x5=_0xfc29xa}};return _0xfc29x5};mxGraph[_0xa1fe[202]][_0xa1fe[1729]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;var _0xfc29x4=null;if(null!=_0xfc29x2){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){if(_0xfc29x3||this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2[_0xfc29x5])){var _0xfc29x9=this[_0xa1fe[1198]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29x9){var _0xfc29xa=_0xfc29x9[_0xa1fe[1525]];if(null!=_0xfc29xa&&0<_0xfc29xa[_0xa1fe[67]]){for(var _0xfc29x12= new mxRectangle(_0xfc29xa[0][_0xa1fe[235]],_0xfc29xa[0][_0xa1fe[236]],0,0),_0xfc29x13=function(_0xfc29x2){null!=_0xfc29x2&&_0xfc29x12[_0xa1fe[99]]( new mxRectangle(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],0,0))},_0xfc29x14=1;_0xfc29x14<_0xfc29xa[_0xa1fe[67]];_0xfc29x14++){_0xfc29x13(_0xfc29xa[_0xfc29x14])};_0xfc29x13(_0xfc29x9[_0xa1fe[2006]](!0));_0xfc29x13(_0xfc29x9[_0xa1fe[2006]](!1))};null==_0xfc29x4?_0xfc29x4= new mxRectangle(_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]]):_0xfc29x4[_0xa1fe[99]](_0xfc29x9)}}}};return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[802]]=function(_0xfc29x2){this[_0xa1fe[441]][_0xa1fe[200]](_0xfc29x2,null==_0xfc29x2);this[_0xa1fe[441]][_0xa1fe[2264]]();this[_0xa1fe[2258]]();this[_0xa1fe[746]]( new mxEventObject(mxEvent.REFRESH))};mxGraph[_0xa1fe[202]][_0xa1fe[1021]]=function(_0xfc29x2){this[_0xa1fe[991]]&&(_0xfc29x2=Math[_0xa1fe[488]](_0xfc29x2/this[_0xa1fe[1020]])*this[_0xa1fe[1020]]);return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[1135]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[2365]]&&mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])){this[_0xa1fe[526]][_0xa1fe[360]]= -_0xfc29x2,this[_0xa1fe[526]][_0xa1fe[190]]= -_0xfc29x3}else {var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[2051]]();if(this[_0xa1fe[507]]==mxConstants[_0xa1fe[508]]){if(0==_0xfc29x2&&0==_0xfc29x3){if(mxClient[_0xa1fe[80]]?_0xfc29x4[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+_0xfc29x2+_0xa1fe[537]+_0xfc29x3+_0xa1fe[460]):_0xfc29x4[_0xa1fe[1390]](_0xa1fe[535]),null!=this[_0xa1fe[2556]]){for(var _0xfc29x5=this[_0xa1fe[2556]][_0xa1fe[285]];null!=_0xfc29x5;){var _0xfc29x9=_0xfc29x5[_0xa1fe[287]];this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x5);_0xfc29x5=_0xfc29x9};this[_0xa1fe[2556]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[2556]]);this[_0xa1fe[2556]]=null;this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x4[_0xa1fe[265]]);for(_0xfc29x5=this[_0xa1fe[2557]][_0xa1fe[285]];null!=_0xfc29x5;){_0xfc29x9=_0xfc29x5[_0xa1fe[287]],this[_0xa1fe[526]][_0xa1fe[62]](_0xfc29x5),_0xfc29x5=_0xfc29x9};this[_0xa1fe[2557]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[2557]]);this[_0xa1fe[2557]]=null}}else {_0xfc29x4[_0xa1fe[57]](_0xa1fe[535],_0xa1fe[536]+_0xfc29x2+_0xa1fe[537]+_0xfc29x3+_0xa1fe[460]);if(null==this[_0xa1fe[2556]]){this[_0xa1fe[2556]]=document[_0xa1fe[55]](_0xa1fe[485]);this[_0xa1fe[2556]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];this[_0xa1fe[2556]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[189];this[_0xa1fe[2557]]=document[_0xa1fe[55]](_0xa1fe[485]);this[_0xa1fe[2557]][_0xa1fe[124]][_0xa1fe[491]]=_0xa1fe[492];this[_0xa1fe[2557]][_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[189];for(var _0xfc29xa=this[_0xa1fe[2556]],_0xfc29x5=this[_0xa1fe[526]][_0xa1fe[285]];null!=_0xfc29x5;){_0xfc29x9=_0xfc29x5[_0xa1fe[287]],_0xfc29x5!=_0xfc29x4[_0xa1fe[265]]?_0xfc29xa[_0xa1fe[62]](_0xfc29x5):_0xfc29xa=this[_0xa1fe[2557]],_0xfc29x5=_0xfc29x9};this[_0xa1fe[526]][_0xa1fe[950]](this[_0xa1fe[2556]],_0xfc29x4[_0xa1fe[265]]);this[_0xa1fe[526]][_0xa1fe[62]](this[_0xa1fe[2557]])};this[_0xa1fe[2556]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[2556]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168];this[_0xa1fe[2557]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168];this[_0xa1fe[2557]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168]}}else {_0xfc29x4[_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x2+_0xa1fe[168],_0xfc29x4[_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x3+_0xa1fe[168]};this[_0xa1fe[1136]]=_0xfc29x2;this[_0xa1fe[1137]]=_0xfc29x3;this[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN))}};mxGraph[_0xa1fe[202]][_0xa1fe[2558]]=function(){this[_0xa1fe[499]](this[_0xa1fe[2395]])};mxGraph[_0xa1fe[202]][_0xa1fe[2559]]=function(){this[_0xa1fe[499]](1/this[_0xa1fe[2395]])};mxGraph[_0xa1fe[202]][_0xa1fe[2560]]=function(){1==this[_0xa1fe[441]][_0xa1fe[255]]?this[_0xa1fe[441]][_0xa1fe[1147]](0,0):(this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]=0,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]=0,this[_0xa1fe[441]][_0xa1fe[2262]](1))};mxGraph[_0xa1fe[202]][_0xa1fe[2561]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[499]](_0xfc29x2/this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x3)};mxGraph[_0xa1fe[202]][_0xa1fe[499]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:this[_0xa1fe[2397]];var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[255]]*_0xfc29x2,_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[2452]]());if(this[_0xa1fe[2396]]&&null!=_0xfc29x5){_0xfc29x5= new mxRectangle(_0xfc29x5[_0xa1fe[235]]*_0xfc29x2,_0xfc29x5[_0xa1fe[236]]*_0xfc29x2,_0xfc29x5[_0xa1fe[117]]*_0xfc29x2,_0xfc29x5[_0xa1fe[119]]*_0xfc29x2),this[_0xa1fe[441]][_0xa1fe[255]]=_0xfc29x4,this[_0xa1fe[2562]](_0xfc29x5)||(this[_0xa1fe[441]][_0xa1fe[2259]](),this[_0xa1fe[441]][_0xa1fe[2262]](_0xfc29x4))}else {if(_0xfc29x3&&!mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])){var _0xfc29x5=this[_0xa1fe[526]][_0xa1fe[359]],_0xfc29x9=this[_0xa1fe[526]][_0xa1fe[167]];if(1<_0xfc29x2){var _0xfc29xa=(_0xfc29x2-1)/(2*_0xfc29x4),_0xfc29x5=_0xfc29x5* -_0xfc29xa,_0xfc29x9=_0xfc29x9* -_0xfc29xa}else {_0xfc29xa=(1/_0xfc29x2-1)/(2*this[_0xa1fe[441]][_0xa1fe[255]]),_0xfc29x5*=_0xfc29xa,_0xfc29x9*=_0xfc29xa};this[_0xa1fe[441]][_0xa1fe[829]](_0xfc29x4,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]+_0xfc29x5,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]+_0xfc29x9)}else {this[_0xa1fe[441]][_0xa1fe[2262]](_0xfc29x4),mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])&&(_0xfc29x9=_0xfc29x5=0,_0xfc29x3&&(_0xfc29x5=this[_0xa1fe[526]][_0xa1fe[359]]*(_0xfc29x2-1)/2,_0xfc29x9=this[_0xa1fe[526]][_0xa1fe[167]]*(_0xfc29x2-1)/2),this[_0xa1fe[526]][_0xa1fe[360]]=Math[_0xa1fe[488]](this[_0xa1fe[526]][_0xa1fe[360]]*_0xfc29x2+_0xfc29x5),this[_0xa1fe[526]][_0xa1fe[190]]=Math[_0xa1fe[488]](this[_0xa1fe[526]][_0xa1fe[190]]*_0xfc29x2+_0xfc29x9))}}};mxGraph[_0xa1fe[202]][_0xa1fe[2563]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[526]][_0xa1fe[159]]/_0xfc29x2[_0xa1fe[117]]/(this[_0xa1fe[526]][_0xa1fe[157]]/_0xfc29x2[_0xa1fe[119]]);_0xfc29x2[_0xa1fe[235]]=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[235]]);_0xfc29x2[_0xa1fe[236]]=Math[_0xa1fe[160]](0,_0xfc29x2[_0xa1fe[236]]);var _0xfc29x4=Math[_0xa1fe[243]](this[_0xa1fe[526]][_0xa1fe[1526]],_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]),_0xfc29x5=Math[_0xa1fe[243]](this[_0xa1fe[526]][_0xa1fe[191]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]);_0xfc29x2[_0xa1fe[117]]=_0xfc29x4-_0xfc29x2[_0xa1fe[235]];_0xfc29x2[_0xa1fe[119]]=_0xfc29x5-_0xfc29x2[_0xa1fe[236]];1>_0xfc29x3?(_0xfc29x3=_0xfc29x2[_0xa1fe[119]]/_0xfc29x3,_0xfc29x4=(_0xfc29x3-_0xfc29x2[_0xa1fe[119]])/2,_0xfc29x2[_0xa1fe[119]]=_0xfc29x3,_0xfc29x3=Math[_0xa1fe[243]](_0xfc29x2[_0xa1fe[236]],_0xfc29x4),_0xfc29x2[_0xa1fe[236]]-=_0xfc29x3,_0xfc29x5=Math[_0xa1fe[243]](this[_0xa1fe[526]][_0xa1fe[191]],_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]),_0xfc29x2[_0xa1fe[119]]=_0xfc29x5-_0xfc29x2[_0xa1fe[236]]):(_0xfc29x3*=_0xfc29x2[_0xa1fe[117]],_0xfc29x4=(_0xfc29x3-_0xfc29x2[_0xa1fe[117]])/2,_0xfc29x2[_0xa1fe[117]]=_0xfc29x3,_0xfc29x3=Math[_0xa1fe[243]](_0xfc29x2[_0xa1fe[235]],_0xfc29x4),_0xfc29x2[_0xa1fe[235]]-=_0xfc29x3,_0xfc29x4=Math[_0xa1fe[243]](this[_0xa1fe[526]][_0xa1fe[1526]],_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]),_0xfc29x2[_0xa1fe[117]]=_0xfc29x4-_0xfc29x2[_0xa1fe[235]]);_0xfc29x3=this[_0xa1fe[526]][_0xa1fe[159]]/_0xfc29x2[_0xa1fe[117]];_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[255]]*_0xfc29x3;mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])?(this[_0xa1fe[441]][_0xa1fe[2262]](_0xfc29x4),this[_0xa1fe[526]][_0xa1fe[360]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[235]]*_0xfc29x3),this[_0xa1fe[526]][_0xa1fe[190]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[236]]*_0xfc29x3)):this[_0xa1fe[441]][_0xa1fe[829]](_0xfc29x4,this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]-_0xfc29x2[_0xa1fe[235]]/this[_0xa1fe[441]][_0xa1fe[255]],this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]-_0xfc29x2[_0xa1fe[236]]/this[_0xa1fe[441]][_0xa1fe[255]])};mxGraph[_0xa1fe[202]][_0xa1fe[933]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[526]]){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:0;_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;var _0xfc29x4=this[_0xa1fe[526]][_0xa1fe[159]],_0xfc29x5=this[_0xa1fe[526]][_0xa1fe[157]],_0xfc29x9=this[_0xa1fe[441]][_0xa1fe[517]]();_0xfc29x3&&(null!=_0xfc29x9[_0xa1fe[235]]&&null!=_0xfc29x9[_0xa1fe[236]])&&(_0xfc29x9[_0xa1fe[117]]+=_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[119]]+=_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[235]]=0,_0xfc29x9[_0xa1fe[236]]=0);var _0xfc29xa=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x12=_0xfc29x9[_0xa1fe[117]]/_0xfc29xa,_0xfc29x13=_0xfc29x9[_0xa1fe[119]]/_0xfc29xa;null!=this[_0xa1fe[1617]]&&(_0xfc29x12=Math[_0xa1fe[160]](_0xfc29x12,this[_0xa1fe[1617]][_0xa1fe[117]]-_0xfc29x9[_0xa1fe[235]]/_0xfc29xa),_0xfc29x13=Math[_0xa1fe[160]](_0xfc29x13,this[_0xa1fe[1617]][_0xa1fe[119]]-_0xfc29x9[_0xa1fe[236]]/_0xfc29xa));var _0xfc29x14=_0xfc29x3?_0xfc29x2:2*_0xfc29x2,_0xfc29x4=Math[_0xa1fe[519]](100*Math[_0xa1fe[243]](_0xfc29x4/(_0xfc29x12+_0xfc29x14),_0xfc29x5/(_0xfc29x13+_0xfc29x14)))/100;null!=this[_0xa1fe[2413]]&&(_0xfc29x4=Math[_0xa1fe[160]](_0xfc29x4,this[_0xa1fe[2413]]));null!=this[_0xa1fe[2414]]&&(_0xfc29x4=Math[_0xa1fe[243]](_0xfc29x4,this[_0xa1fe[2414]]));_0xfc29x3?this[_0xa1fe[441]][_0xa1fe[255]]!=_0xfc29x4&&this[_0xa1fe[441]][_0xa1fe[2262]](_0xfc29x4):mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])?(this[_0xa1fe[441]][_0xa1fe[2262]](_0xfc29x4),null!=_0xfc29x9[_0xa1fe[235]]&&(this[_0xa1fe[526]][_0xa1fe[360]]=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[235]]/_0xfc29xa)*_0xfc29x4-_0xfc29x2-Math[_0xa1fe[160]](0,(this[_0xa1fe[526]][_0xa1fe[159]]-_0xfc29x12*_0xfc29x4)/2)),null!=_0xfc29x9[_0xa1fe[236]]&&(this[_0xa1fe[526]][_0xa1fe[190]]=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[236]]/_0xfc29xa)*_0xfc29x4-_0xfc29x2-Math[_0xa1fe[160]](0,(this[_0xa1fe[526]][_0xa1fe[157]]-_0xfc29x13*_0xfc29x4)/2))):this[_0xa1fe[441]][_0xa1fe[829]](_0xfc29x4,null!=_0xfc29x9[_0xa1fe[235]]?Math[_0xa1fe[519]](this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]-_0xfc29x9[_0xa1fe[235]]/_0xfc29xa+_0xfc29x2+1):_0xfc29x2,null!=_0xfc29x9[_0xa1fe[236]]?Math[_0xa1fe[519]](this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]-_0xfc29x9[_0xa1fe[236]]/_0xfc29xa+_0xfc29x2+1):_0xfc29x2)};return this[_0xa1fe[441]][_0xa1fe[255]]};mxGraph[_0xa1fe[202]][_0xa1fe[2564]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=-this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]],_0xfc29x5=-this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]],_0xfc29x9=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);null!=_0xfc29x9&&(_0xfc29x4= new mxRectangle(_0xfc29x4+_0xfc29x9[_0xa1fe[235]],_0xfc29x5+_0xfc29x9[_0xa1fe[236]],_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]]),_0xfc29x3&&null!=this[_0xa1fe[526]]&&(_0xfc29x5=this[_0xa1fe[526]][_0xa1fe[159]],_0xfc29x9=this[_0xa1fe[526]][_0xa1fe[157]],_0xfc29x4[_0xa1fe[235]]=_0xfc29x4[_0xa1fe[241]]()-_0xfc29x5/2,_0xfc29x4[_0xa1fe[117]]=_0xfc29x5,_0xfc29x4[_0xa1fe[236]]=_0xfc29x4[_0xa1fe[242]]()-_0xfc29x9/2,_0xfc29x4[_0xa1fe[119]]=_0xfc29x9),this[_0xa1fe[2562]](_0xfc29x4)&&this[_0xa1fe[441]][_0xa1fe[1147]](this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]],this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]))};mxGraph[_0xa1fe[202]][_0xa1fe[2562]]=function(_0xfc29x2){var _0xfc29x3=!1;if(null!=_0xfc29x2){var _0xfc29x4=this[_0xa1fe[526]][_0xa1fe[359]],_0xfc29x5=this[_0xa1fe[526]][_0xa1fe[167]],_0xfc29x9=Math[_0xa1fe[243]](_0xfc29x4,_0xfc29x2[_0xa1fe[117]]),_0xfc29xa=Math[_0xa1fe[243]](_0xfc29x5,_0xfc29x2[_0xa1fe[119]]);if(mxUtils[_0xa1fe[1134]](this[_0xa1fe[526]])){_0xfc29x4=this[_0xa1fe[526]];_0xfc29x2[_0xa1fe[235]]+=this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]];_0xfc29x2[_0xa1fe[236]]+=this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]];var _0xfc29x12=_0xfc29x4[_0xa1fe[360]]-_0xfc29x2[_0xa1fe[235]],_0xfc29x5=Math[_0xa1fe[160]](_0xfc29x12-_0xfc29x4[_0xa1fe[360]],0);0<_0xfc29x12?_0xfc29x4[_0xa1fe[360]]-=_0xfc29x12+2:(_0xfc29x12=_0xfc29x2[_0xa1fe[235]]+_0xfc29x9-_0xfc29x4[_0xa1fe[360]]-_0xfc29x4[_0xa1fe[159]],0<_0xfc29x12&&(_0xfc29x4[_0xa1fe[360]]+=_0xfc29x12+2));_0xfc29x9=_0xfc29x4[_0xa1fe[190]]-_0xfc29x2[_0xa1fe[236]];_0xfc29x12=Math[_0xa1fe[160]](0,_0xfc29x9-_0xfc29x4[_0xa1fe[190]]);0<_0xfc29x9?_0xfc29x4[_0xa1fe[190]]-=_0xfc29x9+2:(_0xfc29x9=_0xfc29x2[_0xa1fe[236]]+_0xfc29xa-_0xfc29x4[_0xa1fe[190]]-_0xfc29x4[_0xa1fe[157]],0<_0xfc29x9&&(_0xfc29x4[_0xa1fe[190]]+=_0xfc29x9+2));!this[_0xa1fe[2365]]&&(0!=_0xfc29x5||0!=_0xfc29x12)&&this[_0xa1fe[441]][_0xa1fe[1147]](_0xfc29x5,_0xfc29x12)}else {var _0xfc29x12=-this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]],_0xfc29x13=-this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]],_0xfc29x14=this[_0xa1fe[441]][_0xa1fe[255]];_0xfc29x2[_0xa1fe[235]]+_0xfc29x9>_0xfc29x12+_0xfc29x4&&(this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]-=(_0xfc29x2[_0xa1fe[235]]+_0xfc29x9-_0xfc29x4-_0xfc29x12)/_0xfc29x14,_0xfc29x3= !0);_0xfc29x2[_0xa1fe[236]]+_0xfc29xa>_0xfc29x13+_0xfc29x5&&(this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]-=(_0xfc29x2[_0xa1fe[236]]+_0xfc29xa-_0xfc29x5-_0xfc29x13)/_0xfc29x14,_0xfc29x3= !0);_0xfc29x2[_0xa1fe[235]]<_0xfc29x12&&(this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]]+=(_0xfc29x12-_0xfc29x2[_0xa1fe[235]])/_0xfc29x14,_0xfc29x3= !0);_0xfc29x2[_0xa1fe[236]]<_0xfc29x13&&(this[_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]]+=(_0xfc29x13-_0xfc29x2[_0xa1fe[236]])/_0xfc29x14,_0xfc29x3= !0);_0xfc29x3&&(this[_0xa1fe[441]][_0xa1fe[802]](),null!=this[_0xa1fe[2432]]&&this[_0xa1fe[2432]][_0xa1fe[802]]())}};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[1198]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1714]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[174]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1742]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1971]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2565]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1965]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2298]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2566]]];if(null!=_0xfc29x3){return _0xfc29x3};_0xfc29x2=this[_0xa1fe[441]][_0xa1fe[2291]](_0xfc29x2);return _0xfc29x2==mxEdgeStyle[_0xa1fe[2567]]||_0xfc29x2==mxEdgeStyle[_0xa1fe[2568]]||_0xfc29x2==mxEdgeStyle[_0xa1fe[2569]]||_0xfc29x2==mxEdgeStyle[_0xa1fe[2570]]||_0xfc29x2==mxEdgeStyle[_0xa1fe[2571]]||_0xfc29x2==mxEdgeStyle[_0xa1fe[2572]]};mxGraph[_0xa1fe[202]][_0xa1fe[2573]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[2089]](!0);_0xfc29x2=_0xfc29x2[_0xa1fe[2089]](!1);return null!=_0xfc29x3&&_0xfc29x3==_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2574]]=function(_0xfc29x2){return mxEvent[_0xa1fe[775]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2462]]=function(_0xfc29x2){return mxClient[_0xa1fe[2575]]?mxEvent[_0xa1fe[2576]](_0xfc29x2):mxEvent[_0xa1fe[775]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1018]]=function(_0xfc29x2){return null!=_0xfc29x2&&!mxEvent[_0xa1fe[2577]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2578]]=function(_0xfc29x2){return mxEvent[_0xa1fe[774]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2579]]=function(_0xfc29x2){return mxEvent[_0xa1fe[2577]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2580]]=function(_0xfc29x2){mxUtils[_0xa1fe[150]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2581]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null==this[_0xa1fe[2500]](_0xfc29x2,_0xfc29x3,_0xfc29x4)};mxGraph[_0xa1fe[202]][_0xa1fe[2500]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2&&!this[_0xa1fe[2530]]()&&(null==_0xfc29x3||null==_0xfc29x4)){return _0xa1fe[110]};if(null!=_0xfc29x2&&null==this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!0)&&null==this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!1)){return null};if(!this[_0xa1fe[2402]]&&_0xfc29x3==_0xfc29x4&&null!=_0xfc29x3||!this[_0xa1fe[2582]](_0xfc29x3,_0xfc29x4)){return _0xa1fe[110]};if(null!=_0xfc29x3&&null!=_0xfc29x4){var _0xfc29x5=_0xa1fe[110];if(!this[_0xa1fe[2404]]){var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1781]](_0xfc29x3,_0xfc29x4,!0);if(1<_0xfc29x9[_0xa1fe[67]]||1==_0xfc29x9[_0xa1fe[67]]&&_0xfc29x9[0]!=_0xfc29x2){_0xfc29x5+=(mxResources[_0xa1fe[203]](this[_0xa1fe[2421]])||this[_0xa1fe[2421]])+_0xa1fe[192]}};var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1962]](_0xfc29x3,!0,_0xfc29x2),_0xfc29xa=this[_0xa1fe[251]][_0xa1fe[1962]](_0xfc29x4,!1,_0xfc29x2);if(null!=this[_0xa1fe[2335]]){for(var _0xfc29x12=0;_0xfc29x12<this[_0xa1fe[2335]][_0xa1fe[67]];_0xfc29x12++){var _0xfc29x13=this[_0xa1fe[2335]][_0xfc29x12][_0xa1fe[2583]](this,_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x9,_0xfc29xa);null!=_0xfc29x13&&(_0xfc29x5+=_0xfc29x13)}};_0xfc29x13=this[_0xa1fe[2584]](_0xfc29x2,_0xfc29x3,_0xfc29x4);null!=_0xfc29x13&&(_0xfc29x5+=_0xfc29x13);return 0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5:null};return this[_0xa1fe[2406]]?null:_0xa1fe[110]};mxGraph[_0xa1fe[202]][_0xa1fe[2584]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null};mxGraph[_0xa1fe[202]][_0xa1fe[2585]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:this[_0xa1fe[251]][_0xa1fe[501]]();_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:{};for(var _0xfc29x4=!0,_0xfc29x5=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x12=_0xfc29x3;this[_0xa1fe[2553]](_0xfc29xa)&&(_0xfc29x12={});_0xfc29x12=this[_0xa1fe[2585]](_0xfc29xa,_0xfc29x12);null!=_0xfc29x12?this[_0xa1fe[2447]](_0xfc29xa,_0xfc29x12[_0xa1fe[230]](/\n/g,_0xa1fe[545])):this[_0xa1fe[2447]](_0xfc29xa,null);_0xfc29x4=_0xfc29x4&&null==_0xfc29x12};_0xfc29x5=_0xa1fe[110];this[_0xa1fe[1742]](_0xfc29x2)&&!_0xfc29x4&&(_0xfc29x5+=(mxResources[_0xa1fe[203]](this[_0xa1fe[2423]])||this[_0xa1fe[2423]])+_0xa1fe[192]);_0xfc29x5=this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)?_0xfc29x5+(this[_0xa1fe[2500]](_0xfc29x2,this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!0),this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!1))||_0xa1fe[110]):_0xfc29x5+(this[_0xa1fe[2586]](_0xfc29x2)||_0xa1fe[110]);_0xfc29x9=this[_0xa1fe[2587]](_0xfc29x2,_0xfc29x3);null!=_0xfc29x9&&(_0xfc29x5+=_0xfc29x9);null==this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2)&&this[_0xa1fe[441]][_0xa1fe[2264]]();return 0<_0xfc29x5[_0xa1fe[67]]||!_0xfc29x4?_0xfc29x5:null};mxGraph[_0xa1fe[202]][_0xa1fe[2586]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1962]](_0xfc29x2,!0),_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1962]](_0xfc29x2,!1);_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[433]](_0xfc29x2);var _0xfc29x5=_0xa1fe[110];if(null!=this[_0xa1fe[2335]]){for(var _0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2335]][_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[2335]][_0xfc29x9];if(_0xfc29xa[_0xa1fe[1097]]&&mxUtils[_0xa1fe[1331]](_0xfc29x2,_0xfc29xa[_0xa1fe[60]],_0xfc29xa[_0xa1fe[2588]],_0xfc29xa[_0xa1fe[131]])&&(0==_0xfc29xa[_0xa1fe[160]]&&0<_0xfc29x3||1==_0xfc29xa[_0xa1fe[243]]&&0==_0xfc29x3||1==_0xfc29xa[_0xa1fe[160]]&&1<_0xfc29x3)){_0xfc29x5+=_0xfc29xa[_0xa1fe[2589]]+_0xa1fe[192]}else {if(!_0xfc29xa[_0xa1fe[1097]]&&mxUtils[_0xa1fe[1331]](_0xfc29x2,_0xfc29xa[_0xa1fe[60]],_0xfc29xa[_0xa1fe[2588]],_0xfc29xa[_0xa1fe[131]])&&(0==_0xfc29xa[_0xa1fe[160]]&&0<_0xfc29x4||1==_0xfc29xa[_0xa1fe[243]]&&0==_0xfc29x4||1==_0xfc29xa[_0xa1fe[160]]&&1<_0xfc29x4)){_0xfc29x5+=_0xfc29xa[_0xa1fe[2589]]+_0xa1fe[192]}}}};return 0<_0xfc29x5[_0xa1fe[67]]?_0xfc29x5:null};mxGraph[_0xa1fe[202]][_0xa1fe[2587]]=function(_0xfc29x2,_0xfc29x3){return null};mxGraph[_0xa1fe[202]][_0xa1fe[2271]]=function(){return this[_0xa1fe[1617]]};mxGraph[_0xa1fe[202]][_0xa1fe[2590]]=function(_0xfc29x2){this[_0xa1fe[1617]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2205]]=function(_0xfc29x2){if(null!=_0xfc29x2&&this[_0xa1fe[2206]]&&!this[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])){var _0xfc29x3=this[_0xa1fe[1742]](_0xfc29x2[_0xa1fe[246]]);if(this[_0xa1fe[2516]](_0xfc29x2[_0xa1fe[246]],!_0xfc29x3)){return _0xfc29x3?this[_0xa1fe[2415]]:this[_0xa1fe[2417]]}};return null};mxGraph[_0xa1fe[202]][_0xa1fe[2454]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[433]](_0xfc29x2);if(null!=_0xfc29x2){if(mxUtils[_0xa1fe[1331]](_0xfc29x2)){return _0xfc29x2[_0xa1fe[301]]};if(_0xa1fe[279]== typeof _0xfc29x2[_0xa1fe[2591]]){return _0xfc29x2.toString()}};return _0xa1fe[110]};mxGraph[_0xa1fe[202]][_0xa1fe[2183]]=function(_0xfc29x2){var _0xfc29x3=_0xa1fe[110];if(this[_0xa1fe[2409]]&&null!=_0xfc29x2){var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x4=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);mxUtils[_0xa1fe[433]](_0xfc29x4,mxConstants.STYLE_NOLABEL,!1)||(_0xfc29x3=this[_0xa1fe[2454]](_0xfc29x2))};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[2186]]=function(_0xfc29x2){return this[_0xa1fe[2592]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2592]]=function(){return this[_0xa1fe[2410]]};mxGraph[_0xa1fe[202]][_0xa1fe[2593]]=function(_0xfc29x2){this[_0xa1fe[2410]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2131]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return null!=_0xfc29x2?_0xa1fe[1333]==_0xfc29x2[mxConstants[_0xa1fe[2594]]]:!1};mxGraph[_0xa1fe[202]][_0xa1fe[2130]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return null!=_0xfc29x2?_0xa1fe[188]==_0xfc29x2[mxConstants[_0xa1fe[2193]]]:!1};mxGraph[_0xa1fe[202]][_0xa1fe[2595]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;if(null!=_0xfc29x2){if(null!=_0xfc29x2[_0xa1fe[2207]]&&(_0xfc29x3==_0xfc29x2[_0xa1fe[2207]][_0xa1fe[252]]||_0xfc29x3[_0xa1fe[265]]==_0xfc29x2[_0xa1fe[2207]][_0xa1fe[252]])){_0xfc29x9=this[_0xa1fe[2425]],_0xfc29x9=mxResources[_0xa1fe[203]](_0xfc29x9)||_0xfc29x9};null==_0xfc29x9&&null!=_0xfc29x2[_0xa1fe[1211]]&&_0xfc29x2[_0xa1fe[1211]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x4){if(null==_0xfc29x9&&(_0xfc29x3==_0xfc29x4[_0xa1fe[252]]||_0xfc29x3[_0xa1fe[265]]==_0xfc29x4[_0xa1fe[252]])){_0xfc29x9=_0xfc29x4[_0xa1fe[2201]].toString()}});null==_0xfc29x9&&(_0xfc29x4=this[_0xa1fe[2432]][_0xa1fe[2596]](_0xfc29x2[_0xa1fe[246]]),null!=_0xfc29x4&&_0xa1fe[279]== typeof _0xfc29x4[_0xa1fe[2597]]&&(_0xfc29x9=_0xfc29x4[_0xa1fe[2597]](_0xfc29x3)));null==_0xfc29x9&&(_0xfc29x9=this[_0xa1fe[2598]](_0xfc29x2[_0xa1fe[246]]))};return _0xfc29x9};mxGraph[_0xa1fe[202]][_0xa1fe[2598]]=function(_0xfc29x2){var _0xfc29x3=null;return _0xfc29x3=null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[2595]]?_0xfc29x2[_0xa1fe[2595]]():this[_0xa1fe[2454]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2599]]=function(_0xfc29x2){return null};mxGraph[_0xa1fe[202]][_0xa1fe[1731]]=function(_0xfc29x2){var _0xfc29x3= new mxRectangle,_0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);null!=_0xfc29x2&&(_0xfc29x4=parseInt(mxUtils[_0xa1fe[433]](_0xfc29x2,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils[_0xa1fe[433]](_0xfc29x2,mxConstants.STYLE_HORIZONTAL,!0)?_0xfc29x3[_0xa1fe[119]]=_0xfc29x4:_0xfc29x3[_0xa1fe[117]]=_0xfc29x4);return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[1202]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2484]]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2187]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2063]]]||mxConstants[_0xa1fe[481]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2173]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2600]]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2174]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2601]]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2172]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2602]]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2176]]=function(_0xfc29x2){return null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[124]]?_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2603]]]:null};mxGraph[_0xa1fe[202]][_0xa1fe[2476]]=function(){return this[_0xa1fe[467]]};mxGraph[_0xa1fe[202]][_0xa1fe[2604]]=function(_0xfc29x2){this[_0xa1fe[467]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[1730]]=function(_0xfc29x2){if(null!=_0xfc29x2&&this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2)!=this[_0xa1fe[251]][_0xa1fe[501]]()){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);if(null!=_0xfc29x3&&!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)){return _0xfc29x3[mxConstants[_0xa1fe[2059]]]==mxConstants[_0xa1fe[2605]]}};return !1};mxGraph[_0xa1fe[202]][_0xa1fe[2606]]=function(){return this[_0xa1fe[2389]]};mxGraph[_0xa1fe[202]][_0xa1fe[2607]]=function(_0xfc29x2){this[_0xa1fe[2389]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxGraph[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2608]]=function(){return this[_0xa1fe[2362]]};mxGraph[_0xa1fe[202]][_0xa1fe[2609]]=function(_0xfc29x2){this[_0xa1fe[2362]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2134]]=function(){return this[_0xa1fe[2363]]};mxGraph[_0xa1fe[202]][_0xa1fe[2610]]=function(_0xfc29x2){this[_0xa1fe[2363]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2125]]=function(){return this[_0xa1fe[2364]]};mxGraph[_0xa1fe[202]][_0xa1fe[2611]]=function(_0xfc29x2){this[_0xa1fe[2364]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2612]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);return this[_0xa1fe[2613]]()||null!=_0xfc29x3&&this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2)&&_0xfc29x3[_0xa1fe[1500]]};mxGraph[_0xa1fe[202]][_0xa1fe[2613]]=function(){return this[_0xa1fe[2368]]};mxGraph[_0xa1fe[202]][_0xa1fe[2614]]=function(_0xfc29x2){this[_0xa1fe[2368]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2615]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[2616]](_0xfc29x2)}))};mxGraph[_0xa1fe[202]][_0xa1fe[2616]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2617]]()&&0!=_0xfc29x2[mxConstants[_0xa1fe[2618]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2617]]=function(){return this[_0xa1fe[2369]]};mxGraph[_0xa1fe[202]][_0xa1fe[2619]]=function(_0xfc29x2){this[_0xa1fe[2369]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[898]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[2620]](_0xfc29x2)}))};mxGraph[_0xa1fe[202]][_0xa1fe[2620]]=function(_0xfc29x2){return this[_0xa1fe[2366]]};mxGraph[_0xa1fe[202]][_0xa1fe[900]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[2621]](_0xfc29x2)}))};mxGraph[_0xa1fe[202]][_0xa1fe[2621]]=function(_0xfc29x2){return this[_0xa1fe[2367]]};mxGraph[_0xa1fe[202]][_0xa1fe[2102]]=function(_0xfc29x2){return this[_0xa1fe[2622]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2622]]=function(){return this[_0xa1fe[2379]]};mxGraph[_0xa1fe[202]][_0xa1fe[2623]]=function(_0xfc29x2){this[_0xa1fe[2379]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2510]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[2624]](_0xfc29x2)}))};mxGraph[_0xa1fe[202]][_0xa1fe[2624]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2625]]()&&0!=_0xfc29x2[mxConstants[_0xa1fe[2626]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2625]]=function(){return this[_0xa1fe[2371]]};mxGraph[_0xa1fe[202]][_0xa1fe[2627]]=function(_0xfc29x2){this[_0xa1fe[2371]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2628]]=function(_0xfc29x2){return !this[_0xa1fe[2612]](_0xfc29x2)&&(this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)&&this[_0xa1fe[2373]]||this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x2)&&this[_0xa1fe[2374]])};mxGraph[_0xa1fe[202]][_0xa1fe[2629]]=function(_0xfc29x2){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[1712]](_0xfc29x2)}))};mxGraph[_0xa1fe[202]][_0xa1fe[1712]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2630]]()&&!this[_0xa1fe[2612]](_0xfc29x2)&&0!=_0xfc29x3[mxConstants[_0xa1fe[2631]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2630]]=function(){return this[_0xa1fe[2372]]};mxGraph[_0xa1fe[202]][_0xa1fe[2632]]=function(_0xfc29x2){this[_0xa1fe[2372]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[997]]=function(){return this[_0xa1fe[991]]};mxGraph[_0xa1fe[202]][_0xa1fe[998]]=function(_0xfc29x2){this[_0xa1fe[991]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2549]]=function(){return this[_0xa1fe[2348]]};mxGraph[_0xa1fe[202]][_0xa1fe[2633]]=function(_0xfc29x2){this[_0xa1fe[2348]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2634]]=function(){return this[_0xa1fe[1020]]};mxGraph[_0xa1fe[202]][_0xa1fe[2635]]=function(_0xfc29x2){this[_0xa1fe[1020]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2636]]=function(){return this[_0xa1fe[2353]]};mxGraph[_0xa1fe[202]][_0xa1fe[2637]]=function(_0xfc29x2){this[_0xa1fe[2353]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2638]]=function(){return this[_0xa1fe[2374]]};mxGraph[_0xa1fe[202]][_0xa1fe[2639]]=function(_0xfc29x2){this[_0xa1fe[2374]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2640]]=function(){return this[_0xa1fe[2373]]};mxGraph[_0xa1fe[202]][_0xa1fe[2641]]=function(_0xfc29x2){this[_0xa1fe[2373]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2642]]=function(){return this[_0xa1fe[2412]]};mxGraph[_0xa1fe[202]][_0xa1fe[2643]]=function(_0xfc29x2){this[_0xa1fe[2412]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2460]]=function(){return this[_0xa1fe[2411]]};mxGraph[_0xa1fe[202]][_0xa1fe[2644]]=function(_0xfc29x2){this[_0xa1fe[2411]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2645]]=function(){return this[_0xa1fe[2404]]};mxGraph[_0xa1fe[202]][_0xa1fe[2646]]=function(_0xfc29x2){this[_0xa1fe[2404]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2647]]=function(){return this[_0xa1fe[2402]]};mxGraph[_0xa1fe[202]][_0xa1fe[2648]]=function(_0xfc29x2){this[_0xa1fe[2406]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2530]]=function(){return this[_0xa1fe[2406]]};mxGraph[_0xa1fe[202]][_0xa1fe[2649]]=function(_0xfc29x2){this[_0xa1fe[2405]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2650]]=function(){return this[_0xa1fe[2405]]};mxGraph[_0xa1fe[202]][_0xa1fe[2651]]=function(_0xfc29x2){this[_0xa1fe[2407]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2527]]=function(){return this[_0xa1fe[2407]]};mxGraph[_0xa1fe[202]][_0xa1fe[2652]]=function(_0xfc29x2){this[_0xa1fe[2402]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2529]]=function(){return this[_0xa1fe[2408]]};mxGraph[_0xa1fe[202]][_0xa1fe[2653]]=function(_0xfc29x2){this[_0xa1fe[2408]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[1015]]=function(){return this[_0xa1fe[2375]]};mxGraph[_0xa1fe[202]][_0xa1fe[2654]]=function(_0xfc29x2){this[_0xa1fe[2375]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2655]]=function(){return this[_0xa1fe[2376]]};mxGraph[_0xa1fe[202]][_0xa1fe[2656]]=function(_0xfc29x2){this[_0xa1fe[2376]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2657]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2658]]()&&!this[_0xa1fe[2612]](_0xfc29x2)&&0!=_0xfc29x3[mxConstants[_0xa1fe[2659]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2658]]=function(){return this[_0xa1fe[2377]]};mxGraph[_0xa1fe[202]][_0xa1fe[2660]]=function(_0xfc29x2){this[_0xa1fe[2377]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2661]]=function(_0xfc29x2,_0xfc29x3){return !0};mxGraph[_0xa1fe[202]][_0xa1fe[2662]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2663]]()&&!this[_0xa1fe[2612]](_0xfc29x2)&&0!=_0xfc29x3[mxConstants[_0xa1fe[2664]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2663]]=function(){return this[_0xa1fe[2378]]};mxGraph[_0xa1fe[202]][_0xa1fe[2665]]=function(_0xfc29x2){this[_0xa1fe[2378]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2453]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x3=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2666]]()&&!this[_0xa1fe[2612]](_0xfc29x2)&&0!=_0xfc29x3[mxConstants[_0xa1fe[2667]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2666]]=function(){return this[_0xa1fe[2370]]};mxGraph[_0xa1fe[202]][_0xa1fe[2668]]=function(_0xfc29x2){this[_0xa1fe[2370]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2551]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return this[_0xa1fe[2669]]()&&!this[_0xa1fe[2612]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2669]]=function(){return this[_0xa1fe[2380]]};mxGraph[_0xa1fe[202]][_0xa1fe[2670]]=function(_0xfc29x2){this[_0xa1fe[2380]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2671]]=function(_0xfc29x2){return null==_0xfc29x2&&this[_0xa1fe[2406]]||null!=_0xfc29x2&&(!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)||this[_0xa1fe[2405]])&&this[_0xa1fe[2565]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2672]]=function(_0xfc29x2){return this[_0xa1fe[2671]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2582]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[2671]](_0xfc29x2)&&this[_0xa1fe[2672]](_0xfc29x3)};mxGraph[_0xa1fe[202]][_0xa1fe[1995]]=function(_0xfc29x2){this[_0xa1fe[2433]][_0xa1fe[995]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1965]]=function(_0xfc29x2){return this[_0xa1fe[2433]][_0xa1fe[994]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2673]]=function(_0xfc29x2){this[_0xa1fe[2276]][_0xa1fe[995]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2674]]=function(_0xfc29x2){this[_0xa1fe[2316]][_0xa1fe[2431]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2203]]=function(_0xfc29x2){if(null!=this[_0xa1fe[2347]]){var _0xfc29x3=this[_0xa1fe[2347]][_0xa1fe[2148]]();return null==_0xfc29x2?null!=_0xfc29x3:_0xfc29x2==_0xfc29x3};return !1};mxGraph[_0xa1fe[202]][_0xa1fe[2455]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return this[_0xa1fe[2675]]()||1==_0xfc29x2[mxConstants[_0xa1fe[2676]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2675]]=function(){return this[_0xa1fe[2381]]};mxGraph[_0xa1fe[202]][_0xa1fe[2677]]=function(_0xfc29x2){this[_0xa1fe[2381]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2507]]=function(_0xfc29x2){return !this[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2)&&this[_0xa1fe[2678]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2678]]=function(){return this[_0xa1fe[2392]]};mxGraph[_0xa1fe[202]][_0xa1fe[2679]]=function(_0xfc29x2){this[_0xa1fe[2392]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2506]]=function(){return this[_0xa1fe[2393]]};mxGraph[_0xa1fe[202]][_0xa1fe[2680]]=function(_0xfc29x2){this[_0xa1fe[2393]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2536]]=function(_0xfc29x2){return this[_0xa1fe[2681]]()&&!this[_0xa1fe[502]]()[_0xa1fe[250]](this[_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x2))};mxGraph[_0xa1fe[202]][_0xa1fe[2681]]=function(){return this[_0xa1fe[2391]]};mxGraph[_0xa1fe[202]][_0xa1fe[2682]]=function(_0xfc29x2){this[_0xa1fe[2391]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2505]]=function(){return this[_0xa1fe[2390]]};mxGraph[_0xa1fe[202]][_0xa1fe[2528]]=function(_0xfc29x2){this[_0xa1fe[2390]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2537]]=function(_0xfc29x2){return this[_0xa1fe[2683]](_0xfc29x2)?this[_0xa1fe[2354]]:0};mxGraph[_0xa1fe[202]][_0xa1fe[2683]]=function(_0xfc29x2){return !1};mxGraph[_0xa1fe[202]][_0xa1fe[2513]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[251]][_0xa1fe[1938]](_0xfc29x2,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return this[_0xa1fe[2516]](_0xfc29x2,_0xfc29x3)}))};mxGraph[_0xa1fe[202]][_0xa1fe[2516]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2),_0xfc29x4=null!=_0xfc29x4?_0xfc29x4[_0xa1fe[124]]:this[_0xa1fe[1705]](_0xfc29x2);return 0<this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2)&&0!=_0xfc29x4[mxConstants[_0xa1fe[2684]]]};mxGraph[_0xa1fe[202]][_0xa1fe[2685]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null!=_0xfc29x2&&(this[_0xa1fe[2655]]()&&this[_0xa1fe[2686]](_0xfc29x2,_0xfc29x3,_0xfc29x4)||!this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)&&(this[_0xa1fe[1730]](_0xfc29x2)||0<this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2)&&!this[_0xa1fe[1742]](_0xfc29x2)))};mxGraph[_0xa1fe[202]][_0xa1fe[2686]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2)&&null!=_0xfc29x3&&1==_0xfc29x3[_0xa1fe[67]]&&this[_0xa1fe[2565]](_0xfc29x3[0])&&null==this[_0xa1fe[2500]](_0xfc29x2,this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!0),_0xfc29x3[0])?(_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!0),_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,!1),!this[_0xa1fe[251]][_0xa1fe[1720]](_0xfc29x3[0],_0xfc29x4)&&!this[_0xa1fe[251]][_0xa1fe[1720]](_0xfc29x3[0],_0xfc29x2)):!1};mxGraph[_0xa1fe[202]][_0xa1fe[564]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(!this[_0xa1fe[2642]]()){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){if(this[_0xa1fe[1730]](_0xfc29x2[_0xfc29x5])){return null}}};_0xfc29x5=mxUtils[_0xa1fe[2196]](this[_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x3),mxEvent[_0xa1fe[733]](_0xfc29x3));_0xfc29x5[_0xa1fe[235]]-=this[_0xa1fe[1136]];_0xfc29x5[_0xa1fe[236]]-=this[_0xa1fe[1137]];_0xfc29x5=this[_0xa1fe[2461]](_0xfc29x5[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]]);if(null==_0xfc29x4){_0xfc29x4=_0xfc29x5}else {if(null!=_0xfc29x5){for(var _0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x5);null!=_0xfc29x9&&this[_0xa1fe[1730]](_0xfc29x9)&&_0xfc29x9!=_0xfc29x4;){_0xfc29x9=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x9)};_0xfc29x9==_0xfc29x4&&(_0xfc29x4=_0xfc29x5)}};for(;null!=_0xfc29x4&&!this[_0xa1fe[2685]](_0xfc29x4,_0xfc29x2,_0xfc29x3)&&!this[_0xa1fe[251]][_0xa1fe[1740]](_0xfc29x4);){_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x4)};return !this[_0xa1fe[251]][_0xa1fe[1740]](_0xfc29x4)&&0>mxUtils[_0xa1fe[2]](_0xfc29x2,_0xfc29x4)?_0xfc29x4:null};mxGraph[_0xa1fe[202]][_0xa1fe[902]]=function(){var _0xfc29x2=this[_0xa1fe[2355]];null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[2534]](),null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[501]](),_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,0)));return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2687]]=function(_0xfc29x2){this[_0xa1fe[2355]]=_0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2179]]=function(_0xfc29x2){for(;null!=_0xfc29x2&&!this[_0xa1fe[1730]](_0xfc29x2);){_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2)};return _0xfc29x2};mxGraph[_0xa1fe[202]][_0xa1fe[2461]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=_0xfc29x4||this[_0xa1fe[902]]();if(null!=_0xfc29x4){for(var _0xfc29x5=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x4),_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x4,_0xfc29x9),_0xfc29x12=this[_0xa1fe[2461]](_0xfc29x2,_0xfc29x3,_0xfc29xa);if(null!=_0xfc29x12){return _0xfc29x12};if(this[_0xa1fe[1730]](_0xfc29xa)&&(_0xfc29x12=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29xa),this[_0xa1fe[1825]](_0xfc29x12,_0xfc29x2,_0xfc29x3))){return _0xfc29xa}}};return null};mxGraph[_0xa1fe[202]][_0xa1fe[999]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:!0;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:this[_0xa1fe[902]]();if(null!=_0xfc29x4){for(var _0xfc29xa=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x4)-1;0<=_0xfc29xa;_0xfc29xa--){var _0xfc29x12=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x4,_0xfc29xa),_0xfc29x13=this[_0xa1fe[999]](_0xfc29x2,_0xfc29x3,_0xfc29x12,_0xfc29x5,_0xfc29x9);if(null!=_0xfc29x13){return _0xfc29x13};if(this[_0xa1fe[1714]](_0xfc29x12)&&(_0xfc29x9&&this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x12)||_0xfc29x5&&this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x12))){if(_0xfc29x13=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x12),this[_0xa1fe[1825]](_0xfc29x13,_0xfc29x2,_0xfc29x3)){return _0xfc29x12}}}};return null};mxGraph[_0xa1fe[202]][_0xa1fe[1825]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2){var _0xfc29x5=_0xfc29x2[_0xa1fe[439]];if(null!=_0xfc29x5){_0xfc29x2=this[_0xa1fe[2353]]*this[_0xa1fe[2353]];for(var _0xfc29x9=_0xfc29x5[0],_0xfc29xa=1;_0xfc29xa<_0xfc29x5[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x5[_0xfc29xa];if(mxUtils[_0xa1fe[440]](_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]],_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x3,_0xfc29x4)<=_0xfc29x2){return !0};_0xfc29x9=_0xfc29x12}}else {if(_0xfc29x9=mxUtils[_0xa1fe[431]](mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION)||0),0!=_0xfc29x9&&(_0xfc29x5=Math[_0xa1fe[426]](-_0xfc29x9),_0xfc29x9=Math[_0xa1fe[427]](-_0xfc29x9),_0xfc29xa= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]()),_0xfc29x9=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x3,_0xfc29x4),_0xfc29x5,_0xfc29x9,_0xfc29xa),_0xfc29x3=_0xfc29x9[_0xa1fe[235]],_0xfc29x4=_0xfc29x9[_0xa1fe[236]]),mxUtils[_0xa1fe[442]](_0xfc29x2,_0xfc29x3,_0xfc29x4)){return !0}}};return !1};mxGraph[_0xa1fe[202]][_0xa1fe[2688]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[1731]](_0xfc29x2);if(null!=_0xfc29x5){var _0xfc29x9=this[_0xa1fe[249]]()[_0xa1fe[518]]();_0xfc29x3-=_0xfc29x5[_0xa1fe[235]];_0xfc29x4-=_0xfc29x5[_0xa1fe[236]];if(0<_0xfc29x2[_0xa1fe[117]]&&0<_0xfc29x3&&_0xfc29x3>_0xfc29x2[_0xa1fe[117]]*_0xfc29x9||0<_0xfc29x2[_0xa1fe[119]]&&0<_0xfc29x4&&_0xfc29x4>_0xfc29x2[_0xa1fe[119]]*_0xfc29x9){return !0}};return !1};mxGraph[_0xa1fe[202]][_0xa1fe[1728]]=function(_0xfc29x2){return this[_0xa1fe[1955]](_0xfc29x2,!0,!1)};mxGraph[_0xa1fe[202]][_0xa1fe[1956]]=function(_0xfc29x2){return this[_0xa1fe[1955]](_0xfc29x2,!1,!0)};mxGraph[_0xa1fe[202]][_0xa1fe[1955]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:this[_0xa1fe[902]]();_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1955]](_0xfc29x2,null!=_0xfc29x3?_0xfc29x3:!1,null!=_0xfc29x4?_0xfc29x4:!1);_0xfc29x3=[];for(_0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[1714]](_0xfc29x2[_0xfc29x4])&&_0xfc29x3[_0xa1fe[207]](_0xfc29x2[_0xfc29x4])};return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[1756]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[264]](_0xfc29x2,_0xfc29x3,!0,!0,!1)};mxGraph[_0xa1fe[202]][_0xa1fe[1867]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[264]](_0xfc29x2,_0xfc29x3,!0,!1,!1)};mxGraph[_0xa1fe[202]][_0xa1fe[1963]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[264]](_0xfc29x2,_0xfc29x3,!1,!0,!1)};mxGraph[_0xa1fe[202]][_0xa1fe[264]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:!0;_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:!1;for(var _0xfc29x12=[],_0xfc29x13=this[_0xa1fe[1742]](_0xfc29x2),_0xfc29x14=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x2),_0xfc29x15=0;_0xfc29x15<_0xfc29x14;_0xfc29x15++){var _0xfc29x16=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x2,_0xfc29x15);if(_0xfc29x13||!this[_0xa1fe[1714]](_0xfc29x16)){_0xfc29x12=_0xfc29x12[_0xa1fe[1919]](this[_0xa1fe[251]][_0xa1fe[264]](_0xfc29x16,_0xfc29x4,_0xfc29x5))}};_0xfc29x12=_0xfc29x12[_0xa1fe[1919]](this[_0xa1fe[251]][_0xa1fe[264]](_0xfc29x2,_0xfc29x4,_0xfc29x5));_0xfc29x13=[];for(_0xfc29x15=0;_0xfc29x15<_0xfc29x12[_0xa1fe[67]];_0xfc29x15++){_0xfc29x16=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x12[_0xfc29x15]),_0xfc29x14=null!=_0xfc29x16?_0xfc29x16[_0xa1fe[1710]](!0):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x12[_0xfc29x15],!0),_0xfc29x16=null!=_0xfc29x16?_0xfc29x16[_0xa1fe[1710]](!1):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x12[_0xfc29x15],!1),(_0xfc29x9&&_0xfc29x14==_0xfc29x16||_0xfc29x14!=_0xfc29x16&&(_0xfc29x4&&_0xfc29x16==_0xfc29x2&&(null==_0xfc29x3||this[_0xa1fe[1920]](_0xfc29x14,_0xfc29x3,_0xfc29xa))||_0xfc29x5&&_0xfc29x14==_0xfc29x2&&(null==_0xfc29x3||this[_0xa1fe[1920]](_0xfc29x16,_0xfc29x3,_0xfc29xa))))&&_0xfc29x13[_0xa1fe[207]](_0xfc29x12[_0xfc29x15])};return _0xfc29x13};mxGraph[_0xa1fe[202]][_0xa1fe[1920]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x4?this[_0xa1fe[251]][_0xa1fe[1720]](_0xfc29x3,_0xfc29x2):this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x2)==_0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[1808]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!0;_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;var _0xfc29x9=[],_0xfc29xa={};if(null!=_0xfc29x2){for(var _0xfc29x12=0;_0xfc29x12<_0xfc29x2[_0xa1fe[67]];_0xfc29x12++){var _0xfc29x13=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xfc29x12]),_0xfc29x14=null!=_0xfc29x13?_0xfc29x13[_0xa1fe[1710]](!0):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x2[_0xfc29x12],!0),_0xfc29x13=null!=_0xfc29x13?_0xfc29x13[_0xa1fe[1710]](!1):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x2[_0xfc29x12],!1);if(_0xfc29x14==_0xfc29x3&&null!=_0xfc29x13&&_0xfc29x13!=_0xfc29x3&&_0xfc29x5){var _0xfc29x15=mxCellPath[_0xa1fe[385]](_0xfc29x13);null==_0xfc29xa[_0xfc29x15]&&(_0xfc29xa[_0xfc29x15]=_0xfc29x13,_0xfc29x9[_0xa1fe[207]](_0xfc29x13))}else {_0xfc29x13==_0xfc29x3&&(null!=_0xfc29x14&&_0xfc29x14!=_0xfc29x3&&_0xfc29x4)&&(_0xfc29x15=mxCellPath[_0xa1fe[385]](_0xfc29x14),null==_0xfc29xa[_0xfc29x15]&&(_0xfc29xa[_0xfc29x15]=_0xfc29x14,_0xfc29x9[_0xa1fe[207]](_0xfc29x14)))}}};return _0xfc29x9};mxGraph[_0xa1fe[202]][_0xa1fe[1781]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;for(var _0xfc29x5=this[_0xa1fe[264]](_0xfc29x2),_0xfc29x9=[],_0xfc29xa=0;_0xfc29xa<_0xfc29x5[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x5[_0xfc29xa]),_0xfc29x13=null!=_0xfc29x12?_0xfc29x12[_0xa1fe[1710]](!0):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x5[_0xfc29xa],!0),_0xfc29x12=null!=_0xfc29x12?_0xfc29x12[_0xa1fe[1710]](!1):this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x5[_0xfc29xa],!1);(_0xfc29x13==_0xfc29x2&&_0xfc29x12==_0xfc29x3||!_0xfc29x4&&_0xfc29x13==_0xfc29x3&&_0xfc29x12==_0xfc29x2)&&_0xfc29x9[_0xa1fe[207]](_0xfc29x5[_0xfc29xa])};return _0xfc29x9};mxGraph[_0xa1fe[202]][_0xa1fe[2689]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxUtils[_0xa1fe[2196]](this[_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x2),mxEvent[_0xa1fe[733]](_0xfc29x2)),_0xfc29x5=this[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x9=this[_0xa1fe[441]][_0xa1fe[513]],_0xfc29xa=!1!=_0xfc29x3?this[_0xa1fe[1020]]/2:0;_0xfc29x4[_0xa1fe[235]]=this[_0xa1fe[1021]](_0xfc29x4[_0xa1fe[235]]/_0xfc29x5-_0xfc29x9[_0xa1fe[235]]-_0xfc29xa);_0xfc29x4[_0xa1fe[236]]=this[_0xa1fe[1021]](_0xfc29x4[_0xa1fe[236]]/_0xfc29x5-_0xfc29x9[_0xa1fe[236]]-_0xfc29xa);return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[2690]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29xa=null!=_0xfc29xa?_0xfc29xa:[];if(0<_0xfc29x4||0<_0xfc29x5){var _0xfc29x12=_0xfc29x2+_0xfc29x4,_0xfc29x13=_0xfc29x3+_0xfc29x5;_0xfc29x9=_0xfc29x9||this[_0xa1fe[902]]();if(null!=_0xfc29x9){for(var _0xfc29x14=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x9),_0xfc29x15=0;_0xfc29x15<_0xfc29x14;_0xfc29x15++){var _0xfc29x16=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x9,_0xfc29x15),_0xfc29x17=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x16);if(this[_0xa1fe[1714]](_0xfc29x16)&&null!=_0xfc29x17){var _0xfc29x18=_0xfc29x17,_0xfc29x17=mxUtils[_0xa1fe[433]](_0xfc29x17[_0xa1fe[124]],mxConstants.STYLE_ROTATION)||0;0!=_0xfc29x17&&(_0xfc29x18=mxUtils[_0xa1fe[1613]](_0xfc29x18,_0xfc29x17));_0xfc29x18[_0xa1fe[235]]>=_0xfc29x2&&_0xfc29x18[_0xa1fe[236]]+_0xfc29x18[_0xa1fe[119]]<=_0xfc29x13&&_0xfc29x18[_0xa1fe[236]]>=_0xfc29x3&&_0xfc29x18[_0xa1fe[235]]+_0xfc29x18[_0xa1fe[117]]<=_0xfc29x12?_0xfc29xa[_0xa1fe[207]](_0xfc29x16):this[_0xa1fe[2690]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x16,_0xfc29xa)}}}};return _0xfc29xa};mxGraph[_0xa1fe[202]][_0xa1fe[2691]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=[];if(_0xfc29x5||_0xfc29x9){if(null==_0xfc29x4&&(_0xfc29x4=this[_0xa1fe[902]]()),null!=_0xfc29x4){for(var _0xfc29x12=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x4),_0xfc29x13=0;_0xfc29x13<_0xfc29x12;_0xfc29x13++){var _0xfc29x14=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x4,_0xfc29x13),_0xfc29x15=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x14);this[_0xa1fe[1714]](_0xfc29x14)&&null!=_0xfc29x15&&(!_0xfc29x5||_0xfc29x15[_0xa1fe[235]]>=_0xfc29x2)&&(!_0xfc29x9||_0xfc29x15[_0xa1fe[236]]>=_0xfc29x3)&&_0xfc29xa[_0xa1fe[207]](_0xfc29x14)}}};return _0xfc29xa};mxGraph[_0xa1fe[202]][_0xa1fe[1757]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!1;_0xfc29x4=null!=_0xfc29x4?_0xfc29x4:!1;var _0xfc29x5=[];if(null!=_0xfc29x2){for(var _0xfc29x9=this[_0xa1fe[502]](),_0xfc29xa=_0xfc29x9[_0xa1fe[262]](_0xfc29x2),_0xfc29x12=null,_0xfc29x13=0,_0xfc29x14=0;_0xfc29x14<_0xfc29xa;_0xfc29x14++){var _0xfc29x15=_0xfc29x9[_0xa1fe[263]](_0xfc29x2,_0xfc29x14);if(this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x15)&&this[_0xa1fe[1714]](_0xfc29x15)){for(var _0xfc29x16=this[_0xa1fe[1756]](_0xfc29x15,_0xfc29x3?_0xfc29x2:null),_0xfc29x17=0,_0xfc29x18=0,_0xfc29x19=0;_0xfc29x19<_0xfc29x16[_0xa1fe[67]];_0xfc29x19++){this[_0xa1fe[441]][_0xa1fe[1710]](_0xfc29x16[_0xfc29x19],!0)==_0xfc29x15?_0xfc29x17++:_0xfc29x18++};(_0xfc29x4&&0==_0xfc29x17&&0<_0xfc29x18||!_0xfc29x4&&0==_0xfc29x18&&0<_0xfc29x17)&&_0xfc29x5[_0xa1fe[207]](_0xfc29x15);_0xfc29x16=_0xfc29x4?_0xfc29x18-_0xfc29x17:_0xfc29x17-_0xfc29x18;_0xfc29x16>_0xfc29x13&&(_0xfc29x13=_0xfc29x16,_0xfc29x12=_0xfc29x15)}};0==_0xfc29x5[_0xa1fe[67]]&&null!=_0xfc29x12&&_0xfc29x5[_0xa1fe[207]](_0xfc29x12)};return _0xfc29x5};mxGraph[_0xa1fe[202]][_0xa1fe[1706]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x4&&null!=_0xfc29x2){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;_0xfc29x9=_0xfc29x9||[];var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2);if(null==_0xfc29x9[_0xfc29xa]&&(_0xfc29x9[_0xfc29xa]=_0xfc29x2,_0xfc29x5=_0xfc29x4(_0xfc29x2,_0xfc29x5),null==_0xfc29x5||_0xfc29x5)){if(_0xfc29x5=this[_0xa1fe[251]][_0xa1fe[1707]](_0xfc29x2),0<_0xfc29x5){for(_0xfc29xa=0;_0xfc29xa<_0xfc29x5;_0xfc29xa++){var _0xfc29x12=this[_0xa1fe[251]][_0xa1fe[1708]](_0xfc29x2,_0xfc29xa),_0xfc29x13=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x12,!0)==_0xfc29x2;if(!_0xfc29x3||_0xfc29x13){_0xfc29x13=this[_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x12,!_0xfc29x13),this[_0xa1fe[1706]](_0xfc29x13,_0xfc29x3,_0xfc29x4,_0xfc29x12,_0xfc29x9)}}}}}};mxGraph[_0xa1fe[202]][_0xa1fe[2692]]=function(_0xfc29x2){return this[_0xa1fe[2435]]()[_0xa1fe[2097]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2693]]=function(){return this[_0xa1fe[2435]]()[_0xa1fe[1107]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2440]]=function(){return this[_0xa1fe[2435]]()[_0xa1fe[200]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2694]]=function(){return this[_0xa1fe[2435]]()[_0xa1fe[895]][_0xa1fe[67]]};mxGraph[_0xa1fe[202]][_0xa1fe[2452]]=function(){return this[_0xa1fe[2435]]()[_0xa1fe[895]][0]};mxGraph[_0xa1fe[202]][_0xa1fe[897]]=function(){return this[_0xa1fe[2435]]()[_0xa1fe[895]][_0xa1fe[1853]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2450]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[2099]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[904]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[2100]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2695]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[2103]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2696]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[832]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2697]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[2104]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2439]]=function(_0xfc29x2){this[_0xa1fe[2435]]()[_0xa1fe[842]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2698]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[2690]](_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],_0xfc29x2[_0xa1fe[117]],_0xfc29x2[_0xa1fe[119]]);this[_0xa1fe[2699]](_0xfc29x4,_0xfc29x3);return _0xfc29x4};mxGraph[_0xa1fe[202]][_0xa1fe[2700]]=function(){this[_0xa1fe[2701]](!0)};mxGraph[_0xa1fe[202]][_0xa1fe[2702]]=function(){this[_0xa1fe[2701]]()};mxGraph[_0xa1fe[202]][_0xa1fe[2703]]=function(){this[_0xa1fe[2701]](!1,!0)};mxGraph[_0xa1fe[202]][_0xa1fe[2704]]=function(){this[_0xa1fe[2701]](!1,!1,!0)};mxGraph[_0xa1fe[202]][_0xa1fe[2701]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[2105]],_0xfc29x9=0<_0xfc29x5[_0xa1fe[895]][_0xa1fe[67]]?_0xfc29x5[_0xa1fe[895]][0]:null;1<_0xfc29x5[_0xa1fe[895]][_0xa1fe[67]]&&_0xfc29x5[_0xa1fe[200]]();var _0xfc29x5=null!=_0xfc29x9?this[_0xa1fe[251]][_0xa1fe[1197]](_0xfc29x9):this[_0xa1fe[902]](),_0xfc29xa=this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x5);null==_0xfc29x9&&0<_0xfc29xa?(_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x5,0),this[_0xa1fe[2450]](_0xfc29x2)):(null==_0xfc29x9||_0xfc29x3)&&null!=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x5)&&null!=this[_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x5)?this[_0xa1fe[2534]]()!=_0xfc29x5&&this[_0xa1fe[2450]](_0xfc29x5):null!=_0xfc29x9&&_0xfc29x4?0<this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x9)&&(_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x9,0),this[_0xa1fe[2450]](_0xfc29x2)):0<_0xfc29xa&&(_0xfc29x3=_0xfc29x5[_0xa1fe[1738]](_0xfc29x9),_0xfc29x2?(_0xfc29x3++,_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x5,_0xfc29x3%_0xfc29xa)):(_0xfc29x3--,_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[263]](_0xfc29x5,0>_0xfc29x3?_0xfc29xa-1:_0xfc29x3)),this[_0xa1fe[2450]](_0xfc29x2))};mxGraph[_0xa1fe[202]][_0xa1fe[2705]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2||this[_0xa1fe[902]]();_0xfc29x2=this[_0xa1fe[251]][_0xa1fe[1953]](_0xfc29x2);null!=_0xfc29x2&&this[_0xa1fe[904]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2706]]=function(_0xfc29x2){this[_0xa1fe[2707]](!0,!1,_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2708]]=function(_0xfc29x2){this[_0xa1fe[2707]](!1,!0,_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2707]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=_0xfc29x4||this[_0xa1fe[902]]();var _0xfc29x5=mxUtils[_0xa1fe[885]](this,function(_0xfc29x4){return null!=this[_0xa1fe[441]][_0xa1fe[248]](_0xfc29x4)&&0==this[_0xa1fe[251]][_0xa1fe[262]](_0xfc29x4)&&(this[_0xa1fe[251]][_0xa1fe[1193]](_0xfc29x4)&&_0xfc29x2||this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x4)&&_0xfc29x3)});_0xfc29x4=this[_0xa1fe[251]][_0xa1fe[1921]](_0xfc29x5,_0xfc29x4);this[_0xa1fe[904]](_0xfc29x4)};mxGraph[_0xa1fe[202]][_0xa1fe[2459]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[2692]](_0xfc29x2);this[_0xa1fe[2462]](_0xfc29x3)?_0xfc29x4?this[_0xa1fe[2697]](_0xfc29x2):this[_0xa1fe[2695]](_0xfc29x2):(!_0xfc29x4||1!=this[_0xa1fe[2694]]())&&this[_0xa1fe[2450]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2699]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2462]](_0xfc29x3)?this[_0xa1fe[2696]](_0xfc29x2):this[_0xa1fe[904]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[2709]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(this[_0xa1fe[251]][_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]])?(_0xfc29x3=this[_0xa1fe[441]][_0xa1fe[2291]](_0xfc29x2),_0xfc29x3=this[_0xa1fe[2573]](_0xfc29x2)||_0xfc29x3==mxEdgeStyle[_0xa1fe[2568]]||_0xfc29x3==mxEdgeStyle[_0xa1fe[2569]]||_0xfc29x3==mxEdgeStyle[_0xa1fe[2570]]? new mxElbowEdgeHandler(_0xfc29x2):_0xfc29x3==mxEdgeStyle[_0xa1fe[2567]]||_0xfc29x3==mxEdgeStyle[_0xa1fe[2572]]? new mxEdgeSegmentHandler(_0xfc29x2): new mxEdgeHandler(_0xfc29x2)):_0xfc29x3= new mxVertexHandler(_0xfc29x2));return _0xfc29x3};mxGraph[_0xa1fe[202]][_0xa1fe[1133]]=function(_0xfc29x2){null==this[_0xa1fe[2329]]&&(this[_0xa1fe[2329]]=[]);this[_0xa1fe[2329]][_0xa1fe[207]](_0xfc29x2)};mxGraph[_0xa1fe[202]][_0xa1fe[1148]]=function(_0xfc29x2){if(null!=this[_0xa1fe[2329]]){for(var _0xfc29x3=0;_0xfc29x3<this[_0xa1fe[2329]][_0xa1fe[67]];_0xfc29x3++){if(this[_0xa1fe[2329]][_0xfc29x3]==_0xfc29x2){this[_0xa1fe[2329]][_0xa1fe[300]](_0xfc29x3,1);break}}}};mxGraph[_0xa1fe[202]][_0xa1fe[2710]]=function(_0xfc29x2){if(null==_0xfc29x2[_0xa1fe[725]]||null==_0xfc29x2[_0xa1fe[726]]){var _0xfc29x3=mxUtils[_0xa1fe[2196]](this[_0xa1fe[526]],_0xfc29x2[_0xa1fe[730]](),_0xfc29x2[_0xa1fe[732]]());_0xfc29x2[_0xa1fe[725]]=_0xfc29x3[_0xa1fe[235]]-this[_0xa1fe[1136]];_0xfc29x2[_0xa1fe[726]]=_0xfc29x3[_0xa1fe[236]]-this[_0xa1fe[1137]]}};mxGraph[_0xa1fe[202]][_0xa1fe[758]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null==_0xfc29x4&&(_0xfc29x4=this);this[_0xa1fe[2710]](_0xfc29x3);_0xfc29x2==mxEvent[_0xa1fe[2711]]&&(this[_0xa1fe[1009]]= !0);if(mxClient[_0xa1fe[754]]&&this[_0xa1fe[2349]]&&_0xfc29x2==mxEvent[_0xa1fe[2711]]){var _0xfc29x5=( new Date)[_0xa1fe[178]]();_0xfc29x5-this[_0xa1fe[2213]]<this[_0xa1fe[2350]]&&Math[_0xa1fe[425]](this[_0xa1fe[2712]]-_0xfc29x3[_0xa1fe[730]]())<this[_0xa1fe[2351]]&&Math[_0xa1fe[425]](this[_0xa1fe[2352]]-_0xfc29x3[_0xa1fe[732]]())<this[_0xa1fe[2351]]?(this[_0xa1fe[2213]]=0,this[_0xa1fe[761]](_0xfc29x3[_0xa1fe[727]](),_0xfc29x3[_0xa1fe[736]]()),_0xfc29x3[_0xa1fe[727]]()[_0xa1fe[786]]= !0):(this[_0xa1fe[2712]]=_0xfc29x3[_0xa1fe[730]](),this[_0xa1fe[2352]]=_0xfc29x3[_0xa1fe[732]](),this[_0xa1fe[2213]]=_0xfc29x5)};_0xfc29x5=2!=_0xfc29x3[_0xa1fe[727]]()[_0xa1fe[764]];if(mxClient[_0xa1fe[80]]&&_0xa1fe[462]==document[_0xa1fe[135]]){if(null!=this[_0xa1fe[2713]]&&Math[_0xa1fe[425]](this[_0xa1fe[2713]]-_0xfc29x3[_0xa1fe[730]]())>this[_0xa1fe[2351]]||null!=this[_0xa1fe[2714]]&&Math[_0xa1fe[425]](this[_0xa1fe[2714]]-_0xfc29x3[_0xa1fe[732]]())>this[_0xa1fe[2351]]){_0xfc29x5= !0};_0xfc29x2==mxEvent[_0xa1fe[2715]]&&(this[_0xa1fe[2713]]=_0xfc29x3[_0xa1fe[730]](),this[_0xa1fe[2714]]=_0xfc29x3[_0xa1fe[732]]())};if((_0xfc29x2!=mxEvent[_0xa1fe[2715]]||this[_0xa1fe[1009]])&&_0xfc29x5){if(_0xfc29x2==mxEvent[_0xa1fe[2715]]&&(this[_0xa1fe[1009]]= !1),!this[_0xa1fe[2203]]()&&(mxClient[_0xa1fe[71]]||mxClient[_0xa1fe[75]]||mxClient[_0xa1fe[76]]||mxClient[_0xa1fe[80]]&&mxClient[_0xa1fe[48]]||_0xfc29x3[_0xa1fe[727]]()[_0xa1fe[772]]!=this[_0xa1fe[526]])){_0xfc29x2==mxEvent[_0xa1fe[2716]]&&(this[_0xa1fe[1009]]&&this[_0xa1fe[1012]])&&this[_0xa1fe[1014]](_0xfc29x3[_0xa1fe[734]](),_0xfc29x3[_0xa1fe[735]](),this[_0xa1fe[1013]]);if(null!=this[_0xa1fe[2329]]){_0xfc29x4=[_0xfc29x4,_0xfc29x3];_0xfc29x3[_0xa1fe[727]]()[_0xa1fe[739]]= !0;for(_0xfc29x5=0;_0xfc29x5<this[_0xa1fe[2329]][_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[2329]][_0xfc29x5];_0xfc29x2==mxEvent[_0xa1fe[2711]]?_0xfc29x9[_0xa1fe[787]][_0xa1fe[183]](_0xfc29x9,_0xfc29x4):_0xfc29x2==mxEvent[_0xa1fe[2716]]?_0xfc29x9[_0xa1fe[788]][_0xa1fe[183]](_0xfc29x9,_0xfc29x4):_0xfc29x2==mxEvent[_0xa1fe[2715]]&&_0xfc29x9[_0xa1fe[789]][_0xa1fe[183]](_0xfc29x9,_0xfc29x4)}};_0xfc29x2==mxEvent[_0xa1fe[2715]]&&this[_0xa1fe[173]](_0xfc29x3)}}else {_0xfc29x2==mxEvent[_0xa1fe[2715]]&&(this[_0xa1fe[1009]]= !1)}};mxGraph[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[2717]]||(this[_0xa1fe[2717]]= !0,null!=this[_0xa1fe[2276]]&&this[_0xa1fe[2276]][_0xa1fe[515]](),null!=this[_0xa1fe[2432]]&&this[_0xa1fe[2432]][_0xa1fe[515]](),null!=this[_0xa1fe[2316]]&&this[_0xa1fe[2316]][_0xa1fe[515]](),null!=this[_0xa1fe[2433]]&&this[_0xa1fe[2433]][_0xa1fe[515]](),null!=this[_0xa1fe[1011]]&&this[_0xa1fe[1011]][_0xa1fe[515]](),null!=this[_0xa1fe[2347]]&&this[_0xa1fe[2347]][_0xa1fe[515]](),null!=this[_0xa1fe[441]]&&this[_0xa1fe[441]][_0xa1fe[515]](),null!=this[_0xa1fe[251]]&&null!=this[_0xa1fe[2343]]&&(this[_0xa1fe[251]][_0xa1fe[745]](this[_0xa1fe[2343]]),this[_0xa1fe[2343]]=null),this[_0xa1fe[526]]=null)};function mxCellOverlay(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){this[_0xa1fe[618]]=_0xfc29x2;this[_0xa1fe[2718]]=_0xfc29x3;this[_0xa1fe[611]]=null!=_0xfc29x4?_0xfc29x4:this[_0xa1fe[611]];this[_0xa1fe[123]]=null!=_0xfc29x5?_0xfc29x5:this[_0xa1fe[123]];this[_0xa1fe[1368]]=null!=_0xfc29x9?_0xfc29x9: new mxPoint;this[_0xa1fe[270]]=null!=_0xfc29xa?_0xfc29xa:_0xa1fe[2719]}mxCellOverlay[_0xa1fe[202]]= new mxEventSource;mxCellOverlay[_0xa1fe[202]][_0xa1fe[196]]=mxCellOverlay;mxCellOverlay[_0xa1fe[202]][_0xa1fe[618]]=null;mxCellOverlay[_0xa1fe[202]][_0xa1fe[2718]]=null;mxCellOverlay[_0xa1fe[202]][_0xa1fe[611]]=mxConstants[_0xa1fe[480]];mxCellOverlay[_0xa1fe[202]][_0xa1fe[123]]=mxConstants[_0xa1fe[482]];mxCellOverlay[_0xa1fe[202]][_0xa1fe[1368]]=null;mxCellOverlay[_0xa1fe[202]][_0xa1fe[270]]=null;mxCellOverlay[_0xa1fe[202]][_0xa1fe[2354]]=0.5;mxCellOverlay[_0xa1fe[202]][_0xa1fe[1799]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[441]][_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x4=_0xfc29x2[_0xa1fe[441]][_0xa1fe[255]],_0xfc29x5=null,_0xfc29x9=this[_0xa1fe[618]][_0xa1fe[117]],_0xfc29xa=this[_0xa1fe[618]][_0xa1fe[119]];_0xfc29x3?(_0xfc29x3=_0xfc29x2[_0xa1fe[439]],1==_0xfc29x3[_0xa1fe[67]]%2?_0xfc29x5=_0xfc29x3[Math[_0xa1fe[519]](_0xfc29x3[_0xa1fe[67]]/2)]:(_0xfc29x5=_0xfc29x3[_0xa1fe[67]]/2,_0xfc29x2=_0xfc29x3[_0xfc29x5-1],_0xfc29x3=_0xfc29x3[_0xfc29x5],_0xfc29x5= new mxPoint(_0xfc29x2[_0xa1fe[235]]+(_0xfc29x3[_0xa1fe[235]]-_0xfc29x2[_0xa1fe[235]])/2,_0xfc29x2[_0xa1fe[236]]+(_0xfc29x3[_0xa1fe[236]]-_0xfc29x2[_0xa1fe[236]])/2))):(_0xfc29x5= new mxPoint,_0xfc29x5[_0xa1fe[235]]=this[_0xa1fe[611]]==mxConstants[_0xa1fe[2132]]?_0xfc29x2[_0xa1fe[235]]:this[_0xa1fe[611]]==mxConstants[_0xa1fe[479]]?_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]/2:_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]],_0xfc29x5[_0xa1fe[236]]=this[_0xa1fe[123]]==mxConstants[_0xa1fe[1687]]?_0xfc29x2[_0xa1fe[236]]:this[_0xa1fe[123]]==mxConstants[_0xa1fe[481]]?_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]/2:_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]);return new mxRectangle(Math[_0xa1fe[488]](_0xfc29x5[_0xa1fe[235]]-(_0xfc29x9*this[_0xa1fe[2354]]-this[_0xa1fe[1368]][_0xa1fe[235]])*_0xfc29x4),Math[_0xa1fe[488]](_0xfc29x5[_0xa1fe[236]]-(_0xfc29xa*this[_0xa1fe[2354]]-this[_0xa1fe[1368]][_0xa1fe[236]])*_0xfc29x4),_0xfc29x9*_0xfc29x4,_0xfc29xa*_0xfc29x4)};mxCellOverlay[_0xa1fe[202]][_0xa1fe[2591]]=function(){return this[_0xa1fe[2718]]};function mxOutline(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1097]]=_0xfc29x2;null!=_0xfc29x3&&this[_0xa1fe[176]](_0xfc29x3)}mxOutline[_0xa1fe[202]][_0xa1fe[1097]]=null;mxOutline[_0xa1fe[202]][_0xa1fe[2136]]=null;mxOutline[_0xa1fe[202]][_0xa1fe[2720]]=mxConstants[_0xa1fe[2333]];mxOutline[_0xa1fe[202]][_0xa1fe[984]]= !0;mxOutline[_0xa1fe[202]][_0xa1fe[2721]]= !0;mxOutline[_0xa1fe[202]][_0xa1fe[467]]=10;mxOutline[_0xa1fe[202]][_0xa1fe[2722]]=8;mxOutline[_0xa1fe[202]][_0xa1fe[2723]]= !1;mxOutline[_0xa1fe[202]][_0xa1fe[2724]]=null;mxOutline[_0xa1fe[202]][_0xa1fe[1063]]= !1;mxOutline[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2){this[_0xa1fe[2136]]= new mxGraph(_0xfc29x2,this[_0xa1fe[1097]][_0xa1fe[502]](),this[_0xa1fe[2720]],this[_0xa1fe[1097]][_0xa1fe[2434]]());this[_0xa1fe[2136]][_0xa1fe[2206]]= !1;this[_0xa1fe[2136]][_0xa1fe[1012]]= !1;var _0xfc29x3=this[_0xa1fe[2136]][_0xa1fe[1177]];this[_0xa1fe[2136]][_0xa1fe[1177]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){!this[_0xa1fe[1063]]&&null!=this[_0xa1fe[2136]]&&_0xfc29x3[_0xa1fe[183]](this[_0xa1fe[2136]],arguments)});mxClient[_0xa1fe[48]]&&(_0xfc29x2=this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[2051]]()[_0xa1fe[265]],_0xfc29x2[_0xa1fe[57]](_0xa1fe[2725],_0xa1fe[2726]),_0xfc29x2[_0xa1fe[57]](_0xa1fe[2727],_0xa1fe[2726]));this[_0xa1fe[2136]][_0xa1fe[2409]]= !1;this[_0xa1fe[2136]][_0xa1fe[995]](!1);this[_0xa1fe[2728]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){!this[_0xa1fe[1063]]&&!this[_0xa1fe[1124]]&&this[_0xa1fe[2729]]()});this[_0xa1fe[1097]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[2728]]);this[_0xa1fe[2136]][_0xa1fe[1133]](this);_0xfc29x2=this[_0xa1fe[1097]][_0xa1fe[249]]();_0xfc29x2[_0xa1fe[169]](mxEvent.SCALE,this[_0xa1fe[2728]]);_0xfc29x2[_0xa1fe[169]](mxEvent.TRANSLATE,this[_0xa1fe[2728]]);_0xfc29x2[_0xa1fe[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0xa1fe[2728]]);_0xfc29x2[_0xa1fe[169]](mxEvent.DOWN,this[_0xa1fe[2728]]);_0xfc29x2[_0xa1fe[169]](mxEvent.UP,this[_0xa1fe[2728]]);mxEvent[_0xa1fe[169]](this[_0xa1fe[1097]][_0xa1fe[526]],_0xa1fe[276],this[_0xa1fe[2728]]);this[_0xa1fe[2730]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2723]]&&this[_0xa1fe[2728]][_0xa1fe[183]](this,arguments)});this[_0xa1fe[1097]][_0xa1fe[169]](mxEvent.PAN,this[_0xa1fe[2730]]);this[_0xa1fe[2731]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2136]][_0xa1fe[2341]](this[_0xa1fe[1097]][_0xa1fe[2434]]());this[_0xa1fe[2136]][_0xa1fe[802]]()});this[_0xa1fe[1097]][_0xa1fe[169]](mxEvent.REFRESH,this[_0xa1fe[2731]]);this[_0xa1fe[1562]]= new mxRectangle(0,0,0,0);this[_0xa1fe[2732]]= new mxRectangleShape(this[_0xa1fe[1562]],null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);this[_0xa1fe[2732]][_0xa1fe[507]]=this[_0xa1fe[2136]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]];this[_0xa1fe[2732]][_0xa1fe[176]](this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[1524]]());mxEvent[_0xa1fe[2733]](this[_0xa1fe[2732]][_0xa1fe[252]],this[_0xa1fe[2136]]);this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[1537]]=_0xa1fe[110];this[_0xa1fe[2734]]=this[_0xa1fe[2735]]();this[_0xa1fe[2734]][_0xa1fe[176]](this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[1524]]());this[_0xa1fe[984]]&&(this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[356]);mxEvent[_0xa1fe[169]](this[_0xa1fe[2734]][_0xa1fe[252]],mxClient[_0xa1fe[754]]?_0xa1fe[755]:_0xa1fe[751],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2136]][_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x2))}));this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=this[_0xa1fe[2721]]?_0xa1fe[110]:_0xa1fe[130];this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]];this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[582];this[_0xa1fe[2729]](!1)};mxOutline[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxOutline[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxOutline[_0xa1fe[202]][_0xa1fe[2736]]=function(_0xfc29x2){this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xfc29x2?_0xa1fe[189]:_0xa1fe[188]};mxOutline[_0xa1fe[202]][_0xa1fe[802]]=function(){this[_0xa1fe[2729]](!0)};mxOutline[_0xa1fe[202]][_0xa1fe[2735]]=function(){var _0xfc29x2=null!=this[_0xa1fe[2724]]? new mxImageShape( new mxRectangle(0,0,this[_0xa1fe[2724]][_0xa1fe[117]],this[_0xa1fe[2724]][_0xa1fe[119]]),this[_0xa1fe[2724]][_0xa1fe[390]]): new mxRectangleShape( new mxRectangle(0,0,this[_0xa1fe[2722]],this[_0xa1fe[2722]]),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);_0xfc29x2[_0xa1fe[507]]=this[_0xa1fe[2136]][_0xa1fe[507]];return _0xfc29x2};mxOutline[_0xa1fe[202]][_0xa1fe[2737]]=function(){return new mxRectangle(0,0,this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[1526]],this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[191]])};mxOutline[_0xa1fe[202]][_0xa1fe[2738]]=function(_0xfc29x2){return null};mxOutline[_0xa1fe[202]][_0xa1fe[2729]]=function(_0xfc29x2){if(null!=this[_0xa1fe[1097]]){var _0xfc29x3=this[_0xa1fe[1097]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x4=this[_0xa1fe[1097]][_0xa1fe[517]](),_0xfc29x4= new mxRectangle(_0xfc29x4[_0xa1fe[235]]/_0xfc29x3+this[_0xa1fe[1097]][_0xa1fe[1136]],_0xfc29x4[_0xa1fe[236]]/_0xfc29x3+this[_0xa1fe[1097]][_0xa1fe[1137]],_0xfc29x4[_0xa1fe[117]]/_0xfc29x3,_0xfc29x4[_0xa1fe[119]]/_0xfc29x3),_0xfc29x5= new mxRectangle(0,0,this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[159]]/_0xfc29x3,this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[157]]/_0xfc29x3),_0xfc29x9=_0xfc29x4[_0xa1fe[238]]();_0xfc29x9[_0xa1fe[99]](_0xfc29x5);var _0xfc29xa=this[_0xa1fe[2737]](),_0xfc29x5=Math[_0xa1fe[160]](_0xfc29xa[_0xa1fe[117]]/_0xfc29x3,_0xfc29x9[_0xa1fe[117]]),_0xfc29x3=Math[_0xa1fe[160]](_0xfc29xa[_0xa1fe[119]]/_0xfc29x3,_0xfc29x9[_0xa1fe[119]]),_0xfc29x9=Math[_0xa1fe[160]](0,this[_0xa1fe[2136]][_0xa1fe[526]][_0xa1fe[159]]-this[_0xa1fe[467]]),_0xfc29xa=Math[_0xa1fe[160]](0,this[_0xa1fe[2136]][_0xa1fe[526]][_0xa1fe[157]]-this[_0xa1fe[467]]),_0xfc29x9=Math[_0xa1fe[243]](_0xfc29x9/_0xfc29x5,_0xfc29xa/_0xfc29x3);if(0<_0xfc29x9){this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[255]]!=_0xfc29x9&&(this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[255]]=_0xfc29x9,_0xfc29x2= !0);_0xfc29x5=this[_0xa1fe[2136]][_0xa1fe[249]]();_0xfc29x5[_0xa1fe[1741]]!=this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[1741]]&&_0xfc29x5[_0xa1fe[2257]](this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[1741]]);var _0xfc29x3=this[_0xa1fe[1097]][_0xa1fe[441]][_0xa1fe[513]],_0xfc29xa=_0xfc29x3[_0xa1fe[235]]+this[_0xa1fe[1097]][_0xa1fe[1136]],_0xfc29x12=_0xfc29x3[_0xa1fe[236]]+this[_0xa1fe[1097]][_0xa1fe[1137]],_0xfc29x9=this[_0xa1fe[2738]](_0xfc29x9);null!=_0xfc29x9&&(_0xfc29xa+=_0xfc29x9[_0xa1fe[235]],_0xfc29x12+=_0xfc29x9[_0xa1fe[236]]);0>_0xfc29x4[_0xa1fe[235]]&&(_0xfc29xa-=_0xfc29x4[_0xa1fe[235]]);0>_0xfc29x4[_0xa1fe[236]]&&(_0xfc29x12-=_0xfc29x4[_0xa1fe[236]]);if(_0xfc29x5[_0xa1fe[513]][_0xa1fe[235]]!=_0xfc29xa||_0xfc29x5[_0xa1fe[513]][_0xa1fe[236]]!=_0xfc29x12){_0xfc29x5[_0xa1fe[513]][_0xa1fe[235]]=_0xfc29xa,_0xfc29x5[_0xa1fe[513]][_0xa1fe[236]]=_0xfc29x12,_0xfc29x2= !0};var _0xfc29x4=_0xfc29x5[_0xa1fe[513]],_0xfc29x9=this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29xa=_0xfc29x9/_0xfc29x5[_0xa1fe[255]],_0xfc29x12=1/_0xfc29x5[_0xa1fe[255]],_0xfc29x13=this[_0xa1fe[1097]][_0xa1fe[526]];this[_0xa1fe[1562]]= new mxRectangle((_0xfc29x4[_0xa1fe[235]]-_0xfc29x3[_0xa1fe[235]]-this[_0xa1fe[1097]][_0xa1fe[1136]])/_0xfc29x12,(_0xfc29x4[_0xa1fe[236]]-_0xfc29x3[_0xa1fe[236]]-this[_0xa1fe[1097]][_0xa1fe[1137]])/_0xfc29x12,_0xfc29x13[_0xa1fe[159]]/_0xfc29xa,_0xfc29x13[_0xa1fe[157]]/_0xfc29xa);this[_0xa1fe[1562]][_0xa1fe[235]]+=this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[360]]*_0xfc29x5[_0xa1fe[255]]/_0xfc29x9;this[_0xa1fe[1562]][_0xa1fe[236]]+=this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[190]]*_0xfc29x5[_0xa1fe[255]]/_0xfc29x9;_0xfc29x4=this[_0xa1fe[2732]][_0xa1fe[1562]];if(_0xfc29x4[_0xa1fe[235]]!=this[_0xa1fe[1562]][_0xa1fe[235]]||_0xfc29x4[_0xa1fe[236]]!=this[_0xa1fe[1562]][_0xa1fe[236]]||_0xfc29x4[_0xa1fe[117]]!=this[_0xa1fe[1562]][_0xa1fe[117]]||_0xfc29x4[_0xa1fe[119]]!=this[_0xa1fe[1562]][_0xa1fe[119]]){this[_0xa1fe[2732]][_0xa1fe[1562]]=this[_0xa1fe[1562]],this[_0xa1fe[2732]][_0xa1fe[258]]()};_0xfc29x4=this[_0xa1fe[2734]][_0xa1fe[1562]];_0xfc29x5= new mxRectangle(this[_0xa1fe[1562]][_0xa1fe[235]]+this[_0xa1fe[1562]][_0xa1fe[117]]-_0xfc29x4[_0xa1fe[117]]/2,this[_0xa1fe[1562]][_0xa1fe[236]]+this[_0xa1fe[1562]][_0xa1fe[119]]-_0xfc29x4[_0xa1fe[119]]/2,_0xfc29x4[_0xa1fe[117]],_0xfc29x4[_0xa1fe[119]]);if(_0xfc29x4[_0xa1fe[235]]!=_0xfc29x5[_0xa1fe[235]]||_0xfc29x4[_0xa1fe[236]]!=_0xfc29x5[_0xa1fe[236]]||_0xfc29x4[_0xa1fe[117]]!=_0xfc29x5[_0xa1fe[117]]||_0xfc29x4[_0xa1fe[119]]!=_0xfc29x5[_0xa1fe[119]]){this[_0xa1fe[2734]][_0xa1fe[1562]]=_0xfc29x5,_0xa1fe[188]!=this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]&&this[_0xa1fe[2734]][_0xa1fe[258]]()};_0xfc29x2&&this[_0xa1fe[2136]][_0xa1fe[441]][_0xa1fe[2259]]()}}};mxOutline[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[984]]&&this[_0xa1fe[2721]]&&(this[_0xa1fe[499]]=_0xfc29x3[_0xa1fe[729]](this[_0xa1fe[2734]]),this[_0xa1fe[2739]]=_0xfc29x3[_0xa1fe[730]](),this[_0xa1fe[2740]]=_0xfc29x3[_0xa1fe[732]](),this[_0xa1fe[1124]]= !0,this[_0xa1fe[1097]][_0xa1fe[2365]]&&mxUtils[_0xa1fe[1134]](this[_0xa1fe[1097]][_0xa1fe[526]])?(this[_0xa1fe[2741]]=this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[360]],this[_0xa1fe[2742]]=this[_0xa1fe[1097]][_0xa1fe[526]][_0xa1fe[190]]):this[_0xa1fe[2742]]=this[_0xa1fe[2741]]=0);_0xfc29x3[_0xa1fe[722]]()};mxOutline[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1124]]){this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=this[_0xa1fe[2721]]?_0xa1fe[110]:_0xa1fe[130];this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]];var _0xfc29x4=_0xfc29x3[_0xa1fe[730]]()-this[_0xa1fe[2739]],_0xfc29x5=_0xfc29x3[_0xa1fe[732]]()-this[_0xa1fe[2740]],_0xfc29x9=null;if(this[_0xa1fe[499]]){_0xfc29x9=this[_0xa1fe[1097]][_0xa1fe[526]],_0xfc29x5=_0xfc29x4/(_0xfc29x9[_0xa1fe[159]]/_0xfc29x9[_0xa1fe[157]]),_0xfc29x9= new mxRectangle(this[_0xa1fe[1562]][_0xa1fe[235]],this[_0xa1fe[1562]][_0xa1fe[236]],Math[_0xa1fe[160]](1,this[_0xa1fe[1562]][_0xa1fe[117]]+_0xfc29x4),Math[_0xa1fe[160]](1,this[_0xa1fe[1562]][_0xa1fe[119]]+_0xfc29x5)),this[_0xa1fe[2732]][_0xa1fe[1562]]=_0xfc29x9,this[_0xa1fe[2732]][_0xa1fe[258]]()}else {var _0xfc29xa=this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x9= new mxRectangle(this[_0xa1fe[1562]][_0xa1fe[235]]+_0xfc29x4,this[_0xa1fe[1562]][_0xa1fe[236]]+_0xfc29x5,this[_0xa1fe[1562]][_0xa1fe[117]],this[_0xa1fe[1562]][_0xa1fe[119]]);this[_0xa1fe[2732]][_0xa1fe[1562]]=_0xfc29x9;this[_0xa1fe[2732]][_0xa1fe[258]]();_0xfc29x4=_0xfc29x4/_0xfc29xa*this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[255]];_0xfc29x5=_0xfc29x5/_0xfc29xa*this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[255]];this[_0xa1fe[1097]][_0xa1fe[1135]](-_0xfc29x4-this[_0xa1fe[2741]],-_0xfc29x5-this[_0xa1fe[2742]])};_0xfc29x4=this[_0xa1fe[2734]][_0xa1fe[1562]];this[_0xa1fe[2734]][_0xa1fe[1562]]= new mxRectangle(_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]]-_0xfc29x4[_0xa1fe[117]]/2,_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]]-_0xfc29x4[_0xa1fe[119]]/2,_0xfc29x4[_0xa1fe[117]],_0xfc29x4[_0xa1fe[119]]);_0xa1fe[188]!=this[_0xa1fe[2734]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]&&this[_0xa1fe[2734]][_0xa1fe[258]]();_0xfc29x3[_0xa1fe[722]]()}};mxOutline[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1124]]){var _0xfc29x4=_0xfc29x3[_0xa1fe[730]]()-this[_0xa1fe[2739]],_0xfc29x5=_0xfc29x3[_0xa1fe[732]]()-this[_0xa1fe[2740]];if(0<Math[_0xa1fe[425]](_0xfc29x4)||0<Math[_0xa1fe[425]](_0xfc29x5)){if(this[_0xa1fe[499]]){var _0xfc29x5=this[_0xa1fe[2732]][_0xa1fe[1562]][_0xa1fe[117]],_0xfc29x9=this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[255]];this[_0xa1fe[1097]][_0xa1fe[2561]](_0xfc29x9-_0xfc29x4*_0xfc29x9/_0xfc29x5,!1)}else {if(!this[_0xa1fe[1097]][_0xa1fe[2365]]||!mxUtils[_0xa1fe[1134]](this[_0xa1fe[1097]][_0xa1fe[526]])){this[_0xa1fe[1097]][_0xa1fe[1135]](0,0),_0xfc29x4/=this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x5/=this[_0xa1fe[2136]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x9=this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[513]],this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[1147]](_0xfc29x9[_0xa1fe[235]]-_0xfc29x4,_0xfc29x9[_0xa1fe[236]]-_0xfc29x5)}};this[_0xa1fe[2729]]();_0xfc29x3[_0xa1fe[722]]()};this[_0xa1fe[1983]]=null;this[_0xa1fe[1124]]= !1}};mxOutline[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[1097]]&&(this[_0xa1fe[1097]][_0xa1fe[745]](this[_0xa1fe[2730]]),this[_0xa1fe[1097]][_0xa1fe[745]](this[_0xa1fe[2731]]),this[_0xa1fe[1097]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[2728]]),this[_0xa1fe[1097]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[2728]]),mxEvent[_0xa1fe[169]](this[_0xa1fe[1097]][_0xa1fe[526]],_0xa1fe[276],this[_0xa1fe[2728]]),this[_0xa1fe[1097]]=null);null!=this[_0xa1fe[2136]]&&(this[_0xa1fe[2136]][_0xa1fe[1148]](this),this[_0xa1fe[2136]][_0xa1fe[515]](),this[_0xa1fe[2136]]=null);null!=this[_0xa1fe[2732]]&&(this[_0xa1fe[2732]][_0xa1fe[515]](),this[_0xa1fe[2732]]=null);null!=this[_0xa1fe[2734]]&&(this[_0xa1fe[2734]][_0xa1fe[515]](),this[_0xa1fe[2734]]=null)};function mxMultiplicity(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15){this[_0xa1fe[1097]]=_0xfc29x2;this[_0xa1fe[60]]=_0xfc29x3;this[_0xa1fe[2588]]=_0xfc29x4;this[_0xa1fe[131]]=_0xfc29x5;this[_0xa1fe[243]]=null!=_0xfc29x9?_0xfc29x9:0;this[_0xa1fe[160]]=null!=_0xfc29xa?_0xfc29xa:_0xa1fe[2743];this[_0xa1fe[2744]]=_0xfc29x12;this[_0xa1fe[2589]]=mxResources[_0xa1fe[203]](_0xfc29x13)||_0xfc29x13;this[_0xa1fe[2745]]=mxResources[_0xa1fe[203]](_0xfc29x14)||_0xfc29x14;this[_0xa1fe[2746]]=null!=_0xfc29x15?_0xfc29x15:!0}mxMultiplicity[_0xa1fe[202]][_0xa1fe[60]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2588]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[131]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[1097]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[243]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[160]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2744]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2746]]= !0;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2589]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2745]]=null;mxMultiplicity[_0xa1fe[202]][_0xa1fe[2583]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=_0xa1fe[110];if(this[_0xa1fe[1097]]&&this[_0xa1fe[2747]](_0xfc29x2,_0xfc29x4,_0xfc29x3)||!this[_0xa1fe[1097]]&&this[_0xa1fe[2747]](_0xfc29x2,_0xfc29x5,_0xfc29x3)){if(null!=this[_0xa1fe[2589]]&&(this[_0xa1fe[1097]]&&(0==this[_0xa1fe[160]]||_0xfc29x9>=this[_0xa1fe[160]])||!this[_0xa1fe[1097]]&&(0==this[_0xa1fe[160]]||_0xfc29xa>=this[_0xa1fe[160]]))){_0xfc29x12+=this[_0xa1fe[2589]]+_0xa1fe[192]};null!=this[_0xa1fe[2744]]&&(null!=this[_0xa1fe[2745]]&&0<this[_0xa1fe[2744]][_0xa1fe[67]])&&(this[_0xa1fe[2748]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5)||(_0xfc29x12+=this[_0xa1fe[2745]]+_0xa1fe[192]))};return 0<_0xfc29x12[_0xa1fe[67]]?_0xfc29x12:null};mxMultiplicity[_0xa1fe[202]][_0xa1fe[2748]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x3=_0xfc29x2[_0xa1fe[251]][_0xa1fe[433]](_0xfc29x4);_0xfc29x5=_0xfc29x2[_0xa1fe[251]][_0xa1fe[433]](_0xfc29x5);_0xfc29x4=!this[_0xa1fe[2746]];for(var _0xfc29x9=this[_0xa1fe[2744]],_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){if(this[_0xa1fe[1097]]&&this[_0xa1fe[2749]](_0xfc29x2,_0xfc29x5,_0xfc29x9[_0xfc29xa])){_0xfc29x4=this[_0xa1fe[2746]];break}else {if(!this[_0xa1fe[1097]]&&this[_0xa1fe[2749]](_0xfc29x2,_0xfc29x3,_0xfc29x9[_0xfc29xa])){_0xfc29x4=this[_0xa1fe[2746]];break}}};return _0xfc29x4};mxMultiplicity[_0xa1fe[202]][_0xa1fe[2747]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=_0xfc29x2[_0xa1fe[251]][_0xa1fe[433]](_0xfc29x3);return this[_0xa1fe[2749]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[60]],this[_0xa1fe[2588]],this[_0xa1fe[131]])};mxMultiplicity[_0xa1fe[202]][_0xa1fe[2749]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){return null!=_0xfc29x3?isNaN(_0xfc29x3[_0xa1fe[288]])?_0xfc29x3==_0xfc29x4:mxUtils[_0xa1fe[1331]](_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9):!1};function mxLayoutManager(_0xfc29x2){this[_0xa1fe[2750]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){this[_0xa1fe[994]]()&&this[_0xa1fe[823]](_0xfc29x4[_0xa1fe[720]](_0xa1fe[1061]))});this[_0xa1fe[2317]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){this[_0xa1fe[994]]()&&this[_0xa1fe[835]](_0xfc29x4[_0xa1fe[720]](_0xa1fe[895]),_0xfc29x4[_0xa1fe[720]](_0xa1fe[763]))});this[_0xa1fe[1178]](_0xfc29x2)}mxLayoutManager[_0xa1fe[202]]= new mxEventSource;mxLayoutManager[_0xa1fe[202]][_0xa1fe[196]]=mxLayoutManager;mxLayoutManager[_0xa1fe[202]][_0xa1fe[1179]]=null;mxLayoutManager[_0xa1fe[202]][_0xa1fe[2751]]= !0;mxLayoutManager[_0xa1fe[202]][_0xa1fe[984]]= !0;mxLayoutManager[_0xa1fe[202]][_0xa1fe[2728]]=null;mxLayoutManager[_0xa1fe[202]][_0xa1fe[2317]]=null;mxLayoutManager[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxLayoutManager[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2752]]=function(){return this[_0xa1fe[2751]]};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2753]]=function(_0xfc29x2){this[_0xa1fe[2751]]=_0xfc29x2};mxLayoutManager[_0xa1fe[202]][_0xa1fe[1703]]=function(){return this[_0xa1fe[1179]]};mxLayoutManager[_0xa1fe[202]][_0xa1fe[1178]]=function(_0xfc29x2){if(null!=this[_0xa1fe[1179]]){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x3[_0xa1fe[745]](this[_0xa1fe[2750]]);this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2317]])};this[_0xa1fe[1179]]=_0xfc29x2;null!=this[_0xa1fe[1179]]&&(_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x3[_0xa1fe[169]](mxEvent.BEFORE_UNDO,this[_0xa1fe[2750]]),this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.MOVE_CELLS,this[_0xa1fe[2317]]))};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2754]]=function(_0xfc29x2){return null};mxLayoutManager[_0xa1fe[202]][_0xa1fe[823]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[2755]](_0xfc29x2[_0xa1fe[1065]]);var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]]();if(this[_0xa1fe[2752]]()){for(var _0xfc29x4=_0xfc29x3[_0xa1fe[1977]](_0xfc29x2);0<_0xfc29x4[_0xa1fe[67]];){_0xfc29x2=_0xfc29x2[_0xa1fe[1919]](_0xfc29x4),_0xfc29x4=_0xfc29x3[_0xa1fe[1977]](_0xfc29x4)}};this[_0xa1fe[828]](mxUtils[_0xa1fe[1779]](_0xfc29x2,!1))};mxLayoutManager[_0xa1fe[202]][_0xa1fe[835]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x3){for(var _0xfc29x4=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1703]]()[_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x3),mxEvent[_0xa1fe[733]](_0xfc29x3)),_0xfc29x5=this[_0xa1fe[1703]]()[_0xa1fe[502]](),_0xfc29x9=0;_0xfc29x9<_0xfc29x2[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[2754]](_0xfc29x5[_0xa1fe[1197]](_0xfc29x2[_0xfc29x9]));null!=_0xfc29xa&&_0xfc29xa[_0xa1fe[1702]](_0xfc29x2[_0xfc29x9],_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]])}}};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2755]]=function(_0xfc29x2){for(var _0xfc29x3=[],_0xfc29x4={},_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x9=_0xfc29x2[_0xfc29x5];if(_0xfc29x9 instanceof mxRootChange){return []};for(var _0xfc29x9=this[_0xa1fe[2756]](_0xfc29x9),_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){if(null!=_0xfc29x9[_0xfc29xa]){var _0xfc29x12=mxCellPath[_0xa1fe[385]](_0xfc29x9[_0xfc29xa]);null==_0xfc29x4[_0xfc29x12]&&(_0xfc29x4[_0xfc29x12]=_0xfc29x9[_0xfc29xa],_0xfc29x3[_0xa1fe[207]](_0xfc29x9[_0xfc29xa]))}}};return _0xfc29x3};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2756]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]]();return _0xfc29x2 instanceof mxChildChange?[_0xfc29x2[_0xa1fe[247]],_0xfc29x2[_0xa1fe[257]],_0xfc29x3[_0xa1fe[1197]](_0xfc29x2[_0xa1fe[247]])]:_0xfc29x2 instanceof mxTerminalChange||_0xfc29x2 instanceof mxGeometryChange?[_0xfc29x2[_0xa1fe[246]],_0xfc29x3[_0xa1fe[1197]](_0xfc29x2[_0xa1fe[246]])]:[]};mxLayoutManager[_0xa1fe[202]][_0xa1fe[828]]=function(_0xfc29x2){if(0<_0xfc29x2[_0xa1fe[67]]){var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=null,_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){_0xfc29x2[_0xfc29x5]!=_0xfc29x3[_0xa1fe[501]]()&&_0xfc29x2[_0xfc29x5]!=_0xfc29x4&&(_0xfc29x4=_0xfc29x2[_0xfc29x5],this[_0xa1fe[2757]](this[_0xa1fe[2754]](_0xfc29x4),_0xfc29x4))};this[_0xa1fe[746]]( new mxEventObject(mxEvent.LAYOUT_CELLS,_0xa1fe[895],_0xfc29x2))}finally{_0xfc29x3[_0xa1fe[476]]()}}};mxLayoutManager[_0xa1fe[202]][_0xa1fe[2757]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[350]](_0xfc29x3)};mxLayoutManager[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1178]](null)};function mxSpaceManager(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[2758]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[994]]()&&this[_0xa1fe[837]](_0xfc29x3[_0xa1fe[720]](_0xa1fe[895]))});this[_0xa1fe[2759]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[994]]()&&this[_0xa1fe[837]](_0xfc29x3[_0xa1fe[720]](_0xa1fe[895]))});this[_0xa1fe[2760]]=null!=_0xfc29x3?_0xfc29x3:!0;this[_0xa1fe[2761]]=null!=_0xfc29x4?_0xfc29x4:!0;this[_0xa1fe[2392]]=null!=_0xfc29x5?_0xfc29x5:!0;this[_0xa1fe[1178]](_0xfc29x2)}mxSpaceManager[_0xa1fe[202]]= new mxEventSource;mxSpaceManager[_0xa1fe[202]][_0xa1fe[196]]=mxSpaceManager;mxSpaceManager[_0xa1fe[202]][_0xa1fe[1179]]=null;mxSpaceManager[_0xa1fe[202]][_0xa1fe[984]]= !0;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2760]]= !0;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2761]]= !0;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2392]]= !0;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2758]]=null;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2759]]=null;mxSpaceManager[_0xa1fe[202]][_0xa1fe[2762]]=function(_0xfc29x2){return !this[_0xa1fe[1703]]()[_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2)};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2763]]=function(_0xfc29x2){return this[_0xa1fe[1703]]()[_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2)&&this[_0xa1fe[1703]]()[_0xa1fe[1712]](_0xfc29x2)};mxSpaceManager[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxSpaceManager[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2764]]=function(){return this[_0xa1fe[2760]]};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2765]]=function(_0xfc29x2){this[_0xa1fe[2760]]=_0xfc29x2};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2766]]=function(){return this[_0xa1fe[2761]]};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2767]]=function(_0xfc29x2){this[_0xa1fe[2761]]=_0xfc29x2};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2678]]=function(){return this[_0xa1fe[2392]]};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2679]]=function(_0xfc29x2){this[_0xa1fe[2392]]=_0xfc29x2};mxSpaceManager[_0xa1fe[202]][_0xa1fe[1703]]=function(){return this[_0xa1fe[1179]]};mxSpaceManager[_0xa1fe[202]][_0xa1fe[1178]]=function(_0xfc29x2){null!=this[_0xa1fe[1179]]&&(this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2758]]),this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2759]]));this[_0xa1fe[1179]]=_0xfc29x2;null!=this[_0xa1fe[1179]]&&(this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.RESIZE_CELLS,this[_0xa1fe[2758]]),this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.FOLD_CELLS,this[_0xa1fe[2759]]))};mxSpaceManager[_0xa1fe[202]][_0xa1fe[837]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){if(!this[_0xa1fe[2762]](_0xfc29x2[_0xfc29x4])){this[_0xa1fe[2768]](_0xfc29x2[_0xfc29x4]);break}}}finally{_0xfc29x3[_0xa1fe[476]]()}}};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2768]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1703]](),_0xfc29x4=_0xfc29x3[_0xa1fe[249]](),_0xfc29x5=_0xfc29x3[_0xa1fe[502]](),_0xfc29x9=_0xfc29x4[_0xa1fe[248]](_0xfc29x2),_0xfc29xa=_0xfc29x4[_0xa1fe[248]](_0xfc29x5[_0xa1fe[1197]](_0xfc29x2));if(null!=_0xfc29x9&&null!=_0xfc29xa){var _0xfc29x12=this[_0xa1fe[2769]](_0xfc29x9),_0xfc29x13=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x12&&null!=_0xfc29x13){var _0xfc29x14=_0xfc29x4[_0xa1fe[513]],_0xfc29x15=_0xfc29x4[_0xa1fe[255]],_0xfc29x4=_0xfc29x9[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[2078]][_0xa1fe[235]]-_0xfc29x14[_0xa1fe[235]]*_0xfc29x15,_0xfc29xa=_0xfc29x9[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[2078]][_0xa1fe[236]]-_0xfc29x14[_0xa1fe[236]]*_0xfc29x15,_0xfc29x14=_0xfc29x9[_0xa1fe[235]]+_0xfc29x9[_0xa1fe[117]],_0xfc29x16=_0xfc29x9[_0xa1fe[236]]+_0xfc29x9[_0xa1fe[119]],_0xfc29x17=_0xfc29x9[_0xa1fe[117]]-_0xfc29x13[_0xa1fe[117]]*_0xfc29x15+_0xfc29x4-_0xfc29x13[_0xa1fe[235]]*_0xfc29x15,_0xfc29x18=_0xfc29x9[_0xa1fe[119]]-_0xfc29x13[_0xa1fe[119]]*_0xfc29x15+_0xfc29xa-_0xfc29x13[_0xa1fe[236]]*_0xfc29x15,_0xfc29x19=1-_0xfc29x13[_0xa1fe[117]]*_0xfc29x15/_0xfc29x9[_0xa1fe[117]],_0xfc29x9=1-_0xfc29x13[_0xa1fe[119]]*_0xfc29x15/_0xfc29x9[_0xa1fe[119]];_0xfc29x5[_0xa1fe[473]]();try{for(_0xfc29x13=0;_0xfc29x13<_0xfc29x12[_0xa1fe[67]];_0xfc29x13++){_0xfc29x12[_0xfc29x13]!=_0xfc29x2&&this[_0xa1fe[2763]](_0xfc29x12[_0xfc29x13])&&this[_0xa1fe[2770]](_0xfc29x12[_0xfc29x13],_0xfc29x17,_0xfc29x18,_0xfc29x4,_0xfc29xa,_0xfc29x14,_0xfc29x16,_0xfc29x19,_0xfc29x9,this[_0xa1fe[2678]]()&&_0xfc29x3[_0xa1fe[2507]](_0xfc29x12[_0xfc29x13]))}}finally{_0xfc29x5[_0xa1fe[476]]()}}}};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2770]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14,_0xfc29x15){_0xfc29x5=this[_0xa1fe[1703]]();var _0xfc29x16=_0xfc29x5[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);if(null!=_0xfc29x16){var _0xfc29x17=_0xfc29x5[_0xa1fe[502]](),_0xfc29x18=_0xfc29x17[_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x18){_0xfc29x17[_0xa1fe[473]]();try{if(this[_0xa1fe[2764]]()){if(_0xfc29x16[_0xa1fe[235]]>=_0xfc29xa){_0xfc29x18=_0xfc29x18[_0xa1fe[238]](),_0xfc29x18[_0xa1fe[513]](-_0xfc29x3,0)}else {var _0xfc29x19=Math[_0xa1fe[160]](0,_0xfc29x16[_0xa1fe[235]]-x0),_0xfc29x18=_0xfc29x18[_0xa1fe[238]]();_0xfc29x18[_0xa1fe[513]](-_0xfc29x13*_0xfc29x19,0)}};if(this[_0xa1fe[2766]]()){if(_0xfc29x16[_0xa1fe[236]]>=_0xfc29x12){_0xfc29x18=_0xfc29x18[_0xa1fe[238]](),_0xfc29x18[_0xa1fe[513]](0,-_0xfc29x4)}else {var _0xfc29x1a=Math[_0xa1fe[160]](0,_0xfc29x16[_0xa1fe[236]]-_0xfc29x9),_0xfc29x18=_0xfc29x18[_0xa1fe[238]]();_0xfc29x18[_0xa1fe[513]](0,-_0xfc29x14*_0xfc29x1a)}};_0xfc29x18!=_0xfc29x17[_0xa1fe[1721]](_0xfc29x2)&&(_0xfc29x17[_0xa1fe[1724]](_0xfc29x2,_0xfc29x18),_0xfc29x15&&_0xfc29x5[_0xa1fe[2508]](_0xfc29x2))}finally{_0xfc29x17[_0xa1fe[476]]()}}}};mxSpaceManager[_0xa1fe[202]][_0xa1fe[2769]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1703]](),_0xfc29x4=_0xfc29x3[_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x5=this[_0xa1fe[2766]](),_0xfc29x9=this[_0xa1fe[2764]]();return _0xfc29x3[_0xa1fe[2691]](_0xfc29x2[_0xa1fe[235]]+(_0xfc29x5?0:_0xfc29x2[_0xa1fe[117]]),_0xfc29x2[_0xa1fe[236]]+(_0xfc29x5&&_0xfc29x9?0:_0xfc29x2[_0xa1fe[119]]),_0xfc29x4,_0xfc29x9,_0xfc29x5)};mxSpaceManager[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1178]](null)};function mxSwimlaneManager(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[662]]=null!=_0xfc29x3?_0xfc29x3:!0;this[_0xa1fe[2771]]=null!=_0xfc29x4?_0xfc29x4:!0;this[_0xa1fe[2772]]=null!=_0xfc29x5?_0xfc29x5:!0;this[_0xa1fe[2773]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[994]]()&&this[_0xa1fe[2774]]()&&this[_0xa1fe[833]](_0xfc29x3[_0xa1fe[720]](_0xa1fe[895]))});this[_0xa1fe[2758]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[994]]()&&this[_0xa1fe[2775]]()&&this[_0xa1fe[837]](_0xfc29x3[_0xa1fe[720]](_0xa1fe[895]))});this[_0xa1fe[1178]](_0xfc29x2)}mxSwimlaneManager[_0xa1fe[202]]= new mxEventSource;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[196]]=mxSwimlaneManager;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[1179]]=null;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[984]]= !0;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[662]]= !0;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2771]]= !0;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2772]]= !0;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2773]]=null;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2758]]=null;mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[1737]]=function(){return this[_0xa1fe[662]]};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2776]]=function(_0xfc29x2){this[_0xa1fe[662]]=_0xfc29x2};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2774]]=function(){return this[_0xa1fe[2771]]};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2777]]=function(_0xfc29x2){this[_0xa1fe[2771]]=_0xfc29x2};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2775]]=function(){return this[_0xa1fe[2772]]};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2778]]=function(_0xfc29x2){this[_0xa1fe[2772]]=_0xfc29x2};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[1703]]=function(){return this[_0xa1fe[1179]]};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[1178]]=function(_0xfc29x2){null!=this[_0xa1fe[1179]]&&(this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2773]]),this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2758]]));this[_0xa1fe[1179]]=_0xfc29x2;null!=this[_0xa1fe[1179]]&&(this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.ADD_CELLS,this[_0xa1fe[2773]]),this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.CELLS_RESIZED,this[_0xa1fe[2758]]))};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2779]]=function(_0xfc29x2){return !this[_0xa1fe[1703]]()[_0xa1fe[1730]](_0xfc29x2)};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2780]]=function(_0xfc29x2){if(this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);_0xfc29x2=null!=_0xfc29x3?_0xfc29x3[_0xa1fe[124]]:this[_0xa1fe[1179]][_0xa1fe[1705]](_0xfc29x2);return 1==mxUtils[_0xa1fe[433]](_0xfc29x2,mxConstants.STYLE_HORIZONTAL,1)};return !this[_0xa1fe[1737]]()};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[833]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){this[_0xa1fe[2779]](_0xfc29x2[_0xfc29x4])||this[_0xa1fe[2781]](_0xfc29x2[_0xfc29x4])}}finally{_0xfc29x3[_0xa1fe[476]]()}}};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2781]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]](),_0xfc29x4=_0xfc29x3[_0xa1fe[1197]](_0xfc29x2),_0xfc29x5=_0xfc29x3[_0xa1fe[262]](_0xfc29x4),_0xfc29x9=null,_0xfc29xa=0;_0xfc29xa<_0xfc29x5;_0xfc29xa++){var _0xfc29x12=_0xfc29x3[_0xa1fe[263]](_0xfc29x4,_0xfc29xa);if(_0xfc29x12!=_0xfc29x2&&!this[_0xa1fe[2779]](_0xfc29x12)&&(_0xfc29x9=_0xfc29x3[_0xa1fe[1721]](_0xfc29x12),null!=_0xfc29x9)){break}};null!=_0xfc29x9&&this[_0xa1fe[2782]](_0xfc29x2,_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]])};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[837]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1703]]()[_0xa1fe[502]]();_0xfc29x3[_0xa1fe[473]]();try{for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x2[_0xa1fe[67]];_0xfc29x4++){if(!this[_0xa1fe[2779]](_0xfc29x2[_0xfc29x4])){var _0xfc29x5=_0xfc29x3[_0xa1fe[1721]](_0xfc29x2[_0xfc29x4]);if(null!=_0xfc29x5){for(var _0xfc29x9= new mxRectangle(0,0,_0xfc29x5[_0xa1fe[117]],_0xfc29x5[_0xa1fe[119]]),_0xfc29xa=_0xfc29x2[_0xfc29x4],_0xfc29x12=_0xfc29xa;null!=_0xfc29x12;){var _0xfc29xa=_0xfc29x12,_0xfc29x12=_0xfc29x3[_0xa1fe[1197]](_0xfc29x12),_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x12)?this[_0xa1fe[1179]][_0xa1fe[1731]](_0xfc29x12): new mxRectangle;_0xfc29x9[_0xa1fe[117]]+=_0xfc29x13[_0xa1fe[117]];_0xfc29x9[_0xa1fe[119]]+=_0xfc29x13[_0xa1fe[119]]};this[_0xa1fe[2782]](_0xfc29xa,_0xfc29x9[_0xa1fe[117]],_0xfc29x9[_0xa1fe[119]])}}}}finally{_0xfc29x3[_0xa1fe[476]]()}}};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[2782]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1703]]()[_0xa1fe[502]]();_0xfc29x5[_0xa1fe[473]]();try{if(!this[_0xa1fe[2779]](_0xfc29x2)){var _0xfc29x9=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x9){var _0xfc29xa=this[_0xa1fe[2780]](_0xfc29x2);if(_0xfc29xa&&_0xfc29x9[_0xa1fe[119]]!=_0xfc29x4||!_0xfc29xa&&_0xfc29x9[_0xa1fe[117]]!=_0xfc29x3){_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29xa?_0xfc29x9[_0xa1fe[119]]=_0xfc29x4:_0xfc29x9[_0xa1fe[117]]=_0xfc29x3,_0xfc29x5[_0xa1fe[1724]](_0xfc29x2,_0xfc29x9)}}};var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)?this[_0xa1fe[1179]][_0xa1fe[1731]](_0xfc29x2): new mxRectangle;_0xfc29x3-=_0xfc29x12[_0xa1fe[117]];_0xfc29x4-=_0xfc29x12[_0xa1fe[119]];for(var _0xfc29x13=_0xfc29x5[_0xa1fe[262]](_0xfc29x2),_0xfc29x9=0;_0xfc29x9<_0xfc29x13;_0xfc29x9++){var _0xfc29x14=_0xfc29x5[_0xa1fe[263]](_0xfc29x2,_0xfc29x9);this[_0xa1fe[2782]](_0xfc29x14,_0xfc29x3,_0xfc29x4)}}finally{_0xfc29x5[_0xa1fe[476]]()}};mxSwimlaneManager[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1178]](null)};function mxTemporaryCellStates(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[441]]=_0xfc29x2;_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:1;this[_0xa1fe[2783]]=_0xfc29x2[_0xa1fe[517]]();this[_0xa1fe[2784]]=_0xfc29x2[_0xa1fe[2312]]();this[_0xa1fe[2785]]=_0xfc29x2[_0xa1fe[518]]();_0xfc29x2[_0xa1fe[1517]]( new mxDictionary);_0xfc29x2[_0xa1fe[2262]](_0xfc29x3);if(null!=_0xfc29x4){_0xfc29x3=_0xfc29x2[_0xa1fe[1230]]( new mxCell);for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){_0xfc29x2[_0xa1fe[2267]](_0xfc29x3,_0xfc29x4[_0xfc29x5])};for(var _0xfc29x9=null,_0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]];_0xfc29x5++){var _0xfc29xa=_0xfc29x2[_0xa1fe[2268]](_0xfc29x3,_0xfc29x4[_0xfc29x5]);null==_0xfc29x9?_0xfc29x9=_0xfc29xa:_0xfc29x9[_0xa1fe[99]](_0xfc29xa)};null==_0xfc29x9&&(_0xfc29x9= new mxRectangle);_0xfc29x2[_0xa1fe[2256]](_0xfc29x9)}}mxTemporaryCellStates[_0xa1fe[202]][_0xa1fe[441]]=null;mxTemporaryCellStates[_0xa1fe[202]][_0xa1fe[2784]]=null;mxTemporaryCellStates[_0xa1fe[202]][_0xa1fe[2783]]=null;mxTemporaryCellStates[_0xa1fe[202]][_0xa1fe[2785]]=null;mxTemporaryCellStates[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[441]][_0xa1fe[2262]](this[_0xa1fe[2785]]);this[_0xa1fe[441]][_0xa1fe[1517]](this[_0xa1fe[2784]]);this[_0xa1fe[441]][_0xa1fe[2256]](this[_0xa1fe[2783]])};function mxCellStatePreview(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[2786]]={}}mxCellStatePreview[_0xa1fe[202]][_0xa1fe[1179]]=null;mxCellStatePreview[_0xa1fe[202]][_0xa1fe[2786]]=null;mxCellStatePreview[_0xa1fe[202]][_0xa1fe[2787]]=0;mxCellStatePreview[_0xa1fe[202]][_0xa1fe[1107]]=function(){return 0==this[_0xa1fe[2787]]};mxCellStatePreview[_0xa1fe[202]][_0xa1fe[1194]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=null!=_0xfc29x5?_0xfc29x5:!0;_0xfc29x9=null!=_0xfc29x9?_0xfc29x9:!0;var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x12=this[_0xa1fe[2786]][_0xfc29xa];null==_0xfc29x12?(_0xfc29x12= new mxPoint(_0xfc29x3,_0xfc29x4),this[_0xa1fe[2786]][_0xfc29xa]=_0xfc29x12,this[_0xa1fe[2787]]++):_0xfc29x5?(_0xfc29x12[_0xa1fe[2788]]+=_0xfc29x3,_0xfc29x12[_0xa1fe[2789]]+=_0xfc29x4):(_0xfc29x12[_0xa1fe[2788]]=_0xfc29x3,_0xfc29x12[_0xa1fe[2789]]=_0xfc29x4);_0xfc29x9&&this[_0xa1fe[2790]](_0xfc29x2);return _0xfc29x12};mxCellStatePreview[_0xa1fe[202]][_0xa1fe[539]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=_0xfc29x3[_0xa1fe[501]](),_0xfc29x5;for(_0xfc29x5 in this[_0xa1fe[2786]]){var _0xfc29x9=mxCellPath[_0xa1fe[2791]](_0xfc29x4,_0xfc29x5),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x9),_0xfc29x12=this[_0xa1fe[2786]][_0xfc29x5],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3[_0xa1fe[1197]](_0xfc29x9));this[_0xa1fe[2792]](_0xfc29x9,_0xfc29xa,_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]])};for(_0xfc29x5 in this[_0xa1fe[2786]]){_0xfc29x9=mxCellPath[_0xa1fe[2791]](_0xfc29x4,_0xfc29x5),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x9),_0xfc29x12=this[_0xa1fe[2786]][_0xfc29x5],_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3[_0xa1fe[1197]](_0xfc29x9)),this[_0xa1fe[2793]](_0xfc29x9,_0xfc29xa,_0xfc29x12[_0xa1fe[235]],_0xfc29x12[_0xa1fe[236]],_0xfc29x2)}};mxCellStatePreview[_0xa1fe[202]][_0xa1fe[2792]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x3){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]]();if(_0xfc29x9[_0xa1fe[1193]](_0xfc29x3[_0xa1fe[246]])){_0xfc29x3[_0xa1fe[2080]]= !0;this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2267]](_0xfc29x2,_0xfc29x3[_0xa1fe[246]]);_0xfc29x2=_0xfc29x9[_0xa1fe[1721]](_0xfc29x3[_0xa1fe[246]]);var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]);if((0!=_0xfc29x4||0!=_0xfc29x5)&&null!=_0xfc29x2&&(!_0xfc29x2[_0xa1fe[1500]]||null!=this[_0xa1fe[2786]][_0xfc29xa])){_0xfc29x3[_0xa1fe[235]]+=_0xfc29x4,_0xfc29x3[_0xa1fe[236]]+=_0xfc29x5}};_0xfc29x2=_0xfc29x9[_0xa1fe[262]](_0xfc29x3[_0xa1fe[246]]);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x2;_0xfc29xa++){this[_0xa1fe[2792]](_0xfc29x3,this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x9[_0xa1fe[263]](_0xfc29x3[_0xa1fe[246]],_0xfc29xa)),_0xfc29x4,_0xfc29x5)}}};mxCellStatePreview[_0xa1fe[202]][_0xa1fe[2793]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x3){_0xfc29x3[_0xa1fe[2080]]= !0;this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2268]](_0xfc29x2,_0xfc29x3[_0xa1fe[246]]);var _0xfc29xa=mxCellPath[_0xa1fe[385]](_0xfc29x3[_0xa1fe[246]]),_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x3[_0xa1fe[246]]);if((0!=_0xfc29x4||0!=_0xfc29x5)&&null!=_0xfc29x13&&_0xfc29x13[_0xa1fe[1500]]&&_0xfc29x12[_0xa1fe[1193]](_0xfc29x3[_0xa1fe[246]])&&(null==_0xfc29x2||_0xfc29x12[_0xa1fe[1193]](_0xfc29x2[_0xa1fe[246]])||null!=this[_0xa1fe[2786]][_0xfc29xa])){_0xfc29x3[_0xa1fe[235]]+=_0xfc29x4,_0xfc29x3[_0xa1fe[236]]+=_0xfc29x5,this[_0xa1fe[1179]][_0xa1fe[259]][_0xa1fe[258]](_0xfc29x3)};null!=_0xfc29x9&&_0xfc29x9(_0xfc29x3);_0xfc29x2=_0xfc29x12[_0xa1fe[262]](_0xfc29x3[_0xa1fe[246]]);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x2;_0xfc29xa++){this[_0xa1fe[2793]](_0xfc29x3,this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x12[_0xa1fe[263]](_0xfc29x3[_0xa1fe[246]],_0xfc29xa)),_0xfc29x4,_0xfc29x5,_0xfc29x9)}}};mxCellStatePreview[_0xa1fe[202]][_0xa1fe[2790]]=function(_0xfc29x2){for(var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=_0xfc29x3[_0xa1fe[1707]](_0xfc29x2[_0xa1fe[246]]),_0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3[_0xa1fe[1708]](_0xfc29x2[_0xa1fe[246]],_0xfc29x5));null!=_0xfc29x9&&this[_0xa1fe[1194]](_0xfc29x9,0,0)}};function mxConnectionConstraint(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2546]]=_0xfc29x2;this[_0xa1fe[591]]=null!=_0xfc29x3?_0xfc29x3:!0}mxConnectionConstraint[_0xa1fe[202]][_0xa1fe[2546]]=null;mxConnectionConstraint[_0xa1fe[202]][_0xa1fe[591]]=null;function mxGraphHandler(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[1179]][_0xa1fe[1133]](this);this[_0xa1fe[2730]]=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[2794]]()});this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.PAN,this[_0xa1fe[2730]])}mxGraphHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]=mxClient[_0xa1fe[80]]?20:50;mxGraphHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2796]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2797]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2798]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[990]]= !1;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2799]]=null;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2800]]=null;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2801]]=null;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2802]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2803]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[846]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2804]]= !1;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2805]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[923]]=6;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2806]]=_0xa1fe[586];mxGraphHandler[_0xa1fe[202]][_0xa1fe[2807]]= !1;mxGraphHandler[_0xa1fe[202]][_0xa1fe[253]]=null;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2808]]= !1;mxGraphHandler[_0xa1fe[202]][_0xa1fe[2809]]= !0;mxGraphHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxGraphHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2810]]=function(){return this[_0xa1fe[2797]]};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2811]]=function(_0xfc29x2){this[_0xa1fe[2797]]=_0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2812]]=function(){return this[_0xa1fe[2798]]};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2813]]=function(_0xfc29x2){this[_0xa1fe[2798]]=_0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2814]]=function(){return this[_0xa1fe[2803]]};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2815]]=function(_0xfc29x2){this[_0xa1fe[2803]]=_0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2816]]=function(){return this[_0xa1fe[846]]};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2817]]=function(_0xfc29x2){this[_0xa1fe[846]]=_0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2818]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[736]]()};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2819]]=function(_0xfc29x2){return this[_0xa1fe[1179]][_0xa1fe[2692]](_0xfc29x2)};mxGraphHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[994]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&!this[_0xa1fe[1179]][_0xa1fe[2579]](_0xfc29x3[_0xa1fe[727]]())&&null!=_0xfc29x3[_0xa1fe[248]]()){var _0xfc29x4=this[_0xa1fe[2818]](_0xfc29x3);this[_0xa1fe[246]]=null;this[_0xa1fe[2820]]=this[_0xa1fe[2819]](_0xfc29x4);this[_0xa1fe[2814]]()&&!this[_0xa1fe[2820]]&&this[_0xa1fe[1179]][_0xa1fe[2459]](_0xfc29x4,_0xfc29x3[_0xa1fe[727]]());if(this[_0xa1fe[2812]]()){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[251]],_0xfc29x9=_0xfc29x5[_0xa1fe[1721]](_0xfc29x4);this[_0xa1fe[1179]][_0xa1fe[1712]](_0xfc29x4)&&(!_0xfc29x5[_0xa1fe[250]](_0xfc29x4)||1<this[_0xa1fe[1179]][_0xa1fe[2694]]()||null!=_0xfc29x9[_0xa1fe[1525]]&&0<_0xfc29x9[_0xa1fe[1525]][_0xa1fe[67]]||null==_0xfc29x5[_0xa1fe[1709]](_0xfc29x4,!0)||null==_0xfc29x5[_0xa1fe[1709]](_0xfc29x4,!1)||this[_0xa1fe[1179]][_0xa1fe[2406]]||this[_0xa1fe[1179]][_0xa1fe[2574]](_0xfc29x3[_0xa1fe[727]]())&&this[_0xa1fe[1179]][_0xa1fe[2617]]())&&this[_0xa1fe[861]](_0xfc29x4,_0xfc29x3[_0xa1fe[730]](),_0xfc29x3[_0xa1fe[732]]());this[_0xa1fe[2821]]= !0;!mxClient[_0xa1fe[75]]&&!mxClient[_0xa1fe[76]]||_0xa1fe[2822]!=_0xfc29x3[_0xa1fe[728]]()[_0xa1fe[301]]?_0xfc29x3[_0xa1fe[722]]():mxClient[_0xa1fe[75]]&&_0xa1fe[2822]==_0xfc29x3[_0xa1fe[728]]()[_0xa1fe[301]]&&(this[_0xa1fe[2821]]= !1,this[_0xa1fe[2823]]=null)}}};mxGraphHandler[_0xa1fe[202]][_0xa1fe[1010]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[902]](),_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){return null!=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2)&&_0xfc29x3[_0xa1fe[1193]](_0xfc29x2)&&null!=_0xfc29x3[_0xa1fe[1721]](_0xfc29x2)&&!_0xfc29x3[_0xa1fe[1721]](_0xfc29x2)[_0xa1fe[1500]]});return this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2313]](_0xfc29x3[_0xa1fe[1921]](_0xfc29x4,_0xfc29x2))};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2690]]=function(_0xfc29x2){return !this[_0xa1fe[2820]]&&this[_0xa1fe[1179]][_0xa1fe[1712]](_0xfc29x2)?[_0xfc29x2]:this[_0xa1fe[1179]][_0xa1fe[2629]](this[_0xa1fe[1179]][_0xa1fe[897]]())};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2824]]=function(_0xfc29x2){_0xfc29x2=this[_0xa1fe[1613]](_0xfc29x2);null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[244]](-1,-1),_0xfc29x2[_0xa1fe[117]]<this[_0xa1fe[923]]&&(_0xfc29x2[_0xa1fe[235]]-=(this[_0xa1fe[923]]-_0xfc29x2[_0xa1fe[117]])/2,_0xfc29x2[_0xa1fe[117]]=this[_0xa1fe[923]]),_0xfc29x2[_0xa1fe[119]]<this[_0xa1fe[923]]&&(_0xfc29x2[_0xa1fe[236]]-=(this[_0xa1fe[923]]-_0xfc29x2[_0xa1fe[119]])/2,_0xfc29x2[_0xa1fe[119]]=this[_0xa1fe[923]]));return _0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[1613]]=function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=0;_0xfc29x5<_0xfc29x2[_0xa1fe[67]];_0xfc29x5++){if(_0xfc29x4[_0xa1fe[1193]](_0xfc29x2[_0xfc29x5])||_0xfc29x4[_0xa1fe[250]](_0xfc29x2[_0xfc29x5])){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2[_0xfc29x5]);if(null!=_0xfc29x9){var _0xfc29xa=_0xfc29x9;_0xfc29x4[_0xa1fe[1193]](_0xfc29x2[_0xfc29x5])&&(null!=_0xfc29x9[_0xa1fe[253]]&&null!=_0xfc29x9[_0xa1fe[253]][_0xa1fe[1563]])&&(_0xfc29xa=_0xfc29x9[_0xa1fe[253]][_0xa1fe[1563]]);null==_0xfc29x3?_0xfc29x3= new mxRectangle(_0xfc29xa[_0xa1fe[235]],_0xfc29xa[_0xa1fe[236]],_0xfc29xa[_0xa1fe[117]],_0xfc29xa[_0xa1fe[119]]):_0xfc29x3[_0xa1fe[99]](_0xfc29xa)}}}};return _0xfc29x3};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2825]]=function(_0xfc29x2){_0xfc29x2= new mxRectangleShape(_0xfc29x2,null,this[_0xa1fe[2806]]);_0xfc29x2[_0xa1fe[1522]]= !0;this[_0xa1fe[2807]]?(_0xfc29x2[_0xa1fe[507]]=mxConstants[_0xa1fe[1656]],_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[526]])):(_0xfc29x2[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]],_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()),_0xfc29x2[_0xa1fe[1229]]= !1);return _0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[861]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[246]]=_0xfc29x2;this[_0xa1fe[2823]]=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],_0xfc29x3,_0xfc29x4);this[_0xa1fe[895]]=this[_0xa1fe[2690]](this[_0xa1fe[246]]);this[_0xa1fe[1562]]=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1799]](this[_0xa1fe[895]]);this[_0xa1fe[2826]]=this[_0xa1fe[2824]](this[_0xa1fe[895]]);this[_0xa1fe[990]]&&(this[_0xa1fe[2799]]= new mxGuide(this[_0xa1fe[1179]],this[_0xa1fe[1010]]()))};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2827]]=function(_0xfc29x2){return null!=this[_0xa1fe[2799]]?this[_0xa1fe[2799]][_0xa1fe[1019]](_0xfc29x2[_0xa1fe[727]]()):!0};mxGraphHandler[_0xa1fe[202]][_0xa1fe[1021]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[2808]]?this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]]:1;_0xfc29x2[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[235]]/_0xfc29x3)*_0xfc29x3;_0xfc29x2[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[236]]/_0xfc29x3)*_0xfc29x3;return _0xfc29x2};mxGraphHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]];if(!_0xfc29x3[_0xa1fe[721]]()&&_0xfc29x4[_0xa1fe[1009]]&&null!=this[_0xa1fe[246]]&&null!=this[_0xa1fe[2823]]&&null!=this[_0xa1fe[1562]]){var _0xfc29x5=mxUtils[_0xa1fe[2196]](_0xfc29x4[_0xa1fe[526]],_0xfc29x3[_0xa1fe[730]](),_0xfc29x3[_0xa1fe[732]]()),_0xfc29x9=_0xfc29x5[_0xa1fe[235]]-this[_0xa1fe[2823]][_0xa1fe[235]],_0xfc29xa=_0xfc29x5[_0xa1fe[236]]-this[_0xa1fe[2823]][_0xa1fe[236]],_0xfc29x5=_0xfc29x4[_0xa1fe[2353]];if(null!=this[_0xa1fe[253]]||Math[_0xa1fe[425]](_0xfc29x9)>_0xfc29x5||Math[_0xa1fe[425]](_0xfc29xa)>_0xfc29x5){null==this[_0xa1fe[1016]]&&(this[_0xa1fe[1016]]= new mxCellHighlight(this[_0xa1fe[1179]],mxConstants.DROP_TARGET_COLOR,3));null==this[_0xa1fe[253]]&&(this[_0xa1fe[253]]=this[_0xa1fe[2825]](this[_0xa1fe[1562]]));var _0xfc29x12=_0xfc29x4[_0xa1fe[1018]](_0xfc29x3[_0xa1fe[727]]()),_0xfc29x5=!0;if(null!=this[_0xa1fe[2799]]&&this[_0xa1fe[2827]](_0xfc29x3)){_0xfc29xa=this[_0xa1fe[2799]][_0xa1fe[582]](this[_0xa1fe[1562]], new mxPoint(_0xfc29x9,_0xfc29xa),_0xfc29x12),_0xfc29x5= !1,_0xfc29x9=_0xfc29xa[_0xa1fe[235]],_0xfc29xa=_0xfc29xa[_0xa1fe[236]]}else {if(_0xfc29x12){var _0xfc29x13=_0xfc29x4[_0xa1fe[249]]()[_0xa1fe[513]],_0xfc29x14=_0xfc29x4[_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x12=this[_0xa1fe[1562]][_0xa1fe[235]]-(_0xfc29x4[_0xa1fe[1021]](this[_0xa1fe[1562]][_0xa1fe[235]]/_0xfc29x14-_0xfc29x13[_0xa1fe[235]])+_0xfc29x13[_0xa1fe[235]])*_0xfc29x14,_0xfc29x13=this[_0xa1fe[1562]][_0xa1fe[236]]-(_0xfc29x4[_0xa1fe[1021]](this[_0xa1fe[1562]][_0xa1fe[236]]/_0xfc29x14-_0xfc29x13[_0xa1fe[236]])+_0xfc29x13[_0xa1fe[236]])*_0xfc29x14,_0xfc29xa=this[_0xa1fe[1021]]( new mxPoint(_0xfc29x9,_0xfc29xa)),_0xfc29x9=_0xfc29xa[_0xa1fe[235]]-_0xfc29x12,_0xfc29xa=_0xfc29xa[_0xa1fe[236]]-_0xfc29x13}};null!=this[_0xa1fe[2799]]&&_0xfc29x5&&this[_0xa1fe[2799]][_0xa1fe[801]]();_0xfc29x4[_0xa1fe[2578]](_0xfc29x3[_0xa1fe[727]]())&&(Math[_0xa1fe[425]](_0xfc29x9)>Math[_0xa1fe[425]](_0xfc29xa)?_0xfc29xa=0:_0xfc29x9=0);this[_0xa1fe[2800]]=_0xfc29x9;this[_0xa1fe[2801]]=_0xfc29xa;this[_0xa1fe[2794]]();_0xfc29x5=null;_0xfc29xa=_0xfc29x3[_0xa1fe[736]]();_0xfc29x4[_0xa1fe[1015]]()&&this[_0xa1fe[2796]]&&(_0xfc29x5=_0xfc29x4[_0xa1fe[564]](this[_0xa1fe[895]],_0xfc29x3[_0xa1fe[727]](),_0xfc29xa));_0xfc29x12=_0xfc29x5;for(_0xfc29x13=_0xfc29x4[_0xa1fe[502]]();null!=_0xfc29x12&&_0xfc29x12!=this[_0xa1fe[895]][0];){_0xfc29x12=_0xfc29x13[_0xa1fe[1197]](_0xfc29x12)};var _0xfc29x14=_0xfc29x4[_0xa1fe[2574]](_0xfc29x3[_0xa1fe[727]]())&&_0xfc29x4[_0xa1fe[2617]]()&&this[_0xa1fe[2810]](),_0xfc29x9=_0xfc29x4[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x5),_0xfc29x15=!1;null!=_0xfc29x9&&null==_0xfc29x12&&(_0xfc29x13[_0xa1fe[1197]](this[_0xa1fe[246]])!=_0xfc29x5||_0xfc29x14)?(this[_0xa1fe[772]]!=_0xfc29x5&&(this[_0xa1fe[772]]=_0xfc29x5,this[_0xa1fe[2828]](mxConstants.DROP_TARGET_COLOR)),_0xfc29x15= !0):(this[_0xa1fe[772]]=null,this[_0xa1fe[2804]]&&(null!=_0xfc29xa&&1==this[_0xa1fe[895]][_0xa1fe[67]]&&_0xfc29x4[_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29xa)&&_0xfc29x4[_0xa1fe[2565]](_0xfc29xa))&&(_0xfc29x9=_0xfc29x4[_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29xa),null!=_0xfc29x9&&(_0xfc29x4=null==_0xfc29x4[_0xa1fe[2500]](null,this[_0xa1fe[246]],_0xfc29xa)?mxConstants[_0xa1fe[2829]]:mxConstants[_0xa1fe[2830]],this[_0xa1fe[2828]](_0xfc29x4),_0xfc29x15= !0)));null!=_0xfc29x9&&_0xfc29x15?this[_0xa1fe[1016]][_0xa1fe[1016]](_0xfc29x9):this[_0xa1fe[1016]][_0xa1fe[801]]()};_0xfc29x3[_0xa1fe[722]]();mxEvent[_0xa1fe[722]](_0xfc29x3[_0xa1fe[727]]())}else {if((this[_0xa1fe[2812]]()||this[_0xa1fe[2810]]())&&this[_0xa1fe[2802]]&&!_0xfc29x3[_0xa1fe[721]]()&&null!=_0xfc29x3[_0xa1fe[248]]()&&!_0xfc29x4[_0xa1fe[1009]]){_0xfc29x9=_0xfc29x4[_0xa1fe[2599]](_0xfc29x3[_0xa1fe[736]]()),null==_0xfc29x9&&(_0xfc29x4[_0xa1fe[994]]()&&_0xfc29x4[_0xa1fe[1712]](_0xfc29x3[_0xa1fe[736]]()))&&(_0xfc29x9=_0xfc29x4[_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x3[_0xa1fe[736]]())?mxConstants[_0xa1fe[2831]]:mxConstants[_0xa1fe[2832]]),_0xfc29x3[_0xa1fe[248]]()[_0xa1fe[1609]](_0xfc29x9),_0xfc29x3[_0xa1fe[722]]()}}};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2794]]=function(){null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](this[_0xa1fe[2826]][_0xa1fe[235]]+this[_0xa1fe[2800]]-this[_0xa1fe[1179]][_0xa1fe[1136]]),Math[_0xa1fe[488]](this[_0xa1fe[2826]][_0xa1fe[236]]+this[_0xa1fe[2801]]-this[_0xa1fe[1179]][_0xa1fe[1137]]),this[_0xa1fe[2826]][_0xa1fe[117]],this[_0xa1fe[2826]][_0xa1fe[119]]),this[_0xa1fe[253]][_0xa1fe[258]]())};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2828]]=function(_0xfc29x2){null!=this[_0xa1fe[1016]]&&this[_0xa1fe[1016]][_0xa1fe[2828]](_0xfc29x2)};mxGraphHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()){var _0xfc29x4=this[_0xa1fe[1179]];if(null!=this[_0xa1fe[246]]&&null!=this[_0xa1fe[2823]]&&null!=this[_0xa1fe[253]]&&null!=this[_0xa1fe[2800]]&&null!=this[_0xa1fe[2801]]){var _0xfc29x5=_0xfc29x4[_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x9=_0xfc29x4[_0xa1fe[2574]](_0xfc29x3[_0xa1fe[727]]())&&_0xfc29x4[_0xa1fe[2617]]()&&this[_0xa1fe[2810]](),_0xfc29xa=this[_0xa1fe[2800]]/_0xfc29x5,_0xfc29x5=this[_0xa1fe[2801]]/_0xfc29x5,_0xfc29x12=_0xfc29x3[_0xa1fe[736]]();this[_0xa1fe[2804]]&&null==this[_0xa1fe[772]]&&null!=_0xfc29x12&&_0xfc29x4[_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x12)&&_0xfc29x4[_0xa1fe[2565]](_0xfc29x12)&&_0xfc29x4[_0xa1fe[2581]](null,this[_0xa1fe[246]],_0xfc29x12)?_0xfc29x4[_0xa1fe[2433]][_0xa1fe[807]](this[_0xa1fe[246]],_0xfc29x12,_0xfc29x3[_0xa1fe[727]]()):(_0xfc29x12=this[_0xa1fe[772]],_0xfc29x4[_0xa1fe[2655]]()&&_0xfc29x4[_0xa1fe[2686]](_0xfc29x12,this[_0xa1fe[895]],_0xfc29x3[_0xa1fe[727]]())?_0xfc29x4[_0xa1fe[853]](_0xfc29x12,this[_0xa1fe[895]],null,_0xfc29xa,_0xfc29x5):this[_0xa1fe[834]](this[_0xa1fe[895]],_0xfc29xa,_0xfc29x5,_0xfc29x9,this[_0xa1fe[772]],_0xfc29x3[_0xa1fe[727]]()))}else {this[_0xa1fe[2814]]()&&(this[_0xa1fe[2820]]&&null!=this[_0xa1fe[246]])&&this[_0xa1fe[2833]](_0xfc29x3)}};this[_0xa1fe[2821]]&&_0xfc29x3[_0xa1fe[722]]();this[_0xa1fe[862]]()};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2833]]=function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[2459]](this[_0xa1fe[246]],_0xfc29x2[_0xa1fe[727]]())};mxGraphHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[2834]]();this[_0xa1fe[2820]]=this[_0xa1fe[2821]]= !1;this[_0xa1fe[772]]=this[_0xa1fe[246]]=this[_0xa1fe[2823]]=this[_0xa1fe[2835]]=this[_0xa1fe[2801]]=this[_0xa1fe[2800]]=null};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2836]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1193]](_0xfc29x2)){_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);_0xfc29x4=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x4),mxEvent[_0xa1fe[733]](_0xfc29x4));var _0xfc29x5=mxUtils[_0xa1fe[431]](mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION)||0);if(0!=_0xfc29x5){_0xfc29x3=Math[_0xa1fe[426]](-_0xfc29x5);var _0xfc29x5=Math[_0xa1fe[427]](-_0xfc29x5),_0xfc29x9= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]());_0xfc29x4=mxUtils[_0xa1fe[432]](_0xfc29x4,_0xfc29x3,_0xfc29x5,_0xfc29x9)};return null!=_0xfc29x2&&!mxUtils[_0xa1fe[442]](_0xfc29x2,_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]])};return !1};mxGraphHandler[_0xa1fe[202]][_0xa1fe[834]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){_0xfc29x5&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2615]](_0xfc29x2));null==_0xfc29x9&&(this[_0xa1fe[2816]]()&&this[_0xa1fe[2836]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](this[_0xa1fe[246]]),_0xfc29x2,_0xfc29xa))&&(_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[902]]());_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[834]](_0xfc29x2,_0xfc29x3-this[_0xa1fe[1179]][_0xa1fe[1136]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x4-this[_0xa1fe[1179]][_0xa1fe[1137]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x5,_0xfc29x9,_0xfc29xa);this[_0xa1fe[2814]]()&&this[_0xa1fe[2805]]&&this[_0xa1fe[1179]][_0xa1fe[2564]](_0xfc29x2[0]);_0xfc29x5&&this[_0xa1fe[1179]][_0xa1fe[904]](_0xfc29x2)};mxGraphHandler[_0xa1fe[202]][_0xa1fe[2834]]=function(){null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null);null!=this[_0xa1fe[2799]]&&(this[_0xa1fe[2799]][_0xa1fe[515]](),this[_0xa1fe[2799]]=null);null!=this[_0xa1fe[1016]]&&(this[_0xa1fe[1016]][_0xa1fe[515]](),this[_0xa1fe[1016]]=null)};mxGraphHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[1148]](this);this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2730]]);this[_0xa1fe[2834]]()};function mxPanningHandler(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[1033]]=_0xfc29x3,this[_0xa1fe[1179]][_0xa1fe[1133]](this),this[_0xa1fe[176]]())}mxPanningHandler[_0xa1fe[202]]= new mxPopupMenu;mxPanningHandler[_0xa1fe[202]][_0xa1fe[196]]=mxPanningHandler;mxPanningHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2837]]=null;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2838]]=null;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2839]]= !0;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2840]]= !1;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2841]]= !0;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2842]]= !0;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2843]]= !1;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2844]]= !0;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2845]]= !1;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2431]]= !0;mxPanningHandler[_0xa1fe[202]][_0xa1fe[2846]]=function(){return this[_0xa1fe[2431]]};mxPanningHandler[_0xa1fe[202]][_0xa1fe[2847]]=function(_0xfc29x2){this[_0xa1fe[2431]]=_0xfc29x2};mxPanningHandler[_0xa1fe[202]][_0xa1fe[176]]=function(){mxPopupMenu[_0xa1fe[202]][_0xa1fe[176]][_0xa1fe[183]](this);mxEvent[_0xa1fe[169]](this[_0xa1fe[485]],mxClient[_0xa1fe[754]]?_0xa1fe[756]:_0xa1fe[752],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[2276]][_0xa1fe[801]]()}))};mxPanningHandler[_0xa1fe[202]][_0xa1fe[2848]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[727]]();return this[_0xa1fe[2840]]&&(this[_0xa1fe[2843]]||null==_0xfc29x2[_0xa1fe[248]]())&&mxEvent[_0xa1fe[1158]](_0xfc29x3)||mxEvent[_0xa1fe[775]](_0xfc29x3)&&mxEvent[_0xa1fe[774]](_0xfc29x3)||this[_0xa1fe[2839]]&&mxEvent[_0xa1fe[737]](_0xfc29x3)};mxPanningHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[994]]()){this[_0xa1fe[1032]]();this[_0xa1fe[2741]]=-this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[360]];this[_0xa1fe[2742]]=-this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[190]];var _0xfc29x4=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],_0xfc29x3[_0xa1fe[730]](),_0xfc29x3[_0xa1fe[732]]());this[_0xa1fe[2837]]=_0xfc29x4[_0xa1fe[235]];this[_0xa1fe[2838]]=_0xfc29x4[_0xa1fe[236]];this[_0xa1fe[2849]]=this[_0xa1fe[737]](_0xfc29x3);this[_0xa1fe[2850]]=this[_0xa1fe[2846]]()&&this[_0xa1fe[2848]](_0xfc29x3);this[_0xa1fe[2739]]=_0xfc29x3[_0xa1fe[730]]();this[_0xa1fe[2740]]=_0xfc29x3[_0xa1fe[732]]();this[_0xa1fe[2850]]&&this[_0xa1fe[2851]](_0xfc29x3)}};mxPanningHandler[_0xa1fe[202]][_0xa1fe[2851]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[722]]()};mxPanningHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x3[_0xa1fe[730]]()-this[_0xa1fe[2739]],_0xfc29x5=_0xfc29x3[_0xa1fe[732]]()-this[_0xa1fe[2740]];if(this[_0xa1fe[1124]]){this[_0xa1fe[2844]]&&(this[_0xa1fe[2845]]&&(_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x4),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x5)),this[_0xa1fe[1179]][_0xa1fe[1135]](_0xfc29x4+this[_0xa1fe[2741]],_0xfc29x5+this[_0xa1fe[2742]])),this[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN,_0xa1fe[763],_0xfc29x3)),_0xfc29x3[_0xa1fe[722]]()}else {if(this[_0xa1fe[2850]]){var _0xfc29x9=this[_0xa1fe[1124]];this[_0xa1fe[1124]]=Math[_0xa1fe[425]](_0xfc29x4)>this[_0xa1fe[1179]][_0xa1fe[2353]]||Math[_0xa1fe[425]](_0xfc29x5)>this[_0xa1fe[1179]][_0xa1fe[2353]];!_0xfc29x9&&this[_0xa1fe[1124]]&&this[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN_START,_0xa1fe[763],_0xfc29x3))}}};mxPanningHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[730]]()-this[_0xa1fe[2739]]),_0xfc29x5=Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[732]]()-this[_0xa1fe[2740]]);if(this[_0xa1fe[1124]]){if(!this[_0xa1fe[1179]][_0xa1fe[2365]]||!mxUtils[_0xa1fe[1134]](this[_0xa1fe[1179]][_0xa1fe[526]])){_0xfc29x4=_0xfc29x3[_0xa1fe[730]]()-this[_0xa1fe[2739]];_0xfc29x5=_0xfc29x3[_0xa1fe[732]]()-this[_0xa1fe[2740]];this[_0xa1fe[2845]]&&(_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x4),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x5));var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]];this[_0xa1fe[1179]][_0xa1fe[1135]](0,0);this[_0xa1fe[1135]](_0xfc29xa[_0xa1fe[235]]+_0xfc29x4/_0xfc29x9,_0xfc29xa[_0xa1fe[236]]+_0xfc29x5/_0xfc29x9)};this[_0xa1fe[1124]]= !1;this[_0xa1fe[746]]( new mxEventObject(mxEvent.PAN_END,_0xa1fe[763],_0xfc29x3));_0xfc29x3[_0xa1fe[722]]()}else {this[_0xa1fe[2849]]&&(_0xfc29x4<this[_0xa1fe[1179]][_0xa1fe[2353]]&&_0xfc29x5<this[_0xa1fe[1179]][_0xa1fe[2353]])&&(_0xfc29x4=this[_0xa1fe[2852]](_0xfc29x3),this[_0xa1fe[1179]][_0xa1fe[994]]()&&this[_0xa1fe[2841]]&&null!=_0xfc29x4&&!this[_0xa1fe[1179]][_0xa1fe[2692]](_0xfc29x4)?this[_0xa1fe[1179]][_0xa1fe[2450]](_0xfc29x4):this[_0xa1fe[2842]]&&null==_0xfc29x4&&this[_0xa1fe[1179]][_0xa1fe[2440]](),this[_0xa1fe[1179]][_0xa1fe[2276]][_0xa1fe[801]](),_0xfc29x5=mxUtils[_0xa1fe[444]](),_0xfc29x5= new mxPoint(_0xfc29x3[_0xa1fe[730]]()+_0xfc29x5[_0xa1fe[235]],_0xfc29x3[_0xa1fe[732]]()+_0xfc29x5[_0xa1fe[236]]),this[_0xa1fe[152]](_0xfc29x5[_0xa1fe[235]]+1,_0xfc29x5[_0xa1fe[236]]+1,_0xfc29x4,_0xfc29x3[_0xa1fe[727]]()),_0xfc29x3[_0xa1fe[722]]())};this[_0xa1fe[2849]]=this[_0xa1fe[2850]]= !1};mxPanningHandler[_0xa1fe[202]][_0xa1fe[2852]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[736]]()};mxPanningHandler[_0xa1fe[202]][_0xa1fe[1135]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1147]](_0xfc29x2,_0xfc29x3)};mxPanningHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[1148]](this);mxPopupMenu[_0xa1fe[202]][_0xa1fe[515]][_0xa1fe[183]](this)};function mxCellMarker(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){mxEventSource[_0xa1fe[239]](this);null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[2853]]=null!=_0xfc29x3?_0xfc29x3:mxConstants[_0xa1fe[2854]],this[_0xa1fe[2855]]=null!=_0xfc29x3?_0xfc29x4:mxConstants[_0xa1fe[2856]],this[_0xa1fe[2857]]=null!=_0xfc29x5?_0xfc29x5:mxConstants[_0xa1fe[2858]],this[_0xa1fe[1016]]= new mxCellHighlight(_0xfc29x2))}mxUtils[_0xa1fe[1284]](mxCellMarker,mxEventSource);mxCellMarker[_0xa1fe[202]][_0xa1fe[1179]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[984]]= !0;mxCellMarker[_0xa1fe[202]][_0xa1fe[2857]]=mxConstants[_0xa1fe[2858]];mxCellMarker[_0xa1fe[202]][_0xa1fe[2859]]= !1;mxCellMarker[_0xa1fe[202]][_0xa1fe[2853]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[2855]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[2860]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[2861]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[2862]]=null;mxCellMarker[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxCellMarker[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[2863]]=function(_0xfc29x2){this[_0xa1fe[2857]]=_0xfc29x2};mxCellMarker[_0xa1fe[202]][_0xa1fe[2864]]=function(){return this[_0xa1fe[2857]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[2865]]=function(_0xfc29x2){this[_0xa1fe[2859]]=_0xfc29x2};mxCellMarker[_0xa1fe[202]][_0xa1fe[2866]]=function(){return this[_0xa1fe[2859]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[2867]]=function(){return null!=this[_0xa1fe[2861]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[2868]]=function(){return this[_0xa1fe[2861]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[2869]]=function(){return this[_0xa1fe[2862]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[2861]]=null;null!=this[_0xa1fe[2862]]&&(this[_0xa1fe[2862]]=null,this[_0xa1fe[2870]]())};mxCellMarker[_0xa1fe[202]][_0xa1fe[2871]]=function(_0xfc29x2){var _0xfc29x3=null;if(this[_0xa1fe[994]]()){var _0xfc29x3=this[_0xa1fe[248]](_0xfc29x2),_0xfc29x4=null!=_0xfc29x3?this[_0xa1fe[2872]](_0xfc29x3):!1;_0xfc29x2=this[_0xa1fe[2873]](_0xfc29x2[_0xa1fe[727]](),_0xfc29x3,_0xfc29x4);this[_0xa1fe[2861]]=_0xfc29x4?_0xfc29x3:null;if(_0xfc29x3!=this[_0xa1fe[2862]]||_0xfc29x2!=this[_0xa1fe[2860]]){this[_0xa1fe[2860]]=_0xfc29x2,null!=_0xfc29x3&&null!=this[_0xa1fe[2860]]?(this[_0xa1fe[2862]]=_0xfc29x3,this[_0xa1fe[811]]()):null!=this[_0xa1fe[2862]]&&(this[_0xa1fe[2862]]=null,this[_0xa1fe[2870]]())}};return _0xfc29x3};mxCellMarker[_0xa1fe[202]][_0xa1fe[2874]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);null!=_0xfc29x4&&(this[_0xa1fe[2860]]=null!=_0xfc29x3?_0xfc29x3:this[_0xa1fe[2853]],this[_0xa1fe[2862]]=_0xfc29x4,this[_0xa1fe[811]]())};mxCellMarker[_0xa1fe[202]][_0xa1fe[811]]=function(){this[_0xa1fe[1016]][_0xa1fe[2828]](this[_0xa1fe[2860]]);this[_0xa1fe[1016]][_0xa1fe[1016]](this[_0xa1fe[2862]]);this[_0xa1fe[746]]( new mxEventObject(mxEvent.MARK,_0xa1fe[724],this[_0xa1fe[2862]]))};mxCellMarker[_0xa1fe[202]][_0xa1fe[2870]]=function(){this[_0xa1fe[811]]()};mxCellMarker[_0xa1fe[202]][_0xa1fe[2872]]=function(_0xfc29x2){return !0};mxCellMarker[_0xa1fe[202]][_0xa1fe[2873]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x4?this[_0xa1fe[2853]]:this[_0xa1fe[2855]]};mxCellMarker[_0xa1fe[202]][_0xa1fe[248]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[249]]();cell=this[_0xa1fe[736]](_0xfc29x2);_0xfc29x3=this[_0xa1fe[2875]](_0xfc29x3[_0xa1fe[248]](cell));return null!=_0xfc29x3&&this[_0xa1fe[1825]](_0xfc29x3,_0xfc29x2)?_0xfc29x3:null};mxCellMarker[_0xa1fe[202]][_0xa1fe[736]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[736]]()};mxCellMarker[_0xa1fe[202]][_0xa1fe[2875]]=function(_0xfc29x2){return _0xfc29x2};mxCellMarker[_0xa1fe[202]][_0xa1fe[1825]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[2859]]?mxUtils[_0xa1fe[2876]](_0xfc29x2,_0xfc29x3[_0xa1fe[734]](),_0xfc29x3[_0xa1fe[735]](),this[_0xa1fe[2857]],mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[2877]]);this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[2877]]);this[_0xa1fe[1016]][_0xa1fe[515]]()};function mxSelectionCellsHandler(_0xfc29x2){mxEventSource[_0xa1fe[239]](this);this[_0xa1fe[1179]]=_0xfc29x2;this[_0xa1fe[2878]]= new mxDictionary;this[_0xa1fe[1179]][_0xa1fe[1133]](this);this[_0xa1fe[2731]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){this[_0xa1fe[994]]()&&this[_0xa1fe[802]]()});this[_0xa1fe[1179]][_0xa1fe[2435]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.TRANSLATE,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.DOWN,this[_0xa1fe[2731]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.UP,this[_0xa1fe[2731]])}mxUtils[_0xa1fe[1284]](mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[2731]]=null;mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[2879]]=100;mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[2878]]=null;mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[2596]]=function(_0xfc29x2){return this[_0xa1fe[2878]][_0xa1fe[203]](_0xfc29x2)};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[2878]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[862]][_0xa1fe[183]](_0xfc29x3)})};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[802]]=function(){var _0xfc29x2=this[_0xa1fe[2878]];this[_0xa1fe[2878]]= new mxDictionary;for(var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[897]](),_0xfc29x4=0;_0xfc29x4<_0xfc29x3[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3[_0xfc29x4]);if(null!=_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[205]](_0xfc29x3[_0xfc29x4]);null!=_0xfc29x9&&(_0xfc29x9[_0xa1fe[724]]!=_0xfc29x5?(_0xfc29x9[_0xa1fe[515]](),_0xfc29x9=null):_0xfc29x9[_0xa1fe[258]]());null==_0xfc29x9&&(_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[2709]](_0xfc29x5),this[_0xa1fe[746]]( new mxEventObject(mxEvent.ADD,_0xa1fe[724],_0xfc29x5)));null!=_0xfc29x9&&this[_0xa1fe[2878]][_0xa1fe[204]](_0xfc29x3[_0xfc29x4],_0xfc29x9)}};_0xfc29x2[_0xa1fe[209]](mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[746]]( new mxEventObject(mxEvent.REMOVE,_0xa1fe[724],_0xfc29x3[_0xa1fe[724]]));_0xfc29x3[_0xa1fe[515]]()}))};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1179]][_0xa1fe[994]]()&&this[_0xa1fe[994]]()){var _0xfc29x4=[_0xfc29x2,_0xfc29x3];this[_0xa1fe[2878]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[787]][_0xa1fe[183]](_0xfc29x3,_0xfc29x4)})}};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1179]][_0xa1fe[994]]()&&this[_0xa1fe[994]]()){var _0xfc29x4=[_0xfc29x2,_0xfc29x3];this[_0xa1fe[2878]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[788]][_0xa1fe[183]](_0xfc29x3,_0xfc29x4)})}};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1179]][_0xa1fe[994]]()&&this[_0xa1fe[994]]()){var _0xfc29x4=[_0xfc29x2,_0xfc29x3];this[_0xa1fe[2878]][_0xa1fe[209]](function(_0xfc29x2,_0xfc29x3){_0xfc29x3[_0xa1fe[789]][_0xa1fe[183]](_0xfc29x3,_0xfc29x4)})}};mxSelectionCellsHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[1148]](this);null!=this[_0xa1fe[2731]]&&(this[_0xa1fe[1179]][_0xa1fe[2435]]()[_0xa1fe[745]](this[_0xa1fe[2731]]),this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[2731]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[2731]]),this[_0xa1fe[2731]]=null)};function mxConnectionHandler(_0xfc29x2,_0xfc29x3){mxEventSource[_0xa1fe[239]](this);null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[1033]]=_0xfc29x3,this[_0xa1fe[176]]())}mxUtils[_0xa1fe[1284]](mxConnectionHandler,mxEventSource);mxConnectionHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[1033]]= !0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2880]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2881]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2882]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2883]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[804]]= !0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2884]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2885]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2886]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[267]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2887]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2888]]= !0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2889]]=500;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2890]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2891]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2892]]=4;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2893]]=0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2894]]=0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2895]]= !1;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2823]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2896]]= new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2897]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[1176]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2898]]=null;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2899]]=0;mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2900]]=mxClient[_0xa1fe[47]];mxConnectionHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2901]]=function(){return this[_0xa1fe[2884]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2902]]=function(_0xfc29x2){this[_0xa1fe[2884]]=_0xfc29x2};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2156]]=function(){var _0xfc29x2= new mxPolyline([],mxConstants.INVALID_COLOR);_0xfc29x2[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]];_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]());_0xfc29x2[_0xa1fe[1564]]=0;_0xfc29x2[_0xa1fe[1229]]= !1;_0xfc29x2[_0xa1fe[1522]]= !0;if(this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[508]]){_0xfc29x2[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130])}else {var _0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x2=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x2),mxEvent[_0xa1fe[733]](_0xfc29x2));return this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[1179]][_0xa1fe[999]](_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]))});mxEvent[_0xa1fe[2733]](_0xfc29x2[_0xa1fe[252]],this[_0xa1fe[1179]],_0xfc29x3)};return _0xfc29x2};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[1179]][_0xa1fe[1133]](this);this[_0xa1fe[2885]]=this[_0xa1fe[1689]]();this[_0xa1fe[2886]]= new mxConstraintHandler(this[_0xa1fe[1179]]);this[_0xa1fe[1176]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){null!=this[_0xa1fe[2903]]&&(this[_0xa1fe[2903]]=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](this[_0xa1fe[2903]][_0xa1fe[246]]));null!=this[_0xa1fe[2903]]?this[_0xa1fe[2905]](this[_0xa1fe[2904]],this[_0xa1fe[2903]]):(this[_0xa1fe[2906]](this[_0xa1fe[2904]]),this[_0xa1fe[257]]=null);this[_0xa1fe[2886]][_0xa1fe[862]]()});this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[1176]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE,this[_0xa1fe[1176]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.TRANSLATE,this[_0xa1fe[1176]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0xa1fe[1176]]);this[_0xa1fe[2898]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2906]](this[_0xa1fe[2904]])});this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.START_EDITING,this[_0xa1fe[2898]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.DOWN,this[_0xa1fe[2898]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.UP,this[_0xa1fe[2898]])};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2907]]=function(_0xfc29x2){return !0};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[1689]]=function(){var _0xfc29x2= new mxCellMarker(this[_0xa1fe[1179]]);_0xfc29x2[_0xa1fe[2859]]= !0;_0xfc29x2[_0xa1fe[736]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x4){_0xfc29x4=mxCellMarker[_0xa1fe[202]][_0xa1fe[736]][_0xa1fe[183]](_0xfc29x2,arguments);this[_0xa1fe[267]]=null;if(!this[_0xa1fe[2907]](_0xfc29x4)){return null};null!=_0xfc29x4?this[_0xa1fe[2908]]()?null!=this[_0xa1fe[257]]&&(this[_0xa1fe[267]]=this[_0xa1fe[2909]](this[_0xa1fe[257]][_0xa1fe[246]],_0xfc29x4),null!=this[_0xa1fe[267]]&&0==this[_0xa1fe[267]][_0xa1fe[67]]&&(_0xfc29x4=null,this[_0xa1fe[2901]]()&&(this[_0xa1fe[267]]=null))):this[_0xa1fe[2671]](_0xfc29x4)||(_0xfc29x4=null):this[_0xa1fe[2908]]()&&(!this[_0xa1fe[2901]]()&&!this[_0xa1fe[1179]][_0xa1fe[2406]])&&(this[_0xa1fe[267]]=_0xa1fe[110]);return _0xfc29x4});_0xfc29x2[_0xa1fe[2872]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){return this[_0xa1fe[2908]]()?null==this[_0xa1fe[267]]:mxCellMarker[_0xa1fe[202]][_0xa1fe[2872]][_0xa1fe[183]](_0xfc29x2,arguments)});_0xfc29x2[_0xa1fe[2873]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x4,_0xfc29x5){return null==this[_0xa1fe[2882]]||this[_0xa1fe[2908]]()?mxCellMarker[_0xa1fe[202]][_0xa1fe[2873]][_0xa1fe[183]](_0xfc29x2,arguments):null});_0xfc29x2[_0xa1fe[1825]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x4){return null!=this[_0xa1fe[2882]]||this[_0xa1fe[2908]]()?!0:mxCellMarker[_0xa1fe[202]][_0xa1fe[1825]][_0xa1fe[183]](_0xfc29x2,arguments)});return _0xfc29x2};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[861]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[257]]=_0xfc29x2;this[_0xa1fe[2823]]= new mxPoint(_0xfc29x3,_0xfc29x4);this[_0xa1fe[2897]]=null!=_0xfc29x5?_0xfc29x5:this[_0xa1fe[2910]](null);this[_0xa1fe[2885]][_0xa1fe[2860]]=this[_0xa1fe[2885]][_0xa1fe[2853]];this[_0xa1fe[2885]][_0xa1fe[2862]]=_0xfc29x2;this[_0xa1fe[2885]][_0xa1fe[811]]();this[_0xa1fe[746]]( new mxEventObject(mxEvent.START,_0xa1fe[724],this[_0xa1fe[257]]))};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2908]]=function(){return null!=this[_0xa1fe[2823]]&&null!=this[_0xa1fe[253]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2671]]=function(_0xfc29x2){return this[_0xa1fe[1179]][_0xa1fe[2671]](_0xfc29x2)};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2672]]=function(_0xfc29x2){return !0};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2909]]=function(_0xfc29x2,_0xfc29x3){return !this[_0xa1fe[2672]](_0xfc29x3)?_0xa1fe[110]:this[_0xa1fe[1179]][_0xa1fe[2500]](null,_0xfc29x2,_0xfc29x3)};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2911]]=function(_0xfc29x2){return this[_0xa1fe[2882]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2912]]=function(_0xfc29x2){return null!=_0xfc29x2[_0xa1fe[963]]&&_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]?!0:this[_0xa1fe[2880]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2913]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[2911]](_0xfc29x2);if(null!=_0xfc29x3&&null!=_0xfc29x2){this[_0xa1fe[2903]]=_0xfc29x2;var _0xfc29x4=[],_0xfc29x5= new mxRectangle(0,0,_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]),_0xfc29x9= new mxImageShape(_0xfc29x5,_0xfc29x3[_0xa1fe[390]],null,null,0);_0xfc29x9[_0xa1fe[1674]]= !1;this[_0xa1fe[2912]](_0xfc29x2)?(_0xfc29x9[_0xa1fe[507]]=mxConstants[_0xa1fe[1656]],_0xfc29x9[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[526]])):(_0xfc29x9[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[508]]:mxConstants[_0xa1fe[1523]],_0xfc29x9[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()),this[_0xa1fe[2881]]&&null!=_0xfc29x9[_0xa1fe[252]][_0xa1fe[328]]&&_0xfc29x9[_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](_0xfc29x9[_0xa1fe[252]],_0xfc29x9[_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[285]]));_0xfc29x9[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[2914]];var _0xfc29xa=mxUtils[_0xa1fe[885]](this,function(){return null!=this[_0xa1fe[2915]]?this[_0xa1fe[2915]]:_0xfc29x2}),_0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){mxEvent[_0xa1fe[721]](_0xfc29x2)||(this[_0xa1fe[2916]]=_0xfc29x9,this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x2,_0xfc29xa())))});mxEvent[_0xa1fe[2733]](_0xfc29x9[_0xa1fe[252]],this[_0xa1fe[1179]],_0xfc29xa,_0xfc29x3);_0xfc29x4[_0xa1fe[207]](_0xfc29x9);this[_0xa1fe[2905]](_0xfc29x4,this[_0xa1fe[2903]]);return _0xfc29x4};return null};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2905]]=function(_0xfc29x2,_0xfc29x3){if(null!=_0xfc29x2&&null!=_0xfc29x2[0]&&null!=_0xfc29x3){var _0xfc29x4=this[_0xa1fe[2917]](_0xfc29x2[0],_0xfc29x3);_0xfc29x2[0][_0xa1fe[1562]][_0xa1fe[235]]=_0xfc29x4[_0xa1fe[235]];_0xfc29x2[0][_0xa1fe[1562]][_0xa1fe[236]]=_0xfc29x4[_0xa1fe[236]];_0xfc29x2[0][_0xa1fe[258]]()}};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2917]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x5=_0xfc29x3[_0xa1fe[241]](),_0xfc29x9=_0xfc29x3[_0xa1fe[242]]();if(this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x3[_0xa1fe[246]])){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[1731]](_0xfc29x3[_0xa1fe[246]]),_0xfc29x5=0!=_0xfc29xa[_0xa1fe[117]]?_0xfc29x3[_0xa1fe[235]]+_0xfc29xa[_0xa1fe[117]]*_0xfc29x4/2:_0xfc29x5,_0xfc29x9=0!=_0xfc29xa[_0xa1fe[119]]?_0xfc29x3[_0xa1fe[236]]+_0xfc29xa[_0xa1fe[119]]*_0xfc29x4/2:_0xfc29x9,_0xfc29xa=mxUtils[_0xa1fe[431]](mxUtils[_0xa1fe[433]](_0xfc29x3[_0xa1fe[124]],mxConstants.STYLE_ROTATION)||0);if(0!=_0xfc29xa){var _0xfc29x4=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29xa=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x12= new mxPoint(_0xfc29x3[_0xa1fe[241]](),_0xfc29x3[_0xa1fe[242]]()),_0xfc29x9=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x5,_0xfc29x9),_0xfc29x4,_0xfc29xa,_0xfc29x12),_0xfc29x5=_0xfc29x9[_0xa1fe[235]],_0xfc29x9=_0xfc29x9[_0xa1fe[236]]}};return new mxPoint(_0xfc29x5-_0xfc29x2[_0xa1fe[1562]][_0xa1fe[117]]/2,_0xfc29x9-_0xfc29x2[_0xa1fe[1562]][_0xa1fe[119]]/2)};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2906]]=function(_0xfc29x2){if(null!=_0xfc29x2){this[_0xa1fe[2903]]=null;for(var _0xfc29x3=0;_0xfc29x3<_0xfc29x2[_0xa1fe[67]];_0xfc29x3++){_0xfc29x2[_0xfc29x3][_0xa1fe[515]]()}}};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2918]]=function(_0xfc29x2){return !this[_0xa1fe[1179]][_0xa1fe[2579]](_0xfc29x2[_0xa1fe[727]]())&&(null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2920]]||null!=this[_0xa1fe[257]]&&null==this[_0xa1fe[267]]&&(null==this[_0xa1fe[2904]]||null!=this[_0xa1fe[2904]]&&null!=this[_0xa1fe[2916]]))};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2899]]++;if(this[_0xa1fe[994]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&!_0xfc29x3[_0xa1fe[721]]()&&!this[_0xa1fe[2908]]()&&this[_0xa1fe[2918]](_0xfc29x3)){null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&null!=this[_0xa1fe[2886]][_0xa1fe[987]]?(this[_0xa1fe[2921]]=this[_0xa1fe[2886]][_0xa1fe[2920]],this[_0xa1fe[257]]=this[_0xa1fe[2886]][_0xa1fe[2919]],this[_0xa1fe[2823]]=this[_0xa1fe[2886]][_0xa1fe[987]][_0xa1fe[238]]()):this[_0xa1fe[2823]]= new mxPoint(_0xfc29x3[_0xa1fe[734]](),_0xfc29x3[_0xa1fe[735]]());this[_0xa1fe[2897]]=this[_0xa1fe[2910]](_0xfc29x3);this[_0xa1fe[2899]]=1;this[_0xa1fe[2887]]&&null==this[_0xa1fe[253]]&&(this[_0xa1fe[2922]]=null,this[_0xa1fe[253]]=this[_0xa1fe[2156]]());if(null==this[_0xa1fe[257]]&&null!=this[_0xa1fe[2897]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[2689]](_0xfc29x3[_0xa1fe[727]]());this[_0xa1fe[2897]][_0xa1fe[246]][_0xa1fe[256]][_0xa1fe[2007]](_0xfc29x4,!0)};this[_0xa1fe[746]]( new mxEventObject(mxEvent.START,_0xa1fe[724],this[_0xa1fe[257]]));_0xfc29x3[_0xa1fe[722]]()}else {if(mxClient[_0xa1fe[754]]&&this[_0xa1fe[2888]]&&!this[_0xa1fe[2890]]&&this[_0xa1fe[994]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&!this[_0xa1fe[2908]]()){this[_0xa1fe[2890]]= !0;this[_0xa1fe[2893]]=_0xfc29x3[_0xa1fe[730]]();this[_0xa1fe[2894]]=_0xfc29x3[_0xa1fe[732]]();var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[2885]][_0xa1fe[736]](_0xfc29x3));this[_0xa1fe[2923]]&&window[_0xa1fe[2924]](this[_0xa1fe[2923]]);this[_0xa1fe[2923]]=window[_0xa1fe[261]](mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[2891]]&&this[_0xa1fe[2925]](_0xfc29x3,_0xfc29x5);this[_0xa1fe[2891]]=this[_0xa1fe[2890]]= !1}),this[_0xa1fe[2889]]);this[_0xa1fe[2891]]= !0}};this[_0xa1fe[2926]]=this[_0xa1fe[2916]];this[_0xa1fe[2916]]=null};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2925]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x3&&(this[_0xa1fe[2885]][_0xa1fe[2860]]=this[_0xa1fe[2885]][_0xa1fe[2853]],this[_0xa1fe[2885]][_0xa1fe[2862]]=_0xfc29x3,this[_0xa1fe[2885]][_0xa1fe[811]](),this[_0xa1fe[2823]]= new mxPoint(_0xfc29x2[_0xa1fe[734]](),_0xfc29x2[_0xa1fe[735]]()),this[_0xa1fe[2897]]=this[_0xa1fe[2910]](_0xfc29x2),this[_0xa1fe[257]]=_0xfc29x3,this[_0xa1fe[746]]( new mxEventObject(mxEvent.START,_0xa1fe[724],this[_0xa1fe[257]])))};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2927]]=function(_0xfc29x2){return !this[_0xa1fe[1179]][_0xa1fe[1712]](_0xfc29x2[_0xa1fe[246]])};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2910]]=function(_0xfc29x2){return null};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2928]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[2885]][_0xa1fe[2871]](_0xfc29x2);this[_0xa1fe[2886]][_0xa1fe[2729]](_0xfc29x2,null==this[_0xa1fe[2823]]);this[_0xa1fe[2915]]=_0xfc29x3};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2929]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[518]](),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[512]]();_0xfc29x2[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]]/_0xfc29x3-_0xfc29x4[_0xa1fe[235]];_0xfc29x2[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]]/_0xfc29x3-_0xfc29x4[_0xa1fe[236]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2891]]&&(this[_0xa1fe[2891]]=Math[_0xa1fe[425]](this[_0xa1fe[2893]]-_0xfc29x3[_0xa1fe[730]]())<this[_0xa1fe[2892]]&&Math[_0xa1fe[425]](this[_0xa1fe[2894]]-_0xfc29x3[_0xa1fe[732]]())<this[_0xa1fe[2892]]);if(!_0xfc29x3[_0xa1fe[721]]()&&(this[_0xa1fe[2895]]||null!=this[_0xa1fe[2823]]||!this[_0xa1fe[1179]][_0xa1fe[1009]])){!this[_0xa1fe[994]]()&&null!=this[_0xa1fe[2915]]&&(this[_0xa1fe[2906]](this[_0xa1fe[2904]]),this[_0xa1fe[2915]]=null);(null!=this[_0xa1fe[2823]]||this[_0xa1fe[994]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]())&&this[_0xa1fe[2928]](_0xfc29x3);if(null!=this[_0xa1fe[2823]]){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x4= new mxPoint(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x3[_0xa1fe[734]]()/_0xfc29x4)*_0xfc29x4,this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x3[_0xa1fe[735]]()/_0xfc29x4)*_0xfc29x4),_0xfc29x5=null,_0xfc29x9=_0xfc29x4;null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&(null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&null!=this[_0xa1fe[2886]][_0xa1fe[987]])&&(_0xfc29x5=this[_0xa1fe[2886]][_0xa1fe[2920]],_0xfc29x9=this[_0xa1fe[2886]][_0xa1fe[987]][_0xa1fe[238]]());var _0xfc29xa=this[_0xa1fe[2823]];if(null!=this[_0xa1fe[2926]]){var _0xfc29x12=this[_0xa1fe[2926]][_0xa1fe[1562]][_0xa1fe[117]],_0xfc29x13=this[_0xa1fe[2926]][_0xa1fe[1562]][_0xa1fe[119]];null!=this[_0xa1fe[2915]]&&this[_0xa1fe[2883]]?(_0xfc29x12=this[_0xa1fe[2917]](this[_0xa1fe[2926]],this[_0xa1fe[2915]]),this[_0xa1fe[2926]][_0xa1fe[1562]][_0xa1fe[235]]=_0xfc29x12[_0xa1fe[235]],this[_0xa1fe[2926]][_0xa1fe[1562]][_0xa1fe[236]]=_0xfc29x12[_0xa1fe[236]]):(_0xfc29x12= new mxRectangle(_0xfc29x3[_0xa1fe[734]]()+this[_0xa1fe[2896]][_0xa1fe[235]],_0xfc29x3[_0xa1fe[735]]()+this[_0xa1fe[2896]][_0xa1fe[236]],_0xfc29x12,_0xfc29x13),this[_0xa1fe[2926]][_0xa1fe[1562]]=_0xfc29x12);this[_0xa1fe[2926]][_0xa1fe[258]]()};if(null!=this[_0xa1fe[2897]]){this[_0xa1fe[2897]][_0xa1fe[439]]=[null,null!=this[_0xa1fe[2915]]?null:_0xfc29x9];this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2289]](this[_0xa1fe[2897]],this[_0xa1fe[257]],!0,this[_0xa1fe[2921]]);null!=this[_0xa1fe[2915]]&&(null==_0xfc29x5&&(_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[2288]](this[_0xa1fe[2897]],this[_0xa1fe[257]],!1)),this[_0xa1fe[2897]][_0xa1fe[2088]](null,!1),this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2289]](this[_0xa1fe[2897]],this[_0xa1fe[2915]],!1,_0xfc29x5));_0xfc29xa=null;if(null!=this[_0xa1fe[2922]]){_0xfc29xa=[];for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2922]][_0xa1fe[67]];_0xfc29x9++){_0xfc29x5=this[_0xa1fe[2922]][_0xfc29x9][_0xa1fe[238]](),this[_0xa1fe[2929]](_0xfc29x5),_0xfc29xa[_0xfc29x9]=_0xfc29x5}};this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2282]](this[_0xa1fe[2897]],_0xfc29xa,this[_0xa1fe[257]],this[_0xa1fe[2915]]);this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2283]](this[_0xa1fe[2897]],this[_0xa1fe[257]],this[_0xa1fe[2915]]);_0xfc29x9=this[_0xa1fe[2897]][_0xa1fe[439]][this[_0xa1fe[2897]][_0xa1fe[439]][_0xa1fe[67]]-1];_0xfc29xa=this[_0xa1fe[2897]][_0xa1fe[439]][0]}else {null!=this[_0xa1fe[2915]]&&null==this[_0xa1fe[2886]][_0xa1fe[2920]]&&(_0xfc29x12=this[_0xa1fe[2930]](this[_0xa1fe[2915]],_0xfc29x3),null!=_0xfc29x12&&(_0xfc29x9=_0xfc29x12)),null==this[_0xa1fe[2921]]&&null!=this[_0xa1fe[257]]&&(_0xfc29x12=this[_0xa1fe[2931]](this[_0xa1fe[257]],null!=this[_0xa1fe[2922]]&&0<this[_0xa1fe[2922]][_0xa1fe[67]]?this[_0xa1fe[2922]][0]:_0xfc29x9,_0xfc29x3),null!=_0xfc29x12&&(_0xfc29xa=_0xfc29x12))};if(null==this[_0xa1fe[2915]]&&this[_0xa1fe[2900]]){_0xfc29x12=_0xfc29xa;null!=this[_0xa1fe[2897]]&&2<this[_0xa1fe[2897]][_0xa1fe[439]][_0xa1fe[67]]&&(_0xfc29x5=this[_0xa1fe[2897]][_0xa1fe[439]][this[_0xa1fe[2897]][_0xa1fe[439]][_0xa1fe[67]]-2],null!=_0xfc29x5&&(_0xfc29x12=_0xfc29x5));_0xfc29x5=_0xfc29x9[_0xa1fe[235]]-_0xfc29x12[_0xa1fe[235]];_0xfc29x12=_0xfc29x9[_0xa1fe[236]]-_0xfc29x12[_0xa1fe[236]];_0xfc29x13=Math[_0xa1fe[428]](_0xfc29x5*_0xfc29x5+_0xfc29x12*_0xfc29x12);if(0==_0xfc29x13){return};_0xfc29x9[_0xa1fe[235]]-=4*_0xfc29x5/_0xfc29x13;_0xfc29x9[_0xa1fe[236]]-=4*_0xfc29x12/_0xfc29x13};if(null==this[_0xa1fe[253]]&&(_0xfc29x5=Math[_0xa1fe[425]](_0xfc29x4[_0xa1fe[235]]-this[_0xa1fe[2823]][_0xa1fe[235]]),_0xfc29x12=Math[_0xa1fe[425]](_0xfc29x4[_0xa1fe[236]]-this[_0xa1fe[2823]][_0xa1fe[236]]),_0xfc29x5>this[_0xa1fe[1179]][_0xa1fe[2353]]||_0xfc29x12>this[_0xa1fe[1179]][_0xa1fe[2353]])){this[_0xa1fe[253]]=this[_0xa1fe[2156]](),this[_0xa1fe[2928]](_0xfc29x3)};null!=this[_0xa1fe[253]]&&(null!=this[_0xa1fe[2897]]?this[_0xa1fe[253]][_0xa1fe[1525]]=this[_0xa1fe[2897]][_0xa1fe[439]]:(_0xfc29x4=[_0xfc29xa],null!=this[_0xa1fe[2922]]&&(_0xfc29x4=_0xfc29x4[_0xa1fe[1919]](this[_0xa1fe[2922]])),_0xfc29x4[_0xa1fe[207]](_0xfc29x9),this[_0xa1fe[253]][_0xa1fe[1525]]=_0xfc29x4),this[_0xa1fe[2932]]());mxEvent[_0xa1fe[722]](_0xfc29x3[_0xa1fe[727]]());_0xfc29x3[_0xa1fe[722]]()}else {!this[_0xa1fe[994]]()||!this[_0xa1fe[1179]][_0xa1fe[994]]()?this[_0xa1fe[2886]][_0xa1fe[862]]():this[_0xa1fe[257]]!=this[_0xa1fe[2915]]&&null==this[_0xa1fe[2897]]?(this[_0xa1fe[2906]](this[_0xa1fe[2904]]),this[_0xa1fe[2904]]=null,null!=this[_0xa1fe[2915]]&&null==this[_0xa1fe[267]]&&(this[_0xa1fe[2904]]=this[_0xa1fe[2913]](this[_0xa1fe[2915]]),null==this[_0xa1fe[2904]]&&(this[_0xa1fe[2915]][_0xa1fe[1609]](mxConstants.CURSOR_CONNECT),_0xfc29x3[_0xa1fe[722]]())),this[_0xa1fe[257]]=this[_0xa1fe[2915]]):this[_0xa1fe[257]]==this[_0xa1fe[2915]]&&(null!=this[_0xa1fe[2915]]&&null==this[_0xa1fe[2904]]&&!this[_0xa1fe[1179]][_0xa1fe[1009]])&&_0xfc29x3[_0xa1fe[722]]()};null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&this[_0xa1fe[2885]][_0xa1fe[862]]();if(!this[_0xa1fe[1179]][_0xa1fe[1009]]&&null!=this[_0xa1fe[2915]]&&null!=this[_0xa1fe[2904]]){_0xfc29x4= !1;_0xfc29xa=_0xfc29x3[_0xa1fe[728]]();for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2904]][_0xa1fe[67]]&& !_0xfc29x4;_0xfc29x9++){_0xfc29x4=_0xfc29xa==this[_0xa1fe[2904]][_0xfc29x9][_0xa1fe[252]]||_0xfc29xa[_0xa1fe[265]]==this[_0xa1fe[2904]][_0xfc29x9][_0xa1fe[252]]};_0xfc29x4||this[_0xa1fe[2933]](this[_0xa1fe[2915]],this[_0xa1fe[2904]],_0xfc29x3)}}else {this[_0xa1fe[2886]][_0xa1fe[862]]()}};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2930]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null,_0xfc29x5=_0xfc29x2[_0xa1fe[441]],_0xfc29x9=_0xfc29x5[_0xa1fe[2305]](_0xfc29x2);if(null!=_0xfc29x9){var _0xfc29xa=null!=this[_0xa1fe[2922]]&&0<this[_0xa1fe[2922]][_0xa1fe[67]]?this[_0xa1fe[2922]][this[_0xa1fe[2922]][_0xa1fe[67]]-1]: new mxPoint(this[_0xa1fe[257]][_0xa1fe[241]](),this[_0xa1fe[257]][_0xa1fe[242]]()),_0xfc29x5=_0xfc29x9(_0xfc29x5[_0xa1fe[2087]](_0xfc29x2),this[_0xa1fe[2897]],_0xfc29xa,!1);null!=_0xfc29x5&&(_0xfc29x4=_0xfc29x5)}else {_0xfc29x4= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]())};return _0xfc29x4};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2931]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x4=null;var _0xfc29x5=_0xfc29x2[_0xa1fe[441]],_0xfc29x9=_0xfc29x5[_0xa1fe[2305]](_0xfc29x2),_0xfc29xa= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]());if(null!=_0xfc29x9){var _0xfc29x12=mxUtils[_0xa1fe[433]](_0xfc29x2[_0xa1fe[124]],mxConstants.STYLE_ROTATION,0),_0xfc29x13=-_0xfc29x12*(Math[_0xa1fe[424]]/180);0!=_0xfc29x12&&(_0xfc29x3=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x3[_0xa1fe[235]],_0xfc29x3[_0xa1fe[236]]),Math[_0xa1fe[426]](_0xfc29x13),Math[_0xa1fe[427]](_0xfc29x13),_0xfc29xa));_0xfc29x2=_0xfc29x9(_0xfc29x5[_0xa1fe[2087]](_0xfc29x2),_0xfc29x2,_0xfc29x3,!1);null!=_0xfc29x2&&(0!=_0xfc29x12&&(_0xfc29x2=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]),Math[_0xa1fe[426]](-_0xfc29x13),Math[_0xa1fe[427]](-_0xfc29x13),_0xfc29xa)),_0xfc29x4=_0xfc29x2)}else {_0xfc29x4=_0xfc29xa};return _0xfc29x4};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2933]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2934]]=function(_0xfc29x2){return null!=_0xfc29x2[_0xa1fe[248]]()};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2935]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],_0xfc29x2[_0xa1fe[730]](),_0xfc29x2[_0xa1fe[732]]()),_0xfc29x4=Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[235]]-this[_0xa1fe[2823]][_0xa1fe[235]]),_0xfc29x3=Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[236]]-this[_0xa1fe[2823]][_0xa1fe[236]]);if(null!=this[_0xa1fe[2922]]||1<this[_0xa1fe[2899]]&&(_0xfc29x4>this[_0xa1fe[1179]][_0xa1fe[2353]]||_0xfc29x3>this[_0xa1fe[1179]][_0xa1fe[2353]])){null==this[_0xa1fe[2922]]&&(this[_0xa1fe[2922]]=[]),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x3= new mxPoint(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[734]]()/_0xfc29x4)*_0xfc29x4,this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[735]]()/_0xfc29x4)*_0xfc29x4),this[_0xa1fe[2922]][_0xa1fe[207]](_0xfc29x3)}};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[2908]]()){if(this[_0xa1fe[2887]]&&!this[_0xa1fe[2934]](_0xfc29x3)){this[_0xa1fe[2935]](_0xfc29x3);_0xfc29x3[_0xa1fe[722]]();return};if(null==this[_0xa1fe[267]]){var _0xfc29x4=null!=this[_0xa1fe[257]]?this[_0xa1fe[257]][_0xa1fe[246]]:null,_0xfc29x5=null;null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&(_0xfc29x5=this[_0xa1fe[2886]][_0xa1fe[2919]][_0xa1fe[246]]);null==_0xfc29x5&&this[_0xa1fe[2885]][_0xa1fe[2867]]()&&(_0xfc29x5=this[_0xa1fe[2885]][_0xa1fe[2861]][_0xa1fe[246]]);this[_0xa1fe[807]](_0xfc29x4,_0xfc29x5,_0xfc29x3[_0xa1fe[727]](),_0xfc29x3[_0xa1fe[736]]())}else {null!=this[_0xa1fe[257]]&&(null!=this[_0xa1fe[2885]][_0xa1fe[2861]]&&this[_0xa1fe[257]][_0xa1fe[246]]==this[_0xa1fe[2885]][_0xa1fe[2861]][_0xa1fe[246]])&&this[_0xa1fe[1179]][_0xa1fe[2459]](this[_0xa1fe[2885]][_0xa1fe[1097]],evt),0<this[_0xa1fe[267]][_0xa1fe[67]]&&this[_0xa1fe[1179]][_0xa1fe[2580]](this[_0xa1fe[267]])};this[_0xa1fe[2906]](this[_0xa1fe[2904]]);_0xfc29x3[_0xa1fe[722]]()};null!=this[_0xa1fe[2823]]&&this[_0xa1fe[862]]();this[_0xa1fe[2891]]=this[_0xa1fe[2890]]= !1};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null);this[_0xa1fe[2906]](this[_0xa1fe[2904]]);this[_0xa1fe[2904]]=null;this[_0xa1fe[2885]][_0xa1fe[862]]();this[_0xa1fe[2886]][_0xa1fe[862]]();this[_0xa1fe[2921]]=this[_0xa1fe[267]]=this[_0xa1fe[257]]=this[_0xa1fe[2897]]=this[_0xa1fe[2926]]=null;this[_0xa1fe[2899]]=0;this[_0xa1fe[2916]]=this[_0xa1fe[2823]]=null;this[_0xa1fe[746]]( new mxEventObject(mxEvent.RESET))};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2932]]=function(){var _0xfc29x2=null==this[_0xa1fe[267]];this[_0xa1fe[253]][_0xa1fe[1307]]=this[_0xa1fe[2936]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[2937]](_0xfc29x2);this[_0xa1fe[253]][_0xa1fe[1336]]=_0xfc29x2;this[_0xa1fe[253]][_0xa1fe[258]]()};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2937]]=function(_0xfc29x2){return _0xfc29x2?mxConstants[_0xa1fe[2829]]:mxConstants[_0xa1fe[2938]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2936]]=function(_0xfc29x2){return _0xfc29x2?3:1};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[807]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x3||this[_0xa1fe[2901]]()||this[_0xa1fe[1179]][_0xa1fe[2406]]){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29xa=null;_0xfc29x9[_0xa1fe[473]]();try{if(null!=_0xfc29x2&&(null==_0xfc29x3&&this[_0xa1fe[2901]]())&&(_0xfc29x3=this[_0xa1fe[2939]](_0xfc29x4,_0xfc29x2),null!=_0xfc29x3)){_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[564]]([_0xfc29x3],_0xfc29x4,_0xfc29x5);if(null==_0xfc29x5||!this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[250]](_0xfc29x5)){var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x5);if(null!=_0xfc29x12){var _0xfc29x13=_0xfc29x9[_0xa1fe[1721]](_0xfc29x3);_0xfc29x13[_0xa1fe[235]]-=_0xfc29x12[_0xa1fe[2078]][_0xa1fe[235]];_0xfc29x13[_0xa1fe[236]]-=_0xfc29x12[_0xa1fe[2078]][_0xa1fe[236]]}}else {_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[902]]()};this[_0xa1fe[1179]][_0xa1fe[2103]](_0xfc29x3,_0xfc29x5)};var _0xfc29x14=this[_0xa1fe[1179]][_0xa1fe[902]]();null!=_0xfc29x2&&(null!=_0xfc29x3&&_0xfc29x9[_0xa1fe[1197]](_0xfc29x2)==_0xfc29x9[_0xa1fe[1197]](_0xfc29x3)&&_0xfc29x9[_0xa1fe[1197]](_0xfc29x9[_0xa1fe[1197]](_0xfc29x2))!=_0xfc29x9[_0xa1fe[501]]())&&(_0xfc29x14=_0xfc29x9[_0xa1fe[1197]](_0xfc29x2),null!=_0xfc29x2[_0xa1fe[256]]&&_0xfc29x2[_0xa1fe[256]][_0xa1fe[1500]]&&(null!=_0xfc29x3[_0xa1fe[256]]&&_0xfc29x3[_0xa1fe[256]][_0xa1fe[1500]])&&(_0xfc29x14=_0xfc29x9[_0xa1fe[1197]](_0xfc29x14)));_0xfc29x13=_0xfc29x12=null;null!=this[_0xa1fe[2897]]&&(_0xfc29x12=this[_0xa1fe[2897]][_0xa1fe[246]][_0xa1fe[131]],_0xfc29x13=this[_0xa1fe[2897]][_0xa1fe[246]][_0xa1fe[124]]);_0xfc29xa=this[_0xa1fe[1960]](_0xfc29x14,null,_0xfc29x12,_0xfc29x2,_0xfc29x3,_0xfc29x13);if(null!=_0xfc29xa){this[_0xa1fe[1179]][_0xa1fe[2545]](_0xfc29xa,_0xfc29x2,!0,this[_0xa1fe[2921]]);this[_0xa1fe[1179]][_0xa1fe[2545]](_0xfc29xa,_0xfc29x3,!1,this[_0xa1fe[2886]][_0xa1fe[2920]]);null!=this[_0xa1fe[2897]]&&_0xfc29x9[_0xa1fe[1724]](_0xfc29xa,this[_0xa1fe[2897]][_0xa1fe[246]][_0xa1fe[256]]);var _0xfc29x15=_0xfc29x9[_0xa1fe[1721]](_0xfc29xa);null==_0xfc29x15&&(_0xfc29x15= new mxGeometry,_0xfc29x15[_0xa1fe[1500]]= !0,_0xfc29x9[_0xa1fe[1724]](_0xfc29xa,_0xfc29x15));if(null!=this[_0xa1fe[2922]]&&0<this[_0xa1fe[2922]][_0xa1fe[67]]){var _0xfc29x16=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x17=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[513]];_0xfc29x15[_0xa1fe[1525]]=[];for(_0xfc29x2=0;_0xfc29x2<this[_0xa1fe[2922]][_0xa1fe[67]];_0xfc29x2++){var _0xfc29x18=this[_0xa1fe[2922]][_0xfc29x2];_0xfc29x15[_0xa1fe[1525]][_0xa1fe[207]]( new mxPoint(_0xfc29x18[_0xa1fe[235]]/_0xfc29x16-_0xfc29x17[_0xa1fe[235]],_0xfc29x18[_0xa1fe[236]]/_0xfc29x16-_0xfc29x17[_0xa1fe[236]]))}};null==_0xfc29x3&&(_0xfc29x18=this[_0xa1fe[1179]][_0xa1fe[2689]](_0xfc29x4,!1),_0xfc29x18[_0xa1fe[235]]-=this[_0xa1fe[1179]][_0xa1fe[1136]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x18[_0xa1fe[236]]-=this[_0xa1fe[1179]][_0xa1fe[1137]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x15[_0xa1fe[2007]](_0xfc29x18,!1));this[_0xa1fe[746]]( new mxEventObject(mxEvent.CONNECT,_0xa1fe[246],_0xfc29xa,_0xa1fe[763],_0xfc29x4,_0xa1fe[772],_0xfc29x5))}}catch(q){mxLog[_0xa1fe[539]](),mxLog[_0xa1fe[143]](q[_0xa1fe[281]])}finally{_0xfc29x9[_0xa1fe[476]]()};this[_0xa1fe[804]]&&this[_0xa1fe[2707]](_0xfc29xa,_0xfc29x3)}};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2707]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1179]][_0xa1fe[2450]](_0xfc29x2)};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[1960]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){if(null==this[_0xa1fe[1033]]){return this[_0xa1fe[1179]][_0xa1fe[1960]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa)};_0xfc29x3=this[_0xa1fe[2503]](_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa);return _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[2504]](_0xfc29x3,_0xfc29x2,_0xfc29x5,_0xfc29x9)};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2939]]=function(_0xfc29x2,_0xfc29x3){for(var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x3);null!=_0xfc29x4&&_0xfc29x4[_0xa1fe[1500]];){_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x3),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x3)};var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[899]]([_0xfc29x3])[0],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1721]](_0xfc29x5);if(null!=_0xfc29x4){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[2689]](_0xfc29x2);_0xfc29x4[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x9[_0xa1fe[235]]-_0xfc29x4[_0xa1fe[117]]/2)-this[_0xa1fe[1179]][_0xa1fe[1136]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];_0xfc29x4[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x9[_0xa1fe[236]]-_0xfc29x4[_0xa1fe[119]]/2)-this[_0xa1fe[1179]][_0xa1fe[1137]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];if(null!=this[_0xa1fe[2823]]){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x3);if(null!=_0xfc29xa){var _0xfc29x12=this[_0xa1fe[2940]]();Math[_0xa1fe[425]](this[_0xa1fe[1179]][_0xa1fe[1021]](this[_0xa1fe[2823]][_0xa1fe[235]])-this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x9[_0xa1fe[235]]))<=_0xfc29x12?_0xfc29x4[_0xa1fe[235]]=_0xfc29xa[_0xa1fe[235]]:Math[_0xa1fe[425]](this[_0xa1fe[1179]][_0xa1fe[1021]](this[_0xa1fe[2823]][_0xa1fe[236]])-this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x9[_0xa1fe[236]]))<=_0xfc29x12&&(_0xfc29x4[_0xa1fe[236]]=_0xfc29xa[_0xa1fe[236]])}}};return _0xfc29x5};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2940]]=function(){return this[_0xa1fe[1179]][_0xa1fe[997]]()?this[_0xa1fe[1179]][_0xa1fe[1020]]:this[_0xa1fe[1179]][_0xa1fe[2353]]};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[2503]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;null!=this[_0xa1fe[1033]]&&(_0xfc29x9=this[_0xa1fe[1033]](_0xfc29x3,_0xfc29x4,_0xfc29x5));null==_0xfc29x9&&(_0xfc29x9= new mxCell(_0xfc29x2||_0xa1fe[110]),_0xfc29x9[_0xa1fe[1994]](!0),_0xfc29x9[_0xa1fe[475]](_0xfc29x5),_0xfc29x2= new mxGeometry,_0xfc29x2[_0xa1fe[1500]]= !0,_0xfc29x9[_0xa1fe[1724]](_0xfc29x2));return _0xfc29x9};mxConnectionHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[1148]](this);null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null);null!=this[_0xa1fe[2885]]&&(this[_0xa1fe[2885]][_0xa1fe[515]](),this[_0xa1fe[2885]]=null);null!=this[_0xa1fe[2886]]&&(this[_0xa1fe[2886]][_0xa1fe[515]](),this[_0xa1fe[2886]]=null);null!=this[_0xa1fe[1176]]&&(this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[1176]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[1176]]),this[_0xa1fe[1176]]=null);null!=this[_0xa1fe[2898]]&&(this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2898]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[2898]]),this[_0xa1fe[2898]]=null)};function mxConstraintHandler(_0xfc29x2){this[_0xa1fe[1179]]=_0xfc29x2}mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2941]]= new mxImage(mxClient[_0xa1fe[88]]+_0xa1fe[2942],5,5);mxConstraintHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxConstraintHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2943]]=mxConstants[_0xa1fe[2854]];mxConstraintHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){if(null!=this[_0xa1fe[2944]]){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[2944]][_0xa1fe[67]];_0xfc29x2++){this[_0xa1fe[2944]][_0xfc29x2][_0xa1fe[515]]()};this[_0xa1fe[2944]]=null};null!=this[_0xa1fe[2945]]&&(this[_0xa1fe[2945]][_0xa1fe[515]](),this[_0xa1fe[2945]]=null);this[_0xa1fe[2946]]=this[_0xa1fe[2919]]=this[_0xa1fe[987]]=this[_0xa1fe[2947]]=this[_0xa1fe[2920]]=null};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2636]]=function(){return this[_0xa1fe[1179]][_0xa1fe[2636]]()};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2948]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return this[_0xa1fe[2941]]};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2949]]=function(_0xfc29x2,_0xfc29x3){return !1};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[2729]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[994]]()&&!this[_0xa1fe[2949]](_0xfc29x2)){var _0xfc29x4=this[_0xa1fe[2636]](),_0xfc29x5= new mxRectangle(_0xfc29x2[_0xa1fe[734]]()-_0xfc29x4,_0xfc29x2[_0xa1fe[735]]()-_0xfc29x4,2*_0xfc29x4,2*_0xfc29x4),_0xfc29x9=null!=_0xfc29x2[_0xa1fe[736]]()?this[_0xa1fe[1179]][_0xa1fe[2565]](_0xfc29x2[_0xa1fe[736]]()):!1;if(null==this[_0xa1fe[2947]]||!mxUtils[_0xa1fe[1825]](this[_0xa1fe[2947]],_0xfc29x5)||null!=_0xfc29x2[_0xa1fe[248]]()&&null!=this[_0xa1fe[2919]]&&_0xfc29x9){if(this[_0xa1fe[2947]]=null,_0xfc29x2[_0xa1fe[248]]()!=this[_0xa1fe[2919]]){if(this[_0xa1fe[2919]]=null,this[_0xa1fe[1531]]=null!=_0xfc29x2[_0xa1fe[248]]()&&_0xfc29x9?this[_0xa1fe[1179]][_0xa1fe[2538]](_0xfc29x2[_0xa1fe[248]](),_0xfc29x3):null,null!=this[_0xa1fe[1531]]){this[_0xa1fe[2919]]=_0xfc29x2[_0xa1fe[248]]();this[_0xa1fe[2947]]= new mxRectangle(_0xfc29x2[_0xa1fe[248]]()[_0xa1fe[235]],_0xfc29x2[_0xa1fe[248]]()[_0xa1fe[236]],_0xfc29x2[_0xa1fe[248]]()[_0xa1fe[117]],_0xfc29x2[_0xa1fe[248]]()[_0xa1fe[119]]);if(null!=this[_0xa1fe[2944]]){for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2944]][_0xa1fe[67]];_0xfc29x9++){this[_0xa1fe[2944]][_0xfc29x9][_0xa1fe[515]]()};this[_0xa1fe[2946]]=this[_0xa1fe[2944]]=null};this[_0xa1fe[2944]]=[];this[_0xa1fe[2946]]=[];for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[1531]][_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[2290]](_0xfc29x2[_0xa1fe[248]](),this[_0xa1fe[1531]][_0xfc29x9]),_0xfc29x12=this[_0xa1fe[2948]](_0xfc29x2[_0xa1fe[248]](),this[_0xa1fe[1531]][_0xfc29x9],_0xfc29xa),_0xfc29x13=_0xfc29x12[_0xa1fe[390]],_0xfc29x12= new mxRectangle(_0xfc29xa[_0xa1fe[235]]-_0xfc29x12[_0xa1fe[117]]/2,_0xfc29xa[_0xa1fe[236]]-_0xfc29x12[_0xa1fe[119]]/2,_0xfc29x12[_0xa1fe[117]],_0xfc29x12[_0xa1fe[119]]),_0xfc29x12= new mxImageShape(_0xfc29x12,_0xfc29x13);_0xfc29x12[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[2334]]:mxConstants[_0xa1fe[508]];_0xfc29x12[_0xa1fe[1674]]= !1;_0xfc29x12[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]());null!=_0xfc29x12[_0xa1fe[252]][_0xa1fe[328]]&&_0xfc29x12[_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](_0xfc29x12[_0xa1fe[252]],_0xfc29x12[_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[285]]);_0xfc29x13=mxUtils[_0xa1fe[885]](this,function(){return null!=this[_0xa1fe[2919]]?this[_0xa1fe[2919]]:_0xfc29x2[_0xa1fe[248]]()});_0xfc29x12[_0xa1fe[258]]();mxEvent[_0xa1fe[2733]](_0xfc29x12[_0xa1fe[252]],this[_0xa1fe[1179]],_0xfc29x13);this[_0xa1fe[2947]][_0xa1fe[99]](_0xfc29x12[_0xa1fe[1562]]);this[_0xa1fe[2944]][_0xa1fe[207]](_0xfc29x12);this[_0xa1fe[2946]][_0xa1fe[207]](_0xfc29xa)};this[_0xa1fe[2947]][_0xa1fe[244]](_0xfc29x4)}else {if(null!=this[_0xa1fe[2944]]){null!=this[_0xa1fe[2945]]&&(this[_0xa1fe[2945]][_0xa1fe[515]](),this[_0xa1fe[2945]]=null);for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2944]][_0xa1fe[67]];_0xfc29x9++){this[_0xa1fe[2944]][_0xfc29x9][_0xa1fe[515]]()};this[_0xa1fe[2946]]=this[_0xa1fe[2944]]=null}}}};this[_0xa1fe[987]]=this[_0xa1fe[2920]]=null;if(null!=this[_0xa1fe[2944]]&&null!=this[_0xa1fe[1531]]&&(null==_0xfc29x2[_0xa1fe[248]]()||this[_0xa1fe[2919]]==_0xfc29x2[_0xa1fe[248]]())){for(_0xfc29x9=0;_0xfc29x9<this[_0xa1fe[2944]][_0xa1fe[67]];_0xfc29x9++){if(mxUtils[_0xa1fe[1825]](this[_0xa1fe[2944]][_0xfc29x9][_0xa1fe[1562]],_0xfc29x5)){this[_0xa1fe[2920]]=this[_0xa1fe[1531]][_0xfc29x9];this[_0xa1fe[987]]=this[_0xa1fe[2946]][_0xfc29x9];_0xfc29x4=this[_0xa1fe[2944]][_0xfc29x9][_0xa1fe[1562]][_0xa1fe[238]]();_0xfc29x4[_0xa1fe[244]](mxClient[_0xa1fe[80]]?3:2);mxClient[_0xa1fe[80]]&&(_0xfc29x4[_0xa1fe[117]]-=1,_0xfc29x4[_0xa1fe[119]]-=1);null==this[_0xa1fe[2945]]?(_0xfc29x4= new mxRectangleShape(_0xfc29x4,null,this[_0xa1fe[2943]],3),_0xfc29x4[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]==mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[508]]:mxConstants[_0xa1fe[1523]],_0xfc29x4[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()),this[_0xa1fe[2945]]=_0xfc29x4,_0xfc29x13=mxUtils[_0xa1fe[885]](this,function(){return null!=this[_0xa1fe[2919]]?this[_0xa1fe[2919]]:_0xfc29x2[_0xa1fe[248]]()}),mxEvent[_0xa1fe[2733]](_0xfc29x4[_0xa1fe[252]],this[_0xa1fe[1179]],_0xfc29x13)):(this[_0xa1fe[2945]][_0xa1fe[1562]]=_0xfc29x4,this[_0xa1fe[2945]][_0xa1fe[258]]());break}}};null==this[_0xa1fe[2920]]&&null!=this[_0xa1fe[2945]]&&(this[_0xa1fe[2945]][_0xa1fe[515]](),this[_0xa1fe[2945]]=null)}};mxConstraintHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[862]]()};function mxRubberband(_0xfc29x2){null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[1179]][_0xa1fe[1133]](this),this[_0xa1fe[2730]]=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[2950]]()}),this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.PAN,this[_0xa1fe[2730]]),mxClient[_0xa1fe[80]]&&mxEvent[_0xa1fe[169]](window,_0xa1fe[2428],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[515]]()})))}mxRubberband[_0xa1fe[202]][_0xa1fe[2951]]=20;mxRubberband[_0xa1fe[202]][_0xa1fe[984]]= !0;mxRubberband[_0xa1fe[202]][_0xa1fe[485]]=null;mxRubberband[_0xa1fe[202]][_0xa1fe[2952]]=null;mxRubberband[_0xa1fe[202]][_0xa1fe[2953]]=0;mxRubberband[_0xa1fe[202]][_0xa1fe[2954]]=0;mxRubberband[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxRubberband[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxRubberband[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[994]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&(this[_0xa1fe[1179]][_0xa1fe[2579]](_0xfc29x3[_0xa1fe[727]]())||null==_0xfc29x3[_0xa1fe[248]]())){var _0xfc29x4=mxUtils[_0xa1fe[445]](this[_0xa1fe[1179]][_0xa1fe[526]]),_0xfc29x5=mxUtils[_0xa1fe[444]](this[_0xa1fe[1179]][_0xa1fe[526]]);_0xfc29x5[_0xa1fe[235]]-=_0xfc29x4[_0xa1fe[235]];_0xfc29x5[_0xa1fe[236]]-=_0xfc29x4[_0xa1fe[236]];this[_0xa1fe[861]](_0xfc29x3[_0xa1fe[730]]()+_0xfc29x5[_0xa1fe[235]],_0xfc29x3[_0xa1fe[732]]()+_0xfc29x5[_0xa1fe[236]]);if(mxClient[_0xa1fe[133]]&&!mxClient[_0xa1fe[75]]&&!mxClient[_0xa1fe[76]]){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[526]],_0xfc29xa=function(_0xfc29x2){_0xfc29x2= new mxMouseEvent(_0xfc29x2);var _0xfc29x3=mxUtils[_0xa1fe[2196]](_0xfc29x9,_0xfc29x2[_0xa1fe[730]](),_0xfc29x2[_0xa1fe[732]]());_0xfc29x2[_0xa1fe[725]]=_0xfc29x3[_0xa1fe[235]];_0xfc29x2[_0xa1fe[726]]=_0xfc29x3[_0xa1fe[236]];return _0xfc29x2};this[_0xa1fe[2955]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[788]](this[_0xa1fe[1179]],_0xfc29xa(_0xfc29x2))});this[_0xa1fe[981]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[789]](this[_0xa1fe[1179]],_0xfc29xa(_0xfc29x2))});mxEvent[_0xa1fe[169]](document,_0xa1fe[752],this[_0xa1fe[2955]]);mxEvent[_0xa1fe[169]](document,_0xa1fe[753],this[_0xa1fe[981]])};_0xfc29x3[_0xa1fe[722]](!1)}};mxRubberband[_0xa1fe[202]][_0xa1fe[861]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2823]]= new mxPoint(_0xfc29x2,_0xfc29x3)};mxRubberband[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&null!=this[_0xa1fe[2823]]){var _0xfc29x4=mxUtils[_0xa1fe[444]](this[_0xa1fe[1179]][_0xa1fe[526]]),_0xfc29x5=mxUtils[_0xa1fe[445]](this[_0xa1fe[1179]][_0xa1fe[526]]);_0xfc29x4[_0xa1fe[235]]-=_0xfc29x5[_0xa1fe[235]];_0xfc29x4[_0xa1fe[236]]-=_0xfc29x5[_0xa1fe[236]];var _0xfc29x5=_0xfc29x3[_0xa1fe[730]]()+_0xfc29x4[_0xa1fe[235]],_0xfc29x4=_0xfc29x3[_0xa1fe[732]]()+_0xfc29x4[_0xa1fe[236]],_0xfc29x9=this[_0xa1fe[2823]][_0xa1fe[235]]-_0xfc29x5,_0xfc29xa=this[_0xa1fe[2823]][_0xa1fe[236]]-_0xfc29x4,_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[2353]];if(null!=this[_0xa1fe[485]]||Math[_0xa1fe[425]](_0xfc29x9)>_0xfc29x12||Math[_0xa1fe[425]](_0xfc29xa)>_0xfc29x12){null==this[_0xa1fe[485]]&&(this[_0xa1fe[485]]=this[_0xa1fe[2156]]()),mxUtils[_0xa1fe[2440]](),this[_0xa1fe[2729]](_0xfc29x5,_0xfc29x4),_0xfc29x3[_0xa1fe[722]]()}}};mxRubberband[_0xa1fe[202]][_0xa1fe[2156]]=function(){null==this[_0xa1fe[2952]]&&(this[_0xa1fe[2952]]=document[_0xa1fe[55]](_0xa1fe[485]),this[_0xa1fe[2952]][_0xa1fe[926]]=_0xa1fe[2956],mxUtils[_0xa1fe[254]](this[_0xa1fe[2952]],this[_0xa1fe[2951]]));this[_0xa1fe[1179]][_0xa1fe[526]][_0xa1fe[62]](this[_0xa1fe[2952]]);return this[_0xa1fe[2952]]};mxRubberband[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null!=this[_0xa1fe[485]];this[_0xa1fe[862]]();_0xfc29x4&&(_0xfc29x4= new mxRectangle(this[_0xa1fe[235]],this[_0xa1fe[236]],this[_0xa1fe[117]],this[_0xa1fe[119]]),this[_0xa1fe[1179]][_0xa1fe[2698]](_0xfc29x4,_0xfc29x3[_0xa1fe[727]]()),_0xfc29x3[_0xa1fe[722]]())};mxRubberband[_0xa1fe[202]][_0xa1fe[862]]=function(){null!=this[_0xa1fe[485]]&&this[_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[485]]);null!=this[_0xa1fe[2955]]&&(mxEvent[_0xa1fe[745]](document,_0xa1fe[752],this[_0xa1fe[2955]]),this[_0xa1fe[2955]]=null);null!=this[_0xa1fe[981]]&&(mxEvent[_0xa1fe[745]](document,_0xa1fe[753],this[_0xa1fe[981]]),this[_0xa1fe[981]]=null);this[_0xa1fe[2954]]=this[_0xa1fe[2953]]=0;this[_0xa1fe[485]]=this[_0xa1fe[2823]]=null};mxRubberband[_0xa1fe[202]][_0xa1fe[2729]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[2953]]=_0xfc29x2;this[_0xa1fe[2954]]=_0xfc29x3;this[_0xa1fe[2950]]()};mxRubberband[_0xa1fe[202]][_0xa1fe[2950]]=function(){if(null!=this[_0xa1fe[485]]){var _0xfc29x2=this[_0xa1fe[2953]]-this[_0xa1fe[1179]][_0xa1fe[1136]],_0xfc29x3=this[_0xa1fe[2954]]-this[_0xa1fe[1179]][_0xa1fe[1137]];this[_0xa1fe[235]]=Math[_0xa1fe[243]](this[_0xa1fe[2823]][_0xa1fe[235]],_0xfc29x2);this[_0xa1fe[236]]=Math[_0xa1fe[243]](this[_0xa1fe[2823]][_0xa1fe[236]],_0xfc29x3);this[_0xa1fe[117]]=Math[_0xa1fe[160]](this[_0xa1fe[2823]][_0xa1fe[235]],_0xfc29x2)-this[_0xa1fe[235]];this[_0xa1fe[119]]=Math[_0xa1fe[160]](this[_0xa1fe[2823]][_0xa1fe[236]],_0xfc29x3)-this[_0xa1fe[236]];_0xfc29x2=mxClient[_0xa1fe[47]]?this[_0xa1fe[1179]][_0xa1fe[1137]]:0;this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=this[_0xa1fe[235]]+(mxClient[_0xa1fe[47]]?this[_0xa1fe[1179]][_0xa1fe[1136]]:0)+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=this[_0xa1fe[236]]+_0xfc29x2+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[117]]=Math[_0xa1fe[160]](1,this[_0xa1fe[117]])+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[119]]=Math[_0xa1fe[160]](1,this[_0xa1fe[119]])+_0xa1fe[168]}};mxRubberband[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[2717]]||(this[_0xa1fe[2717]]= !0,this[_0xa1fe[1179]][_0xa1fe[1148]](this),this[_0xa1fe[1179]][_0xa1fe[745]](this[_0xa1fe[2730]]),this[_0xa1fe[862]](),null!=this[_0xa1fe[2952]]&&(this[_0xa1fe[2952]]=null))};function mxVertexHandler(_0xfc29x2){null!=_0xfc29x2&&(this[_0xa1fe[724]]=_0xfc29x2,this[_0xa1fe[176]]())}mxVertexHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxVertexHandler[_0xa1fe[202]][_0xa1fe[724]]=null;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2957]]= !1;mxVertexHandler[_0xa1fe[202]][_0xa1fe[1983]]=null;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2958]]= !0;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2959]]=null;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2353]]=0;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2809]]= !1;mxVertexHandler[_0xa1fe[202]][_0xa1fe[2960]]= !0;mxVertexHandler[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[1179]]=this[_0xa1fe[724]][_0xa1fe[441]][_0xa1fe[1179]];this[_0xa1fe[2961]]=this[_0xa1fe[2962]](this[_0xa1fe[724]]);this[_0xa1fe[1562]]= new mxRectangle(this[_0xa1fe[2961]][_0xa1fe[235]],this[_0xa1fe[2961]][_0xa1fe[236]],this[_0xa1fe[2961]][_0xa1fe[117]],this[_0xa1fe[2961]][_0xa1fe[119]]);this[_0xa1fe[2732]]=this[_0xa1fe[2963]](this[_0xa1fe[1562]]);this[_0xa1fe[2732]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]];this[_0xa1fe[2732]][_0xa1fe[1229]]= !1;this[_0xa1fe[2732]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]());this[_0xa1fe[1179]][_0xa1fe[1712]](this[_0xa1fe[724]][_0xa1fe[246]])&&(this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[2832]]);mxEvent[_0xa1fe[2733]](this[_0xa1fe[2732]][_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);if(0>=mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]||this[_0xa1fe[1179]][_0xa1fe[2694]]()<mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2657]](this[_0xa1fe[724]][_0xa1fe[246]]);this[_0xa1fe[2964]]=[];if(_0xfc29x2||this[_0xa1fe[1179]][_0xa1fe[2628]](this[_0xa1fe[724]][_0xa1fe[246]])&&2<=this[_0xa1fe[724]][_0xa1fe[117]]&&2<=this[_0xa1fe[724]][_0xa1fe[119]]){var _0xfc29x3=0;_0xfc29x2&&(this[_0xa1fe[2957]]||(this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[936],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2965],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2966],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2967],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2968],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2969],_0xfc29x3++)),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2970],_0xfc29x3++))),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2735]](_0xa1fe[2971],_0xfc29x3++)));_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1721]](this[_0xa1fe[724]][_0xa1fe[246]]);null!=_0xfc29x2&&(!_0xfc29x2[_0xa1fe[1500]]&&!this[_0xa1fe[1179]][_0xa1fe[1730]](this[_0xa1fe[724]][_0xa1fe[246]])&&this[_0xa1fe[1179]][_0xa1fe[2628]](this[_0xa1fe[724]][_0xa1fe[246]]))&&(this[_0xa1fe[2972]]=this[_0xa1fe[2735]](mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2972]]))}else {this[_0xa1fe[1179]][_0xa1fe[1712]](this[_0xa1fe[724]][_0xa1fe[246]])&&(!this[_0xa1fe[1179]][_0xa1fe[2657]](this[_0xa1fe[724]][_0xa1fe[246]])&&2>this[_0xa1fe[724]][_0xa1fe[117]]&&2>this[_0xa1fe[724]][_0xa1fe[119]])&&(this[_0xa1fe[2972]]=this[_0xa1fe[2735]](mxConstants.CURSOR_MOVABLE_VERTEX,null,null,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2972]]))}};if(this[_0xa1fe[2809]]&&(0>=mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]||this[_0xa1fe[1179]][_0xa1fe[2694]]()<mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]])){this[_0xa1fe[2973]]=this[_0xa1fe[2735]](_0xa1fe[356],mxEvent.ROTATION_HANDLE,mxConstants[_0xa1fe[2974]]+3,mxConstants.HANDLE_FILLCOLOR),this[_0xa1fe[2964]][_0xa1fe[207]](this[_0xa1fe[2973]])};this[_0xa1fe[258]]()};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2962]]=function(_0xfc29x2){return new mxRectangle(Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[235]]),Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[236]]),Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[117]]),Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[119]]))};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2963]]=function(_0xfc29x2){_0xfc29x2= new mxRectangleShape(_0xfc29x2,null,this[_0xa1fe[2975]]());_0xfc29x2[_0xa1fe[1307]]=this[_0xa1fe[2976]]();_0xfc29x2[_0xa1fe[1522]]=this[_0xa1fe[2977]]();return _0xfc29x2};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2975]]=function(){return mxConstants[_0xa1fe[2978]]};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2976]]=function(){return mxConstants[_0xa1fe[2979]]};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2977]]=function(){return mxConstants[_0xa1fe[2980]]};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2735]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){_0xfc29x4=_0xfc29x4||mxConstants[_0xa1fe[2974]];_0xfc29x4= new mxRectangle(0,0,_0xfc29x4,_0xfc29x4);_0xfc29x5=this[_0xa1fe[2981]](_0xfc29x4,_0xfc29x3,_0xfc29x5);_0xfc29x5[_0xa1fe[1567]]()&&null!=this[_0xa1fe[724]][_0xa1fe[963]]&&this[_0xa1fe[724]][_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]?(_0xfc29x5[_0xa1fe[1562]][_0xa1fe[119]]-=1,_0xfc29x5[_0xa1fe[1562]][_0xa1fe[117]]-=1,_0xfc29x5[_0xa1fe[507]]=mxConstants[_0xa1fe[1656]],_0xfc29x5[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[526]])):(_0xfc29x5[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[2334]]:mxConstants[_0xa1fe[508]],_0xfc29x5[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()));mxEvent[_0xa1fe[2733]](_0xfc29x5[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);this[_0xa1fe[1179]][_0xa1fe[994]]()&&(_0xfc29x5[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xfc29x2);this[_0xa1fe[2982]](_0xfc29x3)||(_0xfc29x5[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188]);return _0xfc29x5};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2982]]=function(_0xfc29x2){return !0};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2981]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return null!=this[_0xa1fe[2959]]?(_0xfc29x2[_0xa1fe[117]]=this[_0xa1fe[2959]][_0xa1fe[117]],_0xfc29x2[_0xa1fe[119]]=this[_0xa1fe[2959]][_0xa1fe[119]], new mxImageShape(_0xfc29x2,this[_0xa1fe[2959]][_0xa1fe[390]])):_0xfc29x3==mxEvent[_0xa1fe[2983]]? new mxEllipse(_0xfc29x2,_0xfc29x4||mxConstants[_0xa1fe[2984]],mxConstants.HANDLE_STROKECOLOR): new mxRectangleShape(_0xfc29x2,_0xfc29x4||mxConstants[_0xa1fe[2984]],mxConstants.HANDLE_STROKECOLOR)};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2985]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null!=_0xfc29x2&&(_0xfc29x2[_0xa1fe[1562]][_0xa1fe[235]]=Math[_0xa1fe[488]](_0xfc29x3-_0xfc29x2[_0xa1fe[1562]][_0xa1fe[117]]/2),_0xfc29x2[_0xa1fe[1562]][_0xa1fe[236]]=Math[_0xa1fe[488]](_0xfc29x4-_0xfc29x2[_0xa1fe[1562]][_0xa1fe[119]]/2),_0xfc29x2[_0xa1fe[258]]())};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2986]]=function(_0xfc29x2){if(_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[2973]])){return mxEvent[_0xa1fe[2983]]};if(_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[2972]])){return mxEvent[_0xa1fe[2987]]};if(null!=this[_0xa1fe[2964]]){for(var _0xfc29x3=this[_0xa1fe[2353]],_0xfc29x3=this[_0xa1fe[2958]]&&(mxClient[_0xa1fe[80]]||0<_0xfc29x3)? new mxRectangle(_0xfc29x2[_0xa1fe[734]]()-_0xfc29x3,_0xfc29x2[_0xa1fe[735]]()-_0xfc29x3,2*_0xfc29x3,2*_0xfc29x3):null,_0xfc29x4=0;_0xfc29x4<this[_0xa1fe[2964]][_0xa1fe[67]];_0xfc29x4++){if(_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[2964]][_0xfc29x4])||null!=_0xfc29x3&&mxUtils[_0xa1fe[1825]](this[_0xa1fe[2964]][_0xfc29x4][_0xa1fe[1562]],_0xfc29x3)){return _0xfc29x4}}};return null};mxVertexHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&!this[_0xa1fe[1179]][_0xa1fe[2579]](_0xfc29x3[_0xa1fe[727]]())&&(0<this[_0xa1fe[2353]]||_0xfc29x3[_0xa1fe[248]]()==this[_0xa1fe[724]])){var _0xfc29x4=this[_0xa1fe[2986]](_0xfc29x3);null!=_0xfc29x4&&(this[_0xa1fe[861]](_0xfc29x3[_0xa1fe[730]](),_0xfc29x3[_0xa1fe[732]](),_0xfc29x4),_0xfc29x3[_0xa1fe[722]]())}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[861]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],_0xfc29x2,_0xfc29x3);this[_0xa1fe[2739]]=_0xfc29x2[_0xa1fe[235]];this[_0xa1fe[2740]]=_0xfc29x2[_0xa1fe[236]];this[_0xa1fe[1983]]=_0xfc29x4;this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=_0xfc29x4==mxEvent[_0xa1fe[2983]]?_0xa1fe[497]:_0xa1fe[130];this[_0xa1fe[2988]]=this[_0xa1fe[2963]](this[_0xa1fe[1562]]);!(mxClient[_0xa1fe[48]]&&0!=Number(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]))&&null!=this[_0xa1fe[724]][_0xa1fe[963]]&&this[_0xa1fe[724]][_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]?(this[_0xa1fe[2988]][_0xa1fe[507]]=mxConstants[_0xa1fe[1656]],this[_0xa1fe[2988]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[526]])):(this[_0xa1fe[2988]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]],this[_0xa1fe[2988]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[1524]]()))};mxVertexHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&null!=this[_0xa1fe[1983]]){var _0xfc29x4= new mxPoint(_0xfc29x3[_0xa1fe[734]](),_0xfc29x3[_0xa1fe[735]]()),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1018]](_0xfc29x3[_0xa1fe[727]]()),_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]];if(this[_0xa1fe[1983]]==mxEvent[_0xa1fe[2987]]){_0xfc29x5&&(_0xfc29x4[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x4[_0xa1fe[235]]/_0xfc29x9)*_0xfc29x9,_0xfc29x4[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x4[_0xa1fe[236]]/_0xfc29x9)*_0xfc29x9),this[_0xa1fe[2985]](this[_0xa1fe[2964]][this[_0xa1fe[2964]][_0xa1fe[67]]-1],_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]])}else {if(this[_0xa1fe[1983]]==mxEvent[_0xa1fe[2983]]){var _0xfc29xa=this[_0xa1fe[724]][_0xa1fe[235]]+this[_0xa1fe[724]][_0xa1fe[117]]/2-_0xfc29x4[_0xa1fe[235]],_0xfc29x12=this[_0xa1fe[724]][_0xa1fe[236]]+this[_0xa1fe[724]][_0xa1fe[119]]/2-_0xfc29x4[_0xa1fe[236]];this[_0xa1fe[2989]]=0!=_0xfc29xa?180*Math[_0xa1fe[2990]](_0xfc29x12/_0xfc29xa)/Math[_0xa1fe[424]]+90:0>_0xfc29x12?180:0;0<_0xfc29xa&&(this[_0xa1fe[2989]]-=180);this[_0xa1fe[2960]]&&(_0xfc29xa=_0xfc29x4[_0xa1fe[235]]-this[_0xa1fe[724]][_0xa1fe[241]](),_0xfc29x12=_0xfc29x4[_0xa1fe[236]]-this[_0xa1fe[724]][_0xa1fe[242]](),_0xfc29xa=Math[_0xa1fe[425]](Math[_0xa1fe[428]](_0xfc29xa*_0xfc29xa+_0xfc29x12*_0xfc29x12)-this[_0xa1fe[724]][_0xa1fe[119]]/2-20),_0xfc29xa=Math[_0xa1fe[160]](1,5*Math[_0xa1fe[243]](3,Math[_0xa1fe[160]](0,Math[_0xa1fe[488]](80/Math[_0xa1fe[425]](_0xfc29xa))))),this[_0xa1fe[2989]]=Math[_0xa1fe[488]](this[_0xa1fe[2989]]/_0xfc29xa)*_0xfc29xa);this[_0xa1fe[2732]][_0xa1fe[603]]=this[_0xa1fe[2989]];this[_0xa1fe[2732]][_0xa1fe[258]]()}else {var _0xfc29x13=mxUtils[_0xa1fe[431]](this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),_0xfc29x14=Math[_0xa1fe[426]](-_0xfc29x13),_0xfc29x15=Math[_0xa1fe[427]](-_0xfc29x13),_0xfc29x16= new mxPoint(this[_0xa1fe[724]][_0xa1fe[241]](),this[_0xa1fe[724]][_0xa1fe[242]]()),_0xfc29xa=_0xfc29x4[_0xa1fe[235]]-this[_0xa1fe[2739]],_0xfc29x12=_0xfc29x4[_0xa1fe[236]]-this[_0xa1fe[2740]],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[513]],_0xfc29x17=_0xfc29x15*_0xfc29xa+_0xfc29x14*_0xfc29x12,_0xfc29xa=_0xfc29x14*_0xfc29xa-_0xfc29x15*_0xfc29x12;this[_0xa1fe[1562]]=this[_0xa1fe[2991]](this[_0xa1fe[2961]],_0xfc29xa,_0xfc29x17,this[_0xa1fe[1983]],_0xfc29x5,_0xfc29x9,_0xfc29x4);_0xfc29x14=Math[_0xa1fe[426]](_0xfc29x13);_0xfc29x15=Math[_0xa1fe[427]](_0xfc29x13);_0xfc29x12= new mxPoint(this[_0xa1fe[1562]][_0xa1fe[241]](),this[_0xa1fe[1562]][_0xa1fe[242]]());_0xfc29xa=_0xfc29x12[_0xa1fe[235]]-_0xfc29x16[_0xa1fe[235]];_0xfc29x12=_0xfc29x12[_0xa1fe[236]]-_0xfc29x16[_0xa1fe[236]];_0xfc29x16=_0xfc29x15*_0xfc29xa+_0xfc29x14*_0xfc29x12-_0xfc29x12;this[_0xa1fe[1562]][_0xa1fe[235]]+=_0xfc29x14*_0xfc29xa-_0xfc29x15*_0xfc29x12-_0xfc29xa;this[_0xa1fe[1562]][_0xa1fe[236]]+=_0xfc29x16;this[_0xa1fe[2932]]()}};_0xfc29x3[_0xa1fe[722]]()}else {null!=this[_0xa1fe[2986]](_0xfc29x3)&&_0xfc29x3[_0xa1fe[722]](!1)}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(!_0xfc29x3[_0xa1fe[721]]()&&null!=this[_0xa1fe[1983]]&&null!=this[_0xa1fe[724]]){var _0xfc29x4= new mxPoint(_0xfc29x3[_0xa1fe[734]](),_0xfc29x3[_0xa1fe[735]]());this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[473]]();try{if(this[_0xa1fe[1983]]==mxEvent[_0xa1fe[2983]]){null!=this[_0xa1fe[2989]]&&this[_0xa1fe[2992]](this[_0xa1fe[724]][_0xa1fe[246]],this[_0xa1fe[2989]]-(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||0))}else {var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1018]](_0xfc29x3[_0xa1fe[727]]()),_0xfc29x9=mxUtils[_0xa1fe[431]](this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),_0xfc29xa=Math[_0xa1fe[426]](-_0xfc29x9),_0xfc29x12=Math[_0xa1fe[427]](-_0xfc29x9),_0xfc29x13=_0xfc29x4[_0xa1fe[235]]-this[_0xa1fe[2739]],_0xfc29x14=_0xfc29x4[_0xa1fe[236]]-this[_0xa1fe[2740]],_0xfc29x4=_0xfc29x12*_0xfc29x13+_0xfc29xa*_0xfc29x14,_0xfc29x13=_0xfc29xa*_0xfc29x13-_0xfc29x12*_0xfc29x14,_0xfc29x14=_0xfc29x4,_0xfc29x15=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];this[_0xa1fe[2526]](this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x13/_0xfc29x15,_0xfc29x14/_0xfc29x15,this[_0xa1fe[1983]],_0xfc29x5)}}finally{this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[476]]()};this[_0xa1fe[862]]();_0xfc29x3[_0xa1fe[722]]()}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2992]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]();if(_0xfc29x4[_0xa1fe[1193]](_0xfc29x2)){var _0xfc29x5=_0xfc29x2==this[_0xa1fe[724]]?this[_0xa1fe[724]]:this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x2);null!=_0xfc29x5&&this[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_ROTATION,(_0xfc29x5[_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||0)+_0xfc29x3,[_0xfc29x2]);if(this[_0xa1fe[724]][_0xa1fe[246]]!=_0xfc29x2&&(_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x2),null!=_0xfc29x5&&!_0xfc29x5[_0xa1fe[1500]])){if(0!=_0xfc29x3){var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x2),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x9);if(!_0xfc29x5[_0xa1fe[1500]]&&null!=_0xfc29xa){var _0xfc29x12=mxUtils[_0xa1fe[431]](_0xfc29x3),_0xfc29x9=Math[_0xa1fe[426]](_0xfc29x12),_0xfc29x12=Math[_0xa1fe[427]](_0xfc29x12),_0xfc29x13= new mxPoint(_0xfc29x5[_0xa1fe[241]](),_0xfc29x5[_0xa1fe[242]]()),_0xfc29xa= new mxPoint(_0xfc29xa[_0xa1fe[117]]/2,_0xfc29xa[_0xa1fe[119]]/2),_0xfc29x9=mxUtils[_0xa1fe[432]](_0xfc29x13,_0xfc29x9,_0xfc29x12,_0xfc29xa),_0xfc29x5=_0xfc29x5[_0xa1fe[238]]();_0xfc29x5[_0xa1fe[235]]=_0xfc29x9[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[117]]/2;_0xfc29x5[_0xa1fe[236]]=_0xfc29x9[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[119]]/2;_0xfc29x4[_0xa1fe[1724]](_0xfc29x2,_0xfc29x5)}}else {_0xfc29x5=_0xfc29x5[_0xa1fe[238]](),_0xfc29x5[_0xa1fe[235]]+=dx,_0xfc29x5[_0xa1fe[236]]+=dy,_0xfc29x4[_0xa1fe[1724]](_0xfc29x2,_0xfc29x5)}};_0xfc29x5=_0xfc29x4[_0xa1fe[262]](_0xfc29x2);for(_0xfc29x9=0;_0xfc29x9<_0xfc29x5;_0xfc29x9++){this[_0xa1fe[2992]](_0xfc29x4[_0xa1fe[263]](_0xfc29x2,_0xfc29x9),_0xfc29x3)}}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[1983]]=this[_0xa1fe[2989]]=null;null!=this[_0xa1fe[2988]]&&(this[_0xa1fe[2988]][_0xa1fe[515]](),this[_0xa1fe[2988]]=null);null!=this[_0xa1fe[2732]]&&(this[_0xa1fe[2732]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[497],this[_0xa1fe[2961]]=this[_0xa1fe[2962]](this[_0xa1fe[724]]),this[_0xa1fe[1562]]= new mxRectangle(this[_0xa1fe[2961]][_0xa1fe[235]],this[_0xa1fe[2961]][_0xa1fe[236]],this[_0xa1fe[2961]][_0xa1fe[117]],this[_0xa1fe[2961]][_0xa1fe[119]]),this[_0xa1fe[2932]]())};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2526]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29xa){if(_0xfc29x5==mxEvent[_0xa1fe[2987]]){_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]],_0xfc29x3=(this[_0xa1fe[2972]][_0xa1fe[1562]][_0xa1fe[241]]()-this[_0xa1fe[2739]])/_0xfc29x5,_0xfc29x4=(this[_0xa1fe[2972]][_0xa1fe[1562]][_0xa1fe[242]]()-this[_0xa1fe[2740]])/_0xfc29x5,_0xfc29xa=_0xfc29xa[_0xa1fe[238]](),null==_0xfc29xa[_0xa1fe[1368]]?_0xfc29xa[_0xa1fe[1368]]= new mxPoint(_0xfc29x3,_0xfc29x4):(_0xfc29xa[_0xa1fe[1368]][_0xa1fe[235]]+=_0xfc29x3,_0xfc29xa[_0xa1fe[1368]][_0xa1fe[236]]+=_0xfc29x4),this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1724]](_0xfc29x2,_0xfc29xa)}else {_0xfc29x5=this[_0xa1fe[2991]](_0xfc29xa,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,1, new mxPoint(0,0));var _0xfc29x12=mxUtils[_0xa1fe[431]](this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]);if(0!=_0xfc29x12){_0xfc29x3=_0xfc29x5[_0xa1fe[241]]()-_0xfc29xa[_0xa1fe[241]]();_0xfc29x4=_0xfc29x5[_0xa1fe[242]]()-_0xfc29xa[_0xa1fe[242]]();_0xfc29x9=Math[_0xa1fe[426]](_0xfc29x12);var _0xfc29x13=Math[_0xa1fe[427]](_0xfc29x12),_0xfc29x12=_0xfc29x9*_0xfc29x3-_0xfc29x13*_0xfc29x4-_0xfc29x3;_0xfc29x3=_0xfc29x13*_0xfc29x3+_0xfc29x9*_0xfc29x4-_0xfc29x4;_0xfc29x4=_0xfc29x5[_0xa1fe[235]]-_0xfc29xa[_0xa1fe[235]];var _0xfc29x14=_0xfc29x5[_0xa1fe[236]]-_0xfc29xa[_0xa1fe[236]],_0xfc29x15=_0xfc29x9*_0xfc29x4-_0xfc29x13*_0xfc29x14;_0xfc29x9=_0xfc29x13*_0xfc29x4+_0xfc29x9*_0xfc29x14;_0xfc29x5[_0xa1fe[235]]+=_0xfc29x12;_0xfc29x5[_0xa1fe[236]]+=_0xfc29x3;if(!this[_0xa1fe[1179]][_0xa1fe[1742]](_0xfc29x2)&&(0!=_0xfc29x12||0!=_0xfc29x3)){_0xfc29x4=_0xfc29xa[_0xa1fe[235]]-_0xfc29x5[_0xa1fe[235]]+_0xfc29x15,_0xfc29x14=_0xfc29xa[_0xa1fe[236]]-_0xfc29x5[_0xa1fe[236]]+_0xfc29x9,this[_0xa1fe[2993]](_0xfc29x2,_0xfc29x4,_0xfc29x14)}};this[_0xa1fe[1179]][_0xa1fe[2526]](_0xfc29x2,_0xfc29x5)}}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2993]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){for(var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[262]](_0xfc29x2),_0xfc29xa=0;_0xfc29xa<_0xfc29x9;_0xfc29xa++){var _0xfc29x12=_0xfc29x5[_0xa1fe[263]](_0xfc29x2,_0xfc29xa);if(_0xfc29x5[_0xa1fe[1193]](_0xfc29x12)){var _0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x12);null!=_0xfc29x13&&!_0xfc29x13[_0xa1fe[1500]]&&(_0xfc29x13=_0xfc29x13[_0xa1fe[238]](),_0xfc29x13[_0xa1fe[235]]+=_0xfc29x3,_0xfc29x13[_0xa1fe[236]]+=_0xfc29x4,_0xfc29x5[_0xa1fe[1724]](_0xfc29x12,_0xfc29x13))}}};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2991]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){if(this[_0xa1fe[2957]]){_0xfc29x12=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]+_0xfc29x3;var _0xfc29x13=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]+_0xfc29x4;_0xfc29x9&&(_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x12/_0xfc29xa)*_0xfc29xa,_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x13/_0xfc29xa)*_0xfc29xa);_0xfc29xa= new mxRectangle(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]],0,0);_0xfc29xa[_0xa1fe[99]]( new mxRectangle(_0xfc29x12,_0xfc29x13,0,0));return _0xfc29xa};var _0xfc29x13=_0xfc29x2[_0xa1fe[235]]-_0xfc29x12[_0xa1fe[235]]*_0xfc29xa,_0xfc29x14=_0xfc29x13+_0xfc29x2[_0xa1fe[117]],_0xfc29x15=_0xfc29x2[_0xa1fe[236]]-_0xfc29x12[_0xa1fe[236]]*_0xfc29xa;_0xfc29x2=_0xfc29x15+_0xfc29x2[_0xa1fe[119]];4<_0xfc29x5?(_0xfc29x2+=_0xfc29x4,_0xfc29x9&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2/_0xfc29xa)*_0xfc29xa)):3>_0xfc29x5&&(_0xfc29x15+=_0xfc29x4,_0xfc29x9&&(_0xfc29x15=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x15/_0xfc29xa)*_0xfc29xa));if(0==_0xfc29x5||3==_0xfc29x5||5==_0xfc29x5){_0xfc29x13+=_0xfc29x3,_0xfc29x9&&(_0xfc29x13=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x13/_0xfc29xa)*_0xfc29xa)}else {if(2==_0xfc29x5||4==_0xfc29x5||7==_0xfc29x5){_0xfc29x14+=_0xfc29x3,_0xfc29x9&&(_0xfc29x14=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x14/_0xfc29xa)*_0xfc29xa)}};_0xfc29x9=_0xfc29x14-_0xfc29x13;_0xfc29x2-=_0xfc29x15;0>_0xfc29x9&&(_0xfc29x13+=_0xfc29x9,_0xfc29x9=Math[_0xa1fe[425]](_0xfc29x9));0>_0xfc29x2&&(_0xfc29x15+=_0xfc29x2,_0xfc29x2=Math[_0xa1fe[425]](_0xfc29x2));return new mxRectangle(_0xfc29x13+_0xfc29x12[_0xa1fe[235]]*_0xfc29xa,_0xfc29x15+_0xfc29x12[_0xa1fe[236]]*_0xfc29xa,_0xfc29x9,_0xfc29x2)};mxVertexHandler[_0xa1fe[202]][_0xa1fe[258]]=function(){this[_0xa1fe[2961]]=this[_0xa1fe[2962]](this[_0xa1fe[724]]);this[_0xa1fe[1562]]= new mxRectangle(this[_0xa1fe[724]][_0xa1fe[235]],this[_0xa1fe[724]][_0xa1fe[236]],this[_0xa1fe[724]][_0xa1fe[117]],this[_0xa1fe[724]][_0xa1fe[119]]);var _0xfc29x2=this[_0xa1fe[724]];if(null!=this[_0xa1fe[2964]]){var _0xfc29x3=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]],_0xfc29x4=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]];if(this[_0xa1fe[2957]]){this[_0xa1fe[2985]](this[_0xa1fe[2964]][0],_0xfc29x3,_0xfc29x4)}else {var _0xfc29x5=_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]/2,_0xfc29x9=_0xfc29x2[_0xa1fe[236]]+_0xfc29x2[_0xa1fe[119]]/2;if(1<this[_0xa1fe[2964]][_0xa1fe[67]]){var _0xfc29xa=mxUtils[_0xa1fe[431]](_0xfc29x2[_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),_0xfc29x12=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29xa=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x13= new mxPoint(_0xfc29x2[_0xa1fe[241]](),_0xfc29x2[_0xa1fe[242]]()),_0xfc29x14=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]),_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][0],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x5;_0xfc29x14[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]];_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][1],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x3;_0xfc29x14[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]];_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][2],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]];_0xfc29x14[_0xa1fe[236]]=_0xfc29x9;_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][3],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x3;_0xfc29x14[_0xa1fe[236]]=_0xfc29x9;_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][4],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]];_0xfc29x14[_0xa1fe[236]]=_0xfc29x4;_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][5],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x5;_0xfc29x14[_0xa1fe[236]]=_0xfc29x4;_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][6],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);_0xfc29x14[_0xa1fe[235]]=_0xfc29x3;_0xfc29x14[_0xa1fe[236]]=_0xfc29x4;_0xfc29x14=mxUtils[_0xa1fe[432]](_0xfc29x14,_0xfc29x12,_0xfc29xa,_0xfc29x13);this[_0xa1fe[2985]](this[_0xa1fe[2964]][7],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]);this[_0xa1fe[2985]](this[_0xa1fe[2964]][8],_0xfc29x5+_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]],_0xfc29x9+_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]])}else {2<=this[_0xa1fe[724]][_0xa1fe[117]]&&2<=this[_0xa1fe[724]][_0xa1fe[119]]?this[_0xa1fe[2985]](this[_0xa1fe[2964]][0],_0xfc29x5+_0xfc29x2[_0xa1fe[2079]][_0xa1fe[235]],_0xfc29x9+_0xfc29x2[_0xa1fe[2079]][_0xa1fe[236]]):this[_0xa1fe[2985]](this[_0xa1fe[2964]][0],_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]])}}};null!=this[_0xa1fe[2973]]&&(_0xfc29xa=mxUtils[_0xa1fe[431]](this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),_0xfc29x12=Math[_0xa1fe[426]](_0xfc29xa),_0xfc29xa=Math[_0xa1fe[427]](_0xfc29xa),_0xfc29x13= new mxPoint(this[_0xa1fe[724]][_0xa1fe[241]](),this[_0xa1fe[724]][_0xa1fe[242]]()),_0xfc29x14=mxUtils[_0xa1fe[432]]( new mxPoint(_0xfc29x2[_0xa1fe[235]]+_0xfc29x2[_0xa1fe[117]]/2,_0xfc29x2[_0xa1fe[236]]-16),_0xfc29x12,_0xfc29xa,_0xfc29x13),this[_0xa1fe[2985]](this[_0xa1fe[2973]],_0xfc29x14[_0xa1fe[235]],_0xfc29x14[_0xa1fe[236]]));this[_0xa1fe[2732]][_0xa1fe[603]]=Number(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]);this[_0xa1fe[2932]]()};mxVertexHandler[_0xa1fe[202]][_0xa1fe[2932]]=function(){null!=this[_0xa1fe[2988]]&&(this[_0xa1fe[2988]][_0xa1fe[1562]]=this[_0xa1fe[1562]],this[_0xa1fe[2988]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]&&(this[_0xa1fe[2988]][_0xa1fe[1562]][_0xa1fe[117]]=Math[_0xa1fe[160]](0,this[_0xa1fe[2988]][_0xa1fe[1562]][_0xa1fe[117]]-1),this[_0xa1fe[2988]][_0xa1fe[1562]][_0xa1fe[119]]=Math[_0xa1fe[160]](0,this[_0xa1fe[2988]][_0xa1fe[1562]][_0xa1fe[119]]-1)),this[_0xa1fe[2988]][_0xa1fe[603]]=Number(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]),this[_0xa1fe[2988]][_0xa1fe[258]]());this[_0xa1fe[2732]][_0xa1fe[1562]]=this[_0xa1fe[1562]];this[_0xa1fe[2732]][_0xa1fe[258]]()};mxVertexHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[2988]]&&(this[_0xa1fe[2988]][_0xa1fe[515]](),this[_0xa1fe[2988]]=null);this[_0xa1fe[2732]][_0xa1fe[515]]();this[_0xa1fe[2972]]=this[_0xa1fe[2732]]=null;if(null!=this[_0xa1fe[2964]]){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[2964]][_0xa1fe[67]];_0xfc29x2++){this[_0xa1fe[2964]][_0xfc29x2][_0xa1fe[515]](),this[_0xa1fe[2964]][_0xfc29x2]=null}}};function mxEdgeHandler(_0xfc29x2){null!=_0xfc29x2&&(this[_0xa1fe[724]]=_0xfc29x2,this[_0xa1fe[176]]())}mxEdgeHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[724]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2885]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2886]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[267]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[253]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2994]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2972]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2797]]= !0;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2771]]= !1;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2995]]= !1;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[574]]= !1;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2958]]= !0;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2996]]= !1;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2959]]=null;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2353]]=0;mxEdgeHandler[_0xa1fe[202]][_0xa1fe[176]]=function(){this[_0xa1fe[1179]]=this[_0xa1fe[724]][_0xa1fe[441]][_0xa1fe[1179]];this[_0xa1fe[2885]]=this[_0xa1fe[1689]]();this[_0xa1fe[2886]]= new mxConstraintHandler(this[_0xa1fe[1179]]);this[_0xa1fe[1525]]=[];this[_0xa1fe[2997]]=this[_0xa1fe[2998]](this[_0xa1fe[724]]);this[_0xa1fe[253]]=this[_0xa1fe[2963]](this[_0xa1fe[2997]]);this[_0xa1fe[253]][_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[2334]]:mxConstants[_0xa1fe[508]];this[_0xa1fe[253]][_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]());this[_0xa1fe[253]][_0xa1fe[1564]]=0;this[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[2831]];mxEvent[_0xa1fe[169]](this[_0xa1fe[253]][_0xa1fe[252]],_0xa1fe[760],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[761]](_0xfc29x2,this[_0xa1fe[724]][_0xa1fe[246]])}));mxEvent[_0xa1fe[759]](this[_0xa1fe[253]][_0xa1fe[252]],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[2771]]&&this[_0xa1fe[2999]](_0xfc29x2)?this[_0xa1fe[3000]](this[_0xa1fe[724]],_0xfc29x2):this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xfc29x2,this[_0xa1fe[724]]))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){var _0xfc29x4=this[_0xa1fe[724]][_0xa1fe[246]];if(null!=this[_0xa1fe[1983]]){var _0xfc29x5=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x2),mxEvent[_0xa1fe[733]](_0xfc29x2)),_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[999]](_0xfc29x5[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]]);this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x4)&&this[_0xa1fe[1179]][_0xa1fe[2688]](_0xfc29x4,_0xfc29x5[_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]])&&(_0xfc29x4=null)};this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xfc29x2,this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x4)))}),mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xfc29x2,this[_0xa1fe[724]]))}));this[_0xa1fe[574]]=null!=this[_0xa1fe[724]][_0xa1fe[963]]&&this[_0xa1fe[724]][_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]];if(!this[_0xa1fe[574]]){var _0xfc29x2=this[_0xa1fe[724]][_0xa1fe[2089]](!0);null!=_0xfc29x2&&(this[_0xa1fe[574]]=null!=_0xfc29x2[_0xa1fe[963]]&&_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]);this[_0xa1fe[574]]||(_0xfc29x2=this[_0xa1fe[724]][_0xa1fe[2089]](!1),null!=_0xfc29x2&&(this[_0xa1fe[574]]=null!=_0xfc29x2[_0xa1fe[963]]&&_0xfc29x2[_0xa1fe[963]][_0xa1fe[252]][_0xa1fe[265]]==this[_0xa1fe[1179]][_0xa1fe[526]]))};if(this[_0xa1fe[1179]][_0xa1fe[2694]]()<mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]||0>=mxGraphHandler[_0xa1fe[202]][_0xa1fe[2795]]){this[_0xa1fe[2994]]=this[_0xa1fe[3001]]()};this[_0xa1fe[685]]= new mxPoint(this[_0xa1fe[724]][_0xa1fe[2079]][_0xa1fe[235]],this[_0xa1fe[724]][_0xa1fe[2079]][_0xa1fe[236]]);this[_0xa1fe[2972]]= new mxRectangleShape( new mxRectangle,mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR);this[_0xa1fe[2972]][_0xa1fe[1229]]= !1;this[_0xa1fe[3002]](this[_0xa1fe[2972]]);this[_0xa1fe[2972]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3003]];mxEvent[_0xa1fe[2733]](this[_0xa1fe[2972]][_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);this[_0xa1fe[258]]()};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2999]]=function(_0xfc29x2){return mxEvent[_0xa1fe[774]](_0xfc29x2)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3004]]=function(_0xfc29x2){return mxEvent[_0xa1fe[774]](_0xfc29x2)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2998]]=function(_0xfc29x2){return _0xfc29x2[_0xa1fe[439]]};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2963]]=function(_0xfc29x2){_0xfc29x2= new mxPolyline(_0xfc29x2,this[_0xa1fe[2975]]());_0xfc29x2[_0xa1fe[1307]]=this[_0xa1fe[2976]]();_0xfc29x2[_0xa1fe[1522]]=this[_0xa1fe[2977]]();return _0xfc29x2};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2975]]=function(){return mxConstants[_0xa1fe[3005]]};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2976]]=function(){return mxConstants[_0xa1fe[3006]]};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2977]]=function(){return mxConstants[_0xa1fe[3007]]};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2907]]=function(_0xfc29x2){return !0};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[1689]]=function(){var _0xfc29x2= new mxCellMarker(this[_0xa1fe[1179]]),_0xfc29x3=this;_0xfc29x2[_0xa1fe[736]]=function(_0xfc29x2){var _0xfc29x5=mxCellMarker[_0xa1fe[202]][_0xa1fe[736]][_0xa1fe[183]](this,arguments);if(!_0xfc29x3[_0xa1fe[2907]](_0xfc29x5)){return null};var _0xfc29x9=_0xfc29x3[_0xa1fe[1179]][_0xa1fe[502]]();if(_0xfc29x5==_0xfc29x3[_0xa1fe[724]][_0xa1fe[246]]||null!=_0xfc29x5&&!_0xfc29x3[_0xa1fe[1179]][_0xa1fe[2405]]&&_0xfc29x9[_0xa1fe[250]](_0xfc29x5)){_0xfc29x5=null};return _0xfc29x5};_0xfc29x2[_0xa1fe[2872]]=function(_0xfc29x2){var _0xfc29x5=_0xfc29x3[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x3[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[2292]](_0xfc29x2,_0xfc29x3[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](_0xfc29x5[_0xa1fe[1709]](_0xfc29x3[_0xa1fe[724]][_0xa1fe[246]],!_0xfc29x3[_0xa1fe[729]])),!_0xfc29x3[_0xa1fe[729]]),_0xfc29x5=null!=_0xfc29x5?_0xfc29x5[_0xa1fe[246]]:null;_0xfc29x3[_0xa1fe[267]]=_0xfc29x3[_0xa1fe[2909]](_0xfc29x3[_0xa1fe[729]]?_0xfc29x2[_0xa1fe[246]]:_0xfc29x5,_0xfc29x3[_0xa1fe[729]]?_0xfc29x5:_0xfc29x2[_0xa1fe[246]]);return null==_0xfc29x3[_0xa1fe[267]]};return _0xfc29x2};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2909]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[1179]][_0xa1fe[2500]](this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x2,_0xfc29x3)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3001]]=function(){for(var _0xfc29x2=this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x3=[],_0xfc29x4=0;_0xfc29x4<this[_0xa1fe[2997]][_0xa1fe[67]];_0xfc29x4++){if(this[_0xa1fe[3008]](_0xfc29x4)){var _0xfc29x5=_0xfc29x4==this[_0xa1fe[2997]][_0xa1fe[67]]-1;if((_0xfc29x5=0==_0xfc29x4||_0xfc29x5)||this[_0xa1fe[1179]][_0xa1fe[2662]](_0xfc29x2)){var _0xfc29x9=this[_0xa1fe[3009]](_0xfc29x4);this[_0xa1fe[3002]](_0xfc29x9);mxClient[_0xa1fe[754]]&&_0xfc29x9[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130]);if(this[_0xa1fe[3010]](_0xfc29x4)){if(mxClient[_0xa1fe[754]]){var _0xfc29xa=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){_0xfc29x2=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x2),mxEvent[_0xa1fe[733]](_0xfc29x2));return this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[248]](this[_0xa1fe[1179]][_0xa1fe[999]](_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]))});mxEvent[_0xa1fe[2733]](_0xfc29x9[_0xa1fe[252]],this[_0xa1fe[1179]],_0xfc29xa)}else {_0xfc29x9[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3011]],mxEvent[_0xa1fe[2733]](_0xfc29x9[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]])}};_0xfc29x3[_0xa1fe[207]](_0xfc29x9);_0xfc29x5||(this[_0xa1fe[1525]][_0xa1fe[207]]( new mxPoint(0,0)),_0xfc29x9[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188])}}};return _0xfc29x3};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3010]]=function(_0xfc29x2){return !0};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3008]]=function(_0xfc29x2){return !0};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3009]]=function(_0xfc29x2){if(null!=this[_0xa1fe[2959]]){return new mxImageShape( new mxRectangle(0,0,this[_0xa1fe[2959]][_0xa1fe[117]],this[_0xa1fe[2959]][_0xa1fe[119]]),this[_0xa1fe[2959]][_0xa1fe[390]])};_0xfc29x2=mxConstants[_0xa1fe[2974]];this[_0xa1fe[574]]&&(_0xfc29x2-=1);return new mxRectangleShape( new mxRectangle(0,0,_0xfc29x2,_0xfc29x2),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3002]]=function(_0xfc29x2){this[_0xa1fe[574]]?(_0xfc29x2[_0xa1fe[507]]=mxConstants[_0xa1fe[1656]],_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[526]])):(_0xfc29x2[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[2334]]:mxConstants[_0xa1fe[508]],_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]()))};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2986]]=function(_0xfc29x2){if(null!=this[_0xa1fe[2994]]){for(var _0xfc29x3=this[_0xa1fe[2353]],_0xfc29x3=this[_0xa1fe[2958]]&&(mxClient[_0xa1fe[80]]||0<_0xfc29x3)? new mxRectangle(_0xfc29x2[_0xa1fe[734]]()-_0xfc29x3,_0xfc29x2[_0xa1fe[735]]()-_0xfc29x3,2*_0xfc29x3,2*_0xfc29x3):null,_0xfc29x4=0;_0xfc29x4<this[_0xa1fe[2994]][_0xa1fe[67]];_0xfc29x4++){if((_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[2994]][_0xfc29x4])||null!=_0xfc29x3&&mxUtils[_0xa1fe[1825]](this[_0xa1fe[2994]][_0xfc29x4][_0xa1fe[1562]],_0xfc29x3))&&_0xa1fe[188]!=this[_0xa1fe[2994]][_0xfc29x4][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]){return _0xfc29x4}}};if(_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[2972]])&&_0xa1fe[188]!=this[_0xa1fe[2972]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]||_0xfc29x2[_0xa1fe[729]](this[_0xa1fe[724]][_0xa1fe[963]])){if(!mxClient[_0xa1fe[75]]&&!mxClient[_0xa1fe[76]]||_0xa1fe[2822]!=_0xfc29x2[_0xa1fe[728]]()[_0xa1fe[301]]){return mxEvent[_0xa1fe[2987]]}};return null};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null,_0xfc29x4=this[_0xa1fe[2986]](_0xfc29x3);null!=_0xfc29x4&&(!_0xfc29x3[_0xa1fe[721]]()&&this[_0xa1fe[1179]][_0xa1fe[994]]()&&!this[_0xa1fe[1179]][_0xa1fe[2579]](_0xfc29x3[_0xa1fe[727]]()))&&(this[_0xa1fe[2995]]&&this[_0xa1fe[3004]](_0xfc29x3[_0xa1fe[727]]())?this[_0xa1fe[3012]](this[_0xa1fe[724]],_0xfc29x4):(_0xfc29x4!=mxEvent[_0xa1fe[2987]]||this[_0xa1fe[1179]][_0xa1fe[2628]](_0xfc29x3[_0xa1fe[736]]()))&&this[_0xa1fe[861]](_0xfc29x3[_0xa1fe[730]](),_0xfc29x3[_0xa1fe[732]](),_0xfc29x4),_0xfc29x3[_0xa1fe[722]]())};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[861]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[2739]]=_0xfc29x2;this[_0xa1fe[2740]]=_0xfc29x3;this[_0xa1fe[729]]=null==this[_0xa1fe[2994]]?!1:0==_0xfc29x4;this[_0xa1fe[3013]]=null==this[_0xa1fe[2994]]?!1:_0xfc29x4==this[_0xa1fe[2994]][_0xa1fe[67]]-1;this[_0xa1fe[3014]]=_0xfc29x4==mxEvent[_0xa1fe[2987]];if(this[_0xa1fe[729]]||this[_0xa1fe[3013]]){if(_0xfc29x2=this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[1709]](_0xfc29x2,this[_0xa1fe[729]]),null==_0xfc29x3&&this[_0xa1fe[1179]][_0xa1fe[2661]](_0xfc29x2,this[_0xa1fe[729]])||null!=_0xfc29x3&&this[_0xa1fe[1179]][_0xa1fe[2551]](_0xfc29x2,_0xfc29x3,this[_0xa1fe[729]])){this[_0xa1fe[1983]]=_0xfc29x4}}else {this[_0xa1fe[1983]]=_0xfc29x4}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3015]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[724]][_0xa1fe[238]]()};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3016]]=function(){return this[_0xa1fe[1179]][_0xa1fe[1020]]*this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]]/2};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2689]]=function(_0xfc29x2){var _0xfc29x3= new mxPoint(_0xfc29x2[_0xa1fe[734]](),_0xfc29x2[_0xa1fe[735]]()),_0xfc29x4=this[_0xa1fe[3016]](),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]](),_0xfc29x9=!1,_0xfc29xa=!1;if(this[_0xa1fe[2996]]&&0<_0xfc29x4){var _0xfc29x12=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x5=_0xfc29x2[_0xa1fe[235]];Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[235]]-_0xfc29x5)<_0xfc29x4&&(_0xfc29x3[_0xa1fe[235]]=_0xfc29x5,_0xfc29x9= !0);_0xfc29x2=_0xfc29x2[_0xa1fe[236]];Math[_0xa1fe[425]](_0xfc29x3[_0xa1fe[236]]-_0xfc29x2)<_0xfc29x4&&(_0xfc29x3[_0xa1fe[236]]=_0xfc29x2,_0xfc29xa= !0)}},_0xfc29x13=function(_0xfc29x2){null!=_0xfc29x2&&_0xfc29x12[_0xa1fe[239]](this, new mxPoint(_0xfc29x5[_0xa1fe[2230]](_0xfc29x2),_0xfc29x5[_0xa1fe[2228]](_0xfc29x2)))};_0xfc29x13[_0xa1fe[239]](this,this[_0xa1fe[724]][_0xa1fe[2089]](!0));_0xfc29x13[_0xa1fe[239]](this,this[_0xa1fe[724]][_0xa1fe[2089]](!1));if(null!=this[_0xa1fe[2997]]){for(_0xfc29x13=0;_0xfc29x13<this[_0xa1fe[2997]];_0xfc29x13++){_0xfc29x13!=this[_0xa1fe[1983]]&&_0xfc29x12[_0xa1fe[239]](this,this[_0xa1fe[2997]][_0xfc29x13])}}};this[_0xa1fe[1179]][_0xa1fe[1018]](_0xfc29x2[_0xa1fe[727]]())&&(_0xfc29x2=_0xfc29x5[_0xa1fe[255]],_0xfc29x13=_0xfc29x5[_0xa1fe[513]],_0xfc29x9||(_0xfc29x3[_0xa1fe[235]]=(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x3[_0xa1fe[235]]/_0xfc29x2-_0xfc29x13[_0xa1fe[235]])+_0xfc29x13[_0xa1fe[235]])*_0xfc29x2),_0xfc29xa||(_0xfc29x3[_0xa1fe[236]]=(this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x3[_0xa1fe[236]]/_0xfc29x2-_0xfc29x13[_0xa1fe[236]])+_0xfc29x13[_0xa1fe[236]])*_0xfc29x2));return _0xfc29x3};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3017]]=function(_0xfc29x2){this[_0xa1fe[2886]][_0xa1fe[2729]](_0xfc29x2,this[_0xa1fe[729]]);this[_0xa1fe[2885]][_0xa1fe[2871]](_0xfc29x2);_0xfc29x2=this[_0xa1fe[2885]][_0xa1fe[2868]]();var _0xfc29x3=null;null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&this[_0xa1fe[2885]][_0xa1fe[862]]();null!=_0xfc29x2?_0xfc29x3=_0xfc29x2:null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&(_0xfc29x3=this[_0xa1fe[2886]][_0xa1fe[2919]]);return _0xfc29x3};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3018]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[1198]](this[_0xa1fe[724]][_0xa1fe[246]]),_0xfc29x3=null!=_0xfc29x3[_0xa1fe[1525]]?_0xfc29x3[_0xa1fe[1525]][_0xa1fe[1853]]():null;!this[_0xa1fe[729]]&&!this[_0xa1fe[3013]]?(this[_0xa1fe[2196]](_0xfc29x2,!1),null==_0xfc29x3?_0xfc29x3=[_0xfc29x2]:_0xfc29x3[this[_0xa1fe[1983]]-1]=_0xfc29x2):this[_0xa1fe[1179]][_0xa1fe[2401]]&&(_0xfc29x3=null);return _0xfc29x3};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3019]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[729]]?_0xfc29x4:this[_0xa1fe[724]][_0xa1fe[2089]](!0),_0xfc29x9=this[_0xa1fe[3013]]?_0xfc29x4:this[_0xa1fe[724]][_0xa1fe[2089]](!1),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[2288]](_0xfc29x2,_0xfc29x5,!0),_0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[2288]](_0xfc29x2,_0xfc29x9,!1),_0xfc29x13=this[_0xa1fe[2886]][_0xa1fe[2920]];null==_0xfc29x13&&(_0xfc29x13= new mxConnectionConstraint);this[_0xa1fe[729]]?_0xfc29xa=_0xfc29x13:this[_0xa1fe[3013]]&&(_0xfc29x12=_0xfc29x13);(!this[_0xa1fe[729]]||null!=_0xfc29x5)&&_0xfc29x2[_0xa1fe[441]][_0xa1fe[2289]](_0xfc29x2,_0xfc29x5,!0,_0xfc29xa);(!this[_0xa1fe[3013]]||null!=_0xfc29x9)&&_0xfc29x2[_0xa1fe[441]][_0xa1fe[2289]](_0xfc29x2,_0xfc29x9,!1,_0xfc29x12);if((this[_0xa1fe[729]]||this[_0xa1fe[3013]])&&null==_0xfc29x4){_0xfc29x2[_0xa1fe[2088]](_0xfc29x3,this[_0xa1fe[729]]),null==this[_0xa1fe[2885]][_0xa1fe[2869]]()&&(this[_0xa1fe[267]]=this[_0xa1fe[1179]][_0xa1fe[2406]]?null:_0xa1fe[110])};_0xfc29x2[_0xa1fe[441]][_0xa1fe[2282]](_0xfc29x2,this[_0xa1fe[1525]],_0xfc29x5,_0xfc29x9);_0xfc29x2[_0xa1fe[441]][_0xa1fe[2283]](_0xfc29x2,_0xfc29x5,_0xfc29x9)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[1983]]&&null!=this[_0xa1fe[2885]]){var _0xfc29x4=this[_0xa1fe[2689]](_0xfc29x3);if(this[_0xa1fe[3014]]){this[_0xa1fe[685]][_0xa1fe[235]]=_0xfc29x4[_0xa1fe[235]],this[_0xa1fe[685]][_0xa1fe[236]]=_0xfc29x4[_0xa1fe[236]]}else {this[_0xa1fe[1525]]=this[_0xa1fe[3018]](_0xfc29x4);var _0xfc29x5=this[_0xa1fe[729]]||this[_0xa1fe[3013]]?this[_0xa1fe[3017]](_0xfc29x3):null,_0xfc29x9=this[_0xa1fe[3015]](_0xfc29x4,null!=_0xfc29x5?_0xfc29x5[_0xa1fe[246]]:null);this[_0xa1fe[3019]](_0xfc29x9,_0xfc29x4,_0xfc29x5);this[_0xa1fe[3020]](null==this[_0xa1fe[267]]?this[_0xa1fe[2885]][_0xa1fe[2853]]:this[_0xa1fe[2885]][_0xa1fe[2855]]);this[_0xa1fe[2997]]=_0xfc29x9[_0xa1fe[439]];this[_0xa1fe[1124]]= !0};this[_0xa1fe[2932]]();mxEvent[_0xa1fe[722]](_0xfc29x3[_0xa1fe[727]]());_0xfc29x3[_0xa1fe[722]]()}else {mxClient[_0xa1fe[80]]&&null!=this[_0xa1fe[2986]](_0xfc29x3)&&_0xfc29x3[_0xa1fe[722]](!1)}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){if(null!=this[_0xa1fe[1983]]&&null!=this[_0xa1fe[2885]]){var _0xfc29x4=this[_0xa1fe[724]][_0xa1fe[246]];if(_0xfc29x3[_0xa1fe[730]]()!=this[_0xa1fe[2739]]||_0xfc29x3[_0xa1fe[732]]()!=this[_0xa1fe[2740]]){if(null!=this[_0xa1fe[267]]){0<this[_0xa1fe[267]][_0xa1fe[67]]&&this[_0xa1fe[1179]][_0xa1fe[2580]](this[_0xa1fe[267]])}else {if(this[_0xa1fe[3014]]){this[_0xa1fe[3021]](this[_0xa1fe[724]],this[_0xa1fe[685]][_0xa1fe[235]],this[_0xa1fe[685]][_0xa1fe[236]])}else {if(this[_0xa1fe[729]]||this[_0xa1fe[3013]]){var _0xfc29x5=null;null!=this[_0xa1fe[2886]][_0xa1fe[2920]]&&null!=this[_0xa1fe[2886]][_0xa1fe[2919]]&&(_0xfc29x5=this[_0xa1fe[2886]][_0xa1fe[2919]][_0xa1fe[246]]);null==_0xfc29x5&&this[_0xa1fe[2885]][_0xa1fe[2867]]()&&(_0xfc29x5=this[_0xa1fe[2885]][_0xa1fe[2861]][_0xa1fe[246]]);if(null!=_0xfc29x5){_0xfc29x4=this[_0xa1fe[807]](_0xfc29x4,_0xfc29x5,this[_0xa1fe[729]],this[_0xa1fe[1179]][_0xa1fe[2574]](_0xfc29x3[_0xa1fe[727]]())&&this[_0xa1fe[2797]]&&this[_0xa1fe[1179]][_0xa1fe[2617]](),_0xfc29x3)}else {if(this[_0xa1fe[1179]][_0xa1fe[2530]]()){_0xfc29x5=this[_0xa1fe[2997]][this[_0xa1fe[729]]?0:this[_0xa1fe[2997]][_0xa1fe[67]]-1];_0xfc29x5[_0xa1fe[235]]=_0xfc29x5[_0xa1fe[235]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]]-this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[235]];_0xfc29x5[_0xa1fe[236]]=_0xfc29x5[_0xa1fe[236]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]]-this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[513]][_0xa1fe[236]];var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x4));null!=_0xfc29x9&&(_0xfc29x5[_0xa1fe[235]]-=_0xfc29x9[_0xa1fe[2078]][_0xa1fe[235]],_0xfc29x5[_0xa1fe[236]]-=_0xfc29x9[_0xa1fe[2078]][_0xa1fe[236]]);_0xfc29x5[_0xa1fe[235]]-=this[_0xa1fe[1179]][_0xa1fe[1136]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];_0xfc29x5[_0xa1fe[236]]-=this[_0xa1fe[1179]][_0xa1fe[1137]]/this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];this[_0xa1fe[3022]](_0xfc29x4,_0xfc29x5,this[_0xa1fe[729]])}}}else {this[_0xa1fe[1124]]?this[_0xa1fe[3023]](_0xfc29x4,this[_0xa1fe[1525]]):(this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[2263]](this[_0xa1fe[724]][_0xa1fe[246]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[2259]](this[_0xa1fe[724]][_0xa1fe[246]]))}}}};null!=this[_0xa1fe[2885]]&&(this[_0xa1fe[862]](),_0xfc29x4!=this[_0xa1fe[724]][_0xa1fe[246]]&&this[_0xa1fe[1179]][_0xa1fe[2450]](_0xfc29x4));_0xfc29x3[_0xa1fe[722]]()}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[862]]=function(){this[_0xa1fe[1525]]=this[_0xa1fe[685]]=this[_0xa1fe[1983]]=this[_0xa1fe[267]]=null;this[_0xa1fe[3013]]=this[_0xa1fe[729]]=this[_0xa1fe[3014]]=this[_0xa1fe[1124]]= !1;this[_0xa1fe[2885]][_0xa1fe[862]]();this[_0xa1fe[2886]][_0xa1fe[862]]();this[_0xa1fe[3020]](mxConstants.EDGE_SELECTION_COLOR);this[_0xa1fe[258]]()};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3020]]=function(_0xfc29x2){null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[1336]]=_0xfc29x2)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2196]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[518]](),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[512]]();_0xfc29x3&&(_0xfc29x2[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[235]]),_0xfc29x2[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[236]]));_0xfc29x2[_0xa1fe[235]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[235]]/_0xfc29x4-_0xfc29x5[_0xa1fe[235]]);_0xfc29x2[_0xa1fe[236]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[236]]/_0xfc29x4-_0xfc29x5[_0xa1fe[236]]);_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1197]](this[_0xa1fe[724]][_0xa1fe[246]]));null!=_0xfc29x4&&(_0xfc29x2[_0xa1fe[235]]-=_0xfc29x4[_0xa1fe[2078]][_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]]-=_0xfc29x4[_0xa1fe[2078]][_0xa1fe[236]]);return _0xfc29x2};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3021]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2[_0xa1fe[246]]);if(null!=_0xfc29x9){var _0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[2308]](_0xfc29x2,_0xfc29x3,_0xfc29x4);_0xfc29x9[_0xa1fe[235]]=_0xfc29xa[_0xa1fe[235]];_0xfc29x9[_0xa1fe[236]]=_0xfc29xa[_0xa1fe[236]];var _0xfc29x12=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]];_0xfc29x9[_0xa1fe[1368]]= new mxPoint(0,0);_0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[245]](_0xfc29x2,_0xfc29x9);_0xfc29x9[_0xa1fe[1368]]= new mxPoint((_0xfc29x3-_0xfc29xa[_0xa1fe[235]])/_0xfc29x12,(_0xfc29x4-_0xfc29xa[_0xa1fe[236]])/_0xfc29x12);_0xfc29x5[_0xa1fe[1724]](_0xfc29x2[_0xa1fe[246]],_0xfc29x9)}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[807]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]]();var _0xfc29xa=_0xfc29x9[_0xa1fe[1197]](_0xfc29x2);_0xfc29x9[_0xa1fe[473]]();try{if(_0xfc29x5){var _0xfc29x12=_0xfc29x2[_0xa1fe[238]]();_0xfc29x9[_0xa1fe[99]](_0xfc29xa,_0xfc29x12,_0xfc29x9[_0xa1fe[262]](_0xfc29xa));var _0xfc29x13=_0xfc29x9[_0xa1fe[1709]](_0xfc29x2,!_0xfc29x4);this[_0xa1fe[1179]][_0xa1fe[851]](_0xfc29x12,_0xfc29x13,!_0xfc29x4);_0xfc29x2=_0xfc29x12};var _0xfc29x14=this[_0xa1fe[2886]][_0xa1fe[2920]];null==_0xfc29x14&&(_0xfc29x14= new mxConnectionConstraint);this[_0xa1fe[1179]][_0xa1fe[851]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x14)}finally{_0xfc29x9[_0xa1fe[476]]()};return _0xfc29x2};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3022]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2);if(null!=_0xfc29x9){_0xfc29x5[_0xa1fe[473]]();try{_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29x9[_0xa1fe[2007]](_0xfc29x3,_0xfc29x4),_0xfc29x5[_0xa1fe[1724]](_0xfc29x2,_0xfc29x9),this[_0xa1fe[1179]][_0xa1fe[851]](_0xfc29x2,null,_0xfc29x4, new mxConnectionConstraint)}finally{_0xfc29x5[_0xa1fe[476]]()}}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3023]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x5=_0xfc29x4[_0xa1fe[1721]](_0xfc29x2);null!=_0xfc29x5&&(_0xfc29x5=_0xfc29x5[_0xa1fe[238]](),_0xfc29x5[_0xa1fe[1525]]=_0xfc29x3,_0xfc29x4[_0xa1fe[1724]](_0xfc29x2,_0xfc29x5))};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3000]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=mxUtils[_0xa1fe[2196]](this[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x3),mxEvent[_0xa1fe[733]](_0xfc29x3)),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1018]](_0xfc29x3);this[_0xa1fe[2196]](_0xfc29x4,_0xfc29x5);this[_0xa1fe[3024]](_0xfc29x2,_0xfc29x4[_0xa1fe[235]],_0xfc29x4[_0xa1fe[236]]);mxEvent[_0xa1fe[722]](_0xfc29x3)};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3024]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x2[_0xa1fe[246]]);_0xfc29x3= new mxPoint(_0xfc29x3,_0xfc29x4);if(null!=_0xfc29x5){_0xfc29x5=_0xfc29x5[_0xa1fe[238]]();_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[513]];var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[441]][_0xa1fe[255]];_0xfc29x4=mxUtils[_0xa1fe[3025]](_0xfc29x2,(_0xfc29x3[_0xa1fe[235]]+_0xfc29x4[_0xa1fe[235]])*_0xfc29x9,(_0xfc29x3[_0xa1fe[236]]+_0xfc29x4[_0xa1fe[236]])*_0xfc29x9);null==_0xfc29x5[_0xa1fe[1525]]?_0xfc29x5[_0xa1fe[1525]]=[_0xfc29x3]:_0xfc29x5[_0xa1fe[1525]][_0xa1fe[300]](_0xfc29x4,0,_0xfc29x3);this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1724]](_0xfc29x2[_0xa1fe[246]],_0xfc29x5);this[_0xa1fe[515]]();this[_0xa1fe[176]]()}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3012]]=function(_0xfc29x2,_0xfc29x3){if(0<_0xfc29x3&&_0xfc29x3<this[_0xa1fe[2997]][_0xa1fe[67]]-1){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[1198]](this[_0xa1fe[724]][_0xa1fe[246]]);null!=_0xfc29x4&&null!=_0xfc29x4[_0xa1fe[1525]]&&(_0xfc29x4=_0xfc29x4[_0xa1fe[238]](),_0xfc29x4[_0xa1fe[1525]][_0xa1fe[300]](_0xfc29x3-1,1),this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1724]](_0xfc29x2[_0xa1fe[246]],_0xfc29x4),this[_0xa1fe[515]](),this[_0xa1fe[176]]())}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3026]]=function(_0xfc29x2){_0xfc29x2=0==_0xfc29x2;var _0xfc29x3=this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1709]](_0xfc29x3,_0xfc29x2),_0xfc29x5=mxConstants[_0xa1fe[2984]];null!=_0xfc29x4&&!this[_0xa1fe[1179]][_0xa1fe[2551]](_0xfc29x3,_0xfc29x4,_0xfc29x2)||null==_0xfc29x4&&!this[_0xa1fe[1179]][_0xa1fe[2661]](_0xfc29x3,_0xfc29x2)?_0xfc29x5=mxConstants[_0xa1fe[3027]]:null!=_0xfc29x4&&this[_0xa1fe[1179]][_0xa1fe[2551]](_0xfc29x3,_0xfc29x4,_0xfc29x2)&&(_0xfc29x5=mxConstants[_0xa1fe[3028]]);return _0xfc29x5};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[258]]=function(){this[_0xa1fe[2997]]=this[_0xa1fe[724]][_0xa1fe[439]][_0xa1fe[1853]]();var _0xfc29x2=this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x3=mxConstants[_0xa1fe[3029]];this[_0xa1fe[685]]= new mxPoint(this[_0xa1fe[724]][_0xa1fe[2079]][_0xa1fe[235]],this[_0xa1fe[724]][_0xa1fe[2079]][_0xa1fe[236]]);this[_0xa1fe[2972]][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](this[_0xa1fe[685]][_0xa1fe[235]]-_0xfc29x3/2),Math[_0xa1fe[488]](this[_0xa1fe[685]][_0xa1fe[236]]-_0xfc29x3/2),_0xfc29x3,_0xfc29x3);this[_0xa1fe[2972]][_0xa1fe[258]]();_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[2183]](_0xfc29x2);null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]&&this[_0xa1fe[1179]][_0xa1fe[2628]](_0xfc29x2)?this[_0xa1fe[2972]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189]:this[_0xa1fe[2972]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188];if(null!=this[_0xa1fe[2994]]&&0<this[_0xa1fe[2994]][_0xa1fe[67]]){var _0xfc29x4=this[_0xa1fe[2997]][_0xa1fe[67]]-1,_0xfc29x2=this[_0xa1fe[2997]][0],_0xfc29x5=this[_0xa1fe[2997]][0][_0xa1fe[236]],_0xfc29x3=this[_0xa1fe[2994]][0][_0xa1fe[1562]];this[_0xa1fe[2994]][0][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](this[_0xa1fe[2997]][0][_0xa1fe[235]]-_0xfc29x3[_0xa1fe[117]]/2),Math[_0xa1fe[488]](_0xfc29x5-_0xfc29x3[_0xa1fe[119]]/2),_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]);this[_0xa1fe[2994]][0][_0xa1fe[1334]]=this[_0xa1fe[3026]](0);this[_0xa1fe[2994]][0][_0xa1fe[258]]();var _0xfc29x5=this[_0xa1fe[2997]][_0xfc29x4],_0xfc29x9=this[_0xa1fe[2997]][_0xfc29x4][_0xa1fe[235]],_0xfc29x4=this[_0xa1fe[2997]][_0xfc29x4][_0xa1fe[236]],_0xfc29xa=this[_0xa1fe[2994]][_0xa1fe[67]]-1,_0xfc29x3=this[_0xa1fe[2994]][_0xfc29xa][_0xa1fe[1562]];this[_0xa1fe[2994]][_0xfc29xa][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](_0xfc29x9-_0xfc29x3[_0xa1fe[117]]/2),Math[_0xa1fe[488]](_0xfc29x4-_0xfc29x3[_0xa1fe[119]]/2),_0xfc29x3[_0xa1fe[117]],_0xfc29x3[_0xa1fe[119]]);this[_0xa1fe[2994]][_0xfc29xa][_0xa1fe[1334]]=this[_0xa1fe[3026]](_0xfc29xa);this[_0xa1fe[2994]][_0xfc29xa][_0xa1fe[258]]();this[_0xa1fe[3030]](_0xfc29x2,_0xfc29x5)};this[_0xa1fe[2932]]()};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[3030]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1721]](this[_0xa1fe[724]][_0xa1fe[246]])[_0xa1fe[1525]];if(null!=_0xfc29x4){null==this[_0xa1fe[1525]]&&(this[_0xa1fe[1525]]=[]);for(var _0xfc29x5=1;_0xfc29x5<this[_0xa1fe[2994]][_0xa1fe[67]]-1;_0xfc29x5++){if(null!=this[_0xa1fe[2994]][_0xfc29x5]){if(null!=this[_0xa1fe[2997]][_0xfc29x5]){var _0xfc29x9=this[_0xa1fe[2997]][_0xfc29x5][_0xa1fe[235]],_0xfc29xa=this[_0xa1fe[2997]][_0xfc29x5][_0xa1fe[236]],_0xfc29x12=this[_0xa1fe[2994]][_0xfc29x5][_0xa1fe[1562]];this[_0xa1fe[2994]][_0xfc29x5][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[189];this[_0xa1fe[2994]][_0xfc29x5][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](_0xfc29x9-_0xfc29x12[_0xa1fe[117]]/2),Math[_0xa1fe[488]](_0xfc29xa-_0xfc29x12[_0xa1fe[119]]/2),_0xfc29x12[_0xa1fe[117]],_0xfc29x12[_0xa1fe[119]]);this[_0xa1fe[2994]][_0xfc29x5][_0xa1fe[258]]();this[_0xa1fe[1525]][_0xfc29x5-1]=_0xfc29x4[_0xfc29x5-1]}else {this[_0xa1fe[2994]][_0xfc29x5][_0xa1fe[515]](),this[_0xa1fe[2994]][_0xfc29x5]=null}}}}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[2932]]=function(){if(this[_0xa1fe[3014]]){var _0xfc29x2=mxConstants[_0xa1fe[3029]],_0xfc29x2= new mxRectangle(Math[_0xa1fe[488]](this[_0xa1fe[685]][_0xa1fe[235]]-_0xfc29x2/2),Math[_0xa1fe[488]](this[_0xa1fe[685]][_0xa1fe[236]]-_0xfc29x2/2),_0xfc29x2,_0xfc29x2);this[_0xa1fe[2972]][_0xa1fe[1562]]=_0xfc29x2;this[_0xa1fe[2972]][_0xa1fe[258]]()}else {this[_0xa1fe[253]][_0xa1fe[1525]]=this[_0xa1fe[2997]],this[_0xa1fe[253]][_0xa1fe[258]]()}};mxEdgeHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[2885]]&&(this[_0xa1fe[2885]][_0xa1fe[515]](),this[_0xa1fe[2885]]=null);null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null);null!=this[_0xa1fe[2972]]&&(this[_0xa1fe[2972]][_0xa1fe[515]](),this[_0xa1fe[2972]]=null);null!=this[_0xa1fe[2886]]&&(this[_0xa1fe[2886]][_0xa1fe[515]](),this[_0xa1fe[2886]]=null);if(null!=this[_0xa1fe[2994]]){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[2994]][_0xa1fe[67]];_0xfc29x2++){null!=this[_0xa1fe[2994]][_0xfc29x2]&&(this[_0xa1fe[2994]][_0xfc29x2][_0xa1fe[515]](),this[_0xa1fe[2994]][_0xfc29x2]=null)}}};function mxElbowEdgeHandler(_0xfc29x2){mxEdgeHandler[_0xa1fe[239]](this,_0xfc29x2)}mxUtils[_0xa1fe[1284]](mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler[_0xa1fe[202]]= new mxEdgeHandler;mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[196]]=mxElbowEdgeHandler;mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3031]]= !0;mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3032]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[3033]:_0xa1fe[110];mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3001]]=function(){var _0xfc29x2=[],_0xfc29x3=this[_0xa1fe[3009]](0);this[_0xa1fe[3002]](_0xfc29x3);_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3011]];mxEvent[_0xa1fe[2733]](_0xfc29x3[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);_0xfc29x2[_0xa1fe[207]](_0xfc29x3);mxClient[_0xa1fe[754]]&&_0xfc29x3[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130]);_0xfc29x2[_0xa1fe[207]](this[_0xa1fe[3034]]());this[_0xa1fe[1525]][_0xa1fe[207]]( new mxPoint(0,0));_0xfc29x3=this[_0xa1fe[3009]](2);this[_0xa1fe[3002]](_0xfc29x3);_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3011]];mxEvent[_0xa1fe[2733]](_0xfc29x3[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);_0xfc29x2[_0xa1fe[207]](_0xfc29x3);mxClient[_0xa1fe[754]]&&_0xfc29x3[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130]);return _0xfc29x2};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3034]]=function(){var _0xfc29x2=this[_0xa1fe[3009]]();this[_0xa1fe[3002]](_0xfc29x2);var _0xfc29x3=this[_0xa1fe[3035]]();_0xfc29x2[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=_0xfc29x3;_0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){!mxEvent[_0xa1fe[721]](_0xfc29x2)&&this[_0xa1fe[3031]]&&(this[_0xa1fe[1179]][_0xa1fe[854]](this[_0xa1fe[724]][_0xa1fe[246]],_0xfc29x2),mxEvent[_0xa1fe[722]](_0xfc29x2))});mxEvent[_0xa1fe[2733]](_0xfc29x2[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]],null,null,null,_0xfc29x3);this[_0xa1fe[1179]][_0xa1fe[2662]](this[_0xa1fe[724]][_0xa1fe[246]])||(_0xfc29x2[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[495]]=_0xa1fe[130]);return _0xfc29x2};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3035]]=function(){return this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2294]]]==mxEdgeStyle[_0xa1fe[2570]]||this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2294]]]==mxConstants[_0xa1fe[3036]]||(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2294]]]==mxEdgeStyle[_0xa1fe[2568]]||this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2294]]]==mxConstants[_0xa1fe[3037]])&&this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2231]]]==mxConstants[_0xa1fe[2232]]?_0xa1fe[3038]:_0xa1fe[3039]};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[2597]]=function(_0xfc29x2){var _0xfc29x3=null;if(null!=this[_0xa1fe[2994]]&&null!=this[_0xa1fe[2994]][1]&&(_0xfc29x2==this[_0xa1fe[2994]][1][_0xa1fe[252]]||_0xfc29x2[_0xa1fe[265]]==this[_0xa1fe[2994]][1][_0xa1fe[252]])){_0xfc29x3=this[_0xa1fe[3032]],_0xfc29x3=mxResources[_0xa1fe[203]](_0xfc29x3)||_0xfc29x3};return _0xfc29x3};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[2196]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[518]](),_0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[512]](),_0xfc29x9=this[_0xa1fe[724]][_0xa1fe[2078]];_0xfc29x3&&(_0xfc29x2[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[235]]),_0xfc29x2[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x2[_0xa1fe[236]]));_0xfc29x2[_0xa1fe[235]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[235]]/_0xfc29x4-_0xfc29x5[_0xa1fe[235]]-_0xfc29x9[_0xa1fe[235]]);_0xfc29x2[_0xa1fe[236]]=Math[_0xa1fe[488]](_0xfc29x2[_0xa1fe[236]]/_0xfc29x4-_0xfc29x5[_0xa1fe[236]]-_0xfc29x9[_0xa1fe[236]])};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3030]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1721]](this[_0xa1fe[724]][_0xa1fe[246]])[_0xa1fe[1525]],_0xfc29x4=null!=_0xfc29x4?_0xfc29x4[0]:null,_0xfc29x4=null==_0xfc29x4? new mxPoint(_0xfc29x2[_0xa1fe[235]]+(_0xfc29x3[_0xa1fe[235]]-_0xfc29x2[_0xa1fe[235]])/2,_0xfc29x2[_0xa1fe[236]]+(_0xfc29x3[_0xa1fe[236]]-_0xfc29x2[_0xa1fe[236]])/2): new mxPoint(this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]]*(_0xfc29x4[_0xa1fe[235]]+this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]][_0xa1fe[235]]+this[_0xa1fe[724]][_0xa1fe[2078]][_0xa1fe[235]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]]*(_0xfc29x4[_0xa1fe[236]]+this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]][_0xa1fe[236]]+this[_0xa1fe[724]][_0xa1fe[2078]][_0xa1fe[236]])),_0xfc29x5=this[_0xa1fe[2994]][1][_0xa1fe[1562]],_0xfc29x9=_0xfc29x5[_0xa1fe[117]],_0xfc29x5=_0xfc29x5[_0xa1fe[119]];null==this[_0xa1fe[2959]]&&(_0xfc29x5=_0xfc29x9=mxConstants[_0xa1fe[2974]]);var _0xfc29xa= new mxRectangle(Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[235]]-_0xfc29x9/2),Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[236]]-_0xfc29x5/2),_0xfc29x9,_0xfc29x5);null==this[_0xa1fe[2959]]&&(_0xa1fe[188]!=this[_0xa1fe[2972]][_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[187]]&&mxUtils[_0xa1fe[1825]](_0xfc29xa,this[_0xa1fe[2972]][_0xa1fe[1562]]))&&(_0xfc29x9+=3,_0xfc29x5+=3,_0xfc29xa= new mxRectangle(Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[235]]-_0xfc29x9/2),Math[_0xa1fe[488]](_0xfc29x4[_0xa1fe[236]]-_0xfc29x5/2),_0xfc29x9,_0xfc29x5));this[_0xa1fe[2994]][1][_0xa1fe[1562]]=_0xfc29xa;this[_0xa1fe[2994]][1][_0xa1fe[258]]()};function mxEdgeSegmentHandler(_0xfc29x2){mxEdgeHandler[_0xa1fe[239]](this,_0xfc29x2)}mxUtils[_0xa1fe[1284]](mxEdgeSegmentHandler,mxEdgeHandler);mxEdgeSegmentHandler[_0xa1fe[202]]= new mxElbowEdgeHandler;mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[196]]=mxEdgeSegmentHandler;mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[3018]]=function(_0xfc29x2){if(this[_0xa1fe[729]]||this[_0xa1fe[3013]]){return mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3018]][_0xa1fe[183]](this,arguments)};this[_0xa1fe[2196]](_0xfc29x2,!1);var _0xfc29x3=this[_0xa1fe[724]][_0xa1fe[439]],_0xfc29x4=_0xfc29x3[0][_0xa1fe[238]]();this[_0xa1fe[2196]](_0xfc29x4,!1);for(var _0xfc29x5=[],_0xfc29x9=1;_0xfc29x9<_0xfc29x3[_0xa1fe[67]];_0xfc29x9++){var _0xfc29xa=_0xfc29x3[_0xfc29x9][_0xa1fe[238]]();this[_0xa1fe[2196]](_0xfc29xa,!1);_0xfc29x9==this[_0xa1fe[1983]]&&(_0xfc29x4[_0xa1fe[235]]==_0xfc29xa[_0xa1fe[235]]?(_0xfc29x4[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]],_0xfc29xa[_0xa1fe[235]]=_0xfc29x2[_0xa1fe[235]]):(_0xfc29x4[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]],_0xfc29xa[_0xa1fe[236]]=_0xfc29x2[_0xa1fe[236]]));_0xfc29x9<_0xfc29x3[_0xa1fe[67]]-1&&_0xfc29x5[_0xa1fe[207]](_0xfc29xa);_0xfc29x4=_0xfc29xa};if(1==_0xfc29x5[_0xa1fe[67]]){if(_0xfc29x4=this[_0xa1fe[724]][_0xa1fe[441]],_0xfc29x9=this[_0xa1fe[724]][_0xa1fe[2089]](!0),_0xfc29xa=this[_0xa1fe[724]][_0xa1fe[2089]](!1),null!=_0xfc29xa&null!=_0xfc29x9){var _0xfc29x12=this[_0xa1fe[724]][_0xa1fe[2078]][_0xa1fe[235]],_0xfc29x13=this[_0xa1fe[724]][_0xa1fe[2078]][_0xa1fe[236]];mxUtils[_0xa1fe[442]](_0xfc29xa,_0xfc29x5[0][_0xa1fe[235]]+_0xfc29x12,_0xfc29x5[0][_0xa1fe[236]]+_0xfc29x13)?_0xfc29x3[1][_0xa1fe[236]]==_0xfc29x3[2][_0xa1fe[236]]?_0xfc29x5[0][_0xa1fe[236]]=_0xfc29x4[_0xa1fe[2228]](_0xfc29x9)-_0xfc29x13:_0xfc29x5[0][_0xa1fe[235]]=_0xfc29x4[_0xa1fe[2230]](_0xfc29x9)-_0xfc29x12:mxUtils[_0xa1fe[442]](_0xfc29x9,_0xfc29x5[0][_0xa1fe[235]]+_0xfc29x12,_0xfc29x5[0][_0xa1fe[236]]+_0xfc29x13)&&(_0xfc29x3[1][_0xa1fe[236]]==_0xfc29x3[0][_0xa1fe[236]]?_0xfc29x5[0][_0xa1fe[236]]=_0xfc29x4[_0xa1fe[2228]](_0xfc29xa)-_0xfc29x13:_0xfc29x5[0][_0xa1fe[235]]=_0xfc29x4[_0xa1fe[2230]](_0xfc29xa)-_0xfc29x12)}}else {0==_0xfc29x5[_0xa1fe[67]]&&(_0xfc29x5=[_0xfc29x2])};return _0xfc29x5};mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[3001]]=function(){var _0xfc29x2=[],_0xfc29x3=this[_0xa1fe[3009]](0);this[_0xa1fe[3002]](_0xfc29x3);_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3011]];mxEvent[_0xa1fe[2733]](_0xfc29x3[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);_0xfc29x2[_0xa1fe[207]](_0xfc29x3);mxClient[_0xa1fe[754]]&&_0xfc29x3[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130]);var _0xfc29x4=this[_0xa1fe[724]][_0xa1fe[439]];if(this[_0xa1fe[1179]][_0xa1fe[2662]](this[_0xa1fe[724]][_0xa1fe[246]])){null==this[_0xa1fe[1525]]&&(this[_0xa1fe[1525]]=[]);for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x4[_0xa1fe[67]]-1;_0xfc29x5++){_0xfc29x3=this[_0xa1fe[3034]](),_0xfc29x2[_0xa1fe[207]](_0xfc29x3),_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=0==_0xfc29x4[_0xfc29x5][_0xa1fe[235]]-_0xfc29x4[_0xfc29x5+1][_0xa1fe[235]]?_0xa1fe[3039]:_0xa1fe[3038],this[_0xa1fe[1525]][_0xa1fe[207]]( new mxPoint(0,0)),mxClient[_0xa1fe[754]]&&_0xfc29x3[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130])}};_0xfc29x3=this[_0xa1fe[3009]](_0xfc29x4[_0xa1fe[67]]);this[_0xa1fe[3002]](_0xfc29x3);_0xfc29x3[_0xa1fe[252]][_0xa1fe[124]][_0xa1fe[270]]=mxConstants[_0xa1fe[3011]];mxEvent[_0xa1fe[2733]](_0xfc29x3[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);_0xfc29x2[_0xa1fe[207]](_0xfc29x3);mxClient[_0xa1fe[754]]&&_0xfc29x3[_0xa1fe[252]][_0xa1fe[57]](_0xa1fe[1377],_0xa1fe[130]);return _0xfc29x2};mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[258]]=function(){this[_0xa1fe[802]]();mxEdgeHandler[_0xa1fe[202]][_0xa1fe[258]][_0xa1fe[183]](this,arguments)};mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[802]]=function(){if(null!=this[_0xa1fe[2994]]){for(var _0xfc29x2=0;_0xfc29x2<this[_0xa1fe[2994]][_0xa1fe[67]];_0xfc29x2++){null!=this[_0xa1fe[2994]][_0xfc29x2]&&(this[_0xa1fe[2994]][_0xfc29x2][_0xa1fe[515]](),this[_0xa1fe[2994]][_0xfc29x2]=null)};this[_0xa1fe[2994]]=this[_0xa1fe[3001]]()}};mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[3030]]=function(_0xfc29x2,_0xfc29x3){if(this[_0xa1fe[1179]][_0xa1fe[2662]](this[_0xa1fe[724]][_0xa1fe[246]])){var _0xfc29x4=mxConstants[_0xa1fe[2974]],_0xfc29x5=this[_0xa1fe[724]][_0xa1fe[439]];if(null!=_0xfc29x5&&1<_0xfc29x5[_0xa1fe[67]]){for(var _0xfc29x9=0;_0xfc29x9<this[_0xa1fe[724]][_0xa1fe[439]][_0xa1fe[67]]-1;_0xfc29x9++){if(null!=this[_0xa1fe[2994]][_0xfc29x9+1]){_0xfc29x2=_0xfc29x5[_0xfc29x9];_0xfc29x3=_0xfc29x5[_0xfc29x9+1];var _0xfc29xa= new mxPoint(_0xfc29x2[_0xa1fe[235]]+(_0xfc29x3[_0xa1fe[235]]-_0xfc29x2[_0xa1fe[235]])/2,_0xfc29x2[_0xa1fe[236]]+(_0xfc29x3[_0xa1fe[236]]-_0xfc29x2[_0xa1fe[236]])/2);this[_0xa1fe[2994]][_0xfc29x9+1][_0xa1fe[1562]]= new mxRectangle(Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[235]]-_0xfc29x4/2),Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[236]]-_0xfc29x4/2),_0xfc29x4,_0xfc29x4);this[_0xa1fe[2994]][_0xfc29x9+1][_0xa1fe[258]]()}}}}};mxEdgeSegmentHandler[_0xa1fe[202]][_0xa1fe[3023]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=[];var _0xfc29x4=this[_0xa1fe[2997]];if(1<_0xfc29x4[_0xa1fe[67]]){for(var _0xfc29x5=_0xfc29x4[0],_0xfc29x9=_0xfc29x4[1],_0xfc29xa=2;_0xfc29xa<_0xfc29x4[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x4[_0xfc29xa];if((Math[_0xa1fe[488]](_0xfc29x5[_0xa1fe[235]])!=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[235]])||Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[235]])!=Math[_0xa1fe[488]](_0xfc29x12[_0xa1fe[235]]))&&(Math[_0xa1fe[488]](_0xfc29x5[_0xa1fe[236]])!=Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[236]])||Math[_0xa1fe[488]](_0xfc29x9[_0xa1fe[236]])!=Math[_0xa1fe[488]](_0xfc29x12[_0xa1fe[236]]))){_0xfc29x5=_0xfc29x9,_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),this[_0xa1fe[2196]](_0xfc29x9,!1),_0xfc29x3[_0xa1fe[207]](_0xfc29x9)};_0xfc29x9=_0xfc29x12}};mxElbowEdgeHandler[_0xa1fe[202]][_0xa1fe[3023]][_0xa1fe[183]](this,arguments)};function mxKeyHandler(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[772]]=_0xfc29x3||document[_0xa1fe[158]],this[_0xa1fe[3040]]=[],this[_0xa1fe[3041]]=[],this[_0xa1fe[3042]]=[],this[_0xa1fe[3043]]=[],mxEvent[_0xa1fe[169]](this[_0xa1fe[772]],_0xa1fe[2123],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[3044]](_0xfc29x2)})),mxClient[_0xa1fe[80]]&&mxEvent[_0xa1fe[169]](window,_0xa1fe[2428],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[515]]()})))}mxKeyHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[772]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[3040]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[3041]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[3042]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[3043]]=null;mxKeyHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxKeyHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxKeyHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3045]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3040]][_0xfc29x2]=_0xfc29x3};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3046]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3041]][_0xfc29x2]=_0xfc29x3};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3047]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3042]][_0xfc29x2]=_0xfc29x3};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3048]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3043]][_0xfc29x2]=_0xfc29x3};mxKeyHandler[_0xa1fe[202]][_0xa1fe[775]]=function(_0xfc29x2){return mxEvent[_0xa1fe[775]](_0xfc29x2)};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3049]]=function(_0xfc29x2){return null!=_0xfc29x2?this[_0xa1fe[775]](_0xfc29x2)?mxEvent[_0xa1fe[774]](_0xfc29x2)?this[_0xa1fe[3043]][_0xfc29x2[_0xa1fe[2124]]]:this[_0xa1fe[3042]][_0xfc29x2[_0xa1fe[2124]]]:mxEvent[_0xa1fe[774]](_0xfc29x2)?this[_0xa1fe[3041]][_0xfc29x2[_0xa1fe[2124]]]:this[_0xa1fe[3040]][_0xfc29x2[_0xa1fe[2124]]]:null};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3050]]=function(_0xfc29x2){_0xfc29x2=mxEvent[_0xa1fe[728]](_0xfc29x2);if(_0xfc29x2==this[_0xa1fe[772]]||_0xfc29x2[_0xa1fe[265]]==this[_0xa1fe[772]]||null!=this[_0xa1fe[1179]][_0xa1fe[2347]]&&_0xfc29x2==this[_0xa1fe[1179]][_0xa1fe[2347]][_0xa1fe[126]]){return !0};for(;null!=_0xfc29x2;){if(_0xfc29x2==this[_0xa1fe[1179]][_0xa1fe[526]]){return !0};_0xfc29x2=_0xfc29x2[_0xa1fe[265]]};return !1};mxKeyHandler[_0xa1fe[202]][_0xa1fe[3044]]=function(_0xfc29x2){if(this[_0xa1fe[1179]][_0xa1fe[994]]()&&!mxEvent[_0xa1fe[721]](_0xfc29x2)&&this[_0xa1fe[3050]](_0xfc29x2)&&this[_0xa1fe[994]]()){if(27==_0xfc29x2[_0xa1fe[2124]]){this[_0xa1fe[859]](_0xfc29x2)}else {if(!this[_0xa1fe[1179]][_0xa1fe[2203]]()){var _0xfc29x3=this[_0xa1fe[3049]](_0xfc29x2);null!=_0xfc29x3&&(_0xfc29x3(_0xfc29x2),mxEvent[_0xa1fe[722]](_0xfc29x2))}}}};mxKeyHandler[_0xa1fe[202]][_0xa1fe[859]]=function(_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[2608]]()&&this[_0xa1fe[1179]][_0xa1fe[859]](_0xfc29x2)};mxKeyHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[772]]=null};function mxTooltipHandler(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[1140]]=_0xfc29x3||500,this[_0xa1fe[1179]][_0xa1fe[1133]](this))}mxTooltipHandler[_0xa1fe[202]][_0xa1fe[931]]=10005;mxTooltipHandler[_0xa1fe[202]][_0xa1fe[1179]]=null;mxTooltipHandler[_0xa1fe[202]][_0xa1fe[1140]]=null;mxTooltipHandler[_0xa1fe[202]][_0xa1fe[3051]]= !1;mxTooltipHandler[_0xa1fe[202]][_0xa1fe[984]]= !0;mxTooltipHandler[_0xa1fe[202]][_0xa1fe[994]]=function(){return this[_0xa1fe[984]]};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[995]]=function(_0xfc29x2){this[_0xa1fe[984]]=_0xfc29x2};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[2277]]=function(){return this[_0xa1fe[3051]]};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[3052]]=function(_0xfc29x2){this[_0xa1fe[3051]]=_0xfc29x2};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[176]]=function(){null!=document[_0xa1fe[112]]&&(this[_0xa1fe[485]]=document[_0xa1fe[55]](_0xa1fe[485]),this[_0xa1fe[485]][_0xa1fe[926]]=_0xa1fe[3053],this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188],this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[931]]=this[_0xa1fe[931]],document[_0xa1fe[112]][_0xa1fe[62]](this[_0xa1fe[485]]),mxEvent[_0xa1fe[169]](this[_0xa1fe[485]],_0xa1fe[751],mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[3054]]()})))};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[862]](_0xfc29x3,!1);this[_0xa1fe[3054]]()};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){if(_0xfc29x3[_0xa1fe[730]]()!=this[_0xa1fe[1217]]||_0xfc29x3[_0xa1fe[732]]()!=this[_0xa1fe[1218]]){this[_0xa1fe[862]](_0xfc29x3,!0),(this[_0xa1fe[2277]]()||_0xfc29x3[_0xa1fe[248]]()!=this[_0xa1fe[724]]||_0xfc29x3[_0xa1fe[728]]()!=this[_0xa1fe[252]]&&(!this[_0xa1fe[3055]]||null!=_0xfc29x3[_0xa1fe[248]]()&&this[_0xa1fe[3055]]==(_0xfc29x3[_0xa1fe[729]](_0xfc29x3[_0xa1fe[248]]()[_0xa1fe[253]])||!_0xfc29x3[_0xa1fe[729]](_0xfc29x3[_0xa1fe[248]]()[_0xa1fe[963]]))))&&this[_0xa1fe[3054]]()};this[_0xa1fe[1217]]=_0xfc29x3[_0xa1fe[730]]();this[_0xa1fe[1218]]=_0xfc29x3[_0xa1fe[732]]()};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[862]](_0xfc29x3,!0);this[_0xa1fe[3054]]()};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[3056]]=function(){null!=this[_0xa1fe[1123]]&&(window[_0xa1fe[2924]](this[_0xa1fe[1123]]),this[_0xa1fe[1123]]=null)};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[862]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3056]]();if(_0xfc29x3&&this[_0xa1fe[994]]()&&null!=_0xfc29x2[_0xa1fe[248]]()&&(null==this[_0xa1fe[485]]||_0xa1fe[188]==this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]])){var _0xfc29x4=_0xfc29x2[_0xa1fe[248]](),_0xfc29x5=_0xfc29x2[_0xa1fe[728]](),_0xfc29x9=_0xfc29x2[_0xa1fe[730]](),_0xfc29xa=_0xfc29x2[_0xa1fe[732]](),_0xfc29x12=_0xfc29x2[_0xa1fe[729]](_0xfc29x4[_0xa1fe[253]])||_0xfc29x2[_0xa1fe[729]](_0xfc29x4[_0xa1fe[963]]);this[_0xa1fe[1123]]=window[_0xa1fe[261]](mxUtils[_0xa1fe[885]](this,function(){if(!this[_0xa1fe[1179]][_0xa1fe[2203]]()&&!this[_0xa1fe[1179]][_0xa1fe[2316]][_0xa1fe[1031]]()){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2595]](_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa);this[_0xa1fe[539]](_0xfc29x2,_0xfc29x9,_0xfc29xa);this[_0xa1fe[724]]=_0xfc29x4;this[_0xa1fe[252]]=_0xfc29x5;this[_0xa1fe[3055]]=_0xfc29x12}}),this[_0xa1fe[1140]])}};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[801]]=function(){this[_0xa1fe[3056]]();this[_0xa1fe[3054]]()};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[3054]]=function(){null!=this[_0xa1fe[485]]&&(this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[188])};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[539]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){null==this[_0xa1fe[485]]&&this[_0xa1fe[176]]();var _0xfc29x5=mxUtils[_0xa1fe[444]]();this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[361]]=_0xfc29x3+_0xfc29x5[_0xa1fe[235]]+_0xa1fe[168];this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[125]]=_0xfc29x4+mxConstants[_0xa1fe[560]]+_0xfc29x5[_0xa1fe[236]]+_0xa1fe[168];mxUtils[_0xa1fe[1331]](_0xfc29x2)?(this[_0xa1fe[485]][_0xa1fe[339]]=_0xa1fe[110],this[_0xa1fe[485]][_0xa1fe[62]](_0xfc29x2)):this[_0xa1fe[485]][_0xa1fe[339]]=_0xfc29x2[_0xa1fe[230]](/\n/g,_0xa1fe[545]);this[_0xa1fe[485]][_0xa1fe[124]][_0xa1fe[187]]=_0xa1fe[110];mxUtils[_0xa1fe[933]](this[_0xa1fe[485]])}};mxTooltipHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[1148]](this);mxEvent[_0xa1fe[762]](this[_0xa1fe[485]]);null!=this[_0xa1fe[485]]&&null!=this[_0xa1fe[485]][_0xa1fe[265]]&&this[_0xa1fe[485]][_0xa1fe[265]][_0xa1fe[266]](this[_0xa1fe[485]]);this[_0xa1fe[485]]=null};function mxCellTracker(_0xfc29x2,_0xfc29x3,_0xfc29x4){mxCellMarker[_0xa1fe[239]](this,_0xfc29x2,_0xfc29x3);this[_0xa1fe[1179]][_0xa1fe[1133]](this);null!=_0xfc29x4&&(this[_0xa1fe[736]]=_0xfc29x4);mxClient[_0xa1fe[80]]&&mxEvent[_0xa1fe[169]](window,_0xa1fe[2428],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[515]]()}))}mxUtils[_0xa1fe[1284]](mxCellTracker,mxCellMarker);mxCellTracker[_0xa1fe[202]][_0xa1fe[787]]=function(_0xfc29x2,_0xfc29x3){};mxCellTracker[_0xa1fe[202]][_0xa1fe[788]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[994]]()&&this[_0xa1fe[2871]](_0xfc29x3)};mxCellTracker[_0xa1fe[202]][_0xa1fe[789]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[862]]()};mxCellTracker[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[2717]]||(this[_0xa1fe[2717]]= !0,this[_0xa1fe[1179]][_0xa1fe[1148]](this),mxCellMarker[_0xa1fe[202]][_0xa1fe[515]][_0xa1fe[183]](this))};function mxCellHighlight(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){null!=_0xfc29x2&&(this[_0xa1fe[1179]]=_0xfc29x2,this[_0xa1fe[2943]]=null!=_0xfc29x3?_0xfc29x3:mxConstants[_0xa1fe[2854]],this[_0xa1fe[610]]=null!=_0xfc29x4?_0xfc29x4:mxConstants[_0xa1fe[3057]],this[_0xa1fe[648]]=null!=_0xfc29x5?_0xfc29x5:!1,this[_0xa1fe[3058]]=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[2950]]()}),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE,this[_0xa1fe[3058]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.TRANSLATE,this[_0xa1fe[3058]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0xa1fe[3058]]),this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,this[_0xa1fe[3058]]),this[_0xa1fe[2877]]=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[801]]()}),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.DOWN,this[_0xa1fe[2877]]),this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.UP,this[_0xa1fe[2877]]))}mxCellHighlight[_0xa1fe[202]][_0xa1fe[3059]]= !1;mxCellHighlight[_0xa1fe[202]][_0xa1fe[1179]]= !0;mxCellHighlight[_0xa1fe[202]][_0xa1fe[724]]=null;mxCellHighlight[_0xa1fe[202]][_0xa1fe[657]]=2;mxCellHighlight[_0xa1fe[202]][_0xa1fe[2877]]=null;mxCellHighlight[_0xa1fe[202]][_0xa1fe[2828]]=function(_0xfc29x2){this[_0xa1fe[2943]]=_0xfc29x2;null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[1336]]=_0xfc29x2)};mxCellHighlight[_0xa1fe[202]][_0xa1fe[3060]]=function(){this[_0xa1fe[253]]=this[_0xa1fe[2156]]();this[_0xa1fe[2950]]();!this[_0xa1fe[3059]]&&this[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[285]]!=this[_0xa1fe[253]][_0xa1fe[252]]&&this[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[950]](this[_0xa1fe[253]][_0xa1fe[252]],this[_0xa1fe[253]][_0xa1fe[252]][_0xa1fe[265]][_0xa1fe[285]])};mxCellHighlight[_0xa1fe[202]][_0xa1fe[2156]]=function(){var _0xfc29x2=null,_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[250]](this[_0xa1fe[724]][_0xa1fe[246]])? new mxPolyline(this[_0xa1fe[724]][_0xa1fe[439]],this[_0xa1fe[2943]],this[_0xa1fe[610]]): new mxRectangleShape( new mxRectangle,null,this[_0xa1fe[2943]],this[_0xa1fe[610]]);_0xfc29x2[_0xa1fe[507]]=this[_0xa1fe[1179]][_0xa1fe[507]]!=mxConstants[_0xa1fe[508]]?mxConstants[_0xa1fe[1523]]:mxConstants[_0xa1fe[508]];_0xfc29x2[_0xa1fe[176]](this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[1524]]());mxEvent[_0xa1fe[2733]](_0xfc29x2[_0xa1fe[252]],this[_0xa1fe[1179]],this[_0xa1fe[724]]);_0xfc29x2[_0xa1fe[1564]]=0;_0xfc29x2[_0xa1fe[1229]]= !1;_0xfc29x2[_0xa1fe[1522]]=this[_0xa1fe[648]];return _0xfc29x2};mxCellHighlight[_0xa1fe[202]][_0xa1fe[2950]]=function(){if(null!=this[_0xa1fe[724]]&&null!=this[_0xa1fe[253]]){var _0xfc29x2=0;this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[250]](this[_0xa1fe[724]][_0xa1fe[246]])?this[_0xa1fe[253]][_0xa1fe[1525]]=this[_0xa1fe[724]][_0xa1fe[439]]:(this[_0xa1fe[253]][_0xa1fe[1562]]= new mxRectangle(this[_0xa1fe[724]][_0xa1fe[235]]-this[_0xa1fe[657]],this[_0xa1fe[724]][_0xa1fe[236]]-this[_0xa1fe[657]],this[_0xa1fe[724]][_0xa1fe[117]]+2*this[_0xa1fe[657]],this[_0xa1fe[724]][_0xa1fe[119]]+2*this[_0xa1fe[657]]),_0xfc29x2=Number(this[_0xa1fe[724]][_0xa1fe[124]][mxConstants[_0xa1fe[2278]]]||_0xa1fe[468]));null!=this[_0xa1fe[724]][_0xa1fe[253]]&&this[_0xa1fe[253]][_0xa1fe[1609]](this[_0xa1fe[724]][_0xa1fe[253]][_0xa1fe[1610]]());0!=_0xfc29x2&&(this[_0xa1fe[253]][_0xa1fe[603]]=_0xfc29x2);this[_0xa1fe[253]][_0xa1fe[258]]()}};mxCellHighlight[_0xa1fe[202]][_0xa1fe[801]]=function(){this[_0xa1fe[1016]](null)};mxCellHighlight[_0xa1fe[202]][_0xa1fe[1016]]=function(_0xfc29x2){this[_0xa1fe[724]]!=_0xfc29x2&&(null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null),this[_0xa1fe[724]]=_0xfc29x2,null!=this[_0xa1fe[724]]&&this[_0xa1fe[3060]]())};mxCellHighlight[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[3058]]);this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[3058]]);this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[745]](this[_0xa1fe[2877]]);this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[745]](this[_0xa1fe[2877]]);null!=this[_0xa1fe[253]]&&(this[_0xa1fe[253]][_0xa1fe[515]](),this[_0xa1fe[253]]=null)};function mxDefaultKeyHandler(_0xfc29x2){if(null!=_0xfc29x2){this[_0xa1fe[3061]]=_0xfc29x2;this[_0xa1fe[2458]]= new mxKeyHandler(_0xfc29x2[_0xa1fe[1179]]);var _0xfc29x3=this[_0xa1fe[2458]][_0xa1fe[859]];this[_0xa1fe[2458]][_0xa1fe[859]]=function(_0xfc29x4){_0xfc29x3[_0xa1fe[183]](this,arguments);_0xfc29x2[_0xa1fe[3062]]();_0xfc29x2[_0xa1fe[746]]( new mxEventObject(mxEvent.ESCAPE,_0xa1fe[763],_0xfc29x4))}}}mxDefaultKeyHandler[_0xa1fe[202]][_0xa1fe[3061]]=null;mxDefaultKeyHandler[_0xa1fe[202]][_0xa1fe[2458]]=null;mxDefaultKeyHandler[_0xa1fe[202]][_0xa1fe[3063]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3061]][_0xa1fe[350]](_0xfc29x3)});_0xfc29x4?this[_0xa1fe[2458]][_0xa1fe[3047]](_0xfc29x2,_0xfc29x5):this[_0xa1fe[2458]][_0xa1fe[3045]](_0xfc29x2,_0xfc29x5)};mxDefaultKeyHandler[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[2458]][_0xa1fe[515]]();this[_0xa1fe[2458]]=null};function mxDefaultPopupMenu(_0xfc29x2){this[_0xa1fe[3064]]=_0xfc29x2}mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[88]]=null;mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[3064]]=null;mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[3065]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){if(null!=this[_0xa1fe[3064]]){var _0xfc29x9=this[_0xa1fe[3066]](_0xfc29x2,_0xfc29x4,_0xfc29x5);this[_0xa1fe[3067]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,this[_0xa1fe[3064]][_0xa1fe[285]],null)}};mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[3067]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12){for(var _0xfc29x13=!1;null!=_0xfc29xa;){if(_0xa1fe[99]==_0xfc29xa[_0xa1fe[301]]){var _0xfc29x14=_0xfc29xa[_0xa1fe[284]](_0xa1fe[3068]);if(null==_0xfc29x14||_0xfc29x9[_0xfc29x14]){var _0xfc29x14=_0xfc29xa[_0xa1fe[284]](_0xa1fe[3069]),_0xfc29x14=mxResources[_0xa1fe[203]](_0xfc29x14)||_0xfc29x14,_0xfc29x15=mxUtils[_0xa1fe[1545]](mxUtils[_0xa1fe[329]](_0xfc29xa)),_0xfc29x16=_0xfc29xa[_0xa1fe[284]](_0xa1fe[892]),_0xfc29x17=_0xfc29xa[_0xa1fe[284]](_0xa1fe[2916]),_0xfc29x18=_0xfc29xa[_0xa1fe[284]](_0xa1fe[3070]);_0xfc29x13&&(_0xfc29x3[_0xa1fe[1051]](_0xfc29x12),_0xfc29x13= !1);null!=_0xfc29x17&&this[_0xa1fe[88]]&&(_0xfc29x17=this[_0xa1fe[88]]+_0xfc29x17);_0xfc29x14=this[_0xa1fe[3071]](_0xfc29x3,_0xfc29x2,_0xfc29x14,_0xfc29x17,_0xfc29x15,_0xfc29x16,_0xfc29x4,_0xfc29x12,_0xfc29x18);this[_0xa1fe[3067]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa[_0xa1fe[285]],_0xfc29x14)}}else {_0xa1fe[3072]==_0xfc29xa[_0xa1fe[301]]&&(_0xfc29x13= !0)};_0xfc29xa=_0xfc29xa[_0xa1fe[287]]}};mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[3071]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa,_0xfc29x12,_0xfc29x13,_0xfc29x14){return _0xfc29x2[_0xa1fe[1025]](_0xfc29x4,_0xfc29x5,function(_0xfc29x2){_0xa1fe[279]== typeof _0xfc29x9&&_0xfc29x9[_0xa1fe[239]](_0xfc29x3,_0xfc29x3,_0xfc29x12,_0xfc29x2);null!=_0xfc29xa&&_0xfc29x3[_0xa1fe[350]](_0xfc29xa,_0xfc29x12,_0xfc29x2)},_0xfc29x13,_0xfc29x14)};mxDefaultPopupMenu[_0xa1fe[202]][_0xa1fe[3066]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x9=_0xfc29x5[_0xa1fe[262]](_0xfc29x3),_0xfc29xa=[];_0xfc29xa[_0xa1fe[3073]]=null==_0xfc29x3;_0xfc29xa[_0xa1fe[3074]]=1<_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2694]]();_0xfc29xa[_0xa1fe[3075]]=_0xfc29x5[_0xa1fe[501]]()!=_0xfc29x5[_0xa1fe[1197]](_0xfc29x2[_0xa1fe[1179]][_0xa1fe[902]]());_0xfc29xa[_0xa1fe[246]]=null!=_0xfc29x3;_0xfc29x5=null!=_0xfc29x3&&1==_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2694]]();_0xfc29xa[_0xa1fe[3076]]=_0xfc29x5&&0<_0xfc29x9;_0xfc29xa[_0xa1fe[3077]]=_0xfc29x5&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2516]](_0xfc29x3,!1);_0xfc29xa[_0xa1fe[3078]]=_0xfc29x5&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2516]](_0xfc29x3,!0);_0xfc29xa[_0xa1fe[3079]]=_0xfc29x5&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2553]](_0xfc29x3);_0xfc29xa[_0xa1fe[3080]]=_0xfc29xa[_0xa1fe[3079]]&&0==_0xfc29x9;_0xfc29xa[_0xa1fe[687]]=_0xfc29x5&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x3);_0xfc29x9=this[_0xa1fe[3064]][_0xa1fe[64]](_0xa1fe[3081]);for(_0xfc29x5=0;_0xfc29x5<_0xfc29x9[_0xa1fe[67]];_0xfc29x5++){var _0xfc29x12=mxUtils[_0xa1fe[1545]](mxUtils[_0xa1fe[329]](_0xfc29x9[_0xfc29x5])),_0xfc29x13=_0xfc29x9[_0xfc29x5][_0xa1fe[284]](_0xa1fe[298]);null!=_0xfc29x13&&_0xa1fe[279]== typeof _0xfc29x12&&(_0xfc29xa[_0xfc29x13]=_0xfc29x12(_0xfc29x2,_0xfc29x3,_0xfc29x4))};return _0xfc29xa};function mxDefaultToolbar(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3061]]=_0xfc29x3;null!=_0xfc29x2&&null!=_0xfc29x3&&this[_0xa1fe[176]](_0xfc29x2)}mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[3061]]=null;mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[3082]]=null;mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[2877]]=null;mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[657]]=4;mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[2804]]= !1;mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[176]]=function(_0xfc29x2){null!=_0xfc29x2&&(this[_0xa1fe[3082]]= new mxToolbar(_0xfc29x2),this[_0xa1fe[3082]][_0xa1fe[169]](mxEvent.SELECT,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){var _0xfc29x5=_0xfc29x4[_0xa1fe[720]](_0xa1fe[279]);this[_0xa1fe[3061]][_0xa1fe[3083]]=null!=_0xfc29x5?mxUtils[_0xa1fe[885]](this,function(){_0xfc29x5[_0xa1fe[183]](this,arguments);this[_0xa1fe[3082]][_0xa1fe[1050]]()}):null})),this[_0xa1fe[2877]]=mxUtils[_0xa1fe[885]](this,function(){null!=this[_0xa1fe[3082]]&&this[_0xa1fe[3082]][_0xa1fe[1050]](!0)}),this[_0xa1fe[3061]][_0xa1fe[1179]][_0xa1fe[169]](mxEvent.DOUBLE_CLICK,this[_0xa1fe[2877]]),this[_0xa1fe[3061]][_0xa1fe[169]](mxEvent.ESCAPE,this[_0xa1fe[2877]]))};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1025]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=mxUtils[_0xa1fe[885]](this,function(){null!=_0xfc29x4&&0<_0xfc29x4[_0xa1fe[67]]&&this[_0xa1fe[3061]][_0xa1fe[350]](_0xfc29x4)});return this[_0xa1fe[3082]][_0xa1fe[1025]](_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29x5)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1051]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2||mxClient[_0xa1fe[88]]+_0xa1fe[3084];this[_0xa1fe[3082]][_0xa1fe[1051]](_0xfc29x2)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[970]]=function(){return this[_0xa1fe[3082]][_0xa1fe[970]]()};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1038]]=function(_0xfc29x2){return this[_0xa1fe[3082]][_0xa1fe[1038]](_0xfc29x2)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[3085]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3061]][_0xa1fe[350]](_0xfc29x4)});this[_0xa1fe[972]](_0xfc29x2,_0xfc29x3,_0xfc29x5)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[972]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return this[_0xa1fe[3082]][_0xa1fe[972]](_0xfc29x2,_0xfc29x3,_0xfc29x4)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1048]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){var _0xfc29xa=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3061]][_0xa1fe[3086]](_0xfc29x4);null!=_0xfc29x9&&_0xfc29x9(this[_0xa1fe[3061]])});return this[_0xa1fe[3082]][_0xa1fe[1042]](_0xfc29x2,_0xfc29x3,_0xfc29xa,_0xfc29x5)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[3087]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9,_0xfc29xa){var _0xfc29x12=function(){return _0xa1fe[279]== typeof _0xfc29x4?_0xfc29x4():null!=_0xfc29x4?_0xfc29x4[_0xa1fe[238]]():null},_0xfc29x13=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){_0xa1fe[279]== typeof _0xfc29x9?_0xfc29x9(this[_0xa1fe[3061]],_0xfc29x12(),_0xfc29x2,_0xfc29x3):this[_0xa1fe[1008]](_0xfc29x12(),_0xfc29x2,_0xfc29x3);this[_0xa1fe[3082]][_0xa1fe[1050]]();mxEvent[_0xa1fe[722]](_0xfc29x2)});_0xfc29x2=this[_0xa1fe[3082]][_0xa1fe[1048]](_0xfc29x2,_0xfc29x3,_0xfc29x13,_0xfc29x5,null,_0xfc29xa);this[_0xa1fe[3088]](_0xfc29x2,function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x13(_0xfc29x3,_0xfc29x4)});return _0xfc29x2};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1008]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[3061]][_0xa1fe[1179]],_0xfc29x9=_0xfc29x5[_0xa1fe[502]]();if(null==_0xfc29x4||_0xfc29x9[_0xa1fe[250]](_0xfc29x4)||!this[_0xa1fe[2804]]||!_0xfc29x5[_0xa1fe[2565]](_0xfc29x4)){for(;null!=_0xfc29x4&&!_0xfc29x5[_0xa1fe[2685]](_0xfc29x4,[_0xfc29x2],_0xfc29x3);){_0xfc29x4=_0xfc29x9[_0xa1fe[1197]](_0xfc29x4)};this[_0xa1fe[1937]](_0xfc29x2,_0xfc29x3,_0xfc29x4)}else {this[_0xa1fe[807]](_0xfc29x2,_0xfc29x3,_0xfc29x4)}};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[1937]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[3061]][_0xa1fe[1179]];if(_0xfc29x5[_0xa1fe[2621]](_0xfc29x2)){var _0xfc29x9=mxEvent[_0xa1fe[731]](_0xfc29x3),_0xfc29xa=mxEvent[_0xa1fe[733]](_0xfc29x3),_0xfc29x9=mxUtils[_0xa1fe[2196]](_0xfc29x5[_0xa1fe[526]],_0xfc29x9,_0xfc29xa);return _0xfc29x5[_0xa1fe[2655]]()&&_0xfc29x5[_0xa1fe[2686]](_0xfc29x4,[_0xfc29x2],_0xfc29x3)?_0xfc29x5[_0xa1fe[853]](_0xfc29x4,[_0xfc29x2],null,_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]]):this[_0xa1fe[3061]][_0xa1fe[817]](_0xfc29x4,_0xfc29x2,_0xfc29x9[_0xa1fe[235]],_0xfc29x9[_0xa1fe[236]])};return null};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[807]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=this[_0xa1fe[3061]][_0xa1fe[1179]];var _0xfc29x5=_0xfc29x3[_0xa1fe[502]]();if(null!=_0xfc29x4&&_0xfc29x3[_0xa1fe[2565]](_0xfc29x2)&&_0xfc29x3[_0xa1fe[2581]](null,_0xfc29x4,_0xfc29x2)){var _0xfc29x9=null;_0xfc29x5[_0xa1fe[473]]();try{var _0xfc29xa=_0xfc29x5[_0xa1fe[1721]](_0xfc29x4),_0xfc29x12=_0xfc29x5[_0xa1fe[1721]](_0xfc29x2)[_0xa1fe[238]]();_0xfc29x12[_0xa1fe[235]]=_0xfc29xa[_0xa1fe[235]]+(_0xfc29xa[_0xa1fe[117]]-_0xfc29x12[_0xa1fe[117]])/2;_0xfc29x12[_0xa1fe[236]]=_0xfc29xa[_0xa1fe[236]]+(_0xfc29xa[_0xa1fe[119]]-_0xfc29x12[_0xa1fe[119]])/2;var _0xfc29x13=this[_0xa1fe[657]]*_0xfc29x3[_0xa1fe[1020]],_0xfc29x14=20*_0xfc29x5[_0xa1fe[1962]](_0xfc29x4,!0);this[_0xa1fe[3061]][_0xa1fe[3089]]?_0xfc29x12[_0xa1fe[235]]+=(_0xfc29x12[_0xa1fe[117]]+_0xfc29xa[_0xa1fe[117]])/2+_0xfc29x13+_0xfc29x14:_0xfc29x12[_0xa1fe[236]]+=(_0xfc29x12[_0xa1fe[119]]+_0xfc29xa[_0xa1fe[119]])/2+_0xfc29x13+_0xfc29x14;_0xfc29x2[_0xa1fe[1724]](_0xfc29x12);var _0xfc29x15=_0xfc29x5[_0xa1fe[1197]](_0xfc29x4);_0xfc29x3[_0xa1fe[2103]](_0xfc29x2,_0xfc29x15);_0xfc29x3[_0xa1fe[2509]](_0xfc29x2);_0xfc29x9=this[_0xa1fe[3061]][_0xa1fe[2503]](_0xfc29x4,_0xfc29x2);if(null==_0xfc29x5[_0xa1fe[1721]](_0xfc29x9)){var _0xfc29x16= new mxGeometry;_0xfc29x16[_0xa1fe[1500]]= !0;_0xfc29x5[_0xa1fe[1724]](_0xfc29x9,_0xfc29x16)};_0xfc29x3[_0xa1fe[2504]](_0xfc29x9,_0xfc29x15,_0xfc29x4,_0xfc29x2)}finally{_0xfc29x5[_0xa1fe[476]]()};_0xfc29x3[_0xa1fe[904]]([_0xfc29x2,_0xfc29x9]);_0xfc29x3[_0xa1fe[2564]](_0xfc29x2)}};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[3088]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=document[_0xa1fe[55]](_0xa1fe[466]);_0xfc29x4[_0xa1fe[57]](_0xa1fe[390],_0xfc29x2[_0xa1fe[284]](_0xa1fe[390]));var _0xfc29x5=mxUtils[_0xa1fe[885]](this,function(_0xfc29x9){_0xfc29x4[_0xa1fe[124]][_0xa1fe[117]]=2*_0xfc29x2[_0xa1fe[359]]+_0xa1fe[168];_0xfc29x4[_0xa1fe[124]][_0xa1fe[119]]=2*_0xfc29x2[_0xa1fe[167]]+_0xa1fe[168];mxUtils[_0xa1fe[3090]](_0xfc29x2,this[_0xa1fe[3061]][_0xa1fe[1179]],_0xfc29x3,_0xfc29x4);mxEvent[_0xa1fe[745]](_0xfc29x4,_0xa1fe[219],_0xfc29x5)});mxClient[_0xa1fe[80]]?_0xfc29x5():mxEvent[_0xa1fe[169]](_0xfc29x4,_0xa1fe[219],_0xfc29x5)};mxDefaultToolbar[_0xa1fe[202]][_0xa1fe[515]]=function(){null!=this[_0xa1fe[2877]]&&(this[_0xa1fe[3061]][_0xa1fe[1179]][_0xa1fe[745]](_0xa1fe[760],this[_0xa1fe[2877]]),this[_0xa1fe[3061]][_0xa1fe[745]](_0xa1fe[859],this[_0xa1fe[2877]]),this[_0xa1fe[2877]]=null);null!=this[_0xa1fe[3082]]&&(this[_0xa1fe[3082]][_0xa1fe[515]](),this[_0xa1fe[3082]]=null)};function mxEditor(_0xfc29x2){this[_0xa1fe[3091]]=[];this[_0xa1fe[3092]]();if(null!=document[_0xa1fe[112]]){this[_0xa1fe[3093]]=[];this[_0xa1fe[3094]]= new mxDefaultPopupMenu;this[_0xa1fe[3095]]= new mxUndoManager;this[_0xa1fe[1179]]=this[_0xa1fe[3096]]();this[_0xa1fe[3082]]=this[_0xa1fe[3097]]();this[_0xa1fe[3098]]= new mxDefaultKeyHandler(this);this[_0xa1fe[3099]](_0xfc29x2);this[_0xa1fe[1179]][_0xa1fe[2180]]=this[_0xa1fe[3100]];!mxClient[_0xa1fe[3101]]&&null!=this[_0xa1fe[1056]]&&(this[_0xa1fe[812]]=this[_0xa1fe[3102]]());if(null!=this[_0xa1fe[1987]]){this[_0xa1fe[1987]]()};mxClient[_0xa1fe[80]]&&mxEvent[_0xa1fe[169]](window,_0xa1fe[2428],mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[515]]()}))}}mxLoadResources&&mxResources[_0xa1fe[99]](mxClient[_0xa1fe[86]]+_0xa1fe[3103]);mxEditor[_0xa1fe[202]]= new mxEventSource;mxEditor[_0xa1fe[202]][_0xa1fe[196]]=mxEditor;mxEditor[_0xa1fe[202]][_0xa1fe[3104]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[3105]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3106]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[3107]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3108]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[3109]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3110]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[716]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3111]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[3112]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3113]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2719]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[3114]]=_0xa1fe[130]!=mxClient[_0xa1fe[90]]?_0xa1fe[2136]:_0xa1fe[110];mxEditor[_0xa1fe[202]][_0xa1fe[2136]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[1179]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[2720]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3082]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[812]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[879]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3094]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3095]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3098]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3091]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3115]]=_0xa1fe[1061];mxEditor[_0xa1fe[202]][_0xa1fe[3116]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[1157]]= !0;mxEditor[_0xa1fe[202]][_0xa1fe[3083]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3117]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3118]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[2075]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3119]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3120]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3121]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3122]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[1069]]=_0xa1fe[336];mxEditor[_0xa1fe[202]][_0xa1fe[3123]]=_0xa1fe[338];mxEditor[_0xa1fe[202]][_0xa1fe[1070]]= !0;mxEditor[_0xa1fe[202]][_0xa1fe[3124]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3125]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[1056]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[1058]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[1057]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3089]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3126]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3127]]=0;mxEditor[_0xa1fe[202]][_0xa1fe[3128]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3129]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3093]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3130]]=0;mxEditor[_0xa1fe[202]][_0xa1fe[3100]]=_0xa1fe[604];mxEditor[_0xa1fe[202]][_0xa1fe[3112]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3131]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3132]]=20;mxEditor[_0xa1fe[202]][_0xa1fe[2719]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3133]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3134]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3135]]=300;mxEditor[_0xa1fe[202]][_0xa1fe[3136]]=260;mxEditor[_0xa1fe[202]][_0xa1fe[3137]]=240;mxEditor[_0xa1fe[202]][_0xa1fe[3138]]=null;mxEditor[_0xa1fe[202]][_0xa1fe[3139]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[3140]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[2113]]= !1;mxEditor[_0xa1fe[202]][_0xa1fe[2133]]=function(){return this[_0xa1fe[2113]]};mxEditor[_0xa1fe[202]][_0xa1fe[2128]]=function(_0xfc29x2){this[_0xa1fe[2113]]=_0xfc29x2};mxEditor[_0xa1fe[202]][_0xa1fe[3092]]=function(){this[_0xa1fe[3071]](_0xa1fe[815],function(_0xfc29x2){_0xfc29x2[_0xa1fe[815]]()});this[_0xa1fe[3071]](_0xa1fe[540],function(_0xfc29x2){( new mxPrintPreview(_0xfc29x2[_0xa1fe[1179]],1))[_0xa1fe[392]]()});this[_0xa1fe[3071]](_0xa1fe[539],function(_0xfc29x2){mxUtils[_0xa1fe[539]](_0xfc29x2[_0xa1fe[1179]],null,10,10)});this[_0xa1fe[3071]](_0xa1fe[3141],function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[3142]]();if(null==_0xfc29x3||mxClient[_0xa1fe[3101]]){_0xfc29x2[_0xa1fe[350]](_0xa1fe[539])}else {var _0xfc29x4=mxUtils[_0xa1fe[3143]](_0xfc29x2[_0xa1fe[1179]],1),_0xfc29x4=mxUtils[_0xa1fe[875]](_0xfc29x4,_0xa1fe[192]);mxUtils[_0xa1fe[894]](_0xfc29x3,_0xfc29x2[_0xa1fe[3123]]+_0xa1fe[226]+encodeURIComponent(_0xfc29x4),document,_0xa1fe[3144])}});this[_0xa1fe[3071]](_0xa1fe[802],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[802]]()});this[_0xa1fe[3071]](_0xa1fe[3145],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&mxClipboard[_0xa1fe[3145]](_0xfc29x2[_0xa1fe[1179]])});this[_0xa1fe[3071]](_0xa1fe[149],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&mxClipboard[_0xa1fe[149]](_0xfc29x2[_0xa1fe[1179]])});this[_0xa1fe[3071]](_0xa1fe[3146],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&mxClipboard[_0xa1fe[3146]](_0xfc29x2[_0xa1fe[1179]])});this[_0xa1fe[3071]](_0xa1fe[3147],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[842]]()});this[_0xa1fe[3071]](_0xa1fe[1504],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2450]](_0xfc29x2[_0xa1fe[844]]())});this[_0xa1fe[3071]](_0xa1fe[3148],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[904]](_0xfc29x2[_0xa1fe[1179]][_0xa1fe[845]]())});this[_0xa1fe[3071]](_0xa1fe[1997],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[846]]()});this[_0xa1fe[3071]](_0xa1fe[824],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[824]]()});this[_0xa1fe[3071]](_0xa1fe[825],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[825]]()});this[_0xa1fe[3071]](_0xa1fe[2558],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2558]]()});this[_0xa1fe[3071]](_0xa1fe[2559],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2559]]()});this[_0xa1fe[3071]](_0xa1fe[3149],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2560]]()});this[_0xa1fe[3071]](_0xa1fe[933],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[933]]()});this[_0xa1fe[3071]](_0xa1fe[3150],function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[3150]](_0xfc29x3)});this[_0xa1fe[3071]](_0xa1fe[2705],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2705]]()});this[_0xa1fe[3071]](_0xa1fe[3151],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2440]]()});this[_0xa1fe[3071]](_0xa1fe[2706],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2706]]()});this[_0xa1fe[3071]](_0xa1fe[2708],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2708]]()});this[_0xa1fe[3071]](_0xa1fe[1061],function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2453]](_0xfc29x3)&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2451]](_0xfc29x3)});this[_0xa1fe[3071]](_0xa1fe[3152],function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[840]](!0)});this[_0xa1fe[3071]](_0xa1fe[3153],function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[840]](!1)});this[_0xa1fe[3071]](_0xa1fe[2552],function(_0xfc29x2,_0xfc29x3){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2552]](_0xfc29x3)});this[_0xa1fe[3071]](_0xa1fe[2554],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2554]]()});this[_0xa1fe[3071]](_0xa1fe[2442],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2442]]()});this[_0xa1fe[3071]](_0xa1fe[3154],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2702]]()});this[_0xa1fe[3071]](_0xa1fe[3155],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2700]]()});this[_0xa1fe[3071]](_0xa1fe[3156],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2703]]()});this[_0xa1fe[3071]](_0xa1fe[3157],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2704]]()});this[_0xa1fe[3071]](_0xa1fe[2514],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[847]](!0)});this[_0xa1fe[3071]](_0xa1fe[3158],function(_0xfc29x2){if(_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()){var _0xfc29x3=_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1728]]();_0xfc29x2[_0xa1fe[1179]][_0xa1fe[847]](!0,!1,_0xfc29x3)}});this[_0xa1fe[3071]](_0xa1fe[3159],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[847]](!1)});this[_0xa1fe[3071]](_0xa1fe[3160],function(_0xfc29x2){if(_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()){var _0xfc29x3=_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1728]]();_0xfc29x2[_0xa1fe[1179]][_0xa1fe[847]](!1,!1,_0xfc29x3)}});this[_0xa1fe[3071]](_0xa1fe[1447],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this[_0xa1fe[3071]](_0xa1fe[1449],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this[_0xa1fe[3071]](_0xa1fe[355],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_UNDERLINE)});this[_0xa1fe[3071]](_0xa1fe[639],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_SHADOW)});this[_0xa1fe[3071]](_0xa1fe[3161],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_LEFT)});this[_0xa1fe[3071]](_0xa1fe[3162],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_CENTER)});this[_0xa1fe[3071]](_0xa1fe[3163],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_RIGHT)});this[_0xa1fe[3071]](_0xa1fe[3164],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_TOP)});this[_0xa1fe[3071]](_0xa1fe[3165],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_MIDDLE)});this[_0xa1fe[3071]](_0xa1fe[3166],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[849]](mxConstants.ALIGN_BOTTOM)});this[_0xa1fe[3071]](_0xa1fe[3167],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this[_0xa1fe[3071]](_0xa1fe[3168],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this[_0xa1fe[3071]](_0xa1fe[3169],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this[_0xa1fe[3071]](_0xa1fe[3170],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this[_0xa1fe[3071]](_0xa1fe[3171],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this[_0xa1fe[3071]](_0xa1fe[3172],function(_0xfc29x2){_0xfc29x2[_0xa1fe[1179]][_0xa1fe[994]]()&&_0xfc29x2[_0xa1fe[1179]][_0xa1fe[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});this[_0xa1fe[3071]](_0xa1fe[499],function(_0xfc29x2){var _0xfc29x3=100*_0xfc29x2[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x3=parseFloat(mxUtils[_0xa1fe[3173]](mxResources[_0xa1fe[203]](_0xfc29x2[_0xa1fe[3104]])||_0xfc29x2[_0xa1fe[3104]],_0xfc29x3))/100;isNaN(_0xfc29x3)||_0xfc29x2[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[2262]](_0xfc29x3)});this[_0xa1fe[3071]](_0xa1fe[3174],function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[3112]]?_0xfc29x2[_0xa1fe[3112]][_0xa1fe[175]](!_0xfc29x2[_0xa1fe[3112]][_0xa1fe[174]]()):_0xfc29x2[_0xa1fe[3175]]()});this[_0xa1fe[3071]](_0xa1fe[3176],function(_0xfc29x2){null!=_0xfc29x2[_0xa1fe[2719]]?_0xfc29x2[_0xa1fe[2719]][_0xa1fe[175]](!_0xfc29x2[_0xa1fe[2719]][_0xa1fe[174]]()):_0xfc29x2[_0xa1fe[3177]]()});this[_0xa1fe[3071]](_0xa1fe[3178],function(_0xfc29x2){null==_0xfc29x2[_0xa1fe[2136]]?_0xfc29x2[_0xa1fe[3179]]():_0xfc29x2[_0xa1fe[2136]][_0xa1fe[175]](!_0xfc29x2[_0xa1fe[2136]][_0xa1fe[174]]())});this[_0xa1fe[3071]](_0xa1fe[3180],function(_0xfc29x2){mxLog[_0xa1fe[175]](!mxLog[_0xa1fe[174]]())})};mxEditor[_0xa1fe[202]][_0xa1fe[3102]]=function(){var _0xfc29x2=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[746]]( new mxEventObject(mxEvent.SESSION,_0xa1fe[812],_0xfc29x2))});return this[_0xa1fe[807]](this[_0xa1fe[1056]],this[_0xa1fe[1057]],this[_0xa1fe[1058]],_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3099]]=function(_0xfc29x2){null!=_0xfc29x2&&(( new mxCodec(_0xfc29x2[_0xa1fe[295]]))[_0xa1fe[1093]](_0xfc29x2,this),this[_0xa1fe[3181]]())};mxEditor[_0xa1fe[202]][_0xa1fe[3182]]=function(){document[_0xa1fe[3183]]=_0xa1fe[3184]};mxEditor[_0xa1fe[202]][_0xa1fe[3181]]=function(){this[_0xa1fe[1184]]=( new Date)[_0xa1fe[178]]();this[_0xa1fe[3095]][_0xa1fe[200]]();this[_0xa1fe[1183]]=0;this[_0xa1fe[2128]](!1)};mxEditor[_0xa1fe[202]][_0xa1fe[3071]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3091]][_0xfc29x2]=_0xfc29x3};mxEditor[_0xa1fe[202]][_0xa1fe[350]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[3091]][_0xfc29x2];if(null!=_0xfc29x5){try{var _0xfc29x9=arguments;_0xfc29x9[0]=this;_0xfc29x5[_0xa1fe[183]](this,_0xfc29x9)}catch(f){throw mxUtils[_0xa1fe[267]](_0xa1fe[3185]+_0xfc29x2+_0xa1fe[3186]+f[_0xa1fe[281]],280,!0),f}}else {mxUtils[_0xa1fe[267]](_0xa1fe[3187]+_0xfc29x2,280,!0)}};mxEditor[_0xa1fe[202]][_0xa1fe[3188]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[3118]][_0xfc29x2]=_0xfc29x3};mxEditor[_0xa1fe[202]][_0xa1fe[3189]]=function(_0xfc29x2){return this[_0xa1fe[3118]][_0xfc29x2]};mxEditor[_0xa1fe[202]][_0xa1fe[3096]]=function(){var _0xfc29x2= new mxGraph(null,null,this[_0xa1fe[2720]]);_0xfc29x2[_0xa1fe[2673]](!0);_0xfc29x2[_0xa1fe[2674]](!0);this[_0xa1fe[3190]](_0xfc29x2);this[_0xa1fe[3191]](_0xfc29x2);this[_0xa1fe[3192]](_0xfc29x2);this[_0xa1fe[3193]](_0xfc29x2);this[_0xa1fe[3194]](_0xfc29x2);_0xfc29x2[_0xa1fe[2316]][_0xa1fe[1033]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4,_0xfc29x5){return this[_0xa1fe[3195]](_0xfc29x2,_0xfc29x4,_0xfc29x5)});_0xfc29x2[_0xa1fe[2433]][_0xa1fe[1033]]=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x4){return this[_0xa1fe[2503]](_0xfc29x2,_0xfc29x4)});this[_0xa1fe[3196]](_0xfc29x2);this[_0xa1fe[3197]](_0xfc29x2);return _0xfc29x2};mxEditor[_0xa1fe[202]][_0xa1fe[3196]]=function(_0xfc29x2){_0xfc29x2= new mxSwimlaneManager(_0xfc29x2,!1);_0xfc29x2[_0xa1fe[1737]]=mxUtils[_0xa1fe[885]](this,function(){return this[_0xa1fe[3089]]});_0xfc29x2[_0xa1fe[994]]=mxUtils[_0xa1fe[885]](this,function(){return this[_0xa1fe[3128]]});return _0xfc29x2};mxEditor[_0xa1fe[202]][_0xa1fe[3197]]=function(_0xfc29x2){var _0xfc29x3= new mxLayoutManager(_0xfc29x2),_0xfc29x4=this;_0xfc29x3[_0xa1fe[2754]]=function(_0xfc29x3){var _0xfc29x9=null,_0xfc29xa=_0xfc29x4[_0xa1fe[1179]][_0xa1fe[502]]();if(null!=_0xfc29xa[_0xa1fe[1197]](_0xfc29x3)){if(_0xfc29x4[_0xa1fe[3129]]&&_0xfc29x2[_0xa1fe[1730]](_0xfc29x3)){null==_0xfc29x4[_0xa1fe[3198]]&&(_0xfc29x4[_0xa1fe[3198]]=_0xfc29x4[_0xa1fe[3199]]()),_0xfc29x9=_0xfc29x4[_0xa1fe[3198]]}else {if(_0xfc29x4[_0xa1fe[3126]]&&(_0xfc29x2[_0xa1fe[2553]](_0xfc29x3)||null==_0xfc29xa[_0xa1fe[1197]](_0xfc29xa[_0xa1fe[1197]](_0xfc29x3)))){null==_0xfc29x4[_0xa1fe[3200]]&&(_0xfc29x4[_0xa1fe[3200]]=_0xfc29x4[_0xa1fe[3201]]()),_0xfc29x9=_0xfc29x4[_0xa1fe[3200]]}}};return _0xfc29x9};return _0xfc29x3};mxEditor[_0xa1fe[202]][_0xa1fe[3202]]=function(_0xfc29x2){null==this[_0xa1fe[1179]][_0xa1fe[526]]&&(this[_0xa1fe[1179]][_0xa1fe[176]](_0xfc29x2),this[_0xa1fe[3203]]= new mxRubberband(this[_0xa1fe[1179]]),this[_0xa1fe[1157]]&&mxEvent[_0xa1fe[1157]](_0xfc29x2),mxClient[_0xa1fe[496]]&& new mxDivResizer(_0xfc29x2))};mxEditor[_0xa1fe[202]][_0xa1fe[3190]]=function(_0xfc29x2){_0xfc29x2[_0xa1fe[169]](mxEvent.DOUBLE_CLICK,mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x4[_0xa1fe[720]](_0xa1fe[246]);null!=_0xfc29x5&&(_0xfc29x2[_0xa1fe[994]]()&&null!=this[_0xa1fe[3115]])&&(this[_0xa1fe[350]](this[_0xa1fe[3115]],_0xfc29x5),_0xfc29x4[_0xa1fe[722]]())}))};mxEditor[_0xa1fe[202]][_0xa1fe[3191]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){var _0xfc29x9=_0xfc29x3[_0xa1fe[720]](_0xa1fe[1061]);this[_0xa1fe[3095]][_0xa1fe[1114]](_0xfc29x9)});_0xfc29x2[_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.UNDO,_0xfc29x3);_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.UNDO,_0xfc29x3);_0xfc29x3=function(_0xfc29x3,_0xfc29x5){var _0xfc29x9=_0xfc29x5[_0xa1fe[720]](_0xa1fe[1061])[_0xa1fe[1065]];_0xfc29x2[_0xa1fe[904]](_0xfc29x2[_0xa1fe[2436]](_0xfc29x9))};this[_0xa1fe[3095]][_0xa1fe[169]](mxEvent.UNDO,_0xfc29x3);this[_0xa1fe[3095]][_0xa1fe[169]](mxEvent.REDO,_0xfc29x3)};mxEditor[_0xa1fe[202]][_0xa1fe[3192]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x2){this[_0xa1fe[746]]( new mxEventObject(mxEvent.ROOT))});_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.DOWN,_0xfc29x3);_0xfc29x2[_0xa1fe[249]]()[_0xa1fe[169]](mxEvent.UP,_0xfc29x3)};mxEditor[_0xa1fe[202]][_0xa1fe[3193]]=function(_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3,_0xfc29x5){this[_0xa1fe[2128]](!0);!0==this[_0xa1fe[3140]]&&_0xfc29x2[_0xa1fe[2585]]();for(var _0xfc29x9=_0xfc29x5[_0xa1fe[720]](_0xa1fe[1061])[_0xa1fe[1065]],_0xfc29xa=0;_0xfc29xa<_0xfc29x9[_0xa1fe[67]];_0xfc29xa++){var _0xfc29x12=_0xfc29x9[_0xfc29xa];if(_0xfc29x12 instanceof mxRootChange||_0xfc29x12 instanceof mxValueChange&&_0xfc29x12[_0xa1fe[246]]==this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[813]]||_0xfc29x12 instanceof mxCellAttributeChange&&_0xfc29x12[_0xa1fe[246]]==this[_0xa1fe[1179]][_0xa1fe[251]][_0xa1fe[813]]){this[_0xa1fe[746]]( new mxEventObject(mxEvent.ROOT));break}}});_0xfc29x2[_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,_0xfc29x3)};mxEditor[_0xa1fe[202]][_0xa1fe[3194]]=function(_0xfc29x2){var _0xfc29x3=this;_0xfc29x2[_0xa1fe[1133]]({mouseDown:function(_0xfc29x2,_0xfc29x5){if(null!=_0xfc29x3[_0xa1fe[3083]]&&!_0xfc29x5[_0xa1fe[737]]()&&(_0xfc29x3[_0xa1fe[3117]]||null==_0xfc29x5[_0xa1fe[248]]())){_0xfc29x3[_0xa1fe[1179]][_0xa1fe[2440]](),_0xfc29x3[_0xa1fe[3083]](_0xfc29x5[_0xa1fe[727]](),_0xfc29x5[_0xa1fe[736]]()),this[_0xa1fe[1142]]= !0,_0xfc29x5[_0xa1fe[722]]()}},mouseMove:function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1142]]&&_0xfc29x3[_0xa1fe[722]]()},mouseUp:function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1142]]&&(this[_0xa1fe[1142]]= !1,_0xfc29x3[_0xa1fe[722]]())}})};mxEditor[_0xa1fe[202]][_0xa1fe[3201]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[1020]],_0xfc29x3= new mxStackLayout(this[_0xa1fe[1179]],!this[_0xa1fe[3089]],this[_0xa1fe[3127]],2*_0xfc29x2,2*_0xfc29x2);_0xfc29x3[_0xa1fe[1713]]=function(_0xfc29x2){return !_0xfc29x3[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)};return _0xfc29x3};mxEditor[_0xa1fe[202]][_0xa1fe[3199]]=function(){return new mxCompactTreeLayout(this[_0xa1fe[1179]],this[_0xa1fe[3089]])};mxEditor[_0xa1fe[202]][_0xa1fe[3097]]=function(){return new mxDefaultToolbar(null,this)};mxEditor[_0xa1fe[202]][_0xa1fe[3204]]=function(_0xfc29x2){this[_0xa1fe[3082]][_0xa1fe[176]](_0xfc29x2);mxClient[_0xa1fe[496]]&& new mxDivResizer(_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3205]]=function(_0xfc29x2){null==this[_0xa1fe[879]]&&(this[_0xa1fe[879]]=_0xfc29x2,this[_0xa1fe[169]](mxEvent.SAVE,mxUtils[_0xa1fe[885]](this,function(){var _0xfc29x2=( new Date)[_0xa1fe[3206]]();this[_0xa1fe[3207]]((mxResources[_0xa1fe[203]](this[_0xa1fe[3106]])||this[_0xa1fe[3106]])+_0xa1fe[3186]+_0xfc29x2)})),this[_0xa1fe[169]](mxEvent.OPEN,mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3207]]((mxResources[_0xa1fe[203]](this[_0xa1fe[3108]])||this[_0xa1fe[3108]])+_0xa1fe[3186]+this[_0xa1fe[3122]])})),mxClient[_0xa1fe[496]]&& new mxDivResizer(_0xfc29x2))};mxEditor[_0xa1fe[202]][_0xa1fe[3207]]=function(_0xfc29x2){null!=this[_0xa1fe[879]]&&null!=_0xfc29x2&&(this[_0xa1fe[879]][_0xa1fe[339]]=_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3208]]=function(_0xfc29x2){this[_0xa1fe[169]](mxEvent.ROOT,mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){_0xfc29x2[_0xa1fe[339]]=this[_0xa1fe[3209]]()}));mxClient[_0xa1fe[496]]&& new mxDivResizer(_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3210]]=function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x2&&( new mxCompactTreeLayout(this[_0xa1fe[1179]],_0xfc29x3))[_0xa1fe[350]](_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3209]]=function(){for(var _0xfc29x2=_0xa1fe[110],_0xfc29x3=this[_0xa1fe[1179]],_0xfc29x4=_0xfc29x3[_0xa1fe[2534]]();null!=_0xfc29x4&&null!=_0xfc29x3[_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x3[_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x4));){_0xfc29x3[_0xa1fe[2553]](_0xfc29x4)&&(_0xfc29x2=_0xa1fe[3211]+_0xfc29x3[_0xa1fe[2454]](_0xfc29x4)+_0xfc29x2),_0xfc29x4=_0xfc29x3[_0xa1fe[502]]()[_0xa1fe[1197]](_0xfc29x4)};return this[_0xa1fe[3212]]()+_0xfc29x2};mxEditor[_0xa1fe[202]][_0xa1fe[3212]]=function(){var _0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]]();return this[_0xa1fe[1179]][_0xa1fe[2454]](_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[824]]=function(){this[_0xa1fe[3095]][_0xa1fe[824]]()};mxEditor[_0xa1fe[202]][_0xa1fe[825]]=function(){this[_0xa1fe[3095]][_0xa1fe[825]]()};mxEditor[_0xa1fe[202]][_0xa1fe[844]]=function(){var _0xfc29x2=null!=this[_0xa1fe[3121]]?this[_0xa1fe[3121]]:this[_0xa1fe[1179]][_0xa1fe[1020]];return this[_0xa1fe[1179]][_0xa1fe[844]](this[_0xa1fe[3213]](),_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3213]]=function(){return this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1978]](this[_0xa1fe[3120]])};mxEditor[_0xa1fe[202]][_0xa1fe[392]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[219]](_0xfc29x2)[_0xa1fe[875]]();this[_0xa1fe[3214]](_0xfc29x3[_0xa1fe[158]]);this[_0xa1fe[3122]]=_0xfc29x2;this[_0xa1fe[746]]( new mxEventObject(mxEvent.OPEN,_0xa1fe[3122],_0xfc29x2))}};mxEditor[_0xa1fe[202]][_0xa1fe[3214]]=function(_0xfc29x2){( new mxCodec(_0xfc29x2[_0xa1fe[295]]))[_0xa1fe[1093]](_0xfc29x2,this[_0xa1fe[1179]][_0xa1fe[502]]());this[_0xa1fe[3181]]()};mxEditor[_0xa1fe[202]][_0xa1fe[815]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x2=_0xfc29x2||this[_0xa1fe[3215]]();if(null!=_0xfc29x2&&0<_0xfc29x2[_0xa1fe[67]]){var _0xfc29x4=this[_0xa1fe[3216]](_0xfc29x3);this[_0xa1fe[3217]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[2128]](!1)};this[_0xa1fe[746]]( new mxEventObject(mxEvent.SAVE,_0xa1fe[863],_0xfc29x2))};mxEditor[_0xa1fe[202]][_0xa1fe[3217]]=function(_0xfc29x2,_0xfc29x3){this[_0xa1fe[1070]]&&(_0xfc29x3=encodeURIComponent(_0xfc29x3));mxUtils[_0xa1fe[814]](_0xfc29x2,this[_0xa1fe[3123]]+_0xa1fe[226]+_0xfc29x3,mxUtils[_0xa1fe[885]](this,function(_0xfc29x4){this[_0xa1fe[746]]( new mxEventObject(mxEvent.POST,_0xa1fe[870],_0xfc29x4,_0xa1fe[863],_0xfc29x2,_0xa1fe[410],_0xfc29x3))}))};mxEditor[_0xa1fe[202]][_0xa1fe[3216]]=function(_0xfc29x2){_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:this[_0xa1fe[1069]];var _0xfc29x3=( new mxCodec)[_0xa1fe[514]](this[_0xa1fe[1179]][_0xa1fe[502]]());return mxUtils[_0xa1fe[875]](_0xfc29x3,_0xfc29x2)};mxEditor[_0xa1fe[202]][_0xa1fe[3215]]=function(){return this[_0xa1fe[3124]]};mxEditor[_0xa1fe[202]][_0xa1fe[3142]]=function(){return this[_0xa1fe[3125]]};mxEditor[_0xa1fe[202]][_0xa1fe[807]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;mxClient[_0xa1fe[3101]]||(_0xfc29x9= new mxSession(this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x2,_0xfc29x3,_0xfc29x4),_0xfc29x9[_0xa1fe[169]](mxEvent.RECEIVE,mxUtils[_0xa1fe[885]](this,function(_0xfc29x2,_0xfc29x3){null!=_0xfc29x3[_0xa1fe[720]](_0xa1fe[252])[_0xa1fe[284]](_0xa1fe[1088])&&this[_0xa1fe[3181]]()})),_0xfc29x9[_0xa1fe[169]](mxEvent.DISCONNECT,_0xfc29x5),_0xfc29x9[_0xa1fe[169]](mxEvent.CONNECT,_0xfc29x5),_0xfc29x9[_0xa1fe[169]](mxEvent.NOTIFY,_0xfc29x5),_0xfc29x9[_0xa1fe[169]](mxEvent.GET,_0xfc29x5),_0xfc29x9[_0xa1fe[861]]());return _0xfc29x9};mxEditor[_0xa1fe[202]][_0xa1fe[3218]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[2434]]()[_0xa1fe[2054]][_0xfc29x3];this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[2434]]()[_0xa1fe[2074]](_0xfc29x3,this[_0xa1fe[1179]][_0xa1fe[2434]]()[_0xa1fe[2054]][_0xfc29x2]);this[_0xa1fe[1179]][_0xa1fe[2434]]()[_0xa1fe[2074]](_0xfc29x2,_0xfc29x4);this[_0xa1fe[1179]][_0xa1fe[802]]()};mxEditor[_0xa1fe[202]][_0xa1fe[3150]]=function(_0xfc29x2){_0xfc29x2=_0xfc29x2||this[_0xa1fe[1179]][_0xa1fe[2452]]();null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[2534]](),null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]]()));if(null!=_0xfc29x2){this[_0xa1fe[1179]][_0xa1fe[2126]](!0);var _0xfc29x3=mxUtils[_0xa1fe[445]](this[_0xa1fe[1179]][_0xa1fe[526]]),_0xfc29x4=_0xfc29x3[_0xa1fe[235]]+10,_0xfc29x3=_0xfc29x3[_0xa1fe[236]];if(null!=this[_0xa1fe[716]]&&!this[_0xa1fe[3139]]){_0xfc29x4=this[_0xa1fe[716]][_0xa1fe[730]](),_0xfc29x3=this[_0xa1fe[716]][_0xa1fe[732]]()}else {var _0xfc29x5=this[_0xa1fe[1179]][_0xa1fe[2555]](_0xfc29x2);null!=_0xfc29x5&&(_0xfc29x4+=_0xfc29x5[_0xa1fe[235]]+Math[_0xa1fe[243]](200,_0xfc29x5[_0xa1fe[117]]),_0xfc29x3+=_0xfc29x5[_0xa1fe[236]])};this[_0xa1fe[3062]]();_0xfc29x2=this[_0xa1fe[3219]](_0xfc29x2);null!=_0xfc29x2&&(this[_0xa1fe[716]]= new mxWindow(mxResources[_0xa1fe[203]](this[_0xa1fe[3110]])||this[_0xa1fe[3110]],_0xfc29x2,_0xfc29x4,_0xfc29x3,this[_0xa1fe[3137]],this[_0xa1fe[3138]],!1),this[_0xa1fe[716]][_0xa1fe[175]](!0))}};mxEditor[_0xa1fe[202]][_0xa1fe[3220]]=function(){return null!=this[_0xa1fe[716]]};mxEditor[_0xa1fe[202]][_0xa1fe[3219]]=function(_0xfc29x2){var _0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29x4=_0xfc29x3[_0xa1fe[433]](_0xfc29x2);if(mxUtils[_0xa1fe[1331]](_0xfc29x4)){var _0xfc29x5= new mxForm(_0xa1fe[716]);_0xfc29x5[_0xa1fe[961]](_0xa1fe[3222],_0xfc29x2[_0xa1fe[1103]]())[_0xa1fe[57]](_0xa1fe[3221],_0xa1fe[128]);var _0xfc29x9=null,_0xfc29xa=null,_0xfc29x12=null,_0xfc29x13=null,_0xfc29x14=null;_0xfc29x3[_0xa1fe[1193]](_0xfc29x2)&&(_0xfc29x9=_0xfc29x3[_0xa1fe[1721]](_0xfc29x2),null!=_0xfc29x9&&(_0xfc29xa=_0xfc29x5[_0xa1fe[961]](_0xa1fe[125],_0xfc29x9[_0xa1fe[236]]),_0xfc29x12=_0xfc29x5[_0xa1fe[961]](_0xa1fe[361],_0xfc29x9[_0xa1fe[235]]),_0xfc29x13=_0xfc29x5[_0xa1fe[961]](_0xa1fe[117],_0xfc29x9[_0xa1fe[117]]),_0xfc29x14=_0xfc29x5[_0xa1fe[961]](_0xa1fe[119],_0xfc29x9[_0xa1fe[119]])));for(var _0xfc29x15=_0xfc29x3[_0xa1fe[474]](_0xfc29x2),_0xfc29x16=_0xfc29x5[_0xa1fe[961]](_0xa1fe[3223],_0xfc29x15||_0xa1fe[110]),_0xfc29x17=_0xfc29x4[_0xa1fe[320]],_0xfc29x18=[],_0xfc29x4=0;_0xfc29x4<_0xfc29x17[_0xa1fe[67]];_0xfc29x4++){_0xfc29x18[_0xfc29x4]=_0xfc29x5[_0xa1fe[968]](_0xfc29x17[_0xfc29x4][_0xa1fe[301]],_0xfc29x17[_0xfc29x4][_0xa1fe[318]],_0xa1fe[685]==_0xfc29x17[_0xfc29x4][_0xa1fe[301]]?4:2)};_0xfc29x4=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3062]]();_0xfc29x3[_0xa1fe[473]]();try{null!=_0xfc29x9&&(_0xfc29x9=_0xfc29x9[_0xa1fe[238]](),_0xfc29x9[_0xa1fe[235]]=parseFloat(_0xfc29x12[_0xa1fe[131]]),_0xfc29x9[_0xa1fe[236]]=parseFloat(_0xfc29xa[_0xa1fe[131]]),_0xfc29x9[_0xa1fe[117]]=parseFloat(_0xfc29x13[_0xa1fe[131]]),_0xfc29x9[_0xa1fe[119]]=parseFloat(_0xfc29x14[_0xa1fe[131]]),_0xfc29x3[_0xa1fe[1724]](_0xfc29x2,_0xfc29x9));0<_0xfc29x16[_0xa1fe[131]][_0xa1fe[67]]?_0xfc29x3[_0xa1fe[475]](_0xfc29x2,_0xfc29x16[_0xa1fe[131]]):_0xfc29x3[_0xa1fe[475]](_0xfc29x2,null);for(var _0xfc29x4=0;_0xfc29x4<_0xfc29x17[_0xa1fe[67]];_0xfc29x4++){var _0xfc29x5= new mxCellAttributeChange(_0xfc29x2,_0xfc29x17[_0xfc29x4][_0xa1fe[301]],_0xfc29x18[_0xfc29x4][_0xa1fe[131]]);_0xfc29x3[_0xa1fe[350]](_0xfc29x5)};this[_0xa1fe[1179]][_0xa1fe[2455]](_0xfc29x2)&&this[_0xa1fe[1179]][_0xa1fe[858]](_0xfc29x2)}finally{_0xfc29x3[_0xa1fe[476]]()}});_0xfc29x15=mxUtils[_0xa1fe[885]](this,function(){this[_0xa1fe[3062]]()});_0xfc29x5[_0xa1fe[956]](_0xfc29x4,_0xfc29x15);return _0xfc29x5[_0xa1fe[116]]};return null};mxEditor[_0xa1fe[202]][_0xa1fe[3062]]=function(){null!=this[_0xa1fe[716]]&&(this[_0xa1fe[716]][_0xa1fe[515]](),this[_0xa1fe[716]]=null)};mxEditor[_0xa1fe[202]][_0xa1fe[3175]]=function(){if(null==this[_0xa1fe[3112]]){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[549]]=_0xa1fe[952];_0xfc29x2[_0xa1fe[124]][_0xa1fe[357]]=_0xa1fe[550];var _0xfc29x3=document[_0xa1fe[112]][_0xa1fe[159]],_0xfc29x3= new mxWindow(mxResources[_0xa1fe[203]](this[_0xa1fe[3111]])||this[_0xa1fe[3111]],_0xfc29x2,_0xfc29x3-220,this[_0xa1fe[3132]],200);_0xfc29x3[_0xa1fe[164]](!0);_0xfc29x3[_0xa1fe[165]]= !1;var _0xfc29x4=mxUtils[_0xa1fe[885]](this,function(_0xfc29x3){mxEvent[_0xa1fe[762]](_0xfc29x2);_0xfc29x2[_0xa1fe[339]]=_0xa1fe[110];this[_0xa1fe[3224]](_0xfc29x2)});this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[169]](mxEvent.CHANGE,_0xfc29x4);this[_0xa1fe[1179]][_0xa1fe[2435]]()[_0xa1fe[169]](mxEvent.CHANGE,_0xfc29x4);this[_0xa1fe[1179]][_0xa1fe[169]](mxEvent.ROOT,_0xfc29x4);null!=this[_0xa1fe[3131]]&&_0xfc29x3[_0xa1fe[951]](this[_0xa1fe[3131]]);this[_0xa1fe[3112]]=_0xfc29x3;this[_0xa1fe[3224]](_0xfc29x2)};this[_0xa1fe[3112]][_0xa1fe[175]](!0)};mxEditor[_0xa1fe[202]][_0xa1fe[3225]]=function(_0xfc29x2){null!=this[_0xa1fe[3112]]&&(_0xfc29x2=this[_0xa1fe[3112]][_0xa1fe[905]],mxEvent[_0xa1fe[762]](_0xfc29x2),_0xfc29x2[_0xa1fe[339]]=_0xa1fe[110],this[_0xa1fe[3224]](_0xfc29x2))};mxEditor[_0xa1fe[202]][_0xa1fe[3224]]=function(_0xfc29x2){};mxEditor[_0xa1fe[202]][_0xa1fe[3177]]=function(_0xfc29x2){if(null==this[_0xa1fe[2719]]){var _0xfc29x3=document[_0xa1fe[55]](_0xa1fe[389]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[390],mxResources[_0xa1fe[203]](_0xa1fe[3134])||this[_0xa1fe[3134]]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[119],_0xa1fe[118]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[117],_0xa1fe[118]);_0xfc29x3[_0xa1fe[57]](_0xa1fe[3226],_0xa1fe[468]);_0xfc29x3[_0xa1fe[124]][_0xa1fe[1028]]=_0xa1fe[1391];_0xfc29x2=document[_0xa1fe[112]][_0xa1fe[159]];var _0xfc29x4=document[_0xa1fe[112]][_0xa1fe[157]]||document[_0xa1fe[158]][_0xa1fe[157]],_0xfc29x5= new mxWindow(mxResources[_0xa1fe[203]](this[_0xa1fe[3113]])||this[_0xa1fe[3113]],_0xfc29x3,(_0xfc29x2-this[_0xa1fe[3135]])/2,(_0xfc29x4-this[_0xa1fe[3136]])/3,this[_0xa1fe[3135]],this[_0xa1fe[3136]]);_0xfc29x5[_0xa1fe[161]](!0);_0xfc29x5[_0xa1fe[164]](!0);_0xfc29x5[_0xa1fe[165]]= !1;_0xfc29x5[_0xa1fe[163]](!0);null!=this[_0xa1fe[3133]]&&_0xfc29x5[_0xa1fe[951]](this[_0xa1fe[3133]]);mxClient[_0xa1fe[133]]&&(_0xfc29x2=function(_0xfc29x2){_0xfc29x3[_0xa1fe[57]](_0xa1fe[119],_0xfc29x5[_0xa1fe[485]][_0xa1fe[167]]-26+_0xa1fe[168])},_0xfc29x5[_0xa1fe[169]](mxEvent.RESIZE_END,_0xfc29x2),_0xfc29x5[_0xa1fe[169]](mxEvent.MAXIMIZE,_0xfc29x2),_0xfc29x5[_0xa1fe[169]](mxEvent.NORMALIZE,_0xfc29x2),_0xfc29x5[_0xa1fe[169]](mxEvent.SHOW,_0xfc29x2));this[_0xa1fe[2719]]=_0xfc29x5};this[_0xa1fe[2719]][_0xa1fe[175]](!0)};mxEditor[_0xa1fe[202]][_0xa1fe[3179]]=function(){if(null==this[_0xa1fe[2136]]){var _0xfc29x2=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x2[_0xa1fe[124]][_0xa1fe[277]]=_0xa1fe[188];_0xfc29x2[_0xa1fe[124]][_0xa1fe[117]]=_0xa1fe[118];_0xfc29x2[_0xa1fe[124]][_0xa1fe[119]]=_0xa1fe[118];_0xfc29x2[_0xa1fe[124]][_0xa1fe[1537]]=_0xa1fe[1391];_0xfc29x2[_0xa1fe[124]][_0xa1fe[270]]=_0xa1fe[582];var _0xfc29x3= new mxWindow(mxResources[_0xa1fe[203]](this[_0xa1fe[3114]])||this[_0xa1fe[3114]],_0xfc29x2,600,480,200,200,!1),_0xfc29x4= new mxOutline(this[_0xa1fe[1179]],_0xfc29x2);_0xfc29x3[_0xa1fe[164]](!0);_0xfc29x3[_0xa1fe[163]](!0);_0xfc29x3[_0xa1fe[165]]= !1;_0xfc29x3[_0xa1fe[169]](mxEvent.RESIZE_END,function(){_0xfc29x4[_0xa1fe[2729]]()});this[_0xa1fe[2136]]=_0xfc29x3;this[_0xa1fe[2136]][_0xa1fe[2136]]=_0xfc29x4};this[_0xa1fe[2136]][_0xa1fe[175]](!0);this[_0xa1fe[2136]][_0xa1fe[2136]][_0xa1fe[2729]](!0)};mxEditor[_0xa1fe[202]][_0xa1fe[3086]]=function(_0xfc29x2){_0xa1fe[804]==_0xfc29x2?(this[_0xa1fe[1179]][_0xa1fe[2316]][_0xa1fe[2840]]= !1,this[_0xa1fe[1179]][_0xa1fe[1995]](!1)):_0xa1fe[807]==_0xfc29x2?(this[_0xa1fe[1179]][_0xa1fe[2316]][_0xa1fe[2840]]= !1,this[_0xa1fe[1179]][_0xa1fe[1995]](!0)):_0xa1fe[796]==_0xfc29x2&&(this[_0xa1fe[1179]][_0xa1fe[2316]][_0xa1fe[2840]]= !0,this[_0xa1fe[1179]][_0xa1fe[1995]](!1))};mxEditor[_0xa1fe[202]][_0xa1fe[3195]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){this[_0xa1fe[3094]][_0xa1fe[3065]](this,_0xfc29x2,_0xfc29x3,_0xfc29x4)};mxEditor[_0xa1fe[202]][_0xa1fe[2503]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(null!=this[_0xa1fe[2075]]){_0xfc29x4=this[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[1978]](this[_0xa1fe[2075]])}else {_0xfc29x4= new mxCell(_0xa1fe[110]);_0xfc29x4[_0xa1fe[1994]](!0);var _0xfc29x5= new mxGeometry;_0xfc29x5[_0xa1fe[1500]]= !0;_0xfc29x4[_0xa1fe[1724]](_0xfc29x5)};_0xfc29x5=this[_0xa1fe[2291]]();null!=_0xfc29x5&&_0xfc29x4[_0xa1fe[475]](_0xfc29x5);return _0xfc29x4};mxEditor[_0xa1fe[202]][_0xa1fe[2291]]=function(){return this[_0xa1fe[3119]]};mxEditor[_0xa1fe[202]][_0xa1fe[3227]]=function(_0xfc29x2){return null!=this[_0xa1fe[3093]]&&0<this[_0xa1fe[3093]][_0xa1fe[67]]&&this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x2)?this[_0xa1fe[3093]][this[_0xa1fe[3130]]++ %this[_0xa1fe[3093]][_0xa1fe[67]]]:null};mxEditor[_0xa1fe[202]][_0xa1fe[3228]]=function(_0xfc29x2){if(null!=this[_0xa1fe[3100]]){var _0xfc29x3=this[_0xa1fe[3227]](_0xfc29x2);null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[475]](_0xfc29x2[_0xa1fe[474]]()+_0xa1fe[471]+this[_0xa1fe[3100]]+_0xa1fe[226]+_0xfc29x3)}};mxEditor[_0xa1fe[202]][_0xa1fe[817]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){for(var _0xfc29x9=this[_0xa1fe[1179]][_0xa1fe[502]]();null!=_0xfc29x2&&!this[_0xa1fe[1179]][_0xa1fe[2685]](_0xfc29x2);){_0xfc29x2=_0xfc29x9[_0xa1fe[1197]](_0xfc29x2)};_0xfc29x2=null!=_0xfc29x2?_0xfc29x2:this[_0xa1fe[1179]][_0xa1fe[2461]](_0xfc29x4,_0xfc29x5);var _0xfc29xa=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[255]],_0xfc29x12=_0xfc29x9[_0xa1fe[1721]](_0xfc29x3),_0xfc29x13=_0xfc29x9[_0xa1fe[1721]](_0xfc29x2);if(this[_0xa1fe[1179]][_0xa1fe[1730]](_0xfc29x3)&&!this[_0xa1fe[1179]][_0xa1fe[2412]]){_0xfc29x2=null}else {if(null==_0xfc29x2&&this[_0xa1fe[3116]]){return null};if(null!=_0xfc29x2&&null!=_0xfc29x13){var _0xfc29x14=this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[248]](_0xfc29x2);if(null!=_0xfc29x14){if(_0xfc29x4-=_0xfc29x14[_0xa1fe[2078]][_0xa1fe[235]]*_0xfc29xa,_0xfc29x5-=_0xfc29x14[_0xa1fe[2078]][_0xa1fe[236]]*_0xfc29xa,this[_0xa1fe[1179]][_0xa1fe[3229]]){var _0xfc29x13=_0xfc29x12[_0xa1fe[117]],_0xfc29x15=_0xfc29x12[_0xa1fe[119]],_0xfc29x16=_0xfc29x14[_0xa1fe[235]]+_0xfc29x14[_0xa1fe[117]];_0xfc29x4+_0xfc29x13>_0xfc29x16&&(_0xfc29x4-=_0xfc29x4+_0xfc29x13-_0xfc29x16);_0xfc29x16=_0xfc29x14[_0xa1fe[236]]+_0xfc29x14[_0xa1fe[119]];_0xfc29x5+_0xfc29x15>_0xfc29x16&&(_0xfc29x5-=_0xfc29x5+_0xfc29x15-_0xfc29x16)}}else {null!=_0xfc29x13&&(_0xfc29x4-=_0xfc29x13[_0xa1fe[235]]*_0xfc29xa,_0xfc29x5-=_0xfc29x13[_0xa1fe[236]]*_0xfc29xa)}}};_0xfc29x12=_0xfc29x12[_0xa1fe[238]]();_0xfc29x12[_0xa1fe[235]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x4/_0xfc29xa-this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]][_0xa1fe[235]]-this[_0xa1fe[1179]][_0xa1fe[1020]]/2);_0xfc29x12[_0xa1fe[236]]=this[_0xa1fe[1179]][_0xa1fe[1021]](_0xfc29x5/_0xfc29xa-this[_0xa1fe[1179]][_0xa1fe[249]]()[_0xa1fe[513]][_0xa1fe[236]]-this[_0xa1fe[1179]][_0xa1fe[1020]]/2);_0xfc29x3[_0xa1fe[1724]](_0xfc29x12);null==_0xfc29x2&&(_0xfc29x2=this[_0xa1fe[1179]][_0xa1fe[902]]());this[_0xa1fe[3228]](_0xfc29x3);this[_0xa1fe[746]]( new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,_0xa1fe[1988],_0xfc29x3,_0xa1fe[1101],_0xfc29x2));_0xfc29x9[_0xa1fe[473]]();try{_0xfc29x3=this[_0xa1fe[1179]][_0xa1fe[2103]](_0xfc29x3,_0xfc29x2),null!=_0xfc29x3&&(this[_0xa1fe[1179]][_0xa1fe[2509]](_0xfc29x3),this[_0xa1fe[746]]( new mxEventObject(mxEvent.ADD_VERTEX,_0xa1fe[1988],_0xfc29x3)))}finally{_0xfc29x9[_0xa1fe[476]]()};null!=_0xfc29x3&&(this[_0xa1fe[1179]][_0xa1fe[2450]](_0xfc29x3),this[_0xa1fe[1179]][_0xa1fe[2564]](_0xfc29x3),this[_0xa1fe[746]]( new mxEventObject(mxEvent.AFTER_ADD_VERTEX,_0xa1fe[1988],_0xfc29x3)));return _0xfc29x3};mxEditor[_0xa1fe[202]][_0xa1fe[515]]=function(){this[_0xa1fe[2717]]||(this[_0xa1fe[2717]]= !0,null!=this[_0xa1fe[3112]]&&this[_0xa1fe[3112]][_0xa1fe[515]](),null!=this[_0xa1fe[2136]]&&this[_0xa1fe[2136]][_0xa1fe[515]](),null!=this[_0xa1fe[716]]&&this[_0xa1fe[716]][_0xa1fe[515]](),null!=this[_0xa1fe[3098]]&&this[_0xa1fe[3098]][_0xa1fe[515]](),null!=this[_0xa1fe[3203]]&&this[_0xa1fe[3203]][_0xa1fe[515]](),null!=this[_0xa1fe[3082]]&&this[_0xa1fe[3082]][_0xa1fe[515]](),null!=this[_0xa1fe[1179]]&&this[_0xa1fe[1179]][_0xa1fe[515]](),this[_0xa1fe[3118]]=this[_0xa1fe[879]]=null)};var mxCodecRegistry={codecs:[],aliases:[],register:function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[718]]();mxCodecRegistry[_0xa1fe[3230]][_0xfc29x3]=_0xfc29x2;var _0xfc29x4=mxUtils[_0xa1fe[197]](_0xfc29x2[_0xa1fe[3231]][_0xa1fe[196]]);_0xfc29x4!=_0xfc29x3&&mxCodecRegistry[_0xa1fe[3232]](_0xfc29x4,_0xfc29x3)};return _0xfc29x2},addAlias:function(_0xfc29x2,_0xfc29x3){mxCodecRegistry[_0xa1fe[3233]][_0xfc29x2]=_0xfc29x3},getCodec:function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2){var _0xfc29x3=mxUtils[_0xa1fe[197]](_0xfc29x2),_0xfc29x4=mxCodecRegistry[_0xa1fe[3233]][_0xfc29x3];null!=_0xfc29x4&&(_0xfc29x3=_0xfc29x4);_0xfc29x3=mxCodecRegistry[_0xa1fe[3230]][_0xfc29x3];if(null==_0xfc29x3){try{_0xfc29x3= new mxObjectCodec( new _0xfc29x2),mxCodecRegistry[_0xa1fe[3234]](_0xfc29x3)}catch(d){}}};return _0xfc29x3}};function mxCodec(_0xfc29x2){this[_0xa1fe[395]]=_0xfc29x2||mxUtils[_0xa1fe[306]]();this[_0xa1fe[68]]=[]}mxCodec[_0xa1fe[202]][_0xa1fe[395]]=null;mxCodec[_0xa1fe[202]][_0xa1fe[68]]=null;mxCodec[_0xa1fe[202]][_0xa1fe[3235]]= !1;mxCodec[_0xa1fe[202]][_0xa1fe[1104]]=function(_0xfc29x2,_0xfc29x3){return this[_0xa1fe[68]][_0xfc29x2]=_0xfc29x3};mxCodec[_0xa1fe[202]][_0xa1fe[3236]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[68]][_0xfc29x2],null==_0xfc29x3&&(_0xfc29x3=this[_0xa1fe[1060]](_0xfc29x2),null==_0xfc29x3&&(_0xfc29x2=this[_0xa1fe[1362]](_0xfc29x2),null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[1093]](_0xfc29x2)))));return _0xfc29x3};mxCodec[_0xa1fe[202]][_0xa1fe[1060]]=function(_0xfc29x2){return null};mxCodec[_0xa1fe[202]][_0xa1fe[1362]]=function(_0xfc29x2,_0xfc29x3){return mxUtils[_0xa1fe[290]](this[_0xa1fe[395]][_0xa1fe[158]],null!=_0xfc29x3?_0xfc29x3:_0xa1fe[1363],_0xfc29x2)};mxCodec[_0xa1fe[202]][_0xa1fe[1103]]=function(_0xfc29x2){var _0xfc29x3=null;null!=_0xfc29x2&&(_0xfc29x3=this[_0xa1fe[3237]](_0xfc29x2),null==_0xfc29x3&&_0xfc29x2 instanceof mxCell&&(_0xfc29x3=_0xfc29x2[_0xa1fe[1103]](),null==_0xfc29x3&&(_0xfc29x3=mxCellPath[_0xa1fe[385]](_0xfc29x2),0==_0xfc29x3[_0xa1fe[67]]&&(_0xfc29x3=_0xa1fe[813]))));return _0xfc29x3};mxCodec[_0xa1fe[202]][_0xa1fe[3237]]=function(_0xfc29x2){return null};mxCodec[_0xa1fe[202]][_0xa1fe[514]]=function(_0xfc29x2){var _0xfc29x3=null;if(null!=_0xfc29x2&&null!=_0xfc29x2[_0xa1fe[196]]){var _0xfc29x4=mxCodecRegistry[_0xa1fe[3238]](_0xfc29x2[_0xa1fe[196]]);null!=_0xfc29x4?_0xfc29x3=_0xfc29x4[_0xa1fe[514]](this,_0xfc29x2):mxUtils[_0xa1fe[1331]](_0xfc29x2)?_0xfc29x3=mxClient[_0xa1fe[80]]?_0xfc29x2[_0xa1fe[511]](!0):this[_0xa1fe[395]][_0xa1fe[3239]](_0xfc29x2,!0):mxLog[_0xa1fe[283]](_0xa1fe[3240]+mxUtils[_0xa1fe[197]](_0xfc29x2[_0xa1fe[196]]))};return _0xfc29x3};mxCodec[_0xa1fe[202]][_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=null;if(null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){var _0xfc29x5=null;try{_0xfc29x5=eval(_0xfc29x2[_0xa1fe[301]])}catch(e){};try{var _0xfc29xa=mxCodecRegistry[_0xa1fe[3238]](_0xfc29x5);null!=_0xfc29xa?_0xfc29x4=_0xfc29xa[_0xa1fe[1093]](this,_0xfc29x2,_0xfc29x3):(_0xfc29x4=_0xfc29x2[_0xa1fe[511]](!0),_0xfc29x4[_0xa1fe[1390]](_0xa1fe[3069]))}catch(g){mxLog[_0xa1fe[143]](_0xa1fe[3241]+_0xfc29x2[_0xa1fe[301]]+_0xa1fe[3186]+g[_0xa1fe[281]])}};return _0xfc29x4};mxCodec[_0xa1fe[202]][_0xa1fe[3242]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3[_0xa1fe[62]](this[_0xa1fe[514]](_0xfc29x2));if(null==_0xfc29x4||_0xfc29x4){_0xfc29x4=_0xfc29x2[_0xa1fe[262]]();for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x4;_0xfc29x5++){this[_0xa1fe[3242]](_0xfc29x2[_0xa1fe[263]](_0xfc29x5),_0xfc29x3)}}};mxCodec[_0xa1fe[202]][_0xa1fe[3243]]=function(_0xfc29x2){return null!=_0xfc29x2&&_0xa1fe[279]== typeof _0xfc29x2[_0xa1fe[3243]]?_0xfc29x2[_0xa1fe[3243]]():!1};mxCodec[_0xa1fe[202]][_0xa1fe[3244]]=function(_0xfc29x2,_0xfc29x3){_0xfc29x3=null!=_0xfc29x3?_0xfc29x3:!0;var _0xfc29x4=null;if(null!=_0xfc29x2&&_0xfc29x2[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){_0xfc29x4=mxCodecRegistry[_0xa1fe[3238]](_0xfc29x2[_0xa1fe[301]]);if(!this[_0xa1fe[3243]](_0xfc29x4)){for(var _0xfc29x5=_0xfc29x2[_0xa1fe[285]];null!=_0xfc29x5&&!this[_0xa1fe[3243]](_0xfc29x4);){_0xfc29x4=mxCodecRegistry[_0xa1fe[3238]](_0xfc29x5[_0xa1fe[301]]),_0xfc29x5=_0xfc29x5[_0xa1fe[287]]}};this[_0xa1fe[3243]](_0xfc29x4)||(_0xfc29x4=mxCodecRegistry[_0xa1fe[3238]](mxCell));_0xfc29x4=_0xfc29x4[_0xa1fe[1093]](this,_0xfc29x2);_0xfc29x3&&this[_0xa1fe[3245]](_0xfc29x4)};return _0xfc29x4};mxCodec[_0xa1fe[202]][_0xa1fe[3245]]=function(_0xfc29x2){var _0xfc29x3=_0xfc29x2[_0xa1fe[1101]],_0xfc29x4=_0xfc29x2[_0xa1fe[1709]](!0),_0xfc29x5=_0xfc29x2[_0xa1fe[1709]](!1);_0xfc29x2[_0xa1fe[1957]](null,!1);_0xfc29x2[_0xa1fe[1957]](null,!0);_0xfc29x2[_0xa1fe[1101]]=null;null!=_0xfc29x3&&_0xfc29x3[_0xa1fe[1937]](_0xfc29x2);null!=_0xfc29x4&&_0xfc29x4[_0xa1fe[1960]](_0xfc29x2,!0);null!=_0xfc29x5&&_0xfc29x5[_0xa1fe[1960]](_0xfc29x2,!1)};mxCodec[_0xa1fe[202]][_0xa1fe[57]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null!=_0xfc29x3&&null!=_0xfc29x4&&_0xfc29x2[_0xa1fe[57]](_0xfc29x3,_0xfc29x4)};function mxObjectCodec(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){this[_0xa1fe[3231]]=_0xfc29x2;this[_0xa1fe[3246]]=null!=_0xfc29x3?_0xfc29x3:[];this[_0xa1fe[3247]]=null!=_0xfc29x4?_0xfc29x4:[];this[_0xa1fe[3248]]=null!=_0xfc29x5?_0xfc29x5:[];this[_0xa1fe[3249]]={};for(var _0xfc29x9 in this[_0xa1fe[3248]]){this[_0xa1fe[3249]][this[_0xa1fe[3248]][_0xfc29x9]]=_0xfc29x9}}mxObjectCodec[_0xa1fe[202]][_0xa1fe[3231]]=null;mxObjectCodec[_0xa1fe[202]][_0xa1fe[3246]]=null;mxObjectCodec[_0xa1fe[202]][_0xa1fe[3247]]=null;mxObjectCodec[_0xa1fe[202]][_0xa1fe[3248]]=null;mxObjectCodec[_0xa1fe[202]][_0xa1fe[3249]]=null;mxObjectCodec[_0xa1fe[202]][_0xa1fe[718]]=function(){return mxUtils[_0xa1fe[197]](this[_0xa1fe[3231]][_0xa1fe[196]])};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3250]]=function(){return new this[_0xa1fe[3231]][_0xa1fe[196]]};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3251]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[3249]][_0xfc29x2];null!=_0xfc29x3&&(_0xfc29x2=_0xfc29x3)};return _0xfc29x2};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3252]]=function(_0xfc29x2){if(null!=_0xfc29x2){var _0xfc29x3=this[_0xa1fe[3248]][_0xfc29x2];null!=_0xfc29x3&&(_0xfc29x2=_0xfc29x3)};return _0xfc29x2};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3253]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return _0xfc29x3==mxObjectIdentity[_0xa1fe[195]]||0<=mxUtils[_0xa1fe[2]](this[_0xa1fe[3246]],_0xfc29x3)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3254]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){return 0<=mxUtils[_0xa1fe[2]](this[_0xa1fe[3247]],_0xfc29x3)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](this[_0xa1fe[718]]());_0xfc29x3=this[_0xa1fe[3255]](_0xfc29x2,_0xfc29x3,_0xfc29x4);this[_0xa1fe[3256]](_0xfc29x2,_0xfc29x3,_0xfc29x4);return this[_0xa1fe[3257]](_0xfc29x2,_0xfc29x3,_0xfc29x4)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3256]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2[_0xa1fe[57]](_0xfc29x4,_0xa1fe[1363],_0xfc29x2[_0xa1fe[1103]](_0xfc29x3));for(var _0xfc29x5 in _0xfc29x3){var _0xfc29x9=_0xfc29x5,_0xfc29xa=_0xfc29x3[_0xfc29x9];null!=_0xfc29xa&&!this[_0xa1fe[3253]](_0xfc29x3,_0xfc29x9,_0xfc29xa,!0)&&(mxUtils[_0xa1fe[1946]](_0xfc29x9)&&(_0xfc29x9=null),this[_0xa1fe[3258]](_0xfc29x2,_0xfc29x3,_0xfc29x9,_0xfc29xa,_0xfc29x4))}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3258]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){if(null!=_0xfc29x5){if(this[_0xa1fe[3254]](_0xfc29x3,_0xfc29x4,_0xfc29x5,!0)){var _0xfc29xa=_0xfc29x2[_0xa1fe[1103]](_0xfc29x5);if(null==_0xfc29xa){mxLog[_0xa1fe[283]](_0xa1fe[3259]+this[_0xa1fe[718]]()+_0xa1fe[87]+_0xfc29x4+_0xa1fe[226]+_0xfc29x5);return};_0xfc29x5=_0xfc29xa};_0xfc29xa=this[_0xa1fe[3231]][_0xfc29x4];if(null==_0xfc29x4||_0xfc29x2[_0xa1fe[3235]]||_0xfc29xa!=_0xfc29x5){_0xfc29x4=this[_0xa1fe[3252]](_0xfc29x4),this[_0xa1fe[3260]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)}}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3260]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xa1fe[194]!= typeof _0xfc29x5?this[_0xa1fe[3261]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9):this[_0xa1fe[3262]](_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3261]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x5=this[_0xa1fe[3263]](_0xfc29x5);null==_0xfc29x4?(_0xfc29x3=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](_0xa1fe[99]),_0xa1fe[279]== typeof _0xfc29x5?_0xfc29x3[_0xa1fe[62]](_0xfc29x2[_0xa1fe[395]][_0xa1fe[344]](_0xfc29x5)):_0xfc29x2[_0xa1fe[57]](_0xfc29x3,_0xa1fe[131],_0xfc29x5),_0xfc29x9[_0xa1fe[62]](_0xfc29x3)):_0xa1fe[279]!= typeof _0xfc29x5&&_0xfc29x2[_0xa1fe[57]](_0xfc29x9,_0xfc29x4,_0xfc29x5)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3262]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5,_0xfc29x9){_0xfc29x2=_0xfc29x2[_0xa1fe[514]](_0xfc29x5);null!=_0xfc29x2?(null!=_0xfc29x4&&_0xfc29x2[_0xa1fe[57]](_0xa1fe[3069],_0xfc29x4),_0xfc29x9[_0xa1fe[62]](_0xfc29x2)):mxLog[_0xa1fe[283]](_0xa1fe[3264]+this[_0xa1fe[718]]()+_0xa1fe[87]+_0xfc29x4+_0xa1fe[3186]+_0xfc29x5)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3263]]=function(_0xfc29x2){if(_0xa1fe[82]== typeof _0xfc29x2[_0xa1fe[67]]&&(!0==_0xfc29x2||!1==_0xfc29x2)){_0xfc29x2=!0==_0xfc29x2?_0xa1fe[500]:_0xa1fe[468]};return _0xfc29x2};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3265]]=function(_0xfc29x2){mxUtils[_0xa1fe[1946]](_0xfc29x2)&&(_0xfc29x2=parseFloat(_0xfc29x2));return _0xfc29x2};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3255]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x3};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3257]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x4};mxObjectCodec[_0xa1fe[202]][_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x3[_0xa1fe[284]](_0xa1fe[1363]),_0xfc29x9=_0xfc29x2[_0xa1fe[68]][_0xfc29x5];null==_0xfc29x9&&(_0xfc29x9=_0xfc29x4||this[_0xa1fe[3250]](),null!=_0xfc29x5&&_0xfc29x2[_0xa1fe[1104]](_0xfc29x5,_0xfc29x9));_0xfc29x3=this[_0xa1fe[3266]](_0xfc29x2,_0xfc29x3,_0xfc29x9);this[_0xa1fe[3267]](_0xfc29x2,_0xfc29x3,_0xfc29x9);return this[_0xa1fe[3268]](_0xfc29x2,_0xfc29x3,_0xfc29x9)};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3267]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){null!=_0xfc29x3&&(this[_0xa1fe[3269]](_0xfc29x2,_0xfc29x3,_0xfc29x4),this[_0xa1fe[3270]](_0xfc29x2,_0xfc29x3,_0xfc29x4))};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3269]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x3=_0xfc29x3[_0xa1fe[320]];if(null!=_0xfc29x3){for(var _0xfc29x5=0;_0xfc29x5<_0xfc29x3[_0xa1fe[67]];_0xfc29x5++){this[_0xa1fe[3271]](_0xfc29x2,_0xfc29x3[_0xfc29x5],_0xfc29x4)}}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3271]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=_0xfc29x3[_0xa1fe[301]];if(_0xa1fe[3069]!=_0xfc29x5&&_0xa1fe[1363]!=_0xfc29x5){_0xfc29x3=this[_0xa1fe[3265]](_0xfc29x3[_0xa1fe[318]]);var _0xfc29x9=this[_0xa1fe[3251]](_0xfc29x5);if(this[_0xa1fe[3254]](_0xfc29x4,_0xfc29x9,_0xfc29x3,!1)){_0xfc29x2=_0xfc29x2[_0xa1fe[3236]](_0xfc29x3);if(null==_0xfc29x2){mxLog[_0xa1fe[283]](_0xa1fe[3272]+this[_0xa1fe[718]]()+_0xa1fe[87]+_0xfc29x5+_0xa1fe[226]+_0xfc29x3);return};_0xfc29x3=_0xfc29x2};this[_0xa1fe[3253]](_0xfc29x4,_0xfc29x5,_0xfc29x3,!1)||(_0xfc29x4[_0xfc29x5]=_0xfc29x3)}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3270]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){for(_0xfc29x3=_0xfc29x3[_0xa1fe[285]];null!=_0xfc29x3;){var _0xfc29x5=_0xfc29x3[_0xa1fe[287]];_0xfc29x3[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&!this[_0xa1fe[3273]](_0xfc29x2,_0xfc29x3,_0xfc29x4)&&this[_0xa1fe[3274]](_0xfc29x2,_0xfc29x3,_0xfc29x4);_0xfc29x3=_0xfc29x5}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3274]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){var _0xfc29x5=this[_0xa1fe[3251]](_0xfc29x3[_0xa1fe[284]](_0xa1fe[3069]));if(null==_0xfc29x5||!this[_0xa1fe[3253]](_0xfc29x4,_0xfc29x5,_0xfc29x3,!1)){var _0xfc29x9=this[_0xa1fe[3275]](_0xfc29x4,_0xfc29x5,_0xfc29x3),_0xfc29xa=null;_0xa1fe[99]==_0xfc29x3[_0xa1fe[301]]?(_0xfc29xa=_0xfc29x3[_0xa1fe[284]](_0xa1fe[131]),null==_0xfc29xa&&(_0xfc29xa=mxUtils[_0xa1fe[1545]](mxUtils[_0xa1fe[329]](_0xfc29x3)))):_0xfc29xa=_0xfc29x2[_0xa1fe[1093]](_0xfc29x3,_0xfc29x9);this[_0xa1fe[3276]](_0xfc29x4,_0xfc29x5,_0xfc29xa,_0xfc29x9)}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3275]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){_0xfc29x2=_0xfc29x2[_0xfc29x3];_0xfc29x2 instanceof Array&&0<_0xfc29x2[_0xa1fe[67]]&&(_0xfc29x2=null);return _0xfc29x2};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3276]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4,_0xfc29x5){null!=_0xfc29x4&&_0xfc29x4!=_0xfc29x5&&(null!=_0xfc29x3&&0<_0xfc29x3[_0xa1fe[67]]?_0xfc29x2[_0xfc29x3]=_0xfc29x4:_0xfc29x2[_0xa1fe[207]](_0xfc29x4))};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3273]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){if(_0xa1fe[3277]==_0xfc29x3[_0xa1fe[301]]){_0xfc29x3=_0xfc29x3[_0xa1fe[284]](_0xa1fe[298]);if(null!=_0xfc29x3){try{var _0xfc29x5=mxUtils[_0xa1fe[219]](_0xfc29x3)[_0xa1fe[874]]();null!=_0xfc29x5&&_0xfc29x2[_0xa1fe[1093]](_0xfc29x5,_0xfc29x4)}catch(e){}};return !0};return !1};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3266]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x3};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x3,_0xfc29x4){return _0xfc29x4};mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxCell,[_0xa1fe[1954],_0xa1fe[1842],_0xa1fe[1211],_0xa1fe[1991]],[_0xa1fe[1101],_0xa1fe[1097],_0xa1fe[772]]);_0xfc29x2[_0xa1fe[3243]]=function(){return !0};_0xfc29x2[_0xa1fe[3253]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9){return mxObjectCodec[_0xa1fe[202]][_0xa1fe[3253]][_0xa1fe[183]](this,arguments)||_0xfc29x9&&_0xa1fe[131]==_0xfc29x4&&_0xfc29x5[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]};_0xfc29x2[_0xa1fe[3257]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x4[_0xa1fe[131]]&&_0xfc29x4[_0xa1fe[131]][_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){var _0xfc29x9=_0xfc29x5;_0xfc29x5=mxClient[_0xa1fe[80]]?_0xfc29x4[_0xa1fe[131]][_0xa1fe[511]](!0):_0xfc29x2[_0xa1fe[395]][_0xa1fe[3239]](_0xfc29x4[_0xa1fe[131]],!0);_0xfc29x5[_0xa1fe[62]](_0xfc29x9);_0xfc29x2=_0xfc29x9[_0xa1fe[284]](_0xa1fe[1363]);_0xfc29x5[_0xa1fe[57]](_0xa1fe[1363],_0xfc29x2);_0xfc29x9[_0xa1fe[1390]](_0xa1fe[1363])};return _0xfc29x5};_0xfc29x2[_0xa1fe[3266]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x4,_0xfc29xa=this[_0xa1fe[718]]();_0xfc29x4[_0xa1fe[301]]!=_0xfc29xa?(_0xfc29x9=_0xfc29x4[_0xa1fe[64]](_0xfc29xa)[0],null!=_0xfc29x9&&_0xfc29x9[_0xa1fe[265]]==_0xfc29x4?(mxUtils[_0xa1fe[3278]](_0xfc29x9,!0),mxUtils[_0xa1fe[3278]](_0xfc29x9,!1),_0xfc29x9[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x9)):_0xfc29x9=null,_0xfc29x5[_0xa1fe[131]]=_0xfc29x4[_0xa1fe[511]](!0),_0xfc29x4=_0xfc29x5[_0xa1fe[131]][_0xa1fe[284]](_0xa1fe[1363]),null!=_0xfc29x4&&(_0xfc29x5[_0xa1fe[1945]](_0xfc29x4),_0xfc29x5[_0xa1fe[131]][_0xa1fe[1390]](_0xa1fe[1363]))):_0xfc29x5[_0xa1fe[1945]](_0xfc29x4[_0xa1fe[284]](_0xa1fe[1363]));if(null!=_0xfc29x9){for(_0xfc29x4=0;_0xfc29x4<this[_0xa1fe[3247]][_0xa1fe[67]];_0xfc29x4++){var _0xfc29xa=this[_0xa1fe[3247]][_0xfc29x4],_0xfc29x12=_0xfc29x9[_0xa1fe[284]](_0xfc29xa);if(null!=_0xfc29x12){_0xfc29x9[_0xa1fe[1390]](_0xfc29xa);var _0xfc29x13=_0xfc29x2[_0xa1fe[68]][_0xfc29x12]||_0xfc29x2[_0xa1fe[1060]](_0xfc29x12);null==_0xfc29x13&&(_0xfc29x12=_0xfc29x2[_0xa1fe[1362]](_0xfc29x12),null!=_0xfc29x12&&(_0xfc29x13=(mxCodecRegistry[_0xa1fe[3230]][_0xfc29x12[_0xa1fe[301]]]||this)[_0xa1fe[1093]](_0xfc29x2,_0xfc29x12)));_0xfc29x5[_0xfc29xa]=_0xfc29x13}}};return _0xfc29x9};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxGraphModel);_0xfc29x2[_0xa1fe[3256]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](_0xa1fe[813]);_0xfc29x2[_0xa1fe[3242]](_0xfc29x4[_0xa1fe[501]](),_0xfc29x9);_0xfc29x5[_0xa1fe[62]](_0xfc29x9)};_0xfc29x2[_0xa1fe[3274]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xa1fe[813]==_0xfc29x4[_0xa1fe[301]]?this[_0xa1fe[3279]](_0xfc29x2,_0xfc29x4,_0xfc29x5):mxObjectCodec[_0xa1fe[202]][_0xa1fe[3274]][_0xa1fe[183]](this,arguments)};_0xfc29x2[_0xa1fe[3279]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){var _0xfc29x9=null;for(_0xfc29x4=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x4;){var _0xfc29xa=_0xfc29x2[_0xa1fe[3244]](_0xfc29x4);null!=_0xfc29xa&&null==_0xfc29xa[_0xa1fe[1197]]()&&(_0xfc29x9=_0xfc29xa);_0xfc29x4=_0xfc29x4[_0xa1fe[287]]};null!=_0xfc29x9&&_0xfc29x5[_0xa1fe[1927]](_0xfc29x9)};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxRootChange,[_0xa1fe[251],_0xa1fe[257],_0xa1fe[813]]);_0xfc29x2[_0xa1fe[3257]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x2[_0xa1fe[3242]](_0xfc29x4[_0xa1fe[813]],_0xfc29x5);return _0xfc29x5};_0xfc29x2[_0xa1fe[3266]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x4[_0xa1fe[285]]&&_0xfc29x4[_0xa1fe[285]][_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){_0xfc29x4=_0xfc29x4[_0xa1fe[511]](!0);var _0xfc29x9=_0xfc29x4[_0xa1fe[285]];_0xfc29x5[_0xa1fe[813]]=_0xfc29x2[_0xa1fe[3244]](_0xfc29x9,!1);_0xfc29x5=_0xfc29x9[_0xa1fe[287]];_0xfc29x9[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x9);for(_0xfc29x9=_0xfc29x5;null!=_0xfc29x9;){_0xfc29x5=_0xfc29x9[_0xa1fe[287]],_0xfc29x2[_0xa1fe[3244]](_0xfc29x9),_0xfc29x9[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x9),_0xfc29x9=_0xfc29x5}};return _0xfc29x4};_0xfc29x2[_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x5[_0xa1fe[257]]=_0xfc29x5[_0xa1fe[813]];return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxChildChange,[_0xa1fe[251],_0xa1fe[247],_0xa1fe[1982]],[_0xa1fe[1101],_0xa1fe[257]]);_0xfc29x2[_0xa1fe[3254]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5,_0xfc29x9){return _0xa1fe[247]==_0xfc29x4&&(null!=_0xfc29x2[_0xa1fe[257]]|| !_0xfc29x9)?!0:0<=mxUtils[_0xa1fe[2]](this[_0xa1fe[3247]],_0xfc29x4)};_0xfc29x2[_0xa1fe[3257]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){this[_0xa1fe[3254]](_0xfc29x4,_0xa1fe[247],_0xfc29x4[_0xa1fe[247]],!0)?_0xfc29x5[_0xa1fe[57]](_0xa1fe[247],_0xfc29x2[_0xa1fe[1103]](_0xfc29x4[_0xa1fe[247]])):_0xfc29x2[_0xa1fe[3242]](_0xfc29x4[_0xa1fe[247]],_0xfc29x5);return _0xfc29x5};_0xfc29x2[_0xa1fe[3266]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x4[_0xa1fe[285]]&&_0xfc29x4[_0xa1fe[285]][_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){_0xfc29x4=_0xfc29x4[_0xa1fe[511]](!0);var _0xfc29x9=_0xfc29x4[_0xa1fe[285]];_0xfc29x5[_0xa1fe[247]]=_0xfc29x2[_0xa1fe[3244]](_0xfc29x9,!1);_0xfc29x5=_0xfc29x9[_0xa1fe[287]];_0xfc29x9[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x9);for(_0xfc29x9=_0xfc29x5;null!=_0xfc29x9;){_0xfc29x5=_0xfc29x9[_0xa1fe[287]];if(_0xfc29x9[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){var _0xfc29xa=_0xfc29x9[_0xa1fe[284]](_0xa1fe[1363]);null==_0xfc29x2[_0xa1fe[1060]](_0xfc29xa)&&_0xfc29x2[_0xa1fe[3244]](_0xfc29x9)};_0xfc29x9[_0xa1fe[265]][_0xa1fe[266]](_0xfc29x9);_0xfc29x9=_0xfc29x5}}else {_0xfc29x9=_0xfc29x4[_0xa1fe[284]](_0xa1fe[247]),_0xfc29x5[_0xa1fe[247]]=_0xfc29x2[_0xa1fe[3236]](_0xfc29x9)};return _0xfc29x4};_0xfc29x2[_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x5[_0xa1fe[247]][_0xa1fe[1101]]=_0xfc29x5[_0xa1fe[257]];_0xfc29x5[_0xa1fe[257]]=_0xfc29x5[_0xa1fe[1101]];_0xfc29x5[_0xa1fe[1982]]=_0xfc29x5[_0xa1fe[1983]];return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxTerminalChange,[_0xa1fe[251],_0xa1fe[257]],[_0xa1fe[246],_0xa1fe[1984]]);_0xfc29x2[_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x5[_0xa1fe[257]]=_0xfc29x5[_0xa1fe[1984]];return _0xfc29x5};return _0xfc29x2}());var mxGenericChangeCodec=function(_0xfc29x2,_0xfc29x3){var _0xfc29x4= new mxObjectCodec(_0xfc29x2,[_0xa1fe[251],_0xa1fe[257]],[_0xa1fe[246]]);_0xfc29x4[_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x4,_0xfc29xa){mxUtils[_0xa1fe[1331]](_0xfc29xa[_0xa1fe[246]])&&(_0xfc29xa[_0xa1fe[246]]=_0xfc29x2[_0xa1fe[3244]](_0xfc29xa[_0xa1fe[246]],!1));_0xfc29xa[_0xa1fe[257]]=_0xfc29xa[_0xfc29x3];return _0xfc29xa};return _0xfc29x4};mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxValueChange,_0xa1fe[131]));mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxStyleChange,_0xa1fe[124]));mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxGeometryChange,_0xa1fe[256]));mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxCollapseChange,_0xa1fe[1985]));mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxVisibleChange,_0xa1fe[189]));mxCodecRegistry[_0xa1fe[3234]](mxGenericChangeCodec( new mxCellAttributeChange,_0xa1fe[131]));mxCodecRegistry[_0xa1fe[3234]](function(){return new mxObjectCodec( new mxGraph,_0xa1fe[3280][_0xa1fe[224]](_0xa1fe[185]))}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxGraphView);_0xfc29x2[_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x4){return this[_0xa1fe[3242]](_0xfc29x2,_0xfc29x4,_0xfc29x4[_0xa1fe[1179]][_0xa1fe[502]]()[_0xa1fe[501]]())};_0xfc29x2[_0xa1fe[3242]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x4[_0xa1fe[1179]][_0xa1fe[502]](),_0xfc29xa=_0xfc29x4[_0xa1fe[248]](_0xfc29x5),_0xfc29x12=_0xfc29x9[_0xa1fe[1197]](_0xfc29x5);if(null==_0xfc29x12||null!=_0xfc29xa){var _0xfc29x13=_0xfc29x9[_0xa1fe[262]](_0xfc29x5),_0xfc29x14=_0xfc29x4[_0xa1fe[1179]][_0xa1fe[1198]](_0xfc29x5),_0xfc29x15=null;_0xfc29x12==_0xfc29x9[_0xa1fe[501]]()?_0xfc29x15=_0xa1fe[3281]:null==_0xfc29x12?_0xfc29x15=_0xa1fe[1179]:_0xfc29x9[_0xa1fe[250]](_0xfc29x5)?_0xfc29x15=_0xa1fe[1989]:0<_0xfc29x13&&null!=_0xfc29x14?_0xfc29x15=_0xa1fe[1504]:_0xfc29x9[_0xa1fe[1193]](_0xfc29x5)&&(_0xfc29x15=_0xa1fe[1988]);if(null!=_0xfc29x15){var _0xfc29x16=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](_0xfc29x15);null!=_0xfc29x4[_0xa1fe[1179]][_0xa1fe[2183]](_0xfc29x5)&&(_0xfc29x16[_0xa1fe[57]](_0xa1fe[685],_0xfc29x4[_0xa1fe[1179]][_0xa1fe[2183]](_0xfc29x5)),_0xfc29x4[_0xa1fe[1179]][_0xa1fe[2186]](_0xfc29x5)&&_0xfc29x16[_0xa1fe[57]](_0xa1fe[1428],!0));if(null==_0xfc29x12){var _0xfc29x17=_0xfc29x4[_0xa1fe[517]]();null!=_0xfc29x17&&(_0xfc29x16[_0xa1fe[57]](_0xa1fe[235],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[235]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[236],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[236]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[117],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[117]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[119],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[119]])));_0xfc29x16[_0xa1fe[57]](_0xa1fe[255],_0xfc29x4[_0xa1fe[255]])}else {if(null!=_0xfc29xa&&null!=_0xfc29x14){for(_0xfc29x17 in _0xfc29xa[_0xa1fe[124]]){_0xfc29x12=_0xfc29xa[_0xa1fe[124]][_0xfc29x17],_0xa1fe[279]== typeof _0xfc29x12&&_0xa1fe[194]== typeof _0xfc29x12&&(_0xfc29x12=mxStyleRegistry[_0xa1fe[718]](_0xfc29x12)),null!=_0xfc29x12&&(_0xa1fe[279]!= typeof _0xfc29x12&&_0xa1fe[194]!= typeof _0xfc29x12)&&_0xfc29x16[_0xa1fe[57]](_0xfc29x17,_0xfc29x12)};_0xfc29x12=_0xfc29xa[_0xa1fe[439]];if(null!=_0xfc29x12&&0<_0xfc29x12[_0xa1fe[67]]){_0xfc29x14=Math[_0xa1fe[488]](_0xfc29x12[0][_0xa1fe[235]])+_0xa1fe[537]+Math[_0xa1fe[488]](_0xfc29x12[0][_0xa1fe[236]]);for(_0xfc29x17=1;_0xfc29x17<_0xfc29x12[_0xa1fe[67]];_0xfc29x17++){_0xfc29x14+=_0xa1fe[185]+Math[_0xa1fe[488]](_0xfc29x12[_0xfc29x17][_0xa1fe[235]])+_0xa1fe[537]+Math[_0xa1fe[488]](_0xfc29x12[_0xfc29x17][_0xa1fe[236]])};_0xfc29x16[_0xa1fe[57]](_0xa1fe[1525],_0xfc29x14)}else {_0xfc29x16[_0xa1fe[57]](_0xa1fe[235],Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[235]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[236],Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[236]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[117],Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[117]])),_0xfc29x16[_0xa1fe[57]](_0xa1fe[119],Math[_0xa1fe[488]](_0xfc29xa[_0xa1fe[119]]))};_0xfc29x17=_0xfc29xa[_0xa1fe[2079]];null!=_0xfc29x17&&(0!=_0xfc29x17[_0xa1fe[235]]&&_0xfc29x16[_0xa1fe[57]](_0xa1fe[1126],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[235]])),0!=_0xfc29x17[_0xa1fe[236]]&&_0xfc29x16[_0xa1fe[57]](_0xa1fe[1125],Math[_0xa1fe[488]](_0xfc29x17[_0xa1fe[236]])))}};for(_0xfc29x17=0;_0xfc29x17<_0xfc29x13;_0xfc29x17++){_0xfc29xa=this[_0xa1fe[3242]](_0xfc29x2,_0xfc29x4,_0xfc29x9[_0xa1fe[263]](_0xfc29x5,_0xfc29x17)),null!=_0xfc29xa&&_0xfc29x16[_0xa1fe[62]](_0xfc29xa)}}};return _0xfc29x16};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxStylesheet);_0xfc29x2[_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x4){var _0xfc29x5=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](this[_0xa1fe[718]]()),_0xfc29x9;for(_0xfc29x9 in _0xfc29x4[_0xa1fe[2054]]){var _0xfc29xa=_0xfc29x4[_0xa1fe[2054]][_0xfc29x9],_0xfc29x12=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](_0xa1fe[99]);if(null!=_0xfc29x9){_0xfc29x12[_0xa1fe[57]](_0xa1fe[3069],_0xfc29x9);for(var _0xfc29x13 in _0xfc29xa){var _0xfc29x14=this[_0xa1fe[3282]](_0xfc29x13,_0xfc29xa[_0xfc29x13]);if(null!=_0xfc29x14){var _0xfc29x15=_0xfc29x2[_0xa1fe[395]][_0xa1fe[55]](_0xa1fe[99]);_0xfc29x15[_0xa1fe[57]](_0xa1fe[131],_0xfc29x14);_0xfc29x15[_0xa1fe[57]](_0xa1fe[3069],_0xfc29x13);_0xfc29x12[_0xa1fe[62]](_0xfc29x15)}};0<_0xfc29x12[_0xa1fe[271]][_0xa1fe[67]]&&_0xfc29x5[_0xa1fe[62]](_0xfc29x12)}};return _0xfc29x5};_0xfc29x2[_0xa1fe[3282]]=function(_0xfc29x2,_0xfc29x4){var _0xfc29x5= typeof _0xfc29x4;_0xa1fe[279]==_0xfc29x5?_0xfc29x4=mxStyleRegistry[_0xa1fe[718]](style[j]):_0xa1fe[194]==_0xfc29x5&&(_0xfc29x4=null);return _0xfc29x4};_0xfc29x2[_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x5=_0xfc29x5|| new this[_0xa1fe[3231]][_0xa1fe[196]];var _0xfc29x9=_0xfc29x4[_0xa1fe[284]](_0xa1fe[1363]);null!=_0xfc29x9&&(_0xfc29x2[_0xa1fe[68]][_0xfc29x9]=_0xfc29x5);for(_0xfc29x4=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x4;){if(!this[_0xa1fe[3273]](_0xfc29x2,_0xfc29x4,_0xfc29x5)&&_0xa1fe[99]==_0xfc29x4[_0xa1fe[301]]&&(_0xfc29x9=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3069]),null!=_0xfc29x9)){var _0xfc29xa=_0xfc29x4[_0xa1fe[284]](_0xa1fe[1284]),_0xfc29x12=null!=_0xfc29xa?mxUtils[_0xa1fe[238]](_0xfc29x5[_0xa1fe[2054]][_0xfc29xa]):null;null==_0xfc29x12&&(null!=_0xfc29xa&&mxLog[_0xa1fe[283]](_0xa1fe[3283]+_0xfc29xa+_0xa1fe[3284]),_0xfc29x12={});for(_0xfc29xa=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29xa;){if(_0xfc29xa[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]){var _0xfc29x13=_0xfc29xa[_0xa1fe[284]](_0xa1fe[3069]);if(_0xa1fe[99]==_0xfc29xa[_0xa1fe[301]]){var _0xfc29x14=mxUtils[_0xa1fe[329]](_0xfc29xa),_0xfc29x15=null;null!=_0xfc29x14&&0<_0xfc29x14[_0xa1fe[67]]?_0xfc29x15=mxUtils[_0xa1fe[1545]](_0xfc29x14):(_0xfc29x15=_0xfc29xa[_0xa1fe[284]](_0xa1fe[131]),mxUtils[_0xa1fe[1946]](_0xfc29x15)&&(_0xfc29x15=parseFloat(_0xfc29x15)));null!=_0xfc29x15&&(_0xfc29x12[_0xfc29x13]=_0xfc29x15)}else {_0xa1fe[205]==_0xfc29xa[_0xa1fe[301]]&& delete _0xfc29x12[_0xfc29x13]}};_0xfc29xa=_0xfc29xa[_0xa1fe[287]]};_0xfc29x5[_0xa1fe[2074]](_0xfc29x9,_0xfc29x12)};_0xfc29x4=_0xfc29x4[_0xa1fe[287]]};return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxDefaultKeyHandler);_0xfc29x2[_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x4){return null};_0xfc29x2[_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x5){for(_0xfc29x4=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x4;){if(!this[_0xa1fe[3273]](_0xfc29x2,_0xfc29x4,_0xfc29x5)&&_0xa1fe[99]==_0xfc29x4[_0xa1fe[301]]){var _0xfc29x9=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3069]),_0xfc29xa=_0xfc29x4[_0xa1fe[284]](_0xa1fe[892]),_0xfc29x12=_0xfc29x4[_0xa1fe[284]](_0xa1fe[2207]);_0xfc29x5[_0xa1fe[3063]](_0xfc29x9,_0xfc29xa,_0xfc29x12)};_0xfc29x4=_0xfc29x4[_0xa1fe[287]]}};return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxDefaultToolbar);_0xfc29x2[_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x4){return null};_0xfc29x2[_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(null!=_0xfc29x5){var _0xfc29x9=_0xfc29x5[_0xa1fe[3061]];for(_0xfc29x4=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x4;){if(_0xfc29x4[_0xa1fe[288]]==mxConstants[_0xa1fe[289]]&&!this[_0xa1fe[3273]](_0xfc29x2,_0xfc29x4,_0xfc29x5)){if(_0xa1fe[3072]==_0xfc29x4[_0xa1fe[301]]){_0xfc29x5[_0xa1fe[1051]]()}else {if(_0xa1fe[345]==_0xfc29x4[_0xa1fe[301]]){_0xfc29x5[_0xa1fe[3082]][_0xa1fe[1052]]()}else {if(_0xa1fe[1054]==_0xfc29x4[_0xa1fe[301]]){_0xfc29x5[_0xa1fe[3082]][_0xa1fe[1053]]()}else {if(_0xa1fe[99]==_0xfc29x4[_0xa1fe[301]]){var _0xfc29xa=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3069]),_0xfc29xa=mxResources[_0xa1fe[203]](_0xfc29xa)||_0xfc29xa,_0xfc29x12=_0xfc29x4[_0xa1fe[284]](_0xa1fe[2916]),_0xfc29x13=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3285]),_0xfc29x14=_0xfc29x4[_0xa1fe[284]](_0xa1fe[892]),_0xfc29x15=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3286]),_0xfc29x16=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3231]),_0xfc29x17=_0xa1fe[468]!=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3287]),_0xfc29x18=mxUtils[_0xa1fe[329]](_0xfc29x4),_0xfc29x19=null;if(null!=_0xfc29x14){_0xfc29x19=_0xfc29x5[_0xa1fe[1025]](_0xfc29xa,_0xfc29x12,_0xfc29x14,_0xfc29x13)}else {if(null!=_0xfc29x15){var _0xfc29x1a=mxUtils[_0xa1fe[1545]](_0xfc29x18),_0xfc29x19=_0xfc29x5[_0xa1fe[1048]](_0xfc29xa,_0xfc29x12,_0xfc29x15,_0xfc29x13,_0xfc29x1a)}else {if(null!=_0xfc29x16||null!=_0xfc29x18&&0<_0xfc29x18[_0xa1fe[67]]){_0xfc29x19=_0xfc29x9[_0xa1fe[3118]][_0xfc29x16],_0xfc29x16=_0xfc29x4[_0xa1fe[284]](_0xa1fe[124]),null!=_0xfc29x19&&null!=_0xfc29x16&&(_0xfc29x19=_0xfc29x19[_0xa1fe[238]](),_0xfc29x19[_0xa1fe[475]](_0xfc29x16)),_0xfc29x16=null,null!=_0xfc29x18&&0<_0xfc29x18[_0xa1fe[67]]&&(_0xfc29x16=mxUtils[_0xa1fe[1545]](_0xfc29x18)),_0xfc29x19=_0xfc29x5[_0xa1fe[3087]](_0xfc29xa,_0xfc29x12,_0xfc29x19,_0xfc29x13,_0xfc29x16,_0xfc29x17)}else {if(_0xfc29x13=mxUtils[_0xa1fe[1540]](_0xfc29x4),0<_0xfc29x13[_0xa1fe[67]]){if(null==_0xfc29x12){_0xfc29x16=_0xfc29x5[_0xa1fe[1038]](_0xfc29xa);for(_0xfc29xa=0;_0xfc29xa<_0xfc29x13[_0xa1fe[67]];_0xfc29xa++){_0xfc29x17=_0xfc29x13[_0xfc29xa],_0xa1fe[3072]==_0xfc29x17[_0xa1fe[301]]?_0xfc29x5[_0xa1fe[972]](_0xfc29x16,_0xa1fe[3288]):_0xa1fe[99]==_0xfc29x17[_0xa1fe[301]]&&(_0xfc29x12=_0xfc29x17[_0xa1fe[284]](_0xa1fe[3069]),_0xfc29x17=_0xfc29x17[_0xa1fe[284]](_0xa1fe[892]),_0xfc29x5[_0xa1fe[3085]](_0xfc29x16,_0xfc29x12,_0xfc29x17))}}else {var _0xfc29x1b=null,_0xfc29x1c=_0xfc29x5[_0xa1fe[3087]](_0xfc29xa,_0xfc29x12,function(){var _0xfc29x2=_0xfc29x9[_0xa1fe[3118]][_0xfc29x1b[_0xa1fe[131]]];if(null!=_0xfc29x2){var _0xfc29x2=_0xfc29x2[_0xa1fe[238]](),_0xfc29x3=_0xfc29x1b[_0xa1fe[1040]][_0xfc29x1b[_0xa1fe[1039]]][_0xa1fe[3289]];null!=_0xfc29x3&&_0xfc29x2[_0xa1fe[475]](_0xfc29x3);return _0xfc29x2};mxLog[_0xa1fe[283]](_0xa1fe[3290]+_0xfc29x2+_0xa1fe[3291]);return null},null,null,_0xfc29x17),_0xfc29x1b=_0xfc29x5[_0xa1fe[970]]();mxEvent[_0xa1fe[169]](_0xfc29x1b,_0xa1fe[826],function(){_0xfc29x5[_0xa1fe[3082]][_0xa1fe[1047]](_0xfc29x1c,function(_0xfc29x2){_0xfc29x2=mxUtils[_0xa1fe[2196]](_0xfc29x9[_0xa1fe[1179]][_0xa1fe[526]],mxEvent[_0xa1fe[731]](_0xfc29x2),mxEvent[_0xa1fe[733]](_0xfc29x2));return _0xfc29x9[_0xa1fe[817]](null,_0xfc29x1a(),_0xfc29x2[_0xa1fe[235]],_0xfc29x2[_0xa1fe[236]])});_0xfc29x5[_0xa1fe[3082]][_0xa1fe[1023]]= !1});for(_0xfc29xa=0;_0xfc29xa<_0xfc29x13[_0xa1fe[67]];_0xfc29xa++){_0xfc29x17=_0xfc29x13[_0xfc29xa],_0xa1fe[3072]==_0xfc29x17[_0xa1fe[301]]?_0xfc29x5[_0xa1fe[972]](_0xfc29x1b,_0xa1fe[3288]):_0xa1fe[99]==_0xfc29x17[_0xa1fe[301]]&&(_0xfc29x12=_0xfc29x17[_0xa1fe[284]](_0xa1fe[3069]),_0xfc29x18=_0xfc29x17[_0xa1fe[284]](_0xa1fe[3231]),_0xfc29x5[_0xa1fe[972]](_0xfc29x1b,_0xfc29x12,_0xfc29x18||_0xfc29x16)[_0xa1fe[3289]]=_0xfc29x17[_0xa1fe[284]](_0xa1fe[124]))}}}}}};null!=_0xfc29x19&&(_0xfc29x16=_0xfc29x4[_0xa1fe[284]](_0xa1fe[1363]),null!=_0xfc29x16&&0<_0xfc29x16[_0xa1fe[67]]&&_0xfc29x19[_0xa1fe[57]](_0xa1fe[1363],_0xfc29x16))}}}}};_0xfc29x4=_0xfc29x4[_0xa1fe[287]]}};return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxDefaultPopupMenu);_0xfc29x2[_0xa1fe[514]]=function(_0xfc29x2,_0xfc29x4){return null};_0xfc29x2[_0xa1fe[1093]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){var _0xfc29x9=_0xfc29x4[_0xa1fe[64]](_0xa1fe[3277])[0];null!=_0xfc29x9?this[_0xa1fe[3273]](_0xfc29x2,_0xfc29x9,_0xfc29x5):null!=_0xfc29x5&&(_0xfc29x5[_0xa1fe[3064]]=_0xfc29x4);return _0xfc29x5};return _0xfc29x2}());mxCodecRegistry[_0xa1fe[3234]](function(){var _0xfc29x2= new mxObjectCodec( new mxEditor,_0xa1fe[3292][_0xa1fe[224]](_0xa1fe[185]));_0xfc29x2[_0xa1fe[3268]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){_0xfc29x2=_0xfc29x4[_0xa1fe[284]](_0xa1fe[2075]);null!=_0xfc29x2&&(_0xfc29x4[_0xa1fe[1390]](_0xa1fe[2075]),_0xfc29x5[_0xa1fe[2075]]=_0xfc29x5[_0xa1fe[3118]][_0xfc29x2]);_0xfc29x2=_0xfc29x4[_0xa1fe[284]](_0xa1fe[3120]);null!=_0xfc29x2&&(_0xfc29x4[_0xa1fe[1390]](_0xa1fe[3120]),_0xfc29x5[_0xa1fe[3120]]=_0xfc29x5[_0xa1fe[3118]][_0xfc29x2]);return _0xfc29x5};_0xfc29x2[_0xa1fe[3274]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){if(_0xa1fe[3293]==_0xfc29x4[_0xa1fe[301]]){if(_0xa1fe[3118]==_0xfc29x4[_0xa1fe[284]](_0xa1fe[3069])){this[_0xa1fe[3294]](_0xfc29x2,_0xfc29x4,_0xfc29x5);return}}else {if(_0xa1fe[3295]==_0xfc29x4[_0xa1fe[301]]){this[_0xa1fe[3296]](_0xfc29x2,_0xfc29x4,_0xfc29x5);return}};mxObjectCodec[_0xa1fe[202]][_0xa1fe[3274]][_0xa1fe[183]](this,arguments)};_0xfc29x2[_0xa1fe[3296]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){for(_0xfc29x2=_0xfc29x4[_0xa1fe[285]];null!=_0xfc29x2;){if(_0xa1fe[99]==_0xfc29x2[_0xa1fe[301]]){_0xfc29x4=_0xfc29x2[_0xa1fe[284]](_0xa1fe[3069]);var _0xfc29x9=_0xfc29x2[_0xa1fe[284]](_0xa1fe[980]),_0xfc29xa=_0xfc29x2[_0xa1fe[284]](_0xa1fe[124]),_0xfc29x12=null;if(null!=_0xfc29x9){_0xfc29x12=document[_0xa1fe[1362]](_0xfc29x9),null!=_0xfc29x12&&null!=_0xfc29xa&&(_0xfc29x12[_0xa1fe[124]][_0xa1fe[103]]+=_0xa1fe[471]+_0xfc29xa)}else {var _0xfc29x9=parseInt(_0xfc29x2[_0xa1fe[284]](_0xa1fe[235])),_0xfc29x13=parseInt(_0xfc29x2[_0xa1fe[284]](_0xa1fe[236])),_0xfc29x14=_0xfc29x2[_0xa1fe[284]](_0xa1fe[117]),_0xfc29x15=_0xfc29x2[_0xa1fe[284]](_0xa1fe[119]),_0xfc29x12=document[_0xa1fe[55]](_0xa1fe[485]);_0xfc29x12[_0xa1fe[124]][_0xa1fe[103]]=_0xfc29xa;( new mxWindow(mxResources[_0xa1fe[203]](_0xfc29x4)||_0xfc29x4,_0xfc29x12,_0xfc29x9,_0xfc29x13,_0xfc29x14,_0xfc29x15,!1,!0))[_0xa1fe[175]](!0)};_0xa1fe[1179]==_0xfc29x4?_0xfc29x5[_0xa1fe[3202]](_0xfc29x12):_0xa1fe[3082]==_0xfc29x4?_0xfc29x5[_0xa1fe[3204]](_0xfc29x12):_0xa1fe[924]==_0xfc29x4?_0xfc29x5[_0xa1fe[3208]](_0xfc29x12):_0xa1fe[879]==_0xfc29x4?_0xfc29x5[_0xa1fe[3205]](_0xfc29x12):_0xa1fe[201]==_0xfc29x4&&_0xfc29x5[_0xa1fe[3297]](_0xfc29x12)}else {_0xa1fe[3298]==_0xfc29x2[_0xa1fe[301]]?mxResources[_0xa1fe[99]](_0xfc29x2[_0xa1fe[284]](_0xa1fe[3299])):_0xa1fe[94]==_0xfc29x2[_0xa1fe[301]]&&mxClient[_0xa1fe[54]](_0xa1fe[94],_0xfc29x2[_0xa1fe[284]](_0xa1fe[298]))};_0xfc29x2=_0xfc29x2[_0xa1fe[287]]}};_0xfc29x2[_0xa1fe[3294]]=function(_0xfc29x2,_0xfc29x4,_0xfc29x5){null==_0xfc29x5[_0xa1fe[3118]]&&(_0xfc29x5[_0xa1fe[3118]]=[]);_0xfc29x4=mxUtils[_0xa1fe[1540]](_0xfc29x4);for(var _0xfc29x9=0;_0xfc29x9<_0xfc29x4[_0xa1fe[67]];_0xfc29x9++){for(var _0xfc29xa=_0xfc29x4[_0xfc29x9][_0xa1fe[284]](_0xa1fe[3069]),_0xfc29x12=_0xfc29x4[_0xfc29x9][_0xa1fe[285]];null!=_0xfc29x12&&1!=_0xfc29x12[_0xa1fe[288]];){_0xfc29x12=_0xfc29x12[_0xa1fe[287]]};null!=_0xfc29x12&&(_0xfc29x5[_0xa1fe[3118]][_0xfc29xa]=_0xfc29x2[_0xa1fe[3244]](_0xfc29x12))}};return _0xfc29x2}()) \ No newline at end of file +var _0x5826=["\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:_0x5826[0],IS_IE:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[1]),IS_IE6:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[4]),IS_QUIRKS:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[1])&&(null==document[_0x5826[5]]||5==document[_0x5826[5]]),VML_PREFIX:_0x5826[6],OFFICE_PREFIX:_0x5826[7],IS_NS:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[8])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[1]),IS_OP:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[9]),IS_OT:0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[10])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[11])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[12])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[13])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[14])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[15]),IS_SF:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[16])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[17]),IS_GC:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[17]),IS_MT:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[18])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[19])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[20])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[21])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[22])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[23])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[24])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[25])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[26])&&0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[27]),IS_SVG:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[18])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[21])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[28])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[26])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[29])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[30])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[16])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[31])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[9]),NO_FO:0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[19])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[22])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[20])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[23])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[25])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[27])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[32])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[33])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[9])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[1])||0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[34]),IS_VML:_0x5826[35]==navigator[_0x5826[37]][_0x5826[36]](),IS_MAC:0<navigator[_0x5826[3]][_0x5826[36]]()[_0x5826[2]](_0x5826[38]),IS_TOUCH:0<navigator[_0x5826[3]][_0x5826[36]]()[_0x5826[2]](_0x5826[39])||0<navigator[_0x5826[3]][_0x5826[36]]()[_0x5826[2]](_0x5826[40])||0<navigator[_0x5826[3]][_0x5826[36]]()[_0x5826[2]](_0x5826[41])||0<navigator[_0x5826[3]][_0x5826[36]]()[_0x5826[2]](_0x5826[42]),IS_LOCAL:0>document[_0x5826[45]][_0x5826[44]][_0x5826[2]](_0x5826[43])&&0>document[_0x5826[45]][_0x5826[44]][_0x5826[2]](_0x5826[46]),isBrowserSupported:function(){return mxClient[_0x5826[47]]||mxClient[_0x5826[48]]},link:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=_0x1b20x4||document;if(mxClient[_0x5826[49]]){_0x1b20x4[_0x5826[53]](_0x5826[50]+_0x1b20x2+_0x5826[51]+_0x1b20x3+_0x5826[52])}else {var _0x1b20x5=_0x1b20x4[_0x5826[55]](_0x5826[54]);_0x1b20x5[_0x5826[57]](_0x5826[56],_0x1b20x2);_0x1b20x5[_0x5826[57]](_0x5826[44],_0x1b20x3);_0x1b20x5[_0x5826[57]](_0x5826[58],_0x5826[59]);_0x1b20x5[_0x5826[57]](_0x5826[60],_0x5826[61]);_0x1b20x4[_0x5826[64]](_0x5826[63])[0][_0x5826[62]](_0x1b20x5)}},include:function(_0x1b20x2){document[_0x5826[53]](_0x5826[65]+_0x1b20x2+_0x5826[66])},dispose:function(){for(var _0x1b20x2=0;_0x1b20x2<mxEvent[_0x5826[68]][_0x5826[67]];_0x1b20x2++){null!=mxEvent[_0x5826[68]][_0x1b20x2][_0x5826[69]]&&mxEvent[_0x5826[70]](mxEvent[_0x5826[68]][_0x1b20x2])}}};mxClient[_0x5826[71]]&&mxClient[_0x5826[72]]?mxClient[_0x5826[73]]=_0x5826[74]:mxClient[_0x5826[75]]||mxClient[_0x5826[76]]?mxClient[_0x5826[73]]=_0x5826[77]:mxClient[_0x5826[78]]?mxClient[_0x5826[73]]=_0x5826[79]:mxClient[_0x5826[80]]&&9<=document[_0x5826[5]]&&(mxClient[_0x5826[73]]=_0x5826[81]);_0x5826[82]== typeof mxLoadResources&&(mxLoadResources= !0);_0x5826[82]== typeof mxResourceExtension&&(mxResourceExtension=_0x5826[83]);_0x5826[82]== typeof mxLoadStylesheets&&(mxLoadStylesheets= !0);_0x5826[82]!= typeof mxBasePath&&0<mxBasePath[_0x5826[67]]?(_0x5826[84]==mxBasePath[_0x5826[85]](mxBasePath[_0x5826[67]]-1)&&(mxBasePath=mxBasePath[_0x5826[85]](0,mxBasePath[_0x5826[67]]-1)),mxClient[_0x5826[86]]=mxBasePath):mxClient[_0x5826[86]]=_0x5826[87];_0x5826[82]!= typeof mxImageBasePath&&0<mxImageBasePath[_0x5826[67]]?(_0x5826[84]==mxImageBasePath[_0x5826[85]](mxImageBasePath[_0x5826[67]]-1)&&(mxImageBasePath=mxImageBasePath[_0x5826[85]](0,mxImageBasePath[_0x5826[67]]-1)),mxClient[_0x5826[88]]=mxImageBasePath):mxClient[_0x5826[88]]=mxClient[_0x5826[86]]+_0x5826[89];mxClient[_0x5826[90]]=_0x5826[82]!= typeof mxLanguage?mxLanguage:mxClient[_0x5826[80]]?navigator[_0x5826[91]]:navigator[_0x5826[90]];mxClient[_0x5826[92]]=_0x5826[82]!= typeof mxDefaultLanguage?mxDefaultLanguage:_0x5826[93];mxLoadStylesheets&&mxClient[_0x5826[54]](_0x5826[94],mxClient[_0x5826[86]]+_0x5826[95]);_0x5826[82]!= typeof mxLanguages&&(mxClient[_0x5826[96]]=mxLanguages);if(mxClient[_0x5826[80]]){if(9<=document[_0x5826[5]]){mxClient[_0x5826[47]]= !1,mxClient[_0x5826[48]]= !0}else {8==document[_0x5826[5]]?(document[_0x5826[100]][_0x5826[99]](mxClient.VML_PREFIX,_0x5826[97],_0x5826[98]),document[_0x5826[100]][_0x5826[99]](mxClient.OFFICE_PREFIX,_0x5826[101],_0x5826[98])):(document[_0x5826[100]][_0x5826[99]](mxClient.VML_PREFIX,_0x5826[97]),document[_0x5826[100]][_0x5826[99]](mxClient.OFFICE_PREFIX,_0x5826[101]));var ss=document[_0x5826[102]]();ss[_0x5826[103]]=_0x5826[104];mxLoadStylesheets&&mxClient[_0x5826[54]](_0x5826[94],mxClient[_0x5826[86]]+_0x5826[105])};window[_0x5826[108]](_0x5826[106],mxClient[_0x5826[107]])};var mxLog={consoleName:_0x5826[109],TRACE:!1,DEBUG:!0,WARN:!0,buffer:_0x5826[110],init:function(){if(null==mxLog[_0x5826[111]]&&null!=document[_0x5826[112]]){var _0x1b20x2=mxLog[_0x5826[113]]+_0x5826[114]+mxClient[_0x5826[115]],_0x1b20x3=document[_0x5826[55]](_0x5826[116]);_0x1b20x3[_0x5826[57]](_0x5826[117],_0x5826[118]);_0x1b20x3[_0x5826[57]](_0x5826[119],_0x5826[118]);var _0x1b20x4=document[_0x5826[55]](_0x5826[120]),_0x1b20x5=document[_0x5826[55]](_0x5826[121]),_0x1b20x9=document[_0x5826[55]](_0x5826[122]);_0x1b20x9[_0x5826[124]][_0x5826[123]]=_0x5826[125];mxLog[_0x5826[126]]=document[_0x5826[55]](_0x5826[126]);mxLog[_0x5826[126]][_0x5826[57]](_0x5826[127],_0x5826[128]);mxLog[_0x5826[126]][_0x5826[124]][_0x5826[119]]=_0x5826[118];mxLog[_0x5826[126]][_0x5826[124]][_0x5826[129]]=_0x5826[130];mxLog[_0x5826[126]][_0x5826[131]]=mxLog[_0x5826[132]];mxLog[_0x5826[126]][_0x5826[124]][_0x5826[117]]=mxClient[_0x5826[133]]&&_0x5826[134]!=document[_0x5826[135]]?_0x5826[136]:_0x5826[118];_0x1b20x9[_0x5826[62]](mxLog[_0x5826[126]]);_0x1b20x5[_0x5826[62]](_0x1b20x9);_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x5=document[_0x5826[55]](_0x5826[121]);mxLog[_0x5826[122]]=document[_0x5826[55]](_0x5826[122]);mxLog[_0x5826[122]][_0x5826[124]][_0x5826[123]]=_0x5826[125];mxLog[_0x5826[122]][_0x5826[57]](_0x5826[119],_0x5826[137]);_0x1b20x5[_0x5826[62]](mxLog[_0x5826[122]]);_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x3[_0x5826[62]](_0x1b20x4);mxLog[_0x5826[140]](_0x5826[138],function(_0x1b20x2){mxLog[_0x5826[139]]()});mxLog[_0x5826[140]](_0x5826[141],function(_0x1b20x2){_0x1b20x2=mxUtils[_0x5826[142]](document[_0x5826[112]]);mxLog[_0x5826[143]](_0x1b20x2)});mxLog[_0x5826[140]](_0x5826[144],function(_0x1b20x2){mxLog[_0x5826[145]]=!mxLog[_0x5826[145]];mxLog[_0x5826[145]]?mxLog[_0x5826[143]](_0x5826[146]):mxLog[_0x5826[143]](_0x5826[147])});mxLog[_0x5826[140]](_0x5826[148],function(_0x1b20x2){try{mxUtils[_0x5826[149]](mxLog[_0x5826[126]][_0x5826[131]])}catch(_0x1b20x3){mxUtils[_0x5826[150]](_0x1b20x3)}});mxLog[_0x5826[140]](_0x5826[151],function(_0x1b20x2){try{mxUtils[_0x5826[152]](mxLog[_0x5826[126]][_0x5826[131]])}catch(_0x1b20x3){mxUtils[_0x5826[150]](_0x1b20x3)}});mxLog[_0x5826[140]](_0x5826[153],function(_0x1b20x2){mxLog[_0x5826[126]][_0x5826[131]]=_0x5826[110]});_0x1b20x5=_0x1b20x4=0;_0x5826[154]=== typeof window[_0x5826[155]]?(_0x1b20x4=window[_0x5826[156]],_0x1b20x5=window[_0x5826[155]]):(_0x1b20x4=document[_0x5826[158]][_0x5826[157]]||document[_0x5826[112]][_0x5826[157]],_0x1b20x5=document[_0x5826[112]][_0x5826[159]]);mxLog[_0x5826[111]]= new mxWindow(_0x1b20x2,_0x1b20x3,Math[_0x5826[160]](0,_0x1b20x5-320),Math[_0x5826[160]](0,_0x1b20x4-210),300,160);mxLog[_0x5826[111]][_0x5826[161]](!0);mxLog[_0x5826[111]][_0x5826[162]](!1);mxLog[_0x5826[111]][_0x5826[163]](!0);mxLog[_0x5826[111]][_0x5826[164]](!0);mxLog[_0x5826[111]][_0x5826[165]]= !1;if((mxClient[_0x5826[133]]||mxClient[_0x5826[80]])&&!mxClient[_0x5826[76]]&&!mxClient[_0x5826[75]]&&_0x5826[134]!=document[_0x5826[135]]){var _0x1b20xa=mxLog[_0x5826[111]][_0x5826[166]](),_0x1b20x2=function(_0x1b20x2,_0x1b20x3){mxLog[_0x5826[126]][_0x5826[124]][_0x5826[119]]=Math[_0x5826[160]](0,_0x1b20xa[_0x5826[167]]-70)+_0x5826[168]};mxLog[_0x5826[111]][_0x5826[169]](mxEvent.RESIZE_END,_0x1b20x2);mxLog[_0x5826[111]][_0x5826[169]](mxEvent.MAXIMIZE,_0x1b20x2);mxLog[_0x5826[111]][_0x5826[169]](mxEvent.NORMALIZE,_0x1b20x2);mxLog[_0x5826[126]][_0x5826[124]][_0x5826[119]]=_0x5826[170]}}},info:function(){mxLog[_0x5826[171]](mxUtils.toString(navigator))},addButton:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[172]);mxUtils[_0x5826[53]](_0x1b20x4,_0x1b20x2);mxEvent[_0x5826[169]](_0x1b20x4,_0x5826[173],_0x1b20x3);mxLog[_0x5826[122]][_0x5826[62]](_0x1b20x4)},isVisible:function(){return null!=mxLog[_0x5826[111]]?mxLog[_0x5826[111]][_0x5826[174]]():!1},show:function(){mxLog[_0x5826[175]](!0)},setVisible:function(_0x1b20x2){null==mxLog[_0x5826[111]]&&mxLog[_0x5826[176]]();null!=mxLog[_0x5826[111]]&&mxLog[_0x5826[111]][_0x5826[175]](_0x1b20x2)},enter:function(_0x1b20x2){if(mxLog[_0x5826[145]]){return mxLog[_0x5826[171]](_0x5826[177]+_0x1b20x2),( new Date)[_0x5826[178]]()}},leave:function(_0x1b20x2,_0x1b20x3){if(mxLog[_0x5826[145]]){var _0x1b20x4=0!=_0x1b20x3?_0x5826[179]+(( new Date)[_0x5826[178]]()-_0x1b20x3)+_0x5826[180]:_0x5826[110];mxLog[_0x5826[171]](_0x5826[181]+_0x1b20x2+_0x1b20x4)}},debug:function(){mxLog[_0x5826[182]]&&mxLog[_0x5826[171]][_0x5826[183]](this,arguments)},warn:function(){mxLog[_0x5826[184]]&&mxLog[_0x5826[171]][_0x5826[183]](this,arguments)},write:function(){for(var _0x1b20x2=_0x5826[110],_0x1b20x3=0;_0x1b20x3<arguments[_0x5826[67]];_0x1b20x3++){_0x1b20x2+=arguments[_0x1b20x3],_0x1b20x3<arguments[_0x5826[67]]-1&&(_0x1b20x2+=_0x5826[185])};null!=mxLog[_0x5826[126]]?(mxLog[_0x5826[126]][_0x5826[131]]+=_0x1b20x2,0<=navigator[_0x5826[3]][_0x5826[2]](_0x5826[186])&&(mxLog[_0x5826[126]][_0x5826[124]][_0x5826[187]]=_0x5826[188],mxLog[_0x5826[126]][_0x5826[124]][_0x5826[187]]=_0x5826[189]),mxLog[_0x5826[126]][_0x5826[190]]=mxLog[_0x5826[126]][_0x5826[191]]):mxLog[_0x5826[132]]+=_0x1b20x2},writeln:function(){for(var _0x1b20x2=_0x5826[110],_0x1b20x3=0;_0x1b20x3<arguments[_0x5826[67]];_0x1b20x3++){_0x1b20x2+=arguments[_0x1b20x3],_0x1b20x3<arguments[_0x5826[67]]-1&&(_0x1b20x2+=_0x5826[185])};mxLog[_0x5826[53]](_0x1b20x2+_0x5826[192])}},mxObjectIdentity={FIELD_NAME:_0x5826[193],counter:0,get:function(_0x1b20x2){if(_0x5826[194]== typeof _0x1b20x2&&null==_0x1b20x2[mxObjectIdentity[_0x5826[195]]]){var _0x1b20x3=mxUtils[_0x5826[197]](_0x1b20x2[_0x5826[196]]);_0x1b20x2[mxObjectIdentity[_0x5826[195]]]=_0x1b20x3+_0x5826[198]+mxObjectIdentity[_0x5826[199]]++};return _0x1b20x2[mxObjectIdentity[_0x5826[195]]]},clear:function(_0x1b20x2){_0x5826[194]== typeof _0x1b20x2&& delete _0x1b20x2[mxObjectIdentity[_0x5826[195]]]}};function mxDictionary(){this[_0x5826[200]]()}mxDictionary[_0x5826[202]][_0x5826[201]]=null;mxDictionary[_0x5826[202]][_0x5826[200]]=function(){this[_0x5826[201]]={}};mxDictionary[_0x5826[202]][_0x5826[203]]=function(_0x1b20x2){_0x1b20x2=mxObjectIdentity[_0x5826[203]](_0x1b20x2);return this[_0x5826[201]][_0x1b20x2]};mxDictionary[_0x5826[202]][_0x5826[204]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxObjectIdentity[_0x5826[203]](_0x1b20x2),_0x1b20x5=this[_0x5826[201]][_0x1b20x4];this[_0x5826[201]][_0x1b20x4]=_0x1b20x3;return _0x1b20x5};mxDictionary[_0x5826[202]][_0x5826[205]]=function(_0x1b20x2){_0x1b20x2=mxObjectIdentity[_0x5826[203]](_0x1b20x2);var _0x1b20x3=this[_0x5826[201]][_0x1b20x2];delete this[_0x5826[201]][_0x1b20x2];return _0x1b20x3};mxDictionary[_0x5826[202]][_0x5826[206]]=function(){var _0x1b20x2=[],_0x1b20x3;for(_0x1b20x3 in this[_0x5826[201]]){_0x1b20x2[_0x5826[207]](_0x1b20x3)};return _0x1b20x2};mxDictionary[_0x5826[202]][_0x5826[208]]=function(){var _0x1b20x2=[],_0x1b20x3;for(_0x1b20x3 in this[_0x5826[201]]){_0x1b20x2[_0x5826[207]](this[_0x5826[201]][_0x1b20x3])};return _0x1b20x2};mxDictionary[_0x5826[202]][_0x5826[209]]=function(_0x1b20x2){for(var _0x1b20x3 in this[_0x5826[201]]){_0x1b20x2(_0x1b20x3,this[_0x5826[201]][_0x1b20x3])}};var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(_0x1b20x2){return null!=mxClient[_0x5826[96]]?0<=mxUtils[_0x5826[2]](mxClient[_0x5826[96]],_0x1b20x2):!0},getDefaultBundle:function(_0x1b20x2,_0x1b20x3){return mxResources[_0x5826[210]]||!mxResources[_0x5826[211]](_0x1b20x3)?_0x1b20x2+mxResources[_0x5826[212]]:null},getSpecialBundle:function(_0x1b20x2,_0x1b20x3){if(null==mxClient[_0x5826[96]]||!this[_0x5826[211]](_0x1b20x3)){var _0x1b20x4=_0x1b20x3[_0x5826[2]](_0x5826[213]);0<_0x1b20x4&&(_0x1b20x3=_0x1b20x3[_0x5826[85]](0,_0x1b20x4))};return mxResources[_0x5826[214]]&&mxResources[_0x5826[211]](_0x1b20x3)&&_0x1b20x3!=mxClient[_0x5826[92]]?_0x1b20x2+_0x5826[215]+_0x1b20x3+mxResources[_0x5826[212]]:null},add:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:mxClient[_0x5826[90]][_0x5826[216]]();if(_0x1b20x3!=mxConstants[_0x5826[217]]){var _0x1b20x4=mxResources[_0x5826[218]](_0x1b20x2,_0x1b20x3);if(null!=_0x1b20x4){try{var _0x1b20x5=mxUtils[_0x5826[219]](_0x1b20x4);_0x1b20x5[_0x5826[220]]()&&mxResources[_0x5826[222]](_0x1b20x5[_0x5826[221]]())}catch(e){}};_0x1b20x4=mxResources[_0x5826[223]](_0x1b20x2,_0x1b20x3);if(null!=_0x1b20x4){try{_0x1b20x5=mxUtils[_0x5826[219]](_0x1b20x4),_0x1b20x5[_0x5826[220]]()&&mxResources[_0x5826[222]](_0x1b20x5[_0x5826[221]]())}catch(f){}}}},parse:function(_0x1b20x2){if(null!=_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[224]](_0x5826[192]);for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){if(_0x5826[198]!=_0x1b20x2[_0x1b20x3][_0x5826[225]](0)){var _0x1b20x4=_0x1b20x2[_0x1b20x3][_0x5826[2]](_0x5826[226]);if(0<_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x1b20x3][_0x5826[85]](0,_0x1b20x4),_0x1b20x9=_0x1b20x2[_0x1b20x3][_0x5826[67]];13==_0x1b20x2[_0x1b20x3][_0x5826[227]](_0x1b20x9-1)&&_0x1b20x9--;_0x1b20x4=_0x1b20x2[_0x1b20x3][_0x5826[85]](_0x1b20x4+1,_0x1b20x9);this[_0x5826[228]]?(_0x1b20x4=_0x1b20x4[_0x5826[230]](/\\(?=u[a-fA-F\d]{4})/g,_0x5826[229]),mxResources[_0x5826[231]][_0x1b20x5]=unescape(_0x1b20x4)):mxResources[_0x5826[231]][_0x1b20x5]=_0x1b20x4}}}}},get:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=mxResources[_0x5826[231]][_0x1b20x2];null==_0x1b20x2&&(_0x1b20x2=_0x1b20x4);if(null!=_0x1b20x2&&null!=_0x1b20x3){_0x1b20x4=[];for(var _0x1b20x5=null,_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=_0x1b20x2[_0x5826[225]](_0x1b20x9);_0x5826[232]==_0x1b20xa?_0x1b20x5=_0x5826[110]:null!=_0x1b20x5&&_0x5826[233]==_0x1b20xa?(_0x1b20x5=parseInt(_0x1b20x5)-1,0<=_0x1b20x5&&_0x1b20x5<_0x1b20x3[_0x5826[67]]&&_0x1b20x4[_0x5826[207]](_0x1b20x3[_0x1b20x5]),_0x1b20x5=null):null!=_0x1b20x5?_0x1b20x5+=_0x1b20xa:_0x1b20x4[_0x5826[207]](_0x1b20xa)};_0x1b20x2=_0x1b20x4[_0x5826[234]](_0x5826[110])};return _0x1b20x2}};function mxPoint(_0x1b20x2,_0x1b20x3){this[_0x5826[235]]=null!=_0x1b20x2?_0x1b20x2:0;this[_0x5826[236]]=null!=_0x1b20x3?_0x1b20x3:0}mxPoint[_0x5826[202]][_0x5826[235]]=null;mxPoint[_0x5826[202]][_0x5826[236]]=null;mxPoint[_0x5826[202]][_0x5826[237]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[235]]==this[_0x5826[235]]&&_0x1b20x2[_0x5826[236]]==this[_0x5826[236]]};mxPoint[_0x5826[202]][_0x5826[238]]=function(){return mxUtils[_0x5826[238]](this)};function mxRectangle(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxPoint[_0x5826[239]](this,_0x1b20x2,_0x1b20x3);this[_0x5826[117]]=null!=_0x1b20x4?_0x1b20x4:0;this[_0x5826[119]]=null!=_0x1b20x5?_0x1b20x5:0}mxRectangle[_0x5826[202]]= new mxPoint;mxRectangle[_0x5826[202]][_0x5826[196]]=mxRectangle;mxRectangle[_0x5826[202]][_0x5826[117]]=null;mxRectangle[_0x5826[202]][_0x5826[119]]=null;mxRectangle[_0x5826[202]][_0x5826[240]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[235]]=_0x1b20x2;this[_0x5826[236]]=_0x1b20x3;this[_0x5826[117]]=_0x1b20x4;this[_0x5826[119]]=_0x1b20x5};mxRectangle[_0x5826[202]][_0x5826[241]]=function(){return this[_0x5826[235]]+this[_0x5826[117]]/2};mxRectangle[_0x5826[202]][_0x5826[242]]=function(){return this[_0x5826[236]]+this[_0x5826[119]]/2};mxRectangle[_0x5826[202]][_0x5826[99]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=Math[_0x5826[243]](this[_0x5826[235]],_0x1b20x2[_0x5826[235]]),_0x1b20x4=Math[_0x5826[243]](this[_0x5826[236]],_0x1b20x2[_0x5826[236]]),_0x1b20x5=Math[_0x5826[160]](this[_0x5826[235]]+this[_0x5826[117]],_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]);_0x1b20x2=Math[_0x5826[160]](this[_0x5826[236]]+this[_0x5826[119]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]);this[_0x5826[235]]=_0x1b20x3;this[_0x5826[236]]=_0x1b20x4;this[_0x5826[117]]=_0x1b20x5-_0x1b20x3;this[_0x5826[119]]=_0x1b20x2-_0x1b20x4}};mxRectangle[_0x5826[202]][_0x5826[244]]=function(_0x1b20x2){this[_0x5826[235]]-=_0x1b20x2;this[_0x5826[236]]-=_0x1b20x2;this[_0x5826[117]]+=2*_0x1b20x2;this[_0x5826[119]]+=2*_0x1b20x2};mxRectangle[_0x5826[202]][_0x5826[245]]=function(){return new mxPoint(this[_0x5826[235]],this[_0x5826[236]])};mxRectangle[_0x5826[202]][_0x5826[237]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[235]]==this[_0x5826[235]]&&_0x1b20x2[_0x5826[236]]==this[_0x5826[236]]&&_0x1b20x2[_0x5826[117]]==this[_0x5826[117]]&&_0x1b20x2[_0x5826[119]]==this[_0x5826[119]]};var mxEffects={animateChanges:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=0,_0x1b20x9=function(){for(var _0x1b20x12=!1,_0x1b20x13=0;_0x1b20x13<_0x1b20x3[_0x5826[67]];_0x1b20x13++){var _0x1b20x14=_0x1b20x3[_0x1b20x13];if(_0x1b20x14 instanceof mxGeometryChange||_0x1b20x14 instanceof mxTerminalChange||_0x1b20x14 instanceof mxValueChange||_0x1b20x14 instanceof mxChildChange||_0x1b20x14 instanceof mxStyleChange){var _0x1b20x15=_0x1b20x2[_0x5826[249]]()[_0x5826[248]](_0x1b20x14[_0x5826[246]]||_0x1b20x14[_0x5826[247]],!1);if(null!=_0x1b20x15){if(_0x1b20x12= !0,_0x1b20x14[_0x5826[196]]!=mxGeometryChange||_0x1b20x2[_0x5826[251]][_0x5826[250]](_0x1b20x14[_0x5826[246]])){mxUtils[_0x5826[254]](_0x1b20x15[_0x5826[253]][_0x5826[252]],100*_0x1b20x5/10)}else {var _0x1b20x16=_0x1b20x2[_0x5826[249]]()[_0x5826[255]],_0x1b20x17=(_0x1b20x14[_0x5826[256]][_0x5826[235]]-_0x1b20x14[_0x5826[257]][_0x5826[235]])*_0x1b20x16,_0x1b20x18=(_0x1b20x14[_0x5826[256]][_0x5826[236]]-_0x1b20x14[_0x5826[257]][_0x5826[236]])*_0x1b20x16,_0x1b20x19=(_0x1b20x14[_0x5826[256]][_0x5826[117]]-_0x1b20x14[_0x5826[257]][_0x5826[117]])*_0x1b20x16,_0x1b20x16=(_0x1b20x14[_0x5826[256]][_0x5826[119]]-_0x1b20x14[_0x5826[257]][_0x5826[119]])*_0x1b20x16;0==_0x1b20x5?(_0x1b20x15[_0x5826[235]]-=_0x1b20x17,_0x1b20x15[_0x5826[236]]-=_0x1b20x18,_0x1b20x15[_0x5826[117]]-=_0x1b20x19,_0x1b20x15[_0x5826[119]]-=_0x1b20x16):(_0x1b20x15[_0x5826[235]]+=_0x1b20x17/10,_0x1b20x15[_0x5826[236]]+=_0x1b20x18/10,_0x1b20x15[_0x5826[117]]+=_0x1b20x19/10,_0x1b20x15[_0x5826[119]]+=_0x1b20x16/10);_0x1b20x2[_0x5826[259]][_0x5826[258]](_0x1b20x15);mxEffects[_0x5826[260]](_0x1b20x2,_0x1b20x14[_0x5826[246]],100*_0x1b20x5/10)}}}};10>_0x1b20x5&&_0x1b20x12?(_0x1b20x5++,window[_0x5826[261]](_0x1b20x9,_0x1b20xa)):null!=_0x1b20x4&&_0x1b20x4()},_0x1b20xa=30;_0x1b20x9()},cascadeOpacity:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){for(var _0x1b20x5=_0x1b20x2[_0x5826[251]][_0x5826[262]](_0x1b20x3),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=_0x1b20x2[_0x5826[251]][_0x5826[263]](_0x1b20x3,_0x1b20x9),_0x1b20x12=_0x1b20x2[_0x5826[249]]()[_0x5826[248]](_0x1b20xa);null!=_0x1b20x12&&(mxUtils[_0x5826[254]](_0x1b20x12[_0x5826[253]][_0x5826[252]],_0x1b20x4),mxEffects[_0x5826[260]](_0x1b20x2,_0x1b20xa,_0x1b20x4))};_0x1b20x3=_0x1b20x2[_0x5826[251]][_0x5826[264]](_0x1b20x3);if(null!=_0x1b20x3){for(_0x1b20x9=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){_0x1b20x5=_0x1b20x2[_0x5826[249]]()[_0x5826[248]](_0x1b20x3[_0x1b20x9]),null!=_0x1b20x5&&mxUtils[_0x5826[254]](_0x1b20x5[_0x5826[253]][_0x5826[252]],_0x1b20x4)}}},fadeOut:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x5=_0x1b20x5||40;_0x1b20x9=_0x1b20x9||30;var _0x1b20x12=_0x1b20x3||100;mxUtils[_0x5826[254]](_0x1b20x2,_0x1b20x12);if(_0x1b20xa||null==_0x1b20xa){var _0x1b20x13=function(){_0x1b20x12=Math[_0x5826[160]](_0x1b20x12-_0x1b20x5,0);mxUtils[_0x5826[254]](_0x1b20x2,_0x1b20x12);0<_0x1b20x12?window[_0x5826[261]](_0x1b20x13,_0x1b20x9):(_0x1b20x2[_0x5826[124]][_0x5826[187]]=_0x5826[188],_0x1b20x4&&_0x1b20x2[_0x5826[265]]&&_0x1b20x2[_0x5826[265]][_0x5826[266]](_0x1b20x2))};window[_0x5826[261]](_0x1b20x13,_0x1b20x9)}else {_0x1b20x2[_0x5826[124]][_0x5826[187]]=_0x5826[188],_0x1b20x4&&_0x1b20x2[_0x5826[265]]&&_0x1b20x2[_0x5826[265]][_0x5826[266]](_0x1b20x2)}}},mxUtils={errorResource:_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[267]:_0x5826[110],closeResource:_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[268]:_0x5826[110],errorImage:mxClient[_0x5826[88]]+_0x5826[269],removeCursors:function(_0x1b20x2){null!=_0x1b20x2[_0x5826[124]]&&(_0x1b20x2[_0x5826[124]][_0x5826[270]]=_0x5826[110]);_0x1b20x2=_0x1b20x2[_0x5826[271]];if(null!=_0x1b20x2){for(var _0x1b20x3=_0x1b20x2[_0x5826[67]],_0x1b20x4=0;_0x1b20x4<_0x1b20x3;_0x1b20x4+=1){mxUtils[_0x5826[272]](_0x1b20x2[_0x1b20x4])}}},getCurrentStyle:function(){return mxClient[_0x5826[80]]?function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[273]]:null}:function(_0x1b20x2){return null!=_0x1b20x2?window[_0x5826[274]](_0x1b20x2,_0x5826[110]):null}}(),hasScrollbars:function(_0x1b20x2){_0x1b20x2=mxUtils[_0x5826[275]](_0x1b20x2);return null!=_0x1b20x2&&(_0x5826[276]==_0x1b20x2[_0x5826[277]]||_0x5826[278]==_0x1b20x2[_0x5826[277]])},bind:function(_0x1b20x2,_0x1b20x3){return function(){return _0x1b20x3[_0x5826[183]](_0x1b20x2,arguments)}},eval:function(_0x1b20x2){var _0x1b20x3=null;if(0<=_0x1b20x2[_0x5826[2]](_0x5826[279])){try{eval(_0x5826[280]+_0x1b20x2),_0x1b20x3=_mxJavaScriptExpression,_mxJavaScriptExpression=null}catch(c){mxLog[_0x5826[283]](c[_0x5826[281]]+_0x5826[282]+_0x1b20x2)}}else {try{_0x1b20x3=eval(_0x1b20x2)}catch(d){mxLog[_0x5826[283]](d[_0x5826[281]]+_0x5826[282]+_0x1b20x2)}};return _0x1b20x3},findNode:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[284]](_0x1b20x3);if(null!=_0x1b20x5&&_0x1b20x5==_0x1b20x4){return _0x1b20x2};for(_0x1b20x2=_0x1b20x2[_0x5826[285]];null!=_0x1b20x2;){_0x1b20x5=mxUtils[_0x5826[286]](_0x1b20x2,_0x1b20x3,_0x1b20x4);if(null!=_0x1b20x5){return _0x1b20x5};_0x1b20x2=_0x1b20x2[_0x5826[287]]};return null},findNodeByAttribute:function(){return 9<=document[_0x5826[5]]?function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=null;if(null!=_0x1b20x2){if(_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[289]]&&_0x1b20x2[_0x5826[284]](_0x1b20x3)==_0x1b20x4){_0x1b20x5=_0x1b20x2}else {for(_0x1b20x2=_0x1b20x2[_0x5826[285]];null!=_0x1b20x2&&null==_0x1b20x5;){_0x1b20x5=mxUtils[_0x5826[290]](_0x1b20x2,_0x1b20x3,_0x1b20x4),_0x1b20x2=_0x1b20x2[_0x5826[287]]}}};return _0x1b20x5}:mxClient[_0x5826[80]]?function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null==_0x1b20x2?null:_0x1b20x2[_0x5826[295]][_0x5826[294]](_0x5826[291]+_0x1b20x3+_0x5826[292]+_0x1b20x4+_0x5826[293])}:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null==_0x1b20x2?null:_0x1b20x2[_0x5826[295]][_0x5826[297]](_0x5826[291]+_0x1b20x3+_0x5826[292]+_0x1b20x4+_0x5826[293],_0x1b20x2[_0x5826[295]],null,XPathResult.ANY_TYPE,null)[_0x5826[296]]()}}(),getFunctionName:function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2){if(null!=_0x1b20x2[_0x5826[298]]){_0x1b20x3=_0x1b20x2[_0x5826[298]]}else {_0x1b20x2=_0x1b20x2.toString();for(_0x1b20x3=9;_0x5826[185]==_0x1b20x2[_0x5826[225]](_0x1b20x3);){_0x1b20x3++};var _0x1b20x4=_0x1b20x2[_0x5826[2]](_0x5826[299],_0x1b20x3),_0x1b20x3=_0x1b20x2[_0x5826[85]](_0x1b20x3,_0x1b20x4)}};return _0x1b20x3},indexOf:function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x3){for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){if(_0x1b20x2[_0x1b20x4]==_0x1b20x3){return _0x1b20x4}}};return -1},remove:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(_0x5826[194]== typeof _0x1b20x3){for(var _0x1b20x5=mxUtils[_0x5826[2]](_0x1b20x3,_0x1b20x2);0<=_0x1b20x5;){_0x1b20x3[_0x5826[300]](_0x1b20x5,1),_0x1b20x4=_0x1b20x2,_0x1b20x5=mxUtils[_0x5826[2]](_0x1b20x3,_0x1b20x2)}};for(var _0x1b20x9 in _0x1b20x3){_0x1b20x3[_0x1b20x9]==_0x1b20x2&&( delete _0x1b20x3[_0x1b20x9],_0x1b20x4=_0x1b20x2)};return _0x1b20x4},isNode:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return null!=_0x1b20x2&&!isNaN(_0x1b20x2[_0x5826[288]])&&(null==_0x1b20x3||_0x1b20x2[_0x5826[301]][_0x5826[216]]()==_0x1b20x3[_0x5826[216]]())?null==_0x1b20x4||_0x1b20x2[_0x5826[284]](_0x1b20x4)==_0x1b20x5:!1},getChildNodes:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3||mxConstants[_0x5826[289]];for(var _0x1b20x4=[],_0x1b20x5=_0x1b20x2[_0x5826[285]];null!=_0x1b20x5;){_0x1b20x5[_0x5826[288]]==_0x1b20x3&&_0x1b20x4[_0x5826[207]](_0x1b20x5),_0x1b20x5=_0x1b20x5[_0x5826[287]]};return _0x1b20x4},createXmlDocument:function(){var _0x1b20x2=null;document[_0x5826[302]]&&document[_0x5826[302]][_0x5826[303]]?_0x1b20x2=document[_0x5826[302]][_0x5826[303]](_0x5826[110],_0x5826[110],null):window[_0x5826[304]]&&(_0x1b20x2= new ActiveXObject(_0x5826[305]));return _0x1b20x2},parseXml:function(){return mxClient[_0x5826[80]]&&(_0x5826[82]=== typeof document[_0x5826[5]]||9>document[_0x5826[5]])?function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[306]]();_0x1b20x3[_0x5826[307]]=_0x5826[308];_0x1b20x3[_0x5826[309]](_0x1b20x2);return _0x1b20x3}:function(_0x1b20x2){return ( new DOMParser)[_0x5826[311]](_0x1b20x2,_0x5826[310])}}(),clearSelection:function(){if(document[_0x5826[312]]){return function(){document[_0x5826[312]][_0x5826[313]]()}};if(window[_0x5826[314]]){return function(){window[_0x5826[314]]()[_0x5826[315]]()}}}(),getPrettyXml:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=[];if(null!=_0x1b20x2){if(_0x1b20x3=_0x1b20x3||_0x5826[316],_0x1b20x4=_0x1b20x4||_0x5826[110],_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[317]]){_0x1b20x5[_0x5826[207]](_0x1b20x2[_0x5826[318]])}else {_0x1b20x5[_0x5826[207]](_0x1b20x4+_0x5826[319]+_0x1b20x2[_0x5826[301]]);var _0x1b20x9=_0x1b20x2[_0x5826[320]];if(null!=_0x1b20x9){for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=mxUtils[_0x5826[321]](_0x1b20x9[_0x1b20xa][_0x5826[318]]);_0x1b20x5[_0x5826[207]](_0x5826[185]+_0x1b20x9[_0x1b20xa][_0x5826[301]]+_0x5826[322]+_0x1b20x12+_0x5826[323])}};_0x1b20x9=_0x1b20x2[_0x5826[285]];if(null!=_0x1b20x9){for(_0x1b20x5[_0x5826[207]](_0x5826[324]);null!=_0x1b20x9;){_0x1b20x5[_0x5826[207]](mxUtils[_0x5826[325]](_0x1b20x9,_0x1b20x3,_0x1b20x4+_0x1b20x3)),_0x1b20x9=_0x1b20x9[_0x5826[287]]};_0x1b20x5[_0x5826[207]](_0x1b20x4+_0x5826[326]+_0x1b20x2[_0x5826[301]]+_0x5826[324])}else {_0x1b20x5[_0x5826[207]](_0x5826[327])}}};return _0x1b20x5[_0x5826[234]](_0x5826[110])},removeWhitespace:function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=_0x1b20x3?_0x1b20x2[_0x5826[328]]:_0x1b20x2[_0x5826[287]];null!=_0x1b20x4&&_0x1b20x4[_0x5826[288]]==mxConstants[_0x5826[317]];){var _0x1b20x5=_0x1b20x3?_0x1b20x4[_0x5826[328]]:_0x1b20x4[_0x5826[287]],_0x1b20x9=mxUtils[_0x5826[329]](_0x1b20x4);0==mxUtils[_0x5826[330]](_0x1b20x9)[_0x5826[67]]&&_0x1b20x4[_0x5826[265]][_0x5826[266]](_0x1b20x4);_0x1b20x4=_0x1b20x5}},htmlEntities:function(_0x1b20x2,_0x1b20x3){_0x1b20x2=(_0x1b20x2||_0x5826[110])[_0x5826[230]](/&/g,_0x5826[331]);_0x1b20x2=_0x1b20x2[_0x5826[230]](/"/g,_0x5826[332]);_0x1b20x2=_0x1b20x2[_0x5826[230]](/\'/g,_0x5826[333]);_0x1b20x2=_0x1b20x2[_0x5826[230]](/</g,_0x5826[334]);_0x1b20x2=_0x1b20x2[_0x5826[230]](/>/g,_0x5826[335]);if(null==_0x1b20x3||_0x1b20x3){_0x1b20x2=_0x1b20x2[_0x5826[230]](/\n/g,_0x5826[336])};return _0x1b20x2},isVml:function(_0x1b20x2){return null!=_0x1b20x2&&_0x5826[97]==_0x1b20x2[_0x5826[337]]},getXml:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x5826[110];null!=_0x1b20x2&&(_0x1b20x4=_0x1b20x2[_0x5826[338]],_0x1b20x4=null==_0x1b20x4?_0x1b20x2[_0x5826[339]]?_0x1b20x2[_0x5826[339]]:( new XMLSerializer)[_0x5826[340]](_0x1b20x2):_0x1b20x4[_0x5826[230]](/\r\n\t[\t]*/g,_0x5826[110])[_0x5826[230]](/>\r\n/g,_0x5826[341])[_0x5826[230]](/\r\n/g,_0x5826[192]));return _0x1b20x4=_0x1b20x4[_0x5826[230]](/\n/g,_0x1b20x3||_0x5826[336])},getTextContent:function(_0x1b20x2){var _0x1b20x3=_0x5826[110];null!=_0x1b20x2&&(null!=_0x1b20x2[_0x5826[285]]&&(_0x1b20x2=_0x1b20x2[_0x5826[285]]),_0x1b20x3=_0x1b20x2[_0x5826[318]]||_0x5826[110]);return _0x1b20x3},getInnerHtml:function(){return mxClient[_0x5826[80]]?function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[339]]:_0x5826[110]}:function(_0x1b20x2){return null!=_0x1b20x2?( new XMLSerializer)[_0x5826[340]](_0x1b20x2):_0x5826[110]}}(),getOuterHtml:function(){return mxClient[_0x5826[80]]?function(_0x1b20x2){if(null!=_0x1b20x2){if(null!=_0x1b20x2[_0x5826[342]]){return _0x1b20x2[_0x5826[342]]};var _0x1b20x3=[];_0x1b20x3[_0x5826[207]](_0x5826[319]+_0x1b20x2[_0x5826[301]]);var _0x1b20x4=_0x1b20x2[_0x5826[320]];if(null!=_0x1b20x4){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=_0x1b20x4[_0x1b20x5][_0x5826[318]];null!=_0x1b20x9&&0<_0x1b20x9[_0x5826[67]]&&(_0x1b20x3[_0x5826[207]](_0x5826[185]),_0x1b20x3[_0x5826[207]](_0x1b20x4[_0x1b20x5][_0x5826[301]]),_0x1b20x3[_0x5826[207]](_0x5826[322]),_0x1b20x3[_0x5826[207]](_0x1b20x9),_0x1b20x3[_0x5826[207]](_0x5826[323]))}};0==_0x1b20x2[_0x5826[339]][_0x5826[67]]?_0x1b20x3[_0x5826[207]](_0x5826[343]):(_0x1b20x3[_0x5826[207]](_0x5826[341]),_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x5826[339]]),_0x1b20x3[_0x5826[207]](_0x5826[326]+_0x1b20x2[_0x5826[301]]+_0x5826[341]));return _0x1b20x3[_0x5826[234]](_0x5826[110])};return _0x5826[110]}:function(_0x1b20x2){return null!=_0x1b20x2?( new XMLSerializer)[_0x5826[340]](_0x1b20x2):_0x5826[110]}}(),write:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[295]][_0x5826[344]](_0x1b20x3);null!=_0x1b20x2&&_0x1b20x2[_0x5826[62]](_0x1b20x4);return _0x1b20x4},writeln:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[295]][_0x5826[344]](_0x1b20x3);null!=_0x1b20x2&&(_0x1b20x2[_0x5826[62]](_0x1b20x4),_0x1b20x2[_0x5826[62]](document[_0x5826[55]](_0x5826[345])));return _0x1b20x4},br:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3||1;for(var _0x1b20x4=null,_0x1b20x5=0;_0x1b20x5<_0x1b20x3;_0x1b20x5++){null!=_0x1b20x2&&(_0x1b20x4=_0x1b20x2[_0x5826[295]][_0x5826[55]](_0x5826[345]),_0x1b20x2[_0x5826[62]](_0x1b20x4))};return _0x1b20x4},button:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:document;_0x1b20x4=_0x1b20x4[_0x5826[55]](_0x5826[172]);mxUtils[_0x5826[53]](_0x1b20x4,_0x1b20x2);mxEvent[_0x5826[169]](_0x1b20x4,_0x5826[173],function(_0x1b20x2){_0x1b20x3(_0x1b20x2)});return _0x1b20x4},para:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[346]);mxUtils[_0x5826[53]](_0x1b20x4,_0x1b20x3);null!=_0x1b20x2&&_0x1b20x2[_0x5826[62]](_0x1b20x4);return _0x1b20x4},addTransparentBackgroundFilter:function(_0x1b20x2){_0x1b20x2[_0x5826[124]][_0x5826[347]]+=_0x5826[348]+mxClient[_0x5826[88]]+_0x5826[349]},linkAction:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return mxUtils[_0x5826[54]](_0x1b20x2,_0x1b20x3,function(){_0x1b20x4[_0x5826[350]](_0x1b20x5)},_0x1b20x9)},linkInvoke:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){return mxUtils[_0x5826[54]](_0x1b20x2,_0x1b20x3,function(){_0x1b20x4[_0x1b20x5](_0x1b20x9)},_0x1b20xa)},link:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=document[_0x5826[55]](_0x5826[351]);_0x1b20x9[_0x5826[124]][_0x5826[352]]=_0x5826[353];_0x1b20x9[_0x5826[124]][_0x5826[354]]=_0x5826[355];_0x1b20x9[_0x5826[124]][_0x5826[270]]=_0x5826[356];null!=_0x1b20x5&&(_0x1b20x9[_0x5826[124]][_0x5826[357]]=_0x1b20x5+_0x5826[168]);mxEvent[_0x5826[169]](_0x1b20x9,_0x5826[173],_0x1b20x4);mxUtils[_0x5826[53]](_0x1b20x9,_0x1b20x3);null!=_0x1b20x2&&_0x1b20x2[_0x5826[62]](_0x1b20x9);return _0x1b20x9},fit:function(_0x1b20x2){var _0x1b20x3=parseInt(_0x1b20x2[_0x5826[358]]),_0x1b20x4=parseInt(_0x1b20x2[_0x5826[359]]),_0x1b20x5=document[_0x5826[112]],_0x1b20x9=document[_0x5826[158]],_0x1b20xa=(_0x1b20x5[_0x5826[360]]||_0x1b20x9[_0x5826[360]])+(_0x1b20x5[_0x5826[159]]||_0x1b20x9[_0x5826[159]]);_0x1b20x3+_0x1b20x4>_0x1b20xa&&(_0x1b20x2[_0x5826[124]][_0x5826[361]]=Math[_0x5826[160]](_0x1b20x5[_0x5826[360]]||_0x1b20x9[_0x5826[360]],_0x1b20xa-_0x1b20x4)+_0x5826[168]);_0x1b20x3=parseInt(_0x1b20x2[_0x5826[362]]);_0x1b20x4=parseInt(_0x1b20x2[_0x5826[167]]);_0x1b20xa=(_0x1b20x5[_0x5826[190]]||_0x1b20x9[_0x5826[190]])+Math[_0x5826[160]](_0x1b20x5[_0x5826[157]]||0,_0x1b20x9[_0x5826[157]]);_0x1b20x3+_0x1b20x4>_0x1b20xa&&(_0x1b20x2[_0x5826[124]][_0x5826[125]]=Math[_0x5826[160]](_0x1b20x5[_0x5826[190]]||_0x1b20x9[_0x5826[190]],_0x1b20xa-_0x1b20x4)+_0x5826[168])},open:function(_0x1b20x2){if(mxClient[_0x5826[133]]){try{netscape[_0x5826[366]][_0x5826[365]][_0x5826[364]](_0x5826[363])}catch(b){return mxUtils[_0x5826[150]](_0x5826[367]),_0x5826[110]};var _0x1b20x4=Components[_0x5826[372]][_0x5826[371]][_0x5826[370]](Components[_0x5826[369]][_0x5826[368]]);_0x1b20x4[_0x5826[373]](_0x1b20x2);if(!_0x1b20x4[_0x5826[374]]()){return mxUtils[_0x5826[150]](_0x5826[375]),_0x5826[110]};_0x1b20x2=Components[_0x5826[372]][_0x5826[377]][_0x5826[370]](Components[_0x5826[369]][_0x5826[376]]);_0x1b20x2[_0x5826[176]](_0x1b20x4,1,4,null);_0x1b20x4=Components[_0x5826[372]][_0x5826[379]][_0x5826[370]](Components[_0x5826[369]][_0x5826[378]]);_0x1b20x4[_0x5826[176]](_0x1b20x2);return _0x1b20x4[_0x5826[381]](_0x1b20x4[_0x5826[380]]())};_0x1b20x4=( new ActiveXObject(_0x5826[382])).OpenTextFile(_0x1b20x2,1);_0x1b20x2=_0x1b20x4[_0x5826[383]]();_0x1b20x4[_0x5826[268]]();return _0x1b20x2},save:function(_0x1b20x2,_0x1b20x3){if(mxClient[_0x5826[133]]){try{netscape[_0x5826[366]][_0x5826[365]][_0x5826[364]](_0x5826[363])}catch(c){mxUtils[_0x5826[150]](_0x5826[384]);return};var _0x1b20x5=Components[_0x5826[372]][_0x5826[371]][_0x5826[370]](Components[_0x5826[369]][_0x5826[368]]);_0x1b20x5[_0x5826[373]](_0x1b20x2);_0x1b20x5[_0x5826[374]]()||_0x1b20x5[_0x5826[385]](0,420);var _0x1b20x9=Components[_0x5826[372]][_0x5826[387]][_0x5826[370]](Components[_0x5826[369]][_0x5826[386]]);_0x1b20x9[_0x5826[176]](_0x1b20x5,34,4,null);_0x1b20x9[_0x5826[53]](_0x1b20x3,_0x1b20x3[_0x5826[67]]);_0x1b20x9[_0x5826[388]]();_0x1b20x9[_0x5826[268]]()}else {_0x1b20x5=( new ActiveXObject(_0x5826[382])).CreateTextFile(_0x1b20x2,!0),_0x1b20x5.Write(_0x1b20x3),_0x1b20x5.Close()}},saveAs:function(_0x1b20x2){var _0x1b20x3=document[_0x5826[55]](_0x5826[389]);_0x1b20x3[_0x5826[57]](_0x5826[390],_0x5826[110]);_0x1b20x3[_0x5826[124]][_0x5826[187]]=_0x5826[188];document[_0x5826[112]][_0x5826[62]](_0x1b20x3);try{if(mxClient[_0x5826[133]]){var _0x1b20x4=_0x1b20x3[_0x5826[391]];_0x1b20x4[_0x5826[392]]();_0x1b20x4[_0x5826[53]](_0x1b20x2);_0x1b20x4[_0x5826[268]]();try{netscape[_0x5826[366]][_0x5826[365]][_0x5826[364]](_0x5826[363]),_0x1b20x3[_0x5826[393]](),saveDocument(_0x1b20x4)}catch(d){mxUtils[_0x5826[150]](_0x5826[394])}}else {_0x1b20x4=_0x1b20x3[_0x5826[396]][_0x5826[395]],_0x1b20x4[_0x5826[53]](_0x1b20x2),_0x1b20x4[_0x5826[398]](_0x5826[397],!1,document[_0x5826[45]])}}finally{document[_0x5826[112]][_0x5826[266]](_0x1b20x3)}},copy:function(_0x1b20x2){if(window[_0x5826[399]]){window[_0x5826[399]][_0x5826[401]](_0x5826[400],_0x1b20x2)}else {netscape[_0x5826[366]][_0x5826[365]][_0x5826[364]](_0x5826[363]);var _0x1b20x3=Components[_0x5826[372]][_0x5826[403]][_0x5826[370]](Components[_0x5826[369]][_0x5826[402]]);if(_0x1b20x3){var _0x1b20x4=Components[_0x5826[372]][_0x5826[405]][_0x5826[370]](Components[_0x5826[369]][_0x5826[404]]);if(_0x1b20x4){_0x1b20x4[_0x5826[407]](_0x5826[406]);var _0x1b20x5=Components[_0x5826[372]][_0x5826[409]][_0x5826[370]](Components[_0x5826[369]][_0x5826[408]]);_0x1b20x5[_0x5826[410]]=_0x1b20x2;_0x1b20x4[_0x5826[411]](_0x5826[406],_0x1b20x5,2*_0x1b20x2[_0x5826[67]]);_0x1b20x3[_0x5826[401]](_0x1b20x4,null,Components[_0x5826[369]][_0x5826[402]][_0x5826[412]])}}}},load:function(_0x1b20x2){_0x1b20x2= new mxXmlRequest(_0x1b20x2,null,_0x5826[413],!1);_0x1b20x2[_0x5826[414]]();return _0x1b20x2},get:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return ( new mxXmlRequest(_0x1b20x2,null,_0x5826[413]))[_0x5826[414]](_0x1b20x3,_0x1b20x4)},post:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return ( new mxXmlRequest(_0x1b20x2,_0x1b20x3))[_0x5826[414]](_0x1b20x4,_0x1b20x5)},submit:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return ( new mxXmlRequest(_0x1b20x2,_0x1b20x3))[_0x5826[415]](_0x1b20x4,_0x1b20x5)},loadInto:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxClient[_0x5826[80]]?_0x1b20x3[_0x5826[416]]=function(){4==_0x1b20x3[_0x5826[417]]&&_0x1b20x4()}:_0x1b20x3[_0x5826[418]](_0x5826[219],_0x1b20x4,!1);_0x1b20x3[_0x5826[219]](_0x1b20x2)},getValue:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2[_0x1b20x3]:null;null==_0x1b20x2&&(_0x1b20x2=_0x1b20x4);return _0x1b20x2},getNumber:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2[_0x1b20x3]:null;null==_0x1b20x2&&(_0x1b20x2=_0x1b20x4||0);return Number(_0x1b20x2)},getColor:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2[_0x1b20x3]:null;null==_0x1b20x2?_0x1b20x2=_0x1b20x4:_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);return _0x1b20x2},clone:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;var _0x1b20x5=null;if(null!=_0x1b20x2&&_0x5826[279]== typeof _0x1b20x2[_0x5826[196]]){var _0x1b20x5= new _0x1b20x2[_0x5826[196]],_0x1b20x9;for(_0x1b20x9 in _0x1b20x2){if(_0x1b20x9!=mxObjectIdentity[_0x5826[195]]&&(null==_0x1b20x3||0>mxUtils[_0x5826[2]](_0x1b20x3,_0x1b20x9))){_0x1b20x5[_0x1b20x9]=!_0x1b20x4&&_0x5826[194]== typeof _0x1b20x2[_0x1b20x9]?mxUtils[_0x5826[238]](_0x1b20x2[_0x1b20x9]):_0x1b20x2[_0x1b20x9]}}};return _0x1b20x5},equalPoints:function(_0x1b20x2,_0x1b20x3){if(null==_0x1b20x2&&null!=_0x1b20x3||null!=_0x1b20x2&&null==_0x1b20x3||null!=_0x1b20x2&&null!=_0x1b20x3&&_0x1b20x2[_0x5826[67]]!=_0x1b20x3[_0x5826[67]]){return !1};if(null!=_0x1b20x2&&null!=_0x1b20x3){for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){if(_0x1b20x2[_0x1b20x4]==_0x1b20x3[_0x1b20x4]||null!=_0x1b20x2[_0x1b20x4]&&!_0x1b20x2[_0x1b20x4][_0x5826[237]](_0x1b20x3[_0x1b20x4])){return !1}}};return !0},equalEntries:function(_0x1b20x2,_0x1b20x3){if(null==_0x1b20x2&&null!=_0x1b20x3||null!=_0x1b20x2&&null==_0x1b20x3||null!=_0x1b20x2&&null!=_0x1b20x3&&_0x1b20x2[_0x5826[67]]!=_0x1b20x3[_0x5826[67]]){return !1};if(null!=_0x1b20x2&&null!=_0x1b20x3){for(var _0x1b20x4 in _0x1b20x2){if(_0x1b20x2[_0x1b20x4]!=_0x1b20x3[_0x1b20x4]){return !1}}};return !0},extend:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=function(){};_0x1b20x4[_0x5826[202]]=_0x1b20x3[_0x5826[202]];_0x1b20x2[_0x5826[202]]= new _0x1b20x4;_0x1b20x2[_0x5826[202]][_0x5826[196]]=_0x1b20x2},toString:function(_0x1b20x2){var _0x1b20x3=_0x5826[110],_0x1b20x4;for(_0x1b20x4 in _0x1b20x2){try{if(null==_0x1b20x2[_0x1b20x4]){_0x1b20x3+=_0x1b20x4+_0x5826[419]}else {if(_0x5826[279]== typeof _0x1b20x2[_0x1b20x4]){_0x1b20x3+=_0x1b20x4+_0x5826[420]}else {if(_0x5826[194]== typeof _0x1b20x2[_0x1b20x4]){var _0x1b20x5=mxUtils[_0x5826[197]](_0x1b20x2[_0x1b20x4][_0x5826[196]]),_0x1b20x3=_0x1b20x3+(_0x1b20x4+_0x5826[421]+_0x1b20x5+_0x5826[422])}else {_0x1b20x3+=_0x1b20x4+_0x5826[423]+_0x1b20x2[_0x1b20x4]+_0x5826[192]}}}}catch(e){_0x1b20x3+=_0x1b20x4+_0x5826[226]+e[_0x5826[281]]}};return _0x1b20x3},toRadians:function(_0x1b20x2){return Math[_0x5826[424]]*_0x1b20x2/180},arcToCurves:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){_0x1b20x13-=_0x1b20x2;_0x1b20x14-=_0x1b20x3;if(0===_0x1b20x4||0===_0x1b20x5){return _0x1b20x18};_0x1b20x4=Math[_0x5826[425]](_0x1b20x4);_0x1b20x5=Math[_0x5826[425]](_0x1b20x5);var _0x1b20x15=-_0x1b20x13/2,_0x1b20x16=-_0x1b20x14/2,_0x1b20x17=Math[_0x5826[426]](_0x1b20x9*Math[_0x5826[424]]/180),_0x1b20x18=Math[_0x5826[427]](_0x1b20x9*Math[_0x5826[424]]/180);_0x1b20x9=_0x1b20x17*_0x1b20x15+_0x1b20x18*_0x1b20x16;var _0x1b20x15=-1*_0x1b20x18*_0x1b20x15+_0x1b20x17*_0x1b20x16,_0x1b20x16=_0x1b20x9*_0x1b20x9,_0x1b20x19=_0x1b20x15*_0x1b20x15,_0x1b20x1a=_0x1b20x4*_0x1b20x4,_0x1b20x1b=_0x1b20x5*_0x1b20x5,_0x1b20x1c=_0x1b20x16/_0x1b20x1a+_0x1b20x19/_0x1b20x1b;1<_0x1b20x1c?(_0x1b20x4*=Math[_0x5826[428]](_0x1b20x1c),_0x1b20x5*=Math[_0x5826[428]](_0x1b20x1c),_0x1b20xa=0):(_0x1b20x1c=1,_0x1b20xa===_0x1b20x12&&(_0x1b20x1c= -1),_0x1b20xa=_0x1b20x1c*Math[_0x5826[428]]((_0x1b20x1a*_0x1b20x1b-_0x1b20x1a*_0x1b20x19-_0x1b20x1b*_0x1b20x16)/(_0x1b20x1a*_0x1b20x19+_0x1b20x1b*_0x1b20x16)));_0x1b20x16=_0x1b20xa*_0x1b20x4*_0x1b20x15/_0x1b20x5;_0x1b20x19=-1*_0x1b20xa*_0x1b20x5*_0x1b20x9/_0x1b20x4;_0x1b20x13=_0x1b20x17*_0x1b20x16-_0x1b20x18*_0x1b20x19+_0x1b20x13/2;_0x1b20x14=_0x1b20x18*_0x1b20x16+_0x1b20x17*_0x1b20x19+_0x1b20x14/2;_0x1b20x1a=Math[_0x5826[429]]((_0x1b20x15-_0x1b20x19)/_0x1b20x5,(_0x1b20x9-_0x1b20x16)/_0x1b20x4)-Math[_0x5826[429]](0,1);_0x1b20xa=0<=_0x1b20x1a?_0x1b20x1a:2*Math[_0x5826[424]]+_0x1b20x1a;_0x1b20x1a=Math[_0x5826[429]]((-_0x1b20x15-_0x1b20x19)/_0x1b20x5,(-_0x1b20x9-_0x1b20x16)/_0x1b20x4)-Math[_0x5826[429]]((_0x1b20x15-_0x1b20x19)/_0x1b20x5,(_0x1b20x9-_0x1b20x16)/_0x1b20x4);_0x1b20x9=0<=_0x1b20x1a?_0x1b20x1a:2*Math[_0x5826[424]]+_0x1b20x1a;0==_0x1b20x12&&0<_0x1b20x9?_0x1b20x9-=2*Math[_0x5826[424]]:0!=_0x1b20x12&&0>_0x1b20x9&&(_0x1b20x9+=2*Math[_0x5826[424]]);_0x1b20x12=2*_0x1b20x9/Math[_0x5826[424]];_0x1b20x12=Math[_0x5826[430]](0>_0x1b20x12?-1*_0x1b20x12:_0x1b20x12);_0x1b20x9/=_0x1b20x12;_0x1b20x15=8/3*Math[_0x5826[427]](_0x1b20x9/4)*Math[_0x5826[427]](_0x1b20x9/4)/Math[_0x5826[427]](_0x1b20x9/2);_0x1b20x16=_0x1b20x17*_0x1b20x4;_0x1b20x17*=_0x1b20x5;_0x1b20x4*=_0x1b20x18;_0x1b20x5*=_0x1b20x18;for(var _0x1b20x1d=Math[_0x5826[426]](_0x1b20xa),_0x1b20x1e=Math[_0x5826[427]](_0x1b20xa),_0x1b20x19=-_0x1b20x15*(_0x1b20x16*_0x1b20x1e+_0x1b20x5*_0x1b20x1d),_0x1b20x1a=-_0x1b20x15*(_0x1b20x4*_0x1b20x1e-_0x1b20x17*_0x1b20x1d),_0x1b20x1c=_0x1b20x1b=0,_0x1b20x18=[],_0x1b20x1f=0;_0x1b20x1f<_0x1b20x12;++_0x1b20x1f){_0x1b20xa+=_0x1b20x9;var _0x1b20x1d=Math[_0x5826[426]](_0x1b20xa),_0x1b20x1e=Math[_0x5826[427]](_0x1b20xa),_0x1b20x1b=_0x1b20x16*_0x1b20x1d-_0x1b20x5*_0x1b20x1e+_0x1b20x13,_0x1b20x1c=_0x1b20x4*_0x1b20x1d+_0x1b20x17*_0x1b20x1e+_0x1b20x14,_0x1b20x20=-_0x1b20x15*(_0x1b20x16*_0x1b20x1e+_0x1b20x5*_0x1b20x1d),_0x1b20x1d=-_0x1b20x15*(_0x1b20x4*_0x1b20x1e-_0x1b20x17*_0x1b20x1d),_0x1b20x1e=6*_0x1b20x1f;_0x1b20x18[_0x1b20x1e]=Number(_0x1b20x19+_0x1b20x2);_0x1b20x18[_0x1b20x1e+1]=Number(_0x1b20x1a+_0x1b20x3);_0x1b20x18[_0x1b20x1e+2]=Number(_0x1b20x1b-_0x1b20x20+_0x1b20x2);_0x1b20x18[_0x1b20x1e+3]=Number(_0x1b20x1c-_0x1b20x1d+_0x1b20x3);_0x1b20x18[_0x1b20x1e+4]=Number(_0x1b20x1b+_0x1b20x2);_0x1b20x18[_0x1b20x1e+5]=Number(_0x1b20x1c+_0x1b20x3);_0x1b20x19=_0x1b20x1b+_0x1b20x20;_0x1b20x1a=_0x1b20x1c+_0x1b20x1d};return _0x1b20x18},getBoundingBox:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(null!=_0x1b20x2&&null!=_0x1b20x3&&0!=_0x1b20x3){var _0x1b20x5=mxUtils[_0x5826[431]](_0x1b20x3),_0x1b20x4=Math[_0x5826[426]](_0x1b20x5),_0x1b20x9=Math[_0x5826[427]](_0x1b20x5),_0x1b20xa= new mxPoint(_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]/2,_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]/2),_0x1b20x12= new mxPoint(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]),_0x1b20x5= new mxPoint(_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]],_0x1b20x2[_0x5826[236]]),_0x1b20x13= new mxPoint(_0x1b20x5[_0x5826[235]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]),_0x1b20x14= new mxPoint(_0x1b20x2[_0x5826[235]],_0x1b20x13[_0x5826[236]]),_0x1b20x12=mxUtils[_0x5826[432]](_0x1b20x12,_0x1b20x4,_0x1b20x9,_0x1b20xa),_0x1b20x5=mxUtils[_0x5826[432]](_0x1b20x5,_0x1b20x4,_0x1b20x9,_0x1b20xa),_0x1b20x13=mxUtils[_0x5826[432]](_0x1b20x13,_0x1b20x4,_0x1b20x9,_0x1b20xa),_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x4,_0x1b20x9,_0x1b20xa),_0x1b20x4= new mxRectangle(_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],0,0);_0x1b20x4[_0x5826[99]]( new mxRectangle(_0x1b20x5[_0x5826[235]],_0x1b20x5[_0x5826[236]],0,0));_0x1b20x4[_0x5826[99]]( new mxRectangle(_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],0,0));_0x1b20x4[_0x5826[99]]( new mxRectangle(_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]],0,0))};return _0x1b20x4},getRotatedPoint:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x5=null!=_0x1b20x5?_0x1b20x5: new mxPoint;var _0x1b20x9=_0x1b20x2[_0x5826[235]]-_0x1b20x5[_0x5826[235]];_0x1b20x2=_0x1b20x2[_0x5826[236]]-_0x1b20x5[_0x5826[236]];return new mxPoint(_0x1b20x9*_0x1b20x3-_0x1b20x2*_0x1b20x4+_0x1b20x5[_0x5826[235]],_0x1b20x2*_0x1b20x3+_0x1b20x9*_0x1b20x4+_0x1b20x5[_0x5826[236]])},getPortConstraints:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x2=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_PORT_CONSTRAINT,null);if(null==_0x1b20x2){return _0x1b20x5};_0x1b20x5=_0x1b20x2.toString();_0x1b20x2=mxConstants[_0x5826[434]];0<=_0x1b20x5[_0x5826[2]](mxConstants.DIRECTION_NORTH)&&(_0x1b20x2|=mxConstants[_0x5826[435]]);0<=_0x1b20x5[_0x5826[2]](mxConstants.DIRECTION_WEST)&&(_0x1b20x2|=mxConstants[_0x5826[436]]);0<=_0x1b20x5[_0x5826[2]](mxConstants.DIRECTION_SOUTH)&&(_0x1b20x2|=mxConstants[_0x5826[437]]);0<=_0x1b20x5[_0x5826[2]](mxConstants.DIRECTION_EAST)&&(_0x1b20x2|=mxConstants[_0x5826[438]]);return _0x1b20x2},reversePortConstraints:function(_0x1b20x2){var _0x1b20x3=0,_0x1b20x3=(_0x1b20x2&mxConstants[_0x5826[436]])<<3,_0x1b20x3=_0x1b20x3|(_0x1b20x2&mxConstants[_0x5826[435]])<<1,_0x1b20x3=_0x1b20x3|(_0x1b20x2&mxConstants[_0x5826[437]])>>1;return _0x1b20x3|=(_0x1b20x2&mxConstants[_0x5826[438]])>>3},findNearestSegment:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=-1;if(0<_0x1b20x2[_0x5826[439]][_0x5826[67]]){for(var _0x1b20x9=_0x1b20x2[_0x5826[439]][0],_0x1b20xa=null,_0x1b20x12=1;_0x1b20x12<_0x1b20x2[_0x5826[439]][_0x5826[67]];_0x1b20x12++){var _0x1b20x13=_0x1b20x2[_0x5826[439]][_0x1b20x12],_0x1b20x9=mxUtils[_0x5826[440]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x3,_0x1b20x4);if(null==_0x1b20xa||_0x1b20x9<_0x1b20xa){_0x1b20xa=_0x1b20x9,_0x1b20x5=_0x1b20x12-1};_0x1b20x9=_0x1b20x13}};return _0x1b20x5},rectangleIntersectsSegment:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[236]],_0x1b20x9=_0x1b20x2[_0x5826[235]],_0x1b20xa=_0x1b20x5+_0x1b20x2[_0x5826[119]],_0x1b20x12=_0x1b20x9+_0x1b20x2[_0x5826[117]];_0x1b20x2=_0x1b20x3[_0x5826[235]];var _0x1b20x13=_0x1b20x4[_0x5826[235]];_0x1b20x3[_0x5826[235]]>_0x1b20x4[_0x5826[235]]&&(_0x1b20x2=_0x1b20x4[_0x5826[235]],_0x1b20x13=_0x1b20x3[_0x5826[235]]);_0x1b20x13>_0x1b20x12&&(_0x1b20x13=_0x1b20x12);_0x1b20x2<_0x1b20x9&&(_0x1b20x2=_0x1b20x9);if(_0x1b20x2>_0x1b20x13){return !1};var _0x1b20x9=_0x1b20x3[_0x5826[236]],_0x1b20x12=_0x1b20x4[_0x5826[236]],_0x1b20x14=_0x1b20x4[_0x5826[235]]-_0x1b20x3[_0x5826[235]];1E-7<Math[_0x5826[425]](_0x1b20x14)&&(_0x1b20x4=(_0x1b20x4[_0x5826[236]]-_0x1b20x3[_0x5826[236]])/_0x1b20x14,_0x1b20x3=_0x1b20x3[_0x5826[236]]-_0x1b20x4*_0x1b20x3[_0x5826[235]],_0x1b20x9=_0x1b20x4*_0x1b20x2+_0x1b20x3,_0x1b20x12=_0x1b20x4*_0x1b20x13+_0x1b20x3);_0x1b20x9>_0x1b20x12&&(_0x1b20x3=_0x1b20x12,_0x1b20x12=_0x1b20x9,_0x1b20x9=_0x1b20x3);_0x1b20x12>_0x1b20xa&&(_0x1b20x12=_0x1b20xa);_0x1b20x9<_0x1b20x5&&(_0x1b20x9=_0x1b20x5);return _0x1b20x9>_0x1b20x12?!1:!0},contains:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x2[_0x5826[235]]<=_0x1b20x3&&_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]>=_0x1b20x3&&_0x1b20x2[_0x5826[236]]<=_0x1b20x4&&_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]>=_0x1b20x4},intersects:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[117]],_0x1b20x5=_0x1b20x2[_0x5826[119]],_0x1b20x9=_0x1b20x3[_0x5826[117]],_0x1b20xa=_0x1b20x3[_0x5826[119]];if(0>=_0x1b20x9||0>=_0x1b20xa||0>=_0x1b20x4||0>=_0x1b20x5){return !1};var _0x1b20x12=_0x1b20x2[_0x5826[235]],_0x1b20x13=_0x1b20x2[_0x5826[236]],_0x1b20x14=_0x1b20x3[_0x5826[235]],_0x1b20x15=_0x1b20x3[_0x5826[236]],_0x1b20x9=_0x1b20x9+_0x1b20x14,_0x1b20xa=_0x1b20xa+_0x1b20x15,_0x1b20x4=_0x1b20x4+_0x1b20x12,_0x1b20x5=_0x1b20x5+_0x1b20x13;return (_0x1b20x9<_0x1b20x14||_0x1b20x9>_0x1b20x12)&&(_0x1b20xa<_0x1b20x15||_0x1b20xa>_0x1b20x13)&&(_0x1b20x4<_0x1b20x12||_0x1b20x4>_0x1b20x14)&&(_0x1b20x5<_0x1b20x13||_0x1b20x5>_0x1b20x15)},intersectsHotspot:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:1;_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:0;_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:0;if(0<_0x1b20x5){var _0x1b20x12=_0x1b20x2[_0x5826[241]](),_0x1b20x13=_0x1b20x2[_0x5826[242]](),_0x1b20x14=_0x1b20x2[_0x5826[117]],_0x1b20x15=_0x1b20x2[_0x5826[119]],_0x1b20x16=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_STARTSIZE)*_0x1b20x2[_0x5826[441]][_0x5826[255]];0<_0x1b20x16&&(mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_HORIZONTAL,!0)?(_0x1b20x13=_0x1b20x2[_0x5826[236]]+_0x1b20x16/2,_0x1b20x15=_0x1b20x16):(_0x1b20x12=_0x1b20x2[_0x5826[235]]+_0x1b20x16/2,_0x1b20x14=_0x1b20x16));_0x1b20x14=Math[_0x5826[160]](_0x1b20x9,_0x1b20x14*_0x1b20x5);_0x1b20x15=Math[_0x5826[160]](_0x1b20x9,_0x1b20x15*_0x1b20x5);0<_0x1b20xa&&(_0x1b20x14=Math[_0x5826[243]](_0x1b20x14,_0x1b20xa),_0x1b20x15=Math[_0x5826[243]](_0x1b20x15,_0x1b20xa));_0x1b20x5= new mxRectangle(_0x1b20x12-_0x1b20x14/2,_0x1b20x13-_0x1b20x15/2,_0x1b20x14,_0x1b20x15);_0x1b20x12=mxUtils[_0x5826[431]](mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION)||0);0!=_0x1b20x12&&(_0x1b20x9=Math[_0x5826[426]](-_0x1b20x12),_0x1b20xa=Math[_0x5826[427]](-_0x1b20x12),_0x1b20x12= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]()),_0x1b20x2=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x3,_0x1b20x4),_0x1b20x9,_0x1b20xa,_0x1b20x12),_0x1b20x3=_0x1b20x2[_0x5826[235]],_0x1b20x4=_0x1b20x2[_0x5826[236]]);return mxUtils[_0x5826[442]](_0x1b20x5,_0x1b20x3,_0x1b20x4)};return !0},getOffset:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=0,_0x1b20x5=0;if(null!=_0x1b20x3&&_0x1b20x3){var _0x1b20x9=document[_0x5826[112]],_0x1b20xa=document[_0x5826[158]],_0x1b20x4=_0x1b20x4+(_0x1b20x9[_0x5826[360]]||_0x1b20xa[_0x5826[360]]),_0x1b20x5=_0x1b20x5+(_0x1b20x9[_0x5826[190]]||_0x1b20xa[_0x5826[190]])};for(;_0x1b20x2[_0x5826[443]];){_0x1b20x4+=_0x1b20x2[_0x5826[358]],_0x1b20x5+=_0x1b20x2[_0x5826[362]],_0x1b20x2=_0x1b20x2[_0x5826[443]]};return new mxPoint(_0x1b20x4,_0x1b20x5)},getScrollOrigin:function(_0x1b20x2){for(var _0x1b20x3=document[_0x5826[112]],_0x1b20x4=document[_0x5826[158]],_0x1b20x5= new mxPoint(_0x1b20x3[_0x5826[360]]||_0x1b20x4[_0x5826[360]],_0x1b20x3[_0x5826[190]]||_0x1b20x4[_0x5826[190]]);null!=_0x1b20x2&&_0x1b20x2!=_0x1b20x3&&_0x1b20x2!=_0x1b20x4;){!isNaN(_0x1b20x2[_0x5826[360]])&&!isNaN(_0x1b20x2[_0x5826[190]])&&(_0x1b20x5[_0x5826[235]]+=_0x1b20x2[_0x5826[360]],_0x1b20x5[_0x5826[236]]+=_0x1b20x2[_0x5826[190]]),_0x1b20x2=_0x1b20x2[_0x5826[265]]};return _0x1b20x5},convertPoint:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=mxUtils[_0x5826[444]](_0x1b20x2);_0x1b20x2=mxUtils[_0x5826[445]](_0x1b20x2);_0x1b20x2[_0x5826[235]]-=_0x1b20x5[_0x5826[235]];_0x1b20x2[_0x5826[236]]-=_0x1b20x5[_0x5826[236]];return new mxPoint(_0x1b20x3-_0x1b20x2[_0x5826[235]],_0x1b20x4-_0x1b20x2[_0x5826[236]])},ltrim:function(_0x1b20x2,_0x1b20x3){return _0x1b20x2[_0x5826[230]](RegExp(_0x5826[446]+(_0x1b20x3||_0x5826[447])+_0x5826[448],_0x5826[449]),_0x5826[110])},rtrim:function(_0x1b20x2,_0x1b20x3){return _0x1b20x2[_0x5826[230]](RegExp(_0x5826[450]+(_0x1b20x3||_0x5826[447])+_0x5826[451],_0x5826[449]),_0x5826[110])},trim:function(_0x1b20x2,_0x1b20x3){return mxUtils[_0x5826[453]](mxUtils[_0x5826[452]](_0x1b20x2,_0x1b20x3),_0x1b20x3)},isNumeric:function(_0x1b20x2){return null!=_0x1b20x2&&(null==_0x1b20x2[_0x5826[67]]||0<_0x1b20x2[_0x5826[67]]&&0>_0x1b20x2[_0x5826[2]](_0x5826[454])&&0>_0x1b20x2[_0x5826[2]](_0x5826[455]))&&!isNaN(_0x1b20x2)},mod:function(_0x1b20x2,_0x1b20x3){return (_0x1b20x2%_0x1b20x3+_0x1b20x3)%_0x1b20x3},intersection:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){var _0x1b20x14=(_0x1b20x13-_0x1b20xa)*(_0x1b20x4-_0x1b20x2)-(_0x1b20x12-_0x1b20x9)*(_0x1b20x5-_0x1b20x3);_0x1b20x12=((_0x1b20x12-_0x1b20x9)*(_0x1b20x3-_0x1b20xa)-(_0x1b20x13-_0x1b20xa)*(_0x1b20x2-_0x1b20x9))/_0x1b20x14;_0x1b20x9=((_0x1b20x4-_0x1b20x2)*(_0x1b20x3-_0x1b20xa)-(_0x1b20x5-_0x1b20x3)*(_0x1b20x2-_0x1b20x9))/_0x1b20x14;return 0<=_0x1b20x12&&1>=_0x1b20x12&&0<=_0x1b20x9&&1>=_0x1b20x9? new mxPoint(_0x1b20x2+_0x1b20x12*(_0x1b20x4-_0x1b20x2),_0x1b20x3+_0x1b20x12*(_0x1b20x5-_0x1b20x3)):null},ptSegDistSq:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x4-=_0x1b20x2;_0x1b20x5-=_0x1b20x3;_0x1b20x9-=_0x1b20x2;_0x1b20xa-=_0x1b20x3;0>=_0x1b20x9*_0x1b20x4+_0x1b20xa*_0x1b20x5?_0x1b20x4=0:(_0x1b20x9=_0x1b20x4-_0x1b20x9,_0x1b20xa=_0x1b20x5-_0x1b20xa,_0x1b20x2=_0x1b20x9*_0x1b20x4+_0x1b20xa*_0x1b20x5,_0x1b20x4=0>=_0x1b20x2?0:_0x1b20x2*_0x1b20x2/(_0x1b20x4*_0x1b20x4+_0x1b20x5*_0x1b20x5));_0x1b20x9=_0x1b20x9*_0x1b20x9+_0x1b20xa*_0x1b20xa-_0x1b20x4;0>_0x1b20x9&&(_0x1b20x9=0);return _0x1b20x9},relativeCcw:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x4-=_0x1b20x2;_0x1b20x5-=_0x1b20x3;_0x1b20x9-=_0x1b20x2;_0x1b20xa-=_0x1b20x3;_0x1b20x2=_0x1b20x9*_0x1b20x5-_0x1b20xa*_0x1b20x4;0==_0x1b20x2&&(_0x1b20x2=_0x1b20x9*_0x1b20x4+_0x1b20xa*_0x1b20x5,0<_0x1b20x2&&(_0x1b20x2=(_0x1b20x9-_0x1b20x4)*_0x1b20x4+(_0x1b20xa-_0x1b20x5)*_0x1b20x5,0>_0x1b20x2&&(_0x1b20x2=0)));return 0>_0x1b20x2?-1:0<_0x1b20x2?1:0},animateChanges:function(_0x1b20x2,_0x1b20x3){mxEffects[_0x5826[456]][_0x5826[183]](this,arguments)},cascadeOpacity:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxEffects[_0x5826[260]][_0x5826[183]](this,arguments)},fadeOut:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){mxEffects[_0x5826[457]][_0x5826[183]](this,arguments)},setOpacity:function(_0x1b20x2,_0x1b20x3){mxUtils[_0x5826[458]](_0x1b20x2)?_0x1b20x2[_0x5826[124]][_0x5826[347]]=100<=_0x1b20x3?null:_0x5826[459]+_0x1b20x3/5+_0x5826[460]:mxClient[_0x5826[80]]&&(_0x5826[82]=== typeof document[_0x5826[5]]||9>document[_0x5826[5]])?_0x1b20x2[_0x5826[124]][_0x5826[347]]=100<=_0x1b20x3?null:_0x5826[459]+_0x1b20x3+_0x5826[460]:_0x1b20x2[_0x5826[124]][_0x5826[461]]=_0x1b20x3/100},createImage:function(_0x1b20x2){var _0x1b20x3=null;mxClient[_0x5826[49]]&&_0x5826[462]!=document[_0x5826[135]]?(_0x1b20x3=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[464]),_0x1b20x3[_0x5826[57]](_0x5826[390],_0x1b20x2),_0x1b20x3[_0x5826[124]][_0x5826[465]]=_0x5826[130]):(_0x1b20x3=document[_0x5826[55]](_0x5826[466]),_0x1b20x3[_0x5826[57]](_0x5826[390],_0x1b20x2),_0x1b20x3[_0x5826[57]](_0x5826[467],_0x5826[468]));return _0x1b20x3},sortCells:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;var _0x1b20x4= new mxDictionary;_0x1b20x2[_0x5826[470]](function(_0x1b20x2,_0x1b20x9){var _0x1b20xa=_0x1b20x4[_0x5826[203]](_0x1b20x2);null==_0x1b20xa&&(_0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2)[_0x5826[224]](mxCellPath.PATH_SEPARATOR),_0x1b20x4[_0x5826[204]](_0x1b20x2,_0x1b20xa));var _0x1b20x12=_0x1b20x4[_0x5826[203]](_0x1b20x9);null==_0x1b20x12&&(_0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20x9)[_0x5826[224]](mxCellPath.PATH_SEPARATOR),_0x1b20x4[_0x5826[204]](_0x1b20x9,_0x1b20x12));_0x1b20xa=mxCellPath[_0x5826[469]](_0x1b20xa,_0x1b20x12);return 0==_0x1b20xa?0:0<_0x1b20xa==_0x1b20x3?1:-1});return _0x1b20x2},getStylename:function(_0x1b20x2){return null!=_0x1b20x2&&(_0x1b20x2=_0x1b20x2[_0x5826[224]](_0x5826[471])[0],0>_0x1b20x2[_0x5826[2]](_0x5826[226]))?_0x1b20x2:_0x5826[110]},getStylenames:function(_0x1b20x2){var _0x1b20x3=[];if(null!=_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[224]](_0x5826[471]);for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){0>_0x1b20x2[_0x1b20x4][_0x5826[2]](_0x5826[226])&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])}};return _0x1b20x3},indexOfStylename:function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x3){for(var _0x1b20x4=_0x1b20x2[_0x5826[224]](_0x5826[471]),_0x1b20x5=0,_0x1b20x9=0;_0x1b20x9<_0x1b20x4[_0x5826[67]];_0x1b20x9++){if(_0x1b20x4[_0x1b20x9]==_0x1b20x3){return _0x1b20x5};_0x1b20x5+=_0x1b20x4[_0x1b20x9][_0x5826[67]]+1}};return -1},addStylename:function(_0x1b20x2,_0x1b20x3){0>mxUtils[_0x5826[472]](_0x1b20x2,_0x1b20x3)&&(null==_0x1b20x2?_0x1b20x2=_0x5826[110]:0<_0x1b20x2[_0x5826[67]]&&_0x5826[471]!=_0x1b20x2[_0x5826[225]](_0x1b20x2[_0x5826[67]]-1)&&(_0x1b20x2+=_0x5826[471]),_0x1b20x2+=_0x1b20x3);return _0x1b20x2},removeStylename:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=[];if(null!=_0x1b20x2){for(var _0x1b20x5=_0x1b20x2[_0x5826[224]](_0x5826[471]),_0x1b20x9=0;_0x1b20x9<_0x1b20x5[_0x5826[67]];_0x1b20x9++){_0x1b20x5[_0x1b20x9]!=_0x1b20x3&&_0x1b20x4[_0x5826[207]](_0x1b20x5[_0x1b20x9])}};return _0x1b20x4[_0x5826[234]](_0x5826[471])},removeAllStylenames:function(_0x1b20x2){var _0x1b20x3=[];if(null!=_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[224]](_0x5826[471]);for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){0<=_0x1b20x2[_0x1b20x4][_0x5826[2]](_0x5826[226])&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])}};return _0x1b20x3[_0x5826[234]](_0x5826[471])},setCellStyles:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]){_0x1b20x2[_0x5826[473]]();try{for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){if(null!=_0x1b20x3[_0x1b20x9]){var _0x1b20xa=mxUtils[_0x5826[475]](_0x1b20x2[_0x5826[474]](_0x1b20x3[_0x1b20x9]),_0x1b20x4,_0x1b20x5);_0x1b20x2[_0x5826[475]](_0x1b20x3[_0x1b20x9],_0x1b20xa)}}}finally{_0x1b20x2[_0x5826[476]]()}}},setStyle:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=null!=_0x1b20x4&&(_0x5826[82]== typeof _0x1b20x4[_0x5826[67]]||0<_0x1b20x4[_0x5826[67]]);if(null==_0x1b20x2||0==_0x1b20x2[_0x5826[67]]){_0x1b20x5&&(_0x1b20x2=_0x1b20x3+_0x5826[226]+_0x1b20x4)}else {var _0x1b20x9=_0x1b20x2[_0x5826[2]](_0x1b20x3+_0x5826[226]);0>_0x1b20x9?_0x1b20x5&&(_0x1b20x5=_0x5826[471]==_0x1b20x2[_0x5826[225]](_0x1b20x2[_0x5826[67]]-1)?_0x5826[110]:_0x5826[471],_0x1b20x2=_0x1b20x2+_0x1b20x5+_0x1b20x3+_0x5826[226]+_0x1b20x4):(_0x1b20x3=_0x1b20x5?_0x1b20x3+_0x5826[226]+_0x1b20x4:_0x5826[110],_0x1b20x4=_0x1b20x2[_0x5826[2]](_0x5826[471],_0x1b20x9),_0x1b20x5||_0x1b20x4++,_0x1b20x2=_0x1b20x2[_0x5826[85]](0,_0x1b20x9)+_0x1b20x3+(_0x1b20x4>_0x1b20x9?_0x1b20x2[_0x5826[85]](_0x1b20x4):_0x5826[110]))};return _0x1b20x2},setCellStyleFlags:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]){_0x1b20x2[_0x5826[473]]();try{for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[67]];_0x1b20xa++){if(null!=_0x1b20x3[_0x1b20xa]){var _0x1b20x12=mxUtils[_0x5826[477]](_0x1b20x2[_0x5826[474]](_0x1b20x3[_0x1b20xa]),_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[475]](_0x1b20x3[_0x1b20xa],_0x1b20x12)}}}finally{_0x1b20x2[_0x5826[476]]()}}},setStyleFlag:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null==_0x1b20x2||0==_0x1b20x2[_0x5826[67]]){_0x1b20x2=_0x1b20x5||null==_0x1b20x5?_0x1b20x3+_0x5826[226]+_0x1b20x4:_0x1b20x3+_0x5826[478]}else {var _0x1b20x9=_0x1b20x2[_0x5826[2]](_0x1b20x3+_0x5826[226]);if(0>_0x1b20x9){_0x1b20x9=_0x5826[471]==_0x1b20x2[_0x5826[225]](_0x1b20x2[_0x5826[67]]-1)?_0x5826[110]:_0x5826[471],_0x1b20x2=_0x1b20x5||null==_0x1b20x5?_0x1b20x2+_0x1b20x9+_0x1b20x3+_0x5826[226]+_0x1b20x4:_0x1b20x2+_0x1b20x9+_0x1b20x3+_0x5826[478]}else {var _0x1b20xa=_0x1b20x2[_0x5826[2]](_0x5826[471],_0x1b20x9),_0x1b20x12=_0x5826[110],_0x1b20x12=0>_0x1b20xa?_0x1b20x2[_0x5826[85]](_0x1b20x9+_0x1b20x3[_0x5826[67]]+1):_0x1b20x2[_0x5826[85]](_0x1b20x9+_0x1b20x3[_0x5826[67]]+1,_0x1b20xa),_0x1b20x12=null==_0x1b20x5?parseInt(_0x1b20x12)^_0x1b20x4:_0x1b20x5?parseInt(_0x1b20x12)|_0x1b20x4:parseInt(_0x1b20x12)& ~_0x1b20x4;_0x1b20x2=_0x1b20x2[_0x5826[85]](0,_0x1b20x9)+_0x1b20x3+_0x5826[226]+_0x1b20x12+(0<=_0x1b20xa?_0x1b20x2[_0x5826[85]](_0x1b20xa):_0x5826[110])}};return _0x1b20x2},getAlignmentAsPoint:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=0,_0x1b20x5=0;_0x1b20x2==mxConstants[_0x5826[479]]?_0x1b20x4= -0.5:_0x1b20x2==mxConstants[_0x5826[480]]&&(_0x1b20x4= -1);_0x1b20x3==mxConstants[_0x5826[481]]?_0x1b20x5= -0.5:_0x1b20x3==mxConstants[_0x5826[482]]&&(_0x1b20x5= -1);return new mxPoint(_0x1b20x4,_0x1b20x5)},getSizeForString:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:mxConstants[_0x5826[483]];_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:mxConstants[_0x5826[484]];var _0x1b20x5=document[_0x5826[55]](_0x5826[485]);_0x1b20x5[_0x5826[124]][_0x5826[486]]=_0x1b20x4;_0x1b20x5[_0x5826[124]][_0x5826[487]]=Math[_0x5826[488]](_0x1b20x3)+_0x5826[168];_0x1b20x5[_0x5826[124]][_0x5826[489]]=Math[_0x5826[488]](_0x1b20x3*mxConstants[_0x5826[490]])+_0x5826[168];_0x1b20x5[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x5[_0x5826[124]][_0x5826[493]]=_0x5826[494];_0x1b20x5[_0x5826[124]][_0x5826[187]]=_0x5826[188];_0x1b20x5[_0x5826[124]][_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498];_0x1b20x5[_0x5826[124]][_0x5826[499]]=_0x5826[500];_0x1b20x5[_0x5826[339]]=_0x1b20x2;document[_0x5826[112]][_0x5826[62]](_0x1b20x5);_0x1b20x2= new mxRectangle(0,0,_0x1b20x5[_0x5826[359]],_0x1b20x5[_0x5826[167]]);document[_0x5826[112]][_0x5826[266]](_0x1b20x5);return _0x1b20x2},getViewXml:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:0;_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:0;_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:1;null==_0x1b20x4&&(_0x1b20x4=[_0x1b20x2[_0x5826[502]]()[_0x5826[501]]()]);var _0x1b20xa=_0x1b20x2[_0x5826[249]](),_0x1b20x12=null,_0x1b20x13=_0x1b20xa[_0x5826[503]]();_0x1b20xa[_0x5826[504]](!1);var _0x1b20x14=_0x1b20xa[_0x5826[505]],_0x1b20x15=_0x1b20xa[_0x5826[506]];_0x1b20x2[_0x5826[507]]==mxConstants[_0x5826[508]]?(_0x1b20xa[_0x5826[505]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449]),_0x1b20xa[_0x5826[510]][_0x5826[62]](_0x1b20xa[_0x5826[505]]),_0x1b20xa[_0x5826[506]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449])):(_0x1b20xa[_0x5826[505]]=_0x1b20xa[_0x5826[505]][_0x5826[511]](!1),_0x1b20xa[_0x5826[510]][_0x5826[62]](_0x1b20xa[_0x5826[505]]),_0x1b20xa[_0x5826[506]]=_0x1b20xa[_0x5826[506]][_0x5826[511]](!1));_0x1b20xa[_0x5826[510]][_0x5826[62]](_0x1b20xa[_0x5826[506]]);var _0x1b20x16=_0x1b20xa[_0x5826[512]]();_0x1b20xa[_0x5826[513]]= new mxPoint(_0x1b20x5,_0x1b20x9);_0x1b20x3= new mxTemporaryCellStates(_0x1b20x2[_0x5826[249]](),_0x1b20x3,_0x1b20x4);try{_0x1b20x12=( new mxCodec)[_0x5826[514]](_0x1b20x2[_0x5826[249]]())}finally{_0x1b20x3[_0x5826[515]](),_0x1b20xa[_0x5826[513]]=_0x1b20x16,_0x1b20xa[_0x5826[510]][_0x5826[266]](_0x1b20xa[_0x5826[505]]),_0x1b20xa[_0x5826[510]][_0x5826[266]](_0x1b20xa[_0x5826[506]]),_0x1b20xa[_0x5826[505]]=_0x1b20x14,_0x1b20xa[_0x5826[506]]=_0x1b20x15,_0x1b20xa[_0x5826[504]](_0x1b20x13)};return _0x1b20x12},getScaleForPageCount:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(1>_0x1b20x2){return 1};_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:mxConstants[_0x5826[516]];_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:0;var _0x1b20x9=_0x1b20x4[_0x5826[117]]-2*_0x1b20x5;_0x1b20x4=_0x1b20x4[_0x5826[119]]-2*_0x1b20x5;_0x1b20x5=_0x1b20x3[_0x5826[517]]()[_0x5826[238]]();_0x1b20x3=_0x1b20x3[_0x5826[249]]()[_0x5826[518]]();_0x1b20x5[_0x5826[117]]/=_0x1b20x3;_0x1b20x5[_0x5826[119]]/=_0x1b20x3;_0x1b20x3=_0x1b20x5[_0x5826[117]];_0x1b20x4=_0x1b20x3/_0x1b20x5[_0x5826[119]]/(_0x1b20x9/_0x1b20x4);_0x1b20x5=Math[_0x5826[428]](_0x1b20x2);var _0x1b20xa=Math[_0x5826[428]](_0x1b20x4);_0x1b20x4=_0x1b20x5*_0x1b20xa;_0x1b20x5/=_0x1b20xa;if(1>_0x1b20x4&&_0x1b20x5>_0x1b20x2){var _0x1b20x12=_0x1b20x5/_0x1b20x2;_0x1b20x5=_0x1b20x2;_0x1b20x4/=_0x1b20x12};1>_0x1b20x5&&_0x1b20x4>_0x1b20x2&&(_0x1b20x12=_0x1b20x4/_0x1b20x2,_0x1b20x4=_0x1b20x2,_0x1b20x5/=_0x1b20x12);_0x1b20x12=Math[_0x5826[430]](_0x1b20x4)*Math[_0x5826[430]](_0x1b20x5);for(_0x1b20xa=0;_0x1b20x12>_0x1b20x2;){var _0x1b20x12=Math[_0x5826[519]](_0x1b20x4)/_0x1b20x4,_0x1b20x13=Math[_0x5826[519]](_0x1b20x5)/_0x1b20x5;1==_0x1b20x12&&(_0x1b20x12=Math[_0x5826[519]](_0x1b20x4-1)/_0x1b20x4);1==_0x1b20x13&&(_0x1b20x13=Math[_0x5826[519]](_0x1b20x5-1)/_0x1b20x5);_0x1b20x12=_0x1b20x12>_0x1b20x13?_0x1b20x12:_0x1b20x13;_0x1b20x4*=_0x1b20x12;_0x1b20x5*=_0x1b20x12;_0x1b20x12=Math[_0x5826[430]](_0x1b20x4)*Math[_0x5826[430]](_0x1b20x5);_0x1b20xa++;if(10<_0x1b20xa){break}};return 0.99999*(_0x1b20x9*_0x1b20x4/_0x1b20x3)},show:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:0;null==_0x1b20x3?_0x1b20x3=window[_0x5826[392]]()[_0x5826[395]]:_0x1b20x3[_0x5826[392]]();var _0x1b20x9=_0x1b20x2[_0x5826[517]]();_0x1b20x4=-_0x1b20x9[_0x5826[235]]+_0x1b20x4;_0x1b20x5=-_0x1b20x9[_0x5826[236]]+_0x1b20x5;if(mxClient[_0x5826[80]]){for(var _0x1b20x9=_0x5826[520],_0x1b20xa=document[_0x5826[64]](_0x5826[521]),_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){_0x1b20x9+=_0x1b20xa[_0x1b20x12][_0x5826[342]]};_0x1b20x9+=_0x5826[522];for(_0x1b20x12=0;_0x1b20x12<document[_0x5826[523]][_0x5826[67]];_0x1b20x12++){try{_0x1b20x9+=document[_0x5826[523]](_0x1b20x12)[_0x5826[103]]}catch(h){}};_0x1b20x9+=_0x5826[524];_0x1b20x9+=_0x5826[525];_0x1b20x9+=_0x1b20x2[_0x5826[526]][_0x5826[339]];_0x1b20x9+=_0x5826[527];_0x1b20x9+=_0x5826[528];_0x1b20x3[_0x5826[171]](_0x1b20x9);_0x1b20x3[_0x5826[268]]();_0x1b20x2=_0x1b20x3[_0x5826[112]][_0x5826[64]](_0x5826[529])[0];null!=_0x1b20x2&&(_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492],_0x1b20x2[_0x5826[124]][_0x5826[361]]=_0x1b20x4+_0x5826[168],_0x1b20x2[_0x5826[124]][_0x5826[125]]=_0x1b20x5+_0x5826[168])}else {_0x1b20x3[_0x5826[171]](_0x5826[530]);_0x1b20x3[_0x5826[171]](_0x5826[531]);_0x1b20xa=document[_0x5826[64]](_0x5826[521]);for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){_0x1b20x3[_0x5826[171]](mxUtils[_0x5826[532]](_0x1b20xa[_0x1b20x12]))};_0x1b20xa=document[_0x5826[64]](_0x5826[54]);for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){_0x1b20x3[_0x5826[171]](mxUtils[_0x5826[532]](_0x1b20xa[_0x1b20x12]))};_0x1b20xa=document[_0x5826[64]](_0x5826[124]);for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){_0x1b20x3[_0x5826[171]](mxUtils[_0x5826[532]](_0x1b20xa[_0x1b20x12]))};_0x1b20x3[_0x5826[171]](_0x5826[533]);_0x1b20x3[_0x5826[171]](_0x5826[534]);_0x1b20x3[_0x5826[268]]();null==_0x1b20x3[_0x5826[112]]&&_0x1b20x3[_0x5826[158]][_0x5826[62]](_0x1b20x3[_0x5826[55]](_0x5826[112]));_0x1b20x3[_0x5826[112]][_0x5826[124]][_0x5826[277]]=_0x5826[278];for(_0x1b20x2=_0x1b20x2[_0x5826[526]][_0x5826[285]];null!=_0x1b20x2;){_0x1b20x12=_0x1b20x2[_0x5826[511]](!0),_0x1b20x3[_0x5826[112]][_0x5826[62]](_0x1b20x12),_0x1b20x2=_0x1b20x2[_0x5826[287]]};_0x1b20x2=_0x1b20x3[_0x5826[64]](_0x5826[449])[0];null!=_0x1b20x2&&(_0x1b20x2[_0x5826[57]](_0x5826[535],_0x5826[536]+_0x1b20x4+_0x5826[537]+_0x1b20x5+_0x5826[460]),_0x1b20x4=_0x1b20x2[_0x5826[538]],_0x1b20x4[_0x5826[57]](_0x5826[117],_0x1b20x9[_0x5826[117]]+Math[_0x5826[160]](_0x1b20x9[_0x5826[235]],0)+3),_0x1b20x4[_0x5826[57]](_0x5826[119],_0x1b20x9[_0x5826[119]]+Math[_0x5826[160]](_0x1b20x9[_0x5826[236]],0)+3))};mxUtils[_0x5826[272]](_0x1b20x3[_0x5826[112]]);return _0x1b20x3},printScreen:function(_0x1b20x2){var _0x1b20x3=window[_0x5826[392]]();mxUtils[_0x5826[539]](_0x1b20x2,_0x1b20x3[_0x5826[395]]);_0x1b20x2=function(){_0x1b20x3[_0x5826[393]]();_0x1b20x3[_0x5826[540]]();_0x1b20x3[_0x5826[268]]()};mxClient[_0x5826[76]]?_0x1b20x3[_0x5826[261]](_0x1b20x2,500):_0x1b20x2()},popup:function(_0x1b20x2,_0x1b20x3){if(_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[485]);_0x1b20x4[_0x5826[124]][_0x5826[277]]=_0x5826[276];_0x1b20x4[_0x5826[124]][_0x5826[117]]=_0x5826[541];_0x1b20x4[_0x5826[124]][_0x5826[119]]=_0x5826[542];var _0x1b20x5=document[_0x5826[55]](_0x5826[543]);_0x1b20x5[_0x5826[339]]=mxUtils[_0x5826[321]](_0x1b20x2,!1)[_0x5826[230]](/\n/g,_0x5826[545])[_0x5826[230]](/ /g,_0x5826[544]);_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x4= new mxWindow(_0x5826[546],_0x1b20x4,document[_0x5826[112]][_0x5826[159]]/2-320,(document[_0x5826[112]][_0x5826[157]]||document[_0x5826[158]][_0x5826[157]])/2-240,640,480,!1,!0);_0x1b20x4[_0x5826[164]](!0);_0x1b20x4[_0x5826[175]](!0)}else {mxClient[_0x5826[133]]?(_0x1b20x4=window[_0x5826[392]](),_0x1b20x4[_0x5826[395]][_0x5826[171]](_0x5826[547]+mxUtils[_0x5826[321]](_0x1b20x2)+_0x5826[548]),_0x1b20x4[_0x5826[395]][_0x5826[268]]()):(_0x1b20x4=window[_0x5826[392]](),_0x1b20x5=_0x1b20x4[_0x5826[395]][_0x5826[55]](_0x5826[543]),_0x1b20x5[_0x5826[339]]=mxUtils[_0x5826[321]](_0x1b20x2,!1)[_0x5826[230]](/\n/g,_0x5826[545])[_0x5826[230]](/ /g,_0x5826[544]),_0x1b20x4[_0x5826[395]][_0x5826[112]][_0x5826[62]](_0x1b20x5))}},alert:function(_0x1b20x2){alert(_0x1b20x2)},prompt:function(_0x1b20x2,_0x1b20x3){return prompt(_0x1b20x2,_0x1b20x3)},confirm:function(_0x1b20x2){return confirm(_0x1b20x2)},error:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=document[_0x5826[55]](_0x5826[485]);_0x1b20x9[_0x5826[124]][_0x5826[549]]=_0x5826[550];var _0x1b20xa=document[_0x5826[55]](_0x5826[466]);_0x1b20xa[_0x5826[57]](_0x5826[390],_0x1b20x5||mxUtils[_0x5826[551]]);_0x1b20xa[_0x5826[57]](_0x5826[552],_0x5826[553]);_0x1b20xa[_0x5826[124]][_0x5826[123]]=_0x5826[554];_0x1b20x9[_0x5826[62]](_0x1b20xa);_0x1b20x9[_0x5826[62]](document[_0x5826[344]](_0x5826[555]));_0x1b20x9[_0x5826[62]](document[_0x5826[344]](_0x5826[555]));_0x1b20x9[_0x5826[62]](document[_0x5826[344]](_0x5826[555]));mxUtils[_0x5826[53]](_0x1b20x9,_0x1b20x2);_0x1b20x2=document[_0x5826[112]][_0x5826[159]];_0x1b20x5=document[_0x5826[112]][_0x5826[157]]||document[_0x5826[158]][_0x5826[157]];var _0x1b20x12= new mxWindow(mxResources[_0x5826[203]](mxUtils[_0x5826[556]])||mxUtils[_0x5826[556]],_0x1b20x9,(_0x1b20x2-_0x1b20x3)/2,_0x1b20x5/4,_0x1b20x3,null,!1,!0);_0x1b20x4&&(mxUtils[_0x5826[345]](_0x1b20x9),_0x1b20x3=document[_0x5826[55]](_0x5826[346]),_0x1b20x4=document[_0x5826[55]](_0x5826[172]),mxClient[_0x5826[80]]?_0x1b20x4[_0x5826[124]][_0x5826[103]]=_0x5826[557]:_0x1b20x4[_0x5826[57]](_0x5826[124],_0x5826[557]),mxEvent[_0x5826[169]](_0x1b20x4,_0x5826[173],function(_0x1b20x2){_0x1b20x12[_0x5826[515]]()}),mxUtils[_0x5826[53]](_0x1b20x4,mxResources[_0x5826[203]](mxUtils[_0x5826[558]])||mxUtils[_0x5826[558]]),_0x1b20x3[_0x5826[62]](_0x1b20x4),_0x1b20x9[_0x5826[62]](_0x1b20x3),mxUtils[_0x5826[345]](_0x1b20x9),_0x1b20x12[_0x5826[164]](!0));_0x1b20x12[_0x5826[175]](!0);return _0x1b20x12},makeDraggable:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15){_0x1b20x2= new mxDragSource(_0x1b20x2,_0x1b20x4);_0x1b20x2[_0x5826[559]]= new mxPoint(null!=_0x1b20x9?_0x1b20x9:0,null!=_0x1b20xa?_0x1b20xa:mxConstants[_0x5826[560]]);_0x1b20x2[_0x5826[561]]=_0x1b20x12;_0x1b20x2[_0x5826[562]](!1);null!=_0x1b20x14&&(_0x1b20x2[_0x5826[563]]=_0x1b20x14);null!=_0x1b20x15&&(_0x1b20x2[_0x5826[564]]=_0x1b20x15);_0x1b20x2[_0x5826[565]]=function(_0x1b20x2){return _0x5826[279]== typeof _0x1b20x3?_0x1b20x3(_0x1b20x2):_0x1b20x3};null!=_0x1b20x5&&(_0x1b20x2[_0x5826[566]]=function(){return _0x1b20x5[_0x5826[511]](!0)},_0x1b20x13&&(_0x1b20x2[_0x5826[567]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x5[_0x5826[511]](!0),_0x1b20x4=parseInt(_0x1b20x3[_0x5826[124]][_0x5826[117]]),_0x1b20x9=parseInt(_0x1b20x3[_0x5826[124]][_0x5826[119]]);_0x1b20x3[_0x5826[124]][_0x5826[117]]=Math[_0x5826[488]](_0x1b20x4*_0x1b20x2[_0x5826[441]][_0x5826[255]])+_0x5826[168];_0x1b20x3[_0x5826[124]][_0x5826[119]]=Math[_0x5826[488]](_0x1b20x9*_0x1b20x2[_0x5826[441]][_0x5826[255]])+_0x5826[168];return _0x1b20x3}));return _0x1b20x2}},mxConstants={DEFAULT_HOTSPOT:0.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:_0x5826[568],RENDERING_HINT_FASTER:_0x5826[569],RENDERING_HINT_FASTEST:_0x5826[570],DIALECT_SVG:_0x5826[571],DIALECT_VML:_0x5826[572],DIALECT_MIXEDHTML:_0x5826[573],DIALECT_PREFERHTML:_0x5826[574],DIALECT_STRICTHTML:_0x5826[575],NS_SVG:_0x5826[576],NS_XHTML:_0x5826[577],NS_XLINK:_0x5826[578],SHADOWCOLOR:_0x5826[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:_0x5826[580],DEFAULT_INVALID_COLOR:_0x5826[581],HIGHLIGHT_STROKEWIDTH:3,CURSOR_MOVABLE_VERTEX:_0x5826[582],CURSOR_MOVABLE_EDGE:_0x5826[582],CURSOR_LABEL_HANDLE:_0x5826[583],CURSOR_BEND_HANDLE:_0x5826[356],CURSOR_CONNECT:_0x5826[356],HIGHLIGHT_COLOR:_0x5826[580],CONNECT_TARGET_COLOR:_0x5826[584],INVALID_CONNECT_TARGET_COLOR:_0x5826[581],DROP_TARGET_COLOR:_0x5826[584],VALID_COLOR:_0x5826[580],INVALID_COLOR:_0x5826[581],EDGE_SELECTION_COLOR:_0x5826[580],VERTEX_SELECTION_COLOR:_0x5826[580],VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:_0x5826[581],GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:_0x5826[585],OUTLINE_STROKEWIDTH:mxClient[_0x5826[80]]?2:3,HANDLE_SIZE:7,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:_0x5826[580],HANDLE_STROKECOLOR:_0x5826[586],LABEL_HANDLE_FILLCOLOR:_0x5826[587],CONNECT_HANDLE_FILLCOLOR:_0x5826[584],LOCKED_HANDLE_FILLCOLOR:_0x5826[581],OUTLINE_HANDLE_FILLCOLOR:_0x5826[588],OUTLINE_HANDLE_STROKECOLOR:_0x5826[589],DEFAULT_FONTFAMILY:_0x5826[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:_0x5826[130],STYLE_PERIMETER:_0x5826[591],STYLE_SOURCE_PORT:_0x5826[592],STYLE_TARGET_PORT:_0x5826[593],STYLE_PORT_CONSTRAINT:_0x5826[594],STYLE_OPACITY:_0x5826[461],STYLE_TEXT_OPACITY:_0x5826[595],STYLE_OVERFLOW:_0x5826[277],STYLE_ORTHOGONAL:_0x5826[596],STYLE_EXIT_X:_0x5826[597],STYLE_EXIT_Y:_0x5826[598],STYLE_EXIT_PERIMETER:_0x5826[599],STYLE_ENTRY_X:_0x5826[600],STYLE_ENTRY_Y:_0x5826[601],STYLE_ENTRY_PERIMETER:_0x5826[602],STYLE_WHITE_SPACE:_0x5826[493],STYLE_ROTATION:_0x5826[603],STYLE_FILLCOLOR:_0x5826[604],STYLE_SWIMLANE_FILLCOLOR:_0x5826[605],STYLE_GRADIENTCOLOR:_0x5826[606],STYLE_GRADIENT_DIRECTION:_0x5826[607],STYLE_STROKECOLOR:_0x5826[608],STYLE_SEPARATORCOLOR:_0x5826[609],STYLE_STROKEWIDTH:_0x5826[610],STYLE_ALIGN:_0x5826[611],STYLE_VERTICAL_ALIGN:_0x5826[123],STYLE_LABEL_POSITION:_0x5826[612],STYLE_VERTICAL_LABEL_POSITION:_0x5826[613],STYLE_IMAGE_ASPECT:_0x5826[614],STYLE_IMAGE_ALIGN:_0x5826[615],STYLE_IMAGE_VERTICAL_ALIGN:_0x5826[616],STYLE_GLASS:_0x5826[617],STYLE_IMAGE:_0x5826[618],STYLE_IMAGE_WIDTH:_0x5826[619],STYLE_IMAGE_HEIGHT:_0x5826[620],STYLE_IMAGE_BACKGROUND:_0x5826[621],STYLE_IMAGE_BORDER:_0x5826[622],STYLE_FLIPH:_0x5826[623],STYLE_FLIPV:_0x5826[624],STYLE_NOLABEL:_0x5826[625],STYLE_NOEDGESTYLE:_0x5826[626],STYLE_LABEL_BACKGROUNDCOLOR:_0x5826[627],STYLE_LABEL_BORDERCOLOR:_0x5826[628],STYLE_LABEL_PADDING:_0x5826[629],STYLE_INDICATOR_SHAPE:_0x5826[630],STYLE_INDICATOR_IMAGE:_0x5826[631],STYLE_INDICATOR_COLOR:_0x5826[632],STYLE_INDICATOR_STROKECOLOR:_0x5826[633],STYLE_INDICATOR_GRADIENTCOLOR:_0x5826[634],STYLE_INDICATOR_SPACING:_0x5826[635],STYLE_INDICATOR_WIDTH:_0x5826[636],STYLE_INDICATOR_HEIGHT:_0x5826[637],STYLE_INDICATOR_DIRECTION:_0x5826[638],STYLE_SHADOW:_0x5826[639],STYLE_SEGMENT:_0x5826[640],STYLE_ENDARROW:_0x5826[641],STYLE_STARTARROW:_0x5826[642],STYLE_ENDSIZE:_0x5826[643],STYLE_STARTSIZE:_0x5826[644],STYLE_SWIMLANE_LINE:_0x5826[645],STYLE_ENDFILL:_0x5826[646],STYLE_STARTFILL:_0x5826[647],STYLE_DASHED:_0x5826[648],STYLE_DASH_PATTERN:_0x5826[649],STYLE_ROUNDED:_0x5826[650],STYLE_CURVED:_0x5826[651],STYLE_ARCSIZE:_0x5826[652],STYLE_SMOOTH:_0x5826[653],STYLE_SOURCE_PERIMETER_SPACING:_0x5826[654],STYLE_TARGET_PERIMETER_SPACING:_0x5826[655],STYLE_PERIMETER_SPACING:_0x5826[656],STYLE_SPACING:_0x5826[657],STYLE_SPACING_TOP:_0x5826[658],STYLE_SPACING_LEFT:_0x5826[659],STYLE_SPACING_BOTTOM:_0x5826[660],STYLE_SPACING_RIGHT:_0x5826[661],STYLE_HORIZONTAL:_0x5826[662],STYLE_DIRECTION:_0x5826[663],STYLE_ELBOW:_0x5826[664],STYLE_FONTCOLOR:_0x5826[665],STYLE_FONTFAMILY:_0x5826[486],STYLE_FONTSIZE:_0x5826[487],STYLE_FONTSTYLE:_0x5826[666],STYLE_AUTOSIZE:_0x5826[667],STYLE_FOLDABLE:_0x5826[668],STYLE_EDITABLE:_0x5826[669],STYLE_BENDABLE:_0x5826[670],STYLE_MOVABLE:_0x5826[671],STYLE_RESIZABLE:_0x5826[672],STYLE_CLONEABLE:_0x5826[673],STYLE_DELETABLE:_0x5826[674],STYLE_SHAPE:_0x5826[253],STYLE_EDGE:_0x5826[675],STYLE_LOOP:_0x5826[676],STYLE_ROUTING_CENTER_X:_0x5826[677],STYLE_ROUTING_CENTER_Y:_0x5826[678],FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_SHADOW:8,SHAPE_RECTANGLE:_0x5826[679],SHAPE_ELLIPSE:_0x5826[680],SHAPE_DOUBLE_ELLIPSE:_0x5826[681],SHAPE_RHOMBUS:_0x5826[682],SHAPE_LINE:_0x5826[683],SHAPE_IMAGE:_0x5826[618],SHAPE_ARROW:_0x5826[684],SHAPE_LABEL:_0x5826[685],SHAPE_CYLINDER:_0x5826[686],SHAPE_SWIMLANE:_0x5826[687],SHAPE_CONNECTOR:_0x5826[688],SHAPE_ACTOR:_0x5826[689],SHAPE_CLOUD:_0x5826[690],SHAPE_TRIANGLE:_0x5826[691],SHAPE_HEXAGON:_0x5826[692],ARROW_CLASSIC:_0x5826[693],ARROW_BLOCK:_0x5826[694],ARROW_OPEN:_0x5826[392],ARROW_OVAL:_0x5826[695],ARROW_DIAMOND:_0x5826[696],ARROW_DIAMOND_THIN:_0x5826[697],ALIGN_LEFT:_0x5826[361],ALIGN_CENTER:_0x5826[698],ALIGN_RIGHT:_0x5826[699],ALIGN_TOP:_0x5826[125],ALIGN_MIDDLE:_0x5826[554],ALIGN_BOTTOM:_0x5826[553],DIRECTION_NORTH:_0x5826[700],DIRECTION_SOUTH:_0x5826[701],DIRECTION_EAST:_0x5826[702],DIRECTION_WEST:_0x5826[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:_0x5826[704],ELBOW_HORIZONTAL:_0x5826[662],EDGESTYLE_ELBOW:_0x5826[705],EDGESTYLE_ENTITY_RELATION:_0x5826[706],EDGESTYLE_LOOP:_0x5826[707],EDGESTYLE_SIDETOSIDE:_0x5826[708],EDGESTYLE_TOPTOBOTTOM:_0x5826[709],EDGESTYLE_ORTHOGONAL:_0x5826[710],EDGESTYLE_SEGMENT:_0x5826[711],PERIMETER_ELLIPSE:_0x5826[712],PERIMETER_RECTANGLE:_0x5826[713],PERIMETER_RHOMBUS:_0x5826[714],PERIMETER_TRIANGLE:_0x5826[715]};function mxEventObject(_0x1b20x2){this[_0x5826[298]]=_0x1b20x2;this[_0x5826[716]]=[];for(var _0x1b20x3=1;_0x1b20x3<arguments[_0x5826[67]];_0x1b20x3+=2){null!=arguments[_0x1b20x3+1]&&(this[_0x5826[716]][arguments[_0x1b20x3]]=arguments[_0x1b20x3+1])}}mxEventObject[_0x5826[202]][_0x5826[298]]=null;mxEventObject[_0x5826[202]][_0x5826[716]]=null;mxEventObject[_0x5826[202]][_0x5826[717]]= !1;mxEventObject[_0x5826[202]][_0x5826[718]]=function(){return this[_0x5826[298]]};mxEventObject[_0x5826[202]][_0x5826[719]]=function(){return this[_0x5826[716]]};mxEventObject[_0x5826[202]][_0x5826[720]]=function(_0x1b20x2){return this[_0x5826[716]][_0x1b20x2]};mxEventObject[_0x5826[202]][_0x5826[721]]=function(){return this[_0x5826[717]]};mxEventObject[_0x5826[202]][_0x5826[722]]=function(){this[_0x5826[717]]= !0};function mxMouseEvent(_0x1b20x2,_0x1b20x3){this[_0x5826[723]]=_0x1b20x2;this[_0x5826[724]]=_0x1b20x3}mxMouseEvent[_0x5826[202]][_0x5826[717]]= !1;mxMouseEvent[_0x5826[202]][_0x5826[723]]=null;mxMouseEvent[_0x5826[202]][_0x5826[725]]=null;mxMouseEvent[_0x5826[202]][_0x5826[726]]=null;mxMouseEvent[_0x5826[202]][_0x5826[724]]=null;mxMouseEvent[_0x5826[202]][_0x5826[727]]=function(){return this[_0x5826[723]]};mxMouseEvent[_0x5826[202]][_0x5826[728]]=function(){return mxEvent[_0x5826[728]](this[_0x5826[723]])};mxMouseEvent[_0x5826[202]][_0x5826[729]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3=this[_0x5826[728]]();null!=_0x1b20x3;){if(_0x1b20x3==_0x1b20x2[_0x5826[252]]){return !0};_0x1b20x3=_0x1b20x3[_0x5826[265]]}};return !1};mxMouseEvent[_0x5826[202]][_0x5826[730]]=function(){return mxEvent[_0x5826[731]](this[_0x5826[727]]())};mxMouseEvent[_0x5826[202]][_0x5826[732]]=function(){return mxEvent[_0x5826[733]](this[_0x5826[727]]())};mxMouseEvent[_0x5826[202]][_0x5826[734]]=function(){return this[_0x5826[725]]};mxMouseEvent[_0x5826[202]][_0x5826[735]]=function(){return this[_0x5826[726]]};mxMouseEvent[_0x5826[202]][_0x5826[248]]=function(){return this[_0x5826[724]]};mxMouseEvent[_0x5826[202]][_0x5826[736]]=function(){var _0x1b20x2=this[_0x5826[248]]();return null!=_0x1b20x2?_0x1b20x2[_0x5826[246]]:null};mxMouseEvent[_0x5826[202]][_0x5826[737]]=function(){return mxEvent[_0x5826[737]](this[_0x5826[727]]())};mxMouseEvent[_0x5826[202]][_0x5826[721]]=function(){return this[_0x5826[717]]};mxMouseEvent[_0x5826[202]][_0x5826[722]]=function(_0x1b20x2){(null!=_0x1b20x2?_0x1b20x2:1)&&this[_0x5826[723]][_0x5826[738]]&&this[_0x5826[723]][_0x5826[738]]();this[_0x5826[723]][_0x5826[739]]= !1;this[_0x5826[717]]= !0};function mxEventSource(_0x1b20x2){this[_0x5826[740]](_0x1b20x2)}mxEventSource[_0x5826[202]][_0x5826[741]]=null;mxEventSource[_0x5826[202]][_0x5826[742]]= !0;mxEventSource[_0x5826[202]][_0x5826[743]]=null;mxEventSource[_0x5826[202]][_0x5826[503]]=function(){return this[_0x5826[742]]};mxEventSource[_0x5826[202]][_0x5826[504]]=function(_0x1b20x2){this[_0x5826[742]]=_0x1b20x2};mxEventSource[_0x5826[202]][_0x5826[744]]=function(){return this[_0x5826[743]]};mxEventSource[_0x5826[202]][_0x5826[740]]=function(_0x1b20x2){this[_0x5826[743]]=_0x1b20x2};mxEventSource[_0x5826[202]][_0x5826[169]]=function(_0x1b20x2,_0x1b20x3){null==this[_0x5826[741]]&&(this[_0x5826[741]]=[]);this[_0x5826[741]][_0x5826[207]](_0x1b20x2);this[_0x5826[741]][_0x5826[207]](_0x1b20x3)};mxEventSource[_0x5826[202]][_0x5826[745]]=function(_0x1b20x2){if(null!=this[_0x5826[741]]){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[741]][_0x5826[67]];){this[_0x5826[741]][_0x1b20x3+1]==_0x1b20x2?this[_0x5826[741]][_0x5826[300]](_0x1b20x3,2):_0x1b20x3+=2}}};mxEventSource[_0x5826[202]][_0x5826[746]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[741]]&&this[_0x5826[503]]()){null==_0x1b20x2&&(_0x1b20x2= new mxEventObject);null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[744]]());null==_0x1b20x3&&(_0x1b20x3=this);for(var _0x1b20x4=[_0x1b20x3,_0x1b20x2],_0x1b20x5=0;_0x1b20x5<this[_0x5826[741]][_0x5826[67]];_0x1b20x5+=2){var _0x1b20x9=this[_0x5826[741]][_0x1b20x5];(null==_0x1b20x9||_0x1b20x9==_0x1b20x2[_0x5826[718]]())&&this[_0x5826[741]][_0x1b20x5+1][_0x5826[183]](this,_0x1b20x4)}}};var mxEvent={objects:[],addListener:function(){var _0x1b20x2=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){null==_0x1b20x2[_0x5826[69]]&&(_0x1b20x2[_0x5826[69]]=[],mxEvent[_0x5826[68]][_0x5826[207]](_0x1b20x2));_0x1b20x2[_0x5826[69]][_0x5826[207]]({name:_0x1b20x4,f:_0x1b20x5})};return window[_0x5826[418]]?function(_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3[_0x5826[418]](_0x1b20x4,_0x1b20x5,!1);_0x1b20x2(_0x1b20x3,_0x1b20x4,_0x1b20x5)}:function(_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3[_0x5826[108]](_0x5826[747]+_0x1b20x4,_0x1b20x5);_0x1b20x2(_0x1b20x3,_0x1b20x4,_0x1b20x5)}}(),removeListener:function(){var _0x1b20x2=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x2[_0x5826[69]]){_0x1b20x4=_0x1b20x2[_0x5826[69]][_0x5826[67]];for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x4;_0x1b20x9++){if(_0x1b20x2[_0x5826[69]][_0x1b20x9][_0x5826[748]]==_0x1b20x5){_0x1b20x2[_0x5826[69]][_0x5826[300]](_0x1b20x9,1);break}};0==_0x1b20x2[_0x5826[69]][_0x5826[67]]&&(_0x1b20x2[_0x5826[69]]=null)}};return window[_0x5826[749]]?function(_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3[_0x5826[749]](_0x1b20x4,_0x1b20x5,!1);_0x1b20x2(_0x1b20x3,_0x1b20x4,_0x1b20x5)}:function(_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3[_0x5826[750]](_0x5826[747]+_0x1b20x4,_0x1b20x5);_0x1b20x2(_0x1b20x3,_0x1b20x4,_0x1b20x5)}}(),removeAllListeners:function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[69]];if(null!=_0x1b20x3){for(;0<_0x1b20x3[_0x5826[67]];){var _0x1b20x4=_0x1b20x3[0];mxEvent[_0x5826[745]](_0x1b20x2,_0x1b20x4[_0x5826[298]],_0x1b20x4[_0x5826[748]])}}},addGestureListeners:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){null!=_0x1b20x3&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[751],_0x1b20x3);null!=_0x1b20x4&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[752],_0x1b20x4);null!=_0x1b20x5&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[753],_0x1b20x5);mxClient[_0x5826[754]]&&(null!=_0x1b20x3&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[755],_0x1b20x3),null!=_0x1b20x4&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[756],_0x1b20x4),null!=_0x1b20x5&&mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[757],_0x1b20x5))},removeGestureListeners:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){null!=_0x1b20x3&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[751],_0x1b20x3);null!=_0x1b20x4&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[752],_0x1b20x4);null!=_0x1b20x5&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[753],_0x1b20x5);mxClient[_0x5826[754]]&&(null!=_0x1b20x3&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[755],_0x1b20x3),null!=_0x1b20x4&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[756],_0x1b20x4),null!=_0x1b20x5&&mxEvent[_0x5826[745]](_0x1b20x2,_0x5826[757],_0x1b20x5))},redirectMouseEvents:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){var _0x1b20x13=function(_0x1b20x2){return _0x5826[279]== typeof _0x1b20x4?_0x1b20x4(_0x1b20x2):_0x1b20x4};mxEvent[_0x5826[759]](_0x1b20x2,function(_0x1b20x2){null!=_0x1b20x5?_0x1b20x5(_0x1b20x2):mxEvent[_0x5826[721]](_0x1b20x2)||_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x2,_0x1b20x13(_0x1b20x2)))},function(_0x1b20x2){null!=_0x1b20x9?_0x1b20x9(_0x1b20x2):mxEvent[_0x5826[721]](_0x1b20x2)||_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x2,_0x1b20x13(_0x1b20x2)))},function(_0x1b20x2){null!=_0x1b20xa?_0x1b20xa(_0x1b20x2):mxEvent[_0x5826[721]](_0x1b20x2)||_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x2,_0x1b20x13(_0x1b20x2)))});mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[760],function(_0x1b20x2){if(null!=_0x1b20x12){_0x1b20x12(_0x1b20x2)}else {if(!mxEvent[_0x5826[721]](_0x1b20x2)){var _0x1b20x4=_0x1b20x13(_0x1b20x2);_0x1b20x3[_0x5826[761]](_0x1b20x2,null!=_0x1b20x4?_0x1b20x4[_0x5826[246]]:null)}}})},release:function(_0x1b20x2){if(null!=_0x1b20x2&&(mxEvent[_0x5826[70]](_0x1b20x2),_0x1b20x2=_0x1b20x2[_0x5826[271]],null!=_0x1b20x2)){for(var _0x1b20x3=_0x1b20x2[_0x5826[67]],_0x1b20x4=0;_0x1b20x4<_0x1b20x3;_0x1b20x4+=1){mxEvent[_0x5826[762]](_0x1b20x2[_0x1b20x4])}}},addMouseWheelListener:function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=function(_0x1b20x3){null==_0x1b20x3&&(_0x1b20x3=window[_0x5826[763]]);var _0x1b20x5=0,_0x1b20x5=mxClient[_0x5826[133]]&&!mxClient[_0x5826[75]]&&!mxClient[_0x5826[76]]?-_0x1b20x3[_0x5826[764]]/2:_0x1b20x3[_0x5826[765]]/120;0!=_0x1b20x5&&_0x1b20x2(_0x1b20x3,0<_0x1b20x5)};mxClient[_0x5826[133]]?mxEvent[_0x5826[169]](window,mxClient[_0x5826[75]]||mxClient[_0x5826[76]]?_0x5826[766]:_0x5826[767],_0x1b20x3):mxEvent[_0x5826[169]](document,_0x5826[766],_0x1b20x3)}},disableContextMenu:function(){return mxClient[_0x5826[80]]&&(_0x5826[82]=== typeof document[_0x5826[5]]||9>document[_0x5826[5]])?function(_0x1b20x2){mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[768],function(){return !1})}:function(_0x1b20x2){_0x1b20x2[_0x5826[57]](_0x5826[769],_0x5826[770])}}(),getSource:function(_0x1b20x2){return null!=_0x1b20x2[_0x5826[771]]?_0x1b20x2[_0x5826[771]]:_0x1b20x2[_0x5826[772]]},isConsumed:function(_0x1b20x2){return null!=_0x1b20x2[_0x5826[721]]&&_0x1b20x2[_0x5826[721]]},isLeftMouseButton:function(_0x1b20x2){return _0x1b20x2[_0x5826[172]]==(mxClient[_0x5826[80]]&&(_0x5826[82]=== typeof document[_0x5826[5]]||9>document[_0x5826[5]])?1:0)},isRightMouseButton:function(_0x1b20x2){return 2==_0x1b20x2[_0x5826[172]]},isPopupTrigger:function(_0x1b20x2){return mxEvent[_0x5826[773]](_0x1b20x2)||mxEvent[_0x5826[774]](_0x1b20x2)&&!mxEvent[_0x5826[775]](_0x1b20x2)},isShiftDown:function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[776]]:!1},isAltDown:function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[777]]:!1},isControlDown:function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[778]]:!1},isMetaDown:function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[779]]:!1},getMainEvent:function(_0x1b20x2){(_0x5826[755]==_0x1b20x2[_0x5826[60]]||_0x5826[756]==_0x1b20x2[_0x5826[60]])&&null!=_0x1b20x2[_0x5826[780]]&&null!=_0x1b20x2[_0x5826[780]][0]?_0x1b20x2=_0x1b20x2[_0x5826[780]][0]:_0x5826[757]==_0x1b20x2[_0x5826[60]]&&(null!=_0x1b20x2[_0x5826[781]]&&null!=_0x1b20x2[_0x5826[781]][0])&&(_0x1b20x2=_0x1b20x2[_0x5826[781]][0]);return _0x1b20x2},getClientX:function(_0x1b20x2){return mxEvent[_0x5826[783]](_0x1b20x2)[_0x5826[782]]},getClientY:function(_0x1b20x2){return mxEvent[_0x5826[783]](_0x1b20x2)[_0x5826[784]]},consume:function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;if(null!=_0x1b20x3?_0x1b20x3:1){_0x1b20x2[_0x5826[738]]?(_0x1b20x4&&_0x1b20x2[_0x5826[785]](),_0x1b20x2[_0x5826[738]]()):_0x1b20x4&&(_0x1b20x2[_0x5826[786]]= !0)};_0x1b20x2[_0x5826[721]]= !0;_0x1b20x2[_0x5826[739]]= !1},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,MOUSE_DOWN:_0x5826[787],MOUSE_MOVE:_0x5826[788],MOUSE_UP:_0x5826[789],ACTIVATE:_0x5826[790],RESIZE_START:_0x5826[791],RESIZE:_0x5826[129],RESIZE_END:_0x5826[792],MOVE_START:_0x5826[793],MOVE:_0x5826[582],MOVE_END:_0x5826[794],PAN_START:_0x5826[795],PAN:_0x5826[796],PAN_END:_0x5826[797],MINIMIZE:_0x5826[798],NORMALIZE:_0x5826[799],MAXIMIZE:_0x5826[800],HIDE:_0x5826[801],SHOW:_0x5826[539],CLOSE:_0x5826[268],DESTROY:_0x5826[515],REFRESH:_0x5826[802],SIZE:_0x5826[803],SELECT:_0x5826[804],FIRED:_0x5826[805],GET:_0x5826[203],RECEIVE:_0x5826[806],CONNECT:_0x5826[807],DISCONNECT:_0x5826[808],SUSPEND:_0x5826[809],RESUME:_0x5826[810],MARK:_0x5826[811],SESSION:_0x5826[812],ROOT:_0x5826[813],POST:_0x5826[814],OPEN:_0x5826[392],SAVE:_0x5826[815],BEFORE_ADD_VERTEX:_0x5826[816],ADD_VERTEX:_0x5826[817],AFTER_ADD_VERTEX:_0x5826[818],DONE:_0x5826[819],EXECUTE:_0x5826[350],EXECUTED:_0x5826[820],BEGIN_UPDATE:_0x5826[473],START_EDIT:_0x5826[821],END_UPDATE:_0x5826[476],END_EDIT:_0x5826[822],BEFORE_UNDO:_0x5826[823],UNDO:_0x5826[824],REDO:_0x5826[825],CHANGE:_0x5826[826],NOTIFY:_0x5826[827],LAYOUT_CELLS:_0x5826[828],CLICK:_0x5826[173],SCALE:_0x5826[255],TRANSLATE:_0x5826[513],SCALE_AND_TRANSLATE:_0x5826[829],UP:_0x5826[830],DOWN:_0x5826[831],ADD:_0x5826[99],REMOVE:_0x5826[205],CLEAR:_0x5826[200],ADD_CELLS:_0x5826[832],CELLS_ADDED:_0x5826[833],MOVE_CELLS:_0x5826[834],CELLS_MOVED:_0x5826[835],RESIZE_CELLS:_0x5826[836],CELLS_RESIZED:_0x5826[837],TOGGLE_CELLS:_0x5826[838],CELLS_TOGGLED:_0x5826[839],ORDER_CELLS:_0x5826[840],CELLS_ORDERED:_0x5826[841],REMOVE_CELLS:_0x5826[842],CELLS_REMOVED:_0x5826[843],GROUP_CELLS:_0x5826[844],UNGROUP_CELLS:_0x5826[845],REMOVE_CELLS_FROM_PARENT:_0x5826[846],FOLD_CELLS:_0x5826[847],CELLS_FOLDED:_0x5826[848],ALIGN_CELLS:_0x5826[849],LABEL_CHANGED:_0x5826[850],CONNECT_CELL:_0x5826[851],CELL_CONNECTED:_0x5826[852],SPLIT_EDGE:_0x5826[853],FLIP_EDGE:_0x5826[854],START_EDITING:_0x5826[855],ADD_OVERLAY:_0x5826[856],REMOVE_OVERLAY:_0x5826[857],UPDATE_CELL_SIZE:_0x5826[858],ESCAPE:_0x5826[859],CLICK:_0x5826[173],DOUBLE_CLICK:_0x5826[860],START:_0x5826[861],RESET:_0x5826[862]};function mxXmlRequest(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[863]]=_0x1b20x2;this[_0x5826[864]]=_0x1b20x3;this[_0x5826[865]]=_0x1b20x4||_0x5826[866];this[_0x5826[307]]=null!=_0x1b20x5?_0x1b20x5:!0;this[_0x5826[867]]=_0x1b20x9;this[_0x5826[868]]=_0x1b20xa}mxXmlRequest[_0x5826[202]][_0x5826[863]]=null;mxXmlRequest[_0x5826[202]][_0x5826[864]]=null;mxXmlRequest[_0x5826[202]][_0x5826[865]]=null;mxXmlRequest[_0x5826[202]][_0x5826[307]]=null;mxXmlRequest[_0x5826[202]][_0x5826[869]]= !1;mxXmlRequest[_0x5826[202]][_0x5826[867]]=null;mxXmlRequest[_0x5826[202]][_0x5826[868]]=null;mxXmlRequest[_0x5826[202]][_0x5826[870]]=null;mxXmlRequest[_0x5826[202]][_0x5826[871]]=function(){return this[_0x5826[869]]};mxXmlRequest[_0x5826[202]][_0x5826[872]]=function(_0x1b20x2){this[_0x5826[869]]=_0x1b20x2};mxXmlRequest[_0x5826[202]][_0x5826[221]]=function(){return this[_0x5826[870]][_0x5826[873]]};mxXmlRequest[_0x5826[202]][_0x5826[220]]=function(){return 4==this[_0x5826[870]][_0x5826[417]]};mxXmlRequest[_0x5826[202]][_0x5826[874]]=function(){var _0x1b20x2=this[_0x5826[875]]();return null!=_0x1b20x2?_0x1b20x2[_0x5826[158]]:null};mxXmlRequest[_0x5826[202]][_0x5826[875]]=function(){var _0x1b20x2=this[_0x5826[870]][_0x5826[876]];if(9<=document[_0x5826[5]]||null==_0x1b20x2||null==_0x1b20x2[_0x5826[158]]){_0x1b20x2=mxUtils[_0x5826[877]](this[_0x5826[870]][_0x5826[873]])};return _0x1b20x2};mxXmlRequest[_0x5826[202]][_0x5826[221]]=function(){return this[_0x5826[870]][_0x5826[873]]};mxXmlRequest[_0x5826[202]][_0x5826[878]]=function(){return this[_0x5826[870]][_0x5826[879]]};mxXmlRequest[_0x5826[202]][_0x5826[385]]=function(){if(window[_0x5826[880]]){return function(){var _0x1b20x2= new XMLHttpRequest;this[_0x5826[871]]()&&_0x1b20x2[_0x5826[881]]&&_0x1b20x2[_0x5826[881]](_0x5826[882]);return _0x1b20x2}};if(_0x5826[82]!= typeof ActiveXObject){return function(){return new ActiveXObject(_0x5826[883])}}}();mxXmlRequest[_0x5826[202]][_0x5826[414]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[870]]=this[_0x5826[385]]();null!=this[_0x5826[870]]&&(null!=_0x1b20x2&&(this[_0x5826[870]][_0x5826[416]]=mxUtils[_0x5826[885]](this,function(){this[_0x5826[220]]()&&(_0x1b20x2(this),this[_0x5826[884]]=null)})),this[_0x5826[870]][_0x5826[392]](this[_0x5826[865]],this[_0x5826[863]],this[_0x5826[307]],this[_0x5826[867]],this[_0x5826[868]]),this[_0x5826[886]](this[_0x5826[870]],this[_0x5826[864]]),this[_0x5826[870]][_0x5826[414]](this[_0x5826[864]]))};mxXmlRequest[_0x5826[202]][_0x5826[886]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x3&&_0x1b20x2[_0x5826[889]](_0x5826[887],_0x5826[888])};mxXmlRequest[_0x5826[202]][_0x5826[415]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=_0x1b20x2||document;var _0x1b20x4=null;_0x1b20x2==document&&(_0x1b20x4=window[_0x5826[890]],window[_0x5826[890]]=null);var _0x1b20x5=_0x1b20x2[_0x5826[55]](_0x5826[891]);_0x1b20x5[_0x5826[57]](_0x5826[865],this[_0x5826[865]]);_0x1b20x5[_0x5826[57]](_0x5826[892],this[_0x5826[863]]);null!=_0x1b20x3&&_0x1b20x5[_0x5826[57]](_0x5826[772],_0x1b20x3);_0x1b20x5[_0x5826[124]][_0x5826[495]]=_0x5826[130];_0x1b20x5[_0x5826[124]][_0x5826[187]]=_0x5826[188];for(var _0x1b20x9=0<this[_0x5826[864]][_0x5826[2]](_0x5826[893])?this[_0x5826[864]][_0x5826[224]](_0x5826[893]):this[_0x5826[864]][_0x5826[224]](),_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x9[_0x1b20xa][_0x5826[2]](_0x5826[226]);if(0<_0x1b20x12){var _0x1b20x13=_0x1b20x9[_0x1b20xa][_0x5826[85]](0,_0x1b20x12),_0x1b20x14=_0x1b20x9[_0x1b20xa][_0x5826[85]](_0x1b20x12+1),_0x1b20x12=_0x1b20x2[_0x5826[55]](_0x5826[126]);_0x1b20x12[_0x5826[57]](_0x5826[298],_0x1b20x13);_0x1b20x14=_0x1b20x14[_0x5826[230]](/\n/g,_0x5826[336]);_0x1b20x13=_0x1b20x2[_0x5826[344]](_0x1b20x14);_0x1b20x12[_0x5826[62]](_0x1b20x13);_0x1b20x5[_0x5826[62]](_0x1b20x12)}};_0x1b20x2[_0x5826[112]][_0x5826[62]](_0x1b20x5);_0x1b20x5[_0x5826[894]]();_0x1b20x2[_0x5826[112]][_0x5826[266]](_0x1b20x5);null!=_0x1b20x4&&(window[_0x5826[890]]=_0x1b20x4)};var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,isEmpty:function(){return null==mxClipboard[_0x5826[895]]},cut:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=mxClipboard[_0x5826[149]](_0x1b20x2,_0x1b20x3);mxClipboard[_0x5826[896]]=0;mxClipboard[_0x5826[842]](_0x1b20x2,_0x1b20x3);return _0x1b20x3},removeCells:function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[842]](_0x1b20x3)},copy:function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3||_0x1b20x2[_0x5826[897]]();var _0x1b20x4=_0x1b20x2[_0x5826[898]](_0x1b20x3);mxClipboard[_0x5826[896]]=1;mxClipboard[_0x5826[895]]=_0x1b20x2[_0x5826[899]](_0x1b20x4);return _0x1b20x4},paste:function(_0x1b20x2){if(null!=mxClipboard[_0x5826[895]]){var _0x1b20x3=_0x1b20x2[_0x5826[900]](mxClipboard[_0x5826[895]]),_0x1b20x4=mxClipboard[_0x5826[896]]*mxClipboard[_0x5826[901]],_0x1b20x5=_0x1b20x2[_0x5826[902]](),_0x1b20x3=_0x1b20x2[_0x5826[903]](_0x1b20x3,_0x1b20x4,_0x1b20x4,_0x1b20x5);mxClipboard[_0x5826[896]]++;_0x1b20x2[_0x5826[904]](_0x1b20x3)}}};function mxWindow(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15){null!=_0x1b20x3&&(_0x1b20x12=null!=_0x1b20x12?_0x1b20x12:!0,this[_0x5826[905]]=_0x1b20x3,this[_0x5826[176]](_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x15),this[_0x5826[906]](),this[_0x5826[907]](),this[_0x5826[908]](),this[_0x5826[909]](_0x1b20x12),this[_0x5826[910]](_0x1b20x2),(null==_0x1b20x13||_0x1b20x13)&&this[_0x5826[911]](),null!=_0x1b20x14&&null!=_0x1b20x14[_0x5826[265]]?_0x1b20x14[_0x5826[265]][_0x5826[912]](this[_0x5826[485]],_0x1b20x14):document[_0x5826[112]][_0x5826[62]](this[_0x5826[485]]))}mxWindow[_0x5826[202]]= new mxEventSource;mxWindow[_0x5826[202]][_0x5826[196]]=mxWindow;mxWindow[_0x5826[202]][_0x5826[913]]=mxClient[_0x5826[88]]+_0x5826[914];mxWindow[_0x5826[202]][_0x5826[915]]=mxClient[_0x5826[88]]+_0x5826[916];mxWindow[_0x5826[202]][_0x5826[917]]=mxClient[_0x5826[88]]+_0x5826[918];mxWindow[_0x5826[202]][_0x5826[919]]=mxClient[_0x5826[88]]+_0x5826[920];mxWindow[_0x5826[202]][_0x5826[921]]=mxClient[_0x5826[88]]+_0x5826[922];mxWindow[_0x5826[202]][_0x5826[189]]= !1;mxWindow[_0x5826[202]][_0x5826[905]]= !1;mxWindow[_0x5826[202]][_0x5826[923]]= new mxRectangle(0,0,50,40);mxWindow[_0x5826[202]][_0x5826[924]]= !1;mxWindow[_0x5826[202]][_0x5826[905]]= !1;mxWindow[_0x5826[202]][_0x5826[165]]= !0;mxWindow[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:_0x5826[925];this[_0x5826[485]]=document[_0x5826[55]](_0x5826[485]);this[_0x5826[485]][_0x5826[926]]=_0x1b20x9;this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168];this[_0x5826[116]]=document[_0x5826[55]](_0x5826[116]);this[_0x5826[116]][_0x5826[926]]=_0x1b20x9;null!=_0x1b20x4&&(mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=_0x1b20x4+_0x5826[168]),this[_0x5826[116]][_0x5826[124]][_0x5826[117]]=_0x1b20x4+_0x5826[168]);null!=_0x1b20x5&&(mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20x5+_0x5826[168]),this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=_0x1b20x5+_0x5826[168]);_0x1b20x2=document[_0x5826[55]](_0x5826[120]);_0x1b20x3=document[_0x5826[55]](_0x5826[121]);this[_0x5826[924]]=document[_0x5826[55]](_0x5826[122]);this[_0x5826[924]][_0x5826[926]]=_0x1b20x9+_0x5826[927];_0x1b20x3[_0x5826[62]](this[_0x5826[924]]);_0x1b20x2[_0x5826[62]](_0x1b20x3);_0x1b20x3=document[_0x5826[55]](_0x5826[121]);this[_0x5826[122]]=document[_0x5826[55]](_0x5826[122]);this[_0x5826[122]][_0x5826[926]]=_0x1b20x9+_0x5826[928];this[_0x5826[929]]=document[_0x5826[55]](_0x5826[485]);this[_0x5826[929]][_0x5826[926]]=_0x1b20x9+_0x5826[928];this[_0x5826[929]][_0x5826[124]][_0x5826[117]]=_0x5826[118];this[_0x5826[929]][_0x5826[62]](this[_0x5826[905]]);if(mxClient[_0x5826[80]]||_0x5826[529]!=this[_0x5826[905]][_0x5826[301]][_0x5826[36]]()){this[_0x5826[929]][_0x5826[124]][_0x5826[119]]=_0x5826[118]};this[_0x5826[122]][_0x5826[62]](this[_0x5826[929]]);_0x1b20x3[_0x5826[62]](this[_0x5826[122]]);_0x1b20x2[_0x5826[62]](_0x1b20x3);this[_0x5826[116]][_0x5826[62]](_0x1b20x2);this[_0x5826[485]][_0x5826[62]](this[_0x5826[116]]);_0x1b20x9=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[790]]()});mxEvent[_0x5826[169]](this[_0x5826[924]],_0x5826[751],_0x1b20x9);mxEvent[_0x5826[169]](this[_0x5826[116]],_0x5826[751],_0x1b20x9);mxClient[_0x5826[754]]&&(mxEvent[_0x5826[169]](this[_0x5826[924]],_0x5826[755],_0x1b20x9),mxEvent[_0x5826[169]](this[_0x5826[116]],_0x5826[755],_0x1b20x9));this[_0x5826[801]]()};mxWindow[_0x5826[202]][_0x5826[910]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[924]][_0x5826[285]];null!=_0x1b20x3;){var _0x1b20x4=_0x1b20x3[_0x5826[287]];_0x1b20x3[_0x5826[288]]==mxConstants[_0x5826[317]]&&_0x1b20x3[_0x5826[265]][_0x5826[266]](_0x1b20x3);_0x1b20x3=_0x1b20x4};mxUtils[_0x5826[53]](this[_0x5826[924]],_0x1b20x2||_0x5826[110])};mxWindow[_0x5826[202]][_0x5826[162]]=function(_0x1b20x2){0>navigator[_0x5826[3]][_0x5826[2]](_0x5826[186])&&(this[_0x5826[929]][_0x5826[124]][_0x5826[277]]=_0x1b20x2?_0x5826[278]:_0x5826[188])};mxWindow[_0x5826[202]][_0x5826[790]]=function(){if(mxWindow[_0x5826[930]]!=this){var _0x1b20x2=mxUtils[_0x5826[275]](this[_0x5826[166]]()),_0x1b20x2=null!=_0x1b20x2?_0x1b20x2[_0x5826[931]]:3;if(mxWindow[_0x5826[930]]){var _0x1b20x3=mxWindow[_0x5826[930]][_0x5826[166]]();null!=_0x1b20x3&&null!=_0x1b20x3[_0x5826[124]]&&(_0x1b20x3[_0x5826[124]][_0x5826[931]]=_0x1b20x2)};_0x1b20x3=mxWindow[_0x5826[930]];this[_0x5826[166]]()[_0x5826[124]][_0x5826[931]]=parseInt(_0x1b20x2)+1;mxWindow[_0x5826[930]]=this;this[_0x5826[746]]( new mxEventObject(mxEvent.ACTIVATE,_0x5826[932],_0x1b20x3))}};mxWindow[_0x5826[202]][_0x5826[166]]=function(){return this[_0x5826[485]]};mxWindow[_0x5826[202]][_0x5826[933]]=function(){mxUtils[_0x5826[933]](this[_0x5826[485]])};mxWindow[_0x5826[202]][_0x5826[934]]=function(){return null!=this[_0x5826[129]]?_0x5826[130]!=this[_0x5826[129]][_0x5826[124]][_0x5826[495]]:!1};mxWindow[_0x5826[202]][_0x5826[163]]=function(_0x1b20x2){_0x1b20x2?null==this[_0x5826[129]]?(this[_0x5826[129]]=document[_0x5826[55]](_0x5826[466]),this[_0x5826[129]][_0x5826[124]][_0x5826[491]]=_0x5826[492],this[_0x5826[129]][_0x5826[124]][_0x5826[553]]=_0x5826[935],this[_0x5826[129]][_0x5826[124]][_0x5826[699]]=_0x5826[935],this[_0x5826[129]][_0x5826[57]](_0x5826[390],mxClient[_0x5826[88]]+_0x5826[922]),this[_0x5826[129]][_0x5826[124]][_0x5826[270]]=_0x5826[936],mxEvent[_0x5826[759]](this[_0x5826[129]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[790]]();var _0x1b20x4=mxEvent[_0x5826[731]](_0x1b20x2),_0x1b20x5=mxEvent[_0x5826[733]](_0x1b20x2),_0x1b20x9=this[_0x5826[485]][_0x5826[359]],_0x1b20xa=this[_0x5826[485]][_0x5826[167]],_0x1b20x12=mxUtils[_0x5826[885]](this,function(_0x1b20x2){var _0x1b20x3=mxEvent[_0x5826[731]](_0x1b20x2)-_0x1b20x4,_0x1b20x12=mxEvent[_0x5826[733]](_0x1b20x2)-_0x1b20x5;this[_0x5826[937]](_0x1b20x9+_0x1b20x3,_0x1b20xa+_0x1b20x12);this[_0x5826[746]]( new mxEventObject(mxEvent.RESIZE,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)}),_0x1b20x13=mxUtils[_0x5826[885]](this,function(_0x1b20x2){mxEvent[_0x5826[938]](document,null,_0x1b20x12,_0x1b20x13);this[_0x5826[746]]( new mxEventObject(mxEvent.RESIZE_END,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)});mxEvent[_0x5826[759]](document,null,_0x1b20x12,_0x1b20x13);this[_0x5826[746]]( new mxEventObject(mxEvent.RESIZE_START,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)}),null,null),this[_0x5826[485]][_0x5826[62]](this[_0x5826[129]])):this[_0x5826[129]][_0x5826[124]][_0x5826[495]]=_0x5826[497]:null!=this[_0x5826[129]]&&(this[_0x5826[129]][_0x5826[124]][_0x5826[495]]=_0x5826[130])};mxWindow[_0x5826[202]][_0x5826[937]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=Math[_0x5826[160]](this[_0x5826[923]][_0x5826[117]],_0x1b20x2);_0x1b20x3=Math[_0x5826[160]](this[_0x5826[923]][_0x5826[119]],_0x1b20x3);mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=_0x1b20x2+_0x5826[168],this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168]);this[_0x5826[116]][_0x5826[124]][_0x5826[117]]=_0x1b20x2+_0x5826[168];this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168];mxClient[_0x5826[80]]||(this[_0x5826[929]][_0x5826[124]][_0x5826[119]]=this[_0x5826[485]][_0x5826[167]]-this[_0x5826[924]][_0x5826[167]]-2+_0x5826[168])};mxWindow[_0x5826[202]][_0x5826[909]]=function(_0x1b20x2){this[_0x5826[798]][_0x5826[124]][_0x5826[495]]=_0x1b20x2?_0x5826[110]:_0x5826[130]};mxWindow[_0x5826[202]][_0x5826[939]]=function(){return new mxRectangle(0,0,0,this[_0x5826[924]][_0x5826[167]])};mxWindow[_0x5826[202]][_0x5826[907]]=function(){this[_0x5826[798]]=document[_0x5826[55]](_0x5826[466]);this[_0x5826[798]][_0x5826[57]](_0x5826[390],this[_0x5826[915]]);this[_0x5826[798]][_0x5826[57]](_0x5826[611],_0x5826[699]);this[_0x5826[798]][_0x5826[57]](_0x5826[924],_0x5826[940]);this[_0x5826[798]][_0x5826[124]][_0x5826[270]]=_0x5826[356];this[_0x5826[798]][_0x5826[124]][_0x5826[941]]=_0x5826[942];this[_0x5826[798]][_0x5826[124]][_0x5826[495]]=_0x5826[130];this[_0x5826[924]][_0x5826[62]](this[_0x5826[798]]);var _0x1b20x2=!1,_0x1b20x3=null,_0x1b20x4=null,_0x1b20x5=mxUtils[_0x5826[885]](this,function(_0x1b20x5){this[_0x5826[790]]();if(_0x1b20x2){_0x1b20x2= !1,this[_0x5826[798]][_0x5826[57]](_0x5826[390],this[_0x5826[915]]),this[_0x5826[798]][_0x5826[57]](_0x5826[924],_0x5826[940]),this[_0x5826[929]][_0x5826[124]][_0x5826[495]]=_0x5826[110],this[_0x5826[800]][_0x5826[124]][_0x5826[495]]=_0x1b20x3,mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20x4),this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=_0x1b20x4,null!=this[_0x5826[129]]&&(this[_0x5826[129]][_0x5826[124]][_0x5826[187]]=_0x5826[110]),this[_0x5826[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x5826[763],_0x1b20x5))}else {_0x1b20x2= !0;this[_0x5826[798]][_0x5826[57]](_0x5826[390],this[_0x5826[917]]);this[_0x5826[798]][_0x5826[57]](_0x5826[924],_0x5826[943]);this[_0x5826[929]][_0x5826[124]][_0x5826[495]]=_0x5826[130];_0x1b20x3=this[_0x5826[800]][_0x5826[124]][_0x5826[495]];this[_0x5826[800]][_0x5826[124]][_0x5826[495]]=_0x5826[130];_0x1b20x4=this[_0x5826[116]][_0x5826[124]][_0x5826[119]];var _0x1b20xa=this[_0x5826[939]]();0<_0x1b20xa[_0x5826[119]]&&(mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20xa[_0x5826[119]]+_0x5826[168]),this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=_0x1b20xa[_0x5826[119]]+_0x5826[168]);0<_0x1b20xa[_0x5826[117]]&&(mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=_0x1b20xa[_0x5826[117]]+_0x5826[168]),this[_0x5826[116]][_0x5826[124]][_0x5826[117]]=_0x1b20xa[_0x5826[117]]+_0x5826[168]);null!=this[_0x5826[129]]&&(this[_0x5826[129]][_0x5826[124]][_0x5826[187]]=_0x5826[188]);this[_0x5826[746]]( new mxEventObject(mxEvent.MINIMIZE,_0x5826[763],_0x1b20x5))};mxEvent[_0x5826[722]](_0x1b20x5)});mxEvent[_0x5826[169]](this[_0x5826[798]],_0x5826[751],_0x1b20x5);mxClient[_0x5826[754]]&&mxEvent[_0x5826[169]](this[_0x5826[798]],_0x5826[755],_0x1b20x5)};mxWindow[_0x5826[202]][_0x5826[161]]=function(_0x1b20x2){this[_0x5826[800]][_0x5826[124]][_0x5826[495]]=_0x1b20x2?_0x5826[110]:_0x5826[130]};mxWindow[_0x5826[202]][_0x5826[906]]=function(){this[_0x5826[800]]=document[_0x5826[55]](_0x5826[466]);this[_0x5826[800]][_0x5826[57]](_0x5826[390],this[_0x5826[919]]);this[_0x5826[800]][_0x5826[57]](_0x5826[611],_0x5826[699]);this[_0x5826[800]][_0x5826[57]](_0x5826[924],_0x5826[944]);this[_0x5826[800]][_0x5826[124]][_0x5826[270]]=_0x5826[583];this[_0x5826[800]][_0x5826[124]][_0x5826[945]]=_0x5826[942];this[_0x5826[800]][_0x5826[124]][_0x5826[270]]=_0x5826[356];this[_0x5826[800]][_0x5826[124]][_0x5826[495]]=_0x5826[130];this[_0x5826[924]][_0x5826[62]](this[_0x5826[800]]);var _0x1b20x2=!1,_0x1b20x3=null,_0x1b20x4=null,_0x1b20x5=null,_0x1b20x9=null,_0x1b20xa=mxUtils[_0x5826[885]](this,function(_0x1b20xa){this[_0x5826[790]]();if(_0x5826[130]!=this[_0x5826[800]][_0x5826[124]][_0x5826[495]]){if(_0x1b20x2){_0x1b20x2= !1;this[_0x5826[800]][_0x5826[57]](_0x5826[390],this[_0x5826[919]]);this[_0x5826[800]][_0x5826[57]](_0x5826[924],_0x5826[944]);this[_0x5826[929]][_0x5826[124]][_0x5826[495]]=_0x5826[110];this[_0x5826[798]][_0x5826[124]][_0x5826[187]]=_0x5826[110];this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x3+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x4+_0x5826[168];if(!mxClient[_0x5826[80]]&&(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20x5,this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=_0x1b20x9,_0x1b20x13=mxUtils[_0x5826[275]](this[_0x5826[929]]),_0x5826[278]==_0x1b20x13[_0x5826[277]]||null!=this[_0x5826[129]])){this[_0x5826[929]][_0x5826[124]][_0x5826[119]]=this[_0x5826[485]][_0x5826[167]]-this[_0x5826[924]][_0x5826[167]]-2+_0x5826[168]};this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=_0x1b20x5;this[_0x5826[116]][_0x5826[124]][_0x5826[117]]=_0x1b20x9;null!=this[_0x5826[129]]&&(this[_0x5826[129]][_0x5826[124]][_0x5826[187]]=_0x5826[110]);this[_0x5826[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x5826[763],_0x1b20xa))}else {_0x1b20x2= !0;this[_0x5826[800]][_0x5826[57]](_0x5826[390],this[_0x5826[917]]);this[_0x5826[800]][_0x5826[57]](_0x5826[924],_0x5826[943]);this[_0x5826[929]][_0x5826[124]][_0x5826[495]]=_0x5826[110];this[_0x5826[798]][_0x5826[124]][_0x5826[187]]=_0x5826[188];_0x1b20x3=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[361]]);_0x1b20x4=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[125]]);_0x1b20x5=this[_0x5826[116]][_0x5826[124]][_0x5826[119]];_0x1b20x9=this[_0x5826[116]][_0x5826[124]][_0x5826[117]];this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x5826[946];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x5826[946];mxClient[_0x5826[80]]||(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=document[_0x5826[112]][_0x5826[157]]-2+_0x5826[168],this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=document[_0x5826[112]][_0x5826[159]]-2+_0x5826[168]);this[_0x5826[116]][_0x5826[124]][_0x5826[117]]=document[_0x5826[112]][_0x5826[159]]-2+_0x5826[168];this[_0x5826[116]][_0x5826[124]][_0x5826[119]]=document[_0x5826[112]][_0x5826[157]]-2+_0x5826[168];null!=this[_0x5826[129]]&&(this[_0x5826[129]][_0x5826[124]][_0x5826[187]]=_0x5826[188]);if(!mxClient[_0x5826[80]]){var _0x1b20x13=mxUtils[_0x5826[275]](this[_0x5826[929]]);if(_0x5826[278]==_0x1b20x13[_0x5826[277]]||null!=this[_0x5826[129]]){this[_0x5826[929]][_0x5826[124]][_0x5826[119]]=this[_0x5826[485]][_0x5826[167]]-this[_0x5826[924]][_0x5826[167]]-2+_0x5826[168]}};this[_0x5826[746]]( new mxEventObject(mxEvent.MAXIMIZE,_0x5826[763],_0x1b20xa))};mxEvent[_0x5826[722]](_0x1b20xa)}});mxEvent[_0x5826[759]](this[_0x5826[800]],_0x1b20xa);mxEvent[_0x5826[169]](this[_0x5826[924]],_0x5826[760],_0x1b20xa)};mxWindow[_0x5826[202]][_0x5826[911]]=function(){this[_0x5826[924]][_0x5826[124]][_0x5826[270]]=_0x5826[582];mxEvent[_0x5826[759]](this[_0x5826[924]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){var _0x1b20x3=mxEvent[_0x5826[731]](_0x1b20x2),_0x1b20x4=mxEvent[_0x5826[733]](_0x1b20x2),_0x1b20x5=this[_0x5826[730]](),_0x1b20x9=this[_0x5826[732]](),_0x1b20xa=mxUtils[_0x5826[885]](this,function(_0x1b20x2){var _0x1b20xa=mxEvent[_0x5826[731]](_0x1b20x2)-_0x1b20x3,_0x1b20x12=mxEvent[_0x5826[733]](_0x1b20x2)-_0x1b20x4;this[_0x5826[947]](_0x1b20x5+_0x1b20xa,_0x1b20x9+_0x1b20x12);this[_0x5826[746]]( new mxEventObject(mxEvent.MOVE,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)}),_0x1b20x12=mxUtils[_0x5826[885]](this,function(_0x1b20x2){mxEvent[_0x5826[938]](document,null,_0x1b20xa,_0x1b20x12);this[_0x5826[746]]( new mxEventObject(mxEvent.MOVE_END,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)});mxEvent[_0x5826[759]](document,null,_0x1b20xa,_0x1b20x12);this[_0x5826[746]]( new mxEventObject(mxEvent.MOVE_START,_0x5826[763],_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x2)}))};mxWindow[_0x5826[202]][_0x5826[947]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168]};mxWindow[_0x5826[202]][_0x5826[730]]=function(){return parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[361]])};mxWindow[_0x5826[202]][_0x5826[732]]=function(){return parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[125]])};mxWindow[_0x5826[202]][_0x5826[908]]=function(){this[_0x5826[948]]=document[_0x5826[55]](_0x5826[466]);this[_0x5826[948]][_0x5826[57]](_0x5826[390],this[_0x5826[913]]);this[_0x5826[948]][_0x5826[57]](_0x5826[611],_0x5826[699]);this[_0x5826[948]][_0x5826[57]](_0x5826[924],_0x5826[949]);this[_0x5826[948]][_0x5826[124]][_0x5826[945]]=_0x5826[935];this[_0x5826[948]][_0x5826[124]][_0x5826[270]]=_0x5826[356];this[_0x5826[948]][_0x5826[124]][_0x5826[495]]=_0x5826[130];this[_0x5826[924]][_0x5826[950]](this[_0x5826[948]],this[_0x5826[924]][_0x5826[285]]);mxEvent[_0x5826[759]](this[_0x5826[948]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[746]]( new mxEventObject(mxEvent.CLOSE,_0x5826[763],_0x1b20x2));this[_0x5826[165]]?this[_0x5826[515]]():this[_0x5826[175]](!1);mxEvent[_0x5826[722]](_0x1b20x2)}))};mxWindow[_0x5826[202]][_0x5826[951]]=function(_0x1b20x2){this[_0x5826[618]]=document[_0x5826[55]](_0x5826[466]);this[_0x5826[618]][_0x5826[57]](_0x5826[390],_0x1b20x2);this[_0x5826[618]][_0x5826[57]](_0x5826[611],_0x5826[361]);this[_0x5826[618]][_0x5826[124]][_0x5826[941]]=_0x5826[952];this[_0x5826[618]][_0x5826[124]][_0x5826[945]]=_0x5826[946];this[_0x5826[618]][_0x5826[124]][_0x5826[953]]=_0x5826[954];this[_0x5826[924]][_0x5826[950]](this[_0x5826[618]],this[_0x5826[924]][_0x5826[285]])};mxWindow[_0x5826[202]][_0x5826[164]]=function(_0x1b20x2){this[_0x5826[948]][_0x5826[124]][_0x5826[495]]=_0x1b20x2?_0x5826[110]:_0x5826[130]};mxWindow[_0x5826[202]][_0x5826[174]]=function(){return null!=this[_0x5826[485]]?_0x5826[188]!=this[_0x5826[485]][_0x5826[124]][_0x5826[187]]:!1};mxWindow[_0x5826[202]][_0x5826[175]]=function(_0x1b20x2){null!=this[_0x5826[485]]&&this[_0x5826[174]]()!=_0x1b20x2&&(_0x1b20x2?this[_0x5826[539]]():this[_0x5826[801]]())};mxWindow[_0x5826[202]][_0x5826[539]]=function(){this[_0x5826[485]][_0x5826[124]][_0x5826[187]]=_0x5826[110];this[_0x5826[790]]();var _0x1b20x2=mxUtils[_0x5826[275]](this[_0x5826[929]]);if(!mxClient[_0x5826[80]]&&(_0x5826[278]==_0x1b20x2[_0x5826[277]]||null!=this[_0x5826[129]])){this[_0x5826[929]][_0x5826[124]][_0x5826[119]]=this[_0x5826[485]][_0x5826[167]]-this[_0x5826[924]][_0x5826[167]]-2+_0x5826[168]};this[_0x5826[746]]( new mxEventObject(mxEvent.SHOW))};mxWindow[_0x5826[202]][_0x5826[801]]=function(){this[_0x5826[485]][_0x5826[124]][_0x5826[187]]=_0x5826[188];this[_0x5826[746]]( new mxEventObject(mxEvent.HIDE))};mxWindow[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[746]]( new mxEventObject(mxEvent.DESTROY));null!=this[_0x5826[485]]&&(mxEvent[_0x5826[762]](this[_0x5826[485]]),this[_0x5826[485]][_0x5826[265]][_0x5826[266]](this[_0x5826[485]]),this[_0x5826[485]]=null);this[_0x5826[929]]=this[_0x5826[905]]=this[_0x5826[924]]=null};function mxForm(_0x1b20x2){this[_0x5826[116]]=document[_0x5826[55]](_0x5826[116]);this[_0x5826[116]][_0x5826[926]]=_0x1b20x2;this[_0x5826[112]]=document[_0x5826[55]](_0x5826[120]);this[_0x5826[116]][_0x5826[62]](this[_0x5826[112]])}mxForm[_0x5826[202]][_0x5826[116]]=null;mxForm[_0x5826[202]][_0x5826[112]]= !1;mxForm[_0x5826[202]][_0x5826[955]]=function(){return this[_0x5826[116]]};mxForm[_0x5826[202]][_0x5826[956]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[121]),_0x1b20x5=document[_0x5826[55]](_0x5826[122]);_0x1b20x4[_0x5826[62]](_0x1b20x5);var _0x1b20x5=document[_0x5826[55]](_0x5826[122]),_0x1b20x9=document[_0x5826[55]](_0x5826[172]);mxUtils[_0x5826[53]](_0x1b20x9,mxResources[_0x5826[203]](_0x5826[957])||_0x5826[958]);_0x1b20x5[_0x5826[62]](_0x1b20x9);mxEvent[_0x5826[169]](_0x1b20x9,_0x5826[173],function(){_0x1b20x2()});_0x1b20x9=document[_0x5826[55]](_0x5826[172]);mxUtils[_0x5826[53]](_0x1b20x9,mxResources[_0x5826[203]](_0x5826[959])||_0x5826[960]);_0x1b20x5[_0x5826[62]](_0x1b20x9);mxEvent[_0x5826[169]](_0x1b20x9,_0x5826[173],function(){_0x1b20x3()});_0x1b20x4[_0x5826[62]](_0x1b20x5);this[_0x5826[112]][_0x5826[62]](_0x1b20x4)};mxForm[_0x5826[202]][_0x5826[961]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[962]);_0x1b20x4[_0x5826[57]](_0x5826[60],_0x5826[963]);_0x1b20x4[_0x5826[131]]=_0x1b20x3;return this[_0x5826[964]](_0x1b20x2,_0x1b20x4)};mxForm[_0x5826[202]][_0x5826[965]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[962]);_0x1b20x4[_0x5826[57]](_0x5826[60],_0x5826[966]);this[_0x5826[964]](_0x1b20x2,_0x1b20x4);_0x1b20x3&&(_0x1b20x4[_0x5826[967]]= !0);return _0x1b20x4};mxForm[_0x5826[202]][_0x5826[968]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=document[_0x5826[55]](_0x5826[126]);mxClient[_0x5826[133]]&&_0x1b20x4--;_0x1b20x5[_0x5826[57]](_0x5826[969],_0x1b20x4||2);_0x1b20x5[_0x5826[131]]=_0x1b20x3;return this[_0x5826[964]](_0x1b20x2,_0x1b20x5)};mxForm[_0x5826[202]][_0x5826[970]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=document[_0x5826[55]](_0x5826[804]);null!=_0x1b20x4&&_0x1b20x5[_0x5826[57]](_0x5826[803],_0x1b20x4);_0x1b20x3&&_0x1b20x5[_0x5826[57]](_0x5826[971],_0x5826[128]);return this[_0x5826[964]](_0x1b20x2,_0x1b20x5)};mxForm[_0x5826[202]][_0x5826[972]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=document[_0x5826[55]](_0x5826[973]);mxUtils[_0x5826[171]](_0x1b20x9,_0x1b20x3);_0x1b20x9[_0x5826[57]](_0x5826[131],_0x1b20x4);_0x1b20x5&&_0x1b20x9[_0x5826[57]](_0x5826[974],_0x1b20x5);_0x1b20x2[_0x5826[62]](_0x1b20x9)};mxForm[_0x5826[202]][_0x5826[964]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[121]),_0x1b20x5=document[_0x5826[55]](_0x5826[122]);mxUtils[_0x5826[53]](_0x1b20x5,_0x1b20x2);_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x5=document[_0x5826[55]](_0x5826[122]);_0x1b20x5[_0x5826[62]](_0x1b20x3);_0x1b20x4[_0x5826[62]](_0x1b20x5);this[_0x5826[112]][_0x5826[62]](_0x1b20x4);return _0x1b20x3};function mxImage(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[390]]=_0x1b20x2;this[_0x5826[117]]=_0x1b20x3;this[_0x5826[119]]=_0x1b20x4}mxImage[_0x5826[202]][_0x5826[390]]=null;mxImage[_0x5826[202]][_0x5826[117]]=null;mxImage[_0x5826[202]][_0x5826[119]]=null;function mxDivResizer(_0x1b20x2,_0x1b20x3){if(_0x5826[485]==_0x1b20x2[_0x5826[301]][_0x5826[216]]()){null==_0x1b20x3&&(_0x1b20x3=window);this[_0x5826[485]]=_0x1b20x2;var _0x1b20x4=mxUtils[_0x5826[275]](_0x1b20x2);null!=_0x1b20x4&&(this[_0x5826[975]]=_0x5826[278]==_0x1b20x4[_0x5826[117]],this[_0x5826[976]]=_0x5826[278]==_0x1b20x4[_0x5826[119]]);mxEvent[_0x5826[169]](_0x1b20x3,_0x5826[129],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[977]]||(this[_0x5826[977]]= !0,this[_0x5826[129]](),this[_0x5826[977]]= !1)}));this[_0x5826[129]]()}}mxDivResizer[_0x5826[202]][_0x5826[975]]= !0;mxDivResizer[_0x5826[202]][_0x5826[976]]= !0;mxDivResizer[_0x5826[202]][_0x5826[977]]= !1;mxDivResizer[_0x5826[202]][_0x5826[129]]=function(){var _0x1b20x2=this[_0x5826[978]](),_0x1b20x3=this[_0x5826[979]](),_0x1b20x4=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[361]]),_0x1b20x5=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[699]]),_0x1b20x9=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[125]]),_0x1b20xa=parseInt(this[_0x5826[485]][_0x5826[124]][_0x5826[553]]);this[_0x5826[975]]&&(!isNaN(_0x1b20x4)&&!isNaN(_0x1b20x5)&&0<=_0x1b20x4&&0<=_0x1b20x5&&0<_0x1b20x2-_0x1b20x5-_0x1b20x4)&&(this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=_0x1b20x2-_0x1b20x5-_0x1b20x4+_0x5826[168]);this[_0x5826[976]]&&(!isNaN(_0x1b20x9)&&!isNaN(_0x1b20xa)&&0<=_0x1b20x9&&0<=_0x1b20xa&&0<_0x1b20x3-_0x1b20x9-_0x1b20xa)&&(this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=_0x1b20x3-_0x1b20x9-_0x1b20xa+_0x5826[168])};mxDivResizer[_0x5826[202]][_0x5826[978]]=function(){return document[_0x5826[112]][_0x5826[159]]};mxDivResizer[_0x5826[202]][_0x5826[979]]=function(){return document[_0x5826[112]][_0x5826[157]]};function mxDragSource(_0x1b20x2,_0x1b20x3){this[_0x5826[980]]=_0x1b20x2;this[_0x5826[981]]=_0x1b20x3;mxEvent[_0x5826[759]](_0x1b20x2,mxUtils[_0x5826[885]](this,this[_0x5826[787]]))}mxDragSource[_0x5826[202]][_0x5826[980]]=null;mxDragSource[_0x5826[202]][_0x5826[981]]=null;mxDragSource[_0x5826[202]][_0x5826[559]]=null;mxDragSource[_0x5826[202]][_0x5826[982]]=null;mxDragSource[_0x5826[202]][_0x5826[983]]=null;mxDragSource[_0x5826[202]][_0x5826[984]]= !0;mxDragSource[_0x5826[202]][_0x5826[985]]=null;mxDragSource[_0x5826[202]][_0x5826[986]]=null;mxDragSource[_0x5826[202]][_0x5826[987]]=null;mxDragSource[_0x5826[202]][_0x5826[988]]=null;mxDragSource[_0x5826[202]][_0x5826[989]]=null;mxDragSource[_0x5826[202]][_0x5826[561]]= !0;mxDragSource[_0x5826[202]][_0x5826[990]]= !0;mxDragSource[_0x5826[202]][_0x5826[991]]= !0;mxDragSource[_0x5826[202]][_0x5826[563]]= !0;mxDragSource[_0x5826[202]][_0x5826[992]]=100;mxDragSource[_0x5826[202]][_0x5826[993]]=70;mxDragSource[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxDragSource[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxDragSource[_0x5826[202]][_0x5826[996]]=function(){return this[_0x5826[990]]};mxDragSource[_0x5826[202]][_0x5826[562]]=function(_0x1b20x2){this[_0x5826[990]]=_0x1b20x2};mxDragSource[_0x5826[202]][_0x5826[997]]=function(){return this[_0x5826[991]]};mxDragSource[_0x5826[202]][_0x5826[998]]=function(_0x1b20x2){this[_0x5826[991]]=_0x1b20x2};mxDragSource[_0x5826[202]][_0x5826[565]]=function(_0x1b20x2){return null};mxDragSource[_0x5826[202]][_0x5826[564]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x2[_0x5826[999]](_0x1b20x3,_0x1b20x4)};mxDragSource[_0x5826[202]][_0x5826[566]]=function(_0x1b20x2){return this[_0x5826[980]][_0x5826[511]](!0)};mxDragSource[_0x5826[202]][_0x5826[567]]=function(_0x1b20x2){return null};mxDragSource[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2){this[_0x5826[984]]&&(!mxEvent[_0x5826[721]](_0x1b20x2)&&null==this[_0x5826[1000]])&&(this[_0x5826[1001]](_0x1b20x2),this[_0x5826[1000]]=mxUtils[_0x5826[885]](this,this[_0x5826[788]]),this[_0x5826[1002]]=mxUtils[_0x5826[885]](this,this[_0x5826[789]]),mxEvent[_0x5826[759]](document,null,this[_0x5826[1000]],this[_0x5826[1002]]),mxEvent[_0x5826[722]](_0x1b20x2,!0,!1))};mxDragSource[_0x5826[202]][_0x5826[1001]]=function(_0x1b20x2){this[_0x5826[982]]=this[_0x5826[566]](_0x1b20x2);this[_0x5826[982]][_0x5826[124]][_0x5826[491]]=_0x5826[492];this[_0x5826[982]][_0x5826[124]][_0x5826[931]]=this[_0x5826[992]];mxUtils[_0x5826[254]](this[_0x5826[982]],this[_0x5826[993]])};mxDragSource[_0x5826[202]][_0x5826[1003]]=function(_0x1b20x2){null!=this[_0x5826[982]]&&(null!=this[_0x5826[982]][_0x5826[265]]&&this[_0x5826[982]][_0x5826[265]][_0x5826[266]](this[_0x5826[982]]),this[_0x5826[982]]=null)};mxDragSource[_0x5826[202]][_0x5826[1004]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxEvent[_0x5826[731]](_0x1b20x3),_0x1b20x5=mxEvent[_0x5826[733]](_0x1b20x3),_0x1b20x9=mxUtils[_0x5826[445]](_0x1b20x2[_0x5826[526]]),_0x1b20xa=mxUtils[_0x5826[444]]();return _0x1b20x4>=_0x1b20x9[_0x5826[235]]-_0x1b20xa[_0x5826[235]]&&_0x1b20x5>=_0x1b20x9[_0x5826[236]]-_0x1b20xa[_0x5826[236]]&&_0x1b20x4<=_0x1b20x9[_0x5826[235]]-_0x1b20xa[_0x5826[235]]+_0x1b20x2[_0x5826[526]][_0x5826[359]]&&_0x1b20x5<=_0x1b20x9[_0x5826[236]]-_0x1b20xa[_0x5826[236]]+_0x1b20x2[_0x5826[526]][_0x5826[167]]};mxDragSource[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[565]](_0x1b20x2);null!=_0x1b20x3&&!this[_0x5826[1004]](_0x1b20x3,_0x1b20x2)&&(_0x1b20x3=null);_0x1b20x3!=this[_0x5826[985]]&&(null!=this[_0x5826[985]]&&this[_0x5826[1005]](this[_0x5826[985]]),this[_0x5826[985]]=_0x1b20x3,null!=this[_0x5826[985]]&&this[_0x5826[1006]](this[_0x5826[985]]));null!=this[_0x5826[985]]&&this[_0x5826[1007]](this[_0x5826[985]],_0x1b20x2);if(null!=this[_0x5826[982]]&&(null==this[_0x5826[983]]||_0x5826[189]!=this[_0x5826[983]][_0x5826[124]][_0x5826[187]])){var _0x1b20x3=mxEvent[_0x5826[731]](_0x1b20x2),_0x1b20x4=mxEvent[_0x5826[733]](_0x1b20x2);null==this[_0x5826[982]][_0x5826[265]]&&document[_0x5826[112]][_0x5826[62]](this[_0x5826[982]]);this[_0x5826[982]][_0x5826[124]][_0x5826[187]]=_0x5826[189];null!=this[_0x5826[559]]&&(_0x1b20x3+=this[_0x5826[559]][_0x5826[235]],_0x1b20x4+=this[_0x5826[559]][_0x5826[236]]);_0x1b20x3+=document[_0x5826[112]][_0x5826[360]]||document[_0x5826[158]][_0x5826[360]];_0x1b20x4+=document[_0x5826[112]][_0x5826[190]]||document[_0x5826[158]][_0x5826[190]];this[_0x5826[982]][_0x5826[124]][_0x5826[361]]=_0x1b20x3+_0x5826[168];this[_0x5826[982]][_0x5826[124]][_0x5826[125]]=_0x1b20x4+_0x5826[168]}else {null!=this[_0x5826[982]]&&(this[_0x5826[982]][_0x5826[124]][_0x5826[187]]=_0x5826[188])};mxEvent[_0x5826[722]](_0x1b20x2)};mxDragSource[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2){if(null!=this[_0x5826[985]]){if(null!=this[_0x5826[987]]&&(null==this[_0x5826[983]]||_0x5826[188]!=this[_0x5826[983]][_0x5826[124]][_0x5826[187]])){var _0x1b20x3=this[_0x5826[985]][_0x5826[441]][_0x5826[255]],_0x1b20x4=this[_0x5826[985]][_0x5826[441]][_0x5826[513]];this[_0x5826[1008]](this[_0x5826[985]],_0x1b20x2,this[_0x5826[986]],this[_0x5826[987]][_0x5826[235]]/_0x1b20x3-_0x1b20x4[_0x5826[235]],this[_0x5826[987]][_0x5826[236]]/_0x1b20x3-_0x1b20x4[_0x5826[236]])};this[_0x5826[1005]](this[_0x5826[985]])};this[_0x5826[1003]](_0x1b20x2);mxEvent[_0x5826[938]](document,null,this[_0x5826[1000]],this[_0x5826[1002]]);this[_0x5826[985]]=this[_0x5826[1002]]=this[_0x5826[1000]]=null;mxEvent[_0x5826[722]](_0x1b20x2)};mxDragSource[_0x5826[202]][_0x5826[1006]]=function(_0x1b20x2){_0x1b20x2[_0x5826[1009]]= !0;this[_0x5826[983]]=this[_0x5826[567]](_0x1b20x2);this[_0x5826[996]]()&&null!=this[_0x5826[983]]&&(this[_0x5826[988]]= new mxGuide(_0x1b20x2,_0x1b20x2[_0x5826[1011]][_0x5826[1010]]()));this[_0x5826[563]]&&(this[_0x5826[989]]= new mxCellHighlight(_0x1b20x2,mxConstants.DROP_TARGET_COLOR))};mxDragSource[_0x5826[202]][_0x5826[1005]]=function(_0x1b20x2){this[_0x5826[987]]=this[_0x5826[986]]=null;_0x1b20x2[_0x5826[1009]]= !1;null!=this[_0x5826[983]]&&(null!=this[_0x5826[983]][_0x5826[265]]&&this[_0x5826[983]][_0x5826[265]][_0x5826[266]](this[_0x5826[983]]),this[_0x5826[983]]=null);null!=this[_0x5826[988]]&&(this[_0x5826[988]][_0x5826[515]](),this[_0x5826[988]]=null);null!=this[_0x5826[989]]&&(this[_0x5826[989]][_0x5826[515]](),this[_0x5826[989]]=null)};mxDragSource[_0x5826[202]][_0x5826[1007]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxUtils[_0x5826[445]](_0x1b20x2[_0x5826[526]]),_0x1b20x5=mxUtils[_0x5826[444]](_0x1b20x2[_0x5826[526]]),_0x1b20x9=mxEvent[_0x5826[731]](_0x1b20x3)-_0x1b20x4[_0x5826[235]]+_0x1b20x5[_0x5826[235]],_0x1b20x4=mxEvent[_0x5826[733]](_0x1b20x3)-_0x1b20x4[_0x5826[236]]+_0x1b20x5[_0x5826[236]];_0x1b20x2[_0x5826[1012]]&&(null==this[_0x5826[561]]||this[_0x5826[561]])&&_0x1b20x2[_0x5826[1014]](_0x1b20x9,_0x1b20x4,_0x1b20x2[_0x5826[1013]]);null!=this[_0x5826[989]]&&_0x1b20x2[_0x5826[1015]]()&&(this[_0x5826[986]]=this[_0x5826[564]](_0x1b20x2,_0x1b20x9,_0x1b20x4),_0x1b20x5=_0x1b20x2[_0x5826[249]]()[_0x5826[248]](this[_0x5826[986]]),this[_0x5826[989]][_0x5826[1016]](_0x1b20x5));if(null!=this[_0x5826[983]]){null==this[_0x5826[983]][_0x5826[265]]&&(_0x1b20x2[_0x5826[526]][_0x5826[62]](this[_0x5826[983]]),this[_0x5826[983]][_0x5826[124]][_0x5826[931]]=_0x5826[1017],this[_0x5826[983]][_0x5826[124]][_0x5826[491]]=_0x5826[492]);var _0x1b20x5=this[_0x5826[997]]()&&_0x1b20x2[_0x5826[1018]](_0x1b20x3),_0x1b20xa=!0;if(null!=this[_0x5826[988]]&&this[_0x5826[988]][_0x5826[1019]](_0x1b20x3)){var _0x1b20xa=parseInt(this[_0x5826[983]][_0x5826[124]][_0x5826[117]]),_0x1b20x12=parseInt(this[_0x5826[983]][_0x5826[124]][_0x5826[119]]),_0x1b20xa= new mxRectangle(0,0,_0x1b20xa,_0x1b20x12),_0x1b20x4= new mxPoint(_0x1b20x9,_0x1b20x4),_0x1b20x4=this[_0x5826[988]][_0x5826[582]](_0x1b20xa,_0x1b20x4,_0x1b20x5),_0x1b20xa=!1,_0x1b20x9=_0x1b20x4[_0x5826[235]],_0x1b20x4=_0x1b20x4[_0x5826[236]]}else {if(_0x1b20x5){var _0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x12=_0x1b20x2[_0x5826[441]][_0x5826[513]],_0x1b20x13=_0x1b20x2[_0x5826[1020]]/2,_0x1b20x9=(_0x1b20x2[_0x5826[1021]](_0x1b20x9/_0x1b20x5-_0x1b20x12[_0x5826[235]]-_0x1b20x13)+_0x1b20x12[_0x5826[235]])*_0x1b20x5,_0x1b20x4=(_0x1b20x2[_0x5826[1021]](_0x1b20x4/_0x1b20x5-_0x1b20x12[_0x5826[236]]-_0x1b20x13)+_0x1b20x12[_0x5826[236]])*_0x1b20x5}};null!=this[_0x5826[988]]&&_0x1b20xa&&this[_0x5826[988]][_0x5826[801]]();null!=this[_0x5826[1022]]&&(_0x1b20x9+=this[_0x5826[1022]][_0x5826[235]],_0x1b20x4+=this[_0x5826[1022]][_0x5826[236]]);this[_0x5826[983]][_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](_0x1b20x9)+_0x5826[168];this[_0x5826[983]][_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](_0x1b20x4)+_0x5826[168];this[_0x5826[983]][_0x5826[124]][_0x5826[187]]=_0x5826[189]};this[_0x5826[987]]= new mxPoint(_0x1b20x9,_0x1b20x4)};mxDragSource[_0x5826[202]][_0x5826[1008]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){this[_0x5826[981]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[526]][_0x5826[393]]()};function mxToolbar(_0x1b20x2){this[_0x5826[526]]=_0x1b20x2}mxToolbar[_0x5826[202]]= new mxEventSource;mxToolbar[_0x5826[202]][_0x5826[196]]=mxToolbar;mxToolbar[_0x5826[202]][_0x5826[526]]=null;mxToolbar[_0x5826[202]][_0x5826[984]]= !0;mxToolbar[_0x5826[202]][_0x5826[1023]]= !1;mxToolbar[_0x5826[202]][_0x5826[1024]]= !0;mxToolbar[_0x5826[202]][_0x5826[1025]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=document[_0x5826[55]](null!=_0x1b20x3?_0x5826[466]:_0x5826[172]),_0x1b20x13=_0x1b20x9||(null!=_0x1b20xa?_0x5826[1026]:_0x5826[1027]);_0x1b20x12[_0x5826[926]]=_0x1b20x13;_0x1b20x12[_0x5826[57]](_0x5826[390],_0x1b20x3);null!=_0x1b20x2&&(null!=_0x1b20x3?_0x1b20x12[_0x5826[57]](_0x5826[924],_0x1b20x2):mxUtils[_0x5826[53]](_0x1b20x12,_0x1b20x2));this[_0x5826[526]][_0x5826[62]](_0x1b20x12);null!=_0x1b20x4&&(mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[173],_0x1b20x4),mxClient[_0x5826[754]]&&mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[757],_0x1b20x4));_0x1b20x2=mxUtils[_0x5826[885]](this,function(_0x1b20x2){null!=_0x1b20x5?_0x1b20x12[_0x5826[57]](_0x5826[390],_0x1b20x3):_0x1b20x12[_0x5826[124]][_0x5826[1028]]=_0x5826[110]});mxEvent[_0x5826[759]](_0x1b20x12,mxUtils[_0x5826[885]](this,function(_0x1b20x2){null!=_0x1b20x5?_0x1b20x12[_0x5826[57]](_0x5826[390],_0x1b20x5):_0x1b20x12[_0x5826[124]][_0x5826[1028]]=_0x5826[579];if(null!=_0x1b20xa){null==this[_0x5826[1029]]&&(this[_0x5826[1029]]= new mxPopupMenu,this[_0x5826[1029]][_0x5826[176]]());var _0x1b20x3=this[_0x5826[1030]];this[_0x5826[1029]][_0x5826[1031]]()&&this[_0x5826[1029]][_0x5826[1032]]();_0x1b20x3!=_0x1b20x12&&(this[_0x5826[1030]]=_0x1b20x12,this[_0x5826[1029]][_0x5826[1033]]=_0x1b20xa,_0x1b20x3= new mxPoint(_0x1b20x12[_0x5826[358]],_0x1b20x12[_0x5826[362]]+_0x1b20x12[_0x5826[167]]),this[_0x5826[1029]][_0x5826[152]](_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],null,_0x1b20x2),this[_0x5826[1029]][_0x5826[1031]]()&&(_0x1b20x12[_0x5826[926]]=_0x1b20x13+_0x5826[1034],this[_0x5826[1029]][_0x5826[1032]]=function(){mxPopupMenu[_0x5826[202]][_0x5826[1032]][_0x5826[183]](this);_0x1b20x12[_0x5826[926]]=_0x1b20x13;this[_0x5826[1030]]=null}))}}),null,_0x1b20x2);mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[1035],_0x1b20x2);return _0x1b20x12};mxToolbar[_0x5826[202]][_0x5826[970]]=function(_0x1b20x2){var _0x1b20x3=document[_0x5826[55]](_0x5826[485]);_0x1b20x3[_0x5826[124]][_0x5826[495]]=_0x5826[497];_0x1b20x3[_0x5826[926]]=_0x5826[1036];var _0x1b20x4=document[_0x5826[55]](_0x5826[804]);_0x1b20x4[_0x5826[926]]=_0x1b20x2||_0x5826[1037];_0x1b20x3[_0x5826[62]](_0x1b20x4);this[_0x5826[526]][_0x5826[62]](_0x1b20x3);return _0x1b20x4};mxToolbar[_0x5826[202]][_0x5826[1038]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[804]);_0x1b20x4[_0x5826[926]]=_0x1b20x3||_0x5826[1037];this[_0x5826[972]](_0x1b20x4,_0x1b20x2,null);mxEvent[_0x5826[169]](_0x1b20x4,_0x5826[826],function(_0x1b20x2){var _0x1b20x3=_0x1b20x4[_0x5826[1040]][_0x1b20x4[_0x5826[1039]]];_0x1b20x4[_0x5826[1039]]=0;null!=_0x1b20x3[_0x5826[1041]]&&_0x1b20x3[_0x5826[1041]](_0x1b20x2)});this[_0x5826[526]][_0x5826[62]](_0x1b20x4);return _0x1b20x4};mxToolbar[_0x5826[202]][_0x5826[972]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=document[_0x5826[55]](_0x5826[973]);mxUtils[_0x5826[171]](_0x1b20x5,_0x1b20x3);_0x5826[279]== typeof _0x1b20x4?_0x1b20x5[_0x5826[1041]]=_0x1b20x4:_0x1b20x5[_0x5826[57]](_0x5826[131],_0x1b20x4);_0x1b20x2[_0x5826[62]](_0x1b20x5);return _0x1b20x5};mxToolbar[_0x5826[202]][_0x5826[1042]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=document[_0x5826[55]](_0x5826[466]);_0x1b20xa[_0x5826[1043]]=_0x1b20x9||_0x5826[1026];_0x1b20xa[_0x5826[926]]=_0x1b20xa[_0x5826[1043]];_0x1b20xa[_0x5826[57]](_0x5826[390],_0x1b20x3);_0x1b20xa[_0x5826[1044]]=_0x1b20x5;null!=_0x1b20x2&&_0x1b20xa[_0x5826[57]](_0x5826[924],_0x1b20x2);mxEvent[_0x5826[169]](_0x1b20xa,_0x5826[173],mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x2=this[_0x5826[1045]][_0x5826[1044]];null!=_0x1b20x2?(this[_0x5826[1045]][_0x5826[1044]]=this[_0x5826[1045]][_0x5826[284]](_0x5826[390]),this[_0x5826[1045]][_0x5826[57]](_0x5826[390],_0x1b20x2)):this[_0x5826[1045]][_0x5826[926]]=this[_0x5826[1045]][_0x5826[1043]];this[_0x5826[1024]]&&(this[_0x5826[1046]]=_0x1b20xa);this[_0x5826[1045]]=_0x1b20xa;_0x1b20x2=_0x1b20xa[_0x5826[1044]];null!=_0x1b20x2?(_0x1b20xa[_0x5826[1044]]=_0x1b20xa[_0x5826[284]](_0x5826[390]),_0x1b20xa[_0x5826[57]](_0x5826[390],_0x1b20x2)):_0x1b20xa[_0x5826[926]]=_0x1b20xa[_0x5826[1043]]+_0x5826[1034];this[_0x5826[746]]( new mxEventObject(mxEvent.SELECT));_0x1b20x4()}));this[_0x5826[526]][_0x5826[62]](_0x1b20xa);null==this[_0x5826[1046]]&&(this[_0x5826[1046]]=_0x1b20xa,this[_0x5826[1047]](_0x1b20xa),_0x1b20x4());return _0x1b20xa};mxToolbar[_0x5826[202]][_0x5826[1048]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:!0;var _0x1b20x12=document[_0x5826[55]](null!=_0x1b20x3?_0x5826[466]:_0x5826[172]);_0x1b20x12[_0x5826[1043]]=_0x1b20x9||_0x5826[1026];_0x1b20x12[_0x5826[926]]=_0x1b20x12[_0x5826[1043]];_0x1b20x12[_0x5826[57]](_0x5826[390],_0x1b20x3);_0x1b20x12[_0x5826[1044]]=_0x1b20x5;null!=_0x1b20x2&&_0x1b20x12[_0x5826[57]](_0x5826[924],_0x1b20x2);this[_0x5826[984]]&&_0x1b20xa&&(mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[173],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1047]](_0x1b20x12,_0x1b20x4);this[_0x5826[1023]]= !1})),mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[760],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1047]](_0x1b20x12,_0x1b20x4);this[_0x5826[1023]]= !0})),null==this[_0x5826[1046]]&&(this[_0x5826[1046]]=_0x1b20x12,this[_0x5826[1049]]=_0x1b20x4,this[_0x5826[1047]](_0x1b20x12,_0x1b20x4)));this[_0x5826[526]][_0x5826[62]](_0x1b20x12);return _0x1b20x12};mxToolbar[_0x5826[202]][_0x5826[1047]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1045]]!=_0x1b20x2){if(null!=this[_0x5826[1045]]){var _0x1b20x4=this[_0x5826[1045]][_0x5826[1044]];null!=_0x1b20x4?(this[_0x5826[1045]][_0x5826[1044]]=this[_0x5826[1045]][_0x5826[284]](_0x5826[390]),this[_0x5826[1045]][_0x5826[57]](_0x5826[390],_0x1b20x4)):this[_0x5826[1045]][_0x5826[926]]=this[_0x5826[1045]][_0x5826[1043]]};this[_0x5826[1045]]=_0x1b20x2;_0x1b20x4=this[_0x5826[1045]][_0x5826[1044]];null!=_0x1b20x4?(this[_0x5826[1045]][_0x5826[1044]]=this[_0x5826[1045]][_0x5826[284]](_0x5826[390]),this[_0x5826[1045]][_0x5826[57]](_0x5826[390],_0x1b20x4)):this[_0x5826[1045]][_0x5826[926]]=this[_0x5826[1045]][_0x5826[1043]]+_0x5826[1034];this[_0x5826[746]]( new mxEventObject(mxEvent.SELECT,_0x5826[279],_0x1b20x3))}};mxToolbar[_0x5826[202]][_0x5826[1050]]=function(_0x1b20x2){(_0x1b20x2||!this[_0x5826[1023]])&&this[_0x5826[1045]]!=this[_0x5826[1046]]&&this[_0x5826[1047]](this[_0x5826[1046]],this[_0x5826[1049]])};mxToolbar[_0x5826[202]][_0x5826[1051]]=function(_0x1b20x2){return this[_0x5826[1025]](null,_0x1b20x2,null)};mxToolbar[_0x5826[202]][_0x5826[1052]]=function(){mxUtils[_0x5826[345]](this[_0x5826[526]])};mxToolbar[_0x5826[202]][_0x5826[1053]]=function(){var _0x1b20x2=document[_0x5826[55]](_0x5826[1054]);_0x1b20x2[_0x5826[124]][_0x5826[941]]=_0x5826[1055];_0x1b20x2[_0x5826[57]](_0x5826[803],_0x5826[500]);this[_0x5826[526]][_0x5826[62]](_0x1b20x2)};mxToolbar[_0x5826[202]][_0x5826[515]]=function(){mxEvent[_0x5826[762]](this[_0x5826[526]]);this[_0x5826[1045]]=this[_0x5826[1049]]=this[_0x5826[1046]]=this[_0x5826[526]]=null;null!=this[_0x5826[1029]]&&this[_0x5826[1029]][_0x5826[515]]()};function mxSession(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[1056]]=_0x1b20x3;this[_0x5826[1057]]=_0x1b20x4;this[_0x5826[1058]]=_0x1b20x5;null!=_0x1b20x2&&(this[_0x5826[1059]]= new mxCodec,this[_0x5826[1059]][_0x5826[1060]]=function(_0x1b20x3){return _0x1b20x2[_0x5826[736]](_0x1b20x3)});_0x1b20x2[_0x5826[169]](mxEvent.NOTIFY,mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x3[_0x5826[720]](_0x5826[1061]);(null!=_0x1b20x4&&this[_0x5826[143]]||this[_0x5826[1062]]&&!this[_0x5826[1063]])&&this[_0x5826[827]](_0x5826[1064]+this[_0x5826[1067]](_0x1b20x4[_0x5826[1065]],_0x1b20x4[_0x5826[1066]])+_0x5826[1068])}))}mxSession[_0x5826[202]]= new mxEventSource;mxSession[_0x5826[202]][_0x5826[196]]=mxSession;mxSession[_0x5826[202]][_0x5826[251]]=null;mxSession[_0x5826[202]][_0x5826[1056]]=null;mxSession[_0x5826[202]][_0x5826[1057]]=null;mxSession[_0x5826[202]][_0x5826[1058]]=null;mxSession[_0x5826[202]][_0x5826[1059]]=null;mxSession[_0x5826[202]][_0x5826[1069]]=_0x5826[336];mxSession[_0x5826[202]][_0x5826[1070]]= !0;mxSession[_0x5826[202]][_0x5826[1071]]= !0;mxSession[_0x5826[202]][_0x5826[1072]]=0;mxSession[_0x5826[202]][_0x5826[1073]]=0;mxSession[_0x5826[202]][_0x5826[143]]= !1;mxSession[_0x5826[202]][_0x5826[1062]]= !1;mxSession[_0x5826[202]][_0x5826[1063]]= !1;mxSession[_0x5826[202]][_0x5826[1074]]= !1;mxSession[_0x5826[202]][_0x5826[861]]=function(){this[_0x5826[143]]?(this[_0x5826[1062]]= !0,this[_0x5826[746]]( new mxEventObject(mxEvent.CONNECT))):this[_0x5826[1062]]||this[_0x5826[203]](this[_0x5826[1056]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1062]]= !0;this[_0x5826[746]]( new mxEventObject(mxEvent.CONNECT));this[_0x5826[1075]]()}))};mxSession[_0x5826[202]][_0x5826[809]]=function(){this[_0x5826[1062]]&&!this[_0x5826[1063]]&&(this[_0x5826[1063]]= !0,this[_0x5826[746]]( new mxEventObject(mxEvent.SUSPEND)))};mxSession[_0x5826[202]][_0x5826[810]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[1062]]&&this[_0x5826[1063]]&&(this[_0x5826[1063]]= !1,this[_0x5826[746]]( new mxEventObject(mxEvent.RESUME)),this[_0x5826[1074]]||this[_0x5826[1075]]())};mxSession[_0x5826[202]][_0x5826[1076]]=function(_0x1b20x2){this[_0x5826[1062]]&&(this[_0x5826[1062]]= !1);this[_0x5826[746]]( new mxEventObject(mxEvent.DISCONNECT,_0x5826[1077],_0x1b20x2))};mxSession[_0x5826[202]][_0x5826[1075]]=function(){this[_0x5826[1062]]&&!this[_0x5826[1063]]&&null!=this[_0x5826[1057]]?(this[_0x5826[1074]]= !0,this[_0x5826[203]](this[_0x5826[1057]],mxUtils[_0x5826[885]](this,function(){this[_0x5826[1075]]()}))):this[_0x5826[1074]]= !1};mxSession[_0x5826[202]][_0x5826[827]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]&&(null!=this[_0x5826[1058]]&&(this[_0x5826[143]]?(mxLog[_0x5826[539]](),mxLog[_0x5826[143]](_0x5826[1078]+this[_0x5826[1058]]+_0x5826[1079]+_0x1b20x2)):(_0x1b20x2=_0x5826[1080]+_0x1b20x2+_0x5826[1081],this[_0x5826[1070]]&&(_0x1b20x2=encodeURIComponent(_0x1b20x2)),mxUtils[_0x5826[814]](this[_0x5826[1058]],_0x5826[1082]+_0x1b20x2,_0x1b20x3,_0x1b20x4))),this[_0x5826[1072]]+=_0x1b20x2[_0x5826[67]],this[_0x5826[746]]( new mxEventObject(mxEvent.NOTIFY,_0x5826[863],this[_0x5826[1058]],_0x5826[338],_0x1b20x2)))};mxSession[_0x5826[202]][_0x5826[203]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(_0x5826[82]!= typeof mxUtils){var _0x1b20x5=mxUtils[_0x5826[885]](this,function(_0x1b20x2){null!=_0x1b20x4?_0x1b20x4(_0x1b20x2):this[_0x5826[1076]](_0x1b20x2)});mxUtils[_0x5826[203]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x4){if(_0x5826[82]!= typeof mxUtils){if(_0x1b20x4[_0x5826[220]]()&&404!=_0x1b20x4[_0x5826[878]]()){if(this[_0x5826[1073]]+=_0x1b20x4[_0x5826[221]]()[_0x5826[67]],this[_0x5826[746]]( new mxEventObject(mxEvent.GET,_0x5826[863],_0x1b20x2,_0x5826[870],_0x1b20x4)),this[_0x5826[1083]](_0x1b20x4)){if(0<_0x1b20x4[_0x5826[221]]()[_0x5826[67]]){var _0x1b20xa=_0x1b20x4[_0x5826[874]]();null==_0x1b20xa?_0x1b20x5(_0x5826[1084]+_0x1b20x4[_0x5826[221]]()):this[_0x5826[806]](_0x1b20xa)};null!=_0x1b20x3&&_0x1b20x3(_0x1b20x4)}}else {_0x1b20x5(_0x5826[1085])}}}),function(_0x1b20x2){_0x1b20x5(_0x5826[1086])})}};mxSession[_0x5826[202]][_0x5826[1083]]=function(_0x1b20x2){return 0>_0x1b20x2[_0x5826[221]]()[_0x5826[2]](_0x5826[1087])};mxSession[_0x5826[202]][_0x5826[1067]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=_0x5826[110],_0x1b20x5=_0x1b20x3?-1:1,_0x1b20x9=_0x1b20x3?_0x1b20x2[_0x5826[67]]-1:0;0<=_0x1b20x9&&_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9+=_0x1b20x5){var _0x1b20xa=this[_0x5826[1059]][_0x5826[514]](_0x1b20x2[_0x1b20x9]),_0x1b20x4=_0x1b20x4+mxUtils[_0x5826[875]](_0x1b20xa,this[_0x5826[1069]])};return _0x1b20x4};mxSession[_0x5826[202]][_0x5826[806]]=function(_0x1b20x2){if(null!=_0x1b20x2&&_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[289]]){var _0x1b20x3=_0x1b20x2[_0x5826[284]](_0x5826[1088]);null!=_0x1b20x3&&(this[_0x5826[251]][_0x5826[1089]]=_0x1b20x3+_0x5826[213]);for(_0x1b20x3=_0x1b20x2[_0x5826[285]];null!=_0x1b20x3;){var _0x1b20x4=_0x1b20x3[_0x5826[301]][_0x5826[216]]();_0x5826[724]==_0x1b20x4?this[_0x5826[1090]](_0x1b20x3):_0x5826[1091]==_0x1b20x4&&this[_0x5826[1092]](_0x1b20x3);_0x1b20x3=_0x1b20x3[_0x5826[287]]};this[_0x5826[746]]( new mxEventObject(mxEvent.RECEIVE,_0x5826[252],_0x1b20x2))}};mxSession[_0x5826[202]][_0x5826[1090]]=function(_0x1b20x2){( new mxCodec(_0x1b20x2[_0x5826[295]]))[_0x5826[1093]](_0x1b20x2[_0x5826[285]],this[_0x5826[251]])};mxSession[_0x5826[202]][_0x5826[1092]]=function(_0x1b20x2){for(_0x1b20x2=_0x1b20x2[_0x5826[285]];null!=_0x1b20x2;){_0x5826[1061]==_0x1b20x2[_0x5826[301]]&&this[_0x5826[1094]](_0x1b20x2),_0x1b20x2=_0x1b20x2[_0x5826[287]]}};mxSession[_0x5826[202]][_0x5826[1094]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1095]](_0x1b20x2);if(0<_0x1b20x2[_0x5826[67]]){var _0x1b20x3=this[_0x5826[1096]](_0x1b20x2);this[_0x5826[251]][_0x5826[746]]( new mxEventObject(mxEvent.CHANGE,_0x5826[1061],_0x1b20x3,_0x5826[1065],_0x1b20x2));this[_0x5826[251]][_0x5826[746]]( new mxEventObject(mxEvent.UNDO,_0x5826[1061],_0x1b20x3));this[_0x5826[746]]( new mxEventObject(mxEvent.FIRED,_0x5826[1061],_0x1b20x3))}};mxSession[_0x5826[202]][_0x5826[1096]]=function(_0x1b20x2){var _0x1b20x3= new mxUndoableEdit(this[_0x5826[251]],this[_0x5826[1071]]);_0x1b20x3[_0x5826[1065]]=_0x1b20x2;_0x1b20x3[_0x5826[827]]=function(){_0x1b20x3[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.CHANGE,_0x5826[1061],_0x1b20x3,_0x5826[1065],_0x1b20x3[_0x5826[1065]]));_0x1b20x3[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.NOTIFY,_0x5826[1061],_0x1b20x3,_0x5826[1065],_0x1b20x3[_0x5826[1065]]))};return _0x1b20x3};mxSession[_0x5826[202]][_0x5826[1095]]=function(_0x1b20x2){this[_0x5826[1059]][_0x5826[395]]=_0x1b20x2[_0x5826[295]];var _0x1b20x3=[];for(_0x1b20x2=_0x1b20x2[_0x5826[285]];null!=_0x1b20x2;){var _0x1b20x4=this[_0x5826[1098]](_0x1b20x2);null!=_0x1b20x4&&_0x1b20x3[_0x5826[207]](_0x1b20x4);_0x1b20x2=_0x1b20x2[_0x5826[287]]};return _0x1b20x3};mxSession[_0x5826[202]][_0x5826[1098]]=function(_0x1b20x2){var _0x1b20x3=null;_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[289]]&&(_0x1b20x3=_0x5826[1099]==_0x1b20x2[_0x5826[301]]?( new mxCodec(_0x1b20x2[_0x5826[295]]))[_0x5826[1093]](_0x1b20x2):this[_0x5826[1059]][_0x5826[1093]](_0x1b20x2),null!=_0x1b20x3&&(_0x1b20x3[_0x5826[251]]=this[_0x5826[251]],_0x1b20x3[_0x5826[350]](),_0x5826[1100]==_0x1b20x2[_0x5826[301]]&&null==_0x1b20x3[_0x5826[1101]]&&this[_0x5826[1102]](_0x1b20x3[_0x5826[247]])));return _0x1b20x3};mxSession[_0x5826[202]][_0x5826[1102]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1059]][_0x5826[1104]](_0x1b20x2[_0x5826[1103]](),_0x1b20x2);for(var _0x1b20x4=this[_0x5826[251]][_0x5826[262]](_0x1b20x2),_0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){this[_0x5826[1102]](this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x5))}};function mxUndoableEdit(_0x1b20x2,_0x1b20x3){this[_0x5826[1097]]=_0x1b20x2;this[_0x5826[1065]]=[];this[_0x5826[1105]]=null!=_0x1b20x3?_0x1b20x3:!0}mxUndoableEdit[_0x5826[202]][_0x5826[1097]]=null;mxUndoableEdit[_0x5826[202]][_0x5826[1065]]=null;mxUndoableEdit[_0x5826[202]][_0x5826[1105]]=null;mxUndoableEdit[_0x5826[202]][_0x5826[1066]]= !1;mxUndoableEdit[_0x5826[202]][_0x5826[1106]]= !1;mxUndoableEdit[_0x5826[202]][_0x5826[1107]]=function(){return 0==this[_0x5826[1065]][_0x5826[67]]};mxUndoableEdit[_0x5826[202]][_0x5826[1108]]=function(){return this[_0x5826[1105]]};mxUndoableEdit[_0x5826[202]][_0x5826[99]]=function(_0x1b20x2){this[_0x5826[1065]][_0x5826[207]](_0x1b20x2)};mxUndoableEdit[_0x5826[202]][_0x5826[827]]=function(){};mxUndoableEdit[_0x5826[202]][_0x5826[1109]]=function(){};mxUndoableEdit[_0x5826[202]][_0x5826[824]]=function(){if(!this[_0x5826[1066]]){this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0x1b20x2=this[_0x5826[1065]][_0x5826[67]]-1;0<=_0x1b20x2;_0x1b20x2--){var _0x1b20x3=this[_0x5826[1065]][_0x1b20x2];null!=_0x1b20x3[_0x5826[350]]?_0x1b20x3[_0x5826[350]]():null!=_0x1b20x3[_0x5826[824]]&&_0x1b20x3[_0x5826[824]]();this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.EXECUTED,_0x5826[826],_0x1b20x3))};this[_0x5826[1066]]= !0;this[_0x5826[1106]]= !1;this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x5826[827]]()};mxUndoableEdit[_0x5826[202]][_0x5826[825]]=function(){if(!this[_0x5826[1106]]){this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0x1b20x2=this[_0x5826[1065]][_0x5826[67]],_0x1b20x3=0;_0x1b20x3<_0x1b20x2;_0x1b20x3++){var _0x1b20x4=this[_0x5826[1065]][_0x1b20x3];null!=_0x1b20x4[_0x5826[350]]?_0x1b20x4[_0x5826[350]]():null!=_0x1b20x4[_0x5826[825]]&&_0x1b20x4[_0x5826[825]]();this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.EXECUTED,_0x5826[826],_0x1b20x4))};this[_0x5826[1066]]= !1;this[_0x5826[1106]]= !0;this[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x5826[827]]()};function mxUndoManager(_0x1b20x2){this[_0x5826[803]]=null!=_0x1b20x2?_0x1b20x2:100;this[_0x5826[200]]()}mxUndoManager[_0x5826[202]]= new mxEventSource;mxUndoManager[_0x5826[202]][_0x5826[196]]=mxUndoManager;mxUndoManager[_0x5826[202]][_0x5826[803]]=null;mxUndoManager[_0x5826[202]][_0x5826[1110]]=null;mxUndoManager[_0x5826[202]][_0x5826[1111]]=0;mxUndoManager[_0x5826[202]][_0x5826[1107]]=function(){return 0==this[_0x5826[1110]][_0x5826[67]]};mxUndoManager[_0x5826[202]][_0x5826[200]]=function(){this[_0x5826[1110]]=[];this[_0x5826[1111]]=0;this[_0x5826[746]]( new mxEventObject(mxEvent.CLEAR))};mxUndoManager[_0x5826[202]][_0x5826[1112]]=function(){return 0<this[_0x5826[1111]]};mxUndoManager[_0x5826[202]][_0x5826[824]]=function(){for(;0<this[_0x5826[1111]];){var _0x1b20x2=this[_0x5826[1110]][--this[_0x5826[1111]]];_0x1b20x2[_0x5826[824]]();if(_0x1b20x2[_0x5826[1108]]()){this[_0x5826[746]]( new mxEventObject(mxEvent.UNDO,_0x5826[1061],_0x1b20x2));break}}};mxUndoManager[_0x5826[202]][_0x5826[1113]]=function(){return this[_0x5826[1111]]<this[_0x5826[1110]][_0x5826[67]]};mxUndoManager[_0x5826[202]][_0x5826[825]]=function(){for(var _0x1b20x2=this[_0x5826[1110]][_0x5826[67]];this[_0x5826[1111]]<_0x1b20x2;){var _0x1b20x3=this[_0x5826[1110]][this[_0x5826[1111]]++];_0x1b20x3[_0x5826[825]]();if(_0x1b20x3[_0x5826[1108]]()){this[_0x5826[746]]( new mxEventObject(mxEvent.REDO,_0x5826[1061],_0x1b20x3));break}}};mxUndoManager[_0x5826[202]][_0x5826[1114]]=function(_0x1b20x2){this[_0x5826[330]]();0<this[_0x5826[803]]&&this[_0x5826[803]]==this[_0x5826[1110]][_0x5826[67]]&&this[_0x5826[1110]][_0x5826[1115]]();this[_0x5826[1110]][_0x5826[207]](_0x1b20x2);this[_0x5826[1111]]=this[_0x5826[1110]][_0x5826[67]];this[_0x5826[746]]( new mxEventObject(mxEvent.ADD,_0x5826[1061],_0x1b20x2))};mxUndoManager[_0x5826[202]][_0x5826[330]]=function(){if(this[_0x5826[1110]][_0x5826[67]]>this[_0x5826[1111]]){for(var _0x1b20x2=this[_0x5826[1110]][_0x5826[300]](this[_0x5826[1111]],this[_0x5826[1110]][_0x5826[67]]-this[_0x5826[1111]]),_0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){_0x1b20x2[_0x1b20x3][_0x5826[1109]]()}}};var mxUrlConverter=function(_0x1b20x2){var _0x1b20x3=!0,_0x1b20x4=null,_0x1b20x5=null;return {isEnabled:function(){return _0x1b20x3},setEnabled:function(_0x1b20x2){_0x1b20x3=_0x1b20x2},getBaseUrl:function(){return _0x1b20x4},setBaseUrl:function(_0x1b20x2){_0x1b20x4=_0x1b20x2},getBaseDomain:function(){return _0x1b20x4},setBaseDomain:function(_0x1b20x2){_0x1b20x4=_0x1b20x2},isRelativeUrl:function(_0x1b20x2){return _0x5826[43]!=_0x1b20x2[_0x5826[85]](0,7)&&_0x5826[46]!=_0x1b20x2[_0x5826[85]](0,8)&&_0x5826[1116]!=_0x1b20x2[_0x5826[85]](0,10)},convert:function(_0x1b20x2){if(_0x1b20x3&&this[_0x5826[1117]](_0x1b20x2)){if(null==_0x1b20x4){_0x1b20x5=location[_0x5826[1118]]+_0x5826[1119]+location[_0x5826[1120]];_0x1b20x4=_0x1b20x5+location[_0x5826[1121]];var _0x1b20xa=_0x1b20x4[_0x5826[1122]](_0x5826[84]);0<_0x1b20xa&&(_0x1b20x4=_0x1b20x4[_0x5826[85]](0,_0x1b20xa+1))};_0x1b20x2=_0x5826[84]==_0x1b20x2[_0x5826[225]](0)?_0x1b20x5+_0x1b20x2:_0x1b20x4+_0x1b20x2};return _0x1b20x2}}};function mxPanningManager(_0x1b20x2){this[_0x5826[1123]]=null;this[_0x5826[1124]]= !1;this[_0x5826[1125]]=this[_0x5826[1126]]=this[_0x5826[1127]]=this[_0x5826[1128]]=this[_0x5826[1129]]=this[_0x5826[1130]]=0;this[_0x5826[1131]]= !1;this[_0x5826[190]]=this[_0x5826[360]]=0;this[_0x5826[1132]]={mouseDown:function(_0x1b20x2,_0x1b20x3){},mouseMove:function(_0x1b20x2,_0x1b20x3){},mouseUp:mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[1124]]&&this[_0x5826[1076]]()})};_0x1b20x2[_0x5826[1133]](this[_0x5826[1132]]);mxEvent[_0x5826[169]](document,_0x5826[753],mxUtils[_0x5826[885]](this,function(){this[_0x5826[1124]]&&this[_0x5826[1076]]()}));var _0x1b20x3=mxUtils[_0x5826[885]](this,function(){this[_0x5826[1131]]=mxUtils[_0x5826[1134]](_0x1b20x2[_0x5826[526]]);this[_0x5826[360]]=_0x1b20x2[_0x5826[526]][_0x5826[360]];this[_0x5826[190]]=_0x1b20x2[_0x5826[526]][_0x5826[190]];return window[_0x5826[1141]](mxUtils[_0x5826[885]](this,function(){this[_0x5826[1130]]-=this[_0x5826[1126]];this[_0x5826[1129]]-=this[_0x5826[1125]];if(this[_0x5826[1131]]){var _0x1b20x3=-_0x1b20x2[_0x5826[526]][_0x5826[360]]-Math[_0x5826[430]](this[_0x5826[1126]]),_0x1b20x5=-_0x1b20x2[_0x5826[526]][_0x5826[190]]-Math[_0x5826[430]](this[_0x5826[1125]]);_0x1b20x2[_0x5826[1135]](_0x1b20x3,_0x1b20x5);_0x1b20x2[_0x5826[1136]]=this[_0x5826[360]]-_0x1b20x2[_0x5826[526]][_0x5826[360]];_0x1b20x2[_0x5826[1137]]=this[_0x5826[190]]-_0x1b20x2[_0x5826[526]][_0x5826[190]];_0x1b20x2[_0x5826[746]]( new mxEventObject(mxEvent.PAN))}else {_0x1b20x2[_0x5826[1135]](this[_0x5826[1138]](),this[_0x5826[1139]]())}}),this[_0x5826[1140]])});this[_0x5826[1142]]=function(){return active};this[_0x5826[1138]]=function(){return Math[_0x5826[488]](this[_0x5826[1130]])};this[_0x5826[1139]]=function(){return Math[_0x5826[488]](this[_0x5826[1129]])};this[_0x5826[861]]=function(){this[_0x5826[1128]]=_0x1b20x2[_0x5826[441]][_0x5826[513]][_0x5826[235]];this[_0x5826[1127]]=_0x1b20x2[_0x5826[441]][_0x5826[513]][_0x5826[236]];this[_0x5826[1124]]= !0};this[_0x5826[1143]]=function(_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1124]]||this[_0x5826[861]]();this[_0x5826[360]]=_0x1b20x2[_0x5826[526]][_0x5826[360]];this[_0x5826[190]]=_0x1b20x2[_0x5826[526]][_0x5826[190]];_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:0;var _0x1b20x12=_0x1b20x2[_0x5826[526]];this[_0x5826[1126]]=_0x1b20x4+(null!=_0x1b20x9?_0x1b20x9:0)-_0x1b20x12[_0x5826[360]]-_0x1b20x12[_0x5826[159]];0>this[_0x5826[1126]]&&Math[_0x5826[425]](this[_0x5826[1126]])<this[_0x5826[467]]?this[_0x5826[1126]]=this[_0x5826[467]]+this[_0x5826[1126]]:this[_0x5826[1126]]=this[_0x5826[1144]]?Math[_0x5826[160]](this[_0x5826[1126]],0):0;0==this[_0x5826[1126]]&&(this[_0x5826[1126]]=_0x1b20x4-_0x1b20x12[_0x5826[360]],this[_0x5826[1126]]=0<this[_0x5826[1126]]&&this[_0x5826[1126]]<this[_0x5826[467]]?this[_0x5826[1126]]-this[_0x5826[467]]:this[_0x5826[1144]]?Math[_0x5826[243]](0,this[_0x5826[1126]]):0);this[_0x5826[1125]]=_0x1b20x5+_0x1b20xa-_0x1b20x12[_0x5826[190]]-_0x1b20x12[_0x5826[157]];0>this[_0x5826[1125]]&&Math[_0x5826[425]](this[_0x5826[1125]])<this[_0x5826[467]]?this[_0x5826[1125]]=this[_0x5826[467]]+this[_0x5826[1125]]:this[_0x5826[1125]]=this[_0x5826[1144]]?Math[_0x5826[160]](this[_0x5826[1125]],0):0;0==this[_0x5826[1125]]&&(this[_0x5826[1125]]=_0x1b20x5-_0x1b20x12[_0x5826[190]],this[_0x5826[1125]]=0<this[_0x5826[1125]]&&this[_0x5826[1125]]<this[_0x5826[467]]?this[_0x5826[1125]]-this[_0x5826[467]]:this[_0x5826[1144]]?Math[_0x5826[243]](0,this[_0x5826[1125]]):0);0!=this[_0x5826[1126]]||0!=this[_0x5826[1125]]?(this[_0x5826[1126]]*=this[_0x5826[1145]],this[_0x5826[1125]]*=this[_0x5826[1145]],null==this[_0x5826[1123]]&&(this[_0x5826[1123]]=_0x1b20x3())):null!=this[_0x5826[1123]]&&(window[_0x5826[1146]](this[_0x5826[1123]]),this[_0x5826[1123]]=null)};this[_0x5826[1076]]=function(){if(this[_0x5826[1124]]){if(this[_0x5826[1124]]= !1,null!=this[_0x5826[1123]]&&(window[_0x5826[1146]](this[_0x5826[1123]]),this[_0x5826[1123]]=null),this[_0x5826[1129]]=this[_0x5826[1130]]=0,this[_0x5826[1131]]){_0x1b20x2[_0x5826[1136]]=0,_0x1b20x2[_0x5826[1137]]=0,_0x1b20x2[_0x5826[746]]( new mxEventObject(mxEvent.PAN))}else {var _0x1b20x3=_0x1b20x2[_0x5826[1136]],_0x1b20x5=_0x1b20x2[_0x5826[1137]];if(0!=_0x1b20x3||0!=_0x1b20x5){_0x1b20x2[_0x5826[1135]](0,0),_0x1b20x2[_0x5826[441]][_0x5826[1147]](this[_0x5826[1128]]+_0x1b20x3/_0x1b20x2[_0x5826[441]][_0x5826[255]],this[_0x5826[1127]]+_0x1b20x5/_0x1b20x2[_0x5826[441]][_0x5826[255]])}}}};this[_0x5826[515]]=function(){_0x1b20x2[_0x5826[1148]](this[_0x5826[1132]])}}mxPanningManager[_0x5826[202]][_0x5826[1145]]=1/6;mxPanningManager[_0x5826[202]][_0x5826[1140]]=10;mxPanningManager[_0x5826[202]][_0x5826[1144]]= !0;mxPanningManager[_0x5826[202]][_0x5826[467]]=0;function mxPopupMenu(_0x1b20x2){this[_0x5826[1033]]=_0x1b20x2;null!=_0x1b20x2&&this[_0x5826[176]]()}mxPopupMenu[_0x5826[202]]= new mxEventSource;mxPopupMenu[_0x5826[202]][_0x5826[196]]=mxPopupMenu;mxPopupMenu[_0x5826[202]][_0x5826[1149]]=mxClient[_0x5826[88]]+_0x5826[1150];mxPopupMenu[_0x5826[202]][_0x5826[931]]=10006;mxPopupMenu[_0x5826[202]][_0x5826[1033]]=null;mxPopupMenu[_0x5826[202]][_0x5826[1151]]= !1;mxPopupMenu[_0x5826[202]][_0x5826[984]]= !0;mxPopupMenu[_0x5826[202]][_0x5826[1152]]=0;mxPopupMenu[_0x5826[202]][_0x5826[1153]]= !1;mxPopupMenu[_0x5826[202]][_0x5826[1154]]= !1;mxPopupMenu[_0x5826[202]][_0x5826[1155]]= !0;mxPopupMenu[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[116]]=document[_0x5826[55]](_0x5826[116]);this[_0x5826[116]][_0x5826[926]]=_0x5826[1156];this[_0x5826[120]]=document[_0x5826[55]](_0x5826[120]);this[_0x5826[116]][_0x5826[62]](this[_0x5826[120]]);this[_0x5826[485]]=document[_0x5826[55]](_0x5826[485]);this[_0x5826[485]][_0x5826[926]]=_0x5826[1156];this[_0x5826[485]][_0x5826[124]][_0x5826[495]]=_0x5826[497];this[_0x5826[485]][_0x5826[124]][_0x5826[931]]=this[_0x5826[931]];this[_0x5826[485]][_0x5826[62]](this[_0x5826[116]]);mxEvent[_0x5826[1157]](this[_0x5826[485]])};mxPopupMenu[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxPopupMenu[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxPopupMenu[_0x5826[202]][_0x5826[737]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[737]]()||this[_0x5826[1151]]&&mxEvent[_0x5826[1158]](_0x1b20x2[_0x5826[727]]())};mxPopupMenu[_0x5826[202]][_0x5826[1025]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x5=_0x1b20x5||this;this[_0x5826[1152]]++;_0x1b20x5[_0x5826[1159]]&&(_0x1b20x5[_0x5826[1160]]&&this[_0x5826[1051]](_0x1b20x5,!0),_0x1b20x5[_0x5826[1159]]= !1);_0x1b20x5[_0x5826[1160]]= !0;var _0x1b20x12=document[_0x5826[55]](_0x5826[121]);_0x1b20x12[_0x5826[926]]=_0x5826[1161];var _0x1b20x13=document[_0x5826[55]](_0x5826[122]);_0x1b20x13[_0x5826[926]]=_0x5826[1162];null!=_0x1b20x3?(_0x1b20x9=document[_0x5826[55]](_0x5826[466]),_0x1b20x9[_0x5826[390]]=_0x1b20x3,_0x1b20x13[_0x5826[62]](_0x1b20x9)):null!=_0x1b20x9&&(_0x1b20x3=document[_0x5826[55]](_0x5826[485]),_0x1b20x3[_0x5826[926]]=_0x1b20x9,_0x1b20x13[_0x5826[62]](_0x1b20x3));_0x1b20x12[_0x5826[62]](_0x1b20x13);this[_0x5826[1155]]&&(_0x1b20x13=document[_0x5826[55]](_0x5826[122]),_0x1b20x13[_0x5826[926]]=_0x5826[1161]+(null!=_0x1b20xa&&!_0x1b20xa?_0x5826[1163]:_0x5826[110]),mxUtils[_0x5826[53]](_0x1b20x13,_0x1b20x2),_0x1b20x13[_0x5826[611]]=_0x5826[361],_0x1b20x12[_0x5826[62]](_0x1b20x13),_0x1b20x2=document[_0x5826[55]](_0x5826[122]),_0x1b20x2[_0x5826[926]]=_0x5826[1161]+(null!=_0x1b20xa&&!_0x1b20xa?_0x5826[1163]:_0x5826[110]),_0x1b20x2[_0x5826[124]][_0x5826[1164]]=_0x5826[1055],_0x1b20x2[_0x5826[124]][_0x5826[1165]]=_0x5826[699],_0x1b20x12[_0x5826[62]](_0x1b20x2),null==_0x1b20x5[_0x5826[485]]&&this[_0x5826[1166]](_0x1b20x5));_0x1b20x5[_0x5826[120]][_0x5826[62]](_0x1b20x12);if(null==_0x1b20xa||_0x1b20xa){mxEvent[_0x5826[759]](_0x1b20x12,mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1167]]=_0x1b20x12;_0x1b20x5[_0x5826[1168]]!=_0x1b20x12&&_0x1b20x5[_0x5826[1168]]!=_0x1b20x5&&(null!=_0x1b20x5[_0x5826[1168]]&&null!=_0x1b20x5[_0x5826[1168]][_0x5826[485]][_0x5826[265]]&&this[_0x5826[1169]](_0x1b20x5),null!=_0x1b20x12[_0x5826[485]]&&(this[_0x5826[1170]](_0x1b20x5,_0x1b20x12),_0x1b20x5[_0x5826[1168]]=_0x1b20x12));mxEvent[_0x5826[722]](_0x1b20x2)}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x5[_0x5826[1168]]!=_0x1b20x12&&_0x1b20x5[_0x5826[1168]]!=_0x1b20x5&&(null!=_0x1b20x5[_0x5826[1168]]&&null!=_0x1b20x5[_0x5826[1168]][_0x5826[485]][_0x5826[265]]&&this[_0x5826[1169]](_0x1b20x5),this[_0x5826[1153]]&&null!=_0x1b20x12[_0x5826[485]]&&(this[_0x5826[1170]](_0x1b20x5,_0x1b20x12),_0x1b20x5[_0x5826[1168]]=_0x1b20x12));_0x1b20x12[_0x5826[926]]=_0x5826[1171]}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1167]]==_0x1b20x12&&(_0x1b20x5[_0x5826[1168]]!=_0x1b20x12&&this[_0x5826[1032]](),null!=_0x1b20x4&&_0x1b20x4(_0x1b20x2));this[_0x5826[1167]]=null;mxEvent[_0x5826[722]](_0x1b20x2)})),mxEvent[_0x5826[169]](_0x1b20x12,_0x5826[1035],mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x12[_0x5826[926]]=_0x5826[1161]}))};return _0x1b20x12};mxPopupMenu[_0x5826[202]][_0x5826[1166]]=function(_0x1b20x2){_0x1b20x2[_0x5826[116]]=document[_0x5826[55]](_0x5826[116]);_0x1b20x2[_0x5826[116]][_0x5826[926]]=_0x5826[1156];_0x1b20x2[_0x5826[120]]=document[_0x5826[55]](_0x5826[120]);_0x1b20x2[_0x5826[116]][_0x5826[62]](_0x1b20x2[_0x5826[120]]);_0x1b20x2[_0x5826[485]]=document[_0x5826[55]](_0x5826[485]);_0x1b20x2[_0x5826[485]][_0x5826[926]]=_0x5826[1156];_0x1b20x2[_0x5826[485]][_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x2[_0x5826[485]][_0x5826[124]][_0x5826[495]]=_0x5826[497];_0x1b20x2[_0x5826[485]][_0x5826[124]][_0x5826[931]]=this[_0x5826[931]];_0x1b20x2[_0x5826[485]][_0x5826[62]](_0x1b20x2[_0x5826[116]]);var _0x1b20x3=document[_0x5826[55]](_0x5826[466]);_0x1b20x3[_0x5826[57]](_0x5826[390],this[_0x5826[1149]]);td=_0x1b20x2[_0x5826[285]][_0x5826[287]][_0x5826[287]];td[_0x5826[62]](_0x1b20x3)};mxPopupMenu[_0x5826[202]][_0x5826[1170]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x3[_0x5826[485]]){_0x1b20x3[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x2[_0x5826[485]][_0x5826[358]]+_0x1b20x3[_0x5826[358]]+_0x1b20x3[_0x5826[359]]-1+_0x5826[168];_0x1b20x3[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x2[_0x5826[485]][_0x5826[362]]+_0x1b20x3[_0x5826[362]]+_0x5826[168];document[_0x5826[112]][_0x5826[62]](_0x1b20x3[_0x5826[485]]);var _0x1b20x4=parseInt(_0x1b20x3[_0x5826[485]][_0x5826[358]]),_0x1b20x5=parseInt(_0x1b20x3[_0x5826[485]][_0x5826[359]]),_0x1b20x9=document[_0x5826[112]],_0x1b20xa=document[_0x5826[158]];if(_0x1b20x4+_0x1b20x5>(_0x1b20x9[_0x5826[360]]||_0x1b20xa[_0x5826[360]])+(_0x1b20x9[_0x5826[159]]||_0x1b20xa[_0x5826[159]])){_0x1b20x3[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x2[_0x5826[485]][_0x5826[358]]-_0x1b20x5+(mxClient[_0x5826[80]]?6:-6)+_0x5826[168]};mxUtils[_0x5826[933]](_0x1b20x3[_0x5826[485]])}};mxPopupMenu[_0x5826[202]][_0x5826[1051]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=_0x1b20x2||this;if(this[_0x5826[1154]]&& !_0x1b20x3){_0x1b20x2[_0x5826[1159]]= !0}else {if(null!=_0x1b20x2[_0x5826[120]]){_0x1b20x2[_0x5826[1159]]= !1;var _0x1b20x4=document[_0x5826[55]](_0x5826[121]),_0x1b20x5=document[_0x5826[55]](_0x5826[122]);_0x1b20x5[_0x5826[926]]=_0x5826[1162];_0x1b20x5[_0x5826[124]][_0x5826[549]]=_0x5826[1172];_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x5=document[_0x5826[55]](_0x5826[122]);_0x1b20x5[_0x5826[124]][_0x5826[549]]=_0x5826[1172];_0x1b20x5[_0x5826[57]](_0x5826[1173],_0x5826[1174]);var _0x1b20x9=document[_0x5826[55]](_0x5826[1054]);_0x1b20x9[_0x5826[57]](_0x5826[803],_0x5826[500]);_0x1b20x5[_0x5826[62]](_0x1b20x9);_0x1b20x4[_0x5826[62]](_0x1b20x5);_0x1b20x2[_0x5826[120]][_0x5826[62]](_0x1b20x4)}}};mxPopupMenu[_0x5826[202]][_0x5826[152]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=this[_0x5826[485]]&&null!=this[_0x5826[120]]&&null!=this[_0x5826[1033]]){this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168];for(this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168];null!=this[_0x5826[120]][_0x5826[285]];){mxEvent[_0x5826[762]](this[_0x5826[120]][_0x5826[285]]),this[_0x5826[120]][_0x5826[266]](this[_0x5826[120]][_0x5826[285]])};this[_0x5826[1152]]=0;this[_0x5826[1033]](this,_0x1b20x4,_0x1b20x5);0<this[_0x5826[1152]]&&(this[_0x5826[1175]](),this[_0x5826[746]]( new mxEventObject(mxEvent.SHOW)))}};mxPopupMenu[_0x5826[202]][_0x5826[1031]]=function(){return null!=this[_0x5826[485]]&&this[_0x5826[485]][_0x5826[265]]==document[_0x5826[112]]};mxPopupMenu[_0x5826[202]][_0x5826[1175]]=function(){9<=document[_0x5826[5]]&&(this[_0x5826[485]][_0x5826[124]][_0x5826[347]]=_0x5826[130]);document[_0x5826[112]][_0x5826[62]](this[_0x5826[485]]);mxUtils[_0x5826[933]](this[_0x5826[485]])};mxPopupMenu[_0x5826[202]][_0x5826[1032]]=function(){null!=this[_0x5826[485]]&&(null!=this[_0x5826[485]][_0x5826[265]]&&this[_0x5826[485]][_0x5826[265]][_0x5826[266]](this[_0x5826[485]]),this[_0x5826[1169]](this),this[_0x5826[1160]]= !1)};mxPopupMenu[_0x5826[202]][_0x5826[1169]]=function(_0x1b20x2){null!=_0x1b20x2[_0x5826[1168]]&&(this[_0x5826[1169]](_0x1b20x2[_0x5826[1168]]),null!=_0x1b20x2[_0x5826[1168]][_0x5826[485]][_0x5826[265]]&&_0x1b20x2[_0x5826[1168]][_0x5826[485]][_0x5826[265]][_0x5826[266]](_0x1b20x2[_0x5826[1168]][_0x5826[485]]),_0x1b20x2[_0x5826[1168]]=null)};mxPopupMenu[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[485]]&&(mxEvent[_0x5826[762]](this[_0x5826[485]]),null!=this[_0x5826[485]][_0x5826[265]]&&this[_0x5826[485]][_0x5826[265]][_0x5826[266]](this[_0x5826[485]]),this[_0x5826[485]]=null)};function mxAutoSaveManager(_0x1b20x2){this[_0x5826[1176]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){this[_0x5826[994]]()&&this[_0x5826[1177]](_0x1b20x4[_0x5826[720]](_0x5826[1061])[_0x5826[1065]])});this[_0x5826[1178]](_0x1b20x2)}mxAutoSaveManager[_0x5826[202]]= new mxEventSource;mxAutoSaveManager[_0x5826[202]][_0x5826[196]]=mxAutoSaveManager;mxAutoSaveManager[_0x5826[202]][_0x5826[1179]]=null;mxAutoSaveManager[_0x5826[202]][_0x5826[1180]]=10;mxAutoSaveManager[_0x5826[202]][_0x5826[1181]]=2;mxAutoSaveManager[_0x5826[202]][_0x5826[1182]]=5;mxAutoSaveManager[_0x5826[202]][_0x5826[1183]]=0;mxAutoSaveManager[_0x5826[202]][_0x5826[1184]]=0;mxAutoSaveManager[_0x5826[202]][_0x5826[984]]= !0;mxAutoSaveManager[_0x5826[202]][_0x5826[1176]]=null;mxAutoSaveManager[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxAutoSaveManager[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxAutoSaveManager[_0x5826[202]][_0x5826[1178]]=function(_0x1b20x2){null!=this[_0x5826[1179]]&&this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[1176]]);this[_0x5826[1179]]=_0x1b20x2;null!=this[_0x5826[1179]]&&this[_0x5826[1179]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[1176]])};mxAutoSaveManager[_0x5826[202]][_0x5826[815]]=function(){};mxAutoSaveManager[_0x5826[202]][_0x5826[1177]]=function(_0x1b20x2){_0x1b20x2=(( new Date)[_0x5826[178]]()-this[_0x5826[1184]])/1E3;_0x1b20x2>this[_0x5826[1180]]||this[_0x5826[1183]]>=this[_0x5826[1182]]&&_0x1b20x2>this[_0x5826[1181]]?(this[_0x5826[815]](),this[_0x5826[862]]()):this[_0x5826[1183]]++};mxAutoSaveManager[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[1184]]=( new Date)[_0x5826[178]]();this[_0x5826[1183]]=0};mxAutoSaveManager[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1178]](null)};function mxAnimation(_0x1b20x2){this[_0x5826[1140]]=null!=_0x1b20x2?_0x1b20x2:20}mxAnimation[_0x5826[202]]= new mxEventSource;mxAnimation[_0x5826[202]][_0x5826[196]]=mxAnimation;mxAnimation[_0x5826[202]][_0x5826[1140]]=null;mxAnimation[_0x5826[202]][_0x5826[1123]]=null;mxAnimation[_0x5826[202]][_0x5826[1185]]=function(){null==this[_0x5826[1123]]&&(this[_0x5826[1123]]=window[_0x5826[1141]](mxUtils[_0x5826[885]](this,this[_0x5826[1186]]),this[_0x5826[1140]]))};mxAnimation[_0x5826[202]][_0x5826[1186]]=function(){this[_0x5826[746]]( new mxEventObject(mxEvent.EXECUTE))};mxAnimation[_0x5826[202]][_0x5826[1187]]=function(){null!=this[_0x5826[1123]]&&(window[_0x5826[1146]](this[_0x5826[1123]]),this[_0x5826[1123]]=null,this[_0x5826[746]]( new mxEventObject(mxEvent.DONE)))};function mxMorphing(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxAnimation[_0x5826[239]](this,_0x1b20x5);this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[1188]]=null!=_0x1b20x3?_0x1b20x3:6;this[_0x5826[1189]]=null!=_0x1b20x4?_0x1b20x4:1.5}mxMorphing[_0x5826[202]]= new mxAnimation;mxMorphing[_0x5826[202]][_0x5826[196]]=mxMorphing;mxMorphing[_0x5826[202]][_0x5826[1179]]=null;mxMorphing[_0x5826[202]][_0x5826[1188]]=null;mxMorphing[_0x5826[202]][_0x5826[1190]]=0;mxMorphing[_0x5826[202]][_0x5826[1189]]=null;mxMorphing[_0x5826[202]][_0x5826[895]]=null;mxMorphing[_0x5826[202]][_0x5826[1186]]=function(){var _0x1b20x2= new mxCellStatePreview(this[_0x5826[1179]]);if(null!=this[_0x5826[895]]){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[895]][_0x5826[67]];_0x1b20x3++){this[_0x5826[1191]](cells[_0x1b20x3],_0x1b20x2,!1)}}else {this[_0x5826[1191]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]](),_0x1b20x2,!0)};this[_0x5826[539]](_0x1b20x2);(_0x1b20x2[_0x5826[1107]]()||this[_0x5826[1190]]++ >=this[_0x5826[1188]])&&this[_0x5826[1187]]()};mxMorphing[_0x5826[202]][_0x5826[539]]=function(_0x1b20x2){_0x1b20x2[_0x5826[539]]()};mxMorphing[_0x5826[202]][_0x5826[1191]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2),_0x1b20x9=null;if(null!=_0x1b20x5&&(_0x1b20x9=this[_0x5826[1192]](_0x1b20x5),this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1193]](_0x1b20x2)&&(0!=_0x1b20x9[_0x5826[235]]||0!=_0x1b20x9[_0x5826[236]]))){var _0x1b20xa=this[_0x5826[1179]][_0x5826[441]][_0x5826[512]](),_0x1b20x12=this[_0x5826[1179]][_0x5826[441]][_0x5826[518]]();_0x1b20x9[_0x5826[235]]+=_0x1b20xa[_0x5826[235]]*_0x1b20x12;_0x1b20x9[_0x5826[236]]+=_0x1b20xa[_0x5826[236]]*_0x1b20x12;_0x1b20x3[_0x5826[1194]](_0x1b20x5,-_0x1b20x9[_0x5826[235]]/this[_0x5826[1189]],-_0x1b20x9[_0x5826[236]]/this[_0x5826[1189]])};if(_0x1b20x4&&!this[_0x5826[1195]](_0x1b20x5,_0x1b20x9)){_0x1b20x5=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[262]](_0x1b20x2);for(_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){this[_0x5826[1191]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x3,_0x1b20x4)}}};mxMorphing[_0x5826[202]][_0x5826[1195]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x3&&(0!=_0x1b20x3[_0x5826[235]]||0!=_0x1b20x3[_0x5826[236]])};mxMorphing[_0x5826[202]][_0x5826[1192]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1196]](_0x1b20x2[_0x5826[246]]),_0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[512]](),_0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[518]]();_0x1b20x2= new mxPoint(_0x1b20x2[_0x5826[235]]/_0x1b20x5-_0x1b20x4[_0x5826[235]],_0x1b20x2[_0x5826[236]]/_0x1b20x5-_0x1b20x4[_0x5826[236]]);return new mxPoint((_0x1b20x3[_0x5826[235]]-_0x1b20x2[_0x5826[235]])*_0x1b20x5,(_0x1b20x3[_0x5826[236]]-_0x1b20x2[_0x5826[236]])*_0x1b20x5)};mxMorphing[_0x5826[202]][_0x5826[1196]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[1196]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](_0x1b20x2)),_0x1b20x2=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x3[_0x5826[235]]+=_0x1b20x2[_0x5826[235]],_0x1b20x3[_0x5826[236]]+=_0x1b20x2[_0x5826[236]]));null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[1179]][_0x5826[441]][_0x5826[512]](),_0x1b20x3= new mxPoint(-_0x1b20x3[_0x5826[235]],-_0x1b20x3[_0x5826[236]]));return _0x1b20x3};function mxImageBundle(_0x1b20x2){this[_0x5826[1199]]=[];this[_0x5826[1200]]=null!=_0x1b20x2?_0x1b20x2:!1}mxImageBundle[_0x5826[202]][_0x5826[1199]]=null;mxImageBundle[_0x5826[202]][_0x5826[1199]]=null;mxImageBundle[_0x5826[202]][_0x5826[1201]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[1199]][_0x1b20x2]={value:_0x1b20x3,fallback:_0x1b20x4}};mxImageBundle[_0x5826[202]][_0x5826[1202]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(_0x1b20x2=this[_0x5826[1199]][_0x1b20x2],null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[1200]]?_0x1b20x2[_0x5826[1203]]:_0x1b20x2[_0x5826[131]]));return _0x1b20x3};function mxImageExport(){}mxImageExport[_0x5826[202]][_0x5826[1204]]= !1;mxImageExport[_0x5826[202]][_0x5826[1205]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&(this[_0x5826[1207]](_0x1b20x2,_0x1b20x3,this[_0x5826[1206]]),this[_0x5826[1204]]&&this[_0x5826[1207]](_0x1b20x2,_0x1b20x3,this[_0x5826[1208]]))};mxImageExport[_0x5826[202]][_0x5826[1207]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2){_0x1b20x4(_0x1b20x2,_0x1b20x3);for(var _0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x9=_0x1b20x5[_0x5826[251]][_0x5826[262]](_0x1b20x2[_0x5826[246]]),_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){var _0x1b20x12=_0x1b20x5[_0x5826[441]][_0x5826[248]](_0x1b20x5[_0x5826[251]][_0x5826[263]](_0x1b20x2[_0x5826[246]],_0x1b20xa));this[_0x5826[1207]](_0x1b20x12,_0x1b20x3,_0x1b20x4)}}};mxImageExport[_0x5826[202]][_0x5826[1206]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[253]] instanceof mxShape&&(_0x1b20x3[_0x5826[815]](),_0x1b20x2[_0x5826[253]][_0x5826[1209]](_0x1b20x3),_0x1b20x3[_0x5826[1210]]());null!=_0x1b20x2[_0x5826[963]]&&(_0x1b20x3[_0x5826[815]](),_0x1b20x2[_0x5826[963]][_0x5826[1209]](_0x1b20x3),_0x1b20x3[_0x5826[1210]]())};mxImageExport[_0x5826[202]][_0x5826[1208]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2[_0x5826[1211]]&&_0x1b20x2[_0x5826[1211]][_0x5826[209]](function(_0x1b20x2,_0x1b20x5){_0x1b20x5 instanceof mxShape&&_0x1b20x5[_0x5826[1209]](_0x1b20x3)})};function mxAbstractCanvas2D(){this[_0x5826[1212]]=this[_0x5826[1213]]();this[_0x5826[862]]()}mxAbstractCanvas2D[_0x5826[202]][_0x5826[724]]=null;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1214]]=null;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1215]]=null;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1216]]= !0;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1217]]=0;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1218]]=0;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1219]]=_0x5826[1220];mxAbstractCanvas2D[_0x5826[202]][_0x5826[1221]]=_0x5826[1222];mxAbstractCanvas2D[_0x5826[202]][_0x5826[1223]]=_0x5826[1224];mxAbstractCanvas2D[_0x5826[202]][_0x5826[1225]]=_0x5826[1226];mxAbstractCanvas2D[_0x5826[202]][_0x5826[1227]]=_0x5826[1228];mxAbstractCanvas2D[_0x5826[202]][_0x5826[1229]]= !1;mxAbstractCanvas2D[_0x5826[202]][_0x5826[1213]]=function(){return new mxUrlConverter};mxAbstractCanvas2D[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[724]]=this[_0x5826[1230]]();this[_0x5826[1214]]=[]};mxAbstractCanvas2D[_0x5826[202]][_0x5826[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:_0x5826[1231],lineCap:_0x5826[1232],lineJoin:_0x5826[1233],miterLimit:10,fontColor:_0x5826[1234],fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants[_0x5826[483]],fontFamily:mxConstants[_0x5826[484]],fontStyle:0,shadow:!1,shadowColor:mxConstants[_0x5826[1235]],shadowAlpha:mxConstants[_0x5826[1236]],shadowDx:mxConstants[_0x5826[1237]],shadowDy:mxConstants[_0x5826[1238]],rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1239]]=function(_0x1b20x2){return Math[_0x5826[488]](parseFloat(_0x1b20x2))};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1240]]=function(){if(null!=this[_0x5826[1215]]&&(this[_0x5826[1215]][_0x5826[207]](arguments[0]),2<arguments[_0x5826[67]])){for(var _0x1b20x2=this[_0x5826[724]],_0x1b20x3=2;_0x1b20x3<arguments[_0x5826[67]];_0x1b20x3+=2){this[_0x5826[1217]]=arguments[_0x1b20x3-1],this[_0x5826[1218]]=arguments[_0x1b20x3],this[_0x5826[1215]][_0x5826[207]](this[_0x5826[1239]]((this[_0x5826[1217]]+_0x1b20x2[_0x5826[1126]])*_0x1b20x2[_0x5826[255]])),this[_0x5826[1215]][_0x5826[207]](this[_0x5826[1239]]((this[_0x5826[1218]]+_0x1b20x2[_0x5826[1125]])*_0x1b20x2[_0x5826[255]]))}}};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1241]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x4*=Math[_0x5826[424]]/180;return mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x2,_0x1b20x3),Math[_0x5826[426]](_0x1b20x4),Math[_0x5826[427]](_0x1b20x4), new mxPoint(_0x1b20x5,_0x1b20x9))};mxAbstractCanvas2D[_0x5826[202]][_0x5826[815]]=function(){this[_0x5826[1214]][_0x5826[207]](this[_0x5826[724]]);this[_0x5826[724]]=mxUtils[_0x5826[238]](this[_0x5826[724]])};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1210]]=function(){this[_0x5826[724]]=this[_0x5826[1214]][_0x5826[1242]]()};mxAbstractCanvas2D[_0x5826[202]][_0x5826[255]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[255]]*=_0x1b20x2;this[_0x5826[724]][_0x5826[610]]*=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[513]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[724]][_0x5826[1126]]+=_0x1b20x2;this[_0x5826[724]][_0x5826[1125]]+=_0x1b20x3};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1243]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[1244]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1245]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[604]]=_0x1b20x2;this[_0x5826[724]][_0x5826[606]]=null};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1246]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){_0x1b20x4=this[_0x5826[724]];_0x1b20x4[_0x5826[604]]=_0x1b20x2;_0x1b20x4[_0x5826[1247]]=null!=_0x1b20x13?_0x1b20x13:1;_0x1b20x4[_0x5826[606]]=_0x1b20x3;_0x1b20x4[_0x5826[1248]]=null!=_0x1b20x14?_0x1b20x14:1;_0x1b20x4[_0x5826[607]]=_0x1b20x12};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1249]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[608]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1250]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[610]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1251]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[648]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1252]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[649]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1253]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[1254]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1255]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[1256]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1257]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[1258]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1259]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[665]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1260]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[1261]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1262]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[1263]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1264]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[487]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1265]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[486]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1266]]=function(_0x1b20x2){null==_0x1b20x2&&(_0x1b20x2=0);this[_0x5826[724]][_0x5826[666]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1267]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[639]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1268]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);this[_0x5826[724]][_0x5826[1269]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1270]]=function(_0x1b20x2){this[_0x5826[724]][_0x5826[1271]]=_0x1b20x2};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1272]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[724]][_0x5826[1273]]=_0x1b20x2;this[_0x5826[724]][_0x5826[1274]]=_0x1b20x3};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1275]]=function(){this[_0x5826[1218]]=this[_0x5826[1217]]=0;this[_0x5826[1215]]=[]};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1276]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1240]](this[_0x5826[1219]],_0x1b20x2,_0x1b20x3)};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1277]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1240]](this[_0x5826[1221]],_0x1b20x2,_0x1b20x3)};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1278]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[1240]](this[_0x5826[1223]],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1279]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1240]](this[_0x5826[1225]],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa)};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1280]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){_0x1b20x2=mxUtils[_0x5826[1281]](this[_0x5826[1217]],this[_0x5826[1218]],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12);for(_0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3+=6){this[_0x5826[1279]](_0x1b20x2[_0x1b20x3],_0x1b20x2[_0x1b20x3+1],_0x1b20x2[_0x1b20x3+2],_0x1b20x2[_0x1b20x3+3],_0x1b20x2[_0x1b20x3+4],_0x1b20x2[_0x1b20x3+5])}};mxAbstractCanvas2D[_0x5826[202]][_0x5826[268]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1240]](this[_0x5826[1227]])};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1282]]=function(){};function mxXmlCanvas2D(_0x1b20x2){mxAbstractCanvas2D[_0x5826[239]](this);this[_0x5826[813]]=_0x1b20x2;this[_0x5826[1283]]()}mxUtils[_0x5826[1284]](mxXmlCanvas2D,mxAbstractCanvas2D);mxXmlCanvas2D[_0x5826[202]][_0x5826[1285]]= !0;mxXmlCanvas2D[_0x5826[202]][_0x5826[1286]]= !0;mxXmlCanvas2D[_0x5826[202]][_0x5826[1283]]=function(){var _0x1b20x2;_0x1b20x2=this[_0x5826[55]](_0x5826[1287]);_0x1b20x2[_0x5826[57]](_0x5826[1288],mxConstants.DEFAULT_FONTFAMILY);this[_0x5826[813]][_0x5826[62]](_0x1b20x2);_0x1b20x2=this[_0x5826[55]](_0x5826[1289]);_0x1b20x2[_0x5826[57]](_0x5826[803],mxConstants.DEFAULT_FONTSIZE);this[_0x5826[813]][_0x5826[62]](_0x1b20x2);_0x1b20x2=this[_0x5826[55]](_0x5826[1290]);_0x1b20x2[_0x5826[57]](_0x5826[352],mxConstants.SHADOWCOLOR);this[_0x5826[813]][_0x5826[62]](_0x1b20x2);_0x1b20x2=this[_0x5826[55]](_0x5826[1291]);_0x1b20x2[_0x5826[57]](_0x5826[1244],mxConstants.SHADOW_OPACITY);this[_0x5826[813]][_0x5826[62]](_0x1b20x2);_0x1b20x2=this[_0x5826[55]](_0x5826[1292]);_0x1b20x2[_0x5826[57]](_0x5826[1126],mxConstants.SHADOW_OFFSET_X);_0x1b20x2[_0x5826[57]](_0x5826[1125],mxConstants.SHADOW_OFFSET_Y);this[_0x5826[813]][_0x5826[62]](_0x1b20x2)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1239]]=function(_0x1b20x2){return parseFloat(parseFloat(_0x1b20x2)[_0x5826[1293]](2))};mxXmlCanvas2D[_0x5826[202]][_0x5826[55]]=function(_0x1b20x2){return this[_0x5826[813]][_0x5826[295]][_0x5826[55]](_0x1b20x2)};mxXmlCanvas2D[_0x5826[202]][_0x5826[815]]=function(){this[_0x5826[1286]]&&mxAbstractCanvas2D[_0x5826[202]][_0x5826[815]][_0x5826[183]](this,arguments);this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[815]))};mxXmlCanvas2D[_0x5826[202]][_0x5826[1210]]=function(){this[_0x5826[1286]]&&mxAbstractCanvas2D[_0x5826[202]][_0x5826[1210]][_0x5826[183]](this,arguments);this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[1210]))};mxXmlCanvas2D[_0x5826[202]][_0x5826[255]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[255]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1243]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[255]);_0x1b20x3[_0x5826[57]](_0x5826[255],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[513]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[55]](_0x5826[513]);_0x1b20x4[_0x5826[57]](_0x5826[1126],this[_0x5826[1239]](_0x1b20x2));_0x1b20x4[_0x5826[57]](_0x5826[1125],this[_0x5826[1239]](_0x1b20x3));this[_0x5826[813]][_0x5826[62]](_0x1b20x4)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1294]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=this[_0x5826[55]](_0x5826[1294]);if(0!=_0x1b20x2||_0x1b20x3||_0x1b20x4){_0x1b20xa[_0x5826[57]](_0x5826[1295],this[_0x5826[1239]](_0x1b20x2)),_0x1b20xa[_0x5826[57]](_0x5826[623],_0x1b20x3?_0x5826[500]:_0x5826[468]),_0x1b20xa[_0x5826[57]](_0x5826[624],_0x1b20x4?_0x5826[500]:_0x5826[468]),_0x1b20xa[_0x5826[57]](_0x5826[1296],this[_0x5826[1239]](_0x1b20x5)),_0x1b20xa[_0x5826[57]](_0x5826[1297],this[_0x5826[1239]](_0x1b20x9)),this[_0x5826[813]][_0x5826[62]](_0x1b20xa)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1243]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1244]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1243]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1244]);_0x1b20x3[_0x5826[57]](_0x5826[1244],this[_0x5826[1239]](_0x1b20x2));this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1245]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[604]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1245]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1298]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1246]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){if(null!=_0x1b20x2&&null!=_0x1b20x3){mxAbstractCanvas2D[_0x5826[202]][_0x5826[1246]][_0x5826[183]](this,arguments);var _0x1b20x15=this[_0x5826[55]](_0x5826[1299]);_0x1b20x15[_0x5826[57]](_0x5826[1300],_0x1b20x2);_0x1b20x15[_0x5826[57]](_0x5826[1301],_0x1b20x3);_0x1b20x15[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x4));_0x1b20x15[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x5));_0x1b20x15[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x9));_0x1b20x15[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20xa));null!=_0x1b20x12&&_0x1b20x15[_0x5826[57]](_0x5826[663],_0x1b20x12);null!=_0x1b20x13&&_0x1b20x15[_0x5826[57]](_0x5826[1304],_0x1b20x13);null!=_0x1b20x14&&_0x1b20x15[_0x5826[57]](_0x5826[1305],_0x1b20x14);this[_0x5826[813]][_0x5826[62]](_0x1b20x15)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1249]]=function(_0x1b20x2){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[608]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1249]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1306]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1250]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[610]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1250]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1307]);_0x1b20x3[_0x5826[57]](_0x5826[117],this[_0x5826[1239]](_0x1b20x2));this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1251]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[648]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1251]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[648]);_0x1b20x3[_0x5826[57]](_0x5826[648],_0x1b20x2?_0x5826[500]:_0x5826[468]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1252]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[649]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1252]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1308]);_0x1b20x3[_0x5826[57]](_0x5826[1309],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1253]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1254]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1253]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1310]);_0x1b20x3[_0x5826[57]](_0x5826[1311],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1255]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1256]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1255]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1312]);_0x1b20x3[_0x5826[57]](_0x5826[234],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1257]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1258]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1257]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1313]);_0x1b20x3[_0x5826[57]](_0x5826[1314],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1259]]=function(_0x1b20x2){if(this[_0x5826[1285]]){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[665]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1259]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1315]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1260]]=function(_0x1b20x2){if(this[_0x5826[1285]]){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1261]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1260]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1316]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1262]]=function(_0x1b20x2){if(this[_0x5826[1285]]){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1263]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1262]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1317]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1264]]=function(_0x1b20x2){if(this[_0x5826[1285]]){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[487]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1264]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1289]);_0x1b20x3[_0x5826[57]](_0x5826[803],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1265]]=function(_0x1b20x2){if(this[_0x5826[1285]]){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[486]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1265]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1287]);_0x1b20x3[_0x5826[57]](_0x5826[1288],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1266]]=function(_0x1b20x2){if(this[_0x5826[1285]]){null==_0x1b20x2&&(_0x1b20x2=0);if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[666]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1266]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1318]);_0x1b20x3[_0x5826[57]](_0x5826[124],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1267]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[639]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1267]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[639]);_0x1b20x3[_0x5826[57]](_0x5826[984],_0x1b20x2?_0x5826[500]:_0x5826[468]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1268]]=function(_0x1b20x2){if(this[_0x5826[1286]]){_0x1b20x2==mxConstants[_0x5826[217]]&&(_0x1b20x2=null);if(this[_0x5826[724]][_0x5826[1269]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1268]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1290]);_0x1b20x3[_0x5826[57]](_0x5826[352],null!=_0x1b20x2?_0x1b20x2:mxConstants[_0x5826[217]]);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1270]]=function(_0x1b20x2){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1271]]==_0x1b20x2){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1270]][_0x5826[183]](this,arguments)};var _0x1b20x3=this[_0x5826[55]](_0x5826[1291]);_0x1b20x3[_0x5826[57]](_0x5826[1244],_0x1b20x2);this[_0x5826[813]][_0x5826[62]](_0x1b20x3)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1272]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1286]]){if(this[_0x5826[724]][_0x5826[1273]]==_0x1b20x2&&this[_0x5826[724]][_0x5826[1274]]==_0x1b20x3){return};mxAbstractCanvas2D[_0x5826[202]][_0x5826[1272]][_0x5826[183]](this,arguments)};var _0x1b20x4=this[_0x5826[55]](_0x5826[1292]);_0x1b20x4[_0x5826[57]](_0x5826[1126],_0x1b20x2);_0x1b20x4[_0x5826[57]](_0x5826[1125],_0x1b20x3);this[_0x5826[813]][_0x5826[62]](_0x1b20x4)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1319]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[55]](_0x5826[1319]);_0x1b20x9[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x9[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));_0x1b20x9[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x4));_0x1b20x9[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20x5));this[_0x5826[813]][_0x5826[62]](_0x1b20x9)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1320]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=this[_0x5826[55]](_0x5826[1320]);_0x1b20x12[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x12[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));_0x1b20x12[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x4));_0x1b20x12[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20x5));_0x1b20x12[_0x5826[57]](_0x5826[1126],this[_0x5826[1239]](_0x1b20x9));_0x1b20x12[_0x5826[57]](_0x5826[1125],this[_0x5826[1239]](_0x1b20xa));this[_0x5826[813]][_0x5826[62]](_0x1b20x12)};mxXmlCanvas2D[_0x5826[202]][_0x5826[680]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[55]](_0x5826[680]);_0x1b20x9[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x9[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));_0x1b20x9[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x4));_0x1b20x9[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20x5));this[_0x5826[813]][_0x5826[62]](_0x1b20x9)};mxXmlCanvas2D[_0x5826[202]][_0x5826[618]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){_0x1b20x9=this[_0x5826[1212]][_0x5826[1321]](_0x1b20x9);var _0x1b20x14=this[_0x5826[55]](_0x5826[618]);_0x1b20x14[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x14[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));_0x1b20x14[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x4));_0x1b20x14[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20x5));_0x1b20x14[_0x5826[57]](_0x5826[390],_0x1b20x9);_0x1b20x14[_0x5826[57]](_0x5826[1322],_0x1b20xa?_0x5826[500]:_0x5826[468]);_0x1b20x14[_0x5826[57]](_0x5826[623],_0x1b20x12?_0x5826[500]:_0x5826[468]);_0x1b20x14[_0x5826[57]](_0x5826[624],_0x1b20x13?_0x5826[500]:_0x5826[468]);this[_0x5826[813]][_0x5826[62]](_0x1b20x14)};mxXmlCanvas2D[_0x5826[202]][_0x5826[1275]]=function(){this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[1275]));this[_0x5826[1218]]=this[_0x5826[1217]]=0};mxXmlCanvas2D[_0x5826[202]][_0x5826[1276]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[55]](_0x5826[582]);_0x1b20x4[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x4[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));this[_0x5826[813]][_0x5826[62]](_0x1b20x4);this[_0x5826[1217]]=_0x1b20x2;this[_0x5826[1218]]=_0x1b20x3};mxXmlCanvas2D[_0x5826[202]][_0x5826[1277]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[55]](_0x5826[683]);_0x1b20x4[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x4[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));this[_0x5826[813]][_0x5826[62]](_0x1b20x4);this[_0x5826[1217]]=_0x1b20x2;this[_0x5826[1218]]=_0x1b20x3};mxXmlCanvas2D[_0x5826[202]][_0x5826[1278]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[55]](_0x5826[1323]);_0x1b20x9[_0x5826[57]](_0x5826[1324],this[_0x5826[1239]](_0x1b20x2));_0x1b20x9[_0x5826[57]](_0x5826[1325],this[_0x5826[1239]](_0x1b20x3));_0x1b20x9[_0x5826[57]](_0x5826[1326],this[_0x5826[1239]](_0x1b20x4));_0x1b20x9[_0x5826[57]](_0x5826[1327],this[_0x5826[1239]](_0x1b20x5));this[_0x5826[813]][_0x5826[62]](_0x1b20x9);this[_0x5826[1217]]=_0x1b20x4;this[_0x5826[1218]]=_0x1b20x5};mxXmlCanvas2D[_0x5826[202]][_0x5826[1279]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=this[_0x5826[55]](_0x5826[1328]);_0x1b20x12[_0x5826[57]](_0x5826[1324],this[_0x5826[1239]](_0x1b20x2));_0x1b20x12[_0x5826[57]](_0x5826[1325],this[_0x5826[1239]](_0x1b20x3));_0x1b20x12[_0x5826[57]](_0x5826[1326],this[_0x5826[1239]](_0x1b20x4));_0x1b20x12[_0x5826[57]](_0x5826[1327],this[_0x5826[1239]](_0x1b20x5));_0x1b20x12[_0x5826[57]](_0x5826[1329],this[_0x5826[1239]](_0x1b20x9));_0x1b20x12[_0x5826[57]](_0x5826[1330],this[_0x5826[1239]](_0x1b20xa));this[_0x5826[813]][_0x5826[62]](_0x1b20x12);this[_0x5826[1217]]=_0x1b20x9;this[_0x5826[1218]]=_0x1b20xa};mxXmlCanvas2D[_0x5826[202]][_0x5826[268]]=function(){this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[268]))};mxXmlCanvas2D[_0x5826[202]][_0x5826[963]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){if(this[_0x5826[1285]]&&null!=_0x1b20x9){mxUtils[_0x5826[1331]](_0x1b20x9)&&(_0x1b20x9=mxUtils[_0x5826[532]](_0x1b20x9));var _0x1b20x18=this[_0x5826[55]](_0x5826[963]);_0x1b20x18[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2));_0x1b20x18[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3));_0x1b20x18[_0x5826[57]](_0x5826[1302],this[_0x5826[1239]](_0x1b20x4));_0x1b20x18[_0x5826[57]](_0x5826[1303],this[_0x5826[1239]](_0x1b20x5));_0x1b20x18[_0x5826[57]](_0x5826[1332],_0x1b20x9);null!=_0x1b20xa&&_0x1b20x18[_0x5826[57]](_0x5826[611],_0x1b20xa);null!=_0x1b20x12&&_0x1b20x18[_0x5826[57]](_0x5826[552],_0x1b20x12);_0x1b20x18[_0x5826[57]](_0x5826[1333],_0x1b20x13?_0x5826[500]:_0x5826[468]);null==_0x1b20x14&&(_0x1b20x14=_0x5826[110]);_0x1b20x18[_0x5826[57]](_0x5826[1239],_0x1b20x14);null!=_0x1b20x15&&_0x1b20x18[_0x5826[57]](_0x5826[1334],_0x1b20x15?_0x5826[500]:_0x5826[468]);null!=_0x1b20x16&&_0x1b20x18[_0x5826[57]](_0x5826[1335],_0x1b20x16?_0x5826[500]:_0x5826[468]);null!=_0x1b20x17&&_0x1b20x18[_0x5826[57]](_0x5826[603],_0x1b20x17);this[_0x5826[813]][_0x5826[62]](_0x1b20x18)}};mxXmlCanvas2D[_0x5826[202]][_0x5826[1336]]=function(){this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[1336]))};mxXmlCanvas2D[_0x5826[202]][_0x5826[1334]]=function(){this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[1334]))};mxXmlCanvas2D[_0x5826[202]][_0x5826[1337]]=function(){this[_0x5826[813]][_0x5826[62]](this[_0x5826[55]](_0x5826[1338]))};function mxSvgCanvas2D(_0x1b20x2,_0x1b20x3){mxAbstractCanvas2D[_0x5826[239]](this);this[_0x5826[813]]=_0x1b20x2;this[_0x5826[1339]]=[];this[_0x5826[1340]]=null;this[_0x5826[1341]]=null!=_0x1b20x3?_0x1b20x3:!1;var _0x1b20x4=null;if(_0x1b20x2[_0x5826[295]]!=document){for(_0x1b20x4=_0x1b20x2;null!=_0x1b20x4&&_0x5826[571]!=_0x1b20x4[_0x5826[301]];){_0x1b20x4=_0x1b20x4[_0x5826[265]]}};null!=_0x1b20x4&&(0<_0x1b20x4[_0x5826[64]](_0x5826[1340])[_0x5826[67]]&&(this[_0x5826[1340]]=_0x1b20x4[_0x5826[64]](_0x5826[1340])[0]),null==this[_0x5826[1340]]&&(this[_0x5826[1340]]=this[_0x5826[55]](_0x5826[1340]),null!=_0x1b20x4[_0x5826[285]]?_0x1b20x4[_0x5826[950]](this[_0x5826[1340]],_0x1b20x4[_0x5826[285]]):_0x1b20x4[_0x5826[62]](this[_0x5826[1340]])),this[_0x5826[1341]]&&this[_0x5826[1340]][_0x5826[62]](this[_0x5826[1342]]()))}mxUtils[_0x5826[1284]](mxSvgCanvas2D,mxAbstractCanvas2D);mxSvgCanvas2D[_0x5826[202]][_0x5826[252]]=null;mxSvgCanvas2D[_0x5826[202]][_0x5826[1343]]= !0;mxSvgCanvas2D[_0x5826[202]][_0x5826[1285]]= !0;mxSvgCanvas2D[_0x5826[202]][_0x5826[1344]]= !0;mxSvgCanvas2D[_0x5826[202]][_0x5826[1345]]=0;mxSvgCanvas2D[_0x5826[202]][_0x5826[1346]]=0;mxSvgCanvas2D[_0x5826[202]][_0x5826[1347]]= !1;mxSvgCanvas2D[_0x5826[202]][_0x5826[862]]=function(){mxAbstractCanvas2D[_0x5826[202]][_0x5826[862]][_0x5826[183]](this,arguments);this[_0x5826[1339]]=[]};mxSvgCanvas2D[_0x5826[202]][_0x5826[1342]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[55]](_0x5826[124]);_0x1b20x2[_0x5826[57]](_0x5826[60],_0x5826[61]);mxUtils[_0x5826[53]](_0x1b20x2,_0x5826[1348]+mxConstants[_0x5826[484]]+_0x5826[1349]+mxConstants[_0x5826[483]]+_0x5826[1350]);return _0x1b20x2};mxSvgCanvas2D[_0x5826[202]][_0x5826[55]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[813]][_0x5826[295]][_0x5826[509]]){return this[_0x5826[813]][_0x5826[295]][_0x5826[509]](_0x1b20x3||mxConstants[_0x5826[1351]],_0x1b20x2)};var _0x1b20x4=this[_0x5826[813]][_0x5826[295]][_0x5826[55]](_0x1b20x2);null!=_0x1b20x3&&_0x1b20x4[_0x5826[57]](_0x5826[1352],_0x1b20x3);return _0x1b20x4};mxSvgCanvas2D[_0x5826[202]][_0x5826[1353]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x5826[198]==_0x1b20x2[_0x5826[225]](0)&&(_0x1b20x2=_0x1b20x2[_0x5826[85]](1));_0x5826[198]==_0x1b20x3[_0x5826[225]](0)&&(_0x1b20x3=_0x1b20x3[_0x5826[85]](1));_0x1b20x2=_0x1b20x2[_0x5826[216]]()+_0x5826[213]+_0x1b20x4;_0x1b20x3=_0x1b20x3[_0x5826[216]]()+_0x5826[213]+_0x1b20x5;_0x1b20x4=null;null==_0x1b20x9||_0x1b20x9==mxConstants[_0x5826[1354]]?_0x1b20x4=_0x5826[1355]:_0x1b20x9==mxConstants[_0x5826[1356]]?_0x1b20x4=_0x5826[1357]:(_0x1b20x5=_0x1b20x2,_0x1b20x2=_0x1b20x3,_0x1b20x3=_0x1b20x5,_0x1b20x9==mxConstants[_0x5826[1358]]?_0x1b20x4=_0x5826[1355]:_0x1b20x9==mxConstants[_0x5826[1359]]&&(_0x1b20x4=_0x5826[1357]));return _0x5826[1360]+_0x1b20x2+_0x5826[213]+_0x1b20x3+_0x5826[213]+_0x1b20x4};mxSvgCanvas2D[_0x5826[202]][_0x5826[1361]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=this[_0x5826[1353]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x12=this[_0x5826[1339]][_0x1b20xa];if(null==_0x1b20x12){var _0x1b20x13=this[_0x5826[813]][_0x5826[538]],_0x1b20x14=0,_0x1b20x15=_0x1b20xa+_0x5826[213]+_0x1b20x14;if(null!=_0x1b20x13){for(_0x1b20x12=_0x1b20x13[_0x5826[295]][_0x5826[1362]](_0x1b20x15);null!=_0x1b20x12&&_0x1b20x12[_0x5826[538]]!=_0x1b20x13;){_0x1b20x15=_0x1b20xa+_0x5826[213]+_0x1b20x14++,_0x1b20x12=_0x1b20x13[_0x5826[295]][_0x5826[1362]](_0x1b20x15)}}else {_0x1b20x15=_0x5826[1363]+++this[_0x5826[1346]]};null==_0x1b20x12&&(_0x1b20x12=this[_0x5826[1364]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x12[_0x5826[57]](_0x5826[1363],_0x1b20x15),null!=this[_0x5826[1340]]?this[_0x5826[1340]][_0x5826[62]](_0x1b20x12):_0x1b20x13[_0x5826[62]](_0x1b20x12));this[_0x5826[1339]][_0x1b20xa]=_0x1b20x12};return _0x1b20x12[_0x5826[284]](_0x5826[1363])};mxSvgCanvas2D[_0x5826[202]][_0x5826[1364]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=this[_0x5826[55]](_0x5826[1365]);_0x1b20xa[_0x5826[57]](_0x5826[1324],_0x5826[1366]);_0x1b20xa[_0x5826[57]](_0x5826[1325],_0x5826[1366]);_0x1b20xa[_0x5826[57]](_0x5826[1326],_0x5826[1366]);_0x1b20xa[_0x5826[57]](_0x5826[1327],_0x5826[1366]);null==_0x1b20x9||_0x1b20x9==mxConstants[_0x5826[1354]]?_0x1b20xa[_0x5826[57]](_0x5826[1327],_0x5826[118]):_0x1b20x9==mxConstants[_0x5826[1356]]?_0x1b20xa[_0x5826[57]](_0x5826[1326],_0x5826[118]):_0x1b20x9==mxConstants[_0x5826[1358]]?_0x1b20xa[_0x5826[57]](_0x5826[1325],_0x5826[118]):_0x1b20x9==mxConstants[_0x5826[1359]]&&_0x1b20xa[_0x5826[57]](_0x5826[1324],_0x5826[118]);_0x1b20x4=1>_0x1b20x4?_0x5826[1367]+_0x1b20x4:_0x5826[110];_0x1b20x9=this[_0x5826[55]](_0x5826[1076]);_0x1b20x9[_0x5826[57]](_0x5826[1368],_0x5826[1366]);_0x1b20x9[_0x5826[57]](_0x5826[124],_0x5826[1369]+_0x1b20x2+_0x1b20x4);_0x1b20xa[_0x5826[62]](_0x1b20x9);_0x1b20x4=1>_0x1b20x5?_0x5826[1367]+_0x1b20x5:_0x5826[110];_0x1b20x9=this[_0x5826[55]](_0x5826[1076]);_0x1b20x9[_0x5826[57]](_0x5826[1368],_0x5826[118]);_0x1b20x9[_0x5826[57]](_0x5826[124],_0x5826[1369]+_0x1b20x3+_0x1b20x4);_0x1b20xa[_0x5826[62]](_0x1b20x9);return _0x1b20xa};mxSvgCanvas2D[_0x5826[202]][_0x5826[1370]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[252]],_0x1b20x5=this[_0x5826[724]];if(null!=_0x1b20x4){if(_0x5826[1215]==_0x1b20x4[_0x5826[301]]){if(null!=this[_0x5826[1215]]&&0<this[_0x5826[1215]][_0x5826[67]]){_0x1b20x4[_0x5826[57]](_0x5826[1371],this[_0x5826[1215]][_0x5826[234]](_0x5826[185]))}else {return}};_0x1b20x2&&null!=_0x1b20x5[_0x5826[604]]?this[_0x5826[1372]]():this[_0x5826[1341]]||(_0x5826[680]==_0x1b20x4[_0x5826[301]]&&mxClient[_0x5826[133]]&&!mxClient[_0x5826[76]]&&!mxClient[_0x5826[75]]?_0x1b20x4[_0x5826[57]](_0x5826[1334],_0x5826[1373]):_0x1b20x4[_0x5826[57]](_0x5826[1334],_0x5826[130]),_0x1b20x2= !1);_0x1b20x3&&null!=_0x1b20x5[_0x5826[608]]?this[_0x5826[1374]]():this[_0x5826[1341]]||_0x1b20x4[_0x5826[57]](_0x5826[1336],_0x5826[130]);null!=_0x1b20x5[_0x5826[535]]&&0<_0x1b20x5[_0x5826[535]][_0x5826[67]]&&_0x1b20x4[_0x5826[57]](_0x5826[535],_0x1b20x5[_0x5826[535]]);_0x1b20x5[_0x5826[639]]&&this[_0x5826[813]][_0x5826[62]](this[_0x5826[1375]](_0x1b20x4));0<this[_0x5826[1345]]&&!_0x1b20x2&&this[_0x5826[813]][_0x5826[62]](this[_0x5826[1376]](_0x1b20x4));this[_0x5826[1229]]&&(_0x5826[1215]!=_0x1b20x4[_0x5826[301]]||this[_0x5826[1215]][this[_0x5826[1215]][_0x5826[67]]-1]==this[_0x5826[1227]])&&_0x1b20x4[_0x5826[57]](_0x5826[1377],_0x5826[1378]);this[_0x5826[813]][_0x5826[62]](_0x1b20x4)}};mxSvgCanvas2D[_0x5826[202]][_0x5826[1372]]=function(){var _0x1b20x2=this[_0x5826[724]];1>_0x1b20x2[_0x5826[1244]]&&this[_0x5826[252]][_0x5826[57]](_0x5826[1379],_0x1b20x2[_0x5826[1244]]);null!=_0x1b20x2[_0x5826[604]]&&(null!=_0x1b20x2[_0x5826[606]]?(_0x1b20x2=this[_0x5826[1361]](_0x1b20x2[_0x5826[604]],_0x1b20x2[_0x5826[606]],_0x1b20x2[_0x5826[1247]],_0x1b20x2[_0x5826[1248]],_0x1b20x2[_0x5826[607]]),this[_0x5826[252]][_0x5826[57]](_0x5826[1334],_0x5826[1380]+_0x1b20x2+_0x5826[460])):this[_0x5826[252]][_0x5826[57]](_0x5826[1334],_0x1b20x2[_0x5826[604]][_0x5826[216]]()))};mxSvgCanvas2D[_0x5826[202]][_0x5826[1374]]=function(){var _0x1b20x2=this[_0x5826[724]];this[_0x5826[252]][_0x5826[57]](_0x5826[1336],_0x1b20x2[_0x5826[608]][_0x5826[216]]());1>_0x1b20x2[_0x5826[1244]]&&this[_0x5826[252]][_0x5826[57]](_0x5826[1381],_0x1b20x2[_0x5826[1244]]);var _0x1b20x3=Math[_0x5826[160]](1,this[_0x5826[1239]](_0x1b20x2[_0x5826[610]]*_0x1b20x2[_0x5826[255]]));1!=_0x1b20x3&&this[_0x5826[252]][_0x5826[57]](_0x5826[1382],_0x1b20x3);_0x5826[1215]==this[_0x5826[252]][_0x5826[301]]&&this[_0x5826[1383]]();_0x1b20x2[_0x5826[648]]&&this[_0x5826[252]][_0x5826[57]](_0x5826[1384],this[_0x5826[1385]](_0x1b20x3))};mxSvgCanvas2D[_0x5826[202]][_0x5826[1383]]=function(){var _0x1b20x2=this[_0x5826[724]];null!=_0x1b20x2[_0x5826[1256]]&&_0x5826[1233]!=_0x1b20x2[_0x5826[1256]]&&this[_0x5826[252]][_0x5826[57]](_0x5826[1386],_0x1b20x2[_0x5826[1256]]);if(null!=_0x1b20x2[_0x5826[1254]]){var _0x1b20x3=_0x1b20x2[_0x5826[1254]];_0x5826[1232]==_0x1b20x3&&(_0x1b20x3=_0x5826[1387]);_0x5826[1387]!=_0x1b20x3&&this[_0x5826[252]][_0x5826[57]](_0x5826[1388],_0x1b20x3)};null!=_0x1b20x2[_0x5826[1258]]&&(!this[_0x5826[1341]]||10!=_0x1b20x2[_0x5826[1258]])&&this[_0x5826[252]][_0x5826[57]](_0x5826[1389],_0x1b20x2[_0x5826[1258]])};mxSvgCanvas2D[_0x5826[202]][_0x5826[1385]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[724]][_0x5826[649]][_0x5826[224]](_0x5826[185]),_0x1b20x4=[];if(0<_0x1b20x3[_0x5826[67]]){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){_0x1b20x4[_0x1b20x5]=Number(_0x1b20x3[_0x1b20x5])*_0x1b20x2}};return _0x1b20x4[_0x5826[234]](_0x5826[185])};mxSvgCanvas2D[_0x5826[202]][_0x5826[1376]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[511]](!0);var _0x1b20x3=parseFloat(_0x1b20x2[_0x5826[284]](_0x5826[1382])||1)+this[_0x5826[1345]];_0x1b20x2[_0x5826[57]](_0x5826[1377],_0x5826[1336]);_0x1b20x2[_0x5826[57]](_0x5826[187],_0x5826[188]);_0x1b20x2[_0x5826[1390]](_0x5826[1384]);_0x1b20x2[_0x5826[57]](_0x5826[1382],_0x1b20x3);_0x1b20x2[_0x5826[57]](_0x5826[1334],_0x5826[130]);_0x1b20x2[_0x5826[57]](_0x5826[1336],mxClient[_0x5826[71]]?_0x5826[130]:_0x5826[1391]);return _0x1b20x2};mxSvgCanvas2D[_0x5826[202]][_0x5826[1375]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[511]](!0);var _0x1b20x3=this[_0x5826[724]];_0x5826[130]!=_0x1b20x2[_0x5826[284]](_0x5826[1334])&&_0x1b20x2[_0x5826[57]](_0x5826[1334],_0x1b20x3[_0x5826[1269]]);_0x5826[130]!=_0x1b20x2[_0x5826[284]](_0x5826[1336])&&_0x1b20x2[_0x5826[57]](_0x5826[1336],_0x1b20x3[_0x5826[1269]]);_0x1b20x2[_0x5826[57]](_0x5826[535],_0x5826[536]+this[_0x5826[1239]](_0x1b20x3[_0x5826[1273]]*_0x1b20x3[_0x5826[255]])+_0x5826[537]+this[_0x5826[1239]](_0x1b20x3[_0x5826[1274]]*_0x1b20x3[_0x5826[255]])+_0x5826[460]+(_0x1b20x3[_0x5826[535]]||_0x5826[110]));_0x1b20x2[_0x5826[57]](_0x5826[461],_0x1b20x3[_0x5826[1271]]);return _0x1b20x2};mxSvgCanvas2D[_0x5826[202]][_0x5826[1294]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(0!=_0x1b20x2||_0x1b20x3||_0x1b20x4){var _0x1b20xa=this[_0x5826[724]];_0x1b20x5+=_0x1b20xa[_0x5826[1126]];_0x1b20x9+=_0x1b20xa[_0x5826[1125]];_0x1b20x5*=_0x1b20xa[_0x5826[255]];_0x1b20x9*=_0x1b20xa[_0x5826[255]];_0x1b20xa[_0x5826[535]]=_0x1b20xa[_0x5826[535]]||_0x5826[110];if(_0x1b20x3&&_0x1b20x4){_0x1b20x2+=180}else {if(_0x1b20x3^_0x1b20x4){var _0x1b20x12=_0x1b20x3?_0x1b20x5:0,_0x1b20x13=_0x1b20x3?-1:1,_0x1b20x14=_0x1b20x4?_0x1b20x9:0,_0x1b20x15=_0x1b20x4?-1:1;_0x1b20xa[_0x5826[535]]+=_0x5826[536]+this[_0x5826[1239]](_0x1b20x12)+_0x5826[537]+this[_0x5826[1239]](_0x1b20x14)+_0x5826[1392]+this[_0x5826[1239]](_0x1b20x13)+_0x5826[537]+this[_0x5826[1239]](_0x1b20x15)+_0x5826[1393]+this[_0x5826[1239]](-_0x1b20x12)+_0x5826[537]+this[_0x5826[1239]](-_0x1b20x14)+_0x5826[460]}};if(_0x1b20x3?!_0x1b20x4:_0x1b20x4){_0x1b20x2*= -1};0!=_0x1b20x2&&(_0x1b20xa[_0x5826[535]]+=_0x5826[1394]+this[_0x5826[1239]](_0x1b20x2)+_0x5826[537]+this[_0x5826[1239]](_0x1b20x5)+_0x5826[537]+this[_0x5826[1239]](_0x1b20x9)+_0x5826[460]);_0x1b20xa[_0x5826[603]]+=_0x1b20x2;_0x1b20xa[_0x5826[1395]]=_0x1b20x5;_0x1b20xa[_0x5826[1396]]=_0x1b20x9}};mxSvgCanvas2D[_0x5826[202]][_0x5826[1275]]=function(){mxAbstractCanvas2D[_0x5826[202]][_0x5826[1275]][_0x5826[183]](this,arguments);this[_0x5826[252]]=this[_0x5826[55]](_0x5826[1215])};mxSvgCanvas2D[_0x5826[202]][_0x5826[1319]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[724]],_0x1b20xa=this[_0x5826[55]](_0x5826[1319]);_0x1b20xa[_0x5826[57]](_0x5826[235],this[_0x5826[1239]]((_0x1b20x2+_0x1b20x9[_0x5826[1126]])*_0x1b20x9[_0x5826[255]]));_0x1b20xa[_0x5826[57]](_0x5826[236],this[_0x5826[1239]]((_0x1b20x3+_0x1b20x9[_0x5826[1125]])*_0x1b20x9[_0x5826[255]]));_0x1b20xa[_0x5826[57]](_0x5826[117],this[_0x5826[1239]](_0x1b20x4*_0x1b20x9[_0x5826[255]]));_0x1b20xa[_0x5826[57]](_0x5826[119],this[_0x5826[1239]](_0x1b20x5*_0x1b20x9[_0x5826[255]]));this[_0x5826[252]]=_0x1b20xa};mxSvgCanvas2D[_0x5826[202]][_0x5826[1320]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1319]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);0<_0x1b20x9&&this[_0x5826[252]][_0x5826[57]](_0x5826[1397],this[_0x5826[1239]](_0x1b20x9*this[_0x5826[724]][_0x5826[255]]));0<_0x1b20xa&&this[_0x5826[252]][_0x5826[57]](_0x5826[1398],this[_0x5826[1239]](_0x1b20xa*this[_0x5826[724]][_0x5826[255]]))};mxSvgCanvas2D[_0x5826[202]][_0x5826[680]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[724]],_0x1b20xa=this[_0x5826[55]](_0x5826[680]);_0x1b20xa[_0x5826[57]](_0x5826[1296],Math[_0x5826[488]]((_0x1b20x2+_0x1b20x4/2+_0x1b20x9[_0x5826[1126]])*_0x1b20x9[_0x5826[255]]));_0x1b20xa[_0x5826[57]](_0x5826[1297],Math[_0x5826[488]]((_0x1b20x3+_0x1b20x5/2+_0x1b20x9[_0x5826[1125]])*_0x1b20x9[_0x5826[255]]));_0x1b20xa[_0x5826[57]](_0x5826[1397],_0x1b20x4/2*_0x1b20x9[_0x5826[255]]);_0x1b20xa[_0x5826[57]](_0x5826[1398],_0x1b20x5/2*_0x1b20x9[_0x5826[255]]);this[_0x5826[252]]=_0x1b20xa};mxSvgCanvas2D[_0x5826[202]][_0x5826[618]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){_0x1b20x9=this[_0x5826[1212]][_0x5826[1321]](_0x1b20x9);_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:!0;_0x1b20x12=null!=_0x1b20x12?_0x1b20x12:!1;_0x1b20x13=null!=_0x1b20x13?_0x1b20x13:!1;var _0x1b20x14=this[_0x5826[724]];_0x1b20x2+=_0x1b20x14[_0x5826[1126]];_0x1b20x3+=_0x1b20x14[_0x5826[1125]];var _0x1b20x15=this[_0x5826[55]](_0x5826[618]);_0x1b20x15[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2*_0x1b20x14[_0x5826[255]]));_0x1b20x15[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3*_0x1b20x14[_0x5826[255]]));_0x1b20x15[_0x5826[57]](_0x5826[117],this[_0x5826[1239]](_0x1b20x4*_0x1b20x14[_0x5826[255]]));_0x1b20x15[_0x5826[57]](_0x5826[119],this[_0x5826[1239]](_0x1b20x5*_0x1b20x14[_0x5826[255]]));null==_0x1b20x15[_0x5826[1399]]?_0x1b20x15[_0x5826[57]](_0x5826[1400],_0x1b20x9):_0x1b20x15[_0x5826[1399]](mxConstants.NS_XLINK,_0x5826[44],_0x1b20x9);_0x1b20xa||_0x1b20x15[_0x5826[57]](_0x5826[1401],_0x5826[130]);1>_0x1b20x14[_0x5826[1244]]&&_0x1b20x15[_0x5826[57]](_0x5826[461],_0x1b20x14[_0x5826[1244]]);_0x1b20x9=this[_0x5826[724]][_0x5826[535]]||_0x5826[110];if(_0x1b20x12||_0x1b20x13){var _0x1b20x16=_0x1b20xa=1,_0x1b20x17=0,_0x1b20x18=0;_0x1b20x12&&(_0x1b20xa= -1,_0x1b20x17=-_0x1b20x4-2*_0x1b20x2);_0x1b20x13&&(_0x1b20x16= -1,_0x1b20x18=-_0x1b20x5-2*_0x1b20x3);_0x1b20x9+=_0x5826[1402]+_0x1b20xa+_0x5826[537]+_0x1b20x16+_0x5826[1393]+_0x1b20x17+_0x5826[537]+_0x1b20x18+_0x5826[460]};0<_0x1b20x9[_0x5826[67]]&&_0x1b20x15[_0x5826[57]](_0x5826[535],_0x1b20x9);this[_0x5826[813]][_0x5826[62]](_0x1b20x15);this[_0x5826[1347]]&&(_0x1b20x15[_0x5826[57]](_0x5826[124],_0x5826[1403]),_0x1b20x15=this[_0x5826[55]](_0x5826[1319]),_0x1b20x15[_0x5826[57]](_0x5826[187],_0x5826[188]),_0x1b20x15[_0x5826[57]](_0x5826[1377],_0x5826[1334]),_0x1b20x15[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2*_0x1b20x14[_0x5826[255]])),_0x1b20x15[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x3*_0x1b20x14[_0x5826[255]])),_0x1b20x15[_0x5826[57]](_0x5826[117],this[_0x5826[1239]](_0x1b20x4*_0x1b20x14[_0x5826[255]])),_0x1b20x15[_0x5826[57]](_0x5826[119],this[_0x5826[1239]](_0x1b20x5*_0x1b20x14[_0x5826[255]])),this[_0x5826[813]][_0x5826[62]](_0x1b20x15))};mxSvgCanvas2D[_0x5826[202]][_0x5826[1404]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x4=this[_0x5826[724]];_0x1b20x5=_0x5826[1405]+Math[_0x5826[488]](_0x1b20x4[_0x5826[487]])+_0x5826[1406]+_0x1b20x4[_0x5826[486]]+_0x5826[1407]+_0x1b20x4[_0x5826[665]]+_0x5826[1408]+Math[_0x5826[488]](_0x1b20x4[_0x5826[487]]*mxConstants[_0x5826[490]])+_0x5826[1409]+_0x1b20x5;(_0x1b20x4[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]&&(_0x1b20x5+=_0x5826[1411]);(_0x1b20x4[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]&&(_0x1b20x5+=_0x5826[1413]);(_0x1b20x4[_0x5826[666]]&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]]&&(_0x1b20x5+=_0x5826[1415]);_0x1b20x3==mxConstants[_0x5826[479]]?_0x1b20x5+=_0x5826[1416]:_0x1b20x3==mxConstants[_0x5826[480]]&&(_0x1b20x5+=_0x5826[1417]);_0x1b20x3=_0x5826[110];null!=_0x1b20x4[_0x5826[1261]]&&(_0x1b20x3+=_0x5826[1418]+_0x1b20x4[_0x5826[1261]]+_0x5826[471]);null!=_0x1b20x4[_0x5826[1263]]&&(_0x1b20x3+=_0x5826[1419]+_0x1b20x4[_0x5826[1263]]+_0x5826[471]);mxUtils[_0x5826[1331]](_0x1b20x2)||(_0x1b20x4=document[_0x5826[55]](_0x5826[126]),_0x1b20x4[_0x5826[339]]=_0x1b20x2[_0x5826[230]](/</g,_0x5826[1421])[_0x5826[230]](/>/g,_0x5826[1420])[_0x5826[230]](/</g,_0x5826[334])[_0x5826[230]](/>/g,_0x5826[335]),_0x1b20x2=_0x1b20x4[_0x5826[131]],_0x1b20x9?_0x1b20x5+=_0x1b20x3:0<_0x1b20x3[_0x5826[67]]&&(_0x1b20x2=_0x5826[1422]+_0x1b20x3+_0x5826[1423]+_0x1b20x2+_0x5826[1424]));if(!mxClient[_0x5826[80]]&&document[_0x5826[509]]){return _0x1b20x9=document[_0x5826[509]](_0x5826[577],_0x5826[485]),_0x1b20x9[_0x5826[57]](_0x5826[124],_0x1b20x5),mxUtils[_0x5826[1331]](_0x1b20x2)?this[_0x5826[813]][_0x5826[295]]!=document?_0x1b20x9[_0x5826[62]](_0x1b20x2[_0x5826[511]](!0)):_0x1b20x9[_0x5826[62]](_0x1b20x2):_0x1b20x9[_0x5826[339]]=_0x1b20x2,_0x1b20x9};mxUtils[_0x5826[1331]](_0x1b20x2)&&this[_0x5826[813]][_0x5826[295]]!=document&&(_0x1b20x2=_0x1b20x2[_0x5826[342]]);_0x1b20x2=_0x1b20x2[_0x5826[230]](/<br>/g,_0x5826[1426])[_0x5826[230]](/<hr>/g,_0x5826[1425]);return mxUtils[_0x5826[877]](_0x5826[1427]+_0x1b20x5+_0x5826[1423]+_0x1b20x2+_0x5826[1424])[_0x5826[158]]};mxSvgCanvas2D[_0x5826[202]][_0x5826[963]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){if(this[_0x5826[1285]]&&null!=_0x1b20x9){_0x1b20x17=null!=_0x1b20x17?_0x1b20x17:0;var _0x1b20x18=this[_0x5826[724]];_0x1b20x2+=_0x1b20x18[_0x5826[1126]];_0x1b20x3+=_0x1b20x18[_0x5826[1125]];if(this[_0x5826[1344]]&&_0x5826[1428]==_0x1b20x14){var _0x1b20x19=_0x5826[1429];_0x1b20x16?(_0x1b20x19+=_0x5826[1430],0<_0x1b20x5&&(_0x1b20x19+=_0x5826[1431]+Math[_0x5826[488]](_0x1b20x5)+_0x5826[1409]),0<_0x1b20x4&&(_0x1b20x19+=_0x5826[1432]+Math[_0x5826[488]](_0x1b20x4)+_0x5826[1409])):_0x1b20x15&&(_0x1b20x19+=_0x5826[1432]+Math[_0x5826[488]](_0x1b20x4)+_0x5826[1409],0<_0x1b20x5&&(_0x1b20x19+=_0x5826[1431]+Math[_0x5826[488]](_0x1b20x5)+_0x5826[1409]));_0x1b20x13?(!_0x1b20x16&&0<_0x1b20x4&&(_0x1b20x19+=_0x5826[1432]+Math[_0x5826[488]](_0x1b20x4)+_0x5826[1409]),_0x1b20x19+=_0x5826[1433]):_0x1b20x19+=_0x5826[1434];_0x1b20x13=this[_0x5826[55]](_0x5826[449]);1>_0x1b20x18[_0x5826[1244]]&&_0x1b20x13[_0x5826[57]](_0x5826[461],_0x1b20x18[_0x5826[1244]]);_0x1b20x14=this[_0x5826[55]](_0x5826[1435]);_0x1b20x14[_0x5826[57]](_0x5826[1377],_0x5826[1378]);_0x1b20x19=this[_0x5826[1404]](_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x19,_0x1b20x15);if(null!=_0x1b20x19){_0x1b20x13[_0x5826[62]](_0x1b20x14);this[_0x5826[813]][_0x5826[62]](_0x1b20x13);var _0x1b20x1a=0;if(mxClient[_0x5826[80]]&&!mxClient[_0x5826[48]]){var _0x1b20x1b=document[_0x5826[55]](_0x5826[485]);_0x1b20x1b[_0x5826[124]][_0x5826[103]]=_0x1b20x19[_0x5826[284]](_0x5826[124]);_0x1b20x1b[_0x5826[124]][_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498];_0x1b20x1b[_0x5826[124]][_0x5826[187]]=_0x5826[188];_0x1b20x1b[_0x5826[339]]=mxUtils[_0x5826[1331]](_0x1b20x9)?_0x1b20x9[_0x5826[342]]:_0x1b20x9;document[_0x5826[112]][_0x5826[62]](_0x1b20x1b);_0x1b20x1a=_0x1b20x1b[_0x5826[359]];_0x1b20x5=mxClient[_0x5826[496]]&&0<_0x1b20x5&&_0x1b20x16?Math[_0x5826[243]](_0x1b20x5,_0x1b20x1b[_0x5826[167]]+2):_0x1b20x1b[_0x5826[167]];_0x1b20x1b[_0x5826[265]][_0x5826[266]](_0x1b20x1b);_0x1b20x14[_0x5826[62]](_0x1b20x19)}else {this[_0x5826[813]][_0x5826[295]]!=document?(_0x1b20x19[_0x5826[124]][_0x5826[187]]=_0x5826[188],document[_0x5826[112]][_0x5826[62]](_0x1b20x19),_0x1b20x1a=_0x1b20x19[_0x5826[359]],_0x1b20x5=_0x1b20x19[_0x5826[167]],_0x1b20x14[_0x5826[62]](_0x1b20x19),_0x1b20x19[_0x5826[124]][_0x5826[187]]=_0x5826[110]):(_0x1b20x14[_0x5826[62]](_0x1b20x19),_0x1b20x1a=_0x1b20x19[_0x5826[359]],_0x1b20x5=_0x1b20x19[_0x5826[167]])};_0x1b20x4=_0x1b20x15?Math[_0x5826[160]](_0x1b20x4,_0x1b20x1a):_0x1b20x1a;1>_0x1b20x18[_0x5826[1244]]&&_0x1b20x13[_0x5826[57]](_0x5826[461],_0x1b20x18[_0x5826[1244]]);_0x1b20x15=_0x1b20x9=0;_0x1b20xa==mxConstants[_0x5826[479]]?_0x1b20x9-=_0x1b20x4/2:_0x1b20xa==mxConstants[_0x5826[480]]&&(_0x1b20x9-=_0x1b20x4);_0x1b20x2+=_0x1b20x9;_0x1b20x12==mxConstants[_0x5826[481]]?_0x1b20x15-=_0x1b20x5/2:_0x1b20x12==mxConstants[_0x5826[482]]&&(_0x1b20x15-=_0x1b20x5);_0x1b20x3+=_0x1b20x15;_0x1b20xa=1!=_0x1b20x18[_0x5826[255]]?_0x5826[1402]+_0x1b20x18[_0x5826[255]]+_0x5826[460]:_0x5826[110];0!=_0x1b20x18[_0x5826[603]]&&this[_0x5826[1216]]?(_0x1b20xa+=_0x5826[1394]+_0x1b20x18[_0x5826[603]]+_0x5826[537]+_0x1b20x4/2+_0x5826[537]+_0x1b20x5/2+_0x5826[460],_0x1b20x3=this[_0x5826[1241]]((_0x1b20x2+_0x1b20x4/2)*_0x1b20x18[_0x5826[255]],(_0x1b20x3+_0x1b20x5/2)*_0x1b20x18[_0x5826[255]],_0x1b20x18[_0x5826[603]],_0x1b20x18[_0x5826[1395]],_0x1b20x18[_0x5826[1396]]),_0x1b20x2=_0x1b20x3[_0x5826[235]]-_0x1b20x4*_0x1b20x18[_0x5826[255]]/2,_0x1b20x3=_0x1b20x3[_0x5826[236]]-_0x1b20x5*_0x1b20x18[_0x5826[255]]/2):(_0x1b20x2*=_0x1b20x18[_0x5826[255]],_0x1b20x3*=_0x1b20x18[_0x5826[255]]);0!=_0x1b20x17&&(_0x1b20xa+=_0x5826[1394]+_0x1b20x17+_0x5826[537]+-_0x1b20x9+_0x5826[537]+-_0x1b20x15+_0x5826[460]);_0x1b20x13[_0x5826[57]](_0x5826[535],_0x5826[536]+Math[_0x5826[488]](_0x1b20x2)+_0x5826[537]+Math[_0x5826[488]](_0x1b20x3)+_0x5826[460]+_0x1b20xa);_0x1b20x14[_0x5826[57]](_0x5826[117],Math[_0x5826[488]](Math[_0x5826[160]](1,_0x1b20x4)));_0x1b20x14[_0x5826[57]](_0x5826[119],Math[_0x5826[488]](Math[_0x5826[160]](1,_0x1b20x5)))}}else {this[_0x5826[1436]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x15,_0x1b20x16,_0x1b20x17)}}};mxSvgCanvas2D[_0x5826[202]][_0x5826[1437]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x2=Math[_0x5826[488]](_0x1b20x2);_0x1b20x3=Math[_0x5826[488]](_0x1b20x3);_0x1b20x4=Math[_0x5826[488]](_0x1b20x4);_0x1b20x5=Math[_0x5826[488]](_0x1b20x5);for(var _0x1b20x9=_0x5826[1438]+_0x1b20x2+_0x5826[213]+_0x1b20x3+_0x5826[213]+_0x1b20x4+_0x5826[213]+_0x1b20x5,_0x1b20xa=0,_0x1b20x12=_0x1b20x9+_0x5826[213]+_0x1b20xa;null!=document[_0x5826[1362]](_0x1b20x12);){_0x1b20x12=_0x1b20x9+_0x5826[213]+ ++_0x1b20xa};clip=this[_0x5826[55]](_0x5826[1439]);clip[_0x5826[57]](_0x5826[1363],_0x1b20x12);_0x1b20x9=this[_0x5826[55]](_0x5826[1319]);_0x1b20x9[_0x5826[57]](_0x5826[235],_0x1b20x2);_0x1b20x9[_0x5826[57]](_0x5826[236],_0x1b20x3);_0x1b20x9[_0x5826[57]](_0x5826[117],_0x1b20x4);_0x1b20x9[_0x5826[57]](_0x5826[119],_0x1b20x5);clip[_0x5826[62]](_0x1b20x9);return clip};mxSvgCanvas2D[_0x5826[202]][_0x5826[1436]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16){_0x1b20x16=null!=_0x1b20x16?_0x1b20x16:0;_0x1b20x13=this[_0x5826[724]];var _0x1b20x17=Math[_0x5826[488]](_0x1b20x13[_0x5826[487]]),_0x1b20x18=this[_0x5826[55]](_0x5826[449]),_0x1b20x19=_0x1b20x13[_0x5826[535]]||_0x5826[110];0!=_0x1b20x16&&(_0x1b20x19+=_0x5826[1394]+_0x1b20x16+_0x5826[537]+this[_0x5826[1239]](_0x1b20x2*_0x1b20x13[_0x5826[255]])+_0x5826[537]+this[_0x5826[1239]](_0x1b20x3*_0x1b20x13[_0x5826[255]])+_0x5826[460]);if(_0x1b20x15&&0<_0x1b20x4&&0<_0x1b20x5){var _0x1b20x1a=_0x1b20x2;_0x1b20x16=_0x1b20x3;_0x1b20xa==mxConstants[_0x5826[479]]?_0x1b20x1a-=_0x1b20x4/2:_0x1b20xa==mxConstants[_0x5826[480]]&&(_0x1b20x1a-=_0x1b20x4);_0x1b20x12==mxConstants[_0x5826[481]]?_0x1b20x16-=_0x1b20x5/2:_0x1b20x12==mxConstants[_0x5826[482]]&&(_0x1b20x16-=_0x1b20x5);_0x1b20x16=this[_0x5826[1437]](_0x1b20x1a*_0x1b20x13[_0x5826[255]]-2,_0x1b20x16*_0x1b20x13[_0x5826[255]]-2,_0x1b20x4*_0x1b20x13[_0x5826[255]]+4,_0x1b20x5*_0x1b20x13[_0x5826[255]]+4);null!=this[_0x5826[1340]]?this[_0x5826[1340]][_0x5826[62]](_0x1b20x16):this[_0x5826[813]][_0x5826[62]](_0x1b20x16);_0x1b20x18[_0x5826[57]](_0x5826[1440],_0x5826[1380]+_0x1b20x16[_0x5826[284]](_0x5826[1363])+_0x5826[460])};this[_0x5826[1441]](_0x1b20x18,_0x1b20xa);_0x1b20x16=_0x1b20xa==mxConstants[_0x5826[480]]?_0x5826[1282]:_0x1b20xa==mxConstants[_0x5826[479]]?_0x5826[554]:_0x5826[861];_0x5826[861]!=_0x1b20x16&&_0x1b20x18[_0x5826[57]](_0x5826[1442],_0x1b20x16);(!this[_0x5826[1341]]||_0x1b20x17!=mxConstants[_0x5826[483]])&&_0x1b20x18[_0x5826[57]](_0x5826[1443],Math[_0x5826[488]](_0x1b20x17*_0x1b20x13[_0x5826[255]])+_0x5826[168]);0<_0x1b20x19[_0x5826[67]]&&_0x1b20x18[_0x5826[57]](_0x5826[535],_0x1b20x19);1>_0x1b20x13[_0x5826[1244]]&&_0x1b20x18[_0x5826[57]](_0x5826[461],_0x1b20x13[_0x5826[1244]]);var _0x1b20x19=_0x1b20x9[_0x5826[224]](_0x5826[192]),_0x1b20x1a=Math[_0x5826[488]](_0x1b20x17*mxConstants[_0x5826[490]]),_0x1b20x1b=_0x1b20x17+(_0x1b20x19[_0x5826[67]]-1)*_0x1b20x1a;_0x1b20x16=_0x1b20x3+_0x1b20x17-1;_0x1b20x12==mxConstants[_0x5826[481]]?(_0x1b20x5=(this[_0x5826[1343]]&&_0x1b20x15&&0<_0x1b20x5?Math[_0x5826[243]](_0x1b20x1b,_0x1b20x5):_0x1b20x1b)/2,_0x1b20x16-=_0x1b20x5+1):_0x1b20x12==mxConstants[_0x5826[482]]&&(_0x1b20x5=this[_0x5826[1343]]&&_0x1b20x15&&0<_0x1b20x5?Math[_0x5826[243]](_0x1b20x1b,_0x1b20x5):_0x1b20x1b,_0x1b20x16-=_0x1b20x5+2);for(_0x1b20x5=0;_0x1b20x5<_0x1b20x19[_0x5826[67]];_0x1b20x5++){0<_0x1b20x19[_0x1b20x5][_0x5826[67]]&&0<mxUtils[_0x5826[330]](_0x1b20x19[_0x1b20x5])[_0x5826[67]]&&(_0x1b20x15=this[_0x5826[55]](_0x5826[963]),_0x1b20x15[_0x5826[57]](_0x5826[235],this[_0x5826[1239]](_0x1b20x2*_0x1b20x13[_0x5826[255]])),_0x1b20x15[_0x5826[57]](_0x5826[236],this[_0x5826[1239]](_0x1b20x16*_0x1b20x13[_0x5826[255]])),mxUtils[_0x5826[53]](_0x1b20x15,_0x1b20x19[_0x1b20x5]),_0x1b20x18[_0x5826[62]](_0x1b20x15)),_0x1b20x16+=_0x1b20x1a};this[_0x5826[813]][_0x5826[62]](_0x1b20x18);this[_0x5826[1444]](_0x1b20x18,_0x1b20x9,_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x1b,_0x1b20xa,_0x1b20x12,_0x1b20x14)};mxSvgCanvas2D[_0x5826[202]][_0x5826[1441]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[724]];_0x1b20x2[_0x5826[57]](_0x5826[1334],_0x1b20x3[_0x5826[665]]);(!this[_0x5826[1341]]||_0x1b20x3[_0x5826[486]]!=mxConstants[_0x5826[484]])&&_0x1b20x2[_0x5826[57]](_0x5826[1445],_0x1b20x3[_0x5826[486]]);(_0x1b20x3[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]&&_0x1b20x2[_0x5826[57]](_0x5826[1446],_0x5826[1447]);(_0x1b20x3[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]&&_0x1b20x2[_0x5826[57]](_0x5826[1448],_0x5826[1449]);(_0x1b20x3[_0x5826[666]]&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]]&&_0x1b20x2[_0x5826[57]](_0x5826[1450],_0x5826[355])};mxSvgCanvas2D[_0x5826[202]][_0x5826[1444]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){var _0x1b20x15=this[_0x5826[724]];if(null!=_0x1b20x15[_0x5826[1261]]||null!=_0x1b20x15[_0x5826[1263]]){var _0x1b20x16=null;_0x1b20x14?(_0x1b20x12==mxConstants[_0x5826[479]]?_0x1b20x4-=_0x1b20x9/2:_0x1b20x12==mxConstants[_0x5826[480]]&&(_0x1b20x4-=_0x1b20x9),_0x1b20x13==mxConstants[_0x5826[481]]?_0x1b20x5-=_0x1b20xa/2:_0x1b20x13==mxConstants[_0x5826[482]]&&(_0x1b20x5-=_0x1b20xa),_0x1b20x16= new mxRectangle((_0x1b20x4+1)*_0x1b20x15[_0x5826[255]],_0x1b20x5*_0x1b20x15[_0x5826[255]],(_0x1b20x9-2)*_0x1b20x15[_0x5826[255]],(_0x1b20xa+2)*_0x1b20x15[_0x5826[255]])):null!=_0x1b20x2[_0x5826[1451]]&&this[_0x5826[813]][_0x5826[295]]==document?(_0x1b20x16=_0x1b20x2[_0x5826[1451]](),_0x1b20x3=mxClient[_0x5826[80]]&&mxClient[_0x5826[48]],_0x1b20x16= new mxRectangle(_0x1b20x16[_0x5826[235]],_0x1b20x16[_0x5826[236]]+(_0x1b20x3?0:1),_0x1b20x16[_0x5826[117]],_0x1b20x16[_0x5826[119]]+(_0x1b20x3?1:0))):(_0x1b20x16=document[_0x5826[55]](_0x5826[485]),_0x1b20x16[_0x5826[124]][_0x5826[489]]=Math[_0x5826[488]](_0x1b20x15[_0x5826[487]]*mxConstants[_0x5826[490]])+_0x5826[168],_0x1b20x16[_0x5826[124]][_0x5826[487]]=Math[_0x5826[488]](_0x1b20x15[_0x5826[487]])+_0x5826[168],_0x1b20x16[_0x5826[124]][_0x5826[486]]=_0x1b20x15[_0x5826[486]],_0x1b20x16[_0x5826[124]][_0x5826[493]]=_0x5826[494],_0x1b20x16[_0x5826[124]][_0x5826[491]]=_0x5826[492],_0x1b20x16[_0x5826[124]][_0x5826[187]]=_0x5826[188],_0x1b20x16[_0x5826[124]][_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498],_0x1b20x16[_0x5826[124]][_0x5826[499]]=_0x5826[500],(_0x1b20x15[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]&&(_0x1b20x16[_0x5826[124]][_0x5826[1452]]=_0x5826[1447]),(_0x1b20x15[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]&&(_0x1b20x16[_0x5826[124]][_0x5826[666]]=_0x5826[1449]),_0x1b20x3=mxUtils[_0x5826[321]](_0x1b20x3,!1),_0x1b20x16[_0x5826[339]]=_0x1b20x3[_0x5826[230]](/\n/g,_0x5826[1453]),document[_0x5826[112]][_0x5826[62]](_0x1b20x16),_0x1b20x9=_0x1b20x16[_0x5826[359]],_0x1b20xa=_0x1b20x16[_0x5826[167]],_0x1b20x16[_0x5826[265]][_0x5826[266]](_0x1b20x16),_0x1b20x12==mxConstants[_0x5826[479]]?_0x1b20x4-=_0x1b20x9/2:_0x1b20x12==mxConstants[_0x5826[480]]&&(_0x1b20x4-=_0x1b20x9),_0x1b20x13==mxConstants[_0x5826[481]]?_0x1b20x5-=_0x1b20xa/2:_0x1b20x13==mxConstants[_0x5826[482]]&&(_0x1b20x5-=_0x1b20xa),_0x1b20x16= new mxRectangle((_0x1b20x4+1)*_0x1b20x15[_0x5826[255]],(_0x1b20x5+2)*_0x1b20x15[_0x5826[255]],_0x1b20x9*_0x1b20x15[_0x5826[255]],(_0x1b20xa+1)*_0x1b20x15[_0x5826[255]]));null!=_0x1b20x16&&(_0x1b20x3=this[_0x5826[55]](_0x5826[1319]),_0x1b20x3[_0x5826[57]](_0x5826[1334],_0x1b20x15[_0x5826[1261]]||_0x5826[130]),_0x1b20x3[_0x5826[57]](_0x5826[1336],_0x1b20x15[_0x5826[1263]]||_0x5826[130]),_0x1b20x3[_0x5826[57]](_0x5826[235],Math[_0x5826[519]](_0x1b20x16[_0x5826[235]]-1)),_0x1b20x3[_0x5826[57]](_0x5826[236],Math[_0x5826[519]](_0x1b20x16[_0x5826[236]]-1)),_0x1b20x3[_0x5826[57]](_0x5826[117],Math[_0x5826[430]](_0x1b20x16[_0x5826[117]]+2)),_0x1b20x3[_0x5826[57]](_0x5826[119],Math[_0x5826[430]](_0x1b20x16[_0x5826[119]])),_0x1b20x15=null!=_0x1b20x15[_0x5826[1263]]?Math[_0x5826[160]](1,this[_0x5826[1239]](_0x1b20x15[_0x5826[255]])):0,_0x1b20x3[_0x5826[57]](_0x5826[1382],_0x1b20x15),this[_0x5826[813]][_0x5826[295]]==document&&1==mxUtils[_0x5826[1454]](_0x1b20x15,2)&&_0x1b20x3[_0x5826[57]](_0x5826[535],_0x5826[1455]),_0x1b20x2[_0x5826[950]](_0x1b20x3,_0x1b20x2[_0x5826[285]]))}};mxSvgCanvas2D[_0x5826[202]][_0x5826[1336]]=function(){this[_0x5826[1370]](!1,!0)};mxSvgCanvas2D[_0x5826[202]][_0x5826[1334]]=function(){this[_0x5826[1370]](!0,!1)};mxSvgCanvas2D[_0x5826[202]][_0x5826[1337]]=function(){this[_0x5826[1370]](!0,!0)};var mxVmlCanvas2D=function(_0x1b20x2){mxAbstractCanvas2D[_0x5826[239]](this);this[_0x5826[813]]=_0x1b20x2};mxUtils[_0x5826[1284]](mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D[_0x5826[202]][_0x5826[252]]=null;mxVmlCanvas2D[_0x5826[202]][_0x5826[1285]]= !0;mxVmlCanvas2D[_0x5826[202]][_0x5826[1219]]=_0x5826[1456];mxVmlCanvas2D[_0x5826[202]][_0x5826[1221]]=_0x5826[1457];mxVmlCanvas2D[_0x5826[202]][_0x5826[1225]]=_0x5826[1458];mxVmlCanvas2D[_0x5826[202]][_0x5826[1227]]=_0x5826[235];mxVmlCanvas2D[_0x5826[202]][_0x5826[1459]]=_0x5826[110];mxVmlCanvas2D[_0x5826[202]][_0x5826[1460]]=1;mxVmlCanvas2D[_0x5826[202]][_0x5826[1370]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[252]],_0x1b20x5=this[_0x5826[724]];if(null!=_0x1b20x4){if(_0x5826[253]==_0x1b20x4[_0x5826[301]]){if(null!=this[_0x5826[1215]]&&0<this[_0x5826[1215]][_0x5826[67]]){_0x1b20x4[_0x5826[1215]]=this[_0x5826[1215]][_0x5826[234]](_0x5826[185])+_0x5826[1461],_0x1b20x4[_0x5826[124]][_0x5826[117]]=this[_0x5826[813]][_0x5826[124]][_0x5826[117]],_0x1b20x4[_0x5826[124]][_0x5826[119]]=this[_0x5826[813]][_0x5826[124]][_0x5826[119]],_0x1b20x4[_0x5826[1462]]=parseInt(_0x1b20x4[_0x5826[124]][_0x5826[117]])+_0x5826[185]+parseInt(_0x1b20x4[_0x5826[124]][_0x5826[119]])}else {return}};_0x1b20x4[_0x5826[1463]]=this[_0x5826[1239]](Math[_0x5826[160]](1,_0x1b20x5[_0x5826[610]]*_0x1b20x5[_0x5826[255]]/this[_0x5826[1460]]))+_0x5826[168];_0x1b20x5[_0x5826[639]]&&this[_0x5826[813]][_0x5826[62]](this[_0x5826[1375]](_0x1b20x4,_0x1b20x2&&null!=_0x1b20x5[_0x5826[604]],_0x1b20x3&&null!=_0x1b20x5[_0x5826[608]]));_0x1b20x3&&null!=_0x1b20x5[_0x5826[608]]?(_0x1b20x4[_0x5826[1464]]=_0x5826[128],_0x1b20x4[_0x5826[1306]]=_0x1b20x5[_0x5826[608]]):_0x1b20x4[_0x5826[1464]]=_0x5826[308];_0x1b20x4[_0x5826[62]](this[_0x5826[1465]]());_0x1b20x2&&null!=_0x1b20x5[_0x5826[604]]?_0x1b20x4[_0x5826[62]](this[_0x5826[1466]]()):this[_0x5826[1229]]&&(_0x5826[253]!=_0x1b20x4[_0x5826[301]]||this[_0x5826[1215]][this[_0x5826[1215]][_0x5826[67]]-1]==this[_0x5826[1227]])?_0x1b20x4[_0x5826[62]](this[_0x5826[1467]]()):_0x1b20x4[_0x5826[1468]]=_0x5826[308];this[_0x5826[813]][_0x5826[62]](_0x1b20x4)}};mxVmlCanvas2D[_0x5826[202]][_0x5826[1467]]=function(){var _0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1469]);_0x1b20x2[_0x5826[390]]=mxClient[_0x5826[88]]+_0x5826[1470];_0x1b20x2[_0x5826[60]]=_0x5826[1471];return _0x1b20x2};mxVmlCanvas2D[_0x5826[202]][_0x5826[1466]]=function(){var _0x1b20x2=this[_0x5826[724]],_0x1b20x3=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1469]);_0x1b20x3[_0x5826[352]]=_0x1b20x2[_0x5826[604]];if(null!=_0x1b20x2[_0x5826[606]]){_0x1b20x3[_0x5826[60]]=_0x5826[1299];_0x1b20x3[_0x5826[865]]=_0x5826[130];_0x1b20x3[_0x5826[1472]]=_0x1b20x2[_0x5826[606]];var _0x1b20x4=180-_0x1b20x2[_0x5826[603]],_0x1b20x4=_0x1b20x2[_0x5826[607]]==mxConstants[_0x5826[1359]]?_0x1b20x4-(90+(_0x5826[235]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]?180:0)):_0x1b20x2[_0x5826[607]]==mxConstants[_0x5826[1356]]?_0x1b20x4+(90+(_0x5826[235]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]?180:0)):_0x1b20x2[_0x5826[607]]==mxConstants[_0x5826[1358]]?_0x1b20x4-(180+(_0x5826[236]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]?-180:0)):_0x1b20x4+(_0x5826[236]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]?-180:0);if(_0x5826[235]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]||_0x5826[236]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]){_0x1b20x4*= -1};_0x1b20x3[_0x5826[1474]]=mxUtils[_0x5826[1454]](_0x1b20x4,360);_0x1b20x3[_0x5826[461]]=100*_0x1b20x2[_0x5826[1244]]*_0x1b20x2[_0x5826[1247]]+_0x5826[229];_0x1b20x3[_0x5826[57]](mxClient[_0x5826[1475]]+_0x5826[1476],100*_0x1b20x2[_0x5826[1244]]*_0x1b20x2[_0x5826[1248]]+_0x5826[229])}else {1>_0x1b20x2[_0x5826[1244]]&&(_0x1b20x3[_0x5826[461]]=100*_0x1b20x2[_0x5826[1244]]+_0x5826[229])};return _0x1b20x3};mxVmlCanvas2D[_0x5826[202]][_0x5826[1465]]=function(){var _0x1b20x2=this[_0x5826[724]],_0x1b20x3=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1477]);_0x1b20x3[_0x5826[1478]]=_0x1b20x2[_0x5826[1254]]||_0x5826[1232];_0x1b20x3[_0x5826[1479]]=_0x1b20x2[_0x5826[1256]]||_0x5826[1233];_0x1b20x3[_0x5826[1313]]=_0x1b20x2[_0x5826[1258]]||_0x5826[1480];1>_0x1b20x2[_0x5826[1244]]&&(_0x1b20x3[_0x5826[461]]=100*_0x1b20x2[_0x5826[1244]]+_0x5826[229]);_0x1b20x2[_0x5826[648]]&&(_0x1b20x3[_0x5826[1481]]=this[_0x5826[1482]]());return _0x1b20x3};mxVmlCanvas2D[_0x5826[202]][_0x5826[1482]]=function(){var _0x1b20x2=_0x5826[1483];if(null!=this[_0x5826[724]][_0x5826[649]]){var _0x1b20x3=this[_0x5826[724]][_0x5826[649]][_0x5826[224]](_0x5826[185]);0<_0x1b20x3[_0x5826[67]]&&1==_0x1b20x3[0]&&(_0x1b20x2=_0x5826[1484])};return _0x1b20x2};mxVmlCanvas2D[_0x5826[202]][_0x5826[1375]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[724]],_0x1b20x9=-_0x1b20x5[_0x5826[603]]*(Math[_0x5826[424]]/180),_0x1b20xa=Math[_0x5826[426]](_0x1b20x9),_0x1b20x9=Math[_0x5826[427]](_0x1b20x9),_0x1b20x12=_0x1b20x5[_0x5826[1273]]*_0x1b20x5[_0x5826[255]],_0x1b20x13=_0x1b20x5[_0x5826[1274]]*_0x1b20x5[_0x5826[255]];_0x5826[235]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]?_0x1b20x12*= -1:_0x5826[236]==this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]&&(_0x1b20x13*= -1);var _0x1b20x14=_0x1b20x2[_0x5826[511]](!0);_0x1b20x14[_0x5826[124]][_0x5826[945]]=Math[_0x5826[488]](_0x1b20x12*_0x1b20xa-_0x1b20x13*_0x1b20x9)+_0x5826[168];_0x1b20x14[_0x5826[124]][_0x5826[953]]=Math[_0x5826[488]](_0x1b20x12*_0x1b20x9+_0x1b20x13*_0x1b20xa)+_0x5826[168];8==document[_0x5826[5]]&&(_0x1b20x14[_0x5826[1463]]=_0x1b20x2[_0x5826[1463]],_0x5826[253]==_0x1b20x2[_0x5826[301]]&&(_0x1b20x14[_0x5826[1215]]=this[_0x5826[1215]][_0x5826[234]](_0x5826[185])+_0x5826[1461],_0x1b20x14[_0x5826[124]][_0x5826[117]]=this[_0x5826[813]][_0x5826[124]][_0x5826[117]],_0x1b20x14[_0x5826[124]][_0x5826[119]]=this[_0x5826[813]][_0x5826[124]][_0x5826[119]],_0x1b20x14[_0x5826[1462]]=parseInt(_0x1b20x2[_0x5826[124]][_0x5826[117]])+_0x5826[185]+parseInt(_0x1b20x2[_0x5826[124]][_0x5826[119]])));_0x1b20x4?(_0x1b20x14[_0x5826[1306]]=_0x1b20x5[_0x5826[1269]],_0x1b20x14[_0x5826[62]](this[_0x5826[1485]]())):_0x1b20x14[_0x5826[1464]]=_0x5826[308];_0x1b20x3?_0x1b20x14[_0x5826[62]](this[_0x5826[1486]]()):_0x1b20x14[_0x5826[1468]]=_0x5826[308];return _0x1b20x14};mxVmlCanvas2D[_0x5826[202]][_0x5826[1486]]=function(){var _0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1469]);_0x1b20x2[_0x5826[352]]=this[_0x5826[724]][_0x5826[1269]];_0x1b20x2[_0x5826[461]]=100*this[_0x5826[724]][_0x5826[1244]]*this[_0x5826[724]][_0x5826[1271]]+_0x5826[229];return _0x1b20x2};mxVmlCanvas2D[_0x5826[202]][_0x5826[1485]]=function(){var _0x1b20x2=this[_0x5826[1465]]();_0x1b20x2[_0x5826[461]]=100*this[_0x5826[724]][_0x5826[1244]]*this[_0x5826[724]][_0x5826[1271]]+_0x5826[229];return _0x1b20x2};mxVmlCanvas2D[_0x5826[202]][_0x5826[1294]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x3&&_0x1b20x4?_0x1b20x2+=180:_0x1b20x3?this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]=_0x5826[235]:_0x1b20x4&&(this[_0x5826[813]][_0x5826[124]][_0x5826[1473]]=_0x5826[236]);if(_0x1b20x3?!_0x1b20x4:_0x1b20x4){_0x1b20x2*= -1};this[_0x5826[813]][_0x5826[124]][_0x5826[603]]=_0x1b20x2;this[_0x5826[724]][_0x5826[603]]+=_0x1b20x2;this[_0x5826[724]][_0x5826[1395]]=_0x1b20x5;this[_0x5826[724]][_0x5826[1396]]=_0x1b20x9};mxVmlCanvas2D[_0x5826[202]][_0x5826[1275]]=function(){mxAbstractCanvas2D[_0x5826[202]][_0x5826[1275]][_0x5826[183]](this,arguments);this[_0x5826[252]]=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1487]);this[_0x5826[252]][_0x5826[124]][_0x5826[491]]=_0x5826[492]};mxVmlCanvas2D[_0x5826[202]][_0x5826[1278]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[724]],_0x1b20xa=(this[_0x5826[1217]]+_0x1b20x9[_0x5826[1126]])*_0x1b20x9[_0x5826[255]],_0x1b20x12=(this[_0x5826[1218]]+_0x1b20x9[_0x5826[1125]])*_0x1b20x9[_0x5826[255]];_0x1b20x2=(_0x1b20x2+_0x1b20x9[_0x5826[1126]])*_0x1b20x9[_0x5826[255]];_0x1b20x3=(_0x1b20x3+_0x1b20x9[_0x5826[1125]])*_0x1b20x9[_0x5826[255]];_0x1b20x4=(_0x1b20x4+_0x1b20x9[_0x5826[1126]])*_0x1b20x9[_0x5826[255]];_0x1b20x5=(_0x1b20x5+_0x1b20x9[_0x5826[1125]])*_0x1b20x9[_0x5826[255]];var _0x1b20x12=_0x1b20x12+2/3*(_0x1b20x3-_0x1b20x12),_0x1b20x13=_0x1b20x4+2/3*(_0x1b20x2-_0x1b20x4);_0x1b20x3=_0x1b20x5+2/3*(_0x1b20x3-_0x1b20x5);this[_0x5826[1215]][_0x5826[207]](_0x5826[1488]+this[_0x5826[1239]](_0x1b20xa+2/3*(_0x1b20x2-_0x1b20xa))+_0x5826[185]+this[_0x5826[1239]](_0x1b20x12)+_0x5826[185]+this[_0x5826[1239]](_0x1b20x13)+_0x5826[185]+this[_0x5826[1239]](_0x1b20x3)+_0x5826[185]+this[_0x5826[1239]](_0x1b20x4)+_0x5826[185]+this[_0x5826[1239]](_0x1b20x5));this[_0x5826[1217]]=_0x1b20x4/_0x1b20x9[_0x5826[255]]-_0x1b20x9[_0x5826[1126]];this[_0x5826[1218]]=_0x1b20x5/_0x1b20x9[_0x5826[255]]-_0x1b20x9[_0x5826[1125]]};mxVmlCanvas2D[_0x5826[202]][_0x5826[1489]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=this[_0x5826[724]];_0x1b20x2=document[_0x5826[55]](_0x1b20x2);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x2[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]]((_0x1b20x3+_0x1b20xa[_0x5826[1126]])*_0x1b20xa[_0x5826[255]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]]((_0x1b20x4+_0x1b20xa[_0x5826[1125]])*_0x1b20xa[_0x5826[255]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[117]]=this[_0x5826[1239]](_0x1b20x5*_0x1b20xa[_0x5826[255]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[119]]=this[_0x5826[1239]](_0x1b20x9*_0x1b20xa[_0x5826[255]])+_0x5826[168];return _0x1b20x2};mxVmlCanvas2D[_0x5826[202]][_0x5826[1319]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[252]]=this[_0x5826[1489]](mxClient[_0x5826[463]]+_0x5826[1490],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)};mxVmlCanvas2D[_0x5826[202]][_0x5826[1320]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[252]]=this[_0x5826[1489]](mxClient[_0x5826[463]]+_0x5826[1491],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);this[_0x5826[252]][_0x5826[57]](_0x5826[1492],Math[_0x5826[160]](100*_0x1b20x9/_0x1b20x4,100*_0x1b20xa/_0x1b20x5)+_0x5826[229])};mxVmlCanvas2D[_0x5826[202]][_0x5826[680]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[252]]=this[_0x5826[1489]](mxClient[_0x5826[463]]+_0x5826[1493],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)};mxVmlCanvas2D[_0x5826[202]][_0x5826[618]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){var _0x1b20x14=null;_0x1b20xa?(_0x1b20x14=this[_0x5826[1489]](mxClient[_0x5826[463]]+_0x5826[1490],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5),_0x1b20x14[_0x5826[1464]]=_0x5826[308],_0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1469]),_0x1b20x2[_0x5826[1322]]=_0x1b20xa?_0x5826[1494]:_0x5826[1495],_0x1b20x2[_0x5826[1294]]=_0x5826[128],_0x1b20x2[_0x5826[60]]=_0x5826[1496],_0x1b20x2[_0x5826[390]]=_0x1b20x9,_0x1b20x14[_0x5826[62]](_0x1b20x2)):(_0x1b20x14=this[_0x5826[1489]](mxClient[_0x5826[463]]+_0x5826[464],_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5),_0x1b20x14[_0x5826[390]]=_0x1b20x9);_0x1b20x12&&_0x1b20x13?_0x1b20x14[_0x5826[124]][_0x5826[603]]=_0x5826[1497]:_0x1b20x12?_0x1b20x14[_0x5826[124]][_0x5826[1473]]=_0x5826[235]:_0x1b20x13&&(_0x1b20x14[_0x5826[124]][_0x5826[1473]]=_0x5826[236]);1>this[_0x5826[724]][_0x5826[1244]]&&(_0x1b20x14[_0x5826[124]][_0x5826[347]]+=_0x5826[459]+100*this[_0x5826[724]][_0x5826[1244]]+_0x5826[460]);this[_0x5826[813]][_0x5826[62]](_0x1b20x14)};mxVmlCanvas2D[_0x5826[202]][_0x5826[1404]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=document[_0x5826[55]](_0x5826[485]);var _0x1b20x9=this[_0x5826[724]],_0x1b20xa=_0x5826[110];null!=_0x1b20x9[_0x5826[1261]]&&(_0x1b20xa+=_0x5826[1418]+_0x1b20x9[_0x5826[1261]]+_0x5826[471]);null!=_0x1b20x9[_0x5826[1263]]&&(_0x1b20xa+=_0x5826[1419]+_0x1b20x9[_0x5826[1263]]+_0x5826[471]);mxUtils[_0x5826[1331]](_0x1b20x2)?_0x1b20x4[_0x5826[62]](_0x1b20x2):0<_0x1b20xa[_0x5826[67]]&&!_0x1b20x5?(_0x1b20x5=document[_0x5826[55]](_0x5826[485]),_0x1b20x5[_0x5826[124]][_0x5826[103]]=_0x1b20xa,_0x1b20x5[_0x5826[124]][_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498],_0x1b20x5[_0x5826[124]][_0x5826[499]]=_0x5826[500],_0x1b20x5[_0x5826[339]]=_0x1b20x2,_0x1b20x4[_0x5826[62]](_0x1b20x5)):(_0x1b20x4[_0x5826[124]][_0x5826[103]]=_0x1b20xa,_0x1b20x4[_0x5826[339]]=_0x1b20x2);_0x1b20x2=_0x1b20x4[_0x5826[124]];_0x1b20x2[_0x5826[487]]=Math[_0x5826[488]](_0x1b20x9[_0x5826[487]]/this[_0x5826[1460]])+_0x5826[168];_0x1b20x2[_0x5826[486]]=_0x1b20x9[_0x5826[486]];_0x1b20x2[_0x5826[352]]=_0x1b20x9[_0x5826[665]];_0x1b20x2[_0x5826[123]]=_0x5826[125];_0x1b20x2[_0x5826[1165]]=_0x1b20x3||_0x5826[361];_0x1b20x2[_0x5826[489]]=Math[_0x5826[488]](_0x1b20x9[_0x5826[487]]*mxConstants[_0x5826[490]]/this[_0x5826[1460]])+_0x5826[168];(_0x1b20x9[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]&&(_0x1b20x2[_0x5826[1452]]=_0x5826[1447]);(_0x1b20x9[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]&&(_0x1b20x2[_0x5826[666]]=_0x5826[1449]);(_0x1b20x9[_0x5826[666]]&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]]&&(_0x1b20x2[_0x5826[1498]]=_0x5826[355]);return _0x1b20x4};mxVmlCanvas2D[_0x5826[202]][_0x5826[963]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){if(this[_0x5826[1285]]&&null!=_0x1b20x9){var _0x1b20x18=this[_0x5826[724]];if(_0x5826[1428]==_0x1b20x14){null!=_0x1b20x18[_0x5826[603]]&&(_0x1b20x3=this[_0x5826[1241]](_0x1b20x2,_0x1b20x3,_0x1b20x18[_0x5826[603]],_0x1b20x18[_0x5826[1395]],_0x1b20x18[_0x5826[1396]]),_0x1b20x2=_0x1b20x3[_0x5826[235]],_0x1b20x3=_0x1b20x3[_0x5826[236]]);8==document[_0x5826[5]]?(_0x1b20x2+=_0x1b20x18[_0x5826[1126]],_0x1b20x3+=_0x1b20x18[_0x5826[1125]]):(_0x1b20x2*=_0x1b20x18[_0x5826[255]],_0x1b20x3*=_0x1b20x18[_0x5826[255]]);_0x1b20x14=8==document[_0x5826[5]]?document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1499]):document[_0x5826[55]](_0x5826[485]);_0x1b20x14[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x14[_0x5826[124]][_0x5826[495]]=_0x5826[497];_0x1b20x14[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]](_0x1b20x2)+_0x5826[168];_0x1b20x14[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]](_0x1b20x3)+_0x5826[168];_0x1b20x14[_0x5826[124]][_0x5826[499]]=_0x1b20x18[_0x5826[255]];var _0x1b20x19=document[_0x5826[55]](_0x5826[485]);_0x1b20x19[_0x5826[124]][_0x5826[491]]=_0x5826[1500];_0x1b20x19[_0x5826[124]][_0x5826[495]]=_0x5826[497];var _0x1b20x1a=mxUtils[_0x5826[1501]](_0x1b20xa,_0x1b20x12),_0x1b20x1b=_0x1b20x1a[_0x5826[235]],_0x1b20x1a=_0x1b20x1a[_0x5826[236]];_0x1b20x9=this[_0x5826[1404]](_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x15);_0x1b20xa=document[_0x5826[55]](_0x5826[485]);_0x1b20x13?(!_0x1b20x16&&0<_0x1b20x4&&(_0x1b20x9[_0x5826[124]][_0x5826[117]]=Math[_0x5826[488]](_0x1b20x4)+_0x5826[168]),_0x1b20x9[_0x5826[124]][_0x5826[493]]=_0x5826[1502]):_0x1b20x9[_0x5826[124]][_0x5826[493]]=_0x5826[494];_0x1b20x13=_0x1b20x18[_0x5826[603]]+(_0x1b20x17||0);this[_0x5826[1216]]&&0!=_0x1b20x13?(_0x1b20xa[_0x5826[124]][_0x5826[495]]=_0x5826[497],_0x1b20xa[_0x5826[124]][_0x5826[499]]=_0x5826[500],_0x1b20xa[_0x5826[62]](_0x1b20x9),8==document[_0x5826[5]]&&_0x5826[529]!=this[_0x5826[813]][_0x5826[301]]?(_0x1b20x19[_0x5826[62]](_0x1b20xa),_0x1b20x14[_0x5826[62]](_0x1b20x19)):_0x1b20x14[_0x5826[62]](_0x1b20xa)):8==document[_0x5826[5]]?(_0x1b20x19[_0x5826[62]](_0x1b20x9),_0x1b20x14[_0x5826[62]](_0x1b20x19)):(_0x1b20x9[_0x5826[124]][_0x5826[495]]=_0x5826[497],_0x1b20x14[_0x5826[62]](_0x1b20x9));_0x5826[529]!=this[_0x5826[813]][_0x5826[301]]?(_0x1b20x17=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1490]),_0x1b20x17[_0x5826[1464]]=_0x5826[308],_0x1b20x17[_0x5826[1468]]=_0x5826[308],_0x1b20x17[_0x5826[62]](_0x1b20x14),this[_0x5826[813]][_0x5826[62]](_0x1b20x17)):this[_0x5826[813]][_0x5826[62]](_0x1b20x14);_0x1b20x16?(_0x1b20x9[_0x5826[124]][_0x5826[277]]=_0x5826[188],0<_0x1b20x4&&(_0x1b20x9[_0x5826[124]][_0x5826[117]]=Math[_0x5826[488]](_0x1b20x4)+_0x5826[168]),0<_0x1b20x5&&8==document[_0x5826[5]]&&(_0x1b20x9[_0x5826[124]][_0x5826[1503]]=Math[_0x5826[488]](_0x1b20x5)+_0x5826[168])):_0x1b20x15&&(_0x1b20x9[_0x5826[124]][_0x5826[117]]=_0x1b20x4+_0x5826[168],0<_0x1b20x5&&(_0x1b20x9[_0x5826[124]][_0x5826[1503]]=Math[_0x5826[488]](_0x1b20x5)+_0x5826[168]));if(this[_0x5826[1216]]&&0!=_0x1b20x13){_0x1b20x4=_0x1b20x13*(Math[_0x5826[424]]/180);_0x1b20x13=parseFloat(parseFloat(Math[_0x5826[426]](_0x1b20x4))[_0x5826[1293]](8));_0x1b20x17=parseFloat(parseFloat(Math[_0x5826[427]](-_0x1b20x4))[_0x5826[1293]](8));_0x1b20x4%=2*Math[_0x5826[424]];0>_0x1b20x4&&(_0x1b20x4+=2*Math[_0x5826[424]]);_0x1b20x4%=Math[_0x5826[424]];_0x1b20x4>Math[_0x5826[424]]/2&&(_0x1b20x4=Math[_0x5826[424]]-_0x1b20x4);_0x1b20x12=Math[_0x5826[426]](_0x1b20x4);var _0x1b20x1c=Math[_0x5826[427]](_0x1b20x4);8==document[_0x5826[5]]&&(_0x1b20x9[_0x5826[124]][_0x5826[495]]=_0x5826[498],_0x1b20xa[_0x5826[124]][_0x5826[495]]=_0x5826[498],_0x1b20x19[_0x5826[124]][_0x5826[495]]=_0x5826[498]);_0x1b20x9[_0x5826[124]][_0x5826[187]]=_0x5826[188];document[_0x5826[112]][_0x5826[62]](_0x1b20x9);_0x1b20x4=_0x1b20x9[_0x5826[359]];_0x1b20x19=_0x1b20x9[_0x5826[167]];if(mxClient[_0x5826[496]]&&(_0x1b20x16||_0x1b20x15)&&_0x1b20x19>_0x1b20x5){_0x1b20x19=_0x1b20x5,_0x1b20x9[_0x5826[124]][_0x5826[119]]=_0x1b20x19+_0x5826[168]};_0x1b20x5=_0x1b20x19;_0x1b20x16=(_0x1b20x5-_0x1b20x5*_0x1b20x12+_0x1b20x4* -_0x1b20x1c)/2-_0x1b20x17*_0x1b20x4*(_0x1b20x1b+0.5)+_0x1b20x13*_0x1b20x5*(_0x1b20x1a+0.5);_0x1b20x15=(_0x1b20x4-_0x1b20x4*_0x1b20x12+_0x1b20x5* -_0x1b20x1c)/2+_0x1b20x13*_0x1b20x4*(_0x1b20x1b+0.5)+_0x1b20x17*_0x1b20x5*(_0x1b20x1a+0.5);_0x5826[1504]==_0x1b20x14[_0x5826[301]]&&_0x5826[529]==this[_0x5826[813]][_0x5826[301]]?(_0x1b20x1b=document[_0x5826[55]](_0x5826[485]),_0x1b20x1b[_0x5826[124]][_0x5826[495]]=_0x5826[498],_0x1b20x1b[_0x5826[124]][_0x5826[491]]=_0x5826[492],_0x1b20x1b[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]](_0x1b20x2+(_0x1b20x15-_0x1b20x4/2)*_0x1b20x18[_0x5826[255]])+_0x5826[168],_0x1b20x1b[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]](_0x1b20x3+(_0x1b20x16-_0x1b20x5/2)*_0x1b20x18[_0x5826[255]])+_0x5826[168],_0x1b20x14[_0x5826[265]][_0x5826[62]](_0x1b20x1b),_0x1b20x1b[_0x5826[62]](_0x1b20x14)):(_0x1b20x18=8==document[_0x5826[5]]?1:_0x1b20x18[_0x5826[255]],_0x1b20x14[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]](_0x1b20x2+(_0x1b20x15-_0x1b20x4/2)*_0x1b20x18)+_0x5826[168],_0x1b20x14[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]](_0x1b20x3+(_0x1b20x16-_0x1b20x5/2)*_0x1b20x18)+_0x5826[168]);_0x1b20xa[_0x5826[124]][_0x5826[347]]=_0x5826[1505]+_0x1b20x13+_0x5826[1506]+_0x1b20x17+_0x5826[1507]+-_0x1b20x17+_0x5826[1508]+_0x1b20x13+_0x5826[1509];_0x1b20xa[_0x5826[124]][_0x5826[1028]]=this[_0x5826[1459]];1>this[_0x5826[724]][_0x5826[1244]]&&(_0x1b20xa[_0x5826[124]][_0x5826[347]]+=_0x5826[459]+100*this[_0x5826[724]][_0x5826[1244]]+_0x5826[460]);_0x1b20x9[_0x5826[124]][_0x5826[187]]=_0x5826[110];_0x1b20xa[_0x5826[62]](_0x1b20x9)}else {8!=document[_0x5826[5]]?(_0x1b20x9[_0x5826[124]][_0x5826[123]]=_0x5826[125],1>this[_0x5826[724]][_0x5826[1244]]&&(_0x1b20x14[_0x5826[124]][_0x5826[347]]=_0x5826[459]+100*this[_0x5826[724]][_0x5826[1244]]+_0x5826[460]),_0x1b20x18=_0x1b20x9[_0x5826[265]],_0x1b20x9[_0x5826[124]][_0x5826[187]]=_0x5826[188],document[_0x5826[112]][_0x5826[62]](_0x1b20x9),_0x1b20x4=_0x1b20x9[_0x5826[359]],_0x1b20x19=_0x1b20x9[_0x5826[167]],mxClient[_0x5826[496]]&&(_0x1b20x16&&_0x1b20x19>_0x1b20x5)&&(_0x1b20x19=_0x1b20x5,_0x1b20x9[_0x5826[124]][_0x5826[119]]=_0x1b20x19+_0x5826[168]),_0x1b20x5=_0x1b20x19,_0x1b20x9[_0x5826[124]][_0x5826[187]]=_0x5826[110],_0x1b20x18[_0x5826[62]](_0x1b20x9),_0x1b20x14[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]](_0x1b20x2+_0x1b20x4*_0x1b20x1b*this[_0x5826[724]][_0x5826[255]])+_0x5826[168],_0x1b20x14[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]](_0x1b20x3+_0x1b20x5*_0x1b20x1a*this[_0x5826[724]][_0x5826[255]])+_0x5826[168]):(1>this[_0x5826[724]][_0x5826[1244]]&&(_0x1b20x9[_0x5826[124]][_0x5826[347]]=_0x5826[459]+100*this[_0x5826[724]][_0x5826[1244]]+_0x5826[460]),_0x1b20x19[_0x5826[124]][_0x5826[361]]=100*_0x1b20x1b+_0x5826[229],_0x1b20x19[_0x5826[124]][_0x5826[125]]=100*_0x1b20x1a+_0x5826[229])}}else {this[_0x5826[1436]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,mxUtils[_0x5826[321]](_0x1b20x9,!1),_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17)}}};mxVmlCanvas2D[_0x5826[202]][_0x5826[1436]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){_0x1b20x5=this[_0x5826[724]];_0x1b20x2=(_0x1b20x2+_0x1b20x5[_0x5826[1126]])*_0x1b20x5[_0x5826[255]];_0x1b20x3=(_0x1b20x3+_0x1b20x5[_0x5826[1125]])*_0x1b20x5[_0x5826[255]];_0x1b20x4=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1487]);_0x1b20x4[_0x5826[124]][_0x5826[117]]=_0x5826[942];_0x1b20x4[_0x5826[124]][_0x5826[119]]=_0x5826[942];_0x1b20x4[_0x5826[1464]]=_0x5826[308];_0x1b20x15=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1469]);_0x1b20x15[_0x5826[352]]=_0x1b20x5[_0x5826[665]];_0x1b20x15[_0x5826[461]]=100*_0x1b20x5[_0x5826[1244]]+_0x5826[229];_0x1b20x4[_0x5826[62]](_0x1b20x15);_0x1b20x15=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1510]);_0x1b20x15[_0x5826[1511]]=_0x5826[128];_0x1b20x15[_0x5826[6]]=_0x5826[1512]+this[_0x5826[1239]](0)+_0x5826[185]+this[_0x5826[1239]](0)+_0x5826[1513]+this[_0x5826[1239]](1)+_0x5826[185]+this[_0x5826[1239]](0);_0x1b20x4[_0x5826[62]](_0x1b20x15);_0x1b20x15=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1514]);_0x1b20x15[_0x5826[124]][_0x5826[103]]=_0x5826[1515]+_0x1b20xa;_0x1b20x15[_0x5826[124]][_0x5826[611]]=_0x1b20xa;_0x1b20x15[_0x5826[124]][_0x5826[486]]=_0x1b20x5[_0x5826[486]];_0x1b20x15[_0x5826[1516]]=_0x1b20x9;_0x1b20x15[_0x5826[747]]=_0x5826[128];_0x1b20xa=Math[_0x5826[488]](_0x1b20x5[_0x5826[487]]*_0x1b20x5[_0x5826[255]]/this[_0x5826[1460]]);_0x1b20x15[_0x5826[124]][_0x5826[487]]=_0x1b20xa+_0x5826[168];(_0x1b20x5[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]&&(_0x1b20x15[_0x5826[124]][_0x5826[1452]]=_0x5826[1447]);(_0x1b20x5[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]&&(_0x1b20x15[_0x5826[124]][_0x5826[666]]=_0x5826[1449]);(_0x1b20x5[_0x5826[666]]&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]]&&(_0x1b20x15[_0x5826[124]][_0x5826[354]]=_0x5826[355]);_0x1b20x9=_0x1b20x9[_0x5826[224]](_0x5826[192]);_0x1b20x5=_0x1b20xa+(_0x1b20x9[_0x5826[67]]-1)*_0x1b20xa*mxConstants[_0x5826[490]];_0x1b20xa=_0x1b20x9=0;_0x1b20x12==mxConstants[_0x5826[482]]?_0x1b20xa=-_0x1b20x5/2:_0x1b20x12!=mxConstants[_0x5826[481]]&&(_0x1b20xa=_0x1b20x5/2);null!=_0x1b20x17&&(_0x1b20x4[_0x5826[124]][_0x5826[603]]=_0x1b20x17,_0x1b20x12=_0x1b20x17*(Math[_0x5826[424]]/180),_0x1b20x9=Math[_0x5826[427]](_0x1b20x12)*_0x1b20xa,_0x1b20xa*=Math[_0x5826[426]](_0x1b20x12));_0x1b20x4[_0x5826[62]](_0x1b20x15);_0x1b20x4[_0x5826[124]][_0x5826[361]]=this[_0x5826[1239]](_0x1b20x2-_0x1b20x9)+_0x5826[168];_0x1b20x4[_0x5826[124]][_0x5826[125]]=this[_0x5826[1239]](_0x1b20x3+_0x1b20xa)+_0x5826[168];this[_0x5826[813]][_0x5826[62]](_0x1b20x4)};mxVmlCanvas2D[_0x5826[202]][_0x5826[1336]]=function(){this[_0x5826[1370]](!1,!0)};mxVmlCanvas2D[_0x5826[202]][_0x5826[1334]]=function(){this[_0x5826[1370]](!0,!1)};mxVmlCanvas2D[_0x5826[202]][_0x5826[1337]]=function(){this[_0x5826[1370]](!0,!0)};function mxGuide(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[1517]](_0x1b20x3)}mxGuide[_0x5826[202]][_0x5826[1179]]=null;mxGuide[_0x5826[202]][_0x5826[1214]]=null;mxGuide[_0x5826[202]][_0x5826[662]]= !0;mxGuide[_0x5826[202]][_0x5826[704]]= !0;mxGuide[_0x5826[202]][_0x5826[1518]]=null;mxGuide[_0x5826[202]][_0x5826[1519]]=null;mxGuide[_0x5826[202]][_0x5826[1517]]=function(_0x1b20x2){this[_0x5826[1214]]=_0x1b20x2};mxGuide[_0x5826[202]][_0x5826[1019]]=function(_0x1b20x2){return !0};mxGuide[_0x5826[202]][_0x5826[1520]]=function(){return this[_0x5826[1179]][_0x5826[1020]]*this[_0x5826[1179]][_0x5826[441]][_0x5826[255]]/2};mxGuide[_0x5826[202]][_0x5826[1521]]=function(_0x1b20x2){_0x1b20x2= new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);_0x1b20x2[_0x5826[1522]]= !0;return _0x1b20x2};mxGuide[_0x5826[202]][_0x5826[582]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=this[_0x5826[1214]]&&(this[_0x5826[662]]||this[_0x5826[704]])&&null!=_0x1b20x2&&null!=_0x1b20x3){var _0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]],_0x1b20x9=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20xa=_0x1b20x3[_0x5826[235]],_0x1b20x12=_0x1b20x3[_0x5826[236]],_0x1b20x13=!1,_0x1b20x14=!1,_0x1b20x15=this[_0x5826[1520]](),_0x1b20x16=_0x1b20x15,_0x1b20x17=_0x1b20x15,_0x1b20x15=_0x1b20x2[_0x5826[238]]();_0x1b20x15[_0x5826[235]]+=_0x1b20x3[_0x5826[235]];_0x1b20x15[_0x5826[236]]+=_0x1b20x3[_0x5826[236]];var _0x1b20x18=_0x1b20x15[_0x5826[235]],_0x1b20x19=_0x1b20x15[_0x5826[235]]+_0x1b20x15[_0x5826[117]],_0x1b20x1a=_0x1b20x15[_0x5826[241]](),_0x1b20x1b=_0x1b20x15[_0x5826[236]],_0x1b20x1c=_0x1b20x15[_0x5826[236]]+_0x1b20x15[_0x5826[119]],_0x1b20x1d=_0x1b20x15[_0x5826[242]]();_0x1b20x3=function(_0x1b20x3){_0x1b20x3+=this[_0x5826[1179]][_0x5826[1136]];var _0x1b20x4=!1;Math[_0x5826[425]](_0x1b20x3-_0x1b20x1a)<_0x1b20x16?(_0x1b20xa=_0x1b20x3-_0x1b20x2[_0x5826[241]](),_0x1b20x16=Math[_0x5826[425]](_0x1b20x3-_0x1b20x1a),_0x1b20x4= !0):Math[_0x5826[425]](_0x1b20x3-_0x1b20x18)<_0x1b20x16?(_0x1b20xa=_0x1b20x3-_0x1b20x2[_0x5826[235]],_0x1b20x16=Math[_0x5826[425]](_0x1b20x3-_0x1b20x18),_0x1b20x4= !0):Math[_0x5826[425]](_0x1b20x3-_0x1b20x19)<_0x1b20x16&&(_0x1b20xa=_0x1b20x3-_0x1b20x2[_0x5826[235]]-_0x1b20x2[_0x5826[117]],_0x1b20x16=Math[_0x5826[425]](_0x1b20x3-_0x1b20x19),_0x1b20x4= !0);if(_0x1b20x4){null==this[_0x5826[1518]]&&(this[_0x5826[1518]]=this[_0x5826[1521]](!0),this[_0x5826[1518]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]],this[_0x5826[1518]][_0x5826[1229]]= !1,this[_0x5826[1518]][_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()));var _0x1b20x5=this[_0x5826[1179]][_0x5826[526]];_0x1b20x3-=this[_0x5826[1179]][_0x5826[1136]];this[_0x5826[1518]][_0x5826[1525]]=[ new mxPoint(_0x1b20x3,-this[_0x5826[1179]][_0x5826[1137]]), new mxPoint(_0x1b20x3,_0x1b20x5[_0x5826[191]]-3-this[_0x5826[1179]][_0x5826[1137]])]};_0x1b20x13=_0x1b20x13||_0x1b20x4};for(var _0x1b20x15=function(_0x1b20x3){_0x1b20x3+=this[_0x5826[1179]][_0x5826[1137]];var _0x1b20x4=!1;Math[_0x5826[425]](_0x1b20x3-_0x1b20x1d)<_0x1b20x17?(_0x1b20x12=_0x1b20x3-_0x1b20x2[_0x5826[242]](),_0x1b20x17=Math[_0x5826[425]](_0x1b20x3-_0x1b20x1d),_0x1b20x4= !0):Math[_0x5826[425]](_0x1b20x3-_0x1b20x1b)<_0x1b20x17?(_0x1b20x12=_0x1b20x3-_0x1b20x2[_0x5826[236]],_0x1b20x17=Math[_0x5826[425]](_0x1b20x3-_0x1b20x1b),_0x1b20x4= !0):Math[_0x5826[425]](_0x1b20x3-_0x1b20x1c)<_0x1b20x17&&(_0x1b20x12=_0x1b20x3-_0x1b20x2[_0x5826[236]]-_0x1b20x2[_0x5826[119]],_0x1b20x17=Math[_0x5826[425]](_0x1b20x3-_0x1b20x1c),_0x1b20x4= !0);if(_0x1b20x4){null==this[_0x5826[1519]]&&(this[_0x5826[1519]]=this[_0x5826[1521]](!1),this[_0x5826[1519]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]],this[_0x5826[1519]][_0x5826[1229]]= !1,this[_0x5826[1519]][_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()));var _0x1b20x5=this[_0x5826[1179]][_0x5826[526]];_0x1b20x3-=this[_0x5826[1179]][_0x5826[1137]];this[_0x5826[1519]][_0x5826[1525]]=[ new mxPoint(-this[_0x5826[1179]][_0x5826[1136]],_0x1b20x3), new mxPoint(_0x1b20x5[_0x5826[1526]]-3-this[_0x5826[1179]][_0x5826[1136]],_0x1b20x3)]};_0x1b20x14=_0x1b20x14||_0x1b20x4},_0x1b20x1e=0;_0x1b20x1e<this[_0x5826[1214]][_0x5826[67]];_0x1b20x1e++){var _0x1b20x1f=this[_0x5826[1214]][_0x1b20x1e];null!=_0x1b20x1f&&(this[_0x5826[662]]&&(_0x1b20x3[_0x5826[239]](this,_0x1b20x1f[_0x5826[241]]()),_0x1b20x3[_0x5826[239]](this,_0x1b20x1f[_0x5826[235]]),_0x1b20x3[_0x5826[239]](this,_0x1b20x1f[_0x5826[235]]+_0x1b20x1f[_0x5826[117]])),this[_0x5826[704]]&&(_0x1b20x15[_0x5826[239]](this,_0x1b20x1f[_0x5826[242]]()),_0x1b20x15[_0x5826[239]](this,_0x1b20x1f[_0x5826[236]]),_0x1b20x15[_0x5826[239]](this,_0x1b20x1f[_0x5826[236]]+_0x1b20x1f[_0x5826[119]])))};!_0x1b20x13&&null!=this[_0x5826[1518]]?this[_0x5826[1518]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188]:null!=this[_0x5826[1518]]&&(this[_0x5826[1518]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[189],this[_0x5826[1518]][_0x5826[258]]());!_0x1b20x14&&null!=this[_0x5826[1519]]?this[_0x5826[1519]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188]:null!=this[_0x5826[1519]]&&(this[_0x5826[1519]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[189],this[_0x5826[1519]][_0x5826[258]]());_0x1b20x4&&(_0x1b20x13||(_0x1b20x4=_0x1b20x2[_0x5826[235]]-(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[235]]/_0x1b20x9-_0x1b20x5[_0x5826[235]])+_0x1b20x5[_0x5826[235]])*_0x1b20x9,_0x1b20xa=this[_0x5826[1179]][_0x5826[1021]](_0x1b20xa/_0x1b20x9)*_0x1b20x9-_0x1b20x4),_0x1b20x14||(_0x1b20x5=_0x1b20x2[_0x5826[236]]-(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[236]]/_0x1b20x9-_0x1b20x5[_0x5826[236]])+_0x1b20x5[_0x5826[236]])*_0x1b20x9,_0x1b20x12=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x12/_0x1b20x9)*_0x1b20x9-_0x1b20x5));_0x1b20x3= new mxPoint(_0x1b20xa,_0x1b20x12)};return _0x1b20x3};mxGuide[_0x5826[202]][_0x5826[801]]=function(){null!=this[_0x5826[1518]]&&(this[_0x5826[1518]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188]);null!=this[_0x5826[1519]]&&(this[_0x5826[1519]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188])};mxGuide[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[1518]]&&(this[_0x5826[1518]][_0x5826[515]](),this[_0x5826[1518]]=null);null!=this[_0x5826[1519]]&&(this[_0x5826[1519]][_0x5826[515]](),this[_0x5826[1519]]=null)};function mxStencil(_0x1b20x2){this[_0x5826[1527]]=_0x1b20x2;this[_0x5826[1528]]();this[_0x5826[1529]]()}mxStencil[_0x5826[1530]]= !1;mxStencil[_0x5826[202]][_0x5826[1527]]=null;mxStencil[_0x5826[202]][_0x5826[1531]]=null;mxStencil[_0x5826[202]][_0x5826[1322]]=null;mxStencil[_0x5826[202]][_0x5826[1532]]=null;mxStencil[_0x5826[202]][_0x5826[1533]]=null;mxStencil[_0x5826[202]][_0x5826[1534]]=null;mxStencil[_0x5826[202]][_0x5826[1535]]=null;mxStencil[_0x5826[202]][_0x5826[1307]]=null;mxStencil[_0x5826[202]][_0x5826[1528]]=function(){this[_0x5826[1535]]=this[_0x5826[1527]][_0x5826[64]](_0x5826[1536])[0];this[_0x5826[1534]]=this[_0x5826[1527]][_0x5826[64]](_0x5826[1537])[0];this[_0x5826[1532]]=Number(this[_0x5826[1527]][_0x5826[284]](_0x5826[1302])||100);this[_0x5826[1533]]=Number(this[_0x5826[1527]][_0x5826[284]](_0x5826[1303])||100);var _0x1b20x2=this[_0x5826[1527]][_0x5826[284]](_0x5826[1322]);this[_0x5826[1322]]=null!=_0x1b20x2?_0x1b20x2:_0x5826[1538];_0x1b20x2=this[_0x5826[1527]][_0x5826[284]](_0x5826[1307]);this[_0x5826[1307]]=null!=_0x1b20x2?_0x1b20x2:_0x5826[500]};mxStencil[_0x5826[202]][_0x5826[1529]]=function(){var _0x1b20x2=this[_0x5826[1527]][_0x5826[64]](_0x5826[1539])[0];if(null!=_0x1b20x2&&(_0x1b20x2=mxUtils[_0x5826[1540]](_0x1b20x2),null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]])){this[_0x5826[1531]]=[];for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){this[_0x5826[1531]][_0x5826[207]](this[_0x5826[1541]](_0x1b20x2[_0x1b20x3]))}}};mxStencil[_0x5826[202]][_0x5826[1541]]=function(_0x1b20x2){var _0x1b20x3=Number(_0x1b20x2[_0x5826[284]](_0x5826[235])),_0x1b20x4=Number(_0x1b20x2[_0x5826[284]](_0x5826[236]));_0x1b20x2=_0x5826[500]==_0x1b20x2[_0x5826[284]](_0x5826[591]);return new mxConnectionConstraint( new mxPoint(_0x1b20x3,_0x1b20x4),_0x1b20x2)};mxStencil[_0x5826[202]][_0x5826[1542]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=this[_0x5826[1543]](_0x1b20x2,_0x1b20x3,_0x1b20x4);_0x1b20x2=_0x1b20x2[_0x5826[284]](_0x5826[1544]);if(mxStencil[_0x5826[1530]]&&null==_0x1b20x2||_0x5826[500]==_0x1b20x2){_0x1b20x3=mxResources[_0x5826[203]](_0x1b20x3)};return _0x1b20x3};mxStencil[_0x5826[202]][_0x5826[1543]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=_0x1b20x2[_0x5826[284]](_0x1b20x3);null==_0x1b20x3&&(_0x1b20x2=mxUtils[_0x5826[329]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x2=mxUtils[_0x5826[1545]](_0x1b20x2),_0x5826[279]== typeof _0x1b20x2&&(_0x1b20x3=_0x1b20x2(_0x1b20x4))));return _0x1b20x3};mxStencil[_0x5826[202]][_0x5826[1546]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1547]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,this[_0x5826[1534]],!1);this[_0x5826[1547]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,this[_0x5826[1535]],!0)};mxStencil[_0x5826[202]][_0x5826[1547]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){if(null!=_0x1b20x12){var _0x1b20x14=mxUtils[_0x5826[433]](_0x1b20x3[_0x5826[124]],mxConstants.STYLE_DIRECTION,null);_0x1b20x4=this[_0x5826[1548]](_0x1b20x3[_0x5826[124]],_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x14);_0x1b20x5=Math[_0x5826[243]](_0x1b20x4[_0x5826[117]],_0x1b20x4[_0x5826[119]]);_0x1b20x5=_0x5826[1549]==this[_0x5826[1307]]?Number(mxUtils[_0x5826[1550]](_0x1b20x3[_0x5826[124]],mxConstants.STYLE_STROKEWIDTH,1)):Number(this[_0x5826[1307]])*_0x1b20x5;_0x1b20x2[_0x5826[1250]](_0x1b20x5);for(_0x1b20x12=_0x1b20x12[_0x5826[285]];null!=_0x1b20x12;){_0x1b20x12[_0x5826[288]]==mxConstants[_0x5826[289]]&&this[_0x5826[1551]](_0x1b20x2,_0x1b20x3,_0x1b20x12,_0x1b20x4,_0x1b20x13),_0x1b20x12=_0x1b20x12[_0x5826[287]]}}};mxStencil[_0x5826[202]][_0x5826[1548]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x2=_0x1b20x3;_0x1b20x3=_0x1b20x5/this[_0x5826[1532]];var _0x1b20x12=_0x1b20x9/this[_0x5826[1533]];if(_0x1b20xa=_0x5826[700]==_0x1b20xa||_0x5826[701]==_0x1b20xa){_0x1b20x12=_0x1b20x5/this[_0x5826[1533]];_0x1b20x3=_0x1b20x9/this[_0x5826[1532]];var _0x1b20x13=(_0x1b20x5-_0x1b20x9)/2;_0x1b20x2+=_0x1b20x13;_0x1b20x4-=_0x1b20x13};_0x5826[1552]==this[_0x5826[1322]]&&(_0x1b20x3=_0x1b20x12=Math[_0x5826[243]](_0x1b20x3,_0x1b20x12),_0x1b20xa?(_0x1b20x2+=(_0x1b20x9-this[_0x5826[1532]]*_0x1b20x3)/2,_0x1b20x4+=(_0x1b20x5-this[_0x5826[1533]]*_0x1b20x12)/2):(_0x1b20x2+=(_0x1b20x5-this[_0x5826[1532]]*_0x1b20x3)/2,_0x1b20x4+=(_0x1b20x9-this[_0x5826[1533]]*_0x1b20x12)/2));return new mxRectangle(_0x1b20x2,_0x1b20x4,_0x1b20x3,_0x1b20x12)};mxStencil[_0x5826[202]][_0x5826[1551]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x4[_0x5826[301]],_0x1b20x12=_0x1b20x5[_0x5826[235]],_0x1b20x13=_0x1b20x5[_0x5826[236]],_0x1b20x14=_0x1b20x5[_0x5826[117]],_0x1b20x15=_0x1b20x5[_0x5826[119]],_0x1b20x16=Math[_0x5826[243]](_0x1b20x14,_0x1b20x15);if(_0x5826[815]==_0x1b20xa){_0x1b20x2[_0x5826[815]]()}else {if(_0x5826[1210]==_0x1b20xa){_0x1b20x2[_0x5826[1210]]()}else {if(_0x5826[1215]==_0x1b20xa){_0x1b20x2[_0x5826[1275]]();for(_0x1b20x4=_0x1b20x4[_0x5826[285]];null!=_0x1b20x4;){_0x1b20x4[_0x5826[288]]==mxConstants[_0x5826[289]]&&this[_0x5826[1551]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x4=_0x1b20x4[_0x5826[287]]}}else {if(_0x5826[268]==_0x1b20xa){_0x1b20x2[_0x5826[268]]()}else {if(_0x5826[582]==_0x1b20xa){_0x1b20x2[_0x5826[1276]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15)}else {if(_0x5826[683]==_0x1b20xa){_0x1b20x2[_0x5826[1277]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15)}else {if(_0x5826[1323]==_0x1b20xa){_0x1b20x2[_0x5826[1278]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[1324]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[1325]))*_0x1b20x15,_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[1326]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[1327]))*_0x1b20x15)}else {if(_0x5826[1328]==_0x1b20xa){_0x1b20x2[_0x5826[1279]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[1324]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[1325]))*_0x1b20x15,_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[1326]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[1327]))*_0x1b20x15,_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[1329]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[1330]))*_0x1b20x15)}else {if(_0x5826[1553]==_0x1b20xa){_0x1b20x2[_0x5826[1280]](Number(_0x1b20x4[_0x5826[284]](_0x5826[1397]))*_0x1b20x14,Number(_0x1b20x4[_0x5826[284]](_0x5826[1398]))*_0x1b20x15,Number(_0x1b20x4[_0x5826[284]](_0x5826[1554])),Number(_0x1b20x4[_0x5826[284]](_0x5826[1555])),Number(_0x1b20x4[_0x5826[284]](_0x5826[1556])),_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15)}else {if(_0x5826[1319]==_0x1b20xa){_0x1b20x2[_0x5826[1319]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,Number(_0x1b20x4[_0x5826[284]](_0x5826[1302]))*_0x1b20x14,Number(_0x1b20x4[_0x5826[284]](_0x5826[1303]))*_0x1b20x15)}else {if(_0x5826[1320]==_0x1b20xa){_0x1b20x3=_0x1b20x4[_0x5826[284]](_0x5826[1492]),0==_0x1b20x3&&(_0x1b20x3=100*mxConstants[_0x5826[1557]]),_0x1b20x16=Number(_0x1b20x4[_0x5826[284]](_0x5826[1302]))*_0x1b20x14,_0x1b20x5=Number(_0x1b20x4[_0x5826[284]](_0x5826[1303]))*_0x1b20x15,_0x1b20x3=Number(_0x1b20x3)/100,_0x1b20x3=Math[_0x5826[243]](_0x1b20x16*_0x1b20x3,_0x1b20x5*_0x1b20x3),_0x1b20x2[_0x5826[1320]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,_0x1b20x16,_0x1b20x5,_0x1b20x3,_0x1b20x3)}else {if(_0x5826[680]==_0x1b20xa){_0x1b20x2[_0x5826[680]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,Number(_0x1b20x4[_0x5826[284]](_0x5826[1302]))*_0x1b20x14,Number(_0x1b20x4[_0x5826[284]](_0x5826[1303]))*_0x1b20x15)}else {if(_0x5826[618]==_0x1b20xa){_0x1b20x3=this[_0x5826[1543]](_0x1b20x4,_0x5826[390],_0x1b20x3),_0x1b20x2[_0x5826[618]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,Number(_0x1b20x4[_0x5826[284]](_0x5826[1302]))*_0x1b20x14,Number(_0x1b20x4[_0x5826[284]](_0x5826[1303]))*_0x1b20x15,_0x1b20x3,!1,_0x5826[500]==_0x1b20x4[_0x5826[284]](_0x5826[623]),_0x5826[500]==_0x1b20x4[_0x5826[284]](_0x5826[624]))}else {if(_0x5826[963]==_0x1b20xa){_0x1b20x16=this[_0x5826[1542]](_0x1b20x4,_0x5826[1332],_0x1b20x3);_0x1b20x5=_0x5826[500]==_0x1b20x4[_0x5826[284]](_0x5826[704])?-90:0;if(_0x5826[468]==_0x1b20x4[_0x5826[284]](_0x5826[1558])){var _0x1b20x17=_0x1b20x3[_0x5826[603]],_0x1b20x18=1==mxUtils[_0x5826[433]](_0x1b20x3[_0x5826[124]],mxConstants.STYLE_FLIPH,0);_0x1b20x3=1==mxUtils[_0x5826[433]](_0x1b20x3[_0x5826[124]],mxConstants.STYLE_FLIPV,0);_0x1b20x5=_0x1b20x18&&_0x1b20x3?_0x1b20x5-_0x1b20x17:_0x1b20x18||_0x1b20x3?_0x1b20x5+_0x1b20x17:_0x1b20x5-_0x1b20x17};_0x1b20x5-=_0x1b20x4[_0x5826[284]](_0x5826[603]);_0x1b20x2[_0x5826[963]](_0x1b20x12+Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,0,0,_0x1b20x16,_0x1b20x4[_0x5826[284]](_0x5826[611])||_0x5826[361],_0x1b20x4[_0x5826[284]](_0x5826[552])||_0x5826[125],!1,_0x5826[110],!1,!1,_0x1b20x5)}else {if(_0x5826[1559]==_0x1b20xa){_0x1b20x17=mxStencilRegistry[_0x5826[1560]](_0x1b20x4[_0x5826[284]](_0x5826[298])),null!=_0x1b20x17&&(_0x1b20x12+=Number(_0x1b20x4[_0x5826[284]](_0x5826[235]))*_0x1b20x14,_0x1b20x13+=Number(_0x1b20x4[_0x5826[284]](_0x5826[236]))*_0x1b20x15,_0x1b20x16=Number(_0x1b20x4[_0x5826[284]](_0x5826[1302]))*_0x1b20x14,_0x1b20x5=Number(_0x1b20x4[_0x5826[284]](_0x5826[1303]))*_0x1b20x15,_0x1b20x17[_0x5826[1546]](_0x1b20x2,_0x1b20x3,_0x1b20x12,_0x1b20x13,_0x1b20x16,_0x1b20x5))}else {if(_0x5826[1338]==_0x1b20xa){_0x1b20x2[_0x5826[1337]]()}else {if(_0x5826[1334]==_0x1b20xa){_0x1b20x2[_0x5826[1334]]()}else {if(_0x5826[1336]==_0x1b20xa){_0x1b20x2[_0x5826[1336]]()}else {if(_0x5826[1307]==_0x1b20xa){_0x1b20x2[_0x5826[1250]](Number(_0x1b20x4[_0x5826[284]](_0x5826[117]))*_0x1b20x16)}else {if(_0x5826[648]==_0x1b20xa){_0x1b20x2[_0x5826[1251]](_0x5826[500]==_0x1b20x4[_0x5826[284]](_0x5826[648]))}else {if(_0x5826[1308]==_0x1b20xa){if(_0x1b20x4=_0x1b20x4[_0x5826[284]](_0x5826[1309]),null!=_0x1b20x4){_0x1b20x4=_0x1b20x4[_0x5826[224]](_0x5826[185]);_0x1b20x14=[];for(_0x1b20x15=0;_0x1b20x15<_0x1b20x4[_0x5826[67]];_0x1b20x15++){0<_0x1b20x4[_0x1b20x15][_0x5826[67]]&&_0x1b20x14[_0x5826[207]](Number(_0x1b20x4[_0x1b20x15])*_0x1b20x16)};_0x1b20x4=_0x1b20x14[_0x5826[234]](_0x5826[185]);_0x1b20x2[_0x5826[1252]](_0x1b20x4)}}else {_0x5826[1306]==_0x1b20xa?_0x1b20x2[_0x5826[1249]](_0x1b20x4[_0x5826[284]](_0x5826[352])):_0x5826[1310]==_0x1b20xa?_0x1b20x2[_0x5826[1253]](_0x1b20x4[_0x5826[284]](_0x5826[1311])):_0x5826[1312]==_0x1b20xa?_0x1b20x2[_0x5826[1255]](_0x1b20x4[_0x5826[284]](_0x5826[234])):_0x5826[1313]==_0x1b20xa?_0x1b20x2[_0x5826[1257]](Number(_0x1b20x4[_0x5826[284]](_0x5826[1314]))):_0x5826[1298]==_0x1b20xa?_0x1b20x2[_0x5826[1245]](_0x1b20x4[_0x5826[284]](_0x5826[352])):_0x5826[1244]==_0x1b20xa?_0x1b20x2[_0x5826[1243]](_0x1b20x4[_0x5826[284]](_0x5826[1244])):_0x5826[1315]==_0x1b20xa?_0x1b20x2[_0x5826[1259]](_0x1b20x4[_0x5826[284]](_0x5826[352])):_0x5826[1318]==_0x1b20xa?_0x1b20x2[_0x5826[1266]](_0x1b20x4[_0x5826[284]](_0x5826[124])):_0x5826[1287]==_0x1b20xa?_0x1b20x2[_0x5826[1265]](_0x1b20x4[_0x5826[284]](_0x5826[1288])):_0x5826[1289]==_0x1b20xa&&_0x1b20x2[_0x5826[1264]](Number(_0x1b20x4[_0x5826[284]](_0x5826[803]))*_0x1b20x16)}}}}}}}}}}}}}}}}}}}}};_0x1b20x9&&(_0x5826[1338]==_0x1b20xa||_0x5826[1334]==_0x1b20xa||_0x5826[1336]==_0x1b20xa)&&_0x1b20x2[_0x5826[1267]](!1)};function mxShape(_0x1b20x2){this[_0x5826[1561]]=_0x1b20x2;this[_0x5826[1307]]=1;this[_0x5826[603]]=0;this[_0x5826[461]]=100;this[_0x5826[624]]=this[_0x5826[623]]= !1}mxShape[_0x5826[202]][_0x5826[507]]=null;mxShape[_0x5826[202]][_0x5826[255]]=1;mxShape[_0x5826[202]][_0x5826[1562]]=null;mxShape[_0x5826[202]][_0x5826[1525]]=null;mxShape[_0x5826[202]][_0x5826[252]]=null;mxShape[_0x5826[202]][_0x5826[124]]=null;mxShape[_0x5826[202]][_0x5826[124]]=null;mxShape[_0x5826[202]][_0x5826[1563]]=null;mxShape[_0x5826[202]][_0x5826[1561]]=null;mxShape[_0x5826[202]][_0x5826[1564]]=6;mxShape[_0x5826[202]][_0x5826[1229]]= !0;mxShape[_0x5826[202]][_0x5826[1565]]= !1;mxShape[_0x5826[202]][_0x5826[1460]]=1;mxShape[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2){null==this[_0x5826[252]]&&(this[_0x5826[252]]=this[_0x5826[385]](_0x1b20x2),null!=_0x1b20x2&&_0x1b20x2[_0x5826[62]](this[_0x5826[252]]))};mxShape[_0x5826[202]][_0x5826[1566]]=function(){return !0};mxShape[_0x5826[202]][_0x5826[1567]]=function(){return !1};mxShape[_0x5826[202]][_0x5826[1568]]=function(){return 1==mxUtils[_0x5826[1454]](Math[_0x5826[160]](1,Math[_0x5826[488]](this[_0x5826[1307]]*this[_0x5826[255]])),2)?0.5:0};mxShape[_0x5826[202]][_0x5826[385]]=function(_0x1b20x2){var _0x1b20x3=null;return _0x1b20x3=null!=_0x1b20x2[_0x5826[538]]?this[_0x5826[1569]](_0x1b20x2):8==document[_0x5826[5]]||this[_0x5826[507]]==mxConstants[_0x5826[508]]||this[_0x5826[507]]!=mxConstants[_0x5826[1523]]&&this[_0x5826[1567]]()?this[_0x5826[1570]](_0x1b20x2):this[_0x5826[1571]](_0x1b20x2)};mxShape[_0x5826[202]][_0x5826[1569]]=function(){return document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449])};mxShape[_0x5826[202]][_0x5826[1571]]=function(){var _0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1499]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1570]]=function(){var _0x1b20x2=document[_0x5826[55]](_0x5826[485]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1572]]=function(){this[_0x5826[258]]()};mxShape[_0x5826[202]][_0x5826[258]]=function(){this[_0x5826[1573]]();this[_0x5826[1574]]()?(this[_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[110],_0x5826[529]==this[_0x5826[252]][_0x5826[301]]&&this[_0x5826[1567]]()?this[_0x5826[1575]]():this[_0x5826[1576]](),this[_0x5826[1577]]()):(this[_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188],this[_0x5826[1563]]=null)};mxShape[_0x5826[202]][_0x5826[1573]]=function(){var _0x1b20x2=this[_0x5826[1525]];if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]&&null!=_0x1b20x2[0]){this[_0x5826[1562]]= new mxRectangle(Number(_0x1b20x2[0][_0x5826[235]]),Number(_0x1b20x2[0][_0x5826[236]]),1,1);for(var _0x1b20x3=1;_0x1b20x3<this[_0x5826[1525]][_0x5826[67]];_0x1b20x3++){null!=_0x1b20x2[_0x1b20x3]&&this[_0x5826[1562]][_0x5826[99]]( new mxRectangle(Number(_0x1b20x2[_0x1b20x3][_0x5826[235]]),Number(_0x1b20x2[_0x1b20x3][_0x5826[236]]),1,1))}}};mxShape[_0x5826[202]][_0x5826[1574]]=function(){return null!=this[_0x5826[1562]]&&!isNaN(this[_0x5826[1562]][_0x5826[235]])&&!isNaN(this[_0x5826[1562]][_0x5826[236]])&&!isNaN(this[_0x5826[1562]][_0x5826[117]])&&!isNaN(this[_0x5826[1562]][_0x5826[119]])&&0<this[_0x5826[1562]][_0x5826[117]]&&0<this[_0x5826[1562]][_0x5826[119]]};mxShape[_0x5826[202]][_0x5826[1578]]=function(){var _0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1499]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x2[_0x5826[124]][_0x5826[117]]=this[_0x5826[252]][_0x5826[124]][_0x5826[117]];_0x1b20x2[_0x5826[124]][_0x5826[119]]=this[_0x5826[252]][_0x5826[124]][_0x5826[119]];return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1576]]=function(){var _0x1b20x2=this[_0x5826[1579]]();for(_0x1b20x2[_0x5826[1229]]=this[_0x5826[1229]];this[_0x5826[252]][_0x5826[1580]]();){this[_0x5826[252]][_0x5826[266]](this[_0x5826[252]][_0x5826[1581]])};this[_0x5826[1209]](_0x1b20x2);this[_0x5826[252]]!=_0x1b20x2[_0x5826[813]]&&this[_0x5826[252]][_0x5826[1583]](_0x5826[1582],_0x1b20x2[_0x5826[813]][_0x5826[342]]);_0x5826[529]==this[_0x5826[252]][_0x5826[301]]&&8==document[_0x5826[5]]&&(this[_0x5826[252]][_0x5826[124]][_0x5826[347]]=_0x5826[110],(null==this[_0x5826[1561]]||!this[_0x5826[1565]])&&mxUtils[_0x5826[1584]](this[_0x5826[252]]));this[_0x5826[1585]](_0x1b20x2)};mxShape[_0x5826[202]][_0x5826[1579]]=function(){var _0x1b20x2=null,_0x1b20x3=null;if(null!=this[_0x5826[252]][_0x5826[538]]){_0x1b20x2= new mxSvgCanvas2D(this[_0x5826[252]],!1),_0x1b20x2[_0x5826[1345]]=this[_0x5826[1564]],_0x1b20x2[_0x5826[1347]]=mxClient[_0x5826[133]]&&!mxClient[_0x5826[75]]&&!mxClient[_0x5826[76]],_0x1b20x3=this[_0x5826[1568]](),0!=_0x1b20x3?this[_0x5826[252]][_0x5826[57]](_0x5826[535],_0x5826[536]+_0x1b20x3+_0x5826[537]+_0x1b20x3+_0x5826[460]):this[_0x5826[252]][_0x5826[1390]](_0x5826[535])}else {this[_0x5826[1586]]();var _0x1b20x4=Math[_0x5826[160]](1,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[117]])),_0x1b20x5=Math[_0x5826[160]](1,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[119]])),_0x1b20x3=8==document[_0x5826[5]]&&this[_0x5826[1566]]()?this[_0x5826[1578]]():this[_0x5826[252]],_0x1b20x2= new mxVmlCanvas2D(_0x1b20x3,!1);_0x5826[110]!=_0x1b20x3[_0x5826[337]]&&(_0x1b20x3[_0x5826[1462]]=_0x1b20x4*this[_0x5826[1460]]+_0x5826[537]+_0x1b20x5*this[_0x5826[1460]],_0x1b20x2[_0x5826[255]](this[_0x5826[1460]]),_0x1b20x2[_0x5826[1460]]=this[_0x5826[1460]]);_0x1b20x3=this[_0x5826[255]];_0x1b20x2[_0x5826[513]](-Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]]/_0x1b20x3),-Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]]/_0x1b20x3))};return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1586]]=function(){this[_0x5826[252]][_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]])+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]])+_0x5826[168];var _0x1b20x2=Math[_0x5826[160]](1,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[117]])),_0x1b20x3=Math[_0x5826[160]](1,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[119]]));this[_0x5826[252]][_0x5826[124]][_0x5826[117]]=_0x1b20x2+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[277]]=_0x5826[189]};mxShape[_0x5826[202]][_0x5826[1585]]=function(_0x1b20x2){if(_0x1b20x2 instanceof mxSvgCanvas2D){for(var _0x1b20x3 in _0x1b20x2[_0x5826[1339]]){var _0x1b20x4=_0x1b20x2[_0x5826[1339]][_0x1b20x3];_0x1b20x4[_0x5826[1587]]=(_0x1b20x4[_0x5826[1587]]||0)+1};this[_0x5826[1589]](this[_0x5826[1588]]);this[_0x5826[1588]]=_0x1b20x2[_0x5826[1339]]}};mxShape[_0x5826[202]][_0x5826[1209]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[255]],_0x1b20x4=this[_0x5826[1562]][_0x5826[235]]/_0x1b20x3,_0x1b20x5=this[_0x5826[1562]][_0x5826[236]]/_0x1b20x3,_0x1b20x9=this[_0x5826[1562]][_0x5826[117]]/_0x1b20x3,_0x1b20xa=this[_0x5826[1562]][_0x5826[119]]/_0x1b20x3;if(this[_0x5826[1590]]()){var _0x1b20x12=(_0x1b20x9-_0x1b20xa)/2,_0x1b20x4=_0x1b20x4+_0x1b20x12,_0x1b20x5=_0x1b20x5-_0x1b20x12,_0x1b20x12=_0x1b20x9,_0x1b20x9=_0x1b20xa,_0x1b20xa=_0x1b20x12};this[_0x5826[1591]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa);this[_0x5826[1592]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa);if(null!=this[_0x5826[1561]]){this[_0x5826[1593]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa)}else {if(_0x1b20x2[_0x5826[1250]](this[_0x5826[1307]]),null!=this[_0x5826[1525]]){_0x1b20x4=[];for(_0x1b20x5=0;_0x1b20x5<this[_0x5826[1525]][_0x5826[67]];_0x1b20x5++){_0x1b20x4[_0x5826[207]]( new mxPoint(this[_0x5826[1525]][_0x1b20x5][_0x5826[235]]/_0x1b20x3,this[_0x5826[1525]][_0x1b20x5][_0x5826[236]]/_0x1b20x3))};this[_0x5826[1594]](_0x1b20x2,_0x1b20x4)}else {this[_0x5826[1595]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa)}}};mxShape[_0x5826[202]][_0x5826[1592]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=null;null!=this[_0x5826[124]]&&(_0x1b20xa=this[_0x5826[124]][_0x5826[649]]);_0x1b20x2[_0x5826[1243]](this[_0x5826[461]]/100);null!=this[_0x5826[1596]]&&_0x1b20x2[_0x5826[1267]](this[_0x5826[1596]]);null!=this[_0x5826[1522]]&&_0x1b20x2[_0x5826[1251]](this[_0x5826[1522]]);null!=_0x1b20xa&&_0x1b20x2[_0x5826[1252]](_0x1b20xa);null!=this[_0x5826[1299]]?(_0x1b20x3=this[_0x5826[1597]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[1246]](this[_0x5826[1334]],this[_0x5826[1299]],_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]],this[_0x5826[607]])):_0x1b20x2[_0x5826[1245]](this[_0x5826[1334]]);_0x1b20x2[_0x5826[1249]](this[_0x5826[1336]])};mxShape[_0x5826[202]][_0x5826[1597]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return new mxRectangle(_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)};mxShape[_0x5826[202]][_0x5826[1591]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[255]](this[_0x5826[255]]);_0x1b20x2[_0x5826[1294]](this[_0x5826[1598]](),this[_0x5826[623]],this[_0x5826[624]],_0x1b20x3+_0x1b20x5/2,_0x1b20x4+_0x1b20x9/2)};mxShape[_0x5826[202]][_0x5826[1593]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){this[_0x5826[1565]]&&(this[_0x5826[507]]==mxConstants[_0x5826[508]]?this[_0x5826[1599]](this[_0x5826[252]],_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9):8!=document[_0x5826[5]]&&this[_0x5826[1600]](this[_0x5826[252]]));this[_0x5826[1561]][_0x5826[1546]](_0x1b20x2,this,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)};mxShape[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){this[_0x5826[1601]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1267]](!1);this[_0x5826[1602]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)};mxShape[_0x5826[202]][_0x5826[1601]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){};mxShape[_0x5826[202]][_0x5826[1602]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){};mxShape[_0x5826[202]][_0x5826[1594]]=function(_0x1b20x2,_0x1b20x3){};mxShape[_0x5826[202]][_0x5826[1603]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0x5826[1557]])/100;return Math[_0x5826[243]](_0x1b20x2*_0x1b20x4,_0x1b20x3*_0x1b20x4)};mxShape[_0x5826[202]][_0x5826[1604]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=Math[_0x5826[430]](this[_0x5826[1307]]/2);_0x1b20x2[_0x5826[1246]](_0x5826[1605],_0x5826[1605],_0x1b20x3,_0x1b20x4,_0x1b20x5,0.6*_0x1b20x9,_0x5826[701],0.9,0.1);_0x1b20x2[_0x5826[1275]]();_0x1b20xa+=2*_0x1b20x12;this[_0x5826[1606]]?(_0x1b20x2[_0x5826[1276]](_0x1b20x3-_0x1b20x12+_0x1b20xa,_0x1b20x4-_0x1b20x12),_0x1b20x2[_0x5826[1278]](_0x1b20x3-_0x1b20x12,_0x1b20x4-_0x1b20x12,_0x1b20x3-_0x1b20x12,_0x1b20x4-_0x1b20x12+_0x1b20xa),_0x1b20x2[_0x5826[1277]](_0x1b20x3-_0x1b20x12,_0x1b20x4+0.4*_0x1b20x9),_0x1b20x2[_0x5826[1278]](_0x1b20x3+0.5*_0x1b20x5,_0x1b20x4+0.7*_0x1b20x9,_0x1b20x3+_0x1b20x5+_0x1b20x12,_0x1b20x4+0.4*_0x1b20x9),_0x1b20x2[_0x5826[1277]](_0x1b20x3+_0x1b20x5+_0x1b20x12,_0x1b20x4-_0x1b20x12+_0x1b20xa),_0x1b20x2[_0x5826[1278]](_0x1b20x3+_0x1b20x5+_0x1b20x12,_0x1b20x4-_0x1b20x12,_0x1b20x3+_0x1b20x5+_0x1b20x12-_0x1b20xa,_0x1b20x4-_0x1b20x12)):(_0x1b20x2[_0x5826[1276]](_0x1b20x3-_0x1b20x12,_0x1b20x4-_0x1b20x12),_0x1b20x2[_0x5826[1277]](_0x1b20x3-_0x1b20x12,_0x1b20x4+0.4*_0x1b20x9),_0x1b20x2[_0x5826[1278]](_0x1b20x3+0.5*_0x1b20x5,_0x1b20x4+0.7*_0x1b20x9,_0x1b20x3+_0x1b20x5+_0x1b20x12,_0x1b20x4+0.4*_0x1b20x9),_0x1b20x2[_0x5826[1277]](_0x1b20x3+_0x1b20x5+_0x1b20x12,_0x1b20x4-_0x1b20x12));_0x1b20x2[_0x5826[268]]();_0x1b20x2[_0x5826[1334]]()};mxShape[_0x5826[202]][_0x5826[183]]=function(_0x1b20x2){this[_0x5826[724]]=_0x1b20x2;this[_0x5826[124]]=_0x1b20x2[_0x5826[124]];if(null!=this[_0x5826[124]]){this[_0x5826[1334]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_FILLCOLOR,this[_0x5826[1334]]);this[_0x5826[1299]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_GRADIENTCOLOR,this[_0x5826[1299]]);this[_0x5826[607]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_GRADIENT_DIRECTION,this[_0x5826[607]]);this[_0x5826[461]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_OPACITY,this[_0x5826[461]]);this[_0x5826[1336]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_STROKECOLOR,this[_0x5826[1336]]);this[_0x5826[1307]]=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_STROKEWIDTH,this[_0x5826[1307]]);this[_0x5826[657]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_SPACING,this[_0x5826[657]]);this[_0x5826[644]]=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_STARTSIZE,this[_0x5826[644]]);this[_0x5826[643]]=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_ENDSIZE,this[_0x5826[643]]);this[_0x5826[642]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_STARTARROW,this[_0x5826[642]]);this[_0x5826[641]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ENDARROW,this[_0x5826[641]]);this[_0x5826[603]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ROTATION,this[_0x5826[603]]);this[_0x5826[663]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_DIRECTION,this[_0x5826[663]]);this[_0x5826[623]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_FLIPH,0);this[_0x5826[624]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_FLIPV,0);null!=this[_0x5826[1561]]&&(this[_0x5826[623]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],_0x5826[1607],0)||this[_0x5826[623]],this[_0x5826[624]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],_0x5826[1608],0)||this[_0x5826[624]]);if(_0x5826[700]==this[_0x5826[663]]||_0x5826[701]==this[_0x5826[663]]){_0x1b20x2=this[_0x5826[623]],this[_0x5826[623]]=this[_0x5826[624]],this[_0x5826[624]]=_0x1b20x2};this[_0x5826[1596]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_SHADOW,this[_0x5826[1596]]);this[_0x5826[1522]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_DASHED,this[_0x5826[1522]]);this[_0x5826[1606]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ROUNDED,this[_0x5826[1606]]);this[_0x5826[617]]=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_GLASS,this[_0x5826[617]]);_0x5826[130]==this[_0x5826[1334]]&&(this[_0x5826[1334]]=null);_0x5826[130]==this[_0x5826[1299]]&&(this[_0x5826[1299]]=null);_0x5826[130]==this[_0x5826[1336]]&&(this[_0x5826[1336]]=null)}};mxShape[_0x5826[202]][_0x5826[1609]]=function(_0x1b20x2){null==_0x1b20x2&&(_0x1b20x2=_0x5826[110]);this[_0x5826[270]]=_0x1b20x2;null!=this[_0x5826[252]]&&(this[_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x1b20x2)};mxShape[_0x5826[202]][_0x5826[1610]]=function(){return this[_0x5826[270]]};mxShape[_0x5826[202]][_0x5826[1577]]=function(){if(null!=this[_0x5826[1562]]){var _0x1b20x2=this[_0x5826[1611]]();if(null!=_0x1b20x2){this[_0x5826[1612]](_0x1b20x2);var _0x1b20x3=this[_0x5826[1598]]();0!=_0x1b20x3&&(_0x1b20x2=mxUtils[_0x5826[1613]](_0x1b20x2,_0x1b20x3));_0x1b20x2[_0x5826[235]]=Math[_0x5826[519]](_0x1b20x2[_0x5826[235]]);_0x1b20x2[_0x5826[236]]=Math[_0x5826[519]](_0x1b20x2[_0x5826[236]]);_0x1b20x2[_0x5826[117]]=Math[_0x5826[430]](_0x1b20x2[_0x5826[117]]);_0x1b20x2[_0x5826[119]]=Math[_0x5826[430]](_0x1b20x2[_0x5826[119]])};this[_0x5826[1563]]=_0x1b20x2}};mxShape[_0x5826[202]][_0x5826[1611]]=function(){var _0x1b20x2=this[_0x5826[1562]][_0x5826[238]]();if(this[_0x5826[1590]]()){var _0x1b20x3=(_0x1b20x2[_0x5826[117]]-_0x1b20x2[_0x5826[119]])/2;_0x1b20x2[_0x5826[235]]+=_0x1b20x3;_0x1b20x2[_0x5826[236]]-=_0x1b20x3;_0x1b20x3=_0x1b20x2[_0x5826[117]];_0x1b20x2[_0x5826[117]]=_0x1b20x2[_0x5826[119]];_0x1b20x2[_0x5826[119]]=_0x1b20x3};return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1612]]=function(_0x1b20x2){this[_0x5826[1596]]&&(_0x1b20x2[_0x5826[117]]+=Math[_0x5826[430]](mxConstants[_0x5826[1237]]*this[_0x5826[255]]),_0x1b20x2[_0x5826[119]]+=Math[_0x5826[430]](mxConstants[_0x5826[1238]]*this[_0x5826[255]]));var _0x1b20x3=Math[_0x5826[430]](this[_0x5826[1307]]*this[_0x5826[255]]);_0x1b20x2[_0x5826[244]](Math[_0x5826[430]](_0x1b20x3/2))};mxShape[_0x5826[202]][_0x5826[1590]]=function(){return null==this[_0x5826[1561]]&&(_0x5826[700]==this[_0x5826[663]]||_0x5826[701]==this[_0x5826[663]])};mxShape[_0x5826[202]][_0x5826[1614]]=function(){return null!=this[_0x5826[603]]?this[_0x5826[603]]:0};mxShape[_0x5826[202]][_0x5826[1615]]=function(){var _0x1b20x2=this[_0x5826[1614]]();1!=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_HORIZONTAL,1)&&(_0x1b20x2+=mxText[_0x5826[202]][_0x5826[1616]]);return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1598]]=function(){var _0x1b20x2=this[_0x5826[1614]]();null!=this[_0x5826[663]]&&(_0x5826[700]==this[_0x5826[663]]?_0x1b20x2+=270:_0x5826[703]==this[_0x5826[663]]?_0x1b20x2+=180:_0x5826[701]==this[_0x5826[663]]&&(_0x1b20x2+=90));return _0x1b20x2};mxShape[_0x5826[202]][_0x5826[1599]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[1319]);_0x1b20x2[_0x5826[57]](_0x5826[235],_0x1b20x3);_0x1b20x2[_0x5826[57]](_0x5826[236],_0x1b20x4);_0x1b20x2[_0x5826[57]](_0x5826[117],_0x1b20x5);_0x1b20x2[_0x5826[57]](_0x5826[119],_0x1b20x9);_0x1b20x2[_0x5826[57]](_0x5826[1334],_0x5826[130]);_0x1b20x2[_0x5826[57]](_0x5826[1336],_0x5826[130]);_0x1b20x2[_0x5826[57]](_0x5826[1377],_0x5826[1378]);this[_0x5826[252]][_0x5826[62]](_0x1b20x2)};mxShape[_0x5826[202]][_0x5826[1600]]=function(_0x1b20x2){_0x1b20x2[_0x5826[124]][_0x5826[1617]]=_0x5826[1618]+mxClient[_0x5826[88]]+_0x5826[1619]};mxShape[_0x5826[202]][_0x5826[1589]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3 in _0x1b20x2){var _0x1b20x4=_0x1b20x2[_0x1b20x3];_0x1b20x4[_0x5826[1587]]=(_0x1b20x4[_0x5826[1587]]||0)-1;0==_0x1b20x4[_0x5826[1587]]&&null!=_0x1b20x4[_0x5826[265]]&&_0x1b20x4[_0x5826[265]][_0x5826[266]](_0x1b20x4)}}};mxShape[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[252]]&&(mxEvent[_0x5826[762]](this[_0x5826[252]]),null!=this[_0x5826[252]][_0x5826[265]]&&this[_0x5826[252]][_0x5826[265]][_0x5826[266]](this[_0x5826[252]]),this[_0x5826[252]]=null);this[_0x5826[1589]](this[_0x5826[1588]]);this[_0x5826[1588]]=null};var mxStencilRegistry={stencils:[],addStencil:function(_0x1b20x2,_0x1b20x3){mxStencilRegistry[_0x5826[1620]][_0x1b20x2]=_0x1b20x3},getStencil:function(_0x1b20x2){return mxStencilRegistry[_0x5826[1620]][_0x1b20x2]}},mxMarker={markers:[],addMarker:function(_0x1b20x2,_0x1b20x3){mxMarker[_0x5826[1621]][_0x1b20x2]=_0x1b20x3},createMarker:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15){var _0x1b20x16=mxMarker[_0x5826[1621]][_0x1b20x4];return null!=_0x1b20x16?_0x1b20x16(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15):null}};(function(){function _0x1b20x2(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){_0x1b20x3=1.118*_0x1b20x12*_0x1b20x16;_0x1b20x15=1.118*_0x1b20x13*_0x1b20x16;_0x1b20x12*=_0x1b20x14+_0x1b20x16;_0x1b20x13*=_0x1b20x14+_0x1b20x16;var _0x1b20x18=_0x1b20xa[_0x5826[238]]();_0x1b20x18[_0x5826[235]]-=_0x1b20x3;_0x1b20x18[_0x5826[236]]-=_0x1b20x15;_0x1b20x14=_0x1b20x9!=mxConstants[_0x5826[1622]]?1:0.75;_0x1b20xa[_0x5826[235]]+=-_0x1b20x12*_0x1b20x14-_0x1b20x3;_0x1b20xa[_0x5826[236]]+=-_0x1b20x13*_0x1b20x14-_0x1b20x15;return function(){_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x18[_0x5826[235]],_0x1b20x18[_0x5826[236]]);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]-_0x1b20x12-_0x1b20x13/2,_0x1b20x18[_0x5826[236]]-_0x1b20x13+_0x1b20x12/2);_0x1b20x9==mxConstants[_0x5826[1622]]&&_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]-3*_0x1b20x12/4,_0x1b20x18[_0x5826[236]]-3*_0x1b20x13/4);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]+_0x1b20x13/2-_0x1b20x12,_0x1b20x18[_0x5826[236]]-_0x1b20x13-_0x1b20x12/2);_0x1b20x2[_0x5826[268]]();_0x1b20x17?_0x1b20x2[_0x5826[1337]]():_0x1b20x2[_0x5826[1336]]()}}function _0x1b20x3(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){_0x1b20x15=_0x1b20x9==mxConstants[_0x5826[1623]]?0.7071:0.9862;_0x1b20x3=_0x1b20x12*_0x1b20x16*_0x1b20x15;_0x1b20x15*=_0x1b20x13*_0x1b20x16;_0x1b20x12*=_0x1b20x14+_0x1b20x16;_0x1b20x13*=_0x1b20x14+_0x1b20x16;var _0x1b20x18=_0x1b20xa[_0x5826[238]]();_0x1b20x18[_0x5826[235]]-=_0x1b20x3;_0x1b20x18[_0x5826[236]]-=_0x1b20x15;_0x1b20xa[_0x5826[235]]+=-_0x1b20x12-_0x1b20x3;_0x1b20xa[_0x5826[236]]+=-_0x1b20x13-_0x1b20x15;var _0x1b20x19=_0x1b20x9==mxConstants[_0x5826[1623]]?2:3.4;return function(){_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x18[_0x5826[235]],_0x1b20x18[_0x5826[236]]);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]-_0x1b20x12/2-_0x1b20x13/_0x1b20x19,_0x1b20x18[_0x5826[236]]+_0x1b20x12/_0x1b20x19-_0x1b20x13/2);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]-_0x1b20x12,_0x1b20x18[_0x5826[236]]-_0x1b20x13);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]-_0x1b20x12/2+_0x1b20x13/_0x1b20x19,_0x1b20x18[_0x5826[236]]-_0x1b20x13/2-_0x1b20x12/_0x1b20x19);_0x1b20x2[_0x5826[268]]();_0x1b20x17?_0x1b20x2[_0x5826[1337]]():_0x1b20x2[_0x5826[1336]]()}}mxMarker[_0x5826[1624]](_0x5826[693],_0x1b20x2);mxMarker[_0x5826[1624]](_0x5826[694],_0x1b20x2);mxMarker[_0x5826[1624]](_0x5826[392],function(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){_0x1b20x3=1.118*_0x1b20x12*_0x1b20x16;_0x1b20x9=1.118*_0x1b20x13*_0x1b20x16;_0x1b20x12*=_0x1b20x14+_0x1b20x16;_0x1b20x13*=_0x1b20x14+_0x1b20x16;var _0x1b20x18=_0x1b20xa[_0x5826[238]]();_0x1b20x18[_0x5826[235]]-=_0x1b20x3;_0x1b20x18[_0x5826[236]]-=_0x1b20x9;_0x1b20xa[_0x5826[235]]+=2* -_0x1b20x3;_0x1b20xa[_0x5826[236]]+=2* -_0x1b20x9;return function(){_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x18[_0x5826[235]]-_0x1b20x12-_0x1b20x13/2,_0x1b20x18[_0x5826[236]]-_0x1b20x13+_0x1b20x12/2);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]],_0x1b20x18[_0x5826[236]]);_0x1b20x2[_0x5826[1277]](_0x1b20x18[_0x5826[235]]+_0x1b20x13/2-_0x1b20x12,_0x1b20x18[_0x5826[236]]-_0x1b20x13-_0x1b20x12/2);_0x1b20x2[_0x5826[1336]]()}});mxMarker[_0x5826[1624]](_0x5826[695],function(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17){var _0x1b20x18=_0x1b20x14/2,_0x1b20x19=_0x1b20xa[_0x5826[238]]();_0x1b20xa[_0x5826[235]]-=_0x1b20x12*_0x1b20x18;_0x1b20xa[_0x5826[236]]-=_0x1b20x13*_0x1b20x18;return function(){_0x1b20x2[_0x5826[680]](_0x1b20x19[_0x5826[235]]-_0x1b20x18,_0x1b20x19[_0x5826[236]]-_0x1b20x18,_0x1b20x14,_0x1b20x14);_0x1b20x17?_0x1b20x2[_0x5826[1337]]():_0x1b20x2[_0x5826[1336]]()}});mxMarker[_0x5826[1624]](_0x5826[696],_0x1b20x3);mxMarker[_0x5826[1624]](_0x5826[697],_0x1b20x3)})();function mxActor(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxActor,mxShape);mxActor[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[513]](_0x1b20x3,_0x1b20x4);_0x1b20x2[_0x5826[1275]]();this[_0x5826[1625]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1337]]()};mxActor[_0x5826[202]][_0x5826[1625]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x3=_0x1b20x5/3;_0x1b20x2[_0x5826[1276]](0,_0x1b20x9);_0x1b20x2[_0x5826[1279]](0,3*_0x1b20x9/5,0,2*_0x1b20x9/5,_0x1b20x5/2,2*_0x1b20x9/5);_0x1b20x2[_0x5826[1279]](_0x1b20x5/2-_0x1b20x3,2*_0x1b20x9/5,_0x1b20x5/2-_0x1b20x3,0,_0x1b20x5/2,0);_0x1b20x2[_0x5826[1279]](_0x1b20x5/2+_0x1b20x3,0,_0x1b20x5/2+_0x1b20x3,2*_0x1b20x9/5,_0x1b20x5/2,2*_0x1b20x9/5);_0x1b20x2[_0x5826[1279]](_0x1b20x5,2*_0x1b20x9/5,_0x1b20x5,3*_0x1b20x9/5,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[268]]()};function mxCloud(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxActor[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxCloud,mxActor);mxCloud[_0x5826[202]][_0x5826[1625]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[1276]](0.25*_0x1b20x5,0.25*_0x1b20x9);_0x1b20x2[_0x5826[1279]](0.05*_0x1b20x5,0.25*_0x1b20x9,0,0.5*_0x1b20x9,0.16*_0x1b20x5,0.55*_0x1b20x9);_0x1b20x2[_0x5826[1279]](0,0.66*_0x1b20x9,0.18*_0x1b20x5,0.9*_0x1b20x9,0.31*_0x1b20x5,0.8*_0x1b20x9);_0x1b20x2[_0x5826[1279]](0.4*_0x1b20x5,_0x1b20x9,0.7*_0x1b20x5,_0x1b20x9,0.8*_0x1b20x5,0.8*_0x1b20x9);_0x1b20x2[_0x5826[1279]](_0x1b20x5,0.8*_0x1b20x9,_0x1b20x5,0.6*_0x1b20x9,0.875*_0x1b20x5,0.5*_0x1b20x9);_0x1b20x2[_0x5826[1279]](_0x1b20x5,0.3*_0x1b20x9,0.8*_0x1b20x5,0.1*_0x1b20x9,0.625*_0x1b20x5,0.2*_0x1b20x9);_0x1b20x2[_0x5826[1279]](0.5*_0x1b20x5,0.05*_0x1b20x9,0.3*_0x1b20x5,0.05*_0x1b20x9,0.25*_0x1b20x5,0.25*_0x1b20x9);_0x1b20x2[_0x5826[268]]()};function mxRectangleShape(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxRectangleShape,mxShape);mxRectangleShape[_0x5826[202]][_0x5826[1567]]=function(){return !this[_0x5826[1606]]&&!this[_0x5826[617]]&&0==this[_0x5826[603]]};mxRectangleShape[_0x5826[202]][_0x5826[1601]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(this[_0x5826[1606]]){var _0x1b20xa=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0x5826[1557]])/100,_0x1b20xa=Math[_0x5826[243]](_0x1b20x5*_0x1b20xa,_0x1b20x9*_0x1b20xa);_0x1b20x2[_0x5826[1320]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20xa)}else {_0x1b20x2[_0x5826[1319]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)};_0x1b20x2[_0x5826[1337]]()};mxRectangleShape[_0x5826[202]][_0x5826[1602]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){this[_0x5826[617]]&&this[_0x5826[1604]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,this[_0x5826[1603]](_0x1b20x5+this[_0x5826[1307]],_0x1b20x9+this[_0x5826[1307]]))};mxRectangleShape[_0x5826[202]][_0x5826[1575]]=function(){this[_0x5826[1626]](this[_0x5826[252]]);this[_0x5826[1627]](this[_0x5826[252]]);this[_0x5826[1628]](this[_0x5826[252]])};mxRectangleShape[_0x5826[202]][_0x5826[1626]]=function(_0x1b20x2){var _0x1b20x3=9<=document[_0x5826[5]]?0:Math[_0x5826[430]](this[_0x5826[1307]]*this[_0x5826[255]]);_0x1b20x2[_0x5826[124]][_0x5826[1629]]=Math[_0x5826[160]](1,_0x1b20x3)+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[277]]=_0x5826[188];_0x1b20x2[_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]]-_0x1b20x3/2)+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]]-_0x1b20x3/2)+_0x5826[168];_0x5826[462]==document[_0x5826[135]]&&(_0x1b20x3= -_0x1b20x3);_0x1b20x2[_0x5826[124]][_0x5826[117]]=Math[_0x5826[488]](Math[_0x5826[160]](0,this[_0x5826[1562]][_0x5826[117]]+_0x1b20x3))+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[119]]=Math[_0x5826[488]](Math[_0x5826[160]](0,this[_0x5826[1562]][_0x5826[119]]+_0x1b20x3))+_0x5826[168]};mxRectangleShape[_0x5826[202]][_0x5826[1628]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1336]];null!=_0x1b20x3&&_0x1b20x3!=mxConstants[_0x5826[217]]?(_0x1b20x2[_0x5826[124]][_0x5826[1630]]=_0x1b20x3,this[_0x5826[1522]]?_0x1b20x2[_0x5826[124]][_0x5826[465]]=_0x5826[648]:0<this[_0x5826[1307]]&&(_0x1b20x2[_0x5826[124]][_0x5826[465]]=_0x5826[1631]),_0x1b20x2[_0x5826[124]][_0x5826[1629]]=Math[_0x5826[160]](1,Math[_0x5826[430]](this[_0x5826[1307]]*this[_0x5826[255]]))+_0x5826[168]):_0x1b20x2[_0x5826[124]][_0x5826[1629]]=_0x5826[946];_0x1b20x3=this[_0x5826[1334]];null!=_0x1b20x3&&_0x1b20x3!=mxConstants[_0x5826[217]]?(_0x1b20x2[_0x5826[124]][_0x5826[1028]]=_0x1b20x3,_0x1b20x2[_0x5826[124]][_0x5826[1617]]=_0x5826[130]):this[_0x5826[1229]]?_0x1b20x2[_0x5826[124]][_0x5826[1028]]=_0x5826[1373]:8==document[_0x5826[5]]?mxUtils[_0x5826[1584]](_0x1b20x2):this[_0x5826[1600]](_0x1b20x2)};mxRectangleShape[_0x5826[202]][_0x5826[1627]]=function(_0x1b20x2){var _0x1b20x3=_0x5826[110];100>this[_0x5826[461]]&&(_0x1b20x3+=_0x5826[459]+this[_0x5826[461]]+_0x5826[460]);this[_0x5826[1596]]&&(_0x1b20x3+=_0x5826[1632]+Math[_0x5826[488]](mxConstants[_0x5826[1237]]*this[_0x5826[255]])+_0x5826[1633]+Math[_0x5826[488]](mxConstants[_0x5826[1238]]*this[_0x5826[255]])+_0x5826[1634]+mxConstants[_0x5826[1235]]+_0x5826[1635]);if(this[_0x5826[1299]]){var _0x1b20x4=this[_0x5826[1334]],_0x1b20x5=this[_0x5826[1299]],_0x1b20x9=_0x5826[468],_0x1b20xa={east:0,south:1,west:2,north:3},_0x1b20x12=null!=this[_0x5826[663]]?_0x1b20xa[this[_0x5826[663]]]:0;null!=this[_0x5826[607]]&&(_0x1b20x12=mxUtils[_0x5826[1454]](_0x1b20x12+_0x1b20xa[this[_0x5826[607]]]-1,4));1==_0x1b20x12?(_0x1b20x9=_0x5826[500],_0x1b20xa=_0x1b20x4,_0x1b20x4=_0x1b20x5,_0x1b20x5=_0x1b20xa):2==_0x1b20x12?(_0x1b20xa=_0x1b20x4,_0x1b20x4=_0x1b20x5,_0x1b20x5=_0x1b20xa):3==_0x1b20x12&&(_0x1b20x9=_0x5826[500]);_0x1b20x3+=_0x5826[1636]+_0x1b20x4+_0x5826[1637]+_0x1b20x5+_0x5826[1638]+_0x1b20x9+_0x5826[1635]};_0x1b20x2[_0x5826[124]][_0x5826[347]]=_0x1b20x3};function mxEllipse(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxEllipse,mxShape);mxEllipse[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[680]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1337]]()};function mxDoubleEllipse(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxDoubleEllipse,mxShape);mxDoubleEllipse[_0x5826[202]][_0x5826[1460]]=10;mxDoubleEllipse[_0x5826[202]][_0x5826[1601]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[680]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1337]]()};mxDoubleEllipse[_0x5826[202]][_0x5826[1602]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=Math[_0x5826[243]](4,Math[_0x5826[243]](_0x1b20x5/5,_0x1b20x9/5));_0x1b20x5-=2*_0x1b20xa;_0x1b20x9-=2*_0x1b20xa;0<_0x1b20x5&&0<_0x1b20x9&&_0x1b20x2[_0x5826[680]](_0x1b20x3+_0x1b20xa,_0x1b20x4+_0x1b20xa,_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1336]]()};function mxRhombus(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxRhombus,mxShape);mxRhombus[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x5/2,_0x1b20x12=_0x1b20x9/2;_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x3+_0x1b20xa,_0x1b20x4);_0x1b20x2[_0x5826[1277]](_0x1b20x3+_0x1b20x5,_0x1b20x4+_0x1b20x12);_0x1b20x2[_0x5826[1277]](_0x1b20x3+_0x1b20xa,_0x1b20x4+_0x1b20x9);_0x1b20x2[_0x5826[1277]](_0x1b20x3,_0x1b20x4+_0x1b20x12);_0x1b20x2[_0x5826[268]]();_0x1b20x2[_0x5826[1337]]()};function mxPolyline(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxShape[_0x5826[239]](this);this[_0x5826[1525]]=_0x1b20x2;this[_0x5826[1336]]=_0x1b20x3;this[_0x5826[1307]]=null!=_0x1b20x4?_0x1b20x4:1}mxUtils[_0x5826[1284]](mxPolyline,mxShape);mxPolyline[_0x5826[202]][_0x5826[1614]]=function(){return 0};mxPolyline[_0x5826[202]][_0x5826[1594]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1639]](_0x1b20x2,_0x1b20x3,this[_0x5826[1606]])};mxPolyline[_0x5826[202]][_0x5826[1639]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,_0x1b20x9=_0x1b20x3[0],_0x1b20xa=_0x1b20x3[_0x1b20x3[_0x5826[67]]-1];_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]]);for(var _0x1b20x12=1;_0x1b20x12<_0x1b20x3[_0x5826[67]]-1;_0x1b20x12++){var _0x1b20x13=_0x1b20x3[_0x1b20x12],_0x1b20x14=_0x1b20x9[_0x5826[235]]-_0x1b20x13[_0x5826[235]],_0x1b20x9=_0x1b20x9[_0x5826[236]]-_0x1b20x13[_0x5826[236]];if(_0x1b20x4&&_0x1b20x12<_0x1b20x3[_0x5826[67]]-1&&(0!=_0x1b20x14||0!=_0x1b20x9)){var _0x1b20x15=Math[_0x5826[428]](_0x1b20x14*_0x1b20x14+_0x1b20x9*_0x1b20x9),_0x1b20x14=_0x1b20x14*Math[_0x5826[243]](_0x1b20x5,_0x1b20x15/2)/_0x1b20x15,_0x1b20x9=_0x1b20x9*Math[_0x5826[243]](_0x1b20x5,_0x1b20x15/2)/_0x1b20x15;_0x1b20x2[_0x5826[1277]](_0x1b20x13[_0x5826[235]]+_0x1b20x14,_0x1b20x13[_0x5826[236]]+_0x1b20x9);_0x1b20x9=_0x1b20x3[_0x1b20x12+1];_0x1b20x14=_0x1b20x9[_0x5826[235]]-_0x1b20x13[_0x5826[235]];_0x1b20x9=_0x1b20x9[_0x5826[236]]-_0x1b20x13[_0x5826[236]];_0x1b20x15=Math[_0x5826[160]](1,Math[_0x5826[428]](_0x1b20x14*_0x1b20x14+_0x1b20x9*_0x1b20x9));_0x1b20x14=_0x1b20x14*Math[_0x5826[243]](_0x1b20x5,_0x1b20x15/2)/_0x1b20x15;_0x1b20x9=_0x1b20x9*Math[_0x5826[243]](_0x1b20x5,_0x1b20x15/2)/_0x1b20x15;_0x1b20x14=_0x1b20x13[_0x5826[235]]+_0x1b20x14;_0x1b20x9=_0x1b20x13[_0x5826[236]]+_0x1b20x9;_0x1b20x2[_0x5826[1278]](_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x14,_0x1b20x9);_0x1b20x13= new mxPoint(_0x1b20x14,_0x1b20x9)}else {_0x1b20x2[_0x5826[1277]](_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]])};_0x1b20x9=_0x1b20x13};_0x1b20x2[_0x5826[1277]](_0x1b20xa[_0x5826[235]],_0x1b20xa[_0x5826[236]]);_0x1b20x2[_0x5826[1336]]()};function mxArrow(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){mxShape[_0x5826[239]](this);this[_0x5826[1525]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1;this[_0x5826[1640]]=null!=_0x1b20x9?_0x1b20x9:mxConstants[_0x5826[1641]];this[_0x5826[657]]=null!=_0x1b20xa?_0x1b20xa:mxConstants[_0x5826[1642]];this[_0x5826[643]]=null!=_0x1b20x12?_0x1b20x12:mxConstants[_0x5826[1643]]}mxUtils[_0x5826[1284]](mxArrow,mxShape);mxArrow[_0x5826[202]][_0x5826[1594]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxConstants[_0x5826[1642]],_0x1b20x5=mxConstants[_0x5826[1641]],_0x1b20x9=mxConstants[_0x5826[1643]],_0x1b20xa=_0x1b20x3[0],_0x1b20x12=_0x1b20x3[_0x1b20x3[_0x5826[67]]-1],_0x1b20x13=_0x1b20x12[_0x5826[235]]-_0x1b20xa[_0x5826[235]],_0x1b20x14=_0x1b20x12[_0x5826[236]]-_0x1b20xa[_0x5826[236]],_0x1b20x15=Math[_0x5826[428]](_0x1b20x13*_0x1b20x13+_0x1b20x14*_0x1b20x14),_0x1b20x16=_0x1b20x15-2*_0x1b20x4-_0x1b20x9,_0x1b20x13=_0x1b20x13/_0x1b20x15,_0x1b20x14=_0x1b20x14/_0x1b20x15,_0x1b20x15=_0x1b20x5*_0x1b20x14/3,_0x1b20x5=-_0x1b20x5*_0x1b20x13/3,_0x1b20x9=_0x1b20xa[_0x5826[235]]-_0x1b20x15/2+_0x1b20x4*_0x1b20x13,_0x1b20xa=_0x1b20xa[_0x5826[236]]-_0x1b20x5/2+_0x1b20x4*_0x1b20x14,_0x1b20x17=_0x1b20x9+_0x1b20x15,_0x1b20x18=_0x1b20xa+_0x1b20x5,_0x1b20x19=_0x1b20x17+_0x1b20x16*_0x1b20x13,_0x1b20x16=_0x1b20x18+_0x1b20x16*_0x1b20x14,_0x1b20x1a=_0x1b20x19+_0x1b20x15,_0x1b20x1b=_0x1b20x16+_0x1b20x5,_0x1b20x1c=_0x1b20x1a-3*_0x1b20x15,_0x1b20x1d=_0x1b20x1b-3*_0x1b20x5;_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x9,_0x1b20xa);_0x1b20x2[_0x5826[1277]](_0x1b20x17,_0x1b20x18);_0x1b20x2[_0x5826[1277]](_0x1b20x19,_0x1b20x16);_0x1b20x2[_0x5826[1277]](_0x1b20x1a,_0x1b20x1b);_0x1b20x2[_0x5826[1277]](_0x1b20x12[_0x5826[235]]-_0x1b20x4*_0x1b20x13,_0x1b20x12[_0x5826[236]]-_0x1b20x4*_0x1b20x14);_0x1b20x2[_0x5826[1277]](_0x1b20x1c,_0x1b20x1d);_0x1b20x2[_0x5826[1277]](_0x1b20x1c+_0x1b20x15,_0x1b20x1d+_0x1b20x5);_0x1b20x2[_0x5826[268]]();_0x1b20x2[_0x5826[1337]]()};function mxText(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15,_0x1b20x16,_0x1b20x17,_0x1b20x18,_0x1b20x19,_0x1b20x1a,_0x1b20x1b,_0x1b20x1c,_0x1b20x1d,_0x1b20x1e,_0x1b20x1f){mxShape[_0x5826[239]](this);this[_0x5826[131]]=_0x1b20x2;this[_0x5826[1562]]=_0x1b20x3;this[_0x5826[352]]=null!=_0x1b20x9?_0x1b20x9:_0x5826[586];this[_0x5826[611]]=null!=_0x1b20x4?_0x1b20x4:_0x5826[110];this[_0x5826[552]]=null!=_0x1b20x5?_0x1b20x5:_0x5826[110];this[_0x5826[1288]]=null!=_0x1b20xa?_0x1b20xa:mxConstants[_0x5826[484]];this[_0x5826[803]]=null!=_0x1b20x12?_0x1b20x12:mxConstants[_0x5826[483]];this[_0x5826[666]]=null!=_0x1b20x13?_0x1b20x13:mxConstants[_0x5826[1644]];this[_0x5826[657]]=parseInt(_0x1b20x14||2);this[_0x5826[658]]=this[_0x5826[657]]+parseInt(_0x1b20x15||0);this[_0x5826[661]]=this[_0x5826[657]]+parseInt(_0x1b20x16||0);this[_0x5826[660]]=this[_0x5826[657]]+parseInt(_0x1b20x17||0);this[_0x5826[659]]=this[_0x5826[657]]+parseInt(_0x1b20x18||0);this[_0x5826[662]]=null!=_0x1b20x19?_0x1b20x19:!0;this[_0x5826[1537]]=_0x1b20x1a;this[_0x5826[467]]=_0x1b20x1b;this[_0x5826[1333]]=null!=_0x1b20x1c?_0x1b20x1c:!1;this[_0x5826[1645]]=null!=_0x1b20x1d?_0x1b20x1d:!1;this[_0x5826[277]]=null!=_0x1b20x1e?_0x1b20x1e:_0x5826[189];this[_0x5826[629]]=null!=_0x1b20x1f?_0x1b20x1f:0;this[_0x5826[603]]=0}mxUtils[_0x5826[1284]](mxText,mxShape);mxText[_0x5826[202]][_0x5826[1646]]=0;mxText[_0x5826[202]][_0x5826[1647]]=0;mxText[_0x5826[202]][_0x5826[1648]]=0;mxText[_0x5826[202]][_0x5826[1649]]=0;mxText[_0x5826[202]][_0x5826[1650]]= !0;mxText[_0x5826[202]][_0x5826[1616]]= -90;mxText[_0x5826[202]][_0x5826[1651]]= !0;mxText[_0x5826[202]][_0x5826[1652]]= !1;mxText[_0x5826[202]][_0x5826[1566]]=function(){return !1};mxText[_0x5826[202]][_0x5826[1567]]=function(){return 8!=document[_0x5826[5]]};mxText[_0x5826[202]][_0x5826[1568]]=function(){return 0};mxText[_0x5826[202]][_0x5826[1574]]=function(){return null!=this[_0x5826[1562]]&&!isNaN(this[_0x5826[1562]][_0x5826[235]])&&!isNaN(this[_0x5826[1562]][_0x5826[236]])&&!isNaN(this[_0x5826[1562]][_0x5826[117]])&&!isNaN(this[_0x5826[1562]][_0x5826[119]])};mxText[_0x5826[202]][_0x5826[1577]]=function(){var _0x1b20x2=this[_0x5826[252]];8==document[_0x5826[5]]&&null!=_0x1b20x2[_0x5826[285]]&&(_0x1b20x2=_0x1b20x2[_0x5826[285]],null!=_0x1b20x2[_0x5826[285]]&&(_0x1b20x2=_0x1b20x2[_0x5826[285]]));this[_0x5826[1563]]=this[_0x5826[1562]][_0x5826[238]]();var _0x1b20x3=this[_0x5826[1615]]();if(!this[_0x5826[1652]]&&null!=_0x1b20x2&&_0x5826[1334]!=this[_0x5826[277]]&&(!this[_0x5826[1645]]||!this[_0x5826[1651]])){var _0x1b20x4=null,_0x1b20x5=null;if(null!=_0x1b20x2[_0x5826[538]]){if(null!=_0x1b20x2[_0x5826[285]]&&null!=_0x1b20x2[_0x5826[285]][_0x5826[285]]&&_0x5826[1435]==_0x1b20x2[_0x5826[285]][_0x5826[285]][_0x5826[301]]){_0x1b20x2=_0x1b20x2[_0x5826[285]][_0x5826[285]],_0x1b20x4=this[_0x5826[1333]]?this[_0x5826[1562]][_0x5826[117]]:parseInt(_0x1b20x2[_0x5826[284]](_0x5826[117]))*this[_0x5826[255]],_0x1b20x5=parseInt(_0x1b20x2[_0x5826[284]](_0x5826[119]))*this[_0x5826[255]]}else {_0x1b20x3=_0x1b20x2[_0x5826[1451]]();if(0==_0x1b20x3[_0x5826[117]]&&0==_0x1b20x3[_0x5826[119]]){return};this[_0x5826[1563]]= new mxRectangle(_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]]);_0x1b20x3=0}}else {_0x1b20x5=this[_0x5826[724]][_0x5826[441]][_0x5826[1653]],null!=this[_0x5826[359]]&&null!=this[_0x5826[167]]?(_0x1b20x4=this[_0x5826[1333]]?this[_0x5826[1562]][_0x5826[117]]:this[_0x5826[359]]*this[_0x5826[255]],_0x1b20x5=this[_0x5826[167]]*this[_0x5826[255]]):null!=_0x1b20x5?(this[_0x5826[1441]](_0x1b20x5),this[_0x5826[1654]](_0x1b20x5),mxUtils[_0x5826[1331]](this[_0x5826[131]])?_0x1b20x5[_0x5826[339]]=this[_0x5826[131]][_0x5826[342]]:(_0x1b20x4=this[_0x5826[1650]]?this[_0x5826[131]][_0x5826[230]](/\n/g,_0x5826[1453]):this[_0x5826[131]],_0x1b20x5[_0x5826[339]]=_0x1b20x4),_0x1b20x4=this[_0x5826[1333]]?this[_0x5826[1562]][_0x5826[117]]:_0x1b20x5[_0x5826[359]]*this[_0x5826[255]],_0x1b20x5=_0x1b20x5[_0x5826[167]]*this[_0x5826[255]]):(_0x1b20x4=this[_0x5826[1333]]?this[_0x5826[1562]][_0x5826[117]]:_0x1b20x2[_0x5826[359]]*this[_0x5826[255]],_0x1b20x5=_0x1b20x2[_0x5826[167]]*this[_0x5826[255]])};null!=_0x1b20x4&&null!=_0x1b20x5&&(this[_0x5826[1563]]= new mxRectangle(this[_0x5826[1562]][_0x5826[235]]+this[_0x5826[1655]][_0x5826[235]]*_0x1b20x4,this[_0x5826[1562]][_0x5826[236]]+this[_0x5826[1655]][_0x5826[236]]*_0x1b20x5,_0x1b20x4,_0x1b20x5))}else {this[_0x5826[1563]][_0x5826[235]]+=this[_0x5826[1655]][_0x5826[235]]*this[_0x5826[1563]][_0x5826[117]],this[_0x5826[1563]][_0x5826[236]]+=this[_0x5826[1655]][_0x5826[236]]*this[_0x5826[1563]][_0x5826[119]]};null!=this[_0x5826[1563]]&&(0!=_0x1b20x3&&(_0x1b20x3=mxUtils[_0x5826[1613]](this[_0x5826[1563]],_0x1b20x3),this[_0x5826[1563]][_0x5826[235]]=_0x1b20x3[_0x5826[235]],this[_0x5826[1563]][_0x5826[236]]=_0x1b20x3[_0x5826[236]],mxClient[_0x5826[496]]||(this[_0x5826[1563]][_0x5826[117]]=_0x1b20x3[_0x5826[117]],this[_0x5826[1563]][_0x5826[119]]=_0x1b20x3[_0x5826[119]])),this[_0x5826[1563]][_0x5826[235]]=Math[_0x5826[519]](this[_0x5826[1563]][_0x5826[235]]),this[_0x5826[1563]][_0x5826[236]]=Math[_0x5826[519]](this[_0x5826[1563]][_0x5826[236]]),this[_0x5826[1563]][_0x5826[117]]=Math[_0x5826[430]](this[_0x5826[1563]][_0x5826[117]]),this[_0x5826[1563]][_0x5826[119]]=Math[_0x5826[430]](this[_0x5826[1563]][_0x5826[119]]))};mxText[_0x5826[202]][_0x5826[1598]]=function(){return 0};mxText[_0x5826[202]][_0x5826[1615]]=function(){return null!=this[_0x5826[724]]&&null!=this[_0x5826[724]][_0x5826[253]]?this[_0x5826[724]][_0x5826[253]][_0x5826[1615]]():0};mxText[_0x5826[202]][_0x5826[1590]]=function(){return !this[_0x5826[662]]&&null!=this[_0x5826[724]]&&this[_0x5826[724]][_0x5826[441]][_0x5826[1179]][_0x5826[251]][_0x5826[1193]](this[_0x5826[724]][_0x5826[246]])};mxText[_0x5826[202]][_0x5826[1592]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){mxShape[_0x5826[202]][_0x5826[1592]][_0x5826[183]](this,arguments);_0x1b20x2[_0x5826[1259]](this[_0x5826[352]]);_0x1b20x2[_0x5826[1260]](this[_0x5826[1537]]);_0x1b20x2[_0x5826[1262]](this[_0x5826[467]]);_0x1b20x2[_0x5826[1265]](this[_0x5826[1288]]);_0x1b20x2[_0x5826[1264]](this[_0x5826[803]]);_0x1b20x2[_0x5826[1266]](this[_0x5826[666]])};mxText[_0x5826[202]][_0x5826[1586]]=function(){this[_0x5826[252]][_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]])+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]])+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[117]]=_0x5826[942];this[_0x5826[252]][_0x5826[124]][_0x5826[119]]=_0x5826[942];this[_0x5826[252]][_0x5826[124]][_0x5826[277]]=_0x5826[189]};mxText[_0x5826[202]][_0x5826[1209]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[255]],_0x1b20x4=this[_0x5826[1562]][_0x5826[235]]/_0x1b20x3,_0x1b20x5=this[_0x5826[1562]][_0x5826[236]]/_0x1b20x3,_0x1b20x9=this[_0x5826[1562]][_0x5826[117]]/_0x1b20x3,_0x1b20x3=this[_0x5826[1562]][_0x5826[119]]/_0x1b20x3;this[_0x5826[1591]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20x3);this[_0x5826[1592]](_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20x3);var _0x1b20xa=mxUtils[_0x5826[1331]](this[_0x5826[131]])||this[_0x5826[507]]==mxConstants[_0x5826[1656]],_0x1b20x12=_0x1b20xa||_0x1b20x2 instanceof mxVmlCanvas2D?_0x5826[1428]:_0x5826[110],_0x1b20x13=this[_0x5826[131]];!_0x1b20xa&&_0x5826[1428]==_0x1b20x12&&(_0x1b20x13=mxUtils[_0x5826[321]](_0x1b20x13,!1));_0x1b20x13=!mxUtils[_0x5826[1331]](this[_0x5826[131]])&&this[_0x5826[1650]]&&_0x5826[1428]==_0x1b20x12?_0x1b20x13[_0x5826[230]](/\n/g,_0x5826[1453]):_0x1b20x13;_0x1b20x2[_0x5826[963]](_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20x3,_0x1b20x13,this[_0x5826[611]],this[_0x5826[552]],this[_0x5826[1333]],_0x1b20x12,_0x5826[1334]==this[_0x5826[277]],this[_0x5826[1645]],this[_0x5826[1615]]())};mxText[_0x5826[202]][_0x5826[1575]]=function(){var _0x1b20x2=this[_0x5826[252]][_0x5826[124]];_0x1b20x2[_0x5826[461]]=1>this[_0x5826[461]]?this[_0x5826[461]]:_0x5826[110];_0x1b20x2[_0x5826[277]]=_0x5826[110];_0x1b20x2[_0x5826[117]]=_0x5826[110];_0x1b20x2[_0x5826[119]]=_0x5826[110];this[_0x5826[1441]](this[_0x5826[252]]);this[_0x5826[1654]](this[_0x5826[252]]);this[_0x5826[1657]]();this[_0x5826[167]]=this[_0x5826[359]]=null;null!=mxClient[_0x5826[73]]?this[_0x5826[1658]]():this[_0x5826[1659]]()};mxText[_0x5826[202]][_0x5826[1658]]=function(){var _0x1b20x2=this[_0x5826[1615]](),_0x1b20x3=this[_0x5826[252]][_0x5826[124]],_0x1b20x4=this[_0x5826[1655]][_0x5826[235]],_0x1b20x5=this[_0x5826[1655]][_0x5826[236]];0!=_0x1b20x2?(_0x1b20x3[mxClient[_0x5826[73]]+_0x5826[1660]]=100*-_0x1b20x4+_0x5826[1661]+100*-_0x1b20x5+_0x5826[229],_0x1b20x3[mxClient[_0x5826[73]]+_0x5826[1662]]=_0x5826[536]+100*_0x1b20x4+_0x5826[1663]+100*_0x1b20x5+_0x5826[1664]+this[_0x5826[255]]+_0x5826[1665]+_0x1b20x2+_0x5826[1666]):(_0x1b20x3[mxClient[_0x5826[73]]+_0x5826[1660]]=_0x5826[1667],_0x1b20x3[mxClient[_0x5826[73]]+_0x5826[1662]]=_0x5826[1402]+this[_0x5826[255]]+_0x5826[1393]+100*_0x1b20x4+_0x5826[1663]+100*_0x1b20x5+_0x5826[1668]);_0x1b20x3[_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]])+_0x5826[168];_0x1b20x3[_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]])+_0x5826[168]};mxText[_0x5826[202]][_0x5826[1659]]=function(){var _0x1b20x2=this[_0x5826[252]][_0x5826[124]],_0x1b20x3=this[_0x5826[1655]][_0x5826[235]],_0x1b20x4=this[_0x5826[1655]][_0x5826[236]],_0x1b20x5=this[_0x5826[255]];_0x1b20x2[_0x5826[347]]=_0x5826[110];var _0x1b20x9=0,_0x1b20xa=0,_0x1b20x12=null!=this[_0x5826[724]]?this[_0x5826[724]][_0x5826[441]][_0x5826[1653]]:null;if(null!=_0x1b20x12){_0x1b20x12[_0x5826[124]][_0x5826[277]]=_0x5826[110];_0x1b20x12[_0x5826[124]][_0x5826[119]]=_0x5826[110];_0x1b20x12[_0x5826[124]][_0x5826[117]]=_0x5826[110];this[_0x5826[1441]](_0x1b20x12);this[_0x5826[1654]](_0x1b20x12);if(mxUtils[_0x5826[1331]](this[_0x5826[131]])){_0x1b20x12[_0x5826[339]]=this[_0x5826[131]][_0x5826[342]]}else {var _0x1b20x13=this[_0x5826[131]];this[_0x5826[507]]!=mxConstants[_0x5826[1656]]&&(_0x1b20x13=mxUtils[_0x5826[321]](_0x1b20x13,!1));_0x1b20x13=this[_0x5826[1650]]?_0x1b20x13[_0x5826[230]](/\n/g,_0x5826[1453]):_0x1b20x13;_0x1b20x12[_0x5826[339]]=_0x1b20x13};_0x1b20x9=_0x1b20x12[_0x5826[359]]+2;_0x1b20xa=_0x1b20x12[_0x5826[167]]+2}else {_0x1b20x9=this[_0x5826[252]][_0x5826[359]],_0x1b20xa=this[_0x5826[252]][_0x5826[167]]+1};this[_0x5826[359]]=_0x1b20x9;this[_0x5826[167]]=_0x1b20xa;_0x1b20x12=this[_0x5826[1562]][_0x5826[117]]/_0x1b20x5;_0x1b20x13=this[_0x5826[1562]][_0x5826[119]]/_0x1b20x5;mxClient[_0x5826[496]]&&(this[_0x5826[1645]]||_0x5826[1334]==this[_0x5826[277]])&&0<_0x1b20x13?(_0x1b20x13=Math[_0x5826[243]](_0x1b20x13,_0x1b20xa),_0x1b20x2[_0x5826[119]]=Math[_0x5826[488]](_0x1b20x13+1)+_0x5826[168]):_0x1b20x13=_0x1b20xa;_0x5826[1334]!=this[_0x5826[277]]&&(mxClient[_0x5826[496]]&&(this[_0x5826[1645]]||this[_0x5826[1333]])&&0<_0x1b20x12?(_0x1b20x12=Math[_0x5826[243]](_0x1b20x12,_0x1b20x9),_0x1b20x2[_0x5826[117]]=Math[_0x5826[488]](_0x1b20x12)+_0x5826[168]):_0x1b20x12=_0x1b20x9);var _0x1b20x13=_0x1b20x13*_0x1b20x5,_0x1b20x12=_0x1b20x12*_0x1b20x5,_0x1b20x9=this[_0x5826[1615]]()*(Math[_0x5826[424]]/180),_0x1b20xa=parseFloat(parseFloat(Math[_0x5826[426]](_0x1b20x9))[_0x5826[1293]](8)),_0x1b20x14=parseFloat(parseFloat(Math[_0x5826[427]](-_0x1b20x9))[_0x5826[1293]](8)),_0x1b20x9=_0x1b20x9%(2*Math[_0x5826[424]]);0>_0x1b20x9&&(_0x1b20x9+=2*Math[_0x5826[424]]);_0x1b20x9%=Math[_0x5826[424]];_0x1b20x9>Math[_0x5826[424]]/2&&(_0x1b20x9=Math[_0x5826[424]]-_0x1b20x9);var _0x1b20x15=Math[_0x5826[426]](_0x1b20x9),_0x1b20x16=Math[_0x5826[427]](-_0x1b20x9),_0x1b20x3=_0x1b20x12* -(_0x1b20x3+0.5),_0x1b20x4=_0x1b20x13* -(_0x1b20x4+0.5),_0x1b20x17=(_0x1b20x13-_0x1b20x13*_0x1b20x15+_0x1b20x12*_0x1b20x16)/2+_0x1b20x14*_0x1b20x3-_0x1b20xa*_0x1b20x4;0!=_0x1b20x9&&(_0x1b20x2[_0x5826[347]]=_0x5826[1505]+_0x1b20xa+_0x5826[1506]+_0x1b20x14+_0x5826[1507]+-_0x1b20x14+_0x5826[1508]+_0x1b20xa+_0x5826[1509]);_0x1b20x2[_0x5826[499]]=_0x1b20x5;_0x1b20x2[_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]]+((_0x1b20x12-_0x1b20x12*_0x1b20x15+_0x1b20x13*_0x1b20x16)/2-_0x1b20xa*_0x1b20x3-_0x1b20x14*_0x1b20x4)-_0x1b20x12/2)+_0x5826[168];_0x1b20x2[_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]]+_0x1b20x17-_0x1b20x13/2)+_0x5826[168]};mxText[_0x5826[202]][_0x5826[1657]]=function(){if(mxUtils[_0x5826[1331]](this[_0x5826[131]])){this[_0x5826[252]][_0x5826[339]]=_0x5826[110],this[_0x5826[252]][_0x5826[62]](this[_0x5826[131]])}else {var _0x1b20x2=this[_0x5826[131]];this[_0x5826[507]]!=mxConstants[_0x5826[1656]]&&(_0x1b20x2=mxUtils[_0x5826[321]](_0x1b20x2,!1));var _0x1b20x2=this[_0x5826[1650]]?_0x1b20x2[_0x5826[230]](/\n/g,_0x5826[1453]):_0x1b20x2,_0x1b20x3=null!=this[_0x5826[1537]]&&this[_0x5826[1537]]!=mxConstants[_0x5826[217]]?this[_0x5826[1537]]:null,_0x1b20x4=null!=this[_0x5826[467]]&&this[_0x5826[467]]!=mxConstants[_0x5826[217]]?this[_0x5826[467]]:null;if(null!=_0x1b20x3||null!=_0x1b20x4){if(_0x5826[1334]==this[_0x5826[277]]){null!=_0x1b20x3&&(this[_0x5826[252]][_0x5826[124]][_0x5826[1028]]=_0x1b20x3),null!=_0x1b20x4&&(this[_0x5826[252]][_0x5826[124]][_0x5826[467]]=_0x5826[1669]+_0x1b20x4)}else {var _0x1b20x5=_0x5826[110];null!=_0x1b20x3&&(_0x1b20x5+=_0x5826[1418]+_0x1b20x3+_0x5826[471]);null!=_0x1b20x4&&(_0x1b20x5+=_0x5826[1419]+_0x1b20x4+_0x5826[471]);_0x1b20x2=_0x5826[1670]+_0x1b20x5+_0x5826[1671]+this[_0x5826[252]][_0x5826[124]][_0x5826[489]]+_0x5826[1423]+_0x1b20x2+_0x5826[1424];this[_0x5826[252]][_0x5826[124]][_0x5826[489]]=_0x5826[110]}};this[_0x5826[252]][_0x5826[339]]=_0x1b20x2}};mxText[_0x5826[202]][_0x5826[1441]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[124]];_0x1b20x2[_0x5826[489]]=Math[_0x5826[488]](this[_0x5826[803]]*mxConstants[_0x5826[490]])+_0x5826[168];_0x1b20x2[_0x5826[487]]=Math[_0x5826[488]](this[_0x5826[803]])+_0x5826[168];_0x1b20x2[_0x5826[486]]=this[_0x5826[1288]];_0x1b20x2[_0x5826[123]]=_0x5826[125];_0x1b20x2[_0x5826[352]]=this[_0x5826[352]];_0x1b20x2[_0x5826[1452]]=(this[_0x5826[666]]&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]]?_0x5826[1447]:_0x5826[110];_0x1b20x2[_0x5826[666]]=(this[_0x5826[666]]&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]]?_0x5826[1449]:_0x5826[110];_0x1b20x2[_0x5826[1498]]=(this[_0x5826[666]]&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]]?_0x5826[355]:_0x5826[110];_0x1b20x2[_0x5826[1165]]=this[_0x5826[611]]==mxConstants[_0x5826[479]]?_0x5826[698]:this[_0x5826[611]]==mxConstants[_0x5826[480]]?_0x5826[699]:_0x5826[361]};mxText[_0x5826[202]][_0x5826[1654]]=function(_0x1b20x2){var _0x1b20x3=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[117]]/this[_0x5826[255]]),_0x1b20x4=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[119]]/this[_0x5826[255]]);_0x1b20x2=_0x1b20x2[_0x5826[124]];this[_0x5826[1645]]?(_0x1b20x2[_0x5826[277]]=_0x5826[188],0<_0x1b20x4&&(_0x1b20x2[_0x5826[1503]]=_0x1b20x4+_0x5826[168]),0<_0x1b20x3&&(_0x1b20x2[_0x5826[117]]=_0x1b20x3+_0x5826[168])):_0x5826[1334]==this[_0x5826[277]]&&(_0x1b20x2[_0x5826[117]]=_0x1b20x3+_0x5826[168],0<_0x1b20x4&&(_0x1b20x2[_0x5826[1503]]=_0x1b20x4+_0x5826[168]));this[_0x5826[1333]]?(!this[_0x5826[1645]]&&0<_0x1b20x3&&(_0x1b20x2[_0x5826[117]]=_0x1b20x3+_0x5826[168]),_0x1b20x2[_0x5826[493]]=_0x5826[1502]):_0x1b20x2[_0x5826[493]]=_0x5826[494]};mxText[_0x5826[202]][_0x5826[1672]]=function(){this[_0x5826[1655]]=mxUtils[_0x5826[1501]](this[_0x5826[611]],this[_0x5826[552]])};mxText[_0x5826[202]][_0x5826[1673]]=function(){var _0x1b20x2=0,_0x1b20x3=0,_0x1b20x2=this[_0x5826[611]]==mxConstants[_0x5826[479]]?(this[_0x5826[659]]-this[_0x5826[661]])/2:this[_0x5826[611]]==mxConstants[_0x5826[480]]?-this[_0x5826[661]]-this[_0x5826[1649]]:this[_0x5826[659]]+this[_0x5826[1648]],_0x1b20x3=this[_0x5826[552]]==mxConstants[_0x5826[481]]?(this[_0x5826[658]]-this[_0x5826[660]])/2:this[_0x5826[552]]==mxConstants[_0x5826[482]]?-this[_0x5826[660]]-this[_0x5826[1647]]:this[_0x5826[658]]+this[_0x5826[1646]];return new mxPoint(_0x1b20x2,_0x1b20x3)};function mxTriangle(){mxActor[_0x5826[239]](this)}mxUtils[_0x5826[1284]](mxTriangle,mxActor);mxTriangle[_0x5826[202]][_0x5826[1625]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[1276]](0,0);_0x1b20x2[_0x5826[1277]](_0x1b20x5,0.5*_0x1b20x9);_0x1b20x2[_0x5826[1277]](0,_0x1b20x9);_0x1b20x2[_0x5826[268]]()};function mxHexagon(){mxActor[_0x5826[239]](this)}mxUtils[_0x5826[1284]](mxHexagon,mxActor);mxHexagon[_0x5826[202]][_0x5826[1625]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[1276]](0.25*_0x1b20x5,0);_0x1b20x2[_0x5826[1277]](0.75*_0x1b20x5,0);_0x1b20x2[_0x5826[1277]](_0x1b20x5,0.5*_0x1b20x9);_0x1b20x2[_0x5826[1277]](0.75*_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1277]](0.25*_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[1277]](0,0.5*_0x1b20x9);_0x1b20x2[_0x5826[268]]()};function mxLine(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1336]]=_0x1b20x3;this[_0x5826[1307]]=null!=_0x1b20x4?_0x1b20x4:1}mxUtils[_0x5826[1284]](mxLine,mxShape);mxLine[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x4+=_0x1b20x9/2;_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x3,_0x1b20x4);_0x1b20x2[_0x5826[1277]](_0x1b20x3+_0x1b20x5,_0x1b20x4);_0x1b20x2[_0x5826[1336]]()};function mxImageShape(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[618]]=_0x1b20x3;this[_0x5826[1334]]=_0x1b20x4;this[_0x5826[1336]]=_0x1b20x5;this[_0x5826[1307]]=null!=_0x1b20x9?_0x1b20x9:1;this[_0x5826[639]]= !1}mxUtils[_0x5826[1284]](mxImageShape,mxRectangleShape);mxImageShape[_0x5826[202]][_0x5826[1674]]= !0;mxImageShape[_0x5826[202]][_0x5826[1568]]=function(){return !mxClient[_0x5826[80]]?0.5:0};mxImageShape[_0x5826[202]][_0x5826[183]]=function(_0x1b20x2){mxShape[_0x5826[202]][_0x5826[183]][_0x5826[183]](this,arguments);this[_0x5826[1299]]=this[_0x5826[1336]]=this[_0x5826[1334]]=null;null!=this[_0x5826[124]]&&(this[_0x5826[1334]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_BACKGROUND),this[_0x5826[1336]]=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_BORDER),this[_0x5826[1674]]=1==mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_ASPECT,1),this[_0x5826[623]]=this[_0x5826[623]]||1==mxUtils[_0x5826[433]](this[_0x5826[124]],_0x5826[1675],0),this[_0x5826[624]]=this[_0x5826[624]]||1==mxUtils[_0x5826[433]](this[_0x5826[124]],_0x5826[1676],0))};mxImageShape[_0x5826[202]][_0x5826[1567]]=function(){return !this[_0x5826[1674]]};mxImageShape[_0x5826[202]][_0x5826[1570]]=function(){var _0x1b20x2=document[_0x5826[55]](_0x5826[485]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];return _0x1b20x2};mxImageShape[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=this[_0x5826[618]]){var _0x1b20xa=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_BACKGROUND,null),_0x1b20x12=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_BORDER,null);if(null!=_0x1b20xa||null!=_0x1b20x12){_0x1b20x2[_0x5826[1245]](_0x1b20xa),_0x1b20x2[_0x5826[1249]](_0x1b20x12),_0x1b20x2[_0x5826[1319]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[1337]]()};_0x1b20x2[_0x5826[618]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,this[_0x5826[618]],this[_0x5826[1674]],!1,!1)}else {mxRectangleShape[_0x5826[202]][_0x5826[1601]][_0x5826[183]](this,arguments)}};mxImageShape[_0x5826[202]][_0x5826[1575]]=function(){this[_0x5826[252]][_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]])+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]])+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[117]]=Math[_0x5826[160]](0,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[117]]))+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[119]]=Math[_0x5826[160]](0,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[119]]))+_0x5826[168];this[_0x5826[252]][_0x5826[124]][_0x5826[1028]]=this[_0x5826[1334]]||_0x5826[110];this[_0x5826[252]][_0x5826[124]][_0x5826[1630]]=this[_0x5826[1336]]||_0x5826[110];this[_0x5826[252]][_0x5826[339]]=_0x5826[110];if(null!=this[_0x5826[618]]){var _0x1b20x2=document[_0x5826[55]](mxClient[_0x5826[49]]||null==mxClient[_0x5826[73]]&&0!=this[_0x5826[603]]?mxClient[_0x5826[463]]+_0x5826[464]:_0x5826[466]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x2[_0x5826[390]]=this[_0x5826[618]];var _0x1b20x3=100>this[_0x5826[461]]?_0x5826[459]+this[_0x5826[461]]+_0x5826[460]:_0x5826[110];this[_0x5826[252]][_0x5826[124]][_0x5826[347]]=_0x1b20x3;this[_0x5826[623]]&&this[_0x5826[624]]?_0x1b20x3+=_0x5826[1677]:this[_0x5826[623]]?_0x1b20x3+=_0x5826[1678]:this[_0x5826[624]]&&(_0x1b20x3+=_0x5826[1679]);_0x1b20x2[_0x5826[124]][_0x5826[347]]!=_0x1b20x3&&(_0x1b20x2[_0x5826[124]][_0x5826[347]]=_0x1b20x3);_0x5826[618]==_0x1b20x2[_0x5826[301]]?_0x1b20x2[_0x5826[124]][_0x5826[603]]=this[_0x5826[603]]:_0x1b20x2[_0x5826[124]][mxClient[_0x5826[73]]+_0x5826[1662]]=_0x5826[1394]+this[_0x5826[603]]+_0x5826[1666];_0x1b20x2[_0x5826[124]][_0x5826[117]]=this[_0x5826[252]][_0x5826[124]][_0x5826[117]];_0x1b20x2[_0x5826[124]][_0x5826[119]]=this[_0x5826[252]][_0x5826[124]][_0x5826[119]];this[_0x5826[252]][_0x5826[124]][_0x5826[1617]]=_0x5826[110];this[_0x5826[252]][_0x5826[62]](_0x1b20x2)}else {this[_0x5826[1600]](this[_0x5826[252]])}};function mxLabel(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxRectangleShape[_0x5826[239]](this,_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)}mxUtils[_0x5826[1284]](mxLabel,mxRectangleShape);mxLabel[_0x5826[202]][_0x5826[1680]]=mxConstants[_0x5826[1681]];mxLabel[_0x5826[202]][_0x5826[657]]=2;mxLabel[_0x5826[202]][_0x5826[1682]]=10;mxLabel[_0x5826[202]][_0x5826[635]]=2;mxLabel[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2){mxShape[_0x5826[202]][_0x5826[176]][_0x5826[183]](this,arguments);null!=this[_0x5826[632]]&&null!=this[_0x5826[630]]&&(this[_0x5826[1683]]= new this[_0x5826[630]],this[_0x5826[1683]][_0x5826[507]]=this[_0x5826[507]],this[_0x5826[1683]][_0x5826[1562]]=this[_0x5826[1562]],this[_0x5826[1683]][_0x5826[1334]]=this[_0x5826[632]],this[_0x5826[1683]][_0x5826[1336]]=this[_0x5826[632]],this[_0x5826[1683]][_0x5826[1299]]=this[_0x5826[634]],this[_0x5826[1683]][_0x5826[663]]=this[_0x5826[638]],this[_0x5826[1683]][_0x5826[176]](this[_0x5826[252]]))};mxLabel[_0x5826[202]][_0x5826[258]]=function(){null!=this[_0x5826[1683]]&&(this[_0x5826[1683]][_0x5826[1334]]=this[_0x5826[632]],this[_0x5826[1683]][_0x5826[1336]]=this[_0x5826[632]],this[_0x5826[1683]][_0x5826[1299]]=this[_0x5826[634]],this[_0x5826[1683]][_0x5826[663]]=this[_0x5826[638]]);mxShape[_0x5826[202]][_0x5826[258]][_0x5826[183]](this,arguments)};mxLabel[_0x5826[202]][_0x5826[1567]]=function(){return mxRectangleShape[_0x5826[202]][_0x5826[1567]][_0x5826[183]](this,arguments)&&null==this[_0x5826[632]]&&null==this[_0x5826[630]]};mxLabel[_0x5826[202]][_0x5826[1602]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){this[_0x5826[1684]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);this[_0x5826[1685]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9);mxRectangleShape[_0x5826[202]][_0x5826[1602]][_0x5826[183]](this,arguments)};mxLabel[_0x5826[202]][_0x5826[1684]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){null!=this[_0x5826[618]]&&(_0x1b20x3=this[_0x5826[1686]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[618]](_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]],this[_0x5826[618]],!1,!1,!1))};mxLabel[_0x5826[202]][_0x5826[1686]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0x1b20xa=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x1b20x12=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),_0x1b20x13=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),_0x1b20x14=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_SPACING,this[_0x5826[657]])+5;_0x1b20x2=_0x1b20x9==mxConstants[_0x5826[479]]?_0x1b20x2+(_0x1b20x4-_0x1b20x12)/2:_0x1b20x9==mxConstants[_0x5826[480]]?_0x1b20x2+(_0x1b20x4-_0x1b20x12-_0x1b20x14):_0x1b20x2+_0x1b20x14;_0x1b20x3=_0x1b20xa==mxConstants[_0x5826[1687]]?_0x1b20x3+_0x1b20x14:_0x1b20xa==mxConstants[_0x5826[482]]?_0x1b20x3+(_0x1b20x5-_0x1b20x13-_0x1b20x14):_0x1b20x3+(_0x1b20x5-_0x1b20x13)/2;return new mxRectangle(_0x1b20x2,_0x1b20x3,_0x1b20x12,_0x1b20x13)};mxLabel[_0x5826[202]][_0x5826[1685]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){null!=this[_0x5826[1683]]?(this[_0x5826[1683]][_0x5826[1562]]=this[_0x5826[1688]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),this[_0x5826[1683]][_0x5826[1209]](_0x1b20x2)):null!=this[_0x5826[631]]&&(_0x1b20x3=this[_0x5826[1688]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[618]](_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]],this[_0x5826[631]],!1,!1,!1))};mxLabel[_0x5826[202]][_0x5826[1688]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0x1b20xa=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x1b20x12=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_INDICATOR_WIDTH,this[_0x5826[1682]]),_0x1b20x13=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_INDICATOR_HEIGHT,this[_0x5826[1682]]),_0x1b20x14=this[_0x5826[657]]+5;_0x1b20x2=_0x1b20x9==mxConstants[_0x5826[480]]?_0x1b20x2+(_0x1b20x4-_0x1b20x12-_0x1b20x14):_0x1b20x9==mxConstants[_0x5826[479]]?_0x1b20x2+(_0x1b20x4-_0x1b20x12)/2:_0x1b20x2+_0x1b20x14;_0x1b20x3=_0x1b20xa==mxConstants[_0x5826[482]]?_0x1b20x3+(_0x1b20x5-_0x1b20x13-_0x1b20x14):_0x1b20xa==mxConstants[_0x5826[1687]]?_0x1b20x3+_0x1b20x14:_0x1b20x3+(_0x1b20x5-_0x1b20x13)/2;return new mxRectangle(_0x1b20x2,_0x1b20x3,_0x1b20x12,_0x1b20x13)};mxLabel[_0x5826[202]][_0x5826[1575]]=function(){for(mxRectangleShape[_0x5826[202]][_0x5826[1575]][_0x5826[183]](this,arguments);this[_0x5826[252]][_0x5826[1580]]();){this[_0x5826[252]][_0x5826[266]](this[_0x5826[252]][_0x5826[1581]])};if(null!=this[_0x5826[618]]){var _0x1b20x2=document[_0x5826[55]](_0x5826[466]);_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[1500];_0x1b20x2[_0x5826[57]](_0x5826[467],_0x5826[468]);var _0x1b20x3=this[_0x5826[1686]](this[_0x5826[1562]][_0x5826[235]],this[_0x5826[1562]][_0x5826[236]],this[_0x5826[1562]][_0x5826[117]],this[_0x5826[1562]][_0x5826[119]]);_0x1b20x3[_0x5826[235]]-=this[_0x5826[1562]][_0x5826[235]];_0x1b20x3[_0x5826[236]]-=this[_0x5826[1562]][_0x5826[236]];_0x1b20x2[_0x5826[124]][_0x5826[361]]=Math[_0x5826[488]](_0x1b20x3[_0x5826[235]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[125]]=Math[_0x5826[488]](_0x1b20x3[_0x5826[236]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[117]]=Math[_0x5826[488]](_0x1b20x3[_0x5826[117]])+_0x5826[168];_0x1b20x2[_0x5826[124]][_0x5826[119]]=Math[_0x5826[488]](_0x1b20x3[_0x5826[119]])+_0x5826[168];_0x1b20x2[_0x5826[390]]=this[_0x5826[618]];this[_0x5826[252]][_0x5826[62]](_0x1b20x2)}};function mxCylinder(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxCylinder,mxShape);mxCylinder[_0x5826[202]][_0x5826[1503]]=40;mxCylinder[_0x5826[202]][_0x5826[1564]]=0;mxCylinder[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[513]](_0x1b20x3,_0x1b20x4);_0x1b20x2[_0x5826[1275]]();this[_0x5826[1625]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,!1);_0x1b20x2[_0x5826[1337]]();_0x1b20x2[_0x5826[1267]](!1);_0x1b20x2[_0x5826[1275]]();this[_0x5826[1625]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,!0);_0x1b20x2[_0x5826[1336]]()};mxCylinder[_0x5826[202]][_0x5826[1625]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x3=Math[_0x5826[243]](this[_0x5826[1503]],Math[_0x5826[488]](_0x1b20x9/5));if(_0x1b20xa&&null!=this[_0x5826[1334]]||!_0x1b20xa&&null==this[_0x5826[1334]]){_0x1b20x2[_0x5826[1276]](0,_0x1b20x3),_0x1b20x2[_0x5826[1279]](0,2*_0x1b20x3,_0x1b20x5,2*_0x1b20x3,_0x1b20x5,_0x1b20x3),_0x1b20xa||(_0x1b20x2[_0x5826[1336]](),_0x1b20x2[_0x5826[1275]]())};_0x1b20xa||(_0x1b20x2[_0x5826[1276]](0,_0x1b20x3),_0x1b20x2[_0x5826[1279]](0,-_0x1b20x3/3,_0x1b20x5,-_0x1b20x3/3,_0x1b20x5,_0x1b20x3),_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20x9-_0x1b20x3),_0x1b20x2[_0x5826[1279]](_0x1b20x5,_0x1b20x9+_0x1b20x3/3,0,_0x1b20x9+_0x1b20x3/3,0,_0x1b20x9-_0x1b20x3),_0x1b20x2[_0x5826[268]]())};function mxConnector(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxPolyline[_0x5826[239]](this,_0x1b20x2,_0x1b20x3,_0x1b20x4)}mxUtils[_0x5826[1284]](mxConnector,mxPolyline);mxConnector[_0x5826[202]][_0x5826[1594]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1689]](_0x1b20x2,_0x1b20x3,!0),_0x1b20x5=this[_0x5826[1689]](_0x1b20x2,_0x1b20x3,!1);null==this[_0x5826[124]]||1!=this[_0x5826[124]][mxConstants[_0x5826[1690]]]?this[_0x5826[1639]](_0x1b20x2,_0x1b20x3,this[_0x5826[1606]]):this[_0x5826[1691]](_0x1b20x2,_0x1b20x3);_0x1b20x2[_0x5826[1245]](this[_0x5826[1336]]);_0x1b20x2[_0x5826[1267]](!1);_0x1b20x2[_0x5826[1251]](!1);null!=_0x1b20x4&&_0x1b20x4();null!=_0x1b20x5&&_0x1b20x5()};mxConnector[_0x5826[202]][_0x5826[1691]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[1275]]();var _0x1b20x4=_0x1b20x3[0],_0x1b20x5=_0x1b20x3[_0x5826[67]];_0x1b20x2[_0x5826[1276]](_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]]);for(_0x1b20x4=1;_0x1b20x4<_0x1b20x5-2;_0x1b20x4++){var _0x1b20x9=_0x1b20x3[_0x1b20x4],_0x1b20xa=_0x1b20x3[_0x1b20x4+1];_0x1b20x2[_0x5826[1278]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],(_0x1b20x9[_0x5826[235]]+_0x1b20xa[_0x5826[235]])/2,(_0x1b20x9[_0x5826[236]]+_0x1b20xa[_0x5826[236]])/2)};_0x1b20x9=_0x1b20x3[_0x1b20x5-2];_0x1b20xa=_0x1b20x3[_0x1b20x5-1];_0x1b20x2[_0x5826[1278]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20xa[_0x5826[235]],_0x1b20xa[_0x5826[236]]);_0x1b20x2[_0x5826[1336]]()};mxConnector[_0x5826[202]][_0x5826[1689]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x3[_0x5826[67]],_0x1b20x9=_0x1b20x4?_0x1b20x3[1]:_0x1b20x3[_0x1b20x5-2];_0x1b20x3=_0x1b20x4?_0x1b20x3[0]:_0x1b20x3[_0x1b20x5-1];var _0x1b20x5=_0x1b20x3[_0x5826[235]]-_0x1b20x9[_0x5826[235]],_0x1b20xa=_0x1b20x3[_0x5826[236]]-_0x1b20x9[_0x5826[236]],_0x1b20x12=Math[_0x5826[160]](1,Math[_0x5826[428]](_0x1b20x5*_0x1b20x5+_0x1b20xa*_0x1b20xa)),_0x1b20x9=_0x1b20x5/_0x1b20x12,_0x1b20x5=_0x1b20xa/_0x1b20x12,_0x1b20xa=mxUtils[_0x5826[1550]](this[_0x5826[124]],_0x1b20x4?mxConstants[_0x5826[1692]]:mxConstants[_0x5826[1693]],mxConstants.DEFAULT_MARKERSIZE),_0x1b20x12=mxUtils[_0x5826[433]](this[_0x5826[124]],_0x1b20x4?mxConstants[_0x5826[1694]]:mxConstants[_0x5826[1695]]);return mxMarker[_0x5826[1689]](_0x1b20x2,this,_0x1b20x12,_0x1b20x3,_0x1b20x9,_0x1b20x5,_0x1b20xa,_0x1b20x4,this[_0x5826[1307]],0!=this[_0x5826[124]][_0x1b20x4?mxConstants[_0x5826[1696]]:mxConstants[_0x5826[1697]]])};mxConnector[_0x5826[202]][_0x5826[1612]]=function(_0x1b20x2){mxShape[_0x5826[202]][_0x5826[1612]][_0x5826[183]](this,arguments);var _0x1b20x3=0;mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants[_0x5826[217]]&&(_0x1b20x3=mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+1);mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants[_0x5826[217]]&&(_0x1b20x3=Math[_0x5826[160]](_0x1b20x3,mxUtils[_0x5826[1550]](this[_0x5826[124]],mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+1);_0x1b20x2[_0x5826[244]](Math[_0x5826[430]](_0x1b20x3*this[_0x5826[255]]))};function mxSwimlane(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxShape[_0x5826[239]](this);this[_0x5826[1562]]=_0x1b20x2;this[_0x5826[1334]]=_0x1b20x3;this[_0x5826[1336]]=_0x1b20x4;this[_0x5826[1307]]=null!=_0x1b20x5?_0x1b20x5:1}mxUtils[_0x5826[1284]](mxSwimlane,mxShape);mxSwimlane[_0x5826[202]][_0x5826[1680]]=16;mxSwimlane[_0x5826[202]][_0x5826[1597]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2=Math[_0x5826[243]](_0x1b20x9,mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return new mxRectangle(_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x2)};mxSwimlane[_0x5826[202]][_0x5826[1614]]=function(){var _0x1b20x2=mxShape[_0x5826[202]][_0x5826[1614]][_0x5826[183]](this,arguments);1!=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_HORIZONTAL,1)&&(_0x1b20x2+=mxText[_0x5826[202]][_0x5826[1616]]);return _0x1b20x2};mxSwimlane[_0x5826[202]][_0x5826[1615]]=function(){return this[_0x5826[1614]]()};mxSwimlane[_0x5826[202]][_0x5826[1590]]=function(){return mxShape[_0x5826[202]][_0x5826[1590]][_0x5826[183]](this,arguments)||1!=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_HORIZONTAL,1)};mxSwimlane[_0x5826[202]][_0x5826[1603]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_ARCSIZE,100*mxConstants[_0x5826[1557]])/100;return 3*_0x1b20x4*_0x1b20x2};mxSwimlane[_0x5826[202]][_0x5826[1595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=Math[_0x5826[243]](_0x1b20x9,mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),_0x1b20x12=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),_0x1b20x13=1==mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_SWIMLANE_LINE,1),_0x1b20x14=0;_0x1b20x2[_0x5826[513]](_0x1b20x3,_0x1b20x4);this[_0x5826[1606]]?(_0x1b20x14=this[_0x5826[1603]](_0x1b20x5,_0x1b20x9,_0x1b20xa),this[_0x5826[1698]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x14,_0x1b20x12,_0x1b20x13)):this[_0x5826[1699]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13);_0x1b20x12=mxUtils[_0x5826[433]](this[_0x5826[124]],mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);this[_0x5826[1700]](_0x1b20x2,_0x1b20x5,_0x1b20xa,_0x1b20x9,_0x1b20x12);null!=this[_0x5826[618]]&&(_0x1b20x9=this[_0x5826[1686]](_0x1b20x3,_0x1b20xa,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[618]](_0x1b20x9[_0x5826[235]]-_0x1b20x3,_0x1b20x9[_0x5826[236]]-_0x1b20x4,_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]],this[_0x5826[618]],!1,!1,!1));this[_0x5826[617]]&&(_0x1b20x2[_0x5826[1267]](!1),this[_0x5826[1604]](_0x1b20x2,0,0,_0x1b20x5,_0x1b20xa,_0x1b20x14))};mxSwimlane[_0x5826[202]][_0x5826[1699]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){_0x1b20x12!=mxConstants[_0x5826[217]]&&(_0x1b20x2[_0x5826[815]](),_0x1b20x2[_0x5826[1245]](_0x1b20x12),_0x1b20x2[_0x5826[1319]](0,0,_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[1337]](),_0x1b20x2[_0x5826[1210]](),_0x1b20x2[_0x5826[1267]](!1));_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](0,_0x1b20xa);_0x1b20x2[_0x5826[1277]](0,0);_0x1b20x2[_0x5826[1277]](_0x1b20x5,0);_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20xa);_0x1b20x13&&_0x1b20x2[_0x5826[268]]();_0x1b20x2[_0x5826[1337]]();_0x1b20xa<_0x1b20x9&&_0x1b20x12==mxConstants[_0x5826[217]]&&(_0x1b20x2[_0x5826[1229]]= !1,_0x1b20x2[_0x5826[1275]](),_0x1b20x2[_0x5826[1276]](0,_0x1b20xa),_0x1b20x2[_0x5826[1277]](0,_0x1b20x9),_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20x9),_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20xa),_0x1b20x2[_0x5826[1336]]())};mxSwimlane[_0x5826[202]][_0x5826[1698]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){_0x1b20x13!=mxConstants[_0x5826[217]]&&(_0x1b20x2[_0x5826[815]](),_0x1b20x2[_0x5826[1245]](_0x1b20x13),_0x1b20x2[_0x5826[1320]](0,0,_0x1b20x5,_0x1b20x9,_0x1b20x12,_0x1b20x12),_0x1b20x2[_0x5826[1337]](),_0x1b20x2[_0x5826[1210]](),_0x1b20x2[_0x5826[1267]](!1));_0x1b20x2[_0x5826[1275]]();_0x1b20x2[_0x5826[1276]](_0x1b20x5,_0x1b20xa);_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20x12);_0x1b20x2[_0x5826[1278]](_0x1b20x5,0,_0x1b20x5-Math[_0x5826[243]](_0x1b20x5/2,_0x1b20x12),0);_0x1b20x2[_0x5826[1277]](Math[_0x5826[243]](_0x1b20x5/2,_0x1b20x12),0);_0x1b20x2[_0x5826[1278]](0,0,0,_0x1b20x12);_0x1b20x2[_0x5826[1277]](0,_0x1b20xa);_0x1b20x14&&_0x1b20x2[_0x5826[268]]();_0x1b20x2[_0x5826[1337]]();_0x1b20xa<_0x1b20x9&&_0x1b20x13==mxConstants[_0x5826[217]]&&(_0x1b20x2[_0x5826[1229]]= !1,_0x1b20x2[_0x5826[1275]](),_0x1b20x2[_0x5826[1276]](0,_0x1b20xa),_0x1b20x2[_0x5826[1277]](0,_0x1b20x9-_0x1b20x12),_0x1b20x2[_0x5826[1278]](0,_0x1b20x9,Math[_0x5826[243]](_0x1b20x5/2,_0x1b20x12),_0x1b20x9),_0x1b20x2[_0x5826[1277]](_0x1b20x5-Math[_0x5826[243]](_0x1b20x5/2,_0x1b20x12),_0x1b20x9),_0x1b20x2[_0x5826[1278]](_0x1b20x5,_0x1b20x9,_0x1b20x5,_0x1b20x9-_0x1b20x12),_0x1b20x2[_0x5826[1277]](_0x1b20x5,_0x1b20xa),_0x1b20x2[_0x5826[1336]]())};mxSwimlane[_0x5826[202]][_0x5826[1700]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x9!=mxConstants[_0x5826[217]]&&(_0x1b20x2[_0x5826[1249]](_0x1b20x9),_0x1b20x2[_0x5826[1251]](!0),_0x1b20x2[_0x5826[1275]](),_0x1b20x2[_0x5826[1276]](_0x1b20x3,_0x1b20x4),_0x1b20x2[_0x5826[1277]](_0x1b20x3,_0x1b20x5),_0x1b20x2[_0x5826[1336]](),_0x1b20x2[_0x5826[1251]](!1))};mxSwimlane[_0x5826[202]][_0x5826[1686]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return new mxRectangle(_0x1b20x2+_0x1b20x4-this[_0x5826[1680]],_0x1b20x3,this[_0x5826[1680]],this[_0x5826[1680]])};function mxGraphLayout(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2}mxGraphLayout[_0x5826[202]][_0x5826[1179]]=null;mxGraphLayout[_0x5826[202]][_0x5826[1701]]= !0;mxGraphLayout[_0x5826[202]][_0x5826[1101]]=null;mxGraphLayout[_0x5826[202]][_0x5826[1702]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){};mxGraphLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){};mxGraphLayout[_0x5826[202]][_0x5826[1703]]=function(){return this[_0x5826[1179]]};mxGraphLayout[_0x5826[202]][_0x5826[1704]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3);_0x1b20x3=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1179]][_0x5826[1705]](_0x1b20x3);return null!=_0x1b20x3?_0x1b20x3[_0x1b20x2]:null};mxGraphLayout[_0x5826[1706]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x4&&null!=_0x1b20x2){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;_0x1b20x9=_0x1b20x9||[];var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2);if(null==_0x1b20x9[_0x1b20xa]&&(_0x1b20x9[_0x1b20xa]=_0x1b20x2,_0x1b20x5=_0x1b20x4(_0x1b20x2,_0x1b20x5),null==_0x1b20x5||_0x1b20x5)){if(_0x1b20x5=this[_0x5826[1179]][_0x5826[251]][_0x5826[1707]](_0x1b20x2),0<_0x1b20x5){for(_0x1b20xa=0;_0x1b20xa<_0x1b20x5;_0x1b20xa++){var _0x1b20x12=this[_0x5826[1179]][_0x5826[251]][_0x5826[1708]](_0x1b20x2,_0x1b20xa),_0x1b20x13=this[_0x5826[1179]][_0x5826[251]][_0x5826[1709]](_0x1b20x12,!0)==_0x1b20x2;if(!_0x1b20x3||_0x1b20x13){_0x1b20x13=this[_0x5826[1179]][_0x5826[441]][_0x5826[1710]](_0x1b20x12,!_0x1b20x13),this[_0x5826[1706]](_0x1b20x13,_0x1b20x3,_0x1b20x4,_0x1b20x12,_0x1b20x9)}}}}}};mxGraphLayout[_0x5826[202]][_0x5826[1711]]=function(_0x1b20x2){return this[_0x5826[1179]][_0x5826[1712]](_0x1b20x2)};mxGraphLayout[_0x5826[202]][_0x5826[1713]]=function(_0x1b20x2){return !this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1193]](_0x1b20x2)||!this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2)};mxGraphLayout[_0x5826[202]][_0x5826[1715]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();return !_0x1b20x3[_0x5826[250]](_0x1b20x2)||!this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2)||null==_0x1b20x3[_0x5826[1709]](_0x1b20x2,!0)||null==_0x1b20x3[_0x5826[1709]](_0x1b20x2,!1)};mxGraphLayout[_0x5826[202]][_0x5826[1716]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_NOEDGESTYLE,_0x1b20x3?_0x5826[468]:_0x5826[500],[_0x1b20x2])};mxGraphLayout[_0x5826[202]][_0x5826[1718]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_ORTHOGONAL,_0x1b20x3?_0x5826[500]:_0x5826[468],[_0x1b20x2])};mxGraphLayout[_0x5826[202]][_0x5826[1719]]=function(_0x1b20x2){var _0x1b20x3= new mxPoint;if(null!=_0x1b20x2&&_0x1b20x2!=this[_0x5826[1101]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]();if(_0x1b20x4[_0x5826[1720]](this[_0x5826[1101]],_0x1b20x2)){for(var _0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x2);_0x1b20x2!=this[_0x5826[1101]];){_0x1b20x3[_0x5826[235]]+=_0x1b20x5[_0x5826[235]],_0x1b20x3[_0x5826[236]]+=_0x1b20x5[_0x5826[236]],_0x1b20x2=_0x1b20x4[_0x5826[1197]](_0x1b20x2),_0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x2)}}};return _0x1b20x3};mxGraphLayout[_0x5826[202]][_0x5826[1722]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2){var _0x1b20x4=this[_0x5826[1179]][_0x5826[251]],_0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x2);null==_0x1b20x5?(_0x1b20x5= new mxGeometry,_0x1b20x5[_0x5826[1723]](!0)):_0x1b20x5=_0x1b20x5[_0x5826[238]]();if(null!=this[_0x5826[1101]]&&null!=_0x1b20x3){for(var _0x1b20x9=_0x1b20x4[_0x5826[1197]](_0x1b20x2),_0x1b20x9=this[_0x5826[1719]](_0x1b20x9),_0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[67]];_0x1b20xa++){_0x1b20x3[_0x1b20xa][_0x5826[235]]-=_0x1b20x9[_0x5826[235]],_0x1b20x3[_0x1b20xa][_0x5826[236]]-=_0x1b20x9[_0x5826[236]]}};_0x1b20x5[_0x5826[1525]]=_0x1b20x3;_0x1b20x4[_0x5826[1724]](_0x1b20x2,_0x1b20x5)}};mxGraphLayout[_0x5826[202]][_0x5826[1725]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[1721]](_0x1b20x2),_0x1b20xa=null;if(null!=_0x1b20x9){_0x1b20xa= new mxRectangle(_0x1b20x3,_0x1b20x4,_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]]);if(this[_0x5826[1701]]){var _0x1b20x12=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);if(null!=_0x1b20x12&&null!=_0x1b20x12[_0x5826[963]]&&null!=_0x1b20x12[_0x5826[963]][_0x5826[1563]]){var _0x1b20x13=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x14=_0x1b20x12[_0x5826[963]][_0x5826[1563]];_0x1b20x12[_0x5826[963]][_0x5826[1563]][_0x5826[235]]<_0x1b20x12[_0x5826[235]]&&(_0x1b20x3+=(_0x1b20x12[_0x5826[235]]-_0x1b20x14[_0x5826[235]])/_0x1b20x13,_0x1b20xa[_0x5826[117]]=_0x1b20x14[_0x5826[117]]);_0x1b20x12[_0x5826[963]][_0x5826[1563]][_0x5826[236]]<_0x1b20x12[_0x5826[236]]&&(_0x1b20x4+=(_0x1b20x12[_0x5826[236]]-_0x1b20x14[_0x5826[236]])/_0x1b20x13,_0x1b20xa[_0x5826[119]]=_0x1b20x14[_0x5826[119]])}};null!=this[_0x5826[1101]]&&(_0x1b20x12=_0x1b20x5[_0x5826[1197]](_0x1b20x2),null!=_0x1b20x12&&_0x1b20x12!=this[_0x5826[1101]]&&(_0x1b20x12=this[_0x5826[1719]](_0x1b20x12),_0x1b20x3-=_0x1b20x12[_0x5826[235]],_0x1b20x4-=_0x1b20x12[_0x5826[236]]));if(_0x1b20x9[_0x5826[235]]!=_0x1b20x3||_0x1b20x9[_0x5826[236]]!=_0x1b20x4){_0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20x9[_0x5826[235]]=_0x1b20x3,_0x1b20x9[_0x5826[236]]=_0x1b20x4,_0x1b20x5[_0x5826[1724]](_0x1b20x2,_0x1b20x9)}};return _0x1b20xa};mxGraphLayout[_0x5826[202]][_0x5826[1726]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1721]](_0x1b20x2);if(this[_0x5826[1701]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);if(null!=_0x1b20x4&&null!=_0x1b20x4[_0x5826[963]]&&null!=_0x1b20x4[_0x5826[963]][_0x5826[1563]]){var _0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x9=_0x1b20x4[_0x5826[963]][_0x5826[1563]],_0x1b20xa=Math[_0x5826[160]](_0x1b20x4[_0x5826[235]]-_0x1b20x9[_0x5826[235]],0)/_0x1b20x5,_0x1b20x12=Math[_0x5826[160]](_0x1b20x4[_0x5826[236]]-_0x1b20x9[_0x5826[236]],0)/_0x1b20x5,_0x1b20x13=Math[_0x5826[160]](_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]-(_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]),0)/_0x1b20x5,_0x1b20x4=Math[_0x5826[160]](_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]-(_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]),0)/_0x1b20x5,_0x1b20x3= new mxRectangle(_0x1b20x3[_0x5826[235]]-_0x1b20xa,_0x1b20x3[_0x5826[236]]-_0x1b20x12,_0x1b20x3[_0x5826[117]]+_0x1b20xa+_0x1b20x13,_0x1b20x3[_0x5826[119]]+_0x1b20x12+_0x1b20x4)}};null!=this[_0x5826[1101]]&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](_0x1b20x2),_0x1b20x3=_0x1b20x3[_0x5826[238]](),null!=_0x1b20x2&&_0x1b20x2!=this[_0x5826[1101]]&&(_0x1b20x2=this[_0x5826[1719]](_0x1b20x2),_0x1b20x3[_0x5826[235]]+=_0x1b20x2[_0x5826[235]],_0x1b20x3[_0x5826[236]]+=_0x1b20x2[_0x5826[236]]));return new mxRectangle(_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]])};mxGraphLayout[_0x5826[202]][_0x5826[1727]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]][_0x5826[502]]()[_0x5826[473]]();try{for(var _0x1b20x4=_0x1b20x2[_0x5826[67]]-1;0<=_0x1b20x4;_0x1b20x4--){var _0x1b20x5=_0x1b20x2[_0x1b20x4],_0x1b20x9=this[_0x5826[1179]][_0x5826[1728]](_0x1b20x5),_0x1b20xa=this[_0x5826[1179]][_0x5826[1729]](_0x1b20x9),_0x1b20x12=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x5),_0x1b20x13=0,_0x1b20x14=0;if(this[_0x5826[1179]][_0x5826[1730]](_0x1b20x5)){var _0x1b20x15=this[_0x5826[1179]][_0x5826[1731]](_0x1b20x5),_0x1b20x13=_0x1b20x15[_0x5826[117]],_0x1b20x14=_0x1b20x15[_0x5826[119]]};null!=_0x1b20xa&&null!=_0x1b20x12&&(_0x1b20x12=_0x1b20x12[_0x5826[238]](),_0x1b20x12[_0x5826[235]]=_0x1b20x12[_0x5826[235]]+_0x1b20xa[_0x5826[235]]-_0x1b20x3-_0x1b20x13,_0x1b20x12[_0x5826[236]]=_0x1b20x12[_0x5826[236]]+_0x1b20xa[_0x5826[236]]-_0x1b20x3-_0x1b20x14,_0x1b20x12[_0x5826[117]]=_0x1b20xa[_0x5826[117]]+2*_0x1b20x3+_0x1b20x13,_0x1b20x12[_0x5826[119]]=_0x1b20xa[_0x5826[119]]+2*_0x1b20x3+_0x1b20x14,this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1724]](_0x1b20x5,_0x1b20x12),this[_0x5826[1179]][_0x5826[834]](_0x1b20x9,_0x1b20x3+_0x1b20x13-_0x1b20xa[_0x5826[235]],_0x1b20x3+_0x1b20x14-_0x1b20xa[_0x5826[236]]))}}finally{this[_0x5826[1179]][_0x5826[502]]()[_0x5826[476]]()}};function mxStackLayout(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[662]]=null!=_0x1b20x3?_0x1b20x3:!0;this[_0x5826[657]]=null!=_0x1b20x4?_0x1b20x4:0;this[_0x5826[1732]]=null!=_0x1b20x5?_0x1b20x5:0;this[_0x5826[1733]]=null!=_0x1b20x9?_0x1b20x9:0;this[_0x5826[467]]=null!=_0x1b20xa?_0x1b20xa:0}mxStackLayout[_0x5826[202]]= new mxGraphLayout;mxStackLayout[_0x5826[202]][_0x5826[196]]=mxStackLayout;mxStackLayout[_0x5826[202]][_0x5826[662]]=null;mxStackLayout[_0x5826[202]][_0x5826[657]]=null;mxStackLayout[_0x5826[202]][_0x5826[1732]]=null;mxStackLayout[_0x5826[202]][_0x5826[1733]]=null;mxStackLayout[_0x5826[202]][_0x5826[467]]=0;mxStackLayout[_0x5826[202]][_0x5826[1734]]= !1;mxStackLayout[_0x5826[202]][_0x5826[1334]]= !1;mxStackLayout[_0x5826[202]][_0x5826[1735]]= !1;mxStackLayout[_0x5826[202]][_0x5826[1736]]= !1;mxStackLayout[_0x5826[202]][_0x5826[1333]]=null;mxStackLayout[_0x5826[202]][_0x5826[1737]]=function(){return this[_0x5826[662]]};mxStackLayout[_0x5826[202]][_0x5826[1702]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[1197]](_0x1b20x2),_0x1b20xa=this[_0x5826[1737]]();if(null!=_0x1b20x2&&null!=_0x1b20x9){var _0x1b20x12=0,_0x1b20x13=0,_0x1b20x14=_0x1b20x5[_0x5826[262]](_0x1b20x9);_0x1b20x3=_0x1b20xa?_0x1b20x3:_0x1b20x4;_0x1b20x12=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x9);null!=_0x1b20x12&&(_0x1b20x3-=_0x1b20xa?_0x1b20x12[_0x5826[235]]:_0x1b20x12[_0x5826[236]]);for(_0x1b20x12=0;_0x1b20x12<_0x1b20x14;_0x1b20x12++){if(_0x1b20x4=_0x1b20x5[_0x5826[263]](_0x1b20x9,_0x1b20x12),_0x1b20x4!=_0x1b20x2&&(_0x1b20x4=_0x1b20x5[_0x5826[1721]](_0x1b20x4),null!=_0x1b20x4)){_0x1b20x4=_0x1b20xa?_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]/2:_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]/2;if(_0x1b20x13<_0x1b20x3&&_0x1b20x4>_0x1b20x3){break};_0x1b20x13=_0x1b20x4}};_0x1b20xa=_0x1b20x9[_0x5826[1738]](_0x1b20x2);_0x1b20xa=Math[_0x5826[160]](0,_0x1b20x12-(_0x1b20x12>_0x1b20xa?1:0));_0x1b20x5[_0x5826[99]](_0x1b20x9,_0x1b20x2,_0x1b20xa)}};mxStackLayout[_0x5826[202]][_0x5826[1739]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=_0x1b20x3[_0x5826[1721]](_0x1b20x2);if(null!=this[_0x5826[1179]][_0x5826[526]]&&(null==_0x1b20x4&&_0x1b20x3[_0x5826[1740]](_0x1b20x2)||_0x1b20x2==this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1741]])){_0x1b20x4= new mxRectangle(0,0,this[_0x5826[1179]][_0x5826[526]][_0x5826[359]]-1,this[_0x5826[1179]][_0x5826[526]][_0x5826[167]]-1)};return _0x1b20x4};mxStackLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[1737]](),_0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=this[_0x5826[1739]](_0x1b20x2),_0x1b20x9=0;null!=_0x1b20x5&&(_0x1b20x9=_0x1b20x3?_0x1b20x5[_0x5826[119]]:_0x1b20x5[_0x5826[117]]);var _0x1b20x9=_0x1b20x9-(2*this[_0x5826[657]]+2*this[_0x5826[467]]),_0x1b20xa=this[_0x5826[1732]]+this[_0x5826[467]],_0x1b20x12=this[_0x5826[1733]]+this[_0x5826[467]];if(this[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)){var _0x1b20x13=this[_0x5826[1179]][_0x5826[1705]](_0x1b20x2),_0x1b20x14=mxUtils[_0x5826[433]](_0x1b20x13,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),_0x1b20x13=mxUtils[_0x5826[433]](_0x1b20x13,mxConstants.STYLE_HORIZONTAL,!0);_0x1b20x3==_0x1b20x13&&(_0x1b20x9-=_0x1b20x14);_0x1b20x3?_0x1b20x12+=_0x1b20x14:_0x1b20xa+=_0x1b20x14};_0x1b20x4[_0x5826[473]]();try{for(var _0x1b20x14=0,_0x1b20x13=null,_0x1b20x15=_0x1b20x4[_0x5826[262]](_0x1b20x2),_0x1b20x16=0;_0x1b20x16<_0x1b20x15;_0x1b20x16++){var _0x1b20x17=_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x16);if(!this[_0x5826[1713]](_0x1b20x17)&&this[_0x5826[1711]](_0x1b20x17)){var _0x1b20x18=_0x1b20x4[_0x5826[1721]](_0x1b20x17);if(null!=_0x1b20x18){_0x1b20x18=_0x1b20x18[_0x5826[238]]();if(null!=this[_0x5826[1333]]&&null!=_0x1b20x13&&(_0x1b20x3&&_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]]+_0x1b20x18[_0x5826[117]]+2*this[_0x5826[657]]>this[_0x5826[1333]]||!_0x1b20x3&&_0x1b20x13[_0x5826[236]]+_0x1b20x13[_0x5826[119]]+_0x1b20x18[_0x5826[119]]+2*this[_0x5826[657]]>this[_0x5826[1333]])){_0x1b20x13=null,_0x1b20x3?_0x1b20x12+=_0x1b20x14+this[_0x5826[657]]:_0x1b20xa+=_0x1b20x14+this[_0x5826[657]],_0x1b20x14=0};_0x1b20x14=Math[_0x5826[160]](_0x1b20x14,_0x1b20x3?_0x1b20x18[_0x5826[119]]:_0x1b20x18[_0x5826[117]]);null!=_0x1b20x13?_0x1b20x3?_0x1b20x18[_0x5826[235]]=_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]]+this[_0x5826[657]]:_0x1b20x18[_0x5826[236]]=_0x1b20x13[_0x5826[236]]+_0x1b20x13[_0x5826[119]]+this[_0x5826[657]]:this[_0x5826[1734]]||(_0x1b20x3?_0x1b20x18[_0x5826[235]]=_0x1b20xa:_0x1b20x18[_0x5826[236]]=_0x1b20x12);_0x1b20x3?_0x1b20x18[_0x5826[236]]=_0x1b20x12:_0x1b20x18[_0x5826[235]]=_0x1b20xa;this[_0x5826[1334]]&&0<_0x1b20x9&&(_0x1b20x3?_0x1b20x18[_0x5826[119]]=_0x1b20x9:_0x1b20x18[_0x5826[117]]=_0x1b20x9);_0x1b20x4[_0x5826[1724]](_0x1b20x17,_0x1b20x18);_0x1b20x13=_0x1b20x18}}};this[_0x5826[1735]]&&null!=_0x1b20x5&&null!=_0x1b20x13&&!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x2)?(_0x1b20x5=_0x1b20x5[_0x5826[238]](),_0x1b20x3?_0x1b20x5[_0x5826[117]]=_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]]+this[_0x5826[657]]:_0x1b20x5[_0x5826[119]]=_0x1b20x13[_0x5826[236]]+_0x1b20x13[_0x5826[119]]+this[_0x5826[657]],_0x1b20x4[_0x5826[1724]](_0x1b20x2,_0x1b20x5)):this[_0x5826[1736]]&&(null!=_0x1b20x5&&null!=_0x1b20x13)&&(_0x1b20x3?_0x1b20x13[_0x5826[117]]=_0x1b20x5[_0x5826[117]]-_0x1b20x13[_0x5826[235]]-this[_0x5826[657]]:_0x1b20x13[_0x5826[119]]=_0x1b20x5[_0x5826[119]]-_0x1b20x13[_0x5826[236]]-this[_0x5826[657]])}finally{_0x1b20x4[_0x5826[476]]()}}};function mxPartitionLayout(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[662]]=null!=_0x1b20x3?_0x1b20x3:!0;this[_0x5826[657]]=_0x1b20x4||0;this[_0x5826[467]]=_0x1b20x5||0}mxPartitionLayout[_0x5826[202]]= new mxGraphLayout;mxPartitionLayout[_0x5826[202]][_0x5826[196]]=mxPartitionLayout;mxPartitionLayout[_0x5826[202]][_0x5826[662]]=null;mxPartitionLayout[_0x5826[202]][_0x5826[657]]=null;mxPartitionLayout[_0x5826[202]][_0x5826[467]]=null;mxPartitionLayout[_0x5826[202]][_0x5826[1743]]= !0;mxPartitionLayout[_0x5826[202]][_0x5826[1737]]=function(){return this[_0x5826[662]]};mxPartitionLayout[_0x5826[202]][_0x5826[1702]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=this[_0x5826[1179]][_0x5826[502]]();var _0x1b20x5=_0x1b20x4[_0x5826[1197]](_0x1b20x2);if(null!=_0x1b20x2&&null!=_0x1b20x5){for(var _0x1b20x9=0,_0x1b20xa=0,_0x1b20x12=_0x1b20x4[_0x5826[262]](_0x1b20x5),_0x1b20x9=0;_0x1b20x9<_0x1b20x12;_0x1b20x9++){var _0x1b20x13=_0x1b20x4[_0x5826[263]](_0x1b20x5,_0x1b20x9),_0x1b20x13=this[_0x5826[1726]](_0x1b20x13);if(null!=_0x1b20x13){_0x1b20x13=_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]]/2;if(_0x1b20xa<_0x1b20x3&&_0x1b20x13>_0x1b20x3){break};_0x1b20xa=_0x1b20x13}};_0x1b20x3=_0x1b20x5[_0x5826[1738]](_0x1b20x2);_0x1b20x3=Math[_0x5826[160]](0,_0x1b20x9-(_0x1b20x9>_0x1b20x3?1:0));_0x1b20x4[_0x5826[99]](_0x1b20x5,_0x1b20x2,_0x1b20x3)}};mxPartitionLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1737]](),_0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x2);if(null!=this[_0x5826[1179]][_0x5826[526]]&&(null==_0x1b20x5&&_0x1b20x4[_0x5826[1740]](_0x1b20x2)||_0x1b20x2==this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1741]])){_0x1b20x5= new mxRectangle(0,0,this[_0x5826[1179]][_0x5826[526]][_0x5826[359]]-1,this[_0x5826[1179]][_0x5826[526]][_0x5826[167]]-1)};if(null!=_0x1b20x5){for(var _0x1b20x9=[],_0x1b20xa=_0x1b20x4[_0x5826[262]](_0x1b20x2),_0x1b20x12=0;_0x1b20x12<_0x1b20xa;_0x1b20x12++){var _0x1b20x13=_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x12);!this[_0x5826[1713]](_0x1b20x13)&&this[_0x5826[1711]](_0x1b20x13)&&_0x1b20x9[_0x5826[207]](_0x1b20x13)};_0x1b20xa=_0x1b20x9[_0x5826[67]];if(0<_0x1b20xa){var _0x1b20x14=this[_0x5826[467]],_0x1b20x15=this[_0x5826[467]],_0x1b20x16=_0x1b20x3?_0x1b20x5[_0x5826[119]]:_0x1b20x5[_0x5826[117]],_0x1b20x16=_0x1b20x16-2*this[_0x5826[467]];_0x1b20x2=this[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)?this[_0x5826[1179]][_0x5826[1731]](_0x1b20x2): new mxRectangle;_0x1b20x16-=_0x1b20x3?_0x1b20x2[_0x5826[119]]:_0x1b20x2[_0x5826[117]];_0x1b20x14+=_0x1b20x2[_0x5826[117]];_0x1b20x15+=_0x1b20x2[_0x5826[119]];_0x1b20x2=this[_0x5826[467]]+(_0x1b20xa-1)*this[_0x5826[657]];_0x1b20x5=_0x1b20x3?(_0x1b20x5[_0x5826[117]]-_0x1b20x14-_0x1b20x2)/_0x1b20xa:(_0x1b20x5[_0x5826[119]]-_0x1b20x15-_0x1b20x2)/_0x1b20xa;if(0<_0x1b20x5){_0x1b20x4[_0x5826[473]]();try{for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa;_0x1b20x12++){var _0x1b20x13=_0x1b20x9[_0x1b20x12],_0x1b20x17=_0x1b20x4[_0x5826[1721]](_0x1b20x13);null!=_0x1b20x17&&(_0x1b20x17=_0x1b20x17[_0x5826[238]](),_0x1b20x17[_0x5826[235]]=_0x1b20x14,_0x1b20x17[_0x5826[236]]=_0x1b20x15,_0x1b20x3?(this[_0x5826[1743]]&&(_0x1b20x17[_0x5826[117]]=_0x1b20x5,_0x1b20x17[_0x5826[119]]=_0x1b20x16),_0x1b20x14+=_0x1b20x5+this[_0x5826[657]]):(this[_0x5826[1743]]&&(_0x1b20x17[_0x5826[119]]=_0x1b20x5,_0x1b20x17[_0x5826[117]]=_0x1b20x16),_0x1b20x15+=_0x1b20x5+this[_0x5826[657]]),_0x1b20x4[_0x5826[1724]](_0x1b20x13,_0x1b20x17))}}finally{_0x1b20x4[_0x5826[476]]()}}}}};function mxCompactTreeLayout(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[662]]=null!=_0x1b20x3?_0x1b20x3:!0;this[_0x5826[1744]]=null!=_0x1b20x4?_0x1b20x4:!1}mxCompactTreeLayout[_0x5826[202]]= new mxGraphLayout;mxCompactTreeLayout[_0x5826[202]][_0x5826[196]]=mxCompactTreeLayout;mxCompactTreeLayout[_0x5826[202]][_0x5826[662]]=null;mxCompactTreeLayout[_0x5826[202]][_0x5826[1744]]=null;mxCompactTreeLayout[_0x5826[202]][_0x5826[1735]]= !0;mxCompactTreeLayout[_0x5826[202]][_0x5826[1745]]=10;mxCompactTreeLayout[_0x5826[202]][_0x5826[1746]]=null;mxCompactTreeLayout[_0x5826[202]][_0x5826[1747]]= !1;mxCompactTreeLayout[_0x5826[202]][_0x5826[1748]]=10;mxCompactTreeLayout[_0x5826[202]][_0x5826[1749]]=20;mxCompactTreeLayout[_0x5826[202]][_0x5826[1750]]= !0;mxCompactTreeLayout[_0x5826[202]][_0x5826[1751]]=5;mxCompactTreeLayout[_0x5826[202]][_0x5826[1752]]=4;mxCompactTreeLayout[_0x5826[202]][_0x5826[1753]]=8;mxCompactTreeLayout[_0x5826[202]][_0x5826[1754]]=4;mxCompactTreeLayout[_0x5826[202]][_0x5826[1755]]= !0;mxCompactTreeLayout[_0x5826[202]][_0x5826[1713]]=function(_0x1b20x2){return mxGraphLayout[_0x5826[202]][_0x5826[1713]][_0x5826[183]](this,arguments)||0==this[_0x5826[1179]][_0x5826[1756]](_0x1b20x2)[_0x5826[67]]};mxCompactTreeLayout[_0x5826[202]][_0x5826[1737]]=function(){return this[_0x5826[662]]};mxCompactTreeLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1101]]=_0x1b20x2;var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]();if(null==_0x1b20x3){if(0<this[_0x5826[1179]][_0x5826[264]](_0x1b20x2,_0x1b20x4[_0x5826[1197]](_0x1b20x2),this[_0x5826[1744]],!this[_0x5826[1744]],!1)[_0x5826[67]]){_0x1b20x3=_0x1b20x2}else {var _0x1b20x5=this[_0x5826[1179]][_0x5826[1757]](_0x1b20x2,!0,this[_0x5826[1744]]);if(0<_0x1b20x5[_0x5826[67]]){for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x5[_0x5826[67]];_0x1b20x9++){if(!this[_0x5826[1713]](_0x1b20x5[_0x1b20x9])&&0<this[_0x5826[1179]][_0x5826[264]](_0x1b20x5[_0x1b20x9],null,this[_0x5826[1744]],!this[_0x5826[1744]],!1)[_0x5826[67]]){_0x1b20x3=_0x1b20x5[_0x1b20x9];break}}}}};if(null!=_0x1b20x3){this[_0x5826[1746]]=this[_0x5826[1735]]?{}:null;_0x1b20x4[_0x5826[473]]();try{var _0x1b20xa=this[_0x5826[1758]](_0x1b20x3,_0x1b20x2);if(null!=_0x1b20xa){this[_0x5826[1759]](_0x1b20xa);var _0x1b20x12=this[_0x5826[1179]][_0x5826[1020]],_0x1b20x5=_0x1b20x12;if(!this[_0x5826[1747]]){var _0x1b20x13=this[_0x5826[1726]](_0x1b20x3);null!=_0x1b20x13&&(_0x1b20x12=_0x1b20x13[_0x5826[235]],_0x1b20x5=_0x1b20x13[_0x5826[236]])};_0x1b20x13=null;_0x1b20x13=this[_0x5826[1737]]()?this[_0x5826[1760]](_0x1b20xa,_0x1b20x12,_0x1b20x5):this[_0x5826[1761]](_0x1b20xa,null,_0x1b20x12,_0x1b20x5);if(null!=_0x1b20x13){var _0x1b20x14=_0x1b20x9=0;0>_0x1b20x13[_0x5826[235]]&&(_0x1b20x9=Math[_0x5826[425]](_0x1b20x12-_0x1b20x13[_0x5826[235]]));0>_0x1b20x13[_0x5826[236]]&&(_0x1b20x14=Math[_0x5826[425]](_0x1b20x5-_0x1b20x13[_0x5826[236]]));(0!=_0x1b20x9||0!=_0x1b20x14)&&this[_0x5826[1762]](_0x1b20xa,_0x1b20x9,_0x1b20x14);this[_0x5826[1735]]&&this[_0x5826[1763]]();this[_0x5826[1755]]&&this[_0x5826[1764]](_0x1b20xa)}}}finally{_0x1b20x4[_0x5826[476]]()}}};mxCompactTreeLayout[_0x5826[202]][_0x5826[1762]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2[_0x5826[235]]+=_0x1b20x3;_0x1b20x2[_0x5826[236]]+=_0x1b20x4;this[_0x5826[183]](_0x1b20x2);for(_0x1b20x2=_0x1b20x2[_0x5826[247]];null!=_0x1b20x2;){this[_0x5826[1762]](_0x1b20x2,_0x1b20x3,_0x1b20x4),_0x1b20x2=_0x1b20x2[_0x5826[1765]]}};mxCompactTreeLayout[_0x5826[202]][_0x5826[1758]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:[];var _0x1b20x5=mxCellPath[_0x5826[385]](_0x1b20x2),_0x1b20x9=null;if(null!=_0x1b20x2&&null==_0x1b20x4[_0x1b20x5]&&!this[_0x5826[1713]](_0x1b20x2)){_0x1b20x4[_0x1b20x5]=_0x1b20x2;var _0x1b20x9=this[_0x5826[1766]](_0x1b20x2),_0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20xa=null;_0x1b20x2=this[_0x5826[1179]][_0x5826[264]](_0x1b20x2,_0x1b20x3,this[_0x5826[1744]],!this[_0x5826[1744]],!1,!0);for(var _0x1b20x12=this[_0x5826[1179]][_0x5826[249]](),_0x1b20x13=0;_0x1b20x13<_0x1b20x2[_0x5826[67]];_0x1b20x13++){var _0x1b20x14=_0x1b20x2[_0x1b20x13];if(!this[_0x5826[1715]](_0x1b20x14)){this[_0x5826[1750]]&&this[_0x5826[1722]](_0x1b20x14,null);this[_0x5826[1755]]&&(this[_0x5826[1716]](_0x1b20x14,!1),this[_0x5826[1722]](_0x1b20x14,null));var _0x1b20x15=_0x1b20x12[_0x5826[248]](_0x1b20x14),_0x1b20x14=null!=_0x1b20x15?_0x1b20x15[_0x5826[1710]](this[_0x5826[1744]]):_0x1b20x12[_0x5826[1710]](_0x1b20x14,this[_0x5826[1744]]),_0x1b20x15=this[_0x5826[1758]](_0x1b20x14,_0x1b20x3,_0x1b20x4);null!=_0x1b20x15&&null!=_0x1b20x5[_0x5826[1721]](_0x1b20x14)&&(null==_0x1b20xa?_0x1b20x9[_0x5826[247]]=_0x1b20x15:_0x1b20xa[_0x5826[1765]]=_0x1b20x15,_0x1b20xa=_0x1b20x15)}}};return _0x1b20x9};mxCompactTreeLayout[_0x5826[202]][_0x5826[1759]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3=_0x1b20x2[_0x5826[247]];null!=_0x1b20x3;){this[_0x5826[1759]](_0x1b20x3),_0x1b20x3=_0x1b20x3[_0x5826[1765]]};null!=_0x1b20x2[_0x5826[247]]?this[_0x5826[1767]](_0x1b20x2,this[_0x5826[234]](_0x1b20x2)):this[_0x5826[1768]](_0x1b20x2)}};mxCompactTreeLayout[_0x5826[202]][_0x5826[1760]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x2[_0x5826[235]]+=_0x1b20x3+_0x1b20x2[_0x5826[1769]];_0x1b20x2[_0x5826[236]]+=_0x1b20x4+_0x1b20x2[_0x5826[1770]];_0x1b20x5=this[_0x5826[183]](_0x1b20x2,_0x1b20x5);_0x1b20x3=_0x1b20x2[_0x5826[247]];if(null!=_0x1b20x3){_0x1b20x5=this[_0x5826[1760]](_0x1b20x3,_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],_0x1b20x5);_0x1b20x4=_0x1b20x2[_0x5826[236]]+_0x1b20x3[_0x5826[1770]];for(var _0x1b20x9=_0x1b20x3[_0x5826[1765]];null!=_0x1b20x9;){_0x1b20x5=this[_0x5826[1760]](_0x1b20x9,_0x1b20x2[_0x5826[235]]+_0x1b20x3[_0x5826[1769]],_0x1b20x4,_0x1b20x5),_0x1b20x4+=_0x1b20x9[_0x5826[1770]],_0x1b20x9=_0x1b20x9[_0x5826[1765]]}};return _0x1b20x5};mxCompactTreeLayout[_0x5826[202]][_0x5826[1761]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[235]]+=_0x1b20x4+_0x1b20x2[_0x5826[1770]];_0x1b20x2[_0x5826[236]]+=_0x1b20x5+_0x1b20x2[_0x5826[1769]];_0x1b20x9=this[_0x5826[183]](_0x1b20x2,_0x1b20x9);_0x1b20x3=_0x1b20x2[_0x5826[247]];if(null!=_0x1b20x3){_0x1b20x9=this[_0x5826[1761]](_0x1b20x3,_0x1b20x2,_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],_0x1b20x9);_0x1b20x4=_0x1b20x2[_0x5826[235]]+_0x1b20x3[_0x5826[1770]];for(_0x1b20x5=_0x1b20x3[_0x5826[1765]];null!=_0x1b20x5;){_0x1b20x9=this[_0x5826[1761]](_0x1b20x5,_0x1b20x2,_0x1b20x4,_0x1b20x2[_0x5826[236]]+_0x1b20x3[_0x5826[1769]],_0x1b20x9),_0x1b20x4+=_0x1b20x5[_0x5826[1770]],_0x1b20x5=_0x1b20x5[_0x5826[1765]]}};return _0x1b20x9};mxCompactTreeLayout[_0x5826[202]][_0x5826[1767]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1749]]+this[_0x5826[1748]],_0x1b20x5=(_0x1b20x3-_0x1b20x2[_0x5826[117]])/2-this[_0x5826[1749]],_0x1b20x9=_0x1b20x5+_0x1b20x2[_0x5826[117]]+2*this[_0x5826[1749]]-_0x1b20x3;_0x1b20x2[_0x5826[247]][_0x5826[1769]]=_0x1b20x4+_0x1b20x2[_0x5826[119]];_0x1b20x2[_0x5826[247]][_0x5826[1770]]=_0x1b20x9;_0x1b20x2[_0x5826[1772]][_0x5826[1771]]=this[_0x5826[1773]](_0x1b20x2[_0x5826[119]],0,this[_0x5826[1773]](_0x1b20x4,_0x1b20x9,_0x1b20x2[_0x5826[1772]][_0x5826[1771]]));_0x1b20x2[_0x5826[1772]][_0x5826[1774]]=this[_0x5826[1773]](_0x1b20x2[_0x5826[119]],0,this[_0x5826[1773]](_0x1b20x4,_0x1b20x5,_0x1b20x2[_0x5826[1772]][_0x5826[1774]]))};mxCompactTreeLayout[_0x5826[202]][_0x5826[1768]]=function(_0x1b20x2){var _0x1b20x3=2*this[_0x5826[1749]];_0x1b20x2[_0x5826[1772]][_0x5826[1775]]=this[_0x5826[1773]](_0x1b20x2[_0x5826[119]]+_0x1b20x3,0);_0x1b20x2[_0x5826[1772]][_0x5826[1771]]=_0x1b20x2[_0x5826[1772]][_0x5826[1775]];_0x1b20x2[_0x5826[1772]][_0x5826[1776]]=this[_0x5826[1773]](0,-_0x1b20x2[_0x5826[117]]-_0x1b20x3);_0x1b20x2[_0x5826[1772]][_0x5826[1774]]=this[_0x5826[1773]](_0x1b20x2[_0x5826[119]]+_0x1b20x3,0,_0x1b20x2[_0x5826[1772]][_0x5826[1776]])};mxCompactTreeLayout[_0x5826[202]][_0x5826[234]]=function(_0x1b20x2){var _0x1b20x3=2*this[_0x5826[1749]],_0x1b20x4=_0x1b20x2[_0x5826[247]];_0x1b20x2[_0x5826[1772]]=_0x1b20x4[_0x5826[1772]];for(var _0x1b20x5=_0x1b20x4[_0x5826[117]]+_0x1b20x3,_0x1b20x9=_0x1b20x5,_0x1b20x4=_0x1b20x4[_0x5826[1765]];null!=_0x1b20x4;){var _0x1b20xa=this[_0x5826[1777]](_0x1b20x2[_0x5826[1772]],_0x1b20x4[_0x5826[1772]]);_0x1b20x4[_0x5826[1770]]=_0x1b20xa+_0x1b20x5;_0x1b20x4[_0x5826[1769]]=0;_0x1b20x5=_0x1b20x4[_0x5826[117]]+_0x1b20x3;_0x1b20x9+=_0x1b20xa+_0x1b20x5;_0x1b20x4=_0x1b20x4[_0x5826[1765]]};return _0x1b20x9};mxCompactTreeLayout[_0x5826[202]][_0x5826[1777]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=0,_0x1b20x5=0,_0x1b20x9=0,_0x1b20xa=_0x1b20x2[_0x5826[1774]],_0x1b20x12=_0x1b20x3[_0x5826[1771]];null!=_0x1b20x12&&null!=_0x1b20xa;){var _0x1b20x13=this[_0x5826[1368]](_0x1b20x4,_0x1b20x5,_0x1b20x12[_0x5826[1126]],_0x1b20x12[_0x5826[1125]],_0x1b20xa[_0x5826[1126]],_0x1b20xa[_0x5826[1125]]),_0x1b20x5=_0x1b20x5+_0x1b20x13,_0x1b20x9=_0x1b20x9+_0x1b20x13;_0x1b20x4+_0x1b20x12[_0x5826[1126]]<=_0x1b20xa[_0x5826[1126]]?(_0x1b20x4+=_0x1b20x12[_0x5826[1126]],_0x1b20x5+=_0x1b20x12[_0x5826[1125]],_0x1b20x12=_0x1b20x12[_0x5826[1765]]):(_0x1b20x4-=_0x1b20xa[_0x5826[1126]],_0x1b20x5-=_0x1b20xa[_0x5826[1125]],_0x1b20xa=_0x1b20xa[_0x5826[1765]])};null!=_0x1b20x12?(_0x1b20x4=this[_0x5826[1778]](_0x1b20x2[_0x5826[1775]],0,0,_0x1b20x12,_0x1b20x4,_0x1b20x5),_0x1b20x2[_0x5826[1775]]=null!=_0x1b20x4[_0x5826[1765]]?_0x1b20x3[_0x5826[1775]]:_0x1b20x4,_0x1b20x2[_0x5826[1776]]=_0x1b20x3[_0x5826[1776]]):(_0x1b20x4=this[_0x5826[1778]](_0x1b20x3[_0x5826[1776]],_0x1b20x4,_0x1b20x5,_0x1b20xa,0,0),null==_0x1b20x4[_0x5826[1765]]&&(_0x1b20x2[_0x5826[1776]]=_0x1b20x4));_0x1b20x2[_0x5826[1774]]=_0x1b20x3[_0x5826[1774]];return _0x1b20x9};mxCompactTreeLayout[_0x5826[202]][_0x5826[1368]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=0;if(_0x1b20x9<=_0x1b20x2||0>=_0x1b20x2+_0x1b20x4){return 0};_0x1b20x12=0<_0x1b20x9*_0x1b20x5-_0x1b20x4*_0x1b20xa?0>_0x1b20x2?_0x1b20x2*_0x1b20x5/_0x1b20x4-_0x1b20x3:0<_0x1b20x2?_0x1b20x2*_0x1b20xa/_0x1b20x9-_0x1b20x3:-_0x1b20x3:_0x1b20x9<_0x1b20x2+_0x1b20x4?_0x1b20xa-(_0x1b20x3+(_0x1b20x9-_0x1b20x2)*_0x1b20x5/_0x1b20x4):_0x1b20x9>_0x1b20x2+_0x1b20x4?(_0x1b20x4+_0x1b20x2)*_0x1b20xa/_0x1b20x9-(_0x1b20x3+_0x1b20x5):_0x1b20xa-(_0x1b20x3+_0x1b20x5);return 0<_0x1b20x12?_0x1b20x12:0};mxCompactTreeLayout[_0x5826[202]][_0x5826[1778]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x3=_0x1b20x9+_0x1b20x5[_0x5826[1126]]-_0x1b20x3;_0x1b20x9=_0x1b20x9=0;0==_0x1b20x5[_0x5826[1126]]?_0x1b20x9=_0x1b20x5[_0x5826[1125]]:(_0x1b20x9=_0x1b20x3*_0x1b20x5[_0x5826[1125]],_0x1b20x9/=_0x1b20x5[_0x5826[1126]]);_0x1b20x3=this[_0x5826[1773]](_0x1b20x3,_0x1b20x9,_0x1b20x5[_0x5826[1765]]);_0x1b20x2[_0x5826[1765]]=this[_0x5826[1773]](0,_0x1b20xa+_0x1b20x5[_0x5826[1125]]-_0x1b20x9-_0x1b20x4,_0x1b20x3);return _0x1b20x3};mxCompactTreeLayout[_0x5826[202]][_0x5826[1766]]=function(_0x1b20x2){var _0x1b20x3={};_0x1b20x3[_0x5826[246]]=_0x1b20x2;_0x1b20x3[_0x5826[235]]=0;_0x1b20x3[_0x5826[236]]=0;_0x1b20x3[_0x5826[117]]=0;_0x1b20x3[_0x5826[119]]=0;_0x1b20x2=this[_0x5826[1726]](_0x1b20x2);null!=_0x1b20x2&&(this[_0x5826[1737]]()?(_0x1b20x3[_0x5826[117]]=_0x1b20x2[_0x5826[119]],_0x1b20x3[_0x5826[119]]=_0x1b20x2[_0x5826[117]]):(_0x1b20x3[_0x5826[117]]=_0x1b20x2[_0x5826[117]],_0x1b20x3[_0x5826[119]]=_0x1b20x2[_0x5826[119]]));_0x1b20x3[_0x5826[1769]]=0;_0x1b20x3[_0x5826[1770]]=0;_0x1b20x3[_0x5826[1772]]={};return _0x1b20x3};mxCompactTreeLayout[_0x5826[202]][_0x5826[183]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x2[_0x5826[246]],_0x1b20x9=_0x1b20x4[_0x5826[1721]](_0x1b20x5);null!=_0x1b20x5&&null!=_0x1b20x9&&(this[_0x5826[1711]](_0x1b20x5)&&(_0x1b20x9=this[_0x5826[1725]](_0x1b20x5,_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]),this[_0x5826[1735]]&&(_0x1b20x4=_0x1b20x4[_0x5826[1197]](_0x1b20x5),_0x1b20x5=mxCellPath[_0x5826[385]](_0x1b20x4),null==this[_0x5826[1746]][_0x1b20x5]&&(this[_0x5826[1746]][_0x1b20x5]=_0x1b20x4))),_0x1b20x3=null==_0x1b20x3? new mxRectangle(_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]]): new mxRectangle(Math[_0x5826[243]](_0x1b20x3[_0x5826[235]],_0x1b20x9[_0x5826[235]]),Math[_0x5826[243]](_0x1b20x3[_0x5826[236]],_0x1b20x9[_0x5826[236]]),Math[_0x5826[160]](_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]),Math[_0x5826[160]](_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]])));return _0x1b20x3};mxCompactTreeLayout[_0x5826[202]][_0x5826[1773]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5={};_0x1b20x5[_0x5826[1126]]=_0x1b20x2;_0x1b20x5[_0x5826[1125]]=_0x1b20x3;_0x1b20x5[_0x5826[1765]]=_0x1b20x4;return _0x1b20x5};mxCompactTreeLayout[_0x5826[202]][_0x5826[1763]]=function(){var _0x1b20x2=[],_0x1b20x3;for(_0x1b20x3 in this[_0x5826[1746]]){_0x1b20x2[_0x5826[207]](this[_0x5826[1746]][_0x1b20x3])};this[_0x5826[1727]](mxUtils[_0x5826[1779]](_0x1b20x2,!0),this[_0x5826[1745]])};mxCompactTreeLayout[_0x5826[202]][_0x5826[1764]]=function(_0x1b20x2){this[_0x5826[1780]](_0x1b20x2);for(_0x1b20x2=_0x1b20x2[_0x5826[247]];null!=_0x1b20x2;){this[_0x5826[1764]](_0x1b20x2),_0x1b20x2=_0x1b20x2[_0x5826[1765]]}};mxCompactTreeLayout[_0x5826[202]][_0x5826[1780]]=function(_0x1b20x2){for(var _0x1b20x3=_0x1b20x2[_0x5826[247]],_0x1b20x4=_0x1b20x2[_0x5826[246]],_0x1b20x5=0,_0x1b20x9=[];null!=_0x1b20x3;){_0x1b20x5++;var _0x1b20xa=_0x1b20x3[_0x5826[235]];this[_0x5826[662]]&&(_0x1b20xa=_0x1b20x3[_0x5826[236]]);_0x1b20x9[_0x5826[207]]( new WeightedCellSorter(_0x1b20x3,_0x1b20xa));_0x1b20x3=_0x1b20x3[_0x5826[1765]]};_0x1b20x9[_0x5826[470]](WeightedCellSorter[_0x5826[202]][_0x5826[469]]);var _0x1b20xa=_0x1b20x2[_0x5826[117]],_0x1b20x12=(_0x1b20x5+1)*this[_0x5826[1751]];_0x1b20xa>_0x1b20x12+2*this[_0x5826[1751]]&&(_0x1b20xa-=2*this[_0x5826[1751]]);_0x1b20x2=_0x1b20xa/_0x1b20x5;_0x1b20x3=_0x1b20x2/2;_0x1b20xa>_0x1b20x12+2*this[_0x5826[1751]]&&(_0x1b20x3+=this[_0x5826[1751]]);for(var _0x1b20xa=this[_0x5826[1753]]-this[_0x5826[1752]],_0x1b20x12=0,_0x1b20x13=this[_0x5826[1726]](_0x1b20x4),_0x1b20x14=0;_0x1b20x14<_0x1b20x9[_0x5826[67]];_0x1b20x14++){for(var _0x1b20x15=_0x1b20x9[_0x1b20x14][_0x5826[246]][_0x5826[246]],_0x1b20x16=this[_0x5826[1726]](_0x1b20x15),_0x1b20x15=this[_0x5826[1179]][_0x5826[1781]](_0x1b20x4,_0x1b20x15,!1),_0x1b20x17=[],_0x1b20x18=0,_0x1b20x19=0,_0x1b20x1a=0;_0x1b20x1a<_0x1b20x15[_0x5826[67]];_0x1b20x1a++){this[_0x5826[662]]?(_0x1b20x18=_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]],_0x1b20x19=_0x1b20x13[_0x5826[236]]+_0x1b20x3,_0x1b20x17[_0x5826[207]]( new mxPoint(_0x1b20x18,_0x1b20x19)),_0x1b20x18=_0x1b20x13[_0x5826[235]]+_0x1b20x13[_0x5826[117]]+_0x1b20xa,_0x1b20x17[_0x5826[207]]( new mxPoint(_0x1b20x18,_0x1b20x19)),_0x1b20x19=_0x1b20x16[_0x5826[236]]+_0x1b20x16[_0x5826[119]]/2):(_0x1b20x18=_0x1b20x13[_0x5826[235]]+_0x1b20x3,_0x1b20x19=_0x1b20x13[_0x5826[236]]+_0x1b20x13[_0x5826[119]],_0x1b20x17[_0x5826[207]]( new mxPoint(_0x1b20x18,_0x1b20x19)),_0x1b20x19=_0x1b20x13[_0x5826[236]]+_0x1b20x13[_0x5826[119]]+_0x1b20xa,_0x1b20x17[_0x5826[207]]( new mxPoint(_0x1b20x18,_0x1b20x19)),_0x1b20x18=_0x1b20x16[_0x5826[235]]+_0x1b20x16[_0x5826[117]]/2),_0x1b20x17[_0x5826[207]]( new mxPoint(_0x1b20x18,_0x1b20x19)),this[_0x5826[1722]](_0x1b20x15[_0x1b20x1a],_0x1b20x17)};_0x1b20x14<_0x1b20x5/2?_0x1b20xa+=this[_0x5826[1752]]:_0x1b20x14>_0x1b20x5/2&&(_0x1b20xa-=this[_0x5826[1752]]);_0x1b20x3+=_0x1b20x2;_0x1b20x12=Math[_0x5826[160]](_0x1b20x12,_0x1b20xa)}};function WeightedCellSorter(_0x1b20x2,_0x1b20x3){this[_0x5826[246]]=_0x1b20x2;this[_0x5826[1782]]=_0x1b20x3}WeightedCellSorter[_0x5826[202]][_0x5826[1782]]=0;WeightedCellSorter[_0x5826[202]][_0x5826[1783]]= !1;WeightedCellSorter[_0x5826[202]][_0x5826[1784]]= !1;WeightedCellSorter[_0x5826[202]][_0x5826[1785]]=null;WeightedCellSorter[_0x5826[202]][_0x5826[246]]=null;WeightedCellSorter[_0x5826[202]][_0x5826[469]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2&&null!=_0x1b20x3?_0x1b20x3[_0x5826[1782]]>_0x1b20x2[_0x5826[1782]]?1:_0x1b20x3[_0x5826[1782]]<_0x1b20x2[_0x5826[1782]]?-1:_0x1b20x3[_0x5826[1783]]?1:-1:0};function mxFastOrganicLayout(_0x1b20x2){mxGraphLayout[_0x5826[239]](this,_0x1b20x2)}mxFastOrganicLayout[_0x5826[202]]= new mxGraphLayout;mxFastOrganicLayout[_0x5826[202]][_0x5826[196]]=mxFastOrganicLayout;mxFastOrganicLayout[_0x5826[202]][_0x5826[1786]]= !0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1750]]= !0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1787]]= !0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1788]]=50;mxFastOrganicLayout[_0x5826[202]][_0x5826[1789]]=0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1790]]=2;mxFastOrganicLayout[_0x5826[202]][_0x5826[1791]]=500;mxFastOrganicLayout[_0x5826[202]][_0x5826[1792]]=4;mxFastOrganicLayout[_0x5826[202]][_0x5826[1793]]=200;mxFastOrganicLayout[_0x5826[202]][_0x5826[1794]]=0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1795]]=0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1796]]=0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1797]]= !0;mxFastOrganicLayout[_0x5826[202]][_0x5826[1713]]=function(_0x1b20x2){return mxGraphLayout[_0x5826[202]][_0x5826[1713]][_0x5826[183]](this,arguments)||0==this[_0x5826[1179]][_0x5826[1756]](_0x1b20x2)[_0x5826[67]]};mxFastOrganicLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();this[_0x5826[1798]]=[];for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[1728]](_0x1b20x2),_0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){this[_0x5826[1713]](_0x1b20x4[_0x1b20x5])||this[_0x5826[1798]][_0x5826[207]](_0x1b20x4[_0x1b20x5])};var _0x1b20x9=this[_0x5826[1786]]?this[_0x5826[1179]][_0x5826[441]][_0x5826[1799]](this[_0x5826[1798]]):null,_0x1b20xa=this[_0x5826[1798]][_0x5826[67]];this[_0x5826[1800]]=[];this[_0x5826[1801]]=[];this[_0x5826[1802]]=[];this[_0x5826[1803]]=[];this[_0x5826[1804]]=[];this[_0x5826[1805]]=[];this[_0x5826[1806]]=[];this[_0x5826[1807]]=[];0.0010>this[_0x5826[1788]]&&(this[_0x5826[1788]]=0.0010);this[_0x5826[1789]]=this[_0x5826[1788]]*this[_0x5826[1788]];for(_0x1b20x5=0;_0x1b20x5<this[_0x5826[1798]][_0x5826[67]];_0x1b20x5++){var _0x1b20x12=this[_0x5826[1798]][_0x1b20x5];this[_0x5826[1803]][_0x1b20x5]=[];var _0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x12);this[_0x5826[1800]][_0x1b20x13]=_0x1b20x5;var _0x1b20x14=this[_0x5826[1726]](_0x1b20x12),_0x1b20x15=_0x1b20x14[_0x5826[117]],_0x1b20x16=_0x1b20x14[_0x5826[119]],_0x1b20x17=_0x1b20x14[_0x5826[235]],_0x1b20x18=_0x1b20x14[_0x5826[236]];this[_0x5826[1803]][_0x1b20x5][0]=_0x1b20x17+_0x1b20x15/2;this[_0x5826[1803]][_0x1b20x5][1]=_0x1b20x18+_0x1b20x16/2;this[_0x5826[1806]][_0x1b20x5]=Math[_0x5826[243]](_0x1b20x15,_0x1b20x16);this[_0x5826[1807]][_0x1b20x5]=this[_0x5826[1806]][_0x1b20x5]*this[_0x5826[1806]][_0x1b20x5]};_0x1b20x3[_0x5826[473]]();try{for(_0x1b20x5=0;_0x1b20x5<_0x1b20xa;_0x1b20x5++){this[_0x5826[1801]][_0x1b20x5]=0;this[_0x5826[1802]][_0x1b20x5]=0;this[_0x5826[1804]][_0x1b20x5]=this[_0x5826[1711]](this[_0x5826[1798]][_0x1b20x5]);var _0x1b20x19=this[_0x5826[1179]][_0x5826[1756]](this[_0x5826[1798]][_0x1b20x5],_0x1b20x2),_0x1b20x4=this[_0x5826[1179]][_0x5826[1808]](_0x1b20x19,this[_0x5826[1798]][_0x1b20x5]);this[_0x5826[1805]][_0x1b20x5]=[];for(_0x1b20x15=0;_0x1b20x15<_0x1b20x4[_0x5826[67]];_0x1b20x15++){this[_0x5826[1750]]&&this[_0x5826[1179]][_0x5826[1809]](_0x1b20x19[_0x1b20x15]);this[_0x5826[1787]]&&this[_0x5826[1716]](_0x1b20x19[_0x1b20x15],!1);var _0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x4[_0x1b20x15]),_0x1b20x1a=this[_0x5826[1800]][_0x1b20x13];this[_0x5826[1805]][_0x1b20x5][_0x1b20x15]=null!=_0x1b20x1a?_0x1b20x1a:_0x1b20x5}};this[_0x5826[1794]]=this[_0x5826[1793]];0==this[_0x5826[1795]]&&(this[_0x5826[1795]]=20*Math[_0x5826[428]](_0x1b20xa));for(this[_0x5826[1796]]=0;this[_0x5826[1796]]<this[_0x5826[1795]];this[_0x5826[1796]]++){if(!this[_0x5826[1797]]){return};this[_0x5826[1810]]();this[_0x5826[1811]]();this[_0x5826[1812]]();this[_0x5826[1813]]()};_0x1b20x2=_0x1b20x4=null;for(_0x1b20x5=0;_0x1b20x5<this[_0x5826[1798]][_0x5826[67]];_0x1b20x5++){_0x1b20x12=this[_0x5826[1798]][_0x1b20x5],this[_0x5826[1711]](_0x1b20x12)&&(_0x1b20x14=this[_0x5826[1726]](_0x1b20x12),null!=_0x1b20x14&&(this[_0x5826[1803]][_0x1b20x5][0]-=_0x1b20x14[_0x5826[117]]/2,this[_0x5826[1803]][_0x1b20x5][1]-=_0x1b20x14[_0x5826[119]]/2,_0x1b20x17=this[_0x5826[1179]][_0x5826[1021]](this[_0x5826[1803]][_0x1b20x5][0]),_0x1b20x18=this[_0x5826[1179]][_0x5826[1021]](this[_0x5826[1803]][_0x1b20x5][1]),this[_0x5826[1725]](_0x1b20x12,_0x1b20x17,_0x1b20x18),_0x1b20x4=null==_0x1b20x4?_0x1b20x17:Math[_0x5826[243]](_0x1b20x4,_0x1b20x17),_0x1b20x2=null==_0x1b20x2?_0x1b20x18:Math[_0x5826[243]](_0x1b20x2,_0x1b20x18)))};_0x1b20x5=-(_0x1b20x4||0)+1;_0x1b20x12=-(_0x1b20x2||0)+1;null!=_0x1b20x9&&(_0x1b20x5+=_0x1b20x9[_0x5826[235]],_0x1b20x12+=_0x1b20x9[_0x5826[236]]);this[_0x5826[1179]][_0x5826[834]](this[_0x5826[1798]],_0x1b20x5,_0x1b20x12)}finally{_0x1b20x3[_0x5826[476]]()}};mxFastOrganicLayout[_0x5826[202]][_0x5826[1812]]=function(){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[1798]][_0x5826[67]];_0x1b20x2++){if(this[_0x5826[1804]][_0x1b20x2]){var _0x1b20x3=Math[_0x5826[428]](this[_0x5826[1801]][_0x1b20x2]*this[_0x5826[1801]][_0x1b20x2]+this[_0x5826[1802]][_0x1b20x2]*this[_0x5826[1802]][_0x1b20x2]);0.0010>_0x1b20x3&&(_0x1b20x3=0.0010);var _0x1b20x4=this[_0x5826[1801]][_0x1b20x2]/_0x1b20x3*Math[_0x5826[243]](_0x1b20x3,this[_0x5826[1794]]),_0x1b20x3=this[_0x5826[1802]][_0x1b20x2]/_0x1b20x3*Math[_0x5826[243]](_0x1b20x3,this[_0x5826[1794]]);this[_0x5826[1801]][_0x1b20x2]=0;this[_0x5826[1802]][_0x1b20x2]=0;this[_0x5826[1803]][_0x1b20x2][0]+=_0x1b20x4;this[_0x5826[1803]][_0x1b20x2][1]+=_0x1b20x3}}};mxFastOrganicLayout[_0x5826[202]][_0x5826[1811]]=function(){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[1798]][_0x5826[67]];_0x1b20x2++){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1805]][_0x1b20x2][_0x5826[67]];_0x1b20x3++){var _0x1b20x4=this[_0x5826[1805]][_0x1b20x2][_0x1b20x3];if(_0x1b20x2!=_0x1b20x4&&this[_0x5826[1804]][_0x1b20x2]&&this[_0x5826[1804]][_0x1b20x4]){var _0x1b20x5=this[_0x5826[1803]][_0x1b20x2][0]-this[_0x5826[1803]][_0x1b20x4][0],_0x1b20x9=this[_0x5826[1803]][_0x1b20x2][1]-this[_0x5826[1803]][_0x1b20x4][1],_0x1b20xa=_0x1b20x5*_0x1b20x5+_0x1b20x9*_0x1b20x9-this[_0x5826[1807]][_0x1b20x2]-this[_0x5826[1807]][_0x1b20x4];_0x1b20xa<this[_0x5826[1792]]&&(_0x1b20xa=this[_0x5826[1792]]);var _0x1b20x12=Math[_0x5826[428]](_0x1b20xa),_0x1b20xa=_0x1b20xa/this[_0x5826[1788]],_0x1b20x5=_0x1b20x5/_0x1b20x12*_0x1b20xa,_0x1b20x9=_0x1b20x9/_0x1b20x12*_0x1b20xa;this[_0x5826[1801]][_0x1b20x2]-=_0x1b20x5;this[_0x5826[1802]][_0x1b20x2]-=_0x1b20x9;this[_0x5826[1801]][_0x1b20x4]+=_0x1b20x5;this[_0x5826[1802]][_0x1b20x4]+=_0x1b20x9}}}};mxFastOrganicLayout[_0x5826[202]][_0x5826[1810]]=function(){for(var _0x1b20x2=this[_0x5826[1798]][_0x5826[67]],_0x1b20x3=0;_0x1b20x3<_0x1b20x2;_0x1b20x3++){for(var _0x1b20x4=_0x1b20x3;_0x1b20x4<_0x1b20x2;_0x1b20x4++){if(!this[_0x5826[1797]]){return};if(_0x1b20x4!=_0x1b20x3&&this[_0x5826[1804]][_0x1b20x3]&&this[_0x5826[1804]][_0x1b20x4]){var _0x1b20x5=this[_0x5826[1803]][_0x1b20x3][0]-this[_0x5826[1803]][_0x1b20x4][0],_0x1b20x9=this[_0x5826[1803]][_0x1b20x3][1]-this[_0x5826[1803]][_0x1b20x4][1];0==_0x1b20x5&&(_0x1b20x5=0.01+Math[_0x5826[1814]]());0==_0x1b20x9&&(_0x1b20x9=0.01+Math[_0x5826[1814]]());var _0x1b20xa=Math[_0x5826[428]](_0x1b20x5*_0x1b20x5+_0x1b20x9*_0x1b20x9),_0x1b20x12=_0x1b20xa-this[_0x5826[1806]][_0x1b20x3]-this[_0x5826[1806]][_0x1b20x4];_0x1b20x12>this[_0x5826[1791]]||(_0x1b20x12<this[_0x5826[1790]]&&(_0x1b20x12=this[_0x5826[1790]]),_0x1b20x12=this[_0x5826[1789]]/_0x1b20x12,_0x1b20x5=_0x1b20x5/_0x1b20xa*_0x1b20x12,_0x1b20x9=_0x1b20x9/_0x1b20xa*_0x1b20x12,this[_0x5826[1801]][_0x1b20x3]+=_0x1b20x5,this[_0x5826[1802]][_0x1b20x3]+=_0x1b20x9,this[_0x5826[1801]][_0x1b20x4]-=_0x1b20x5,this[_0x5826[1802]][_0x1b20x4]-=_0x1b20x9)}}}};mxFastOrganicLayout[_0x5826[202]][_0x5826[1813]]=function(){this[_0x5826[1794]]=this[_0x5826[1793]]*(1-this[_0x5826[1796]]/this[_0x5826[1795]])};function mxCircleLayout(_0x1b20x2,_0x1b20x3){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[1806]]=null!=_0x1b20x3?_0x1b20x3:100}mxCircleLayout[_0x5826[202]]= new mxGraphLayout;mxCircleLayout[_0x5826[202]][_0x5826[196]]=mxCircleLayout;mxCircleLayout[_0x5826[202]][_0x5826[1806]]=null;mxCircleLayout[_0x5826[202]][_0x5826[1815]]= !1;mxCircleLayout[_0x5826[202]][_0x5826[1732]]=0;mxCircleLayout[_0x5826[202]][_0x5826[1733]]=0;mxCircleLayout[_0x5826[202]][_0x5826[1750]]= !0;mxCircleLayout[_0x5826[202]][_0x5826[1787]]= !0;mxCircleLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=0,_0x1b20x5=null,_0x1b20x9=null,_0x1b20xa=[],_0x1b20x12=_0x1b20x3[_0x5826[262]](_0x1b20x2),_0x1b20x13=0;_0x1b20x13<_0x1b20x12;_0x1b20x13++){var _0x1b20x14=_0x1b20x3[_0x5826[263]](_0x1b20x2,_0x1b20x13);if(this[_0x5826[1713]](_0x1b20x14)){this[_0x5826[1715]](_0x1b20x14)||(this[_0x5826[1750]]&&this[_0x5826[1179]][_0x5826[1809]](_0x1b20x14),this[_0x5826[1787]]&&this[_0x5826[1716]](_0x1b20x14,!1))}else {_0x1b20xa[_0x5826[207]](_0x1b20x14);var _0x1b20x15=this[_0x5826[1726]](_0x1b20x14),_0x1b20x5=null==_0x1b20x5?_0x1b20x15[_0x5826[236]]:Math[_0x5826[243]](_0x1b20x5,_0x1b20x15[_0x5826[236]]),_0x1b20x9=null==_0x1b20x9?_0x1b20x15[_0x5826[235]]:Math[_0x5826[243]](_0x1b20x9,_0x1b20x15[_0x5826[235]]),_0x1b20x4=Math[_0x5826[160]](_0x1b20x4,Math[_0x5826[160]](_0x1b20x15[_0x5826[117]],_0x1b20x15[_0x5826[119]]))}};var _0x1b20x16=this[_0x5826[1816]](_0x1b20xa[_0x5826[67]],_0x1b20x4);this[_0x5826[1815]]&&(_0x1b20x9=this[_0x5826[1732]],_0x1b20x5=this[_0x5826[1733]]);this[_0x5826[1817]](_0x1b20xa,_0x1b20x16,_0x1b20x9,_0x1b20x5)}finally{_0x1b20x3[_0x5826[476]]()}};mxCircleLayout[_0x5826[202]][_0x5826[1816]]=function(_0x1b20x2,_0x1b20x3){return Math[_0x5826[160]](_0x1b20x2*_0x1b20x3/Math[_0x5826[424]],this[_0x5826[1806]])};mxCircleLayout[_0x5826[202]][_0x5826[1817]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){for(var _0x1b20x9=_0x1b20x2[_0x5826[67]],_0x1b20xa=2*Math[_0x5826[424]]/_0x1b20x9,_0x1b20x12=0;_0x1b20x12<_0x1b20x9;_0x1b20x12++){this[_0x5826[1711]](_0x1b20x2[_0x1b20x12])&&this[_0x5826[1725]](_0x1b20x2[_0x1b20x12],_0x1b20x4+_0x1b20x3+_0x1b20x3*Math[_0x5826[427]](_0x1b20x12*_0x1b20xa),_0x1b20x5+_0x1b20x3+_0x1b20x3*Math[_0x5826[426]](_0x1b20x12*_0x1b20xa))}};function mxParallelEdgeLayout(_0x1b20x2){mxGraphLayout[_0x5826[239]](this,_0x1b20x2)}mxParallelEdgeLayout[_0x5826[202]]= new mxGraphLayout;mxParallelEdgeLayout[_0x5826[202]][_0x5826[196]]=mxParallelEdgeLayout;mxParallelEdgeLayout[_0x5826[202]][_0x5826[657]]=20;mxParallelEdgeLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1818]](_0x1b20x2);this[_0x5826[1179]][_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x3 in _0x1b20x2){var _0x1b20x4=_0x1b20x2[_0x1b20x3];1<_0x1b20x4[_0x5826[67]]&&this[_0x5826[1759]](_0x1b20x4)}}finally{this[_0x5826[1179]][_0x5826[251]][_0x5826[476]]()}};mxParallelEdgeLayout[_0x5826[202]][_0x5826[1818]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=[],_0x1b20x5=_0x1b20x3[_0x5826[262]](_0x1b20x2),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=_0x1b20x3[_0x5826[263]](_0x1b20x2,_0x1b20x9);if(!this[_0x5826[1715]](_0x1b20xa)){var _0x1b20x12=this[_0x5826[1819]](_0x1b20xa);null!=_0x1b20x12&&(null==_0x1b20x4[_0x1b20x12]&&(_0x1b20x4[_0x1b20x12]=[]),_0x1b20x4[_0x1b20x12][_0x5826[207]](_0x1b20xa))}};return _0x1b20x4};mxParallelEdgeLayout[_0x5826[202]][_0x5826[1819]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[249]](),_0x1b20x4=_0x1b20x3[_0x5826[248]](_0x1b20x2),_0x1b20x5=null!=_0x1b20x4?_0x1b20x4[_0x5826[1710]](!0):_0x1b20x3[_0x5826[1710]](_0x1b20x2,!0);_0x1b20x2=null!=_0x1b20x4?_0x1b20x4[_0x5826[1710]](!1):_0x1b20x3[_0x5826[1710]](_0x1b20x2,!1);return null!=_0x1b20x5&&null!=_0x1b20x2?(_0x1b20x5=mxCellPath[_0x5826[385]](_0x1b20x5),_0x1b20x2=mxCellPath[_0x5826[385]](_0x1b20x2),_0x1b20x5>_0x1b20x2?_0x1b20x2+_0x5826[213]+_0x1b20x5:_0x1b20x5+_0x5826[213]+_0x1b20x2):null};mxParallelEdgeLayout[_0x5826[202]][_0x5826[1759]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[0],_0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x4[_0x5826[1709]](_0x1b20x3,!0)),_0x1b20x9=_0x1b20x4[_0x5826[1721]](_0x1b20x4[_0x5826[1709]](_0x1b20x3,!1));if(_0x1b20x5==_0x1b20x9){for(var _0x1b20x3=_0x1b20x5[_0x5826[235]]+_0x1b20x5[_0x5826[117]]+this[_0x5826[657]],_0x1b20x4=_0x1b20x5[_0x5826[236]]+_0x1b20x5[_0x5826[119]]/2,_0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){this[_0x5826[1820]](_0x1b20x2[_0x1b20xa],_0x1b20x3,_0x1b20x4),_0x1b20x3+=this[_0x5826[657]]}}else {if(null!=_0x1b20x5&&null!=_0x1b20x9){for(var _0x1b20x3=_0x1b20x5[_0x5826[235]]+_0x1b20x5[_0x5826[117]]/2,_0x1b20x4=_0x1b20x5[_0x5826[236]]+_0x1b20x5[_0x5826[119]]/2,_0x1b20xa=_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]/2-_0x1b20x3,_0x1b20x12=_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]/2-_0x1b20x4,_0x1b20x9=Math[_0x5826[428]](_0x1b20xa*_0x1b20xa+_0x1b20x12*_0x1b20x12),_0x1b20x5=_0x1b20x12*this[_0x5826[657]]/_0x1b20x9,_0x1b20x9=_0x1b20xa*this[_0x5826[657]]/_0x1b20x9,_0x1b20x3=_0x1b20x3+_0x1b20xa/2+_0x1b20x5*(_0x1b20x2[_0x5826[67]]-1)/2,_0x1b20x4=_0x1b20x4+_0x1b20x12/2-_0x1b20x9*(_0x1b20x2[_0x5826[67]]-1)/2,_0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){this[_0x5826[1820]](_0x1b20x2[_0x1b20xa],_0x1b20x3,_0x1b20x4),_0x1b20x3-=_0x1b20x5,_0x1b20x4+=_0x1b20x9}}}};mxParallelEdgeLayout[_0x5826[202]][_0x5826[1820]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[1179]][_0x5826[1712]](_0x1b20x2)&&this[_0x5826[1722]](_0x1b20x2,[ new mxPoint(_0x1b20x3,_0x1b20x4)])};function mxCompositeLayout(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[1821]]=_0x1b20x3;this[_0x5826[1822]]=_0x1b20x4}mxCompositeLayout[_0x5826[202]]= new mxGraphLayout;mxCompositeLayout[_0x5826[202]][_0x5826[196]]=mxCompositeLayout;mxCompositeLayout[_0x5826[202]][_0x5826[1821]]=null;mxCompositeLayout[_0x5826[202]][_0x5826[1822]]=null;mxCompositeLayout[_0x5826[202]][_0x5826[1702]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null!=this[_0x5826[1822]]?this[_0x5826[1822]][_0x5826[582]][_0x5826[183]](this[_0x5826[1822]],arguments):this[_0x5826[1821]][0][_0x5826[582]][_0x5826[183]](this[_0x5826[1821]][0],arguments)};mxCompositeLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<this[_0x5826[1821]][_0x5826[67]];_0x1b20x4++){this[_0x5826[1821]][_0x1b20x4][_0x5826[350]][_0x5826[183]](this[_0x5826[1821]][_0x1b20x4],arguments)}}finally{_0x1b20x3[_0x5826[476]]()}};function mxEdgeLabelLayout(_0x1b20x2,_0x1b20x3){mxGraphLayout[_0x5826[239]](this,_0x1b20x2)}mxEdgeLabelLayout[_0x5826[202]]= new mxGraphLayout;mxEdgeLabelLayout[_0x5826[202]][_0x5826[196]]=mxEdgeLabelLayout;mxEdgeLabelLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[1179]][_0x5826[441]],_0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=[],_0x1b20x9=[],_0x1b20xa=_0x1b20x4[_0x5826[262]](_0x1b20x2),_0x1b20x12=0;_0x1b20x12<_0x1b20xa;_0x1b20x12++){var _0x1b20x13=_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x12),_0x1b20x14=_0x1b20x3[_0x5826[248]](_0x1b20x13);null!=_0x1b20x14&&(this[_0x5826[1713]](_0x1b20x13)?this[_0x5826[1715]](_0x1b20x13)||_0x1b20x5[_0x5826[207]](_0x1b20x14):_0x1b20x9[_0x5826[207]](_0x1b20x14))};this[_0x5826[1823]](_0x1b20x9,_0x1b20x5)};mxEdgeLabelLayout[_0x5826[202]][_0x5826[1823]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x4[_0x5826[473]]();try{for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=_0x1b20x3[_0x1b20x5];if(null!=_0x1b20x9&&null!=_0x1b20x9[_0x5826[963]]&&null!=_0x1b20x9[_0x5826[963]][_0x5826[1563]]){for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x2[_0x1b20xa];null!=_0x1b20x12&&this[_0x5826[1824]](_0x1b20x9,_0x1b20x12)}}}}finally{_0x1b20x4[_0x5826[476]]()}};mxEdgeLabelLayout[_0x5826[202]][_0x5826[1824]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x2[_0x5826[963]][_0x5826[1563]];if(mxUtils[_0x5826[1825]](_0x1b20x5,_0x1b20x3)){var _0x1b20x9=-_0x1b20x5[_0x5826[236]]-_0x1b20x5[_0x5826[119]]+_0x1b20x3[_0x5826[236]],_0x1b20xa=-_0x1b20x5[_0x5826[236]]+_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x9=Math[_0x5826[425]](_0x1b20x9)<Math[_0x5826[425]](_0x1b20xa)?_0x1b20x9:_0x1b20xa,_0x1b20xa=-_0x1b20x5[_0x5826[235]]-_0x1b20x5[_0x5826[117]]+_0x1b20x3[_0x5826[235]],_0x1b20x5=-_0x1b20x5[_0x5826[235]]+_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x5=Math[_0x5826[425]](_0x1b20xa)<Math[_0x5826[425]](_0x1b20x5)?_0x1b20xa:_0x1b20x5;Math[_0x5826[425]](_0x1b20x5)<Math[_0x5826[425]](_0x1b20x9)?_0x1b20x9=0:_0x1b20x5=0;_0x1b20xa=_0x1b20x4[_0x5826[1721]](_0x1b20x2[_0x5826[246]]);null!=_0x1b20xa&&(_0x1b20xa=_0x1b20xa[_0x5826[238]](),null!=_0x1b20xa[_0x5826[1368]]?(_0x1b20xa[_0x5826[1368]][_0x5826[235]]+=_0x1b20x5,_0x1b20xa[_0x5826[1368]][_0x5826[236]]+=_0x1b20x9):_0x1b20xa[_0x5826[1368]]= new mxPoint(_0x1b20x5,_0x1b20x9),_0x1b20x4[_0x5826[1724]](_0x1b20x2[_0x5826[246]],_0x1b20xa))}};function mxGraphAbstractHierarchyCell(){this[_0x5826[235]]=[];this[_0x5826[236]]=[];this[_0x5826[1826]]=[]}mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1827]]= -1;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1828]]= -1;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[235]]=null;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[236]]=null;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[117]]=0;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[119]]=0;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1829]]=null;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1830]]=null;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1826]]=null;mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1831]]=function(_0x1b20x2){return null};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1832]]=function(_0x1b20x2){return null};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[250]]=function(){return !1};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1193]]=function(){return !1};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1833]]=function(_0x1b20x2){return null};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1834]]=function(_0x1b20x2,_0x1b20x3){return null};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1835]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1193]]()?this[_0x5826[235]][0]=_0x1b20x3:this[_0x5826[250]]()&&(this[_0x5826[235]][_0x1b20x2-this[_0x5826[1828]]-1]=_0x1b20x3)};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[730]]=function(_0x1b20x2){return this[_0x5826[1193]]()?this[_0x5826[235]][0]:this[_0x5826[250]]()?this[_0x5826[235]][_0x1b20x2-this[_0x5826[1828]]-1]:0};mxGraphAbstractHierarchyCell[_0x5826[202]][_0x5826[1836]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1193]]()?this[_0x5826[236]][0]=_0x1b20x3:this[_0x5826[250]]()&&(this[_0x5826[236]][_0x1b20x2-this[_0x5826[1828]]-1]=_0x1b20x3)};function mxGraphHierarchyNode(_0x1b20x2){mxGraphAbstractHierarchyCell[_0x5826[183]](this,arguments);this[_0x5826[246]]=_0x1b20x2}mxGraphHierarchyNode[_0x5826[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode[_0x5826[202]][_0x5826[196]]=mxGraphHierarchyNode;mxGraphHierarchyNode[_0x5826[202]][_0x5826[246]]=null;mxGraphHierarchyNode[_0x5826[202]][_0x5826[1837]]=[];mxGraphHierarchyNode[_0x5826[202]][_0x5826[1838]]=[];mxGraphHierarchyNode[_0x5826[202]][_0x5826[1839]]= !1;mxGraphHierarchyNode[_0x5826[202]][_0x5826[1840]]=function(_0x1b20x2){return this[_0x5826[1827]]};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1831]]=function(_0x1b20x2){if(null==this[_0x5826[1829]]){this[_0x5826[1829]]=[];this[_0x5826[1829]][0]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1837]][_0x5826[67]];_0x1b20x3++){var _0x1b20x4=this[_0x5826[1837]][_0x1b20x3];-1==_0x1b20x4[_0x5826[1827]]||_0x1b20x4[_0x5826[1827]]==_0x1b20x2+1?this[_0x5826[1829]][0][_0x5826[207]](_0x1b20x4[_0x5826[1097]]):this[_0x5826[1829]][0][_0x5826[207]](_0x1b20x4)}};return this[_0x5826[1829]][0]};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1832]]=function(_0x1b20x2){if(null==this[_0x5826[1830]]){this[_0x5826[1830]]=[];this[_0x5826[1830]][0]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1838]][_0x5826[67]];_0x1b20x3++){var _0x1b20x4=this[_0x5826[1838]][_0x1b20x3];-1==_0x1b20x4[_0x5826[1828]]||_0x1b20x4[_0x5826[1828]]==_0x1b20x2-1?this[_0x5826[1830]][0][_0x5826[207]](_0x1b20x4[_0x5826[772]]):this[_0x5826[1830]][0][_0x5826[207]](_0x1b20x4)}};return this[_0x5826[1830]][0]};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1193]]=function(){return !0};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1833]]=function(_0x1b20x2){return this[_0x5826[1826]][0]};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1834]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1826]][0]=_0x1b20x3};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1720]]=function(_0x1b20x2){if(null!=_0x1b20x2&&null!=this[_0x5826[1839]]&&null!=_0x1b20x2[_0x5826[1839]]&&this[_0x5826[1839]][_0x5826[67]]<_0x1b20x2[_0x5826[1839]][_0x5826[67]]){if(this[_0x5826[1839]]==_0x1b20x2[_0x5826[1839]]){return !0};if(null==this[_0x5826[1839]]||null==this[_0x5826[1839]]){return !1};for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1839]][_0x5826[67]];_0x1b20x3++){if(this[_0x5826[1839]][_0x1b20x3]!=_0x1b20x2[_0x5826[1839]][_0x1b20x3]){return !1}};return !0};return !1};mxGraphHierarchyNode[_0x5826[202]][_0x5826[1841]]=function(){return this[_0x5826[246]]};function mxGraphHierarchyEdge(_0x1b20x2){mxGraphAbstractHierarchyCell[_0x5826[183]](this,arguments);this[_0x5826[1842]]=_0x1b20x2}mxGraphHierarchyEdge[_0x5826[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[196]]=mxGraphHierarchyEdge;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1842]]=null;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1097]]=null;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[772]]=null;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1843]]= !1;mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1744]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1097]];this[_0x5826[1097]]=this[_0x5826[772]];this[_0x5826[772]]=_0x1b20x2;this[_0x5826[1843]]=!this[_0x5826[1843]]};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1831]]=function(_0x1b20x2){if(null==this[_0x5826[1829]]){this[_0x5826[1829]]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1826]][_0x5826[67]];_0x1b20x3++){this[_0x5826[1829]][_0x1b20x3]=[],_0x1b20x3==this[_0x5826[1826]][_0x5826[67]]-1?this[_0x5826[1829]][_0x1b20x3][_0x5826[207]](this[_0x5826[1097]]):this[_0x5826[1829]][_0x1b20x3][_0x5826[207]](this)}};return this[_0x5826[1829]][_0x1b20x2-this[_0x5826[1828]]-1]};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1832]]=function(_0x1b20x2){if(null==this[_0x5826[1830]]){this[_0x5826[1830]]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1826]][_0x5826[67]];_0x1b20x3++){this[_0x5826[1830]][_0x1b20x3]=[],0==_0x1b20x3?this[_0x5826[1830]][_0x1b20x3][_0x5826[207]](this[_0x5826[772]]):this[_0x5826[1830]][_0x1b20x3][_0x5826[207]](this)}};return this[_0x5826[1830]][_0x1b20x2-this[_0x5826[1828]]-1]};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[250]]=function(){return !0};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1833]]=function(_0x1b20x2){return this[_0x5826[1826]][_0x1b20x2-this[_0x5826[1828]]-1]};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1834]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1826]][_0x1b20x2-this[_0x5826[1828]]-1]=_0x1b20x3};mxGraphHierarchyEdge[_0x5826[202]][_0x5826[1841]]=function(){return null!=this[_0x5826[1842]]&&0<this[_0x5826[1842]][_0x5826[67]]?this[_0x5826[1842]][0]:null};function mxGraphHierarchyModel(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2[_0x5826[1703]]();this[_0x5826[1844]]=_0x1b20x9;this[_0x5826[1845]]=_0x1b20x4;this[_0x5826[1101]]=_0x1b20x5;this[_0x5826[1846]]={};this[_0x5826[1847]]={};this[_0x5826[1827]]=0;_0x1b20x4=[];null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[1179]][_0x5826[1728]](_0x1b20x5));this[_0x5826[1827]]=this[_0x5826[1848]];this[_0x5826[1849]](_0x1b20x2,_0x1b20x3,_0x1b20x4);for(_0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){_0x1b20x9=_0x1b20x4[_0x1b20x5][_0x5826[1838]];for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x9[_0x1b20xa],_0x1b20x13=_0x1b20x12[_0x5826[1842]];if(null!=_0x1b20x13&&0<_0x1b20x13[_0x5826[67]]){var _0x1b20x13=_0x1b20x13[0],_0x1b20x14=_0x1b20x2[_0x5826[1710]](_0x1b20x13,!1),_0x1b20x14=mxCellPath[_0x5826[385]](_0x1b20x14),_0x1b20x14=this[_0x5826[1846]][_0x1b20x14];_0x1b20x4[_0x1b20x5]==_0x1b20x14&&(_0x1b20x14=_0x1b20x2[_0x5826[1710]](_0x1b20x13,!0),_0x1b20x14=mxCellPath[_0x5826[385]](_0x1b20x14),_0x1b20x14=this[_0x5826[1846]][_0x1b20x14]);null!=_0x1b20x14&&_0x1b20x4[_0x1b20x5]!=_0x1b20x14&&(_0x1b20x12[_0x5826[772]]=_0x1b20x14,0==_0x1b20x14[_0x5826[1837]][_0x5826[67]]&&(_0x1b20x14[_0x5826[1837]]=[]),0>mxUtils[_0x5826[2]](_0x1b20x14[_0x5826[1837]],_0x1b20x12)&&_0x1b20x14[_0x5826[1837]][_0x5826[207]](_0x1b20x12))}};_0x1b20x4[_0x1b20x5][_0x5826[1826]][0]=1}}mxGraphHierarchyModel[_0x5826[202]][_0x5826[1827]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1846]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1847]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1850]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1845]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1101]]=null;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1851]]=0;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1848]]=1E8;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1844]]= !1;mxGraphHierarchyModel[_0x5826[202]][_0x5826[1849]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){for(var _0x1b20x5=_0x1b20x2[_0x5826[1703]](),_0x1b20x9=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){_0x1b20x4[_0x1b20x9]= new mxGraphHierarchyNode(_0x1b20x3[_0x1b20x9]);var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x3[_0x1b20x9]);this[_0x5826[1846]][_0x1b20xa]=_0x1b20x4[_0x1b20x9];_0x1b20xa=_0x1b20x2[_0x5826[264]](_0x1b20x3[_0x1b20x9]);_0x1b20x4[_0x1b20x9][_0x5826[1838]]=[];for(var _0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){var _0x1b20x13=_0x1b20x2[_0x5826[1710]](_0x1b20xa[_0x1b20x12],!1);if(_0x1b20x13!=_0x1b20x3[_0x1b20x9]&&_0x1b20x13!=_0x1b20x3[_0x1b20x9]&&_0x1b20x2[_0x5826[1179]][_0x5826[251]][_0x5826[1193]](_0x1b20x13)&&!_0x1b20x2[_0x5826[1713]](_0x1b20x13)){var _0x1b20x14=_0x1b20x2[_0x5826[1781]](_0x1b20x3[_0x1b20x9],_0x1b20x13,!1),_0x1b20x15=_0x1b20x2[_0x5826[1781]](_0x1b20x3[_0x1b20x9],_0x1b20x13,!0),_0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x14[0]);if(null!=_0x1b20x14&&0<_0x1b20x14[_0x5826[67]]&&null==this[_0x5826[1847]][_0x1b20x13]&&2*_0x1b20x15[_0x5826[67]]>=_0x1b20x14[_0x5826[67]]){for(var _0x1b20x15= new mxGraphHierarchyEdge(_0x1b20x14),_0x1b20x16=0;_0x1b20x16<_0x1b20x14[_0x5826[67]];_0x1b20x16++){var _0x1b20x17=_0x1b20x14[_0x1b20x16],_0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x17);this[_0x5826[1847]][_0x1b20x13]=_0x1b20x15;_0x1b20x5[_0x5826[1809]](_0x1b20x17);_0x1b20x2[_0x5826[1787]]&&(_0x1b20x2[_0x5826[1716]](_0x1b20x17,!1),_0x1b20x2[_0x5826[1718]](_0x1b20x17,!0))};_0x1b20x15[_0x5826[1097]]=_0x1b20x4[_0x1b20x9];0>mxUtils[_0x5826[2]](_0x1b20x4[_0x1b20x9][_0x5826[1838]],_0x1b20x15)&&_0x1b20x4[_0x1b20x9][_0x5826[1838]][_0x5826[207]](_0x1b20x15)}}};_0x1b20x4[_0x1b20x9][_0x5826[1826]][0]=0}};mxGraphHierarchyModel[_0x5826[202]][_0x5826[1852]]=function(){var _0x1b20x2=[];if(null!=this[_0x5826[1845]]){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1845]][_0x5826[67]];_0x1b20x3++){var _0x1b20x4=mxCellPath[_0x5826[385]](this[_0x5826[1845]][_0x1b20x3]),_0x1b20x4=this[_0x5826[1846]][_0x1b20x4];null!=_0x1b20x4&&_0x1b20x2[_0x5826[207]](_0x1b20x4)}};for(var _0x1b20x5 in this[_0x5826[1846]]){_0x1b20x4=this[_0x5826[1846]][_0x1b20x5],_0x1b20x4[_0x5826[1826]][0]= -1};for(var _0x1b20x9=_0x1b20x2[_0x5826[1853]]();0<_0x1b20x2[_0x5826[67]];){var _0x1b20x4=_0x1b20x2[0],_0x1b20xa,_0x1b20x12;_0x1b20xa=_0x1b20x4[_0x5826[1837]];_0x1b20x12=_0x1b20x4[_0x5826[1838]];for(var _0x1b20x13=!0,_0x1b20x14=this[_0x5826[1848]],_0x1b20x3=0;_0x1b20x3<_0x1b20xa[_0x5826[67]];_0x1b20x3++){var _0x1b20x15=_0x1b20xa[_0x1b20x3];if(5270620==_0x1b20x15[_0x5826[1826]][0]){_0x1b20x15=_0x1b20x15[_0x5826[1097]],_0x1b20x14=Math[_0x5826[243]](_0x1b20x14,_0x1b20x15[_0x5826[1826]][0]-1)}else {_0x1b20x13= !1;break}};if(_0x1b20x13){_0x1b20x4[_0x5826[1826]][0]=_0x1b20x14;this[_0x5826[1827]]=Math[_0x5826[243]](this[_0x5826[1827]],_0x1b20x14);if(null!=_0x1b20x12){for(_0x1b20x3=0;_0x1b20x3<_0x1b20x12[_0x5826[67]];_0x1b20x3++){_0x1b20x15=_0x1b20x12[_0x1b20x3],_0x1b20x15[_0x5826[1826]][0]=5270620,_0x1b20x15=_0x1b20x15[_0x5826[772]],-1==_0x1b20x15[_0x5826[1826]][0]&&(_0x1b20x2[_0x5826[207]](_0x1b20x15),_0x1b20x15[_0x5826[1826]][0]= -2)}};_0x1b20x2[_0x5826[1115]]()}else {if(_0x1b20x3=_0x1b20x2[_0x5826[1115]](),_0x1b20x2[_0x5826[207]](_0x1b20x4),_0x1b20x3==_0x1b20x4&&1==_0x1b20x2[_0x5826[67]]){break}}};for(_0x1b20x5 in this[_0x5826[1846]]){_0x1b20x4=this[_0x5826[1846]][_0x1b20x5],_0x1b20x4[_0x5826[1826]][0]-=this[_0x5826[1827]]};for(_0x1b20x3=0;_0x1b20x3<_0x1b20x9[_0x5826[67]];_0x1b20x3++){_0x1b20x4=_0x1b20x9[_0x1b20x3];_0x1b20x2=0;_0x1b20xa=_0x1b20x4[_0x5826[1838]];for(_0x1b20x5=0;_0x1b20x5<_0x1b20xa[_0x5826[67]];_0x1b20x5++){_0x1b20x15=_0x1b20xa[_0x1b20x5],_0x1b20x15=_0x1b20x15[_0x5826[772]],_0x1b20x4[_0x5826[1826]][0]=Math[_0x5826[160]](_0x1b20x2,_0x1b20x15[_0x5826[1826]][0]+1),_0x1b20x2=_0x1b20x4[_0x5826[1826]][0]}};this[_0x5826[1827]]=this[_0x5826[1848]]-this[_0x5826[1827]]};mxGraphHierarchyModel[_0x5826[202]][_0x5826[1854]]=function(){var _0x1b20x2=[];this[_0x5826[1850]]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[1827]]+1;_0x1b20x3++){_0x1b20x2[_0x1b20x3]=[],this[_0x5826[1850]][_0x1b20x3]=_0x1b20x2[_0x1b20x3]};var _0x1b20x4=null;if(null!=this[_0x5826[1845]]){for(var _0x1b20x5=this[_0x5826[1845]],_0x1b20x4=[],_0x1b20x3=0;_0x1b20x3<_0x1b20x5[_0x5826[67]];_0x1b20x3++){var _0x1b20x9=mxCellPath[_0x5826[385]](_0x1b20x5[_0x1b20x3]);_0x1b20x4[_0x1b20x3]=this[_0x5826[1846]][_0x1b20x9]}};this[_0x5826[209]](function(_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20x15){0==_0x1b20x15&&(0>_0x1b20x4[_0x5826[1827]]&&0>_0x1b20x4[_0x5826[1828]])&&(_0x1b20x2[_0x1b20x4[_0x5826[1826]][0]][_0x5826[207]](_0x1b20x4),_0x1b20x4[_0x5826[1827]]=_0x1b20x4[_0x5826[1826]][0],_0x1b20x4[_0x5826[1828]]=_0x1b20x4[_0x5826[1826]][0],_0x1b20x4[_0x5826[1826]][0]=_0x1b20x2[_0x1b20x4[_0x5826[1827]]][_0x5826[67]]-1);if(null!=_0x1b20x3&&null!=_0x1b20x5&&1<_0x1b20x3[_0x5826[1827]]-_0x1b20x4[_0x5826[1827]]){_0x1b20x5[_0x5826[1827]]=_0x1b20x3[_0x5826[1827]];_0x1b20x5[_0x5826[1828]]=_0x1b20x4[_0x5826[1827]];_0x1b20x5[_0x5826[1826]]=[];_0x1b20x5[_0x5826[235]]=[];_0x1b20x5[_0x5826[236]]=[];for(_0x1b20x3=_0x1b20x5[_0x5826[1828]]+1;_0x1b20x3<_0x1b20x5[_0x5826[1827]];_0x1b20x3++){_0x1b20x2[_0x1b20x3][_0x5826[207]](_0x1b20x5),_0x1b20x5[_0x5826[1834]](_0x1b20x3,_0x1b20x2[_0x1b20x3][_0x5826[67]]-1)}}},_0x1b20x4,!1,null)};mxGraphHierarchyModel[_0x5826[202]][_0x5826[209]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x3){for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=_0x1b20x3[_0x1b20x9];null!=_0x1b20xa&&(null==_0x1b20x5&&(_0x1b20x5={}),_0x1b20x4?(_0x1b20xa[_0x5826[1839]]=[],_0x1b20xa[_0x5826[1839]][0]=this[_0x5826[1851]],_0x1b20xa[_0x5826[1839]][1]=_0x1b20x9,this[_0x5826[1855]](null,_0x1b20xa,null,_0x1b20x2,_0x1b20x5,_0x1b20xa[_0x5826[1839]],_0x1b20x9,0)):this[_0x5826[1758]](null,_0x1b20xa,null,_0x1b20x2,_0x1b20x5,0))};this[_0x5826[1851]]++}};mxGraphHierarchyModel[_0x5826[202]][_0x5826[1758]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){if(null!=_0x1b20x3){var _0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]);if(null==_0x1b20x9[_0x1b20x12]){_0x1b20x9[_0x1b20x12]=_0x1b20x3;_0x1b20x5(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20xa,0);_0x1b20x2=_0x1b20x3[_0x5826[1838]][_0x5826[1853]]();for(_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){_0x1b20x12=_0x1b20x2[_0x1b20x4],this[_0x5826[1758]](_0x1b20x3,_0x1b20x12[_0x5826[772]],_0x1b20x12,_0x1b20x5,_0x1b20x9,_0x1b20xa+1)}}else {_0x1b20x5(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20xa,1)}}};mxGraphHierarchyModel[_0x5826[202]][_0x5826[1855]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13){if(null!=_0x1b20x3){if(null!=_0x1b20x2&&(null==_0x1b20x3[_0x5826[1839]]||_0x1b20x3[_0x5826[1839]][0]!=_0x1b20x2[_0x5826[1839]][0])){_0x1b20xa=_0x1b20x2[_0x5826[1839]][_0x5826[67]]+1,_0x1b20x3[_0x5826[1839]]=_0x1b20x2[_0x5826[1839]][_0x5826[1853]](),_0x1b20x3[_0x5826[1839]][_0x1b20xa-1]=_0x1b20x12};_0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]);if(null==_0x1b20x9[_0x1b20x12]){_0x1b20x9[_0x1b20x12]=_0x1b20x3;_0x1b20x5(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x13,0);_0x1b20x2=_0x1b20x3[_0x5826[1838]][_0x5826[1853]]();for(_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){_0x1b20x12=_0x1b20x2[_0x1b20x4],this[_0x5826[1855]](_0x1b20x3,_0x1b20x12[_0x5826[772]],_0x1b20x12,_0x1b20x5,_0x1b20x9,_0x1b20x3[_0x5826[1839]],_0x1b20x4,_0x1b20x13+1)}}else {_0x1b20x5(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x13,1)}}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){};function mxMedianHybridCrossingReduction(_0x1b20x2){this[_0x5826[1759]]=_0x1b20x2}mxMedianHybridCrossingReduction[_0x5826[202]]= new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[196]]=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1759]]=null;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1795]]=24;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1856]]=null;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1857]]=0;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1858]]=0;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1859]]=2;mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1759]][_0x5826[502]]();this[_0x5826[1856]]=[];for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[1850]][_0x5826[67]];_0x1b20x3++){this[_0x5826[1856]][_0x1b20x3]=_0x1b20x2[_0x5826[1850]][_0x1b20x3][_0x5826[1853]]()};for(var _0x1b20x4=0,_0x1b20x5=this[_0x5826[1860]](_0x1b20x2),_0x1b20x3=0;_0x1b20x3<this[_0x5826[1795]]&&_0x1b20x4<this[_0x5826[1859]];_0x1b20x3++){this[_0x5826[1861]](_0x1b20x3,_0x1b20x2);this[_0x5826[1862]](_0x1b20x3,_0x1b20x2);var _0x1b20x9=this[_0x5826[1860]](_0x1b20x2);if(_0x1b20x9<_0x1b20x5){_0x1b20x5=_0x1b20x9;for(_0x1b20x9=_0x1b20x4=0;_0x1b20x9<this[_0x5826[1856]][_0x5826[67]];_0x1b20x9++){for(var _0x1b20xa=_0x1b20x2[_0x5826[1850]][_0x1b20x9],_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){var _0x1b20x13=_0x1b20xa[_0x1b20x12];this[_0x5826[1856]][_0x1b20x9][_0x1b20x13[_0x5826[1833]](_0x1b20x9)]=_0x1b20x13}}}else {_0x1b20x4++;for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[1856]][_0x5826[67]];_0x1b20x9++){_0x1b20xa=_0x1b20x2[_0x5826[1850]][_0x1b20x9];for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa[_0x5826[67]];_0x1b20x12++){_0x1b20x13=_0x1b20xa[_0x1b20x12],_0x1b20x13[_0x5826[1834]](_0x1b20x9,_0x1b20x12)}}};if(0==_0x1b20x5){break}};_0x1b20x4=[];_0x1b20x5=[];for(_0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[1827]]+1;_0x1b20x3++){_0x1b20x5[_0x1b20x3]=[],_0x1b20x4[_0x1b20x3]=_0x1b20x5[_0x1b20x3]};for(_0x1b20x3=0;_0x1b20x3<this[_0x5826[1856]][_0x5826[67]];_0x1b20x3++){for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[1856]][_0x1b20x3][_0x5826[67]];_0x1b20x9++){_0x1b20x5[_0x1b20x3][_0x5826[207]](this[_0x5826[1856]][_0x1b20x3][_0x1b20x9])}};_0x1b20x2[_0x5826[1850]]=_0x1b20x4};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1860]]=function(_0x1b20x2){for(var _0x1b20x3=_0x1b20x2[_0x5826[1850]][_0x5826[67]],_0x1b20x4=0,_0x1b20x5=1;_0x1b20x5<_0x1b20x3;_0x1b20x5++){_0x1b20x4+=this[_0x5826[1863]](_0x1b20x5,_0x1b20x2)};return _0x1b20x4};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1863]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=0,_0x1b20x5=_0x1b20x3[_0x5826[1850]][_0x1b20x2],_0x1b20x9=_0x1b20x5[_0x5826[67]],_0x1b20xa=_0x1b20x3[_0x5826[1850]][_0x1b20x2-1][_0x5826[67]],_0x1b20x12=[],_0x1b20x13=0;_0x1b20x13<_0x1b20x9;_0x1b20x13++){_0x1b20x12[_0x1b20x13]=[]};for(_0x1b20x13=0;_0x1b20x13<_0x1b20x5[_0x5826[67]];_0x1b20x13++){for(var _0x1b20x14=_0x1b20x5[_0x1b20x13],_0x1b20x15=_0x1b20x14[_0x5826[1833]](_0x1b20x2),_0x1b20x16=_0x1b20x14[_0x5826[1832]](_0x1b20x2),_0x1b20x14=0;_0x1b20x14<_0x1b20x16[_0x5826[67]];_0x1b20x14++){var _0x1b20x17=_0x1b20x16[_0x1b20x14][_0x5826[1833]](_0x1b20x2-1);_0x1b20x12[_0x1b20x15][_0x1b20x17]=201207}};for(_0x1b20x13=0;_0x1b20x13<_0x1b20x9;_0x1b20x13++){for(_0x1b20x14=0;_0x1b20x14<_0x1b20xa;_0x1b20x14++){if(201207==_0x1b20x12[_0x1b20x13][_0x1b20x14]){for(_0x1b20x5=_0x1b20x13+1;_0x1b20x5<_0x1b20x9;_0x1b20x5++){for(_0x1b20x15=0;_0x1b20x15<_0x1b20x14;_0x1b20x15++){201207==_0x1b20x12[_0x1b20x5][_0x1b20x15]&&_0x1b20x4++}};for(_0x1b20x5=0;_0x1b20x5<_0x1b20x13;_0x1b20x5++){for(_0x1b20x15=_0x1b20x14+1;_0x1b20x15<_0x1b20xa;_0x1b20x15++){201207==_0x1b20x12[_0x1b20x5][_0x1b20x15]&&_0x1b20x4++}}}}};return _0x1b20x4/2};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1862]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=!0,_0x1b20x5=0;_0x1b20x4&&10>_0x1b20x5++;){for(var _0x1b20x9=1==_0x1b20x2%2&&1==_0x1b20x5%2,_0x1b20x4=!1,_0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[1850]][_0x5826[67]];_0x1b20xa++){for(var _0x1b20x12=_0x1b20x3[_0x5826[1850]][_0x1b20xa],_0x1b20x13=[],_0x1b20x14=0;_0x1b20x14<_0x1b20x12[_0x5826[67]];_0x1b20x14++){var _0x1b20x15=_0x1b20x12[_0x1b20x14],_0x1b20x16=_0x1b20x15[_0x5826[1833]](_0x1b20xa);0>_0x1b20x16&&(_0x1b20x16=_0x1b20x14);_0x1b20x13[_0x1b20x16]=_0x1b20x15};for(var _0x1b20x17=_0x1b20x16=_0x1b20x15=null,_0x1b20x18=null,_0x1b20x19=null,_0x1b20x1a=null,_0x1b20x1b=null,_0x1b20x1c=null,_0x1b20x1d=null,_0x1b20x1e=null,_0x1b20x14=0;_0x1b20x14<_0x1b20x12[_0x5826[67]]-1;_0x1b20x14++){if(0==_0x1b20x14){for(var _0x1b20x1d=_0x1b20x13[_0x1b20x14],_0x1b20x15=_0x1b20x1d[_0x5826[1831]](_0x1b20xa),_0x1b20x16=_0x1b20x1d[_0x5826[1832]](_0x1b20xa),_0x1b20x19=[],_0x1b20x1a=[],_0x1b20x1f=0;_0x1b20x1f<_0x1b20x15[_0x5826[67]];_0x1b20x1f++){_0x1b20x19[_0x1b20x1f]=_0x1b20x15[_0x1b20x1f][_0x5826[1833]](_0x1b20xa+1)};for(_0x1b20x1f=0;_0x1b20x1f<_0x1b20x16[_0x5826[67]];_0x1b20x1f++){_0x1b20x1a[_0x1b20x1f]=_0x1b20x16[_0x1b20x1f][_0x5826[1833]](_0x1b20xa-1)}}else {_0x1b20x15=_0x1b20x17,_0x1b20x16=_0x1b20x18,_0x1b20x19=_0x1b20x1b,_0x1b20x1a=_0x1b20x1c,_0x1b20x1d=_0x1b20x1e};_0x1b20x1e=_0x1b20x13[_0x1b20x14+1];_0x1b20x17=_0x1b20x1e[_0x5826[1831]](_0x1b20xa);_0x1b20x18=_0x1b20x1e[_0x5826[1832]](_0x1b20xa);_0x1b20x1b=[];_0x1b20x1c=[];for(_0x1b20x1f=0;_0x1b20x1f<_0x1b20x17[_0x5826[67]];_0x1b20x1f++){_0x1b20x1b[_0x1b20x1f]=_0x1b20x17[_0x1b20x1f][_0x5826[1833]](_0x1b20xa+1)};for(_0x1b20x1f=0;_0x1b20x1f<_0x1b20x18[_0x5826[67]];_0x1b20x1f++){_0x1b20x1c[_0x1b20x1f]=_0x1b20x18[_0x1b20x1f][_0x5826[1833]](_0x1b20xa-1)};for(var _0x1b20x20=0,_0x1b20x62=0,_0x1b20x1f=0;_0x1b20x1f<_0x1b20x19[_0x5826[67]];_0x1b20x1f++){for(var _0x1b20x63=0;_0x1b20x63<_0x1b20x1b[_0x5826[67]];_0x1b20x63++){_0x1b20x19[_0x1b20x1f]>_0x1b20x1b[_0x1b20x63]&&_0x1b20x20++,_0x1b20x19[_0x1b20x1f]<_0x1b20x1b[_0x1b20x63]&&_0x1b20x62++}};for(_0x1b20x1f=0;_0x1b20x1f<_0x1b20x1a[_0x5826[67]];_0x1b20x1f++){for(_0x1b20x63=0;_0x1b20x63<_0x1b20x1c[_0x5826[67]];_0x1b20x63++){_0x1b20x1a[_0x1b20x1f]>_0x1b20x1c[_0x1b20x63]&&_0x1b20x20++,_0x1b20x1a[_0x1b20x1f]<_0x1b20x1c[_0x1b20x63]&&_0x1b20x62++}};if(_0x1b20x62<_0x1b20x20||_0x1b20x62==_0x1b20x20&&_0x1b20x9){_0x1b20x17=_0x1b20x1d[_0x5826[1833]](_0x1b20xa),_0x1b20x1d[_0x5826[1834]](_0x1b20xa,_0x1b20x1e[_0x5826[1833]](_0x1b20xa)),_0x1b20x1e[_0x5826[1834]](_0x1b20xa,_0x1b20x17),_0x1b20x17=_0x1b20x15,_0x1b20x18=_0x1b20x16,_0x1b20x1b=_0x1b20x19,_0x1b20x1c=_0x1b20x1a,_0x1b20x1e=_0x1b20x1d,_0x1b20x9||(_0x1b20x4= !0)}}}}};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1861]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=0==_0x1b20x2%2;if(_0x1b20x4){for(var _0x1b20x5=_0x1b20x3[_0x5826[1827]]-1;0<=_0x1b20x5;_0x1b20x5--){this[_0x5826[1864]](_0x1b20x5,_0x1b20x4)}}else {for(_0x1b20x5=1;_0x1b20x5<_0x1b20x3[_0x5826[1827]];_0x1b20x5++){this[_0x5826[1864]](_0x1b20x5,_0x1b20x4)}}};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1864]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=this[_0x5826[1856]][_0x1b20x2][_0x5826[67]],_0x1b20x5=[],_0x1b20x9=[],_0x1b20xa=0;_0x1b20xa<_0x1b20x4;_0x1b20xa++){var _0x1b20x12=this[_0x5826[1856]][_0x1b20x2][_0x1b20xa],_0x1b20x13= new MedianCellSorter;_0x1b20x13[_0x5826[246]]=_0x1b20x12;var _0x1b20x14;_0x1b20x14=_0x1b20x3?_0x1b20x12[_0x5826[1831]](_0x1b20x2):_0x1b20x12[_0x5826[1832]](_0x1b20x2);var _0x1b20x15;_0x1b20x15=_0x1b20x3?_0x1b20x2+1:_0x1b20x2-1;null!=_0x1b20x14&&0!=_0x1b20x14[_0x5826[67]]?(_0x1b20x13[_0x5826[1865]]=this[_0x5826[1865]](_0x1b20x14,_0x1b20x15),_0x1b20x5[_0x5826[207]](_0x1b20x13)):_0x1b20x9[_0x1b20x12[_0x5826[1833]](_0x1b20x2)]= !0};_0x1b20x5[_0x5826[470]](MedianCellSorter[_0x5826[202]][_0x5826[469]]);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x4;_0x1b20xa++){null==_0x1b20x9[_0x1b20xa]&&(_0x1b20x12=_0x1b20x5[_0x5826[1115]]()[_0x5826[246]],_0x1b20x12[_0x5826[1834]](_0x1b20x2,_0x1b20xa))}};mxMedianHybridCrossingReduction[_0x5826[202]][_0x5826[1865]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=[],_0x1b20x5=0,_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=_0x1b20x2[_0x1b20x9];_0x1b20x4[_0x1b20x5++]=_0x1b20xa[_0x5826[1833]](_0x1b20x3)};_0x1b20x4[_0x5826[470]](function(_0x1b20x2,_0x1b20x3){return _0x1b20x2-_0x1b20x3});if(1==_0x1b20x5%2){return _0x1b20x4[Math[_0x5826[519]](_0x1b20x5/2)]};if(2==_0x1b20x5){return (_0x1b20x4[0]+_0x1b20x4[1])/2};_0x1b20x9=_0x1b20x5/2;_0x1b20xa=_0x1b20x4[_0x1b20x9-1]-_0x1b20x4[0];_0x1b20x5=_0x1b20x4[_0x1b20x5-1]-_0x1b20x4[_0x1b20x9];return (_0x1b20x4[_0x1b20x9-1]*_0x1b20x5+_0x1b20x4[_0x1b20x9]*_0x1b20xa)/(_0x1b20xa+_0x1b20x5)};function MedianCellSorter(){}MedianCellSorter[_0x5826[202]][_0x5826[1865]]=0;MedianCellSorter[_0x5826[202]][_0x5826[246]]= !1;MedianCellSorter[_0x5826[202]][_0x5826[469]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2&&null!=_0x1b20x3?_0x1b20x3[_0x5826[1865]]>_0x1b20x2[_0x5826[1865]]?-1:_0x1b20x3[_0x5826[1865]]<_0x1b20x2[_0x5826[1865]]?1:0:0};function mxMinimumCycleRemover(_0x1b20x2){this[_0x5826[1759]]=_0x1b20x2}mxMinimumCycleRemover[_0x5826[202]]= new mxHierarchicalLayoutStage;mxMinimumCycleRemover[_0x5826[202]][_0x5826[196]]=mxMinimumCycleRemover;mxMinimumCycleRemover[_0x5826[202]][_0x5826[1759]]=null;mxMinimumCycleRemover[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1759]][_0x5826[502]](),_0x1b20x4={},_0x1b20x5=mxUtils[_0x5826[238]](_0x1b20x3[_0x5826[1846]],null,!0),_0x1b20x9=null;if(null!=_0x1b20x3[_0x5826[1845]]){var _0x1b20xa=_0x1b20x3[_0x5826[1845]],_0x1b20x9=[];for(_0x1b20x2=0;_0x1b20x2<_0x1b20xa[_0x5826[67]];_0x1b20x2++){var _0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20xa[_0x1b20x2]);_0x1b20x9[_0x1b20x2]=_0x1b20x3[_0x5826[1846]][_0x1b20x12]}};_0x1b20x3[_0x5826[209]](function(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12){_0x1b20x3[_0x5826[1720]](_0x1b20x2)&&(_0x1b20x9[_0x5826[1744]](),mxUtils[_0x5826[205]](_0x1b20x9,_0x1b20x2[_0x5826[1838]]),_0x1b20x2[_0x5826[1837]][_0x5826[207]](_0x1b20x9),mxUtils[_0x5826[205]](_0x1b20x9,_0x1b20x3[_0x5826[1837]]),_0x1b20x3[_0x5826[1838]][_0x5826[207]](_0x1b20x9));_0x1b20x2=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]);_0x1b20x4[_0x1b20x2]=_0x1b20x3;delete _0x1b20x5[_0x1b20x2]},_0x1b20x9,!0,null);_0x1b20x9=null;0<_0x1b20x5[_0x5826[1866]]&&(_0x1b20x9=mxUtils[_0x5826[238]](_0x1b20x5,null,!0));_0x1b20x2=mxUtils[_0x5826[238]](_0x1b20x4,null,!0);_0x1b20x3[_0x5826[209]](function(_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x12){_0x1b20x3[_0x5826[1720]](_0x1b20x2)&&(_0x1b20x9[_0x5826[1744]](),mxUtils[_0x5826[205]](_0x1b20x9,_0x1b20x2[_0x5826[1838]]),_0x1b20x3[_0x5826[1838]][_0x5826[207]](_0x1b20x9),_0x1b20x2[_0x5826[1837]][_0x5826[207]](_0x1b20x9),mxUtils[_0x5826[205]](_0x1b20x9,_0x1b20x3[_0x5826[1837]]));_0x1b20x2=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]);_0x1b20x4[_0x1b20x2]=_0x1b20x3;delete _0x1b20x5[_0x1b20x2]},_0x1b20x5,!0,_0x1b20x2);_0x1b20xa=this[_0x5826[1759]][_0x5826[1703]]();if(null!=_0x1b20x9&&0<_0x1b20x9[_0x5826[67]]){_0x1b20x3=_0x1b20x3[_0x5826[1845]];for(_0x1b20x2=0;_0x1b20x2<_0x1b20x9[_0x5826[67]];_0x1b20x2++){_0x1b20x12=_0x1b20x9[_0x1b20x2][_0x5826[246]],0==_0x1b20xa[_0x5826[1867]](_0x1b20x12)[_0x5826[67]]&&_0x1b20x3[_0x5826[207]](_0x1b20x12)}}};function mxCoordinateAssignment(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[1759]]=_0x1b20x2;this[_0x5826[1868]]=_0x1b20x3;this[_0x5826[1869]]=_0x1b20x4;this[_0x5826[1870]]=_0x1b20x5;this[_0x5826[1871]]=_0x1b20x9;this[_0x5826[1872]]=_0x1b20xa}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxCoordinateAssignment[_0x5826[202]]= new mxHierarchicalLayoutStage;mxCoordinateAssignment[_0x5826[202]][_0x5826[196]]=mxCoordinateAssignment;mxCoordinateAssignment[_0x5826[202]][_0x5826[1759]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1868]]=30;mxCoordinateAssignment[_0x5826[202]][_0x5826[1869]]=100;mxCoordinateAssignment[_0x5826[202]][_0x5826[1872]]=10;mxCoordinateAssignment[_0x5826[202]][_0x5826[1795]]=8;mxCoordinateAssignment[_0x5826[202]][_0x5826[1751]]=5;mxCoordinateAssignment[_0x5826[202]][_0x5826[1752]]=2;mxCoordinateAssignment[_0x5826[202]][_0x5826[1753]]=12;mxCoordinateAssignment[_0x5826[202]][_0x5826[1754]]=4;mxCoordinateAssignment[_0x5826[202]][_0x5826[1873]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1870]]=mxConstants[_0x5826[1358]];mxCoordinateAssignment[_0x5826[202]][_0x5826[1871]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1874]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1875]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1876]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1877]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1878]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1879]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1880]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1881]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1882]]= !0;mxCoordinateAssignment[_0x5826[202]][_0x5826[675]]=mxHierarchicalEdgeStyle[_0x5826[1883]];mxCoordinateAssignment[_0x5826[202]][_0x5826[1884]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1885]]=null;mxCoordinateAssignment[_0x5826[202]][_0x5826[1745]]=10;mxCoordinateAssignment[_0x5826[202]][_0x5826[1886]]=function(){var _0x1b20x2=this[_0x5826[1759]][_0x5826[502]]();mxLog[_0x5826[539]]();mxLog[_0x5826[171]](_0x5826[1887]);for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[1850]][_0x5826[67]];_0x1b20x3++){mxLog[_0x5826[53]](_0x5826[1888],_0x1b20x3,_0x5826[1889]);for(var _0x1b20x4=_0x1b20x2[_0x5826[1850]][_0x1b20x3],_0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){mxLog[_0x5826[53]](_0x1b20x4[_0x1b20x5][_0x5826[1833]](_0x1b20x3),_0x5826[316])};mxLog[_0x5826[171]]()};mxLog[_0x5826[171]](_0x5826[1890])};mxCoordinateAssignment[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){this[_0x5826[1873]]=[];_0x1b20x2=this[_0x5826[1759]][_0x5826[502]]();this[_0x5826[1875]]=0;this[_0x5826[1891]](this[_0x5826[1759]][_0x5826[1703]](),_0x1b20x2);this[_0x5826[1882]]&&this[_0x5826[1892]](_0x1b20x2);var _0x1b20x3=1E8;if(this[_0x5826[1882]]){for(var _0x1b20x4=0;_0x1b20x4<this[_0x5826[1795]];_0x1b20x4++){0!=_0x1b20x4&&(this[_0x5826[1893]](_0x1b20x4,_0x1b20x2),this[_0x5826[1892]](_0x1b20x2));if(this[_0x5826[1875]]<_0x1b20x3){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[1850]][_0x5826[67]];_0x1b20x5++){for(var _0x1b20x9=_0x1b20x2[_0x5826[1850]][_0x1b20x5],_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x9[_0x1b20xa];_0x1b20x12[_0x5826[1835]](_0x1b20x5,_0x1b20x12[_0x5826[1833]](_0x1b20x5))}};_0x1b20x3=this[_0x5826[1875]]}else {for(_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[1850]][_0x5826[67]];_0x1b20x5++){_0x1b20x9=_0x1b20x2[_0x5826[1850]][_0x1b20x5];for(_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){_0x1b20x12=_0x1b20x9[_0x1b20xa],_0x1b20x12[_0x5826[1834]](_0x1b20x5,_0x1b20x12[_0x5826[730]](_0x1b20x5))}}};this[_0x5826[1894]](this[_0x5826[1759]][_0x5826[1703]](),_0x1b20x2);this[_0x5826[1875]]=0}};this[_0x5826[1895]](this[_0x5826[1759]][_0x5826[1703]](),_0x1b20x2)};mxCoordinateAssignment[_0x5826[202]][_0x5826[1892]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=[],_0x1b20x5=[],_0x1b20x9=0;_0x1b20x9<=_0x1b20x2[_0x5826[1827]];_0x1b20x9++){_0x1b20x5[_0x1b20x9]=_0x1b20x2[_0x5826[1850]][_0x1b20x9];for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x5[_0x1b20x9][_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x5[_0x1b20x9][_0x1b20xa],_0x1b20x13= new WeightedCellSorter(_0x1b20x12,_0x1b20x9);_0x1b20x13[_0x5826[1785]]=_0x1b20xa;_0x1b20x13[_0x5826[1784]]= !0;_0x1b20x3[_0x5826[207]](_0x1b20x13);_0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20x12[_0x5826[1841]]());_0x1b20x4[_0x1b20x12]=_0x1b20x13}};_0x1b20x2=10*_0x1b20x3[_0x5826[67]];for(_0x1b20xa=0;0<_0x1b20x3[_0x5826[67]]&&_0x1b20xa<=_0x1b20x2;){var _0x1b20x13=_0x1b20x3[_0x5826[1115]](),_0x1b20x9=_0x1b20x13[_0x5826[246]],_0x1b20x14=_0x1b20x13[_0x5826[1782]],_0x1b20x15=parseInt(_0x1b20x13[_0x5826[1785]]),_0x1b20x12=_0x1b20x9[_0x5826[1831]](_0x1b20x14),_0x1b20x16=_0x1b20x9[_0x5826[1832]](_0x1b20x14),_0x1b20x17=_0x1b20x12[_0x5826[67]],_0x1b20x18=_0x1b20x16[_0x5826[67]],_0x1b20x19=this[_0x5826[1896]](_0x1b20x12,_0x1b20x14+1),_0x1b20x1a=this[_0x5826[1896]](_0x1b20x16,_0x1b20x14-1),_0x1b20x1b=_0x1b20x17+_0x1b20x18,_0x1b20x1c=_0x1b20x9[_0x5826[1833]](_0x1b20x14),_0x1b20x1d=_0x1b20x1c;0<_0x1b20x1b&&(_0x1b20x1d=(_0x1b20x19*_0x1b20x17+_0x1b20x1a*_0x1b20x18)/_0x1b20x1b);_0x1b20x17= !1;_0x1b20x1d<_0x1b20x1c-1?0==_0x1b20x15?(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1d),_0x1b20x17= !0):(_0x1b20x15=_0x1b20x5[_0x1b20x14][_0x1b20x15-1],_0x1b20x1c=_0x1b20x15[_0x5826[1833]](_0x1b20x14),_0x1b20x1c=_0x1b20x1c+_0x1b20x15[_0x5826[117]]/2+this[_0x5826[1868]]+_0x1b20x9[_0x5826[117]]/2,_0x1b20x1c<_0x1b20x1d?(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1d),_0x1b20x17= !0):_0x1b20x1c<_0x1b20x9[_0x5826[1833]](_0x1b20x14)-1&&(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1c),_0x1b20x17= !0)):_0x1b20x1d>_0x1b20x1c+1&&(_0x1b20x15==_0x1b20x5[_0x1b20x14][_0x5826[67]]-1?(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1d),_0x1b20x17= !0):(_0x1b20x15=_0x1b20x5[_0x1b20x14][_0x1b20x15+1],_0x1b20x1c=_0x1b20x15[_0x5826[1833]](_0x1b20x14),_0x1b20x1c=_0x1b20x1c-_0x1b20x15[_0x5826[117]]/2-this[_0x5826[1868]]-_0x1b20x9[_0x5826[117]]/2,_0x1b20x1c>_0x1b20x1d?(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1d),_0x1b20x17= !0):_0x1b20x1c>_0x1b20x9[_0x5826[1833]](_0x1b20x14)+1&&(_0x1b20x9[_0x5826[1834]](_0x1b20x14,_0x1b20x1c),_0x1b20x17= !0)));if(_0x1b20x17){for(_0x1b20x9=0;_0x1b20x9<_0x1b20x12[_0x5826[67]];_0x1b20x9++){_0x1b20x14=_0x1b20x12[_0x1b20x9],_0x1b20x14=mxCellPath[_0x5826[385]](_0x1b20x14[_0x5826[1841]]()),_0x1b20x14=_0x1b20x4[_0x1b20x14],null!=_0x1b20x14&&!1==_0x1b20x14[_0x5826[1784]]&&(_0x1b20x14[_0x5826[1784]]= !0,_0x1b20x3[_0x5826[207]](_0x1b20x14))};for(_0x1b20x9=0;_0x1b20x9<_0x1b20x16[_0x5826[67]];_0x1b20x9++){_0x1b20x14=_0x1b20x16[_0x1b20x9],_0x1b20x14=mxCellPath[_0x5826[385]](_0x1b20x14[_0x5826[1841]]()),_0x1b20x14=_0x1b20x4[_0x1b20x14],null!=_0x1b20x14&&!1==_0x1b20x14[_0x5826[1784]]&&(_0x1b20x14[_0x5826[1784]]= !0,_0x1b20x3[_0x5826[207]](_0x1b20x14))}};_0x1b20x13[_0x5826[1784]]= !1;_0x1b20xa++}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1893]]=function(_0x1b20x2,_0x1b20x3){if(0==_0x1b20x2%2){for(var _0x1b20x4=_0x1b20x3[_0x5826[1827]];0<_0x1b20x4;_0x1b20x4--){this[_0x5826[1897]](_0x1b20x4-1,_0x1b20x3,_0x1b20x4)}}else {for(_0x1b20x4=0;_0x1b20x4<_0x1b20x3[_0x5826[1827]]-1;_0x1b20x4++){this[_0x5826[1897]](_0x1b20x4+1,_0x1b20x3,_0x1b20x4)}}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1897]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=_0x1b20x3[_0x5826[1850]][_0x1b20x2];for(var _0x1b20x5=[],_0x1b20x9=[],_0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x3[_0x1b20xa];_0x1b20x5[_0x1b20xa]= new WeightedCellSorter;_0x1b20x5[_0x1b20xa][_0x5826[246]]=_0x1b20x12;_0x1b20x5[_0x1b20xa][_0x5826[1785]]=_0x1b20xa;var _0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x12[_0x5826[1841]]());_0x1b20x9[_0x1b20x13]=_0x1b20x5[_0x1b20xa];var _0x1b20x14=null,_0x1b20x14=_0x1b20x4<_0x1b20x2?_0x1b20x12[_0x5826[1832]](_0x1b20x2):_0x1b20x12[_0x5826[1831]](_0x1b20x2);_0x1b20x5[_0x1b20xa][_0x5826[1782]]=this[_0x5826[1898]](_0x1b20x12,_0x1b20x14)};_0x1b20x5[_0x5826[470]](WeightedCellSorter[_0x5826[202]][_0x5826[469]]);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x5[_0x5826[67]];_0x1b20xa++){_0x1b20x13=0;_0x1b20x12=_0x1b20x5[_0x1b20xa][_0x5826[246]];_0x1b20x13=0;_0x1b20x14=_0x1b20x4<_0x1b20x2?_0x1b20x12[_0x5826[1832]](_0x1b20x2)[_0x5826[1853]]():_0x1b20x12[_0x5826[1831]](_0x1b20x2)[_0x5826[1853]]();null!=_0x1b20x14&&(_0x1b20x13=_0x1b20x14[_0x5826[67]],_0x1b20x13=0<_0x1b20x13?this[_0x5826[1896]](_0x1b20x14,_0x1b20x4):_0x1b20x12[_0x5826[1833]](_0x1b20x2));for(var _0x1b20x15=0,_0x1b20x14=-1E8,_0x1b20x16=_0x1b20x5[_0x1b20xa][_0x5826[1785]]-1;0<=_0x1b20x16;){var _0x1b20x17=mxCellPath[_0x5826[385]](_0x1b20x3[_0x1b20x16][_0x5826[1841]]()),_0x1b20x17=_0x1b20x9[_0x1b20x17];if(null!=_0x1b20x17){var _0x1b20x18=_0x1b20x17[_0x5826[246]];_0x1b20x17[_0x5826[1784]]?(_0x1b20x14=_0x1b20x18[_0x5826[1833]](_0x1b20x2)+_0x1b20x18[_0x5826[117]]/2+this[_0x5826[1868]]+_0x1b20x15+_0x1b20x12[_0x5826[117]]/2,_0x1b20x16= -1):(_0x1b20x15+=_0x1b20x18[_0x5826[117]]+this[_0x5826[1868]],_0x1b20x16--)}};_0x1b20x15=0;_0x1b20x18=1E8;for(_0x1b20x16=_0x1b20x5[_0x1b20xa][_0x5826[1785]]+1;_0x1b20x16<_0x1b20x5[_0x5826[67]];){if(_0x1b20x17=mxCellPath[_0x5826[385]](_0x1b20x3[_0x1b20x16][_0x5826[1841]]()),_0x1b20x17=_0x1b20x9[_0x1b20x17],null!=_0x1b20x17){var _0x1b20x19=_0x1b20x17[_0x5826[246]];_0x1b20x17[_0x5826[1784]]?(_0x1b20x18=_0x1b20x19[_0x5826[1833]](_0x1b20x2)-_0x1b20x19[_0x5826[117]]/2-this[_0x5826[1868]]-_0x1b20x15-_0x1b20x12[_0x5826[117]]/2,_0x1b20x16=_0x1b20x5[_0x5826[67]]):(_0x1b20x15+=_0x1b20x19[_0x5826[117]]+this[_0x5826[1868]],_0x1b20x16++)}};_0x1b20x13>=_0x1b20x14&&_0x1b20x13<=_0x1b20x18?_0x1b20x12[_0x5826[1834]](_0x1b20x2,_0x1b20x13):_0x1b20x13<_0x1b20x14?(_0x1b20x12[_0x5826[1834]](_0x1b20x2,_0x1b20x14),this[_0x5826[1875]]+=_0x1b20x14-_0x1b20x13):_0x1b20x13>_0x1b20x18&&(_0x1b20x12[_0x5826[1834]](_0x1b20x2,_0x1b20x18),this[_0x5826[1875]]+=_0x1b20x13-_0x1b20x18);_0x1b20x5[_0x1b20xa][_0x5826[1784]]= !0}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1898]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=0,_0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=_0x1b20x3[_0x1b20x5];_0x1b20x2[_0x5826[1193]]()&&_0x1b20x9[_0x5826[1193]]()?_0x1b20x4++:_0x1b20x4=_0x1b20x2[_0x5826[250]]()&&_0x1b20x9[_0x5826[250]]()?_0x1b20x4+8:_0x1b20x4+2};return _0x1b20x4};mxCoordinateAssignment[_0x5826[202]][_0x5826[1896]]=function(_0x1b20x2,_0x1b20x3){if(0==_0x1b20x2[_0x5826[67]]){return 0};for(var _0x1b20x4=[],_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){_0x1b20x4[_0x1b20x5]=_0x1b20x2[_0x1b20x5][_0x5826[1833]](_0x1b20x3)};_0x1b20x4[_0x5826[470]](function(_0x1b20x2,_0x1b20x3){return _0x1b20x2-_0x1b20x3});if(1==_0x1b20x2[_0x5826[67]]%2){return _0x1b20x4[Math[_0x5826[519]](_0x1b20x2[_0x5826[67]]/2)]};_0x1b20x5=_0x1b20x2[_0x5826[67]]/2;return (_0x1b20x4[_0x1b20x5-1]+_0x1b20x4[_0x1b20x5])/2};mxCoordinateAssignment[_0x5826[202]][_0x5826[1891]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1899]](_0x1b20x2,_0x1b20x3);for(var _0x1b20x4=this[_0x5826[1876]];0<=_0x1b20x4;_0x1b20x4--){_0x1b20x4<_0x1b20x3[_0x5826[1827]]&&this[_0x5826[1900]](_0x1b20x4,_0x1b20x2,_0x1b20x3)};for(_0x1b20x4=this[_0x5826[1876]]+1;_0x1b20x4<=_0x1b20x3[_0x5826[1827]];_0x1b20x4++){0<_0x1b20x4&&this[_0x5826[1900]](_0x1b20x4,_0x1b20x2,_0x1b20x3)}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1900]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=_0x1b20x4[_0x5826[1850]][_0x1b20x2];_0x1b20x4=0;for(var _0x1b20x5=this[_0x5826[1871]]+(this[_0x5826[1879]]-this[_0x5826[1880]][_0x1b20x2])/2,_0x1b20x9=!1,_0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x3[_0x1b20xa];if(_0x1b20x12[_0x5826[1193]]()){var _0x1b20x13=this[_0x5826[1759]][_0x5826[1726]](_0x1b20x12[_0x5826[246]]);null!=_0x1b20x13?this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?(_0x1b20x12[_0x5826[117]]=_0x1b20x13[_0x5826[117]],_0x1b20x12[_0x5826[119]]=_0x1b20x13[_0x5826[119]]):(_0x1b20x12[_0x5826[117]]=_0x1b20x13[_0x5826[119]],_0x1b20x12[_0x5826[119]]=_0x1b20x13[_0x5826[117]]):_0x1b20x9= !0;_0x1b20x4=Math[_0x5826[160]](_0x1b20x4,_0x1b20x12[_0x5826[119]])}else {_0x1b20x12[_0x5826[250]]()&&(_0x1b20x13=1,null!=_0x1b20x12[_0x5826[1842]]?_0x1b20x13=_0x1b20x12[_0x5826[1842]][_0x5826[67]]:mxLog[_0x5826[283]](_0x5826[1901]),_0x1b20x12[_0x5826[117]]=(_0x1b20x13-1)*this[_0x5826[1872]])};_0x1b20x5+=_0x1b20x12[_0x5826[117]]/2;_0x1b20x12[_0x5826[1835]](_0x1b20x2,_0x1b20x5);_0x1b20x12[_0x5826[1834]](_0x1b20x2,_0x1b20x5);_0x1b20x5+=_0x1b20x12[_0x5826[117]]/2;_0x1b20x5+=this[_0x5826[1868]]};!0==_0x1b20x9&&mxLog[_0x5826[283]](_0x5826[1902])};mxCoordinateAssignment[_0x5826[202]][_0x5826[1899]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=-this[_0x5826[1869]],_0x1b20x5=0;this[_0x5826[1880]]=[];this[_0x5826[1881]]=[];for(var _0x1b20x9=_0x1b20x3[_0x5826[1827]];0<=_0x1b20x9;_0x1b20x9--){for(var _0x1b20xa=0,_0x1b20x12=_0x1b20x3[_0x5826[1850]][_0x1b20x9],_0x1b20x13=this[_0x5826[1871]],_0x1b20x14=!1,_0x1b20x15=0;_0x1b20x15<_0x1b20x12[_0x5826[67]];_0x1b20x15++){var _0x1b20x16=_0x1b20x12[_0x1b20x15];if(_0x1b20x16[_0x5826[1193]]()){var _0x1b20x17=this[_0x5826[1759]][_0x5826[1726]](_0x1b20x16[_0x5826[246]]);null!=_0x1b20x17?this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?(_0x1b20x16[_0x5826[117]]=_0x1b20x17[_0x5826[117]],_0x1b20x16[_0x5826[119]]=_0x1b20x17[_0x5826[119]]):(_0x1b20x16[_0x5826[117]]=_0x1b20x17[_0x5826[119]],_0x1b20x16[_0x5826[119]]=_0x1b20x17[_0x5826[117]]):_0x1b20x14= !0;_0x1b20xa=Math[_0x5826[160]](_0x1b20xa,_0x1b20x16[_0x5826[119]])}else {_0x1b20x16[_0x5826[250]]()&&(_0x1b20x17=1,null!=_0x1b20x16[_0x5826[1842]]?_0x1b20x17=_0x1b20x16[_0x5826[1842]][_0x5826[67]]:mxLog[_0x5826[283]](_0x5826[1901]),_0x1b20x16[_0x5826[117]]=(_0x1b20x17-1)*this[_0x5826[1872]])};_0x1b20x13+=_0x1b20x16[_0x5826[117]]/2;_0x1b20x16[_0x5826[1835]](_0x1b20x9,_0x1b20x13);_0x1b20x16[_0x5826[1834]](_0x1b20x9,_0x1b20x13);_0x1b20x13+=_0x1b20x16[_0x5826[117]]/2;_0x1b20x13+=this[_0x5826[1868]];_0x1b20x13>this[_0x5826[1879]]&&(this[_0x5826[1879]]=_0x1b20x13,this[_0x5826[1876]]=_0x1b20x9);this[_0x5826[1880]][_0x1b20x9]=_0x1b20x13};!0==_0x1b20x14&&mxLog[_0x5826[283]](_0x5826[1902]);this[_0x5826[1881]][_0x1b20x9]=_0x1b20x4;_0x1b20x13=_0x1b20xa/2+_0x1b20x5/2+this[_0x5826[1869]];_0x1b20x5=_0x1b20xa;_0x1b20x4=this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1359]]?_0x1b20x4+_0x1b20x13:_0x1b20x4-_0x1b20x13;for(_0x1b20x15=0;_0x1b20x15<_0x1b20x12[_0x5826[67]];_0x1b20x15++){_0x1b20x12[_0x1b20x15][_0x5826[1836]](_0x1b20x9,_0x1b20x4)}}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1894]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x3[_0x5826[1847]],_0x1b20x5;for(_0x1b20x5 in _0x1b20x4){var _0x1b20x9=_0x1b20x4[_0x1b20x5];if(!(1>_0x1b20x9[_0x5826[1827]]-_0x1b20x9[_0x5826[1828]]-1)){for(var _0x1b20xa=_0x1b20x9[_0x5826[1833]](_0x1b20x9[_0x5826[1828]]+1),_0x1b20x12=!0,_0x1b20x13=0,_0x1b20x14=_0x1b20x9[_0x5826[1828]]+2;_0x1b20x14<_0x1b20x9[_0x5826[1827]];_0x1b20x14++){var _0x1b20x15=_0x1b20x9[_0x5826[1833]](_0x1b20x14);_0x1b20xa!=_0x1b20x15?(_0x1b20x12= !1,_0x1b20xa=_0x1b20x15):_0x1b20x13++};if(!_0x1b20x12){for(var _0x1b20x12=_0x1b20xa=0,_0x1b20x15=[],_0x1b20x16=[],_0x1b20x17=_0x1b20x9[_0x5826[1833]](_0x1b20x9[_0x5826[1828]]+1),_0x1b20x14=_0x1b20x9[_0x5826[1828]]+1;_0x1b20x14<_0x1b20x9[_0x5826[1827]]-1;_0x1b20x14++){var _0x1b20x18=_0x1b20x9[_0x5826[730]](_0x1b20x14+1);_0x1b20x17==_0x1b20x18?(_0x1b20x15[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-1]=_0x1b20x17,_0x1b20xa++):this[_0x5826[1903]](_0x1b20x3,_0x1b20x9,_0x1b20x14+1,_0x1b20x17)?(_0x1b20x15[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-1]=_0x1b20x17,_0x1b20xa++):_0x1b20x17=_0x1b20x15[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-1]=_0x1b20x18};_0x1b20x17=_0x1b20x9[_0x5826[730]](_0x1b20x14);for(_0x1b20x14=_0x1b20x9[_0x5826[1827]]-1;_0x1b20x14>_0x1b20x9[_0x5826[1828]]+1;_0x1b20x14--){_0x1b20x18=_0x1b20x9[_0x5826[730]](_0x1b20x14-1),_0x1b20x17==_0x1b20x18?(_0x1b20x16[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-2]=_0x1b20x17,_0x1b20x12++):this[_0x5826[1903]](_0x1b20x3,_0x1b20x9,_0x1b20x14-1,_0x1b20x17)?(_0x1b20x16[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-2]=_0x1b20x17,_0x1b20x12++):(_0x1b20x16[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-2]=_0x1b20x9[_0x5826[730]](_0x1b20x14-1),_0x1b20x17=_0x1b20x18)};if(_0x1b20x12>_0x1b20x13||_0x1b20xa>_0x1b20x13){if(_0x1b20x12>=_0x1b20xa){for(_0x1b20x14=_0x1b20x9[_0x5826[1827]]-2;_0x1b20x14>_0x1b20x9[_0x5826[1828]];_0x1b20x14--){_0x1b20x9[_0x5826[1835]](_0x1b20x14,_0x1b20x16[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-1])}}else {if(_0x1b20xa>_0x1b20x12){for(_0x1b20x14=_0x1b20x9[_0x5826[1828]]+2;_0x1b20x14<_0x1b20x9[_0x5826[1827]];_0x1b20x14++){_0x1b20x9[_0x5826[1835]](_0x1b20x14,_0x1b20x15[_0x1b20x14-_0x1b20x9[_0x5826[1828]]-2])}}}}}}}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1903]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x2=_0x1b20x2[_0x5826[1850]][_0x1b20x4];for(var _0x1b20x9=-1,_0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){if(_0x1b20x3==_0x1b20x2[_0x1b20xa]){_0x1b20x9=_0x1b20xa;break}};if(0>_0x1b20x9){return !1};_0x1b20xa=_0x1b20x3[_0x5826[1833]](_0x1b20x4);if(_0x1b20x5<_0x1b20xa){if(0==_0x1b20x9){return !0};_0x1b20x2=_0x1b20x2[_0x1b20x9-1];_0x1b20x4=_0x1b20x2[_0x5826[1833]](_0x1b20x4);_0x1b20x4=_0x1b20x4+_0x1b20x2[_0x5826[117]]/2+this[_0x5826[1868]]+_0x1b20x3[_0x5826[117]]/2;if(!(_0x1b20x4<=_0x1b20x5)){return !1}}else {if(_0x1b20x5>_0x1b20xa){if(_0x1b20x9==_0x1b20x2[_0x5826[67]]-1){return !0};_0x1b20x2=_0x1b20x2[_0x1b20x9+1];_0x1b20x4=_0x1b20x2[_0x5826[1833]](_0x1b20x4);_0x1b20x4=_0x1b20x4-_0x1b20x2[_0x5826[117]]/2-this[_0x5826[1868]]-_0x1b20x3[_0x5826[117]]/2;if(!(_0x1b20x4>=_0x1b20x5)){return !1}}};return !0};mxCoordinateAssignment[_0x5826[202]][_0x5826[1895]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1877]]=[];this[_0x5826[1878]]=[];for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x3[_0x5826[1850]][_0x5826[67]];_0x1b20x4++){this[_0x5826[1877]][_0x1b20x4]=Number[_0x5826[1904]],this[_0x5826[1878]][_0x1b20x4]=0};_0x1b20x4=null;this[_0x5826[1759]][_0x5826[1735]]&&(_0x1b20x4={});var _0x1b20x5=_0x1b20x3[_0x5826[1847]],_0x1b20x9=_0x1b20x3[_0x5826[1846]],_0x1b20xa;for(_0x1b20xa in _0x1b20x9){var _0x1b20x12=_0x1b20x9[_0x1b20xa];this[_0x5826[1725]](_0x1b20x12);if(this[_0x5826[1759]][_0x5826[1735]]){var _0x1b20x12=_0x1b20x2[_0x5826[251]][_0x5826[1197]](_0x1b20x12[_0x5826[246]]),_0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x12);null==_0x1b20x4[_0x1b20x13]&&(_0x1b20x4[_0x1b20x13]=_0x1b20x12)}};this[_0x5826[1759]][_0x5826[1735]]&&null!=_0x1b20x4&&this[_0x5826[1763]](_0x1b20x4);(this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1905]]||this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1883]]||this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1906]])&&this[_0x5826[1764]](_0x1b20x3);for(_0x1b20xa in _0x1b20x5){this[_0x5826[1907]](_0x1b20x5[_0x1b20xa])}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1763]]=function(_0x1b20x2){var _0x1b20x3=[],_0x1b20x4;for(_0x1b20x4 in _0x1b20x2){_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])};this[_0x5826[1759]][_0x5826[1727]](mxUtils[_0x5826[1779]](_0x1b20x3,!0),this[_0x5826[1745]])};mxCoordinateAssignment[_0x5826[202]][_0x5826[1764]]=function(_0x1b20x2){for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[1850]][_0x5826[67]];_0x1b20x3++){for(var _0x1b20x4=_0x1b20x2[_0x5826[1850]][_0x1b20x3],_0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=_0x1b20x4[_0x1b20x5];if(_0x1b20x9[_0x5826[1193]]()){for(var _0x1b20xa=_0x1b20x9[_0x5826[1832]](_0x1b20x3),_0x1b20x12=_0x1b20x3-1,_0x1b20x13=0;2>_0x1b20x13;_0x1b20x13++){if(-1<_0x1b20x12&&_0x1b20x12<_0x1b20x2[_0x5826[1850]][_0x5826[67]]&&null!=_0x1b20xa&&0<_0x1b20xa[_0x5826[67]]){for(var _0x1b20x14=[],_0x1b20x15=0;_0x1b20x15<_0x1b20xa[_0x5826[67]];_0x1b20x15++){var _0x1b20x16= new WeightedCellSorter(_0x1b20xa[_0x1b20x15],_0x1b20xa[_0x1b20x15][_0x5826[730]](_0x1b20x12));_0x1b20x14[_0x5826[207]](_0x1b20x16)};_0x1b20x14[_0x5826[470]](WeightedCellSorter[_0x5826[202]][_0x5826[469]]);for(var _0x1b20x16=_0x1b20x9[_0x5826[235]][0]-_0x1b20x9[_0x5826[117]]/2,_0x1b20x17=_0x1b20x16+_0x1b20x9[_0x5826[117]],_0x1b20x18=_0x1b20xa=0,_0x1b20x12=[],_0x1b20x15=0;_0x1b20x15<_0x1b20x14[_0x5826[67]];_0x1b20x15++){var _0x1b20x19=_0x1b20x14[_0x1b20x15][_0x5826[246]],_0x1b20x1a;if(_0x1b20x19[_0x5826[1193]]()){_0x1b20x1a=0==_0x1b20x13?_0x1b20x9[_0x5826[1838]]:_0x1b20x9[_0x5826[1837]];for(var _0x1b20x1b=0;_0x1b20x1b<_0x1b20x1a[_0x5826[67]];_0x1b20x1b++){if(_0x1b20x1a[_0x1b20x1b][_0x5826[1097]]==_0x1b20x19||_0x1b20x1a[_0x1b20x1b][_0x5826[772]]==_0x1b20x19){_0x1b20xa+=_0x1b20x1a[_0x1b20x1b][_0x5826[1842]][_0x5826[67]],_0x1b20x18++,_0x1b20x12[_0x5826[207]](_0x1b20x1a[_0x1b20x1b])}}}else {_0x1b20xa+=_0x1b20x19[_0x5826[1842]][_0x5826[67]],_0x1b20x18++,_0x1b20x12[_0x5826[207]](_0x1b20x19)}};_0x1b20x9[_0x5826[117]]>(_0x1b20xa+1)*this[_0x5826[1751]]+2*this[_0x5826[1751]]&&(_0x1b20x16+=this[_0x5826[1751]],_0x1b20x17-=this[_0x5826[1751]]);_0x1b20x14=(_0x1b20x17-_0x1b20x16)/_0x1b20xa;_0x1b20x16+=_0x1b20x14/2;_0x1b20x17=this[_0x5826[1753]]-this[_0x5826[1752]];for(_0x1b20x15=_0x1b20x18=0;_0x1b20x15<_0x1b20x12[_0x5826[67]];_0x1b20x15++){_0x1b20x19=_0x1b20x12[_0x1b20x15][_0x5826[1842]][_0x5826[67]];_0x1b20x1b=mxCellPath[_0x5826[385]](_0x1b20x12[_0x1b20x15][_0x5826[1842]][0]);_0x1b20x1a=this[_0x5826[1873]][_0x1b20x1b];null==_0x1b20x1a&&(_0x1b20x1a=[],this[_0x5826[1873]][_0x1b20x1b]=_0x1b20x1a);_0x1b20x15<_0x1b20xa/2?_0x1b20x17+=this[_0x5826[1752]]:_0x1b20x15>_0x1b20xa/2&&(_0x1b20x17-=this[_0x5826[1752]]);for(_0x1b20x1b=0;_0x1b20x1b<_0x1b20x19;_0x1b20x1b++){_0x1b20x1a[4*_0x1b20x1b+2*_0x1b20x13]=_0x1b20x16,_0x1b20x16+=_0x1b20x14,_0x1b20x1a[4*_0x1b20x1b+2*_0x1b20x13+1]=_0x1b20x17};_0x1b20x18=Math[_0x5826[160]](_0x1b20x18,_0x1b20x17)}};_0x1b20xa=_0x1b20x9[_0x5826[1831]](_0x1b20x3);_0x1b20x12=_0x1b20x3+1}}}}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1907]]=function(_0x1b20x2){var _0x1b20x3=0;if(101207!=_0x1b20x2[_0x5826[1826]][0]){var _0x1b20x4=_0x1b20x2[_0x5826[1827]],_0x1b20x5=_0x1b20x2[_0x5826[1828]];_0x1b20x4==_0x1b20x5&&(_0x1b20x4=_0x1b20x2[_0x5826[1097]][_0x5826[1827]],_0x1b20x5=_0x1b20x2[_0x5826[772]][_0x5826[1828]]);for(var _0x1b20x9=0,_0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2[_0x5826[1842]][0]),_0x1b20xa=this[_0x5826[1873]][_0x1b20xa],_0x1b20x12=_0x1b20x2[_0x5826[1843]]?_0x1b20x2[_0x5826[772]][_0x5826[246]]:_0x1b20x2[_0x5826[1097]][_0x5826[246]],_0x1b20x13=this[_0x5826[1759]][_0x5826[1179]],_0x1b20x14=0;_0x1b20x14<_0x1b20x2[_0x5826[1842]][_0x5826[67]];_0x1b20x14++){var _0x1b20x15=_0x1b20x2[_0x5826[1842]][_0x1b20x14],_0x1b20x16=this[_0x5826[1759]][_0x5826[1710]](_0x1b20x15,!0),_0x1b20x17=_0x1b20x13[_0x5826[251]][_0x5826[1709]](_0x1b20x15,!0),_0x1b20x18=[],_0x1b20x19=_0x1b20x2[_0x5826[1843]];_0x1b20x16!=_0x1b20x12&&(_0x1b20x19= !_0x1b20x19);if(null!=_0x1b20xa){var _0x1b20x1a=_0x1b20x19?2:0,_0x1b20x1b=_0x1b20x19?this[_0x5826[1877]][_0x1b20x5]:this[_0x5826[1878]][_0x1b20x4],_0x1b20x1c=_0x1b20xa[4*_0x1b20x9+1+_0x1b20x1a];_0x1b20x19&&(_0x1b20x1c= -_0x1b20x1c);_0x1b20x1b+=_0x1b20x1c;_0x1b20x1a=_0x1b20xa[4*_0x1b20x9+_0x1b20x1a];_0x1b20x17=_0x1b20x13[_0x5826[251]][_0x5826[1709]](_0x1b20x15,!0);this[_0x5826[1759]][_0x5826[1908]](_0x1b20x17)&&_0x1b20x13[_0x5826[251]][_0x5826[1197]](_0x1b20x17)==_0x1b20x16&&(_0x1b20x1a=_0x1b20x13[_0x5826[441]][_0x5826[248]](_0x1b20x17),_0x1b20x1a=null!=_0x1b20x1a?_0x1b20x1a[_0x5826[235]]:_0x1b20x16[_0x5826[256]][_0x5826[235]]+_0x1b20x2[_0x5826[1097]][_0x5826[117]]*_0x1b20x17[_0x5826[256]][_0x5826[235]]);this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?(_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1a,_0x1b20x1b)),this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1906]]&&_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1a,_0x1b20x1b+_0x1b20x1c))):(_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1b,_0x1b20x1a)),this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1906]]&&_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1b+_0x1b20x1c,_0x1b20x1a)))};_0x1b20x1a=_0x1b20x2[_0x5826[235]][_0x5826[67]]-1;_0x1b20x1b=_0x1b20x1c= -1;_0x1b20x16=_0x1b20x2[_0x5826[1827]]-1;_0x1b20x19&&(_0x1b20x1a=0,_0x1b20x1c=_0x1b20x2[_0x5826[235]][_0x5826[67]],_0x1b20x1b=1,_0x1b20x16=_0x1b20x2[_0x5826[1828]]+1);for(;_0x1b20x2[_0x5826[1827]]!=_0x1b20x2[_0x5826[1828]]&&_0x1b20x1a!=_0x1b20x1c;_0x1b20x1a+=_0x1b20x1b){var _0x1b20x17=_0x1b20x2[_0x5826[235]][_0x1b20x1a]+_0x1b20x3,_0x1b20x1d=(this[_0x5826[1877]][_0x1b20x16]+this[_0x5826[1878]][_0x1b20x16+1])/2,_0x1b20x1e=(this[_0x5826[1877]][_0x1b20x16-1]+this[_0x5826[1878]][_0x1b20x16])/2;if(_0x1b20x19){var _0x1b20x1f=_0x1b20x1d,_0x1b20x1d=_0x1b20x1e,_0x1b20x1e=_0x1b20x1f};this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?(_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x17,_0x1b20x1d)),_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x17,_0x1b20x1e))):(_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1d,_0x1b20x17)),_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1e,_0x1b20x17)));this[_0x5826[1874]]=Math[_0x5826[160]](this[_0x5826[1874]],_0x1b20x17);_0x1b20x16+=_0x1b20x1b};null!=_0x1b20xa&&(_0x1b20x1a=_0x1b20x19?2:0,_0x1b20x1b=_0x1b20x19?this[_0x5826[1878]][_0x1b20x4]:this[_0x5826[1877]][_0x1b20x5],_0x1b20x1c=_0x1b20xa[4*_0x1b20x9+3-_0x1b20x1a],_0x1b20x19&&(_0x1b20x1c= -_0x1b20x1c),_0x1b20x1b-=_0x1b20x1c,_0x1b20x1a=_0x1b20xa[4*_0x1b20x9+2-_0x1b20x1a],_0x1b20x19=_0x1b20x13[_0x5826[251]][_0x5826[1709]](_0x1b20x15,!1),_0x1b20x16=this[_0x5826[1759]][_0x5826[1710]](_0x1b20x15,!1),this[_0x5826[1759]][_0x5826[1908]](_0x1b20x19)&&_0x1b20x13[_0x5826[251]][_0x5826[1197]](_0x1b20x19)==_0x1b20x16&&(_0x1b20x1a=_0x1b20x13[_0x5826[441]][_0x5826[248]](_0x1b20x19),_0x1b20x1a=null!=_0x1b20x1a?_0x1b20x1a[_0x5826[235]]:_0x1b20x16[_0x5826[256]][_0x5826[235]]+_0x1b20x2[_0x5826[772]][_0x5826[117]]*_0x1b20x19[_0x5826[256]][_0x5826[235]]),this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?(this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1906]]&&_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1a,_0x1b20x1b-_0x1b20x1c)),_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1a,_0x1b20x1b))):(this[_0x5826[675]]==mxHierarchicalEdgeStyle[_0x5826[1906]]&&_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1b-_0x1b20x1c,_0x1b20x1a)),_0x1b20x18[_0x5826[207]]( new mxPoint(_0x1b20x1b,_0x1b20x1a))));_0x1b20x2[_0x5826[1843]]&&this[_0x5826[1909]](_0x1b20x2,_0x1b20x15);this[_0x5826[1759]][_0x5826[1722]](_0x1b20x15,_0x1b20x18);_0x1b20x3=0==_0x1b20x3?this[_0x5826[1872]]:0<_0x1b20x3?-_0x1b20x3:-_0x1b20x3+this[_0x5826[1872]];_0x1b20x9++};_0x1b20x2[_0x5826[1826]][0]=101207}};mxCoordinateAssignment[_0x5826[202]][_0x5826[1725]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[246]],_0x1b20x4=_0x1b20x2[_0x5826[235]][0]-_0x1b20x2[_0x5826[117]]/2,_0x1b20x5=_0x1b20x2[_0x5826[236]][0]-_0x1b20x2[_0x5826[119]]/2;this[_0x5826[1877]][_0x1b20x2[_0x5826[1828]]]=Math[_0x5826[243]](this[_0x5826[1877]][_0x1b20x2[_0x5826[1828]]],_0x1b20x5);this[_0x5826[1878]][_0x1b20x2[_0x5826[1828]]]=Math[_0x5826[160]](this[_0x5826[1878]][_0x1b20x2[_0x5826[1828]]],_0x1b20x5+_0x1b20x2[_0x5826[119]]);this[_0x5826[1870]]==mxConstants[_0x5826[1358]]||this[_0x5826[1870]]==mxConstants[_0x5826[1354]]?this[_0x5826[1759]][_0x5826[1725]](_0x1b20x3,_0x1b20x4,_0x1b20x5):this[_0x5826[1759]][_0x5826[1725]](_0x1b20x3,_0x1b20x5,_0x1b20x4);this[_0x5826[1874]]=Math[_0x5826[160]](this[_0x5826[1874]],_0x1b20x4+_0x1b20x2[_0x5826[117]])};mxCoordinateAssignment[_0x5826[202]][_0x5826[1909]]=function(_0x1b20x2,_0x1b20x3){};function WeightedCellSorter(_0x1b20x2,_0x1b20x3){this[_0x5826[246]]=_0x1b20x2;this[_0x5826[1782]]=_0x1b20x3}WeightedCellSorter[_0x5826[202]][_0x5826[1782]]=0;WeightedCellSorter[_0x5826[202]][_0x5826[1783]]= !1;WeightedCellSorter[_0x5826[202]][_0x5826[1784]]= !1;WeightedCellSorter[_0x5826[202]][_0x5826[1785]]=null;WeightedCellSorter[_0x5826[202]][_0x5826[246]]=null;WeightedCellSorter[_0x5826[202]][_0x5826[469]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2&&null!=_0x1b20x3?_0x1b20x3[_0x5826[1782]]>_0x1b20x2[_0x5826[1782]]?-1:_0x1b20x3[_0x5826[1782]]<_0x1b20x2[_0x5826[1782]]?1:_0x1b20x3[_0x5826[1783]]?-1:1:0};function mxHierarchicalLayout(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxGraphLayout[_0x5826[239]](this,_0x1b20x2);this[_0x5826[1870]]=null!=_0x1b20x3?_0x1b20x3:mxConstants[_0x5826[1358]];this[_0x5826[1910]]=null!=_0x1b20x4?_0x1b20x4:!0}mxHierarchicalLayout[_0x5826[202]]= new mxGraphLayout;mxHierarchicalLayout[_0x5826[202]][_0x5826[196]]=mxHierarchicalLayout;mxHierarchicalLayout[_0x5826[202]][_0x5826[1845]]=null;mxHierarchicalLayout[_0x5826[202]][_0x5826[1735]]= !1;mxHierarchicalLayout[_0x5826[202]][_0x5826[1911]]= !1;mxHierarchicalLayout[_0x5826[202]][_0x5826[1912]]=0;mxHierarchicalLayout[_0x5826[202]][_0x5826[1868]]=30;mxHierarchicalLayout[_0x5826[202]][_0x5826[1869]]=100;mxHierarchicalLayout[_0x5826[202]][_0x5826[1913]]=60;mxHierarchicalLayout[_0x5826[202]][_0x5826[1872]]=10;mxHierarchicalLayout[_0x5826[202]][_0x5826[1870]]=mxConstants[_0x5826[1358]];mxHierarchicalLayout[_0x5826[202]][_0x5826[1882]]= !0;mxHierarchicalLayout[_0x5826[202]][_0x5826[1844]]= !0;mxHierarchicalLayout[_0x5826[202]][_0x5826[1787]]= !0;mxHierarchicalLayout[_0x5826[202]][_0x5826[1914]]= !0;mxHierarchicalLayout[_0x5826[202]][_0x5826[251]]=null;mxHierarchicalLayout[_0x5826[202]][_0x5826[1915]]=null;mxHierarchicalLayout[_0x5826[202]][_0x5826[502]]=function(){return this[_0x5826[251]]};mxHierarchicalLayout[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1101]]=_0x1b20x2;var _0x1b20x4=this[_0x5826[1179]][_0x5826[251]];this[_0x5826[1915]]={};if(!(null==_0x1b20x3&&null==_0x1b20x2)){if(null!=_0x1b20x3&&null!=_0x1b20x2){for(var _0x1b20x5=[],_0x1b20x9=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){_0x1b20x4[_0x5826[1720]](_0x1b20x2,_0x1b20x3[_0x1b20x9])&&_0x1b20x5[_0x5826[207]](_0x1b20x3[_0x1b20x9])};this[_0x5826[1845]]=_0x1b20x5}else {this[_0x5826[1845]]=_0x1b20x3};_0x1b20x4[_0x5826[473]]();try{this[_0x5826[1916]](_0x1b20x2),this[_0x5826[1735]]&&!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x2)&&this[_0x5826[1179]][_0x5826[1917]]([_0x1b20x2],this[_0x5826[1912]],this[_0x5826[1911]])}finally{_0x1b20x4[_0x5826[476]]()}}};mxHierarchicalLayout[_0x5826[202]][_0x5826[1918]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=[];if(null!=_0x1b20x2&&null!=_0x1b20x3){var _0x1b20x5=this[_0x5826[1179]][_0x5826[251]],_0x1b20x9=null,_0x1b20xa=-1E5,_0x1b20x12;for(_0x1b20x12 in _0x1b20x3){var _0x1b20x13=_0x1b20x3[_0x1b20x12];if(_0x1b20x5[_0x5826[1193]](_0x1b20x13)&&this[_0x5826[1179]][_0x5826[1714]](_0x1b20x13)){for(var _0x1b20x14=this[_0x5826[264]](_0x1b20x13),_0x1b20x15=0,_0x1b20x16=0,_0x1b20x17=0;_0x1b20x17<_0x1b20x14[_0x5826[67]];_0x1b20x17++){this[_0x5826[1710]](_0x1b20x14[_0x1b20x17],!0)==_0x1b20x13?_0x1b20x15++:_0x1b20x16++};0==_0x1b20x16&&0<_0x1b20x15&&_0x1b20x4[_0x5826[207]](_0x1b20x13);_0x1b20x14=_0x1b20x15-_0x1b20x16;_0x1b20x14>_0x1b20xa&&(_0x1b20xa=_0x1b20x14,_0x1b20x9=_0x1b20x13)}};0==_0x1b20x4[_0x5826[67]]&&null!=_0x1b20x9&&_0x1b20x4[_0x5826[207]](_0x1b20x9)};return _0x1b20x4};mxHierarchicalLayout[_0x5826[202]][_0x5826[264]]=function(_0x1b20x2){var _0x1b20x3=mxCellPath[_0x5826[385]](_0x1b20x2);if(null!=this[_0x5826[1915]][_0x1b20x3]){return this[_0x5826[1915]][_0x1b20x3]};for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[251]],_0x1b20x5=[],_0x1b20x9=this[_0x5826[1179]][_0x5826[1742]](_0x1b20x2),_0x1b20xa=_0x1b20x4[_0x5826[262]](_0x1b20x2),_0x1b20x12=0;_0x1b20x12<_0x1b20xa;_0x1b20x12++){var _0x1b20x13=_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x12);if(this[_0x5826[1908]](_0x1b20x13)){_0x1b20x5=_0x1b20x5[_0x5826[1919]](_0x1b20x4[_0x5826[264]](_0x1b20x13,!0,!0))}else {if(_0x1b20x9||!this[_0x5826[1179]][_0x5826[1714]](_0x1b20x13)){_0x1b20x5=_0x1b20x5[_0x5826[1919]](_0x1b20x4[_0x5826[264]](_0x1b20x13,!0,!0))}}};_0x1b20x5=_0x1b20x5[_0x5826[1919]](_0x1b20x4[_0x5826[264]](_0x1b20x2,!0,!0));_0x1b20x4=[];for(_0x1b20x12=0;_0x1b20x12<_0x1b20x5[_0x5826[67]];_0x1b20x12++){_0x1b20x9=this[_0x5826[1710]](_0x1b20x5[_0x1b20x12],!0),_0x1b20xa=this[_0x5826[1710]](_0x1b20x5[_0x1b20x12],!1),(_0x1b20x9==_0x1b20xa||_0x1b20x9!=_0x1b20xa&&(_0x1b20xa==_0x1b20x2&&(null==this[_0x5826[1101]]||this[_0x5826[1179]][_0x5826[1920]](_0x1b20x9,this[_0x5826[1101]],this[_0x5826[1914]]))||_0x1b20x9==_0x1b20x2&&(null==this[_0x5826[1101]]||this[_0x5826[1179]][_0x5826[1920]](_0x1b20xa,this[_0x5826[1101]],this[_0x5826[1914]]))))&&_0x1b20x4[_0x5826[207]](_0x1b20x5[_0x1b20x12])};return this[_0x5826[1915]][_0x1b20x3]=_0x1b20x4};mxHierarchicalLayout[_0x5826[202]][_0x5826[1710]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x4=null!=_0x1b20x4?_0x1b20x4[_0x5826[1710]](_0x1b20x3):this[_0x5826[1179]][_0x5826[441]][_0x5826[1710]](_0x1b20x2,_0x1b20x3);this[_0x5826[1908]](_0x1b20x4)&&(_0x1b20x4=this[_0x5826[1179]][_0x5826[251]][_0x5826[1197]](_0x1b20x4));return _0x1b20x4};mxHierarchicalLayout[_0x5826[202]][_0x5826[1916]]=function(_0x1b20x2){var _0x1b20x3=[],_0x1b20x4=[];if(null==this[_0x5826[1845]]&&null!=_0x1b20x2){var _0x1b20x5={};this[_0x5826[1921]](_0x1b20x2,_0x1b20x5);this[_0x5826[1845]]=[];var _0x1b20x9=!0,_0x1b20xa;for(_0x1b20xa in _0x1b20x5){if(null!=_0x1b20x5[_0x1b20xa]){_0x1b20x9= !1;break}};for(;!_0x1b20x9;){for(var _0x1b20x12=this[_0x5826[1918]](_0x1b20x2,_0x1b20x5),_0x1b20x9=0;_0x1b20x9<_0x1b20x12[_0x5826[67]];_0x1b20x9++){var _0x1b20x13=[];_0x1b20x3[_0x5826[207]](_0x1b20x13);this[_0x5826[1706]](_0x1b20x12[_0x1b20x9],!0,null,_0x1b20x4,_0x1b20x13,_0x1b20x3,_0x1b20x5)};for(_0x1b20x9=0;_0x1b20x9<_0x1b20x12[_0x5826[67]];_0x1b20x9++){this[_0x5826[1845]][_0x5826[207]](_0x1b20x12[_0x1b20x9])};_0x1b20x9= !0;for(_0x1b20xa in _0x1b20x5){if(null!=_0x1b20x5[_0x1b20xa]){_0x1b20x9= !1;break}}}}else {for(_0x1b20x9=0;_0x1b20x9<roots[_0x5826[67]];_0x1b20x9++){_0x1b20x13=[],_0x1b20x3[_0x5826[207]](_0x1b20x13),traverse(roots[_0x5826[203]](_0x1b20x9),!0,null,_0x1b20x4,_0x1b20x13,_0x1b20x3,null)}};for(_0x1b20x9=_0x1b20x4=0;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){_0x1b20x13=_0x1b20x3[_0x1b20x9];_0x1b20x5=[];for(_0x1b20xa in _0x1b20x13){_0x1b20x5[_0x5826[207]](_0x1b20x13[_0x1b20xa])};this[_0x5826[251]]= new mxGraphHierarchyModel(this,_0x1b20x5,this[_0x5826[1845]],_0x1b20x2,this[_0x5826[1844]]);this[_0x5826[1922]](_0x1b20x2);this[_0x5826[1923]]();this[_0x5826[1924]](_0x1b20x2);_0x1b20x4=this[_0x5826[1925]](_0x1b20x4,_0x1b20x2)}};mxHierarchicalLayout[_0x5826[202]][_0x5826[1921]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[251]];_0x1b20x4[_0x5826[1193]](_0x1b20x2)&&(_0x1b20x2!=this[_0x5826[1101]]&&this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2))&&(_0x1b20x3[mxCellPath[_0x5826[385]](_0x1b20x2)]=_0x1b20x2);if(this[_0x5826[1914]]||_0x1b20x2==this[_0x5826[1101]]&&this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2)){for(var _0x1b20x5=_0x1b20x4[_0x5826[262]](_0x1b20x2),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x9);this[_0x5826[1908]](_0x1b20xa)||this[_0x5826[1921]](_0x1b20xa,_0x1b20x3)}}};mxHierarchicalLayout[_0x5826[202]][_0x5826[1908]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[256]][_0x5826[1500]]?!0:!1};mxHierarchicalLayout[_0x5826[202]][_0x5826[1781]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;for(var _0x1b20x5=this[_0x5826[264]](_0x1b20x2),_0x1b20x9=[],_0x1b20xa=0;_0x1b20xa<_0x1b20x5[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=this[_0x5826[1710]](_0x1b20x5[_0x1b20xa],!0),_0x1b20x13=this[_0x5826[1710]](_0x1b20x5[_0x1b20xa],!1);(_0x1b20x12==_0x1b20x2&&_0x1b20x13==_0x1b20x3||!_0x1b20x4&&_0x1b20x12==_0x1b20x3&&_0x1b20x13==_0x1b20x2)&&_0x1b20x9[_0x5826[207]](_0x1b20x5[_0x1b20xa])};return _0x1b20x9};mxHierarchicalLayout[_0x5826[202]][_0x5826[1706]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){if(null!=_0x1b20x2&&null!=_0x1b20x5){var _0x1b20x13=mxCellPath[_0x5826[385]](_0x1b20x2);if(null==_0x1b20x5[_0x1b20x13]&&(null==_0x1b20x12||null!=_0x1b20x12[_0x1b20x13])){null==_0x1b20x9[_0x1b20x13]&&(_0x1b20x9[_0x1b20x13]=_0x1b20x2);null==_0x1b20x5[_0x1b20x13]&&(_0x1b20x5[_0x1b20x13]=_0x1b20x2);delete _0x1b20x12[_0x1b20x13];var _0x1b20x14=this[_0x5826[264]](_0x1b20x2);for(_0x1b20x4=0;_0x1b20x4<_0x1b20x14[_0x5826[67]];_0x1b20x4++){if(_0x1b20x13=this[_0x5826[1710]](_0x1b20x14[_0x1b20x4],!0)==_0x1b20x2,!_0x1b20x3||_0x1b20x13){_0x1b20x13=this[_0x5826[1710]](_0x1b20x14[_0x1b20x4],!_0x1b20x13),_0x1b20x9=this[_0x5826[1706]](_0x1b20x13,_0x1b20x3,_0x1b20x14[_0x1b20x4],_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12)}}}else {if(null==_0x1b20x9[_0x1b20x13]){for(_0x1b20x4=0;_0x1b20x4<_0x1b20xa[_0x5826[67]];_0x1b20x4++){if(_0x1b20x2=_0x1b20xa[_0x1b20x4],null!=_0x1b20x2[_0x1b20x13]){for(_0x1b20x14 in _0x1b20x9){_0x1b20x2[_0x1b20x14]=_0x1b20x9[_0x1b20x14]};_0x1b20xa[_0x5826[1242]]();return _0x1b20x2}}}}};return _0x1b20x9};mxHierarchicalLayout[_0x5826[202]][_0x5826[1922]]=function(_0x1b20x2){( new mxMinimumCycleRemover(this))[_0x5826[350]](_0x1b20x2)};mxHierarchicalLayout[_0x5826[202]][_0x5826[1923]]=function(){this[_0x5826[251]][_0x5826[1852]]();this[_0x5826[251]][_0x5826[1854]]()};mxHierarchicalLayout[_0x5826[202]][_0x5826[1924]]=function(_0x1b20x2){( new mxMedianHybridCrossingReduction(this))[_0x5826[350]](_0x1b20x2)};mxHierarchicalLayout[_0x5826[202]][_0x5826[1925]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4= new mxCoordinateAssignment(this,this[_0x5826[1868]],this[_0x5826[1869]],this[_0x5826[1870]],_0x1b20x2,this[_0x5826[1872]]);_0x1b20x4[_0x5826[1882]]=this[_0x5826[1882]];_0x1b20x4[_0x5826[350]](_0x1b20x3);return _0x1b20x4[_0x5826[1874]]+this[_0x5826[1913]]};function mxGraphModel(_0x1b20x2){this[_0x5826[1926]]=this[_0x5826[1096]]();null!=_0x1b20x2?this[_0x5826[1927]](_0x1b20x2):this[_0x5826[200]]()}mxGraphModel[_0x5826[202]]= new mxEventSource;mxGraphModel[_0x5826[202]][_0x5826[196]]=mxGraphModel;mxGraphModel[_0x5826[202]][_0x5826[813]]=null;mxGraphModel[_0x5826[202]][_0x5826[895]]=null;mxGraphModel[_0x5826[202]][_0x5826[1928]]= !0;mxGraphModel[_0x5826[202]][_0x5826[1929]]= !0;mxGraphModel[_0x5826[202]][_0x5826[1089]]=_0x5826[110];mxGraphModel[_0x5826[202]][_0x5826[1930]]=_0x5826[110];mxGraphModel[_0x5826[202]][_0x5826[1931]]=0;mxGraphModel[_0x5826[202]][_0x5826[1926]]=null;mxGraphModel[_0x5826[202]][_0x5826[1932]]=0;mxGraphModel[_0x5826[202]][_0x5826[1933]]= !1;mxGraphModel[_0x5826[202]][_0x5826[200]]=function(){this[_0x5826[1927]](this[_0x5826[1934]]())};mxGraphModel[_0x5826[202]][_0x5826[1935]]=function(){return this[_0x5826[1929]]};mxGraphModel[_0x5826[202]][_0x5826[1936]]=function(_0x1b20x2){this[_0x5826[1929]]=_0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[1934]]=function(){var _0x1b20x2= new mxCell;_0x1b20x2[_0x5826[1937]]( new mxCell);return _0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[736]]=function(_0x1b20x2){return null!=this[_0x5826[895]]?this[_0x5826[895]][_0x1b20x2]:null};mxGraphModel[_0x5826[202]][_0x5826[1938]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(null!=_0x1b20x2){for(var _0x1b20x4=[],_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){_0x1b20x3(_0x1b20x2[_0x1b20x5])&&_0x1b20x4[_0x5826[207]](_0x1b20x2[_0x1b20x5])}};return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[1939]]=function(_0x1b20x2){return this[_0x5826[1921]](null,_0x1b20x2)};mxGraphModel[_0x5826[202]][_0x5826[1921]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=[];_0x1b20x3=_0x1b20x3||this[_0x5826[501]]();(null==_0x1b20x2||_0x1b20x2(_0x1b20x3))&&_0x1b20x4[_0x5826[207]](_0x1b20x3);for(var _0x1b20x5=this[_0x5826[262]](_0x1b20x3),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=this[_0x5826[263]](_0x1b20x3,_0x1b20x9),_0x1b20x4=_0x1b20x4[_0x5826[1919]](this[_0x5826[1921]](_0x1b20x2,_0x1b20xa))};return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[501]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2||this[_0x5826[813]];if(null!=_0x1b20x2){for(;null!=_0x1b20x2;){_0x1b20x3=_0x1b20x2,_0x1b20x2=this[_0x5826[1197]](_0x1b20x2)}};return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1927]]=function(_0x1b20x2){this[_0x5826[350]]( new mxRootChange(this,_0x1b20x2));return _0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[1940]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[813]];this[_0x5826[813]]=_0x1b20x2;this[_0x5826[1931]]=0;this[_0x5826[895]]=null;this[_0x5826[1941]](_0x1b20x2);return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1942]]=function(_0x1b20x2){return null!=_0x1b20x2&&this[_0x5826[813]]==_0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[1740]]=function(_0x1b20x2){return this[_0x5826[1942]](this[_0x5826[1197]](_0x1b20x2))};mxGraphModel[_0x5826[202]][_0x5826[1720]]=function(_0x1b20x2,_0x1b20x3){for(;null!=_0x1b20x3&&_0x1b20x3!=_0x1b20x2;){_0x1b20x3=this[_0x5826[1197]](_0x1b20x3)};return _0x1b20x3==_0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[442]]=function(_0x1b20x2){return this[_0x5826[1720]](this[_0x5826[813]],_0x1b20x2)};mxGraphModel[_0x5826[202]][_0x5826[1197]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1197]]():null};mxGraphModel[_0x5826[202]][_0x5826[99]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(_0x1b20x3!=_0x1b20x2&&null!=_0x1b20x2&&null!=_0x1b20x3){null==_0x1b20x4&&(_0x1b20x4=this[_0x5826[262]](_0x1b20x2));var _0x1b20x5=_0x1b20x2!=this[_0x5826[1197]](_0x1b20x3);this[_0x5826[350]]( new mxChildChange(this,_0x1b20x2,_0x1b20x3,_0x1b20x4));this[_0x5826[1928]]&&_0x1b20x5&&this[_0x5826[1943]](_0x1b20x3)};return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1941]]=function(_0x1b20x2){if(null!=_0x1b20x2){null==_0x1b20x2[_0x5826[1103]]()&&this[_0x5826[1929]]&&_0x1b20x2[_0x5826[1945]](this[_0x5826[1944]](_0x1b20x2));if(null!=_0x1b20x2[_0x5826[1103]]()){var _0x1b20x3=this[_0x5826[736]](_0x1b20x2[_0x5826[1103]]());if(_0x1b20x3!=_0x1b20x2){for(;null!=_0x1b20x3;){_0x1b20x2[_0x5826[1945]](this[_0x5826[1944]](_0x1b20x2)),_0x1b20x3=this[_0x5826[736]](_0x1b20x2[_0x5826[1103]]())};null==this[_0x5826[895]]&&(this[_0x5826[895]]={});this[_0x5826[895]][_0x1b20x2[_0x5826[1103]]()]=_0x1b20x2}};mxUtils[_0x5826[1946]](_0x1b20x2[_0x5826[1103]]())&&(this[_0x5826[1931]]=Math[_0x5826[160]](this[_0x5826[1931]],_0x1b20x2[_0x5826[1103]]()));for(var _0x1b20x3=this[_0x5826[262]](_0x1b20x2),_0x1b20x4=0;_0x1b20x4<_0x1b20x3;_0x1b20x4++){this[_0x5826[1941]](this[_0x5826[263]](_0x1b20x2,_0x1b20x4))}}};mxGraphModel[_0x5826[202]][_0x5826[1944]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1931]];this[_0x5826[1931]]++;return this[_0x5826[1089]]+_0x1b20x2+this[_0x5826[1930]]};mxGraphModel[_0x5826[202]][_0x5826[1943]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3||this[_0x5826[501]](_0x1b20x2);for(var _0x1b20x4=this[_0x5826[262]](_0x1b20x2),_0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){var _0x1b20x9=this[_0x5826[263]](_0x1b20x2,_0x1b20x5);this[_0x5826[1943]](_0x1b20x9,_0x1b20x3)};_0x1b20x9=this[_0x5826[1707]](_0x1b20x2);_0x1b20x4=[];for(_0x1b20x5=0;_0x1b20x5<_0x1b20x9;_0x1b20x5++){_0x1b20x4[_0x5826[207]](this[_0x5826[1708]](_0x1b20x2,_0x1b20x5))};for(_0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){_0x1b20x9=_0x1b20x4[_0x1b20x5],this[_0x5826[1720]](_0x1b20x3,_0x1b20x9)&&this[_0x5826[1947]](_0x1b20x9,_0x1b20x3)}};mxGraphModel[_0x5826[202]][_0x5826[1947]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=this[_0x5826[1709]](_0x1b20x2,!0),_0x1b20x5=this[_0x5826[1709]](_0x1b20x2,!1),_0x1b20x9=null;null!=_0x1b20x4&&!this[_0x5826[250]](_0x1b20x4)&&null!=_0x1b20x4[_0x5826[256]]&&_0x1b20x4[_0x5826[256]][_0x5826[1500]];){_0x1b20x4=this[_0x5826[1197]](_0x1b20x4)};for(;null!=_0x1b20x5&&!this[_0x5826[250]](_0x1b20x5)&&null!=_0x1b20x5[_0x5826[256]]&&_0x1b20x5[_0x5826[256]][_0x5826[1500]];){_0x1b20x5=this[_0x5826[1197]](_0x1b20x5)};if(this[_0x5826[1720]](_0x1b20x3,_0x1b20x4)&&this[_0x5826[1720]](_0x1b20x3,_0x1b20x5)&&(_0x1b20x9=_0x1b20x4==_0x1b20x5?this[_0x5826[1197]](_0x1b20x4):this[_0x5826[1948]](_0x1b20x4,_0x1b20x5),null!=_0x1b20x9&&(this[_0x5826[1197]](_0x1b20x9)!=this[_0x5826[813]]||this[_0x5826[1720]](_0x1b20x9,_0x1b20x2))&&this[_0x5826[1197]](_0x1b20x2)!=_0x1b20x9)){_0x1b20x4=this[_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x4){var _0x1b20xa=this[_0x5826[1949]](this[_0x5826[1197]](_0x1b20x2)),_0x1b20x12=this[_0x5826[1949]](_0x1b20x9),_0x1b20x5=_0x1b20x12[_0x5826[235]]-_0x1b20xa[_0x5826[235]],_0x1b20xa=_0x1b20x12[_0x5826[236]]-_0x1b20xa[_0x5826[236]],_0x1b20x4=_0x1b20x4[_0x5826[238]]();_0x1b20x4[_0x5826[513]](-_0x1b20x5,-_0x1b20xa);this[_0x5826[1724]](_0x1b20x2,_0x1b20x4)};this[_0x5826[99]](_0x1b20x9,_0x1b20x2,this[_0x5826[262]](_0x1b20x9))}};mxGraphModel[_0x5826[202]][_0x5826[1949]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2?(_0x1b20x3=this[_0x5826[1949]](this[_0x5826[1197]](_0x1b20x2)),this[_0x5826[250]](_0x1b20x2)||(_0x1b20x2=this[_0x5826[1721]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x3[_0x5826[235]]+=_0x1b20x2[_0x5826[235]],_0x1b20x3[_0x5826[236]]+=_0x1b20x2[_0x5826[236]]))):_0x1b20x3= new mxPoint;return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1948]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x3){var _0x1b20x4=mxCellPath[_0x5826[385]](_0x1b20x3);if(null!=_0x1b20x4&&0<_0x1b20x4[_0x5826[67]]){var _0x1b20x5=_0x1b20x2,_0x1b20x9=mxCellPath[_0x5826[385]](_0x1b20x5);if(_0x1b20x4[_0x5826[67]]<_0x1b20x9[_0x5826[67]]){var _0x1b20x5=_0x1b20x3,_0x1b20xa=_0x1b20x9,_0x1b20x9=_0x1b20x4,_0x1b20x4=_0x1b20xa};for(;null!=_0x1b20x5;){_0x1b20xa=this[_0x5826[1197]](_0x1b20x5);if(0==_0x1b20x4[_0x5826[2]](_0x1b20x9+mxCellPath[_0x5826[1950]])&&null!=_0x1b20xa){return _0x1b20x5};_0x1b20x9=mxCellPath[_0x5826[1951]](_0x1b20x9);_0x1b20x5=_0x1b20xa}}};return null};mxGraphModel[_0x5826[202]][_0x5826[205]]=function(_0x1b20x2){_0x1b20x2==this[_0x5826[813]]?this[_0x5826[1927]](null):null!=this[_0x5826[1197]](_0x1b20x2)&&this[_0x5826[350]]( new mxChildChange(this,null,_0x1b20x2));return _0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[1102]]=function(_0x1b20x2){if(null!=_0x1b20x2&&null!=this[_0x5826[895]]){for(var _0x1b20x3=this[_0x5826[262]](_0x1b20x2)-1;0<=_0x1b20x3;_0x1b20x3--){this[_0x5826[1102]](this[_0x5826[263]](_0x1b20x2,_0x1b20x3))};null!=this[_0x5826[895]]&&null!=_0x1b20x2[_0x5826[1103]]()&& delete this[_0x5826[895]][_0x1b20x2[_0x5826[1103]]()]}};mxGraphModel[_0x5826[202]][_0x5826[1952]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1197]](_0x1b20x2);null!=_0x1b20x3?(_0x1b20x3!=_0x1b20x5||_0x1b20x5[_0x5826[1738]](_0x1b20x2)!=_0x1b20x4)&&_0x1b20x3[_0x5826[1937]](_0x1b20x2,_0x1b20x4):null!=_0x1b20x5&&(_0x1b20x4=_0x1b20x5[_0x5826[1738]](_0x1b20x2),_0x1b20x5[_0x5826[205]](_0x1b20x4));!this[_0x5826[442]](_0x1b20x5)&&null!=_0x1b20x3?this[_0x5826[1941]](_0x1b20x2):null==_0x1b20x3&&this[_0x5826[1102]](_0x1b20x2);return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[262]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[262]]():0};mxGraphModel[_0x5826[202]][_0x5826[263]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2?_0x1b20x2[_0x5826[263]](_0x1b20x3):null};mxGraphModel[_0x5826[202]][_0x5826[1953]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1954]]:null};mxGraphModel[_0x5826[202]][_0x5826[1728]]=function(_0x1b20x2){return this[_0x5826[1955]](_0x1b20x2,!0,!1)};mxGraphModel[_0x5826[202]][_0x5826[1956]]=function(_0x1b20x2){return this[_0x5826[1955]](_0x1b20x2,!1,!0)};mxGraphModel[_0x5826[202]][_0x5826[1955]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;for(var _0x1b20x5=this[_0x5826[262]](_0x1b20x2),_0x1b20x9=[],_0x1b20xa=0;_0x1b20xa<_0x1b20x5;_0x1b20xa++){var _0x1b20x12=this[_0x5826[263]](_0x1b20x2,_0x1b20xa);(!_0x1b20x4&&!_0x1b20x3||_0x1b20x4&&this[_0x5826[250]](_0x1b20x12)||_0x1b20x3&&this[_0x5826[1193]](_0x1b20x12))&&_0x1b20x9[_0x5826[207]](_0x1b20x12)};return _0x1b20x9};mxGraphModel[_0x5826[202]][_0x5826[1709]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1709]](_0x1b20x3):null};mxGraphModel[_0x5826[202]][_0x5826[1957]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x3!=this[_0x5826[1709]](_0x1b20x2,_0x1b20x4);this[_0x5826[350]]( new mxTerminalChange(this,_0x1b20x2,_0x1b20x3,_0x1b20x4));this[_0x5826[1928]]&&_0x1b20x5&&this[_0x5826[1947]](_0x1b20x2,this[_0x5826[501]]());return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1958]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[473]]();try{this[_0x5826[1957]](_0x1b20x2,_0x1b20x3,!0),this[_0x5826[1957]](_0x1b20x2,_0x1b20x4,!1)}finally{this[_0x5826[476]]()}};mxGraphModel[_0x5826[202]][_0x5826[1959]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1709]](_0x1b20x2,_0x1b20x4);null!=_0x1b20x3?_0x1b20x3[_0x5826[1960]](_0x1b20x2,_0x1b20x4):null!=_0x1b20x5&&_0x1b20x5[_0x5826[1961]](_0x1b20x2,_0x1b20x4);return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[1707]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1707]]():0};mxGraphModel[_0x5826[202]][_0x5826[1708]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1708]](_0x1b20x3):null};mxGraphModel[_0x5826[202]][_0x5826[1962]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){for(var _0x1b20x5=0,_0x1b20x9=this[_0x5826[1707]](_0x1b20x2),_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){var _0x1b20x12=this[_0x5826[1708]](_0x1b20x2,_0x1b20xa);_0x1b20x12!=_0x1b20x4&&this[_0x5826[1709]](_0x1b20x12,_0x1b20x3)==_0x1b20x2&&_0x1b20x5++};return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[1756]]=function(_0x1b20x2){return this[_0x5826[264]](_0x1b20x2,!0,!0,!1)};mxGraphModel[_0x5826[202]][_0x5826[1867]]=function(_0x1b20x2){return this[_0x5826[264]](_0x1b20x2,!0,!1,!1)};mxGraphModel[_0x5826[202]][_0x5826[1963]]=function(_0x1b20x2){return this[_0x5826[264]](_0x1b20x2,!1,!0,!1)};mxGraphModel[_0x5826[202]][_0x5826[264]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;for(var _0x1b20x9=this[_0x5826[1707]](_0x1b20x2),_0x1b20xa=[],_0x1b20x12=0;_0x1b20x12<_0x1b20x9;_0x1b20x12++){var _0x1b20x13=this[_0x5826[1708]](_0x1b20x2,_0x1b20x12),_0x1b20x14=this[_0x5826[1709]](_0x1b20x13,!0),_0x1b20x15=this[_0x5826[1709]](_0x1b20x13,!1);(_0x1b20x5&&_0x1b20x14==_0x1b20x15||_0x1b20x14!=_0x1b20x15&&(_0x1b20x3&&_0x1b20x15==_0x1b20x2||_0x1b20x4&&_0x1b20x14==_0x1b20x2))&&_0x1b20xa[_0x5826[207]](_0x1b20x13)};return _0x1b20xa};mxGraphModel[_0x5826[202]][_0x5826[1781]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;var _0x1b20x5=this[_0x5826[1707]](_0x1b20x2),_0x1b20x9=this[_0x5826[1707]](_0x1b20x3),_0x1b20xa=_0x1b20x2,_0x1b20x12=_0x1b20x5;_0x1b20x9<_0x1b20x5&&(_0x1b20x12=_0x1b20x9,_0x1b20xa=_0x1b20x3);_0x1b20x5=[];for(_0x1b20x9=0;_0x1b20x9<_0x1b20x12;_0x1b20x9++){var _0x1b20x13=this[_0x5826[1708]](_0x1b20xa,_0x1b20x9),_0x1b20x14=this[_0x5826[1709]](_0x1b20x13,!0),_0x1b20x15=this[_0x5826[1709]](_0x1b20x13,!1),_0x1b20x16=_0x1b20x15==_0x1b20x2&&_0x1b20x14==_0x1b20x3;(_0x1b20x14==_0x1b20x2&&_0x1b20x15==_0x1b20x3||!_0x1b20x4&&_0x1b20x16)&&_0x1b20x5[_0x5826[207]](_0x1b20x13)};return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[1808]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;var _0x1b20x9=[];if(null!=_0x1b20x2){for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=this[_0x5826[1709]](_0x1b20x2[_0x1b20xa],!0),_0x1b20x13=this[_0x5826[1709]](_0x1b20x2[_0x1b20xa],!1);_0x1b20x12==_0x1b20x3&&null!=_0x1b20x13&&_0x1b20x13!=_0x1b20x3&&_0x1b20x5?_0x1b20x9[_0x5826[207]](_0x1b20x13):_0x1b20x13==_0x1b20x3&&(null!=_0x1b20x12&&_0x1b20x12!=_0x1b20x3&&_0x1b20x4)&&_0x1b20x9[_0x5826[207]](_0x1b20x12)}};return _0x1b20x9};mxGraphModel[_0x5826[202]][_0x5826[1964]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){for(var _0x1b20x5=_0x1b20x2[_0x1b20x4],_0x1b20x9=!0,_0x1b20xa=this[_0x5826[1197]](_0x1b20x5);null!=_0x1b20xa;){if(0<=mxUtils[_0x5826[2]](_0x1b20x2,_0x1b20xa)){_0x1b20x9= !1;break};_0x1b20xa=this[_0x5826[1197]](_0x1b20xa)};_0x1b20x9&&_0x1b20x3[_0x5826[207]](_0x1b20x5)};return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1193]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1193]]():!1};mxGraphModel[_0x5826[202]][_0x5826[250]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[250]]():!1};mxGraphModel[_0x5826[202]][_0x5826[1965]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1965]]():!1};mxGraphModel[_0x5826[202]][_0x5826[433]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[433]]():null};mxGraphModel[_0x5826[202]][_0x5826[1966]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[350]]( new mxValueChange(this,_0x1b20x2,_0x1b20x3));return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1967]]=function(_0x1b20x2,_0x1b20x3){return _0x1b20x2[_0x5826[1968]](_0x1b20x3)};mxGraphModel[_0x5826[202]][_0x5826[1721]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1721]]():null};mxGraphModel[_0x5826[202]][_0x5826[1724]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3!=this[_0x5826[1721]](_0x1b20x2)&&this[_0x5826[350]]( new mxGeometryChange(this,_0x1b20x2,_0x1b20x3));return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1969]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1721]](_0x1b20x2);_0x1b20x2[_0x5826[1724]](_0x1b20x3);return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[474]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[474]]():null};mxGraphModel[_0x5826[202]][_0x5826[475]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3!=this[_0x5826[474]](_0x1b20x2)&&this[_0x5826[350]]( new mxStyleChange(this,_0x1b20x2,_0x1b20x3));return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1970]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[474]](_0x1b20x2);_0x1b20x2[_0x5826[475]](_0x1b20x3);return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[1971]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[1971]]():!1};mxGraphModel[_0x5826[202]][_0x5826[1972]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3!=this[_0x5826[1971]](_0x1b20x2)&&this[_0x5826[350]]( new mxCollapseChange(this,_0x1b20x2,_0x1b20x3));return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1973]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1971]](_0x1b20x2);_0x1b20x2[_0x5826[1972]](_0x1b20x3);return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[174]]=function(_0x1b20x2){return null!=_0x1b20x2?_0x1b20x2[_0x5826[174]]():!1};mxGraphModel[_0x5826[202]][_0x5826[175]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3!=this[_0x5826[174]](_0x1b20x2)&&this[_0x5826[350]]( new mxVisibleChange(this,_0x1b20x2,_0x1b20x3));return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1974]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[174]](_0x1b20x2);_0x1b20x2[_0x5826[175]](_0x1b20x3);return _0x1b20x4};mxGraphModel[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2){_0x1b20x2[_0x5826[350]]();this[_0x5826[473]]();this[_0x5826[1926]][_0x5826[99]](_0x1b20x2);this[_0x5826[746]]( new mxEventObject(mxEvent.EXECUTE,_0x5826[826],_0x1b20x2));this[_0x5826[746]]( new mxEventObject(mxEvent.EXECUTED,_0x5826[826],_0x1b20x2));this[_0x5826[476]]()};mxGraphModel[_0x5826[202]][_0x5826[473]]=function(){this[_0x5826[1932]]++;this[_0x5826[746]]( new mxEventObject(mxEvent.BEGIN_UPDATE));1==this[_0x5826[1932]]&&this[_0x5826[746]]( new mxEventObject(mxEvent.START_EDIT))};mxGraphModel[_0x5826[202]][_0x5826[476]]=function(){this[_0x5826[1932]]--;0==this[_0x5826[1932]]&&this[_0x5826[746]]( new mxEventObject(mxEvent.END_EDIT));if(!this[_0x5826[1933]]){this[_0x5826[1933]]=0==this[_0x5826[1932]];this[_0x5826[746]]( new mxEventObject(mxEvent.END_UPDATE,_0x5826[1061],this[_0x5826[1926]]));try{if(this[_0x5826[1933]]&&!this[_0x5826[1926]][_0x5826[1107]]()){this[_0x5826[746]]( new mxEventObject(mxEvent.BEFORE_UNDO,_0x5826[1061],this[_0x5826[1926]]));var _0x1b20x2=this[_0x5826[1926]];this[_0x5826[1926]]=this[_0x5826[1096]]();_0x1b20x2[_0x5826[827]]();this[_0x5826[746]]( new mxEventObject(mxEvent.UNDO,_0x5826[1061],_0x1b20x2))}}finally{this[_0x5826[1933]]= !1}}};mxGraphModel[_0x5826[202]][_0x5826[1096]]=function(){var _0x1b20x2= new mxUndoableEdit(this,!0);_0x1b20x2[_0x5826[827]]=function(){_0x1b20x2[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.CHANGE,_0x5826[1061],_0x1b20x2,_0x5826[1065],_0x1b20x2[_0x5826[1065]]));_0x1b20x2[_0x5826[1097]][_0x5826[746]]( new mxEventObject(mxEvent.NOTIFY,_0x5826[1061],_0x1b20x2,_0x5826[1065],_0x1b20x2[_0x5826[1065]]))};return _0x1b20x2};mxGraphModel[_0x5826[202]][_0x5826[1975]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;this[_0x5826[473]]();try{var _0x1b20x5={};this[_0x5826[1976]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);for(var _0x1b20x9 in _0x1b20x5){var _0x1b20xa=_0x1b20x5[_0x1b20x9],_0x1b20x12=this[_0x5826[1709]](_0x1b20xa,!0);null!=_0x1b20x12&&(_0x1b20x12=_0x1b20x5[mxCellPath[_0x5826[385]](_0x1b20x12)],this[_0x5826[1957]](_0x1b20xa,_0x1b20x12,!0));_0x1b20x12=this[_0x5826[1709]](_0x1b20xa,!1);null!=_0x1b20x12&&(_0x1b20x12=_0x1b20x5[mxCellPath[_0x5826[385]](_0x1b20x12)],this[_0x5826[1957]](_0x1b20xa,_0x1b20x12,!1))}}finally{this[_0x5826[476]]()}};mxGraphModel[_0x5826[202]][_0x5826[1976]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[473]]();try{for(var _0x1b20x9=_0x1b20x2[_0x5826[262]](),_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){var _0x1b20x12=_0x1b20x2[_0x5826[263]](_0x1b20xa);if(_0x5826[279]== typeof _0x1b20x12[_0x5826[1103]]){var _0x1b20x13=_0x1b20x12[_0x5826[1103]](),_0x1b20x14=null!=_0x1b20x13&&(!this[_0x5826[250]](_0x1b20x12)|| !_0x1b20x4)?this[_0x5826[736]](_0x1b20x13):null;if(null==_0x1b20x14){var _0x1b20x15=_0x1b20x12[_0x5826[238]]();_0x1b20x15[_0x5826[1945]](_0x1b20x13);_0x1b20x15[_0x5826[1957]](_0x1b20x12[_0x5826[1709]](!0),!0);_0x1b20x15[_0x5826[1957]](_0x1b20x12[_0x5826[1709]](!1),!1);_0x1b20x14=_0x1b20x3[_0x5826[1937]](_0x1b20x15);this[_0x5826[1941]](_0x1b20x14)};_0x1b20x5[mxCellPath[_0x5826[385]](_0x1b20x12)]=_0x1b20x14;this[_0x5826[1976]](_0x1b20x12,_0x1b20x14,_0x1b20x4,_0x1b20x5)}}}finally{this[_0x5826[476]]()}};mxGraphModel[_0x5826[202]][_0x5826[1977]]=function(_0x1b20x2){var _0x1b20x3=[];if(null!=_0x1b20x2){for(var _0x1b20x4={},_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=this[_0x5826[1197]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20x9){var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x9);null==_0x1b20x4[_0x1b20xa]&&(_0x1b20x4[_0x1b20xa]=_0x1b20x9,_0x1b20x3[_0x5826[207]](_0x1b20x9))}}};return _0x1b20x3};mxGraphModel[_0x5826[202]][_0x5826[1978]]=function(_0x1b20x2){return null!=_0x1b20x2?this[_0x5826[899]]([_0x1b20x2],!0)[0]:null};mxGraphModel[_0x5826[202]][_0x5826[899]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4={},_0x1b20x5=[],_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){null!=_0x1b20x2[_0x1b20x9]?_0x1b20x5[_0x5826[207]](this[_0x5826[1979]](_0x1b20x2[_0x1b20x9],_0x1b20x4,_0x1b20x3)):_0x1b20x5[_0x5826[207]](null)};for(_0x1b20x9=0;_0x1b20x9<_0x1b20x5[_0x5826[67]];_0x1b20x9++){null!=_0x1b20x5[_0x1b20x9]&&this[_0x5826[1980]](_0x1b20x5[_0x1b20x9],_0x1b20x2[_0x1b20x9],_0x1b20x4)};return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[1979]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1981]](_0x1b20x2);_0x1b20x3[mxObjectIdentity[_0x5826[203]](_0x1b20x2)]=_0x1b20x5;if(_0x1b20x4){_0x1b20x4=this[_0x5826[262]](_0x1b20x2);for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x4;_0x1b20x9++){var _0x1b20xa=this[_0x5826[1979]](this[_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x3,!0);_0x1b20x5[_0x5826[1937]](_0x1b20xa)}};return _0x1b20x5};mxGraphModel[_0x5826[202]][_0x5826[1981]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[238]]()};mxGraphModel[_0x5826[202]][_0x5826[1980]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1709]](_0x1b20x3,!0);null!=_0x1b20x5&&(_0x1b20x5=_0x1b20x4[mxObjectIdentity[_0x5826[203]](_0x1b20x5)],null!=_0x1b20x5&&_0x1b20x5[_0x5826[1960]](_0x1b20x2,!0));_0x1b20x5=this[_0x5826[1709]](_0x1b20x3,!1);null!=_0x1b20x5&&(_0x1b20x5=_0x1b20x4[mxObjectIdentity[_0x5826[203]](_0x1b20x5)],null!=_0x1b20x5&&_0x1b20x5[_0x5826[1960]](_0x1b20x2,!1));for(var _0x1b20x5=this[_0x5826[262]](_0x1b20x2),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){this[_0x5826[1980]](this[_0x5826[263]](_0x1b20x2,_0x1b20x9),this[_0x5826[263]](_0x1b20x3,_0x1b20x9),_0x1b20x4)}};function mxRootChange(_0x1b20x2,_0x1b20x3){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[257]]=this[_0x5826[813]]=_0x1b20x3}mxRootChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[813]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1940]](this[_0x5826[257]])};function mxChildChange(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[257]]=this[_0x5826[1101]]=_0x1b20x3;this[_0x5826[247]]=_0x1b20x4;this[_0x5826[1982]]=this[_0x5826[1983]]=_0x1b20x5}mxChildChange[_0x5826[202]][_0x5826[350]]=function(){var _0x1b20x2=this[_0x5826[251]][_0x5826[1197]](this[_0x5826[247]]),_0x1b20x3=null!=_0x1b20x2?_0x1b20x2[_0x5826[1738]](this[_0x5826[247]]):0;null==this[_0x5826[257]]&&this[_0x5826[807]](this[_0x5826[247]],!1);_0x1b20x2=this[_0x5826[251]][_0x5826[1952]](this[_0x5826[247]],this[_0x5826[257]],this[_0x5826[1982]]);null!=this[_0x5826[257]]&&this[_0x5826[807]](this[_0x5826[247]],!0);this[_0x5826[1101]]=this[_0x5826[257]];this[_0x5826[257]]=_0x1b20x2;this[_0x5826[1983]]=this[_0x5826[1982]];this[_0x5826[1982]]=_0x1b20x3};mxChildChange[_0x5826[202]][_0x5826[807]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;var _0x1b20x4=_0x1b20x2[_0x5826[1709]](!0),_0x1b20x5=_0x1b20x2[_0x5826[1709]](!1);null!=_0x1b20x4&&(_0x1b20x3?this[_0x5826[251]][_0x5826[1959]](_0x1b20x2,_0x1b20x4,!0):this[_0x5826[251]][_0x5826[1959]](_0x1b20x2,null,!0));null!=_0x1b20x5&&(_0x1b20x3?this[_0x5826[251]][_0x5826[1959]](_0x1b20x2,_0x1b20x5,!1):this[_0x5826[251]][_0x5826[1959]](_0x1b20x2,null,!1));_0x1b20x2[_0x5826[1957]](_0x1b20x4,!0);_0x1b20x2[_0x5826[1957]](_0x1b20x5,!1);_0x1b20x4=this[_0x5826[251]][_0x5826[262]](_0x1b20x2);for(_0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){this[_0x5826[807]](this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x5),_0x1b20x3)}};function mxTerminalChange(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[1984]]=_0x1b20x4;this[_0x5826[1097]]=_0x1b20x5}mxTerminalChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[1984]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1959]](this[_0x5826[246]],this[_0x5826[257]],this[_0x5826[1097]])};function mxValueChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[131]]=_0x1b20x4}mxValueChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[131]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1967]](this[_0x5826[246]],this[_0x5826[257]])};function mxStyleChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[124]]=_0x1b20x4}mxStyleChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[124]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1970]](this[_0x5826[246]],this[_0x5826[257]])};function mxGeometryChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[256]]=_0x1b20x4}mxGeometryChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[256]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1969]](this[_0x5826[246]],this[_0x5826[257]])};function mxCollapseChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[1985]]=_0x1b20x4}mxCollapseChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[1985]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1973]](this[_0x5826[246]],this[_0x5826[257]])};function mxVisibleChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[189]]=_0x1b20x4}mxVisibleChange[_0x5826[202]][_0x5826[350]]=function(){this[_0x5826[189]]=this[_0x5826[257]];this[_0x5826[257]]=this[_0x5826[251]][_0x5826[1974]](this[_0x5826[246]],this[_0x5826[257]])};function mxCellAttributeChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[246]]=_0x1b20x2;this[_0x5826[1986]]=_0x1b20x3;this[_0x5826[257]]=this[_0x5826[131]]=_0x1b20x4}mxCellAttributeChange[_0x5826[202]][_0x5826[350]]=function(){var _0x1b20x2=this[_0x5826[246]][_0x5826[284]](this[_0x5826[1986]]);null==this[_0x5826[257]]?this[_0x5826[246]][_0x5826[131]][_0x5826[1390]](this[_0x5826[1986]]):this[_0x5826[246]][_0x5826[57]](this[_0x5826[1986]],this[_0x5826[257]]);this[_0x5826[257]]=_0x1b20x2};function mxCell(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[131]]=_0x1b20x2;this[_0x5826[1724]](_0x1b20x3);this[_0x5826[475]](_0x1b20x4);if(null!=this[_0x5826[1987]]){this[_0x5826[1987]]()}}mxCell[_0x5826[202]][_0x5826[1363]]=null;mxCell[_0x5826[202]][_0x5826[131]]=null;mxCell[_0x5826[202]][_0x5826[256]]=null;mxCell[_0x5826[202]][_0x5826[124]]=null;mxCell[_0x5826[202]][_0x5826[1988]]= !1;mxCell[_0x5826[202]][_0x5826[1989]]= !1;mxCell[_0x5826[202]][_0x5826[1990]]= !0;mxCell[_0x5826[202]][_0x5826[189]]= !0;mxCell[_0x5826[202]][_0x5826[1985]]= !1;mxCell[_0x5826[202]][_0x5826[1101]]=null;mxCell[_0x5826[202]][_0x5826[1097]]=null;mxCell[_0x5826[202]][_0x5826[772]]=null;mxCell[_0x5826[202]][_0x5826[1954]]=null;mxCell[_0x5826[202]][_0x5826[1842]]=null;mxCell[_0x5826[202]][_0x5826[1991]]=_0x5826[1992][_0x5826[224]](_0x5826[185]);mxCell[_0x5826[202]][_0x5826[1103]]=function(){return this[_0x5826[1363]]};mxCell[_0x5826[202]][_0x5826[1945]]=function(_0x1b20x2){this[_0x5826[1363]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[433]]=function(){return this[_0x5826[131]]};mxCell[_0x5826[202]][_0x5826[1966]]=function(_0x1b20x2){this[_0x5826[131]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1968]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[433]]();this[_0x5826[1966]](_0x1b20x2);return _0x1b20x3};mxCell[_0x5826[202]][_0x5826[1721]]=function(){return this[_0x5826[256]]};mxCell[_0x5826[202]][_0x5826[1724]]=function(_0x1b20x2){this[_0x5826[256]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[474]]=function(){return this[_0x5826[124]]};mxCell[_0x5826[202]][_0x5826[475]]=function(_0x1b20x2){this[_0x5826[124]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1193]]=function(){return this[_0x5826[1988]]};mxCell[_0x5826[202]][_0x5826[1993]]=function(_0x1b20x2){this[_0x5826[1988]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[250]]=function(){return this[_0x5826[1989]]};mxCell[_0x5826[202]][_0x5826[1994]]=function(_0x1b20x2){this[_0x5826[1989]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1965]]=function(){return this[_0x5826[1990]]};mxCell[_0x5826[202]][_0x5826[1995]]=function(_0x1b20x2){this[_0x5826[1990]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[174]]=function(){return this[_0x5826[189]]};mxCell[_0x5826[202]][_0x5826[175]]=function(_0x1b20x2){this[_0x5826[189]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1971]]=function(){return this[_0x5826[1985]]};mxCell[_0x5826[202]][_0x5826[1972]]=function(_0x1b20x2){this[_0x5826[1985]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1197]]=function(){return this[_0x5826[1101]]};mxCell[_0x5826[202]][_0x5826[1996]]=function(_0x1b20x2){this[_0x5826[1101]]=_0x1b20x2};mxCell[_0x5826[202]][_0x5826[1709]]=function(_0x1b20x2){return _0x1b20x2?this[_0x5826[1097]]:this[_0x5826[772]]};mxCell[_0x5826[202]][_0x5826[1957]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3?this[_0x5826[1097]]=_0x1b20x2:this[_0x5826[772]]=_0x1b20x2;return _0x1b20x2};mxCell[_0x5826[202]][_0x5826[262]]=function(){return null==this[_0x5826[1954]]?0:this[_0x5826[1954]][_0x5826[67]]};mxCell[_0x5826[202]][_0x5826[1738]]=function(_0x1b20x2){return mxUtils[_0x5826[2]](this[_0x5826[1954]],_0x1b20x2)};mxCell[_0x5826[202]][_0x5826[263]]=function(_0x1b20x2){return null==this[_0x5826[1954]]?null:this[_0x5826[1954]][_0x1b20x2]};mxCell[_0x5826[202]][_0x5826[1937]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&(null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[262]](),_0x1b20x2[_0x5826[1197]]()==this&&_0x1b20x3--),_0x1b20x2[_0x5826[1997]](),_0x1b20x2[_0x5826[1996]](this),null==this[_0x5826[1954]]?(this[_0x5826[1954]]=[],this[_0x5826[1954]][_0x5826[207]](_0x1b20x2)):this[_0x5826[1954]][_0x5826[300]](_0x1b20x3,0,_0x1b20x2));return _0x1b20x2};mxCell[_0x5826[202]][_0x5826[205]]=function(_0x1b20x2){var _0x1b20x3=null;null!=this[_0x5826[1954]]&&0<=_0x1b20x2&&(_0x1b20x3=this[_0x5826[263]](_0x1b20x2),null!=_0x1b20x3&&(this[_0x5826[1954]][_0x5826[300]](_0x1b20x2,1),_0x1b20x3[_0x5826[1996]](null)));return _0x1b20x3};mxCell[_0x5826[202]][_0x5826[1997]]=function(){if(null!=this[_0x5826[1101]]){var _0x1b20x2=this[_0x5826[1101]][_0x5826[1738]](this);this[_0x5826[1101]][_0x5826[205]](_0x1b20x2)}};mxCell[_0x5826[202]][_0x5826[1707]]=function(){return null==this[_0x5826[1842]]?0:this[_0x5826[1842]][_0x5826[67]]};mxCell[_0x5826[202]][_0x5826[1998]]=function(_0x1b20x2){return mxUtils[_0x5826[2]](this[_0x5826[1842]],_0x1b20x2)};mxCell[_0x5826[202]][_0x5826[1708]]=function(_0x1b20x2){return null==this[_0x5826[1842]]?null:this[_0x5826[1842]][_0x1b20x2]};mxCell[_0x5826[202]][_0x5826[1960]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&(_0x1b20x2[_0x5826[1999]](_0x1b20x3),_0x1b20x2[_0x5826[1957]](this,_0x1b20x3),null==this[_0x5826[1842]]||_0x1b20x2[_0x5826[1709]](!_0x1b20x3)!=this||0>mxUtils[_0x5826[2]](this[_0x5826[1842]],_0x1b20x2))){null==this[_0x5826[1842]]&&(this[_0x5826[1842]]=[]),this[_0x5826[1842]][_0x5826[207]](_0x1b20x2)};return _0x1b20x2};mxCell[_0x5826[202]][_0x5826[1961]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2){if(_0x1b20x2[_0x5826[1709]](!_0x1b20x3)!=this&&null!=this[_0x5826[1842]]){var _0x1b20x4=this[_0x5826[1998]](_0x1b20x2);0<=_0x1b20x4&&this[_0x5826[1842]][_0x5826[300]](_0x1b20x4,1)};_0x1b20x2[_0x5826[1957]](null,_0x1b20x3)};return _0x1b20x2};mxCell[_0x5826[202]][_0x5826[1999]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1709]](_0x1b20x2);null!=_0x1b20x3&&_0x1b20x3[_0x5826[1961]](this,_0x1b20x2)};mxCell[_0x5826[202]][_0x5826[284]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[433]]();return (null!=_0x1b20x4&&_0x1b20x4[_0x5826[288]]==mxConstants[_0x5826[289]]?_0x1b20x4[_0x5826[284]](_0x1b20x2):null)||_0x1b20x3};mxCell[_0x5826[202]][_0x5826[57]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[433]]();null!=_0x1b20x4&&_0x1b20x4[_0x5826[288]]==mxConstants[_0x5826[289]]&&_0x1b20x4[_0x5826[57]](_0x1b20x2,_0x1b20x3)};mxCell[_0x5826[202]][_0x5826[238]]=function(){var _0x1b20x2=mxUtils[_0x5826[238]](this,this[_0x5826[1991]]);_0x1b20x2[_0x5826[1966]](this[_0x5826[2000]]());return _0x1b20x2};mxCell[_0x5826[202]][_0x5826[2000]]=function(){var _0x1b20x2=this[_0x5826[433]]();null!=_0x1b20x2&&(_0x5826[279]== typeof _0x1b20x2[_0x5826[238]]?_0x1b20x2=_0x1b20x2[_0x5826[238]]():isNaN(_0x1b20x2[_0x5826[288]])||(_0x1b20x2=_0x1b20x2[_0x5826[511]](!0)));return _0x1b20x2};function mxGeometry(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxRectangle[_0x5826[239]](this,_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)}mxGeometry[_0x5826[202]]= new mxRectangle;mxGeometry[_0x5826[202]][_0x5826[196]]=mxGeometry;mxGeometry[_0x5826[202]][_0x5826[2001]]= !0;mxGeometry[_0x5826[202]][_0x5826[2002]]=null;mxGeometry[_0x5826[202]][_0x5826[2003]]=null;mxGeometry[_0x5826[202]][_0x5826[2004]]=null;mxGeometry[_0x5826[202]][_0x5826[1525]]=null;mxGeometry[_0x5826[202]][_0x5826[1368]]=null;mxGeometry[_0x5826[202]][_0x5826[1500]]= !1;mxGeometry[_0x5826[202]][_0x5826[2005]]=function(){if(null!=this[_0x5826[2002]]){var _0x1b20x2= new mxRectangle(this[_0x5826[235]],this[_0x5826[236]],this[_0x5826[117]],this[_0x5826[119]]);this[_0x5826[235]]=this[_0x5826[2002]][_0x5826[235]];this[_0x5826[236]]=this[_0x5826[2002]][_0x5826[236]];this[_0x5826[117]]=this[_0x5826[2002]][_0x5826[117]];this[_0x5826[119]]=this[_0x5826[2002]][_0x5826[119]];this[_0x5826[2002]]=_0x1b20x2}};mxGeometry[_0x5826[202]][_0x5826[2006]]=function(_0x1b20x2){return _0x1b20x2?this[_0x5826[2003]]:this[_0x5826[2004]]};mxGeometry[_0x5826[202]][_0x5826[2007]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3?this[_0x5826[2003]]=_0x1b20x2:this[_0x5826[2004]]=_0x1b20x2;return _0x1b20x2};mxGeometry[_0x5826[202]][_0x5826[513]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[238]]();this[_0x5826[1500]]||(this[_0x5826[235]]+=_0x1b20x2,this[_0x5826[236]]+=_0x1b20x3);null!=this[_0x5826[2003]]&&(this[_0x5826[2003]][_0x5826[235]]+=_0x1b20x2,this[_0x5826[2003]][_0x5826[236]]+=_0x1b20x3);null!=this[_0x5826[2004]]&&(this[_0x5826[2004]][_0x5826[235]]+=_0x1b20x2,this[_0x5826[2004]][_0x5826[236]]+=_0x1b20x3);if(this[_0x5826[2001]]&&null!=this[_0x5826[1525]]){for(var _0x1b20x4=this[_0x5826[1525]][_0x5826[67]],_0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){var _0x1b20x9=this[_0x5826[1525]][_0x1b20x5];null!=_0x1b20x9&&(_0x1b20x9[_0x5826[235]]+=_0x1b20x2,_0x1b20x9[_0x5826[236]]+=_0x1b20x3)}}};var mxCellPath={PATH_SEPARATOR:_0x5826[87],create:function(_0x1b20x2){var _0x1b20x3=_0x5826[110];if(null!=_0x1b20x2){for(var _0x1b20x4=_0x1b20x2[_0x5826[1197]]();null!=_0x1b20x4;){_0x1b20x3=_0x1b20x4[_0x5826[1738]](_0x1b20x2)+mxCellPath[_0x5826[1950]]+_0x1b20x3,_0x1b20x2=_0x1b20x4,_0x1b20x4=_0x1b20x2[_0x5826[1197]]()}};_0x1b20x2=_0x1b20x3[_0x5826[67]];1<_0x1b20x2&&(_0x1b20x3=_0x1b20x3[_0x5826[85]](0,_0x1b20x2-1));return _0x1b20x3},getParentPath:function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[1122]](mxCellPath.PATH_SEPARATOR);if(0<=_0x1b20x3){return _0x1b20x2[_0x5826[85]](0,_0x1b20x3)};if(0<_0x1b20x2[_0x5826[67]]){return _0x5826[110]}};return null},resolve:function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2;if(null!=_0x1b20x3){for(var _0x1b20x5=_0x1b20x3[_0x5826[224]](mxCellPath.PATH_SEPARATOR),_0x1b20x9=0;_0x1b20x9<_0x1b20x5[_0x5826[67]];_0x1b20x9++){_0x1b20x4=_0x1b20x4[_0x5826[263]](parseInt(_0x1b20x5[_0x1b20x9]))}};return _0x1b20x4},compare:function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=Math[_0x5826[243]](_0x1b20x2[_0x5826[67]],_0x1b20x3[_0x5826[67]]),_0x1b20x5=0,_0x1b20x9=0;_0x1b20x9<_0x1b20x4;_0x1b20x9++){if(_0x1b20x2[_0x1b20x9]!=_0x1b20x3[_0x1b20x9]){0==_0x1b20x2[_0x1b20x9][_0x5826[67]]||0==_0x1b20x3[_0x1b20x9][_0x5826[67]]?_0x1b20x5=_0x1b20x2[_0x1b20x9]==_0x1b20x3[_0x1b20x9]?0:_0x1b20x2[_0x1b20x9]>_0x1b20x3[_0x1b20x9]?1:-1:(_0x1b20x4=parseInt(_0x1b20x2[_0x1b20x9]),_0x1b20x9=parseInt(_0x1b20x3[_0x1b20x9]),_0x1b20x5=_0x1b20x4==_0x1b20x9?0:_0x1b20x4>_0x1b20x9?1:-1);break}};0==_0x1b20x5&&(_0x1b20x4=_0x1b20x2[_0x5826[67]],_0x1b20x9=_0x1b20x3[_0x5826[67]],_0x1b20x4!=_0x1b20x9&&(_0x1b20x5=_0x1b20x4>_0x1b20x9?1:-1));return _0x1b20x5}},mxPerimeter={RectanglePerimeter:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=_0x1b20x2[_0x5826[241]]();var _0x1b20x9=_0x1b20x2[_0x5826[242]](),_0x1b20xa=Math[_0x5826[429]](_0x1b20x4[_0x5826[236]]-_0x1b20x9,_0x1b20x4[_0x5826[235]]-_0x1b20x3),_0x1b20x12= new mxPoint(0,0),_0x1b20x13=Math[_0x5826[424]],_0x1b20x14=Math[_0x5826[424]]/2-_0x1b20xa,_0x1b20x15=Math[_0x5826[429]](_0x1b20x2[_0x5826[119]],_0x1b20x2[_0x5826[117]]);_0x1b20xa<-_0x1b20x13+_0x1b20x15||_0x1b20xa>_0x1b20x13-_0x1b20x15?(_0x1b20x12[_0x5826[235]]=_0x1b20x2[_0x5826[235]],_0x1b20x12[_0x5826[236]]=_0x1b20x9-_0x1b20x2[_0x5826[117]]*Math[_0x5826[2008]](_0x1b20xa)/2):_0x1b20xa<-_0x1b20x15?(_0x1b20x12[_0x5826[236]]=_0x1b20x2[_0x5826[236]],_0x1b20x12[_0x5826[235]]=_0x1b20x3-_0x1b20x2[_0x5826[119]]*Math[_0x5826[2008]](_0x1b20x14)/2):_0x1b20xa<_0x1b20x15?(_0x1b20x12[_0x5826[235]]=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]],_0x1b20x12[_0x5826[236]]=_0x1b20x9+_0x1b20x2[_0x5826[117]]*Math[_0x5826[2008]](_0x1b20xa)/2):(_0x1b20x12[_0x5826[236]]=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]],_0x1b20x12[_0x5826[235]]=_0x1b20x3+_0x1b20x2[_0x5826[119]]*Math[_0x5826[2008]](_0x1b20x14)/2);_0x1b20x5&&(_0x1b20x4[_0x5826[235]]>=_0x1b20x2[_0x5826[235]]&&_0x1b20x4[_0x5826[235]]<=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]?_0x1b20x12[_0x5826[235]]=_0x1b20x4[_0x5826[235]]:_0x1b20x4[_0x5826[236]]>=_0x1b20x2[_0x5826[236]]&&_0x1b20x4[_0x5826[236]]<=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]&&(_0x1b20x12[_0x5826[236]]=_0x1b20x4[_0x5826[236]]),_0x1b20x4[_0x5826[235]]<_0x1b20x2[_0x5826[235]]?_0x1b20x12[_0x5826[235]]=_0x1b20x2[_0x5826[235]]:_0x1b20x4[_0x5826[235]]>_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]&&(_0x1b20x12[_0x5826[235]]=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]),_0x1b20x4[_0x5826[236]]<_0x1b20x2[_0x5826[236]]?_0x1b20x12[_0x5826[236]]=_0x1b20x2[_0x5826[236]]:_0x1b20x4[_0x5826[236]]>_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]&&(_0x1b20x12[_0x5826[236]]=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]));return _0x1b20x12},EllipsePerimeter:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[235]],_0x1b20xa=_0x1b20x2[_0x5826[236]],_0x1b20x12=_0x1b20x2[_0x5826[117]]/2,_0x1b20x13=_0x1b20x2[_0x5826[119]]/2,_0x1b20x14=_0x1b20x9+_0x1b20x12,_0x1b20x15=_0x1b20xa+_0x1b20x13;_0x1b20x3=_0x1b20x4[_0x5826[235]];_0x1b20x4=_0x1b20x4[_0x5826[236]];var _0x1b20x16=parseInt(_0x1b20x3-_0x1b20x14),_0x1b20x17=parseInt(_0x1b20x4-_0x1b20x15);if(0==_0x1b20x16&&0!=_0x1b20x17){return new mxPoint(_0x1b20x14,_0x1b20x15+_0x1b20x13*_0x1b20x17/Math[_0x5826[425]](_0x1b20x17))};if(0==_0x1b20x16&&0==_0x1b20x17){return new mxPoint(_0x1b20x3,_0x1b20x4)};if(_0x1b20x5){if(_0x1b20x4>=_0x1b20xa&&_0x1b20x4<=_0x1b20xa+_0x1b20x2[_0x5826[119]]){return _0x1b20x2=_0x1b20x4-_0x1b20x15,_0x1b20x2=Math[_0x5826[428]](_0x1b20x12*_0x1b20x12*(1-_0x1b20x2*_0x1b20x2/(_0x1b20x13*_0x1b20x13)))||0,_0x1b20x3<=_0x1b20x9&&(_0x1b20x2= -_0x1b20x2), new mxPoint(_0x1b20x14+_0x1b20x2,_0x1b20x4)};if(_0x1b20x3>=_0x1b20x9&&_0x1b20x3<=_0x1b20x9+_0x1b20x2[_0x5826[117]]){return _0x1b20x2=_0x1b20x3-_0x1b20x14,_0x1b20x2=Math[_0x5826[428]](_0x1b20x13*_0x1b20x13*(1-_0x1b20x2*_0x1b20x2/(_0x1b20x12*_0x1b20x12)))||0,_0x1b20x4<=_0x1b20xa&&(_0x1b20x2= -_0x1b20x2), new mxPoint(_0x1b20x3,_0x1b20x15+_0x1b20x2)}};_0x1b20x9=_0x1b20x17/_0x1b20x16;_0x1b20x15-=_0x1b20x9*_0x1b20x14;_0x1b20xa=_0x1b20x12*_0x1b20x12*_0x1b20x9*_0x1b20x9+_0x1b20x13*_0x1b20x13;_0x1b20x2=-2*_0x1b20x14*_0x1b20xa;_0x1b20x13=Math[_0x5826[428]](_0x1b20x2*_0x1b20x2-4*_0x1b20xa*(_0x1b20x12*_0x1b20x12*_0x1b20x9*_0x1b20x9*_0x1b20x14*_0x1b20x14+_0x1b20x13*_0x1b20x13*_0x1b20x14*_0x1b20x14-_0x1b20x12*_0x1b20x12*_0x1b20x13*_0x1b20x13));_0x1b20x12=(-_0x1b20x2+_0x1b20x13)/(2*_0x1b20xa);_0x1b20x13=(-_0x1b20x2-_0x1b20x13)/(2*_0x1b20xa);_0x1b20x14=_0x1b20x9*_0x1b20x12+_0x1b20x15;_0x1b20x15=_0x1b20x9*_0x1b20x13+_0x1b20x15;_0x1b20x9=Math[_0x5826[428]](Math[_0x5826[2009]](_0x1b20x12-_0x1b20x3,2)+Math[_0x5826[2009]](_0x1b20x14-_0x1b20x4,2));_0x1b20x3=Math[_0x5826[428]](Math[_0x5826[2009]](_0x1b20x13-_0x1b20x3,2)+Math[_0x5826[2009]](_0x1b20x15-_0x1b20x4,2));_0x1b20xa=_0x1b20x4=0;_0x1b20x9<_0x1b20x3?(_0x1b20x4=_0x1b20x12,_0x1b20xa=_0x1b20x14):(_0x1b20x4=_0x1b20x13,_0x1b20xa=_0x1b20x15);return new mxPoint(_0x1b20x4,_0x1b20xa)},RhombusPerimeter:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=_0x1b20x2[_0x5826[235]];var _0x1b20x9=_0x1b20x2[_0x5826[236]],_0x1b20xa=_0x1b20x2[_0x5826[117]];_0x1b20x2=_0x1b20x2[_0x5826[119]];var _0x1b20x12=_0x1b20x3+_0x1b20xa/2,_0x1b20x13=_0x1b20x9+_0x1b20x2/2,_0x1b20x14=_0x1b20x4[_0x5826[235]];_0x1b20x4=_0x1b20x4[_0x5826[236]];if(_0x1b20x12==_0x1b20x14){return _0x1b20x13>_0x1b20x4? new mxPoint(_0x1b20x12,_0x1b20x9): new mxPoint(_0x1b20x12,_0x1b20x9+_0x1b20x2)};if(_0x1b20x13==_0x1b20x4){return _0x1b20x12>_0x1b20x14? new mxPoint(_0x1b20x3,_0x1b20x13): new mxPoint(_0x1b20x3+_0x1b20xa,_0x1b20x13)};var _0x1b20x15=_0x1b20x12,_0x1b20x16=_0x1b20x13;_0x1b20x5&&(_0x1b20x14>=_0x1b20x3&&_0x1b20x14<=_0x1b20x3+_0x1b20xa?_0x1b20x15=_0x1b20x14:_0x1b20x4>=_0x1b20x9&&_0x1b20x4<=_0x1b20x9+_0x1b20x2&&(_0x1b20x16=_0x1b20x4));return _0x1b20x14<_0x1b20x12?_0x1b20x4<_0x1b20x13?mxUtils[_0x5826[2010]](_0x1b20x14,_0x1b20x4,_0x1b20x15,_0x1b20x16,_0x1b20x12,_0x1b20x9,_0x1b20x3,_0x1b20x13):mxUtils[_0x5826[2010]](_0x1b20x14,_0x1b20x4,_0x1b20x15,_0x1b20x16,_0x1b20x12,_0x1b20x9+_0x1b20x2,_0x1b20x3,_0x1b20x13):_0x1b20x4<_0x1b20x13?mxUtils[_0x5826[2010]](_0x1b20x14,_0x1b20x4,_0x1b20x15,_0x1b20x16,_0x1b20x12,_0x1b20x9,_0x1b20x3+_0x1b20xa,_0x1b20x13):mxUtils[_0x5826[2010]](_0x1b20x14,_0x1b20x4,_0x1b20x15,_0x1b20x16,_0x1b20x12,_0x1b20x9+_0x1b20x2,_0x1b20x3+_0x1b20xa,_0x1b20x13)},TrianglePerimeter:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]][mxConstants[_0x5826[2011]]]:null;var _0x1b20x9=_0x1b20x3==mxConstants[_0x5826[1358]]||_0x1b20x3==mxConstants[_0x5826[1354]],_0x1b20xa=_0x1b20x2[_0x5826[235]],_0x1b20x12=_0x1b20x2[_0x5826[236]],_0x1b20x13=_0x1b20x2[_0x5826[117]];_0x1b20x2=_0x1b20x2[_0x5826[119]];var _0x1b20x14=_0x1b20xa+_0x1b20x13/2,_0x1b20x15=_0x1b20x12+_0x1b20x2/2,_0x1b20x16= new mxPoint(_0x1b20xa,_0x1b20x12),_0x1b20x17= new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x15),_0x1b20x18= new mxPoint(_0x1b20xa,_0x1b20x12+_0x1b20x2);_0x1b20x3==mxConstants[_0x5826[1358]]?(_0x1b20x16=_0x1b20x18,_0x1b20x17= new mxPoint(_0x1b20x14,_0x1b20x12),_0x1b20x18= new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x12+_0x1b20x2)):_0x1b20x3==mxConstants[_0x5826[1354]]?(_0x1b20x17= new mxPoint(_0x1b20x14,_0x1b20x12+_0x1b20x2),_0x1b20x18= new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x12)):_0x1b20x3==mxConstants[_0x5826[1359]]&&(_0x1b20x16= new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x12),_0x1b20x17= new mxPoint(_0x1b20xa,_0x1b20x15),_0x1b20x18= new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x12+_0x1b20x2));var _0x1b20x19=_0x1b20x4[_0x5826[235]]-_0x1b20x14,_0x1b20x1a=_0x1b20x4[_0x5826[236]]-_0x1b20x15,_0x1b20x19=_0x1b20x9?Math[_0x5826[429]](_0x1b20x19,_0x1b20x1a):Math[_0x5826[429]](_0x1b20x1a,_0x1b20x19),_0x1b20x1b=_0x1b20x9?Math[_0x5826[429]](_0x1b20x13,_0x1b20x2):Math[_0x5826[429]](_0x1b20x2,_0x1b20x13),_0x1b20x1a=!1,_0x1b20x1a=_0x1b20x3==mxConstants[_0x5826[1358]]||_0x1b20x3==mxConstants[_0x5826[1359]]?_0x1b20x19>-_0x1b20x1b&&_0x1b20x19<_0x1b20x1b:_0x1b20x19<-Math[_0x5826[424]]+_0x1b20x1b||_0x1b20x19>Math[_0x5826[424]]-_0x1b20x1b,_0x1b20x1b=null;_0x1b20x1a?_0x1b20x1b=_0x1b20x5&&(_0x1b20x9&&_0x1b20x4[_0x5826[235]]>=_0x1b20x16[_0x5826[235]]&&_0x1b20x4[_0x5826[235]]<=_0x1b20x18[_0x5826[235]]||!_0x1b20x9&&_0x1b20x4[_0x5826[236]]>=_0x1b20x16[_0x5826[236]]&&_0x1b20x4[_0x5826[236]]<=_0x1b20x18[_0x5826[236]])?_0x1b20x9? new mxPoint(_0x1b20x4[_0x5826[235]],_0x1b20x16[_0x5826[236]]): new mxPoint(_0x1b20x16[_0x5826[235]],_0x1b20x4[_0x5826[236]]):_0x1b20x3==mxConstants[_0x5826[1358]]? new mxPoint(_0x1b20xa+_0x1b20x13/2+_0x1b20x2*Math[_0x5826[2008]](_0x1b20x19)/2,_0x1b20x12+_0x1b20x2):_0x1b20x3==mxConstants[_0x5826[1354]]? new mxPoint(_0x1b20xa+_0x1b20x13/2-_0x1b20x2*Math[_0x5826[2008]](_0x1b20x19)/2,_0x1b20x12):_0x1b20x3==mxConstants[_0x5826[1359]]? new mxPoint(_0x1b20xa+_0x1b20x13,_0x1b20x12+_0x1b20x2/2+_0x1b20x13*Math[_0x5826[2008]](_0x1b20x19)/2): new mxPoint(_0x1b20xa,_0x1b20x12+_0x1b20x2/2-_0x1b20x13*Math[_0x5826[2008]](_0x1b20x19)/2):(_0x1b20x5&&(_0x1b20x5= new mxPoint(_0x1b20x14,_0x1b20x15),_0x1b20x4[_0x5826[236]]>=_0x1b20x12&&_0x1b20x4[_0x5826[236]]<=_0x1b20x12+_0x1b20x2?(_0x1b20x5[_0x5826[235]]=_0x1b20x9?_0x1b20x14:_0x1b20x3==mxConstants[_0x5826[1359]]?_0x1b20xa+_0x1b20x13:_0x1b20xa,_0x1b20x5[_0x5826[236]]=_0x1b20x4[_0x5826[236]]):_0x1b20x4[_0x5826[235]]>=_0x1b20xa&&_0x1b20x4[_0x5826[235]]<=_0x1b20xa+_0x1b20x13&&(_0x1b20x5[_0x5826[235]]=_0x1b20x4[_0x5826[235]],_0x1b20x5[_0x5826[236]]=!_0x1b20x9?_0x1b20x15:_0x1b20x3==mxConstants[_0x5826[1358]]?_0x1b20x12+_0x1b20x2:_0x1b20x12),_0x1b20x14=_0x1b20x5[_0x5826[235]],_0x1b20x15=_0x1b20x5[_0x5826[236]]),_0x1b20x1b=_0x1b20x9&&_0x1b20x4[_0x5826[235]]<=_0x1b20xa+_0x1b20x13/2||!_0x1b20x9&&_0x1b20x4[_0x5826[236]]<=_0x1b20x12+_0x1b20x2/2?mxUtils[_0x5826[2010]](_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]],_0x1b20x14,_0x1b20x15,_0x1b20x16[_0x5826[235]],_0x1b20x16[_0x5826[236]],_0x1b20x17[_0x5826[235]],_0x1b20x17[_0x5826[236]]):mxUtils[_0x5826[2010]](_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]],_0x1b20x14,_0x1b20x15,_0x1b20x17[_0x5826[235]],_0x1b20x17[_0x5826[236]],_0x1b20x18[_0x5826[235]],_0x1b20x18[_0x5826[236]]));null==_0x1b20x1b&&(_0x1b20x1b= new mxPoint(_0x1b20x14,_0x1b20x15));return _0x1b20x1b}};function mxPrintPreview(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[255]]=null!=_0x1b20x3?_0x1b20x3:1/_0x1b20x2[_0x5826[2012]];this[_0x5826[467]]=null!=_0x1b20x5?_0x1b20x5:0;this[_0x5826[2013]]=null!=_0x1b20x4?_0x1b20x4:_0x1b20x2[_0x5826[2013]];this[_0x5826[924]]=null!=_0x1b20x13?_0x1b20x13:_0x5826[2014];this[_0x5826[1732]]=null!=_0x1b20x9?_0x1b20x9:0;this[_0x5826[1733]]=null!=_0x1b20xa?_0x1b20xa:0;this[_0x5826[1630]]=_0x1b20x12;this[_0x5826[2015]]=null!=_0x1b20x14?_0x1b20x14:!0}mxPrintPreview[_0x5826[202]][_0x5826[1179]]=null;mxPrintPreview[_0x5826[202]][_0x5826[2013]]=null;mxPrintPreview[_0x5826[202]][_0x5826[255]]=null;mxPrintPreview[_0x5826[202]][_0x5826[467]]=0;mxPrintPreview[_0x5826[202]][_0x5826[1732]]=0;mxPrintPreview[_0x5826[202]][_0x5826[1733]]=0;mxPrintPreview[_0x5826[202]][_0x5826[2016]]= !0;mxPrintPreview[_0x5826[202]][_0x5826[2017]]= !1;mxPrintPreview[_0x5826[202]][_0x5826[1630]]=null;mxPrintPreview[_0x5826[202]][_0x5826[924]]=null;mxPrintPreview[_0x5826[202]][_0x5826[2015]]=null;mxPrintPreview[_0x5826[202]][_0x5826[2018]]=null;mxPrintPreview[_0x5826[202]][_0x5826[2019]]=0;mxPrintPreview[_0x5826[202]][_0x5826[2020]]=function(){return this[_0x5826[2018]]};mxPrintPreview[_0x5826[202]][_0x5826[2021]]=function(){var _0x1b20x2=_0x5826[110];8==document[_0x5826[5]]&&(_0x1b20x2=_0x5826[2022]);return _0x1b20x2};mxPrintPreview[_0x5826[202]][_0x5826[392]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[259]][_0x5826[2023]],_0x1b20x4=null;try{this[_0x5826[2017]]&&(this[_0x5826[1179]][_0x5826[259]][_0x5826[2023]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[176]](_0x1b20x2[_0x5826[441]][_0x5826[2024]]())});if(null==this[_0x5826[2018]]){this[_0x5826[2018]]=window[_0x5826[392]]();var _0x1b20x5=this[_0x5826[2018]][_0x5826[395]],_0x1b20x9=this[_0x5826[2021]]();null!=_0x1b20x9&&0<_0x1b20x9[_0x5826[67]]&&_0x1b20x5[_0x5826[171]](_0x1b20x9);_0x1b20x5[_0x5826[171]](_0x5826[528]);_0x1b20x5[_0x5826[171]](_0x5826[531]);this[_0x5826[2025]](_0x1b20x5,_0x1b20x2);_0x1b20x5[_0x5826[171]](_0x5826[533]);_0x1b20x5[_0x5826[171]](_0x5826[2026]);mxClient[_0x5826[54]](_0x5826[94],mxClient[_0x5826[86]]+_0x5826[95],_0x1b20x5);mxClient[_0x5826[47]]&&(_0x1b20x5[_0x5826[100]][_0x5826[99]](_0x5826[6],_0x5826[97]),_0x1b20x5[_0x5826[100]][_0x5826[99]](_0x5826[7],_0x5826[101]),_0x1b20x5[_0x5826[102]]()[_0x5826[103]]=_0x5826[104],mxClient[_0x5826[54]](_0x5826[94],mxClient[_0x5826[86]]+_0x5826[105],_0x1b20x5));var _0x1b20xa=this[_0x5826[1179]][_0x5826[517]]()[_0x5826[238]](),_0x1b20x12=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[518]](),_0x1b20x13=_0x1b20x12/this[_0x5826[255]],_0x1b20x14=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[512]]();this[_0x5826[2016]]||(this[_0x5826[1732]]=-_0x1b20x14[_0x5826[235]]*this[_0x5826[255]],this[_0x5826[1733]]=-_0x1b20x14[_0x5826[236]]*this[_0x5826[255]],_0x1b20xa[_0x5826[117]]+=_0x1b20xa[_0x5826[235]],_0x1b20xa[_0x5826[119]]+=_0x1b20xa[_0x5826[236]],_0x1b20xa[_0x5826[235]]=0,this[_0x5826[467]]=_0x1b20xa[_0x5826[236]]=0);_0x1b20xa[_0x5826[117]]/=_0x1b20x13;_0x1b20xa[_0x5826[119]]/=_0x1b20x13;var _0x1b20x15=this[_0x5826[2013]][_0x5826[117]]-2*this[_0x5826[467]],_0x1b20x16=this[_0x5826[2013]][_0x5826[119]]-2*this[_0x5826[467]],_0x1b20x17=Math[_0x5826[160]](1,Math[_0x5826[430]]((_0x1b20xa[_0x5826[117]]+this[_0x5826[1732]])/_0x1b20x15)),_0x1b20x18=Math[_0x5826[160]](1,Math[_0x5826[430]]((_0x1b20xa[_0x5826[119]]+this[_0x5826[1733]])/_0x1b20x16));this[_0x5826[2019]]=_0x1b20x17*_0x1b20x18;var _0x1b20x19=mxUtils[_0x5826[885]](this,function(){if(this[_0x5826[2015]]&&(1<_0x1b20x18||1<_0x1b20x17)){var _0x1b20x2=this[_0x5826[2027]](_0x1b20x18,_0x1b20x17);_0x1b20x5[_0x5826[112]][_0x5826[62]](_0x1b20x2);if(mxClient[_0x5826[80]]){_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[492];var _0x1b20x3=function(){_0x1b20x2[_0x5826[124]][_0x5826[125]]=_0x1b20x5[_0x5826[112]][_0x5826[190]]+10+_0x5826[168]};mxEvent[_0x5826[169]](this[_0x5826[2018]],_0x5826[276],function(_0x1b20x2){_0x1b20x3()});mxEvent[_0x5826[169]](this[_0x5826[2018]],_0x5826[129],function(_0x1b20x2){_0x1b20x3()})}}});_0x1b20x2=function(_0x1b20x2,_0x1b20x3){null!=this[_0x5826[1630]]&&(_0x1b20x2[_0x5826[124]][_0x5826[1630]]=this[_0x5826[1630]],_0x1b20x2[_0x5826[124]][_0x5826[465]]=_0x5826[1631],_0x1b20x2[_0x5826[124]][_0x5826[1629]]=_0x5826[942]);_0x1b20x2[_0x5826[124]][_0x5826[1537]]=_0x5826[1391];_0x1b20x3&&(_0x1b20x2[_0x5826[124]][_0x5826[2028]]=_0x5826[2029]);mxClient[_0x5826[80]]?(_0x1b20x5[_0x5826[171]](_0x1b20x2[_0x5826[342]]),_0x1b20x2[_0x5826[265]][_0x5826[266]](_0x1b20x2)):(_0x1b20x2[_0x5826[265]][_0x5826[266]](_0x1b20x2),_0x1b20x5[_0x5826[112]][_0x5826[62]](_0x1b20x2));if(_0x1b20x3){var _0x1b20x4=_0x1b20x5[_0x5826[55]](_0x5826[1054]);_0x1b20x4[_0x5826[926]]=_0x5826[2030];_0x1b20x5[_0x5826[112]][_0x5826[62]](_0x1b20x4)}};var _0x1b20x1a=this[_0x5826[2031]](this[_0x5826[2013]][_0x5826[117]],this[_0x5826[2013]][_0x5826[119]]);if(null!=_0x1b20x1a){for(var _0x1b20x1b=0;_0x1b20x1b<_0x1b20x1a[_0x5826[67]];_0x1b20x1b++){_0x1b20x2(_0x1b20x1a[_0x1b20x1b],!0)}};for(var _0x1b20x1c=this[_0x5826[2032]](this[_0x5826[2013]][_0x5826[117]],this[_0x5826[2013]][_0x5826[119]]),_0x1b20x1b=0;_0x1b20x1b<_0x1b20x18;_0x1b20x1b++){for(var _0x1b20x1d=_0x1b20x1b*_0x1b20x16/this[_0x5826[255]]-this[_0x5826[1733]]/this[_0x5826[255]]+(_0x1b20xa[_0x5826[236]]-_0x1b20x14[_0x5826[236]]*_0x1b20x12)/_0x1b20x12,_0x1b20x1a=0;_0x1b20x1a<_0x1b20x17;_0x1b20x1a++){if(null==this[_0x5826[2018]]){return null};var _0x1b20x1e=_0x1b20x1a*_0x1b20x15/this[_0x5826[255]]-this[_0x5826[1732]]/this[_0x5826[255]]+(_0x1b20xa[_0x5826[235]]-_0x1b20x14[_0x5826[235]]*_0x1b20x12)/_0x1b20x12,_0x1b20x1f=_0x1b20x1b*_0x1b20x17+_0x1b20x1a+1,_0x1b20x4=this[_0x5826[2034]](this[_0x5826[2013]][_0x5826[117]],this[_0x5826[2013]][_0x5826[119]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2033]](-_0x1b20x1e,-_0x1b20x1d,this[_0x5826[255]],_0x1b20x1f,_0x1b20x2)}));_0x1b20x4[_0x5826[57]](_0x5826[1363],_0x5826[2035]+_0x1b20x1f);_0x1b20x2(_0x1b20x4,null!=_0x1b20x1c||_0x1b20x1b<_0x1b20x18-1||_0x1b20x1a<_0x1b20x17-1)}};if(null!=_0x1b20x1c){for(_0x1b20x1b=0;_0x1b20x1b<_0x1b20x1c[_0x5826[67]];_0x1b20x1b++){_0x1b20x2(_0x1b20x1c[_0x1b20x1b],_0x1b20x1b<_0x1b20x1c[_0x5826[67]])}};_0x1b20x5[_0x5826[171]](_0x5826[527]);_0x1b20x5[_0x5826[171]](_0x5826[534]);_0x1b20x5[_0x5826[268]]();_0x1b20x19();mxEvent[_0x5826[762]](_0x1b20x5[_0x5826[112]])};this[_0x5826[2018]][_0x5826[393]]()}catch(y){null!=_0x1b20x4&&null!=_0x1b20x4[_0x5826[265]]&&_0x1b20x4[_0x5826[265]][_0x5826[266]](_0x1b20x4)}finally{this[_0x5826[1179]][_0x5826[259]][_0x5826[2023]]=_0x1b20x3};return this[_0x5826[2018]]};mxPrintPreview[_0x5826[202]][_0x5826[2025]]=function(_0x1b20x2,_0x1b20x3){null!=this[_0x5826[924]]&&_0x1b20x2[_0x5826[171]](_0x5826[2036]+this[_0x5826[924]]+_0x5826[2037]);_0x1b20x2[_0x5826[171]](_0x5826[2038]);_0x1b20x2[_0x5826[171]](_0x5826[2039]);_0x1b20x2[_0x5826[171]](_0x5826[2040]);_0x1b20x2[_0x5826[171]](_0x5826[2041]);_0x1b20x2[_0x5826[171]](_0x5826[233]);_0x1b20x2[_0x5826[171]](_0x5826[2042]);_0x1b20x2[_0x5826[171]](_0x5826[2043]);_0x1b20x2[_0x5826[171]](_0x5826[2044]);_0x1b20x2[_0x5826[171]](_0x5826[2045]);_0x1b20x2[_0x5826[171]](_0x5826[233]);null!=_0x1b20x3&&_0x1b20x2[_0x5826[171]](_0x1b20x3);_0x1b20x2[_0x5826[171]](_0x5826[2046])};mxPrintPreview[_0x5826[202]][_0x5826[2027]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[2018]][_0x5826[395]],_0x1b20x5=_0x1b20x4[_0x5826[55]](_0x5826[116]);_0x1b20x5[_0x5826[926]]=_0x5826[2047];_0x1b20x5[_0x5826[57]](_0x5826[467],_0x5826[468]);for(var _0x1b20x9=_0x1b20x4[_0x5826[55]](_0x5826[120]),_0x1b20xa=0;_0x1b20xa<_0x1b20x2;_0x1b20xa++){for(var _0x1b20x12=_0x1b20x4[_0x5826[55]](_0x5826[121]),_0x1b20x13=0;_0x1b20x13<_0x1b20x3;_0x1b20x13++){var _0x1b20x14=_0x1b20xa*_0x1b20x3+_0x1b20x13+1,_0x1b20x15=_0x1b20x4[_0x5826[55]](_0x5826[122]);if(!mxClient[_0x5826[133]]||mxClient[_0x5826[75]]||mxClient[_0x5826[76]]){var _0x1b20x16=_0x1b20x4[_0x5826[55]](_0x5826[2048]);_0x1b20x16[_0x5826[57]](_0x5826[44],_0x5826[2049]+_0x1b20x14);mxUtils[_0x5826[53]](_0x1b20x16,_0x1b20x14,_0x1b20x4);_0x1b20x15[_0x5826[62]](_0x1b20x16)}else {mxUtils[_0x5826[53]](_0x1b20x15,_0x1b20x14,_0x1b20x4)};_0x1b20x12[_0x5826[62]](_0x1b20x15)};_0x1b20x9[_0x5826[62]](_0x1b20x12)};_0x1b20x5[_0x5826[62]](_0x1b20x9);return _0x1b20x5};mxPrintPreview[_0x5826[202]][_0x5826[2034]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=document[_0x5826[55]](_0x5826[485]);try{_0x1b20x5[_0x5826[124]][_0x5826[117]]=_0x1b20x2+_0x5826[168];_0x1b20x5[_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168];_0x1b20x5[_0x5826[124]][_0x5826[277]]=_0x5826[188];_0x1b20x5[_0x5826[124]][_0x5826[2050]]=_0x5826[1824];_0x1b20x5[_0x5826[124]][_0x5826[491]]=_0x5826[1500];var _0x1b20x9=document[_0x5826[55]](_0x5826[485]);_0x1b20x9[_0x5826[124]][_0x5826[125]]=this[_0x5826[467]]+_0x5826[168];_0x1b20x9[_0x5826[124]][_0x5826[361]]=this[_0x5826[467]]+_0x5826[168];_0x1b20x9[_0x5826[124]][_0x5826[117]]=_0x1b20x2-2*this[_0x5826[467]]+_0x5826[168];_0x1b20x9[_0x5826[124]][_0x5826[119]]=_0x1b20x3-2*this[_0x5826[467]]+_0x5826[168];_0x1b20x9[_0x5826[124]][_0x5826[277]]=_0x5826[188];this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[1523]]&&(_0x1b20x9[_0x5826[124]][_0x5826[491]]=_0x5826[492]);_0x1b20x5[_0x5826[62]](_0x1b20x9);document[_0x5826[112]][_0x5826[62]](_0x1b20x5);_0x1b20x4(_0x1b20x9)}catch(f){throw _0x1b20x5[_0x5826[265]][_0x5826[266]](_0x1b20x5),f};return _0x1b20x5};mxPrintPreview[_0x5826[202]][_0x5826[2033]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=this[_0x5826[1179]][_0x5826[249]]();var _0x1b20xa=this[_0x5826[1179]][_0x5826[526]];this[_0x5826[1179]][_0x5826[526]]=_0x1b20x9;var _0x1b20x12=_0x1b20x5[_0x5826[2051]](),_0x1b20x13=_0x1b20x5[_0x5826[2052]](),_0x1b20x14=_0x1b20x5[_0x5826[2024]](),_0x1b20x15=_0x1b20x5[_0x5826[1524]]();this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[508]]?_0x1b20x5[_0x5826[1569]]():this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[1523]]?_0x1b20x5[_0x5826[1571]]():_0x1b20x5[_0x5826[1570]]();var _0x1b20x16=_0x1b20x5[_0x5826[503]]();_0x1b20x5[_0x5826[504]](!1);var _0x1b20x17=this[_0x5826[1179]][_0x5826[994]]();this[_0x5826[1179]][_0x5826[995]](!1);var _0x1b20x18=_0x1b20x5[_0x5826[512]]();_0x1b20x5[_0x5826[513]]= new mxPoint(_0x1b20x2,_0x1b20x3);_0x1b20x2=null;try{var _0x1b20x19=[this[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]]()];_0x1b20x2= new mxTemporaryCellStates(_0x1b20x5,_0x1b20x4,_0x1b20x19)}finally{if(mxClient[_0x5826[80]]){_0x1b20x5[_0x5826[506]][_0x5826[339]]=_0x5826[110]}else {for(_0x1b20x4=_0x1b20x9[_0x5826[285]];null!=_0x1b20x4;){_0x1b20x19=_0x1b20x4[_0x5826[287]],_0x1b20x3=_0x1b20x4[_0x5826[301]][_0x5826[216]](),_0x5826[571]==_0x1b20x3?(_0x1b20x4[_0x5826[57]](_0x5826[117],parseInt(_0x1b20x9[_0x5826[124]][_0x5826[117]])),_0x1b20x4[_0x5826[57]](_0x5826[119],parseInt(_0x1b20x9[_0x5826[124]][_0x5826[119]]))):_0x5826[583]!=_0x1b20x4[_0x5826[124]][_0x5826[270]]&&_0x5826[116]!=_0x1b20x3&&_0x1b20x4[_0x5826[265]][_0x5826[266]](_0x1b20x4),_0x1b20x4=_0x1b20x19}};_0x1b20x5[_0x5826[506]][_0x5826[265]][_0x5826[266]](_0x1b20x5[_0x5826[506]]);this[_0x5826[1179]][_0x5826[995]](_0x1b20x17);this[_0x5826[1179]][_0x5826[526]]=_0x1b20xa;_0x1b20x5[_0x5826[510]]=_0x1b20x12;_0x1b20x5[_0x5826[2053]]=_0x1b20x13;_0x1b20x5[_0x5826[505]]=_0x1b20x14;_0x1b20x5[_0x5826[506]]=_0x1b20x15;_0x1b20x5[_0x5826[513]]=_0x1b20x18;_0x1b20x2[_0x5826[515]]();_0x1b20x5[_0x5826[504]](_0x1b20x16)}};mxPrintPreview[_0x5826[202]][_0x5826[2031]]=function(){return null};mxPrintPreview[_0x5826[202]][_0x5826[2032]]=function(){return null};mxPrintPreview[_0x5826[202]][_0x5826[540]]=function(){var _0x1b20x2=this[_0x5826[392]]();null!=_0x1b20x2&&_0x1b20x2[_0x5826[540]]()};mxPrintPreview[_0x5826[202]][_0x5826[268]]=function(){null!=this[_0x5826[2018]]&&(this[_0x5826[2018]][_0x5826[268]](),this[_0x5826[2018]]=null)};function mxStylesheet(){this[_0x5826[2054]]={};this[_0x5826[2056]](this[_0x5826[2055]]());this[_0x5826[2058]](this[_0x5826[2057]]())}mxStylesheet[_0x5826[202]][_0x5826[2055]]=function(){var _0x1b20x2={};_0x1b20x2[mxConstants[_0x5826[2059]]]=mxConstants[_0x5826[2060]];_0x1b20x2[mxConstants[_0x5826[2061]]]=mxPerimeter[_0x5826[2062]];_0x1b20x2[mxConstants[_0x5826[2063]]]=mxConstants[_0x5826[481]];_0x1b20x2[mxConstants[_0x5826[2064]]]=mxConstants[_0x5826[479]];_0x1b20x2[mxConstants[_0x5826[2065]]]=_0x5826[2066];_0x1b20x2[mxConstants[_0x5826[2067]]]=_0x5826[2068];_0x1b20x2[mxConstants[_0x5826[2069]]]=_0x5826[2070];return _0x1b20x2};mxStylesheet[_0x5826[202]][_0x5826[2057]]=function(){var _0x1b20x2={};_0x1b20x2[mxConstants[_0x5826[2059]]]=mxConstants[_0x5826[2071]];_0x1b20x2[mxConstants[_0x5826[1695]]]=mxConstants[_0x5826[1622]];_0x1b20x2[mxConstants[_0x5826[2063]]]=mxConstants[_0x5826[481]];_0x1b20x2[mxConstants[_0x5826[2064]]]=mxConstants[_0x5826[479]];_0x1b20x2[mxConstants[_0x5826[2067]]]=_0x5826[2068];_0x1b20x2[mxConstants[_0x5826[2069]]]=_0x5826[2072];return _0x1b20x2};mxStylesheet[_0x5826[202]][_0x5826[2056]]=function(_0x1b20x2){this[_0x5826[2074]](_0x5826[2073],_0x1b20x2)};mxStylesheet[_0x5826[202]][_0x5826[2058]]=function(_0x1b20x2){this[_0x5826[2074]](_0x5826[2075],_0x1b20x2)};mxStylesheet[_0x5826[202]][_0x5826[2076]]=function(){return this[_0x5826[2054]][_0x5826[2073]]};mxStylesheet[_0x5826[202]][_0x5826[2077]]=function(){return this[_0x5826[2054]][_0x5826[2075]]};mxStylesheet[_0x5826[202]][_0x5826[2074]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2054]][_0x1b20x2]=_0x1b20x3};mxStylesheet[_0x5826[202]][_0x5826[1705]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x3;if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){for(var _0x1b20x5=_0x1b20x2[_0x5826[224]](_0x5826[471]),_0x1b20x4=null!=_0x1b20x4&&_0x5826[471]!=_0x1b20x2[_0x5826[225]](0)?mxUtils[_0x5826[238]](_0x1b20x4):{},_0x1b20x9=0;_0x1b20x9<_0x1b20x5[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=_0x1b20x5[_0x1b20x9],_0x1b20x12=_0x1b20xa[_0x5826[2]](_0x5826[226]);if(0<=_0x1b20x12){var _0x1b20x13=_0x1b20xa[_0x5826[85]](0,_0x1b20x12),_0x1b20xa=_0x1b20xa[_0x5826[85]](_0x1b20x12+1);_0x1b20xa==mxConstants[_0x5826[217]]? delete _0x1b20x4[_0x1b20x13]:mxUtils[_0x5826[1946]](_0x1b20xa)?_0x1b20x4[_0x1b20x13]=parseFloat(_0x1b20xa):_0x1b20x4[_0x1b20x13]=_0x1b20xa}else {if(_0x1b20xa=this[_0x5826[2054]][_0x1b20xa],null!=_0x1b20xa){for(_0x1b20x13 in _0x1b20xa){_0x1b20x4[_0x1b20x13]=_0x1b20xa[_0x1b20x13]}}}}};return _0x1b20x4};function mxCellState(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[441]]=_0x1b20x2;this[_0x5826[246]]=_0x1b20x3;this[_0x5826[124]]=_0x1b20x4;this[_0x5826[2078]]= new mxPoint;this[_0x5826[2079]]= new mxPoint}mxCellState[_0x5826[202]]= new mxRectangle;mxCellState[_0x5826[202]][_0x5826[196]]=mxCellState;mxCellState[_0x5826[202]][_0x5826[441]]=null;mxCellState[_0x5826[202]][_0x5826[246]]=null;mxCellState[_0x5826[202]][_0x5826[124]]=null;mxCellState[_0x5826[202]][_0x5826[2080]]= !0;mxCellState[_0x5826[202]][_0x5826[2081]]= !1;mxCellState[_0x5826[202]][_0x5826[2082]]= !1;mxCellState[_0x5826[202]][_0x5826[2078]]=null;mxCellState[_0x5826[202]][_0x5826[439]]=null;mxCellState[_0x5826[202]][_0x5826[2079]]=null;mxCellState[_0x5826[202]][_0x5826[2083]]=null;mxCellState[_0x5826[202]][_0x5826[2084]]=null;mxCellState[_0x5826[202]][_0x5826[2085]]=0;mxCellState[_0x5826[202]][_0x5826[67]]=0;mxCellState[_0x5826[202]][_0x5826[2086]]=null;mxCellState[_0x5826[202]][_0x5826[253]]=null;mxCellState[_0x5826[202]][_0x5826[963]]=null;mxCellState[_0x5826[202]][_0x5826[2087]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=_0x1b20x2||0;_0x1b20x3=null!=_0x1b20x3?_0x1b20x3: new mxRectangle(this[_0x5826[235]],this[_0x5826[236]],this[_0x5826[117]],this[_0x5826[119]]);if(null!=this[_0x5826[253]]&&null!=this[_0x5826[253]][_0x5826[1561]]){var _0x1b20x4=this[_0x5826[253]][_0x5826[1561]][_0x5826[1548]](this[_0x5826[124]],_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]],_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]]);_0x1b20x3[_0x5826[235]]=_0x1b20x4[_0x5826[235]];_0x1b20x3[_0x5826[236]]=_0x1b20x4[_0x5826[236]];_0x1b20x3[_0x5826[117]]=this[_0x5826[253]][_0x5826[1561]][_0x5826[1532]]*_0x1b20x4[_0x5826[117]];_0x1b20x3[_0x5826[119]]=this[_0x5826[253]][_0x5826[1561]][_0x5826[1533]]*_0x1b20x4[_0x5826[119]]};0!=_0x1b20x2&&_0x1b20x3[_0x5826[244]](_0x1b20x2);return _0x1b20x3};mxCellState[_0x5826[202]][_0x5826[2088]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3?(null==this[_0x5826[439]]&&(this[_0x5826[439]]=[]),0==this[_0x5826[439]][_0x5826[67]]?this[_0x5826[439]][_0x5826[207]](_0x1b20x2):this[_0x5826[439]][0]=_0x1b20x2):null==this[_0x5826[439]]?(this[_0x5826[439]]=[],this[_0x5826[439]][_0x5826[207]](null),this[_0x5826[439]][_0x5826[207]](_0x1b20x2)):1==this[_0x5826[439]][_0x5826[67]]?this[_0x5826[439]][_0x5826[207]](_0x1b20x2):this[_0x5826[439]][this[_0x5826[439]][_0x5826[67]]-1]=_0x1b20x2};mxCellState[_0x5826[202]][_0x5826[1609]]=function(_0x1b20x2){null!=this[_0x5826[253]]&&this[_0x5826[253]][_0x5826[1609]](_0x1b20x2);null!=this[_0x5826[963]]&&this[_0x5826[963]][_0x5826[1609]](_0x1b20x2)};mxCellState[_0x5826[202]][_0x5826[1710]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[2089]](_0x1b20x2);return null!=_0x1b20x2?_0x1b20x2[_0x5826[246]]:null};mxCellState[_0x5826[202]][_0x5826[2089]]=function(_0x1b20x2){return _0x1b20x2?this[_0x5826[2083]]:this[_0x5826[2084]]};mxCellState[_0x5826[202]][_0x5826[2090]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3?this[_0x5826[2083]]=_0x1b20x2:this[_0x5826[2084]]=_0x1b20x2};mxCellState[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[441]][_0x5826[1179]][_0x5826[259]][_0x5826[515]](this)};mxCellState[_0x5826[202]][_0x5826[238]]=function(){var _0x1b20x2= new mxCellState(this[_0x5826[441]],this[_0x5826[246]],this[_0x5826[124]]);if(null!=this[_0x5826[439]]){_0x1b20x2[_0x5826[439]]=[];for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[439]][_0x5826[67]];_0x1b20x3++){_0x1b20x2[_0x5826[439]][_0x1b20x3]=this[_0x5826[439]][_0x1b20x3][_0x5826[238]]()}};null!=this[_0x5826[2078]]&&(_0x1b20x2[_0x5826[2078]]=this[_0x5826[2078]][_0x5826[238]]());null!=this[_0x5826[2079]]&&(_0x1b20x2[_0x5826[2079]]=this[_0x5826[2079]][_0x5826[238]]());null!=this[_0x5826[1563]]&&(_0x1b20x2[_0x5826[1563]]=this[_0x5826[1563]][_0x5826[238]]());_0x1b20x2[_0x5826[2085]]=this[_0x5826[2085]];_0x1b20x2[_0x5826[2086]]=this[_0x5826[2086]];_0x1b20x2[_0x5826[67]]=this[_0x5826[67]];_0x1b20x2[_0x5826[235]]=this[_0x5826[235]];_0x1b20x2[_0x5826[236]]=this[_0x5826[236]];_0x1b20x2[_0x5826[117]]=this[_0x5826[117]];_0x1b20x2[_0x5826[119]]=this[_0x5826[119]];return _0x1b20x2};function mxGraphSelectionModel(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[895]]=[]}mxGraphSelectionModel[_0x5826[202]]= new mxEventSource;mxGraphSelectionModel[_0x5826[202]][_0x5826[196]]=mxGraphSelectionModel;mxGraphSelectionModel[_0x5826[202]][_0x5826[2091]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[819]:_0x5826[110];mxGraphSelectionModel[_0x5826[202]][_0x5826[2092]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2093]:_0x5826[110];mxGraphSelectionModel[_0x5826[202]][_0x5826[1179]]=null;mxGraphSelectionModel[_0x5826[202]][_0x5826[2094]]= !1;mxGraphSelectionModel[_0x5826[202]][_0x5826[2095]]=function(){return this[_0x5826[2094]]};mxGraphSelectionModel[_0x5826[202]][_0x5826[2096]]=function(_0x1b20x2){this[_0x5826[2094]]=_0x1b20x2};mxGraphSelectionModel[_0x5826[202]][_0x5826[2097]]=function(_0x1b20x2){return null!=_0x1b20x2?0<=mxUtils[_0x5826[2]](this[_0x5826[895]],_0x1b20x2):!1};mxGraphSelectionModel[_0x5826[202]][_0x5826[1107]]=function(){return 0==this[_0x5826[895]][_0x5826[67]]};mxGraphSelectionModel[_0x5826[202]][_0x5826[200]]=function(){this[_0x5826[2098]](null,this[_0x5826[895]])};mxGraphSelectionModel[_0x5826[202]][_0x5826[2099]]=function(_0x1b20x2){null!=_0x1b20x2&&this[_0x5826[2100]]([_0x1b20x2])};mxGraphSelectionModel[_0x5826[202]][_0x5826[2100]]=function(_0x1b20x2){if(null!=_0x1b20x2){this[_0x5826[2094]]&&(_0x1b20x2=[this[_0x5826[2101]](_0x1b20x2)]);for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){this[_0x5826[1179]][_0x5826[2102]](_0x1b20x2[_0x1b20x4])&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])};this[_0x5826[2098]](_0x1b20x3,this[_0x5826[895]])}};mxGraphSelectionModel[_0x5826[202]][_0x5826[2101]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){if(this[_0x5826[1179]][_0x5826[2102]](_0x1b20x2[_0x1b20x3])){return _0x1b20x2[_0x1b20x3]}}};return null};mxGraphSelectionModel[_0x5826[202]][_0x5826[2103]]=function(_0x1b20x2){null!=_0x1b20x2&&this[_0x5826[832]]([_0x1b20x2])};mxGraphSelectionModel[_0x5826[202]][_0x5826[832]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=null;this[_0x5826[2094]]&&(_0x1b20x3=this[_0x5826[895]],_0x1b20x2=[this[_0x5826[2101]](_0x1b20x2)]);for(var _0x1b20x4=[],_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){!this[_0x5826[2097]](_0x1b20x2[_0x1b20x5])&&this[_0x5826[1179]][_0x5826[2102]](_0x1b20x2[_0x1b20x5])&&_0x1b20x4[_0x5826[207]](_0x1b20x2[_0x1b20x5])};this[_0x5826[2098]](_0x1b20x4,_0x1b20x3)}};mxGraphSelectionModel[_0x5826[202]][_0x5826[2104]]=function(_0x1b20x2){null!=_0x1b20x2&&this[_0x5826[842]]([_0x1b20x2])};mxGraphSelectionModel[_0x5826[202]][_0x5826[842]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){this[_0x5826[2097]](_0x1b20x2[_0x1b20x4])&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])};this[_0x5826[2098]](null,_0x1b20x3)}};mxGraphSelectionModel[_0x5826[202]][_0x5826[2098]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]&&null!=_0x1b20x2[0]||null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]&&null!=_0x1b20x3[0]){var _0x1b20x4= new mxSelectionChange(this,_0x1b20x2,_0x1b20x3);_0x1b20x4[_0x5826[350]]();var _0x1b20x5= new mxUndoableEdit(this,!1);_0x1b20x5[_0x5826[99]](_0x1b20x4);this[_0x5826[746]]( new mxEventObject(mxEvent.UNDO,_0x5826[1061],_0x1b20x5))}};mxGraphSelectionModel[_0x5826[202]][_0x5826[1941]]=function(_0x1b20x2){null!=_0x1b20x2&&!this[_0x5826[2097]](_0x1b20x2)&&this[_0x5826[895]][_0x5826[207]](_0x1b20x2)};mxGraphSelectionModel[_0x5826[202]][_0x5826[1102]]=function(_0x1b20x2){null!=_0x1b20x2&&(_0x1b20x2=mxUtils[_0x5826[2]](this[_0x5826[895]],_0x1b20x2),0<=_0x1b20x2&&this[_0x5826[895]][_0x5826[300]](_0x1b20x2,1))};function mxSelectionChange(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[2105]]=_0x1b20x2;this[_0x5826[2106]]=null!=_0x1b20x3?_0x1b20x3[_0x5826[1853]]():null;this[_0x5826[2107]]=null!=_0x1b20x4?_0x1b20x4[_0x5826[1853]]():null}mxSelectionChange[_0x5826[202]][_0x5826[350]]=function(){var _0x1b20x2=mxLog[_0x5826[2109]](_0x5826[2108]);window[_0x5826[879]]=mxResources[_0x5826[203]](this[_0x5826[2105]][_0x5826[2092]])||this[_0x5826[2105]][_0x5826[2092]];if(null!=this[_0x5826[2107]]){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[2107]][_0x5826[67]];_0x1b20x3++){this[_0x5826[2105]][_0x5826[1102]](this[_0x5826[2107]][_0x1b20x3])}};if(null!=this[_0x5826[2106]]){for(_0x1b20x3=0;_0x1b20x3<this[_0x5826[2106]][_0x5826[67]];_0x1b20x3++){this[_0x5826[2105]][_0x5826[1941]](this[_0x5826[2106]][_0x1b20x3])}};_0x1b20x3=this[_0x5826[2106]];this[_0x5826[2106]]=this[_0x5826[2107]];this[_0x5826[2107]]=_0x1b20x3;window[_0x5826[879]]=mxResources[_0x5826[203]](this[_0x5826[2105]][_0x5826[2091]])||this[_0x5826[2105]][_0x5826[2091]];mxLog[_0x5826[2110]](_0x5826[2108],_0x1b20x2);this[_0x5826[2105]][_0x5826[746]]( new mxEventObject(mxEvent.CHANGE,_0x5826[2106],this[_0x5826[2106]],_0x5826[2107],this[_0x5826[2107]]))};function mxCellEditor(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2}mxCellEditor[_0x5826[202]][_0x5826[1179]]=null;mxCellEditor[_0x5826[202]][_0x5826[126]]=null;mxCellEditor[_0x5826[202]][_0x5826[2111]]=null;mxCellEditor[_0x5826[202]][_0x5826[2112]]=null;mxCellEditor[_0x5826[202]][_0x5826[2113]]= !1;mxCellEditor[_0x5826[202]][_0x5826[2114]]= !0;mxCellEditor[_0x5826[202]][_0x5826[2115]]=_0x5826[110];mxCellEditor[_0x5826[202]][_0x5826[2116]]=_0x5826[110];mxCellEditor[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[126]]=document[_0x5826[55]](_0x5826[126]);this[_0x5826[126]][_0x5826[926]]=_0x5826[2117];this[_0x5826[126]][_0x5826[124]][_0x5826[491]]=_0x5826[492];this[_0x5826[126]][_0x5826[124]][_0x5826[277]]=_0x5826[189];this[_0x5826[126]][_0x5826[57]](_0x5826[2118],_0x5826[2119]);this[_0x5826[126]][_0x5826[57]](_0x5826[969],_0x5826[2120]);mxClient[_0x5826[133]]&&(this[_0x5826[126]][_0x5826[124]][_0x5826[129]]=_0x5826[130]);mxEvent[_0x5826[169]](this[_0x5826[126]],_0x5826[2121],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2122]]()}));mxEvent[_0x5826[169]](this[_0x5826[126]],_0x5826[2123],mxUtils[_0x5826[885]](this,function(_0x1b20x2){mxEvent[_0x5826[721]](_0x1b20x2)||(113==_0x1b20x2[_0x5826[2124]]||this[_0x5826[1179]][_0x5826[2125]]()&&13==_0x1b20x2[_0x5826[2124]]&&!mxEvent[_0x5826[775]](_0x1b20x2)&&!mxEvent[_0x5826[774]](_0x1b20x2)?(this[_0x5826[1179]][_0x5826[2126]](!1),mxEvent[_0x5826[722]](_0x1b20x2)):27==_0x1b20x2[_0x5826[2124]]?(this[_0x5826[1179]][_0x5826[2126]](!0),mxEvent[_0x5826[722]](_0x1b20x2)):(this[_0x5826[2127]]&&(this[_0x5826[2127]]= !1,this[_0x5826[126]][_0x5826[131]]=_0x5826[110]),this[_0x5826[2128]](!0)))}));mxEvent[_0x5826[169]](this[_0x5826[126]],_0x5826[2129],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2114]]&&!mxEvent[_0x5826[721]](_0x1b20x2)&&setTimeout(mxUtils[_0x5826[885]](this,function(){this[_0x5826[129]]()}),0)}))};mxCellEditor[_0x5826[202]][_0x5826[129]]=function(){if(null!=this[_0x5826[1653]]){var _0x1b20x2=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](this[_0x5826[2111]]),_0x1b20x3=this[_0x5826[1179]][_0x5826[2130]](_0x1b20x2[_0x5826[246]]),_0x1b20x4=this[_0x5826[1179]][_0x5826[2131]](_0x1b20x2[_0x5826[246]]);if(this[_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]])){this[_0x5826[1562]][_0x5826[235]]=_0x1b20x2[_0x5826[2079]][_0x5826[235]],this[_0x5826[1562]][_0x5826[236]]=_0x1b20x2[_0x5826[2079]][_0x5826[236]],this[_0x5826[1562]][_0x5826[117]]=0,this[_0x5826[1562]][_0x5826[119]]=0}else {if(null!=this[_0x5826[1562]]){this[_0x5826[1562]][_0x5826[235]]=_0x1b20x2[_0x5826[235]];this[_0x5826[1562]][_0x5826[236]]=_0x1b20x2[_0x5826[236]];this[_0x5826[1562]][_0x5826[117]]=_0x1b20x2[_0x5826[117]];this[_0x5826[1562]][_0x5826[119]]=_0x1b20x2[_0x5826[119]];var _0x1b20x5=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0x1b20x5==mxConstants[_0x5826[2132]]?this[_0x5826[1562]][_0x5826[235]]-=_0x1b20x2[_0x5826[117]]:_0x1b20x5==mxConstants[_0x5826[480]]&&(this[_0x5826[1562]][_0x5826[235]]+=_0x1b20x2[_0x5826[117]]);_0x1b20x5=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0x1b20x5==mxConstants[_0x5826[1687]]?this[_0x5826[1562]][_0x5826[236]]-=_0x1b20x2[_0x5826[119]]:_0x1b20x5==mxConstants[_0x5826[482]]&&(this[_0x5826[1562]][_0x5826[236]]+=_0x1b20x2[_0x5826[119]])}};_0x1b20x5=this[_0x5826[126]][_0x5826[131]];if(_0x5826[192]==_0x1b20x5[_0x5826[225]](_0x1b20x5[_0x5826[67]]-1)||_0x5826[110]==_0x1b20x5){_0x1b20x5+=_0x5826[544]};_0x1b20x5=mxUtils[_0x5826[321]](_0x1b20x5,!1);_0x1b20x4?(this[_0x5826[1653]][_0x5826[124]][_0x5826[493]]=_0x5826[1502],this[_0x5826[1653]][_0x5826[124]][_0x5826[117]]=this[_0x5826[1562]][_0x5826[117]]+_0x5826[168]):_0x1b20x5=_0x1b20x5[_0x5826[230]](/ /g,_0x5826[544]);_0x1b20x5=_0x1b20x5[_0x5826[230]](/\n/g,_0x5826[1453]);this[_0x5826[1653]][_0x5826[339]]=_0x1b20x5;var _0x1b20x5=this[_0x5826[1653]][_0x5826[359]]+30,_0x1b20x9=this[_0x5826[1653]][_0x5826[167]]+16,_0x1b20x5=Math[_0x5826[160]](_0x1b20x5,40),_0x1b20x9=Math[_0x5826[160]](_0x1b20x9,20);_0x1b20x3&&(_0x1b20x5=Math[_0x5826[243]](this[_0x5826[1562]][_0x5826[117]]-4,_0x1b20x5),_0x1b20x9=Math[_0x5826[243]](this[_0x5826[1562]][_0x5826[119]],_0x1b20x9));var _0x1b20xa=null!=_0x1b20x2[_0x5826[963]]?_0x1b20x2[_0x5826[963]][_0x5826[1655]]:null;null==_0x1b20xa&&(_0x1b20xa=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),_0x1b20x2=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x1b20xa=mxUtils[_0x5826[1501]](_0x1b20xa,_0x1b20x2));if(null!=_0x1b20xa){if(_0x1b20x3|| !_0x1b20x4){this[_0x5826[126]][_0x5826[124]][_0x5826[361]]=Math[_0x5826[160]](0,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[235]]-_0x1b20xa[_0x5826[235]]*this[_0x5826[1562]][_0x5826[117]]+_0x1b20xa[_0x5826[235]]*_0x1b20x5)-3)+_0x5826[168]};this[_0x5826[126]][_0x5826[124]][_0x5826[125]]=Math[_0x5826[160]](0,Math[_0x5826[488]](this[_0x5826[1562]][_0x5826[236]]-_0x1b20xa[_0x5826[236]]*this[_0x5826[1562]][_0x5826[119]]+_0x1b20xa[_0x5826[236]]*_0x1b20x9)+4)+_0x5826[168]};if(_0x1b20x3|| !_0x1b20x4){this[_0x5826[126]][_0x5826[124]][_0x5826[117]]=_0x1b20x5+_0x5826[168]};this[_0x5826[126]][_0x5826[124]][_0x5826[119]]=_0x1b20x9+_0x5826[168]}};mxCellEditor[_0x5826[202]][_0x5826[2133]]=function(){return this[_0x5826[2113]]};mxCellEditor[_0x5826[202]][_0x5826[2128]]=function(_0x1b20x2){this[_0x5826[2113]]=_0x1b20x2};mxCellEditor[_0x5826[202]][_0x5826[2122]]=function(){this[_0x5826[2126]](!this[_0x5826[1179]][_0x5826[2134]]())};mxCellEditor[_0x5826[202]][_0x5826[855]]=function(_0x1b20x2,_0x1b20x3){null==this[_0x5826[126]]&&this[_0x5826[176]]();this[_0x5826[2126]](!0);var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);if(null!=_0x1b20x4){this[_0x5826[2111]]=_0x1b20x2;this[_0x5826[2112]]=_0x1b20x3;this[_0x5826[2116]]=null;null!=_0x1b20x4[_0x5826[963]]&&this[_0x5826[2135]](_0x1b20x4)&&(this[_0x5826[2116]]=_0x1b20x4[_0x5826[963]][_0x5826[252]],this[_0x5826[2116]][_0x5826[124]][_0x5826[187]]=_0x5826[188]);var _0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x5=mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)*_0x1b20x5,_0x1b20x9=mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),_0x1b20xa=mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTCOLOR,_0x5826[586]),_0x1b20x12=mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),_0x1b20x13=(mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0x5826[1410]])==mxConstants[_0x5826[1410]],_0x1b20x14=(mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0x5826[1412]])==mxConstants[_0x5826[1412]],_0x1b20x15=(mxUtils[_0x5826[433]](_0x1b20x4[_0x5826[124]],mxConstants.STYLE_FONTSTYLE,0)&mxConstants[_0x5826[1414]])==mxConstants[_0x5826[1414]];this[_0x5826[126]][_0x5826[124]][_0x5826[487]]=Math[_0x5826[488]](_0x1b20x5)+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[489]]=Math[_0x5826[488]](_0x1b20x5*mxConstants[_0x5826[490]])+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[486]]=_0x1b20x9;this[_0x5826[126]][_0x5826[124]][_0x5826[1165]]=_0x1b20x12;this[_0x5826[126]][_0x5826[124]][_0x5826[352]]=_0x1b20xa;this[_0x5826[126]][_0x5826[124]][_0x5826[1452]]=_0x1b20x13?_0x5826[1447]:_0x5826[1502];this[_0x5826[126]][_0x5826[124]][_0x5826[666]]=_0x1b20x14?_0x5826[1449]:_0x5826[110];this[_0x5826[126]][_0x5826[124]][_0x5826[354]]=_0x1b20x15?_0x5826[355]:_0x5826[110];this[_0x5826[126]][_0x5826[124]][_0x5826[277]]=_0x5826[278];this[_0x5826[126]][_0x5826[124]][_0x5826[2136]]=_0x5826[130];this[_0x5826[1562]]=_0x1b20x5=this[_0x5826[2137]](_0x1b20x4);this[_0x5826[126]][_0x5826[124]][_0x5826[361]]=_0x1b20x5[_0x5826[235]]+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[125]]=_0x1b20x5[_0x5826[236]]+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[117]]=_0x1b20x5[_0x5826[117]]+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[119]]=_0x1b20x5[_0x5826[119]]+_0x5826[168];this[_0x5826[126]][_0x5826[124]][_0x5826[931]]=5;_0x1b20x4=this[_0x5826[2138]](_0x1b20x4,_0x1b20x3);null==_0x1b20x4||0==_0x1b20x4[_0x5826[67]]?(_0x1b20x4=this[_0x5826[2139]](),this[_0x5826[2127]]= !0):this[_0x5826[2127]]= !1;this[_0x5826[2128]](!1);this[_0x5826[126]][_0x5826[131]]=_0x1b20x4;this[_0x5826[1179]][_0x5826[526]][_0x5826[62]](this[_0x5826[126]]);_0x5826[130]!=this[_0x5826[126]][_0x5826[124]][_0x5826[495]]&&(this[_0x5826[2114]]&&(this[_0x5826[1653]]=this[_0x5826[2140]](),document[_0x5826[112]][_0x5826[62]](this[_0x5826[1653]]),this[_0x5826[129]]()),this[_0x5826[126]][_0x5826[393]](),this[_0x5826[126]][_0x5826[804]]())}};mxCellEditor[_0x5826[202]][_0x5826[2140]]=function(){var _0x1b20x2=document[_0x5826[55]](_0x5826[485]),_0x1b20x3=_0x1b20x2[_0x5826[124]];_0x1b20x3[_0x5826[491]]=_0x5826[492];_0x1b20x3[_0x5826[493]]=_0x5826[494];_0x1b20x3[_0x5826[187]]=_0x5826[188];_0x1b20x3[_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498];_0x1b20x3[_0x5826[499]]=_0x5826[500];_0x1b20x3[_0x5826[123]]=_0x5826[125];_0x1b20x3[_0x5826[489]]=this[_0x5826[126]][_0x5826[124]][_0x5826[489]];_0x1b20x3[_0x5826[487]]=this[_0x5826[126]][_0x5826[124]][_0x5826[487]];_0x1b20x3[_0x5826[486]]=this[_0x5826[126]][_0x5826[124]][_0x5826[486]];_0x1b20x3[_0x5826[1452]]=this[_0x5826[126]][_0x5826[124]][_0x5826[1452]];_0x1b20x3[_0x5826[1165]]=this[_0x5826[126]][_0x5826[124]][_0x5826[1165]];_0x1b20x3[_0x5826[666]]=this[_0x5826[126]][_0x5826[124]][_0x5826[666]];_0x1b20x3[_0x5826[354]]=this[_0x5826[126]][_0x5826[124]][_0x5826[354]];return _0x1b20x2};mxCellEditor[_0x5826[202]][_0x5826[2126]]=function(_0x1b20x2){null!=this[_0x5826[2111]]&&(null!=this[_0x5826[2116]]&&(this[_0x5826[2116]][_0x5826[124]][_0x5826[187]]=_0x5826[189],this[_0x5826[2116]]=null),!_0x1b20x2&&this[_0x5826[2133]]()&&this[_0x5826[1179]][_0x5826[850]](this[_0x5826[2111]],this[_0x5826[2141]](),this[_0x5826[2112]]),null!=this[_0x5826[1653]]&&(document[_0x5826[112]][_0x5826[266]](this[_0x5826[1653]]),this[_0x5826[1653]]=null),this[_0x5826[1562]]=this[_0x5826[2112]]=this[_0x5826[2111]]=null,this[_0x5826[126]][_0x5826[2121]](),this[_0x5826[126]][_0x5826[265]][_0x5826[266]](this[_0x5826[126]]))};mxCellEditor[_0x5826[202]][_0x5826[2138]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[1179]][_0x5826[2142]](_0x1b20x2[_0x5826[246]],_0x1b20x3)};mxCellEditor[_0x5826[202]][_0x5826[2141]]=function(){return this[_0x5826[126]][_0x5826[131]][_0x5826[230]](/\r/g,_0x5826[110])};mxCellEditor[_0x5826[202]][_0x5826[2135]]=function(_0x1b20x2){return !0};mxCellEditor[_0x5826[202]][_0x5826[939]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]];return new mxRectangle(0,0,null==_0x1b20x2[_0x5826[963]]?30:_0x1b20x2[_0x5826[963]][_0x5826[803]]*_0x1b20x3+20,_0x5826[361]==this[_0x5826[126]][_0x5826[124]][_0x5826[1165]]?120:40)};mxCellEditor[_0x5826[202]][_0x5826[2137]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]),_0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x5=this[_0x5826[939]](_0x1b20x2),_0x1b20x9=_0x1b20x5[_0x5826[117]],_0x1b20x5=_0x1b20x5[_0x5826[119]],_0x1b20xa=parseInt(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2143]]]||2)*_0x1b20x4,_0x1b20x12=parseInt(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2144]]]||0)*_0x1b20x4+_0x1b20xa,_0x1b20x13=parseInt(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2145]]]||0)*_0x1b20x4+_0x1b20xa,_0x1b20x14=parseInt(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2146]]]||0)*_0x1b20x4+_0x1b20xa,_0x1b20x4=parseInt(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2147]]]||0)*_0x1b20x4+_0x1b20xa,_0x1b20x13= new mxRectangle(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],Math[_0x5826[160]](_0x1b20x9,_0x1b20x2[_0x5826[117]]-_0x1b20x4-_0x1b20x13),Math[_0x5826[160]](_0x1b20x5,_0x1b20x2[_0x5826[119]]-_0x1b20x12-_0x1b20x14));_0x1b20x3?(_0x1b20x13[_0x5826[235]]=_0x1b20x2[_0x5826[2079]][_0x5826[235]],_0x1b20x13[_0x5826[236]]=_0x1b20x2[_0x5826[2079]][_0x5826[236]],null!=_0x1b20x2[_0x5826[963]]&&null!=_0x1b20x2[_0x5826[963]][_0x5826[1563]]&&(0<_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[235]]&&(_0x1b20x13[_0x5826[235]]=_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[235]]),0<_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[236]]&&(_0x1b20x13[_0x5826[236]]=_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[236]]))):null!=_0x1b20x2[_0x5826[963]]&&null!=_0x1b20x2[_0x5826[963]][_0x5826[1563]]&&(_0x1b20x13[_0x5826[235]]=Math[_0x5826[243]](_0x1b20x13[_0x5826[235]],_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[235]]),_0x1b20x13[_0x5826[236]]=Math[_0x5826[243]](_0x1b20x13[_0x5826[236]],_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[236]]));_0x1b20x13[_0x5826[235]]+=_0x1b20x4;_0x1b20x13[_0x5826[236]]+=_0x1b20x12;null!=_0x1b20x2[_0x5826[963]]&&null!=_0x1b20x2[_0x5826[963]][_0x5826[1563]]&&(_0x1b20x3?(_0x1b20x13[_0x5826[117]]=Math[_0x5826[160]](_0x1b20x9,_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[117]]),_0x1b20x13[_0x5826[119]]=Math[_0x5826[160]](_0x1b20x5,_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[119]])):(_0x1b20x13[_0x5826[117]]=Math[_0x5826[160]](_0x1b20x13[_0x5826[117]],_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[117]]),_0x1b20x13[_0x5826[119]]=Math[_0x5826[160]](_0x1b20x13[_0x5826[119]],_0x1b20x2[_0x5826[963]][_0x5826[1563]][_0x5826[119]])));this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1193]](_0x1b20x2[_0x5826[246]])&&(_0x1b20x3=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),_0x1b20x3==mxConstants[_0x5826[2132]]?_0x1b20x13[_0x5826[235]]-=_0x1b20x2[_0x5826[117]]:_0x1b20x3==mxConstants[_0x5826[480]]&&(_0x1b20x13[_0x5826[235]]+=_0x1b20x2[_0x5826[117]]),_0x1b20x3=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),_0x1b20x3==mxConstants[_0x5826[1687]]?_0x1b20x13[_0x5826[236]]-=_0x1b20x2[_0x5826[119]]:_0x1b20x3==mxConstants[_0x5826[482]]&&(_0x1b20x13[_0x5826[236]]+=_0x1b20x2[_0x5826[119]]));return _0x1b20x13};mxCellEditor[_0x5826[202]][_0x5826[2139]]=function(_0x1b20x2){return this[_0x5826[2115]]};mxCellEditor[_0x5826[202]][_0x5826[2148]]=function(){return this[_0x5826[2111]]};mxCellEditor[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[126]]&&(mxEvent[_0x5826[762]](this[_0x5826[126]]),null!=this[_0x5826[126]][_0x5826[265]]&&this[_0x5826[126]][_0x5826[265]][_0x5826[266]](this[_0x5826[126]]),this[_0x5826[126]]=null)};function mxCellRenderer(){}mxCellRenderer[_0x5826[202]][_0x5826[2149]]=mxConnector;mxCellRenderer[_0x5826[202]][_0x5826[2150]]=mxRectangleShape;mxCellRenderer[_0x5826[202]][_0x5826[2151]]=mxText;mxCellRenderer[_0x5826[202]][_0x5826[2152]]= !0;mxCellRenderer[_0x5826[202]][_0x5826[2153]]={};mxCellRenderer[_0x5826[2154]]=function(_0x1b20x2,_0x1b20x3){mxCellRenderer[_0x5826[202]][_0x5826[2153]][_0x1b20x2]=_0x1b20x3};mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_RECTANGLE,mxRectangleShape);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_HEXAGON,mxHexagon);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_LINE,mxLine);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_IMAGE,mxImageShape);mxCellRenderer[_0x5826[2154]](mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer[_0x5826[202]][_0x5826[2155]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]();if(null!=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[526]]&&null==_0x1b20x2[_0x5826[253]]&&_0x1b20x2[_0x5826[246]]!=_0x1b20x2[_0x5826[441]][_0x5826[1741]]&&(_0x1b20x4[_0x5826[1193]](_0x1b20x2[_0x5826[246]])||_0x1b20x4[_0x5826[250]](_0x1b20x2[_0x5826[246]]))){if(this[_0x5826[2156]](_0x1b20x2),null!=_0x1b20x2[_0x5826[253]]&&(null==_0x1b20x3||_0x1b20x3)){this[_0x5826[2157]](_0x1b20x2),_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2158]]||_0x1b20x4[_0x5826[250]](_0x1b20x2[_0x5826[246]])?_0x1b20x2[_0x5826[2081]]= !0:_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2159]]&&null!=this[_0x5826[2160]]&&(this[_0x5826[2160]][_0x5826[265]]==_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]]?this[_0x5826[2161]](_0x1b20x2,this[_0x5826[2160]]):this[_0x5826[2160]]=null),_0x1b20x2[_0x5826[253]][_0x5826[255]]=_0x1b20x2[_0x5826[441]][_0x5826[255]],this[_0x5826[2162]](_0x1b20x2),this[_0x5826[2163]](_0x1b20x2)}}};mxCellRenderer[_0x5826[202]][_0x5826[2157]]=function(_0x1b20x2){_0x1b20x2[_0x5826[253]][_0x5826[176]](_0x1b20x2[_0x5826[441]][_0x5826[2024]]())};mxCellRenderer[_0x5826[202]][_0x5826[2164]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=null,_0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x9=_0x1b20x5[_0x5826[502]](),_0x1b20xa=_0x1b20x2[_0x5826[246]],_0x1b20x12=_0x1b20x9[_0x5826[1197]](_0x1b20xa);null!=_0x1b20x12&&null==_0x1b20x4;){_0x1b20x4=this[_0x5826[2165]](_0x1b20x5,_0x1b20x12,_0x1b20xa,_0x1b20x3),_0x1b20xa=_0x1b20x12,_0x1b20x12=_0x1b20x9[_0x5826[1197]](_0x1b20xa)};return _0x1b20x4};mxCellRenderer[_0x5826[202]][_0x5826[2165]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null,_0x1b20xa=_0x1b20x2[_0x5826[502]]();for(_0x1b20x4=null!=_0x1b20x4?_0x1b20x3[_0x5826[1738]](_0x1b20x4)-1:_0x1b20xa[_0x5826[262]](_0x1b20x3)-1;0<=_0x1b20x4&&null==_0x1b20x9;_0x1b20x4--){_0x1b20x9=this[_0x5826[2165]](_0x1b20x2,_0x1b20xa[_0x5826[263]](_0x1b20x3,_0x1b20x4),null,_0x1b20x5)};if(null==_0x1b20x9&&(_0x1b20x9=_0x1b20x2[_0x5826[441]][_0x5826[248]](_0x1b20x3),null!=_0x1b20x9&&(null==_0x1b20x9[_0x5826[253]]||null==_0x1b20x9[_0x5826[253]][_0x5826[252]]||_0x1b20x9[_0x5826[253]][_0x5826[252]][_0x5826[265]]!=_0x1b20x5))){_0x1b20x9=null};return _0x1b20x9};mxCellRenderer[_0x5826[202]][_0x5826[2166]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]],_0x1b20x4=this[_0x5826[2164]](_0x1b20x2,_0x1b20x3),_0x1b20x5=_0x1b20x3[_0x5826[285]];null!=_0x1b20x4&&(_0x1b20x5=_0x1b20x4[_0x5826[253]][_0x5826[252]],null!=_0x1b20x4[_0x5826[963]]&&(null!=_0x1b20x4[_0x5826[963]][_0x5826[252]]&&_0x1b20x4[_0x5826[963]][_0x5826[252]][_0x5826[265]]==_0x1b20x3)&&(_0x1b20x5=_0x1b20x4[_0x5826[963]][_0x5826[252]]),_0x1b20x5=_0x1b20x5[_0x5826[287]]);this[_0x5826[2161]](_0x1b20x2,_0x1b20x5)};mxCellRenderer[_0x5826[202]][_0x5826[2167]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]],_0x1b20x4=_0x1b20x3[_0x5826[1179]][_0x5826[502]]();if(_0x1b20x3[_0x5826[1179]][_0x5826[2159]]){if(null==this[_0x5826[2160]]||null==this[_0x5826[2160]][_0x5826[265]]||this[_0x5826[2160]][_0x5826[265]]!=_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]]){this[_0x5826[2160]]=_0x1b20x2[_0x5826[253]][_0x5826[252]]}}else {if(_0x1b20x3[_0x5826[1179]][_0x5826[2168]]){var _0x1b20x5=_0x1b20x2[_0x5826[253]][_0x5826[252]],_0x1b20x9=_0x1b20x5[_0x5826[265]],_0x1b20x4=_0x1b20x4[_0x5826[1197]](_0x1b20x2[_0x5826[246]]),_0x1b20x3=_0x1b20x3[_0x5826[248]](_0x1b20x4),_0x1b20x9=null!=_0x1b20x3&&null!=_0x1b20x3[_0x5826[253]]&&null!=_0x1b20x3[_0x5826[253]][_0x5826[252]]?_0x1b20x3[_0x5826[253]][_0x5826[252]][_0x5826[287]]:_0x1b20x9[_0x5826[285]];null!=_0x1b20x9&&_0x1b20x9!=_0x1b20x5&&this[_0x5826[2161]](_0x1b20x2,_0x1b20x9)}}};mxCellRenderer[_0x5826[202]][_0x5826[2161]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[950]](_0x1b20x2[_0x5826[253]][_0x5826[252]],_0x1b20x3);null!=_0x1b20x2[_0x5826[963]]&&(null!=_0x1b20x2[_0x5826[963]][_0x5826[252]]&&_0x1b20x2[_0x5826[963]][_0x5826[252]][_0x5826[265]]==_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]])&&_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[950]](_0x1b20x2[_0x5826[963]][_0x5826[252]],_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[287]])};mxCellRenderer[_0x5826[202]][_0x5826[2156]]=function(_0x1b20x2){if(null!=_0x1b20x2[_0x5826[124]]){var _0x1b20x3=mxStencilRegistry[_0x5826[1560]](_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2059]]]);null!=_0x1b20x3?_0x1b20x2[_0x5826[253]]= new mxShape(_0x1b20x3):(_0x1b20x3=this[_0x5826[2169]](_0x1b20x2),_0x1b20x2[_0x5826[253]]= new _0x1b20x3);_0x1b20x2[_0x5826[253]][_0x5826[1525]]=_0x1b20x2[_0x5826[439]];_0x1b20x2[_0x5826[253]][_0x5826[1562]]= new mxRectangle(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],_0x1b20x2[_0x5826[117]],_0x1b20x2[_0x5826[119]]);_0x1b20x2[_0x5826[253]][_0x5826[507]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[507]];this[_0x5826[2170]](_0x1b20x2)}};mxCellRenderer[_0x5826[202]][_0x5826[2171]]=function(_0x1b20x2){return null!=_0x1b20x2?mxCellRenderer[_0x5826[202]][_0x5826[2153]][_0x1b20x2]:null};mxCellRenderer[_0x5826[202]][_0x5826[2169]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[2171]](_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2059]]]);null==_0x1b20x3&&(_0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]])?this[_0x5826[2149]]:this[_0x5826[2150]]);return _0x1b20x3};mxCellRenderer[_0x5826[202]][_0x5826[2170]]=function(_0x1b20x2){_0x1b20x2[_0x5826[253]][_0x5826[183]](_0x1b20x2);_0x1b20x2[_0x5826[253]][_0x5826[618]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[1202]](_0x1b20x2);_0x1b20x2[_0x5826[253]][_0x5826[630]]=this[_0x5826[2171]](_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2172]](_0x1b20x2));_0x1b20x2[_0x5826[253]][_0x5826[632]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2173]](_0x1b20x2);_0x1b20x2[_0x5826[253]][_0x5826[634]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2174]](_0x1b20x2);_0x1b20x2[_0x5826[253]][_0x5826[638]]=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2175]]];_0x1b20x2[_0x5826[253]][_0x5826[631]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2176]](_0x1b20x2);this[_0x5826[2177]](_0x1b20x2)};mxCellRenderer[_0x5826[202]][_0x5826[2177]]=function(_0x1b20x2){null!=_0x1b20x2[_0x5826[253]]&&(this[_0x5826[2178]](_0x1b20x2,_0x5826[632],mxConstants.STYLE_FILLCOLOR),this[_0x5826[2178]](_0x1b20x2,_0x5826[634],mxConstants.STYLE_GRADIENTCOLOR),this[_0x5826[2178]](_0x1b20x2,_0x5826[1334],mxConstants.STYLE_FILLCOLOR),this[_0x5826[2178]](_0x1b20x2,_0x5826[1336],mxConstants.STYLE_STROKECOLOR),this[_0x5826[2178]](_0x1b20x2,_0x5826[1299],mxConstants.STYLE_GRADIENTCOLOR))};mxCellRenderer[_0x5826[202]][_0x5826[2178]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[253]][_0x1b20x3],_0x1b20x9=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20xa=null;_0x5826[1549]==_0x1b20x5?_0x1b20xa=_0x1b20x9[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x5826[246]]):_0x5826[687]==_0x1b20x5?(_0x1b20xa=null!=_0x1b20x9[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x5826[246]],!1)?_0x1b20x9[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x5826[246]],!1):_0x1b20x2[_0x5826[246]],_0x1b20xa=_0x1b20x9[_0x5826[2179]](_0x1b20xa),_0x1b20x4=_0x1b20x9[_0x5826[2180]]):_0x5826[2181]==_0x1b20x5&&(_0x1b20x2[_0x5826[253]][_0x1b20x3]=_0x1b20x2[_0x5826[253]][_0x5826[632]]);null!=_0x1b20xa&&(_0x1b20x5=_0x1b20x9[_0x5826[249]]()[_0x5826[248]](_0x1b20xa),_0x1b20x2[_0x5826[253]][_0x1b20x3]=null,null!=_0x1b20x5&&(_0x1b20x2[_0x5826[253]][_0x1b20x3]=null!=_0x1b20x5[_0x5826[253]]&&_0x5826[632]!=_0x1b20x3?_0x1b20x5[_0x5826[253]][_0x1b20x3]:_0x1b20x5[_0x5826[124]][_0x1b20x4]))};mxCellRenderer[_0x5826[202]][_0x5826[2182]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2183]](_0x1b20x2[_0x5826[246]])};mxCellRenderer[_0x5826[202]][_0x5826[2184]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[441]][_0x5826[1179]];_0x1b20x4[_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]);if(0<_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2185]]]||null==_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2185]]]){var _0x1b20x5=_0x1b20x4[_0x5826[2186]](_0x1b20x2[_0x5826[246]])||null!=_0x1b20x3&&mxUtils[_0x5826[1331]](_0x1b20x3);_0x1b20x2[_0x5826[963]]= new this[_0x5826[2151]](_0x1b20x3, new mxRectangle,_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2064]]]||mxConstants[_0x5826[479]],_0x1b20x4[_0x5826[2187]](_0x1b20x2),_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2069]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2188]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2185]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2189]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2143]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2144]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2145]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2146]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2147]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2190]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2191]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2192]]],_0x1b20x4[_0x5826[2131]](_0x1b20x2[_0x5826[246]])&&_0x1b20x4[_0x5826[2186]](_0x1b20x2[_0x5826[246]]),_0x1b20x4[_0x5826[2130]](_0x1b20x2[_0x5826[246]]),_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2193]]],_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2194]]]);_0x1b20x2[_0x5826[963]][_0x5826[461]]=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_TEXT_OPACITY,100);_0x1b20x2[_0x5826[963]][_0x5826[507]]=_0x1b20x5?mxConstants[_0x5826[1656]]:_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[507]];_0x1b20x2[_0x5826[963]][_0x5826[724]]=_0x1b20x2;this[_0x5826[2195]](_0x1b20x2);var _0x1b20x9=!1,_0x1b20xa=function(_0x1b20x3){var _0x1b20x5=_0x1b20x2;if(mxClient[_0x5826[754]]||_0x1b20x9){_0x1b20x5=mxEvent[_0x5826[731]](_0x1b20x3),_0x1b20x3=mxEvent[_0x5826[733]](_0x1b20x3),_0x1b20x3=mxUtils[_0x5826[2196]](_0x1b20x4[_0x5826[526]],_0x1b20x5,_0x1b20x3),_0x1b20x5=_0x1b20x4[_0x5826[441]][_0x5826[248]](_0x1b20x4[_0x5826[999]](_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]]))};return _0x1b20x5};mxEvent[_0x5826[759]](_0x1b20x2[_0x5826[963]][_0x5826[252]],mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2197]](_0x1b20x2,_0x1b20x3)&&(_0x1b20x4[_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x3,_0x1b20x2)),_0x1b20x9=_0x1b20x4[_0x5826[507]]!=mxConstants[_0x5826[508]]&&_0x5826[2198]==mxEvent[_0x5826[728]](_0x1b20x3)[_0x5826[301]])}),mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2197]](_0x1b20x2,_0x1b20x3)&&_0x1b20x4[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x3,_0x1b20xa(_0x1b20x3)))}),mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2197]](_0x1b20x2,_0x1b20x3)&&(_0x1b20x4[_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x3,_0x1b20xa(_0x1b20x3))),_0x1b20x9= !1)}));mxEvent[_0x5826[169]](_0x1b20x2[_0x5826[963]][_0x5826[252]],_0x5826[760],mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2197]](_0x1b20x2,_0x1b20x3)&&(_0x1b20x4[_0x5826[761]](_0x1b20x3,_0x1b20x2[_0x5826[246]]),mxEvent[_0x5826[722]](_0x1b20x3))}))}};mxCellRenderer[_0x5826[202]][_0x5826[2195]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]];_0x1b20x2[_0x5826[963]][_0x5826[507]]!=mxConstants[_0x5826[508]]&&(mxClient[_0x5826[48]]&&mxClient[_0x5826[2199]]?_0x1b20x2[_0x5826[963]][_0x5826[176]](_0x1b20x3[_0x5826[526]]):mxUtils[_0x5826[458]](_0x1b20x2[_0x5826[441]][_0x5826[2024]]())&&(null!=_0x1b20x2[_0x5826[253]][_0x5826[685]]?_0x1b20x2[_0x5826[963]][_0x5826[176]](_0x1b20x2[_0x5826[253]][_0x5826[685]]):_0x1b20x2[_0x5826[963]][_0x5826[176]](_0x1b20x2[_0x5826[253]][_0x5826[252]])));null==_0x1b20x2[_0x5826[963]][_0x5826[252]]&&(_0x1b20x2[_0x5826[963]][_0x5826[176]](_0x1b20x2[_0x5826[441]][_0x5826[2024]]()),null!=_0x1b20x2[_0x5826[253]]&&null!=_0x1b20x2[_0x5826[963]]&&_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[950]](_0x1b20x2[_0x5826[963]][_0x5826[252]],_0x1b20x2[_0x5826[253]][_0x5826[252]][_0x5826[287]]))};mxCellRenderer[_0x5826[202]][_0x5826[2162]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2200]](_0x1b20x2[_0x5826[246]]),_0x1b20x4=null;if(null!=_0x1b20x3){for(var _0x1b20x4= new mxDictionary,_0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=null!=_0x1b20x2[_0x5826[1211]]?_0x1b20x2[_0x5826[1211]][_0x5826[205]](_0x1b20x3[_0x1b20x5]):null;null==_0x1b20x9&&(_0x1b20x9= new mxImageShape( new mxRectangle,_0x1b20x3[_0x1b20x5][_0x5826[618]][_0x5826[390]]),_0x1b20x9[_0x5826[507]]=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[507]],_0x1b20x9[_0x5826[1674]]= !1,_0x1b20x9[_0x5826[2201]]=_0x1b20x3[_0x1b20x5],this[_0x5826[2023]](_0x1b20x2,_0x1b20x9),this[_0x5826[2202]](_0x1b20x2,_0x1b20x3[_0x1b20x5],_0x1b20x9),null!=_0x1b20x3[_0x1b20x5][_0x5826[270]]&&(_0x1b20x9[_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x1b20x3[_0x1b20x5][_0x5826[270]]));_0x1b20x4[_0x5826[204]](_0x1b20x3[_0x1b20x5],_0x1b20x9)}};null!=_0x1b20x2[_0x5826[1211]]&&_0x1b20x2[_0x5826[1211]][_0x5826[209]](function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[515]]()});_0x1b20x2[_0x5826[1211]]=_0x1b20x4};mxCellRenderer[_0x5826[202]][_0x5826[2023]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[176]](_0x1b20x2[_0x5826[441]][_0x5826[1524]]())};mxCellRenderer[_0x5826[202]][_0x5826[2202]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[1179]];mxEvent[_0x5826[169]](_0x1b20x4[_0x5826[252]],_0x5826[173],function(_0x1b20x4){_0x1b20x5[_0x5826[2203]]()&&_0x1b20x5[_0x5826[2126]](!_0x1b20x5[_0x5826[2134]]());_0x1b20x3[_0x5826[746]]( new mxEventObject(mxEvent.CLICK,_0x5826[763],_0x1b20x4,_0x5826[246],_0x1b20x2[_0x5826[246]]))});mxEvent[_0x5826[759]](_0x1b20x4[_0x5826[252]],function(_0x1b20x2){mxEvent[_0x5826[722]](_0x1b20x2)},function(_0x1b20x3){_0x1b20x5[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x3,_0x1b20x2))});mxClient[_0x5826[754]]&&mxEvent[_0x5826[169]](_0x1b20x4[_0x5826[252]],_0x5826[757],function(_0x1b20x4){_0x1b20x3[_0x5826[746]]( new mxEventObject(mxEvent.CLICK,_0x5826[763],_0x1b20x4,_0x5826[246],_0x1b20x2[_0x5826[246]]))})};mxCellRenderer[_0x5826[202]][_0x5826[2204]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x4=_0x1b20x3[_0x5826[2205]](_0x1b20x2);if(_0x1b20x3[_0x5826[2206]]&&null!=_0x1b20x4){if(null==_0x1b20x2[_0x5826[2207]]){var _0x1b20x5= new mxRectangle(0,0,_0x1b20x4[_0x5826[117]],_0x1b20x4[_0x5826[119]]);_0x1b20x2[_0x5826[2207]]= new mxImageShape(_0x1b20x5,_0x1b20x4[_0x5826[390]]);_0x1b20x2[_0x5826[2207]][_0x5826[1674]]= !1;_0x1b20x2[_0x5826[2207]][_0x5826[507]]=_0x1b20x3[_0x5826[507]];this[_0x5826[2208]](_0x1b20x2,_0x1b20x2[_0x5826[2207]],!0,function(_0x1b20x4){if(_0x1b20x3[_0x5826[994]]()){var _0x1b20x5=!_0x1b20x3[_0x5826[1742]](_0x1b20x2[_0x5826[246]]);_0x1b20x3[_0x5826[847]](_0x1b20x5,!1,[_0x1b20x2[_0x5826[246]]]);mxEvent[_0x5826[722]](_0x1b20x4)}})}}else {null!=_0x1b20x2[_0x5826[2207]]&&(_0x1b20x2[_0x5826[2207]][_0x5826[515]](),_0x1b20x2[_0x5826[2207]]=null)}};mxCellRenderer[_0x5826[202]][_0x5826[2208]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[441]][_0x5826[1179]];_0x1b20x9[_0x5826[2186]](_0x1b20x2[_0x5826[246]])&&mxClient[_0x5826[2199]]&&_0x1b20x9[_0x5826[507]]==mxConstants[_0x5826[508]]?(_0x1b20x3[_0x5826[507]]=mxConstants[_0x5826[2209]],_0x1b20x3[_0x5826[176]](_0x1b20x9[_0x5826[526]]),_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[931]]=1):_0x1b20x3[_0x5826[176]](_0x1b20x2[_0x5826[441]][_0x5826[1524]]());_0x1b20x3=_0x1b20x3[_0x5826[2210]]||_0x1b20x3[_0x5826[252]];_0x1b20x5&&(_0x1b20x9[_0x5826[994]]()&&(_0x1b20x3[_0x5826[124]][_0x5826[270]]=_0x5826[356]),mxEvent[_0x5826[169]](_0x1b20x3,_0x5826[173],_0x1b20x5));_0x1b20x4&&mxEvent[_0x5826[759]](_0x1b20x3,function(_0x1b20x3){_0x1b20x9[_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x3,_0x1b20x2));mxEvent[_0x5826[722]](_0x1b20x3)},function(_0x1b20x3){_0x1b20x9[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x3,_0x1b20x2))});return _0x1b20x3};mxCellRenderer[_0x5826[202]][_0x5826[2211]]=function(_0x1b20x2,_0x1b20x3){return !0};mxCellRenderer[_0x5826[202]][_0x5826[2197]]=function(_0x1b20x2,_0x1b20x3){return !0};mxCellRenderer[_0x5826[202]][_0x5826[2163]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x4=function(_0x1b20x4){var _0x1b20x5=_0x1b20x2;if(_0x1b20x3[_0x5826[507]]!=mxConstants[_0x5826[508]]&&_0x5826[2198]==mxEvent[_0x5826[728]](_0x1b20x4)[_0x5826[301]]||mxClient[_0x5826[754]]){_0x1b20x5=mxEvent[_0x5826[731]](_0x1b20x4),_0x1b20x4=mxEvent[_0x5826[733]](_0x1b20x4),_0x1b20x4=mxUtils[_0x5826[2196]](_0x1b20x3[_0x5826[526]],_0x1b20x5,_0x1b20x4),_0x1b20x5=_0x1b20x3[_0x5826[441]][_0x5826[248]](_0x1b20x3[_0x5826[999]](_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]]))};return _0x1b20x5},_0x1b20x5=!1;mxEvent[_0x5826[169]](_0x1b20x2[_0x5826[253]][_0x5826[252]],_0x5826[2212],mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x3[_0x5826[2213]]=0;_0x1b20x5= !0;mxEvent[_0x5826[722]](_0x1b20x2)}));mxEvent[_0x5826[759]](_0x1b20x2[_0x5826[253]][_0x5826[252]],mxUtils[_0x5826[885]](this,function(_0x1b20x4){this[_0x5826[2211]](_0x1b20x2,_0x1b20x4)&&!_0x1b20x5?_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x4,null!=_0x1b20x2[_0x5826[253]]&&mxEvent[_0x5826[728]](_0x1b20x4)==_0x1b20x2[_0x5826[253]][_0x5826[905]]?null:_0x1b20x2)):_0x1b20x5&&mxEvent[_0x5826[722]](_0x1b20x4)}),mxUtils[_0x5826[885]](this,function(_0x1b20x9){this[_0x5826[2211]](_0x1b20x2,_0x1b20x9)&&!_0x1b20x5?_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x9,null!=_0x1b20x2[_0x5826[253]]&&mxEvent[_0x5826[728]](_0x1b20x9)==_0x1b20x2[_0x5826[253]][_0x5826[905]]?null:_0x1b20x4(_0x1b20x9))):_0x1b20x5&&mxEvent[_0x5826[722]](_0x1b20x9)}),mxUtils[_0x5826[885]](this,function(_0x1b20x9){this[_0x5826[2211]](_0x1b20x2,_0x1b20x9)&&!_0x1b20x5?_0x1b20x3[_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x9,null!=_0x1b20x2[_0x5826[253]]&&mxEvent[_0x5826[728]](_0x1b20x9)==_0x1b20x2[_0x5826[253]][_0x5826[905]]?null:_0x1b20x4(_0x1b20x9))):_0x1b20x5&&mxEvent[_0x5826[722]](_0x1b20x9)}));var _0x1b20x9=mxClient[_0x5826[754]]?_0x5826[2214]:_0x5826[760];mxEvent[_0x5826[169]](_0x1b20x2[_0x5826[253]][_0x5826[252]],_0x1b20x9,mxUtils[_0x5826[885]](this,function(_0x1b20x4){_0x1b20x5= !1;_0x5826[2214]==_0x1b20x9?(_0x1b20x3[_0x5826[2213]]=0,_0x1b20x3[_0x5826[2215]]&&(_0x1b20x3[_0x5826[2216]](_0x1b20x2,_0x1b20x4),mxEvent[_0x5826[722]](_0x1b20x4))):this[_0x5826[2211]](_0x1b20x2,_0x1b20x4)&&(_0x1b20x3[_0x5826[761]](_0x1b20x4,null!=_0x1b20x2[_0x5826[253]]&&mxEvent[_0x5826[728]](_0x1b20x4)==_0x1b20x2[_0x5826[253]][_0x5826[905]]?null:_0x1b20x2[_0x5826[246]]),mxEvent[_0x5826[722]](_0x1b20x4))}))};mxCellRenderer[_0x5826[202]][_0x5826[2217]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[2182]](_0x1b20x2);if(null==_0x1b20x2[_0x5826[963]]&&null!=_0x1b20x4&&(mxUtils[_0x5826[1331]](_0x1b20x4)||0<_0x1b20x4[_0x5826[67]])){this[_0x5826[2184]](_0x1b20x2,_0x1b20x4)}else {if(null!=_0x1b20x2[_0x5826[963]]&&(null==_0x1b20x4||0==_0x1b20x4[_0x5826[67]])){_0x1b20x2[_0x5826[963]][_0x5826[515]](),_0x1b20x2[_0x5826[963]]=null}};if(null!=_0x1b20x2[_0x5826[963]]){var _0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x9=_0x1b20x5[_0x5826[2131]](_0x1b20x2[_0x5826[246]]),_0x1b20x5=_0x1b20x5[_0x5826[2130]](_0x1b20x2[_0x5826[246]]),_0x1b20xa=this[_0x5826[2218]](_0x1b20x2);if(_0x1b20x3||_0x1b20x2[_0x5826[963]][_0x5826[131]]!=_0x1b20x4||_0x1b20x2[_0x5826[963]][_0x5826[2131]]!=_0x1b20x9||_0x1b20x2[_0x5826[963]][_0x5826[2219]]!=_0x1b20x5||_0x1b20x2[_0x5826[963]][_0x5826[255]]!=_0x1b20x2[_0x5826[441]][_0x5826[255]]||!_0x1b20x2[_0x5826[963]][_0x5826[1562]][_0x5826[237]](_0x1b20xa)){_0x1b20x2[_0x5826[963]][_0x5826[131]]=_0x1b20x4,_0x1b20x2[_0x5826[963]][_0x5826[1562]]=_0x1b20xa,_0x1b20x2[_0x5826[963]][_0x5826[255]]=this[_0x5826[2220]](_0x1b20x2),_0x1b20x2[_0x5826[963]][_0x5826[2131]]=_0x1b20x9,_0x1b20x2[_0x5826[963]][_0x5826[2219]]=_0x1b20x5,_0x1b20x2[_0x5826[963]][_0x5826[258]]()}}};mxCellRenderer[_0x5826[202]][_0x5826[2220]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[441]][_0x5826[255]]};mxCellRenderer[_0x5826[202]][_0x5826[2218]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x4=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x5=_0x1b20x3[_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]),_0x1b20x9= new mxRectangle(_0x1b20x2[_0x5826[2079]][_0x5826[235]],_0x1b20x2[_0x5826[2079]][_0x5826[236]]);_0x1b20x2[_0x5826[963]][_0x5826[1672]]();_0x1b20x5?(_0x1b20x5=_0x1b20x2[_0x5826[963]][_0x5826[1673]](),_0x1b20x9[_0x5826[235]]+=_0x1b20x5[_0x5826[235]]*_0x1b20x4,_0x1b20x9[_0x5826[236]]+=_0x1b20x5[_0x5826[236]]*_0x1b20x4,_0x1b20x3=_0x1b20x3[_0x5826[1198]](_0x1b20x2[_0x5826[246]]),null!=_0x1b20x3&&(_0x1b20x9[_0x5826[117]]=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[963]][_0x5826[1655]][_0x5826[235]]*_0x1b20x3[_0x5826[117]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[659]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[661]]*_0x1b20x4),_0x1b20x9[_0x5826[119]]=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[963]][_0x5826[1655]][_0x5826[236]]*_0x1b20x3[_0x5826[119]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[658]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[660]]*_0x1b20x4))):(_0x1b20x2[_0x5826[963]][_0x5826[1590]]()&&(_0x1b20x5=_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[235]]=_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[236]]=_0x1b20x5),_0x1b20x9[_0x5826[235]]+=_0x1b20x2[_0x5826[235]],_0x1b20x9[_0x5826[236]]+=_0x1b20x2[_0x5826[236]],_0x1b20x9[_0x5826[117]]=Math[_0x5826[160]](1,_0x1b20x2[_0x5826[117]]),_0x1b20x9[_0x5826[119]]=Math[_0x5826[160]](1,_0x1b20x2[_0x5826[119]]),_0x1b20x3[_0x5826[1730]](_0x1b20x2[_0x5826[246]])&&(_0x1b20x3=_0x1b20x3[_0x5826[1731]](_0x1b20x2[_0x5826[246]]),0<_0x1b20x3[_0x5826[117]]?(_0x1b20x5=Math[_0x5826[243]](_0x1b20x9[_0x5826[117]],_0x1b20x3[_0x5826[117]]*_0x1b20x4),_0x1b20x2[_0x5826[253]][_0x5826[623]]&&(_0x1b20x9[_0x5826[235]]+=_0x1b20x9[_0x5826[117]]-_0x1b20x5),_0x1b20x9[_0x5826[117]]=_0x1b20x5):0<_0x1b20x3[_0x5826[119]]&&(_0x1b20x5=Math[_0x5826[243]](_0x1b20x9[_0x5826[119]],_0x1b20x3[_0x5826[119]]*_0x1b20x4),_0x1b20x2[_0x5826[253]][_0x5826[624]]&&(_0x1b20x9[_0x5826[236]]+=_0x1b20x9[_0x5826[119]]-_0x1b20x5),_0x1b20x9[_0x5826[119]]=_0x1b20x5)),this[_0x5826[2221]](_0x1b20x2,_0x1b20x9));return _0x1b20x9};mxCellRenderer[_0x5826[202]][_0x5826[2221]]=function(_0x1b20x2,_0x1b20x3){if(_0x1b20x2[_0x5826[963]][_0x5826[1590]]()){var _0x1b20x4=(_0x1b20x2[_0x5826[117]]-_0x1b20x2[_0x5826[119]])/2;_0x1b20x3[_0x5826[235]]+=_0x1b20x4;_0x1b20x3[_0x5826[236]]-=_0x1b20x4;_0x1b20x4=_0x1b20x3[_0x5826[117]];_0x1b20x3[_0x5826[117]]=_0x1b20x3[_0x5826[119]];_0x1b20x3[_0x5826[119]]=_0x1b20x4};_0x1b20x3[_0x5826[235]]-=_0x1b20x2[_0x5826[963]][_0x5826[1655]][_0x5826[235]]*_0x1b20x3[_0x5826[117]];_0x1b20x3[_0x5826[236]]-=_0x1b20x2[_0x5826[963]][_0x5826[1655]][_0x5826[236]]*_0x1b20x3[_0x5826[119]];if(_0x5826[1334]!=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2193]]]){var _0x1b20x4=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x5=_0x1b20x2[_0x5826[963]][_0x5826[1673]]();_0x1b20x3[_0x5826[235]]+=_0x1b20x5[_0x5826[235]]*_0x1b20x4;_0x1b20x3[_0x5826[236]]+=_0x1b20x5[_0x5826[236]]*_0x1b20x4;_0x1b20x3[_0x5826[117]]=Math[_0x5826[160]](0,_0x1b20x3[_0x5826[117]]-_0x1b20x2[_0x5826[963]][_0x5826[659]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[661]]*_0x1b20x4);_0x1b20x3[_0x5826[119]]=Math[_0x5826[160]](0,_0x1b20x3[_0x5826[119]]-_0x1b20x2[_0x5826[963]][_0x5826[658]]*_0x1b20x4-_0x1b20x2[_0x5826[963]][_0x5826[660]]*_0x1b20x4)};var _0x1b20x9=_0x1b20x2[_0x5826[963]][_0x5826[1615]]();if(0!=_0x1b20x9&&(null!=_0x1b20x2&&_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[251]][_0x5826[1193]](_0x1b20x2[_0x5826[246]]))&&(_0x1b20x4=_0x1b20x2[_0x5826[241]](),_0x1b20x5=_0x1b20x2[_0x5826[242]](),_0x1b20x3[_0x5826[235]]!=_0x1b20x4||_0x1b20x3[_0x5826[236]]!=_0x1b20x5)){_0x1b20x9*=Math[_0x5826[424]]/180,pt=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]]),Math[_0x5826[426]](_0x1b20x9),Math[_0x5826[427]](_0x1b20x9), new mxPoint(_0x1b20x4,_0x1b20x5)),_0x1b20x3[_0x5826[235]]=pt[_0x5826[235]],_0x1b20x3[_0x5826[236]]=pt[_0x5826[236]]}};mxCellRenderer[_0x5826[202]][_0x5826[2222]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2162]](_0x1b20x2);if(null!=_0x1b20x2[_0x5826[1211]]){var _0x1b20x4=mxUtils[_0x5826[1454]](mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION,0),90),_0x1b20x5=mxUtils[_0x5826[431]](_0x1b20x4),_0x1b20x9=Math[_0x5826[426]](_0x1b20x5),_0x1b20xa=Math[_0x5826[427]](_0x1b20x5);_0x1b20x2[_0x5826[1211]][_0x5826[209]](function(_0x1b20x5,_0x1b20x13){var _0x1b20x14=_0x1b20x13[_0x5826[2201]][_0x5826[1799]](_0x1b20x2);if(!_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]])&&null!=_0x1b20x2[_0x5826[253]]&&0!=_0x1b20x4){var _0x1b20x15=_0x1b20x14[_0x5826[241]](),_0x1b20x16=_0x1b20x14[_0x5826[242]](),_0x1b20x16=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x15,_0x1b20x16),_0x1b20x9,_0x1b20xa, new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]())),_0x1b20x15=_0x1b20x16[_0x5826[235]],_0x1b20x16=_0x1b20x16[_0x5826[236]];_0x1b20x14[_0x5826[235]]=Math[_0x5826[488]](_0x1b20x15-_0x1b20x14[_0x5826[117]]/2);_0x1b20x14[_0x5826[236]]=Math[_0x5826[488]](_0x1b20x16-_0x1b20x14[_0x5826[119]]/2)};if(_0x1b20x3||null==_0x1b20x13[_0x5826[1562]]||_0x1b20x13[_0x5826[255]]!=_0x1b20x2[_0x5826[441]][_0x5826[255]]||!_0x1b20x13[_0x5826[1562]][_0x5826[237]](_0x1b20x14)){_0x1b20x13[_0x5826[1562]]=_0x1b20x14,_0x1b20x13[_0x5826[255]]=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x13[_0x5826[258]]()}})}};mxCellRenderer[_0x5826[202]][_0x5826[2223]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2[_0x5826[2207]]){var _0x1b20x4=this[_0x5826[2224]](_0x1b20x2),_0x1b20x5=this[_0x5826[2152]]?mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION,0):_0x1b20x2[_0x5826[253]][_0x5826[1615]](),_0x1b20x9=_0x1b20x2[_0x5826[441]][_0x5826[255]];if(_0x1b20x3||_0x1b20x2[_0x5826[2207]][_0x5826[255]]!=_0x1b20x9||!_0x1b20x2[_0x5826[2207]][_0x5826[1562]][_0x5826[237]](_0x1b20x4)||_0x1b20x2[_0x5826[2207]][_0x5826[603]]!=_0x1b20x5){_0x1b20x2[_0x5826[2207]][_0x5826[603]]=_0x1b20x5,_0x1b20x2[_0x5826[2207]][_0x5826[1562]]=_0x1b20x4,_0x1b20x2[_0x5826[2207]][_0x5826[255]]=_0x1b20x9,_0x1b20x2[_0x5826[2207]][_0x5826[258]]()}}};mxCellRenderer[_0x5826[202]][_0x5826[2224]]=function(_0x1b20x2){if(null!=_0x1b20x2[_0x5826[2207]]){var _0x1b20x3=_0x1b20x2[_0x5826[2207]][_0x5826[255]],_0x1b20x4=_0x1b20x2[_0x5826[2207]][_0x5826[1562]][_0x5826[117]]/_0x1b20x3,_0x1b20x3=_0x1b20x2[_0x5826[2207]][_0x5826[1562]][_0x5826[119]]/_0x1b20x3,_0x1b20x5=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x9=_0x1b20x2[_0x5826[241]](),_0x1b20xa=_0x1b20x2[_0x5826[242]]();if(!_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]])&&(_0x1b20x9=_0x1b20x2[_0x5826[235]]+_0x1b20x4*_0x1b20x5,_0x1b20xa=_0x1b20x2[_0x5826[236]]+_0x1b20x3*_0x1b20x5,null!=_0x1b20x2[_0x5826[253]])){var _0x1b20x12=_0x1b20x2[_0x5826[253]][_0x5826[1598]]();if(this[_0x5826[2152]]){_0x1b20x12=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION,0)}else {if(_0x1b20x2[_0x5826[253]][_0x5826[1590]]()){var _0x1b20x13=(_0x1b20x2[_0x5826[117]]-_0x1b20x2[_0x5826[119]])/2,_0x1b20x9=_0x1b20x9+_0x1b20x13,_0x1b20xa=_0x1b20xa-_0x1b20x13}};0!=_0x1b20x12&&(_0x1b20x13=mxUtils[_0x5826[431]](_0x1b20x12),_0x1b20x12=Math[_0x5826[426]](_0x1b20x13),_0x1b20x13=Math[_0x5826[427]](_0x1b20x13),_0x1b20xa=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x9,_0x1b20xa),_0x1b20x12,_0x1b20x13, new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]())),_0x1b20x9=_0x1b20xa[_0x5826[235]],_0x1b20xa=_0x1b20xa[_0x5826[236]])};return _0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]), new mxRectangle(Math[_0x5826[488]](_0x1b20x9-_0x1b20x4/2*_0x1b20x5),Math[_0x5826[488]](_0x1b20xa-_0x1b20x3/2*_0x1b20x5),Math[_0x5826[488]](_0x1b20x4*_0x1b20x5),Math[_0x5826[488]](_0x1b20x3*_0x1b20x5))};return null};mxCellRenderer[_0x5826[202]][_0x5826[258]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2[_0x5826[253]]){var _0x1b20x5=!1;_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]);reconfigure=null!=_0x1b20x3?_0x1b20x3:!1;this[_0x5826[2204]](_0x1b20x2);if(_0x1b20x2[_0x5826[2082]]||_0x1b20x2[_0x5826[2081]]){_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[2158]]?this[_0x5826[2166]](_0x1b20x2):this[_0x5826[2167]](_0x1b20x2)};if(_0x1b20x2[_0x5826[2082]]||!mxUtils[_0x5826[2225]](_0x1b20x2[_0x5826[253]][_0x5826[124]],_0x1b20x2[_0x5826[124]])){this[_0x5826[2170]](_0x1b20x2),_0x1b20x3= !0};delete _0x1b20x2[_0x5826[2081]];delete _0x1b20x2[_0x5826[2082]];if(_0x1b20x3||null==_0x1b20x2[_0x5826[253]][_0x5826[1562]]||_0x1b20x2[_0x5826[253]][_0x5826[255]]!=_0x1b20x2[_0x5826[441]][_0x5826[255]]||!_0x1b20x2[_0x5826[253]][_0x5826[1562]][_0x5826[237]](_0x1b20x2)||!mxUtils[_0x5826[2226]](_0x1b20x2[_0x5826[253]][_0x5826[1525]],_0x1b20x2[_0x5826[439]])){_0x1b20x5= !0,_0x1b20x2[_0x5826[253]][_0x5826[1525]]=null!=_0x1b20x2[_0x5826[439]]?_0x1b20x2[_0x5826[439]][_0x5826[1853]]():null,_0x1b20x2[_0x5826[253]][_0x5826[1562]]= new mxRectangle(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],_0x1b20x2[_0x5826[117]],_0x1b20x2[_0x5826[119]]),_0x1b20x2[_0x5826[253]][_0x5826[255]]=_0x1b20x2[_0x5826[441]][_0x5826[255]],null==_0x1b20x4||_0x1b20x4?_0x1b20x2[_0x5826[253]][_0x5826[258]]():_0x1b20x2[_0x5826[253]][_0x5826[1577]]()};if(null==_0x1b20x4||_0x1b20x4){this[_0x5826[2217]](_0x1b20x2,_0x1b20x5),this[_0x5826[2222]](_0x1b20x2,_0x1b20x5),this[_0x5826[2223]](_0x1b20x2,_0x1b20x5)}}};mxCellRenderer[_0x5826[202]][_0x5826[515]]=function(_0x1b20x2){null!=_0x1b20x2[_0x5826[253]]&&(null!=_0x1b20x2[_0x5826[963]]&&(_0x1b20x2[_0x5826[963]][_0x5826[515]](),_0x1b20x2[_0x5826[963]]=null),null!=_0x1b20x2[_0x5826[1211]]&&(_0x1b20x2[_0x5826[1211]][_0x5826[209]](function(_0x1b20x2,_0x1b20x4){_0x1b20x4[_0x5826[515]]()}),_0x1b20x2[_0x5826[1211]]=null),null!=_0x1b20x2[_0x5826[2207]]&&(_0x1b20x2[_0x5826[2207]][_0x5826[515]](),_0x1b20x2[_0x5826[2207]]=null),_0x1b20x2[_0x5826[253]][_0x5826[515]](),_0x1b20x2[_0x5826[253]]=null)};var mxEdgeStyle={EntityRelation:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x2[_0x5826[441]],_0x1b20x12=_0x1b20xa[_0x5826[1179]];_0x1b20x5=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)*_0x1b20xa[_0x5826[255]];var _0x1b20x13=_0x1b20x2[_0x5826[439]],_0x1b20x14=_0x1b20x13[0],_0x1b20x15=_0x1b20x13[_0x1b20x13[_0x5826[67]]-1],_0x1b20x13=!1;if(null!=_0x1b20x14){_0x1b20x3= new mxCellState,_0x1b20x3[_0x5826[235]]=_0x1b20x14[_0x5826[235]],_0x1b20x3[_0x5826[236]]=_0x1b20x14[_0x5826[236]]}else {if(null!=_0x1b20x3){var _0x1b20x16=mxUtils[_0x5826[2227]](_0x1b20x3,_0x1b20x2,!0,mxConstants.DIRECTION_MASK_NONE);_0x1b20x16!=mxConstants[_0x5826[434]]?_0x1b20x13=_0x1b20x16==mxConstants[_0x5826[436]]:(_0x1b20x14=_0x1b20x12[_0x5826[1198]](_0x1b20x3[_0x5826[246]]),_0x1b20x14[_0x5826[1500]]?_0x1b20x13=0.5>=_0x1b20x14[_0x5826[235]]:null!=_0x1b20x4&&(_0x1b20x13=_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]<_0x1b20x3[_0x5826[235]]))}else {return}};_0x1b20x14= !0;null!=_0x1b20x15?(_0x1b20x4= new mxCellState,_0x1b20x4[_0x5826[235]]=_0x1b20x15[_0x5826[235]],_0x1b20x4[_0x5826[236]]=_0x1b20x15[_0x5826[236]]):null!=_0x1b20x4&&(_0x1b20x16=mxUtils[_0x5826[2227]](_0x1b20x4,_0x1b20x2,!1,mxConstants.DIRECTION_MASK_NONE),_0x1b20x16!=mxConstants[_0x5826[434]]?_0x1b20x14=_0x1b20x16==mxConstants[_0x5826[436]]:(_0x1b20x2=_0x1b20x12[_0x5826[1198]](_0x1b20x4[_0x5826[246]]),_0x1b20x2[_0x5826[1500]]?_0x1b20x14=0.5>=_0x1b20x2[_0x5826[235]]:null!=_0x1b20x3&&(_0x1b20x14=_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]]<_0x1b20x4[_0x5826[235]])));null!=_0x1b20x3&&null!=_0x1b20x4&&(_0x1b20x2=_0x1b20x13?_0x1b20x3[_0x5826[235]]:_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x3=_0x1b20xa[_0x5826[2228]](_0x1b20x3),_0x1b20x12=_0x1b20x14?_0x1b20x4[_0x5826[235]]:_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]],_0x1b20x4=_0x1b20xa[_0x5826[2228]](_0x1b20x4),_0x1b20xa= new mxPoint(_0x1b20x2+(_0x1b20x13?-_0x1b20x5:_0x1b20x5),_0x1b20x3),_0x1b20x15= new mxPoint(_0x1b20x12+(_0x1b20x14?-_0x1b20x5:_0x1b20x5),_0x1b20x4),_0x1b20x13==_0x1b20x14?(_0x1b20x5=_0x1b20x13?Math[_0x5826[243]](_0x1b20x2,_0x1b20x12)-_0x1b20x5:Math[_0x5826[160]](_0x1b20x2,_0x1b20x12)+_0x1b20x5,_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x5,_0x1b20x3)),_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x5,_0x1b20x4))):(_0x1b20xa[_0x5826[235]]<_0x1b20x15[_0x5826[235]]==_0x1b20x13?(_0x1b20x5=_0x1b20x3+(_0x1b20x4-_0x1b20x3)/2,_0x1b20x9[_0x5826[207]](_0x1b20xa),_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20xa[_0x5826[235]],_0x1b20x5)),_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x15[_0x5826[235]],_0x1b20x5))):_0x1b20x9[_0x5826[207]](_0x1b20xa),_0x1b20x9[_0x5826[207]](_0x1b20x15)))},Loop:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x3){_0x1b20x4=_0x1b20x2[_0x5826[441]];var _0x1b20xa=_0x1b20x4[_0x5826[1179]];_0x1b20x5=null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]?_0x1b20x5[0]:null;null!=_0x1b20x5&&(_0x1b20x5=_0x1b20x4[_0x5826[2229]](_0x1b20x2,_0x1b20x5),mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x5[_0x5826[235]],_0x1b20x5[_0x5826[236]])&&(_0x1b20x5=null));var _0x1b20x12=0,_0x1b20x13=0,_0x1b20x14=0,_0x1b20x15=0,_0x1b20xa=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_SEGMENT,_0x1b20xa[_0x5826[1020]])*_0x1b20x4[_0x5826[255]];_0x1b20x2=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);_0x1b20x2==mxConstants[_0x5826[1358]]||_0x1b20x2==mxConstants[_0x5826[1354]]?(_0x1b20x12=_0x1b20x4[_0x5826[2230]](_0x1b20x3),_0x1b20x13=_0x1b20xa):(_0x1b20x14=_0x1b20x4[_0x5826[2228]](_0x1b20x3),_0x1b20x15=_0x1b20xa);null==_0x1b20x5||_0x1b20x5[_0x5826[235]]<_0x1b20x3[_0x5826[235]]||_0x1b20x5[_0x5826[235]]>_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]]?null!=_0x1b20x5?(_0x1b20x12=_0x1b20x5[_0x5826[235]],_0x1b20x15=Math[_0x5826[160]](Math[_0x5826[425]](_0x1b20x14-_0x1b20x5[_0x5826[236]]),_0x1b20x15)):_0x1b20x2==mxConstants[_0x5826[1358]]?_0x1b20x14=_0x1b20x3[_0x5826[236]]-2*_0x1b20x13:_0x1b20x2==mxConstants[_0x5826[1354]]?_0x1b20x14=_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]]+2*_0x1b20x13:_0x1b20x12=_0x1b20x2==mxConstants[_0x5826[1356]]?_0x1b20x3[_0x5826[235]]-2*_0x1b20x15:_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]]+2*_0x1b20x15:null!=_0x1b20x5&&(_0x1b20x12=_0x1b20x4[_0x5826[2230]](_0x1b20x3),_0x1b20x13=Math[_0x5826[160]](Math[_0x5826[425]](_0x1b20x12-_0x1b20x5[_0x5826[235]]),_0x1b20x15),_0x1b20x14=_0x1b20x5[_0x5826[236]],_0x1b20x15=0);_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x12-_0x1b20x13,_0x1b20x14-_0x1b20x15));_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x12+_0x1b20x13,_0x1b20x14+_0x1b20x15))}},ElbowConnector:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]?_0x1b20x5[0]:null,_0x1b20x12=!1,_0x1b20x13=!1;if(null!=_0x1b20x3&&null!=_0x1b20x4){if(null!=_0x1b20xa){var _0x1b20x14=Math[_0x5826[243]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]),_0x1b20x15=Math[_0x5826[160]](_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]),_0x1b20x13=Math[_0x5826[243]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]),_0x1b20x16=Math[_0x5826[160]](_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]),_0x1b20xa=_0x1b20x2[_0x5826[441]][_0x5826[2229]](_0x1b20x2,_0x1b20xa),_0x1b20x12=_0x1b20xa[_0x5826[236]]<_0x1b20x13||_0x1b20xa[_0x5826[236]]>_0x1b20x16,_0x1b20x13=_0x1b20xa[_0x5826[235]]<_0x1b20x14||_0x1b20xa[_0x5826[235]]>_0x1b20x15}else {_0x1b20x14=Math[_0x5826[160]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]),_0x1b20x15=Math[_0x5826[243]](_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]),_0x1b20x12=_0x1b20x14==_0x1b20x15,_0x1b20x12||(_0x1b20x13=Math[_0x5826[160]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]),_0x1b20x16=Math[_0x5826[243]](_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]),_0x1b20x13=_0x1b20x13==_0x1b20x16)}};!_0x1b20x13&&(_0x1b20x12||_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2231]]]==mxConstants[_0x5826[2232]])?mxEdgeStyle.TopToBottom(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9):mxEdgeStyle.SideToSide(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)},SideToSide:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x2[_0x5826[441]];_0x1b20x5=null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]?_0x1b20x5[0]:null;var _0x1b20x12=_0x1b20x2[_0x5826[439]],_0x1b20x13=_0x1b20x12[0],_0x1b20x12=_0x1b20x12[_0x1b20x12[_0x5826[67]]-1];null!=_0x1b20x5&&(_0x1b20x5=_0x1b20xa[_0x5826[2229]](_0x1b20x2,_0x1b20x5));null!=_0x1b20x13&&(_0x1b20x3= new mxCellState,_0x1b20x3[_0x5826[235]]=_0x1b20x13[_0x5826[235]],_0x1b20x3[_0x5826[236]]=_0x1b20x13[_0x5826[236]]);null!=_0x1b20x12&&(_0x1b20x4= new mxCellState,_0x1b20x4[_0x5826[235]]=_0x1b20x12[_0x5826[235]],_0x1b20x4[_0x5826[236]]=_0x1b20x12[_0x5826[236]]);null!=_0x1b20x3&&null!=_0x1b20x4&&(_0x1b20x2=Math[_0x5826[160]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]),_0x1b20x13=Math[_0x5826[243]](_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]),_0x1b20x2=null!=_0x1b20x5?_0x1b20x5[_0x5826[235]]:_0x1b20x13+(_0x1b20x2-_0x1b20x13)/2,_0x1b20x13=_0x1b20xa[_0x5826[2228]](_0x1b20x3),_0x1b20xa=_0x1b20xa[_0x5826[2228]](_0x1b20x4),null!=_0x1b20x5&&(_0x1b20x5[_0x5826[236]]>=_0x1b20x3[_0x5826[236]]&&_0x1b20x5[_0x5826[236]]<=_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]]&&(_0x1b20x13=_0x1b20x5[_0x5826[236]]),_0x1b20x5[_0x5826[236]]>=_0x1b20x4[_0x5826[236]]&&_0x1b20x5[_0x5826[236]]<=_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]&&(_0x1b20xa=_0x1b20x5[_0x5826[236]])),!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x2,_0x1b20x13)&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x2,_0x1b20x13)&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20x13)),!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x2,_0x1b20xa)&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x2,_0x1b20xa)&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20xa)),1==_0x1b20x9[_0x5826[67]]&&(null!=_0x1b20x5?!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x2,_0x1b20x5[_0x5826[236]])&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x2,_0x1b20x5[_0x5826[236]])&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20x5[_0x5826[236]])):(_0x1b20xa=Math[_0x5826[160]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]),_0x1b20x3=Math[_0x5826[243]](_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]),_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20xa+(_0x1b20x3-_0x1b20xa)/2)))))},TopToBottom:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x2[_0x5826[441]];_0x1b20x5=null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]?_0x1b20x5[0]:null;var _0x1b20x12=_0x1b20x2[_0x5826[439]],_0x1b20x13=_0x1b20x12[0],_0x1b20x12=_0x1b20x12[_0x1b20x12[_0x5826[67]]-1];null!=_0x1b20x5&&(_0x1b20x5=_0x1b20xa[_0x5826[2229]](_0x1b20x2,_0x1b20x5));null!=_0x1b20x13&&(_0x1b20x3= new mxCellState,_0x1b20x3[_0x5826[235]]=_0x1b20x13[_0x5826[235]],_0x1b20x3[_0x5826[236]]=_0x1b20x13[_0x5826[236]]);null!=_0x1b20x12&&(_0x1b20x4= new mxCellState,_0x1b20x4[_0x5826[235]]=_0x1b20x12[_0x5826[235]],_0x1b20x4[_0x5826[236]]=_0x1b20x12[_0x5826[236]]);null!=_0x1b20x3&&null!=_0x1b20x4&&(_0x1b20x13=Math[_0x5826[160]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]),_0x1b20x12=Math[_0x5826[243]](_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]],_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]),_0x1b20x2=_0x1b20xa[_0x5826[2230]](_0x1b20x3),null!=_0x1b20x5&&(_0x1b20x5[_0x5826[235]]>=_0x1b20x3[_0x5826[235]]&&_0x1b20x5[_0x5826[235]]<=_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]])&&(_0x1b20x2=_0x1b20x5[_0x5826[235]]),_0x1b20x13=null!=_0x1b20x5?_0x1b20x5[_0x5826[236]]:_0x1b20x12+(_0x1b20x13-_0x1b20x12)/2,!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x2,_0x1b20x13)&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x2,_0x1b20x13)&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20x13)),_0x1b20x2=null!=_0x1b20x5&&_0x1b20x5[_0x5826[235]]>=_0x1b20x4[_0x5826[235]]&&_0x1b20x5[_0x5826[235]]<=_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]?_0x1b20x5[_0x5826[235]]:_0x1b20xa[_0x5826[2230]](_0x1b20x4),!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x2,_0x1b20x13)&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x2,_0x1b20x13)&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x2,_0x1b20x13)),1==_0x1b20x9[_0x5826[67]]&&(null!=_0x1b20x5&&1==_0x1b20x9[_0x5826[67]]?!mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x5[_0x5826[235]],_0x1b20x13)&&!mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x5[_0x5826[235]],_0x1b20x13)&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x5[_0x5826[235]],_0x1b20x13)):(_0x1b20xa=Math[_0x5826[160]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]),_0x1b20x3=Math[_0x5826[243]](_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]],_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]),_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20xa+(_0x1b20x3-_0x1b20xa)/2,_0x1b20x13)))))},SegmentConnector:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x2[_0x5826[439]],_0x1b20x12=!0,_0x1b20x13=null,_0x1b20x14=_0x1b20xa[0];null==_0x1b20x14&&null!=_0x1b20x3?_0x1b20x14= new mxPoint(_0x1b20x2[_0x5826[441]][_0x5826[2230]](_0x1b20x3),_0x1b20x2[_0x5826[441]][_0x5826[2228]](_0x1b20x3)):null!=_0x1b20x14&&(_0x1b20x14=_0x1b20x14[_0x5826[238]]());var _0x1b20x15=_0x1b20xa[_0x5826[67]]-1;if(null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]){for(var _0x1b20x13=_0x1b20x2[_0x5826[441]][_0x5826[2229]](_0x1b20x2,_0x1b20x5[0]),_0x1b20x16=_0x1b20x3,_0x1b20x17=_0x1b20xa[0],_0x1b20x18=!1,_0x1b20x19=!1,_0x1b20x18=_0x1b20x13,_0x1b20x1a=_0x1b20x5[_0x5826[67]],_0x1b20x1b=0;2>_0x1b20x1b;_0x1b20x1b++){var _0x1b20x1c=null!=_0x1b20x17&&_0x1b20x17[_0x5826[235]]==_0x1b20x18[_0x5826[235]],_0x1b20x1d=null!=_0x1b20x17&&_0x1b20x17[_0x5826[236]]==_0x1b20x18[_0x5826[236]],_0x1b20x1e=null!=_0x1b20x16&&_0x1b20x18[_0x5826[236]]>=_0x1b20x16[_0x5826[236]]&&_0x1b20x18[_0x5826[236]]<=_0x1b20x16[_0x5826[236]]+_0x1b20x16[_0x5826[119]],_0x1b20x16=null!=_0x1b20x16&&_0x1b20x18[_0x5826[235]]>=_0x1b20x16[_0x5826[235]]&&_0x1b20x18[_0x5826[235]]<=_0x1b20x16[_0x5826[235]]+_0x1b20x16[_0x5826[117]],_0x1b20x18=_0x1b20x1d||null==_0x1b20x17&&_0x1b20x1e,_0x1b20x19=_0x1b20x1c||null==_0x1b20x17&&_0x1b20x16;if(null!=_0x1b20x17&&!_0x1b20x1d&&!_0x1b20x1c&&(_0x1b20x1e||_0x1b20x16)){_0x1b20x12=_0x1b20x1e?!1:!0;break};if(_0x1b20x19||_0x1b20x18){_0x1b20x12=_0x1b20x18;1==_0x1b20x1b&&(_0x1b20x12=0==_0x1b20x5[_0x5826[67]]%2?_0x1b20x18:_0x1b20x19);break};_0x1b20x16=_0x1b20x4;_0x1b20x17=_0x1b20xa[_0x1b20x15];_0x1b20x18=_0x1b20x2[_0x5826[441]][_0x5826[2229]](_0x1b20x2,_0x1b20x5[_0x1b20x1a-1])};_0x1b20x12&&(null!=_0x1b20xa[0]&&_0x1b20xa[0][_0x5826[236]]!=_0x1b20x13[_0x5826[236]]||null==_0x1b20xa[0]&&null!=_0x1b20x3&&(_0x1b20x13[_0x5826[236]]<_0x1b20x3[_0x5826[236]]||_0x1b20x13[_0x5826[236]]>_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]]))?_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x14[_0x5826[235]],_0x1b20x13[_0x5826[236]])):!_0x1b20x12&&(null!=_0x1b20xa[0]&&_0x1b20xa[0][_0x5826[235]]!=_0x1b20x13[_0x5826[235]]||null==_0x1b20xa[0]&&null!=_0x1b20x3&&(_0x1b20x13[_0x5826[235]]<_0x1b20x3[_0x5826[235]]||_0x1b20x13[_0x5826[235]]>_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]]))&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x13[_0x5826[235]],_0x1b20x14[_0x5826[236]]));_0x1b20x12?_0x1b20x14[_0x5826[236]]=_0x1b20x13[_0x5826[236]]:_0x1b20x14[_0x5826[235]]=_0x1b20x13[_0x5826[235]];for(_0x1b20x1b=0;_0x1b20x1b<_0x1b20x5[_0x5826[67]];_0x1b20x1b++){_0x1b20x12= !_0x1b20x12,_0x1b20x13=_0x1b20x2[_0x5826[441]][_0x5826[2229]](_0x1b20x2,_0x1b20x5[_0x1b20x1b]),_0x1b20x12?_0x1b20x14[_0x5826[236]]=_0x1b20x13[_0x5826[236]]:_0x1b20x14[_0x5826[235]]=_0x1b20x13[_0x5826[235]],_0x1b20x9[_0x5826[207]](_0x1b20x14[_0x5826[238]]())}}else {_0x1b20x13=_0x1b20x14,_0x1b20x12= !0};_0x1b20x14=_0x1b20xa[_0x1b20x15];null==_0x1b20x14&&null!=_0x1b20x4&&(_0x1b20x14= new mxPoint(_0x1b20x2[_0x5826[441]][_0x5826[2230]](_0x1b20x4),_0x1b20x2[_0x5826[441]][_0x5826[2228]](_0x1b20x4)));_0x1b20x12&&(null!=_0x1b20xa[_0x1b20x15]&&_0x1b20xa[_0x1b20x15][_0x5826[236]]!=_0x1b20x13[_0x5826[236]]||null==_0x1b20xa[_0x1b20x15]&&null!=_0x1b20x4&&(_0x1b20x13[_0x5826[236]]<_0x1b20x4[_0x5826[236]]||_0x1b20x13[_0x5826[236]]>_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]))?_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x14[_0x5826[235]],_0x1b20x13[_0x5826[236]])):!_0x1b20x12&&(null!=_0x1b20xa[_0x1b20x15]&&_0x1b20xa[_0x1b20x15][_0x5826[235]]!=_0x1b20x13[_0x5826[235]]||null==_0x1b20xa[_0x1b20x15]&&null!=_0x1b20x4&&(_0x1b20x13[_0x5826[235]]<_0x1b20x4[_0x5826[235]]||_0x1b20x13[_0x5826[235]]>_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]))&&_0x1b20x9[_0x5826[207]]( new mxPoint(_0x1b20x13[_0x5826[235]],_0x1b20x14[_0x5826[236]]));if(null==_0x1b20xa[0]&&null!=_0x1b20x3){for(;1<_0x1b20x9[_0x5826[67]]&&mxUtils[_0x5826[442]](_0x1b20x3,_0x1b20x9[1][_0x5826[235]],_0x1b20x9[1][_0x5826[236]]);){_0x1b20x9=_0x1b20x9[_0x5826[300]](1,1)}};if(null==_0x1b20xa[_0x1b20x15]&&null!=_0x1b20x4){for(;1<_0x1b20x9[_0x5826[67]]&&mxUtils[_0x5826[442]](_0x1b20x4,_0x1b20x9[_0x1b20x9[_0x5826[67]]-1][_0x5826[235]],_0x1b20x9[_0x1b20x9[_0x5826[67]]-1][_0x5826[236]]);){_0x1b20x9=_0x1b20x9[_0x5826[300]](_0x1b20x9[_0x5826[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(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=_0x1b20x2[_0x5826[441]][_0x5826[1179]],_0x1b20x12=null==_0x1b20x3?!1:_0x1b20xa[_0x5826[502]]()[_0x5826[250]](_0x1b20x3[_0x5826[246]]),_0x1b20xa=null==_0x1b20x4?!1:_0x1b20xa[_0x5826[502]]()[_0x5826[250]](_0x1b20x4[_0x5826[246]]);if(null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]||_0x1b20x12||_0x1b20xa){mxEdgeStyle.SegmentConnector(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)}else {_0x1b20x5=_0x1b20x2[_0x5826[439]];var _0x1b20x13=_0x1b20x5[0],_0x1b20x14=_0x1b20x5[_0x1b20x5[_0x5826[67]]-1];_0x1b20x5=null!=_0x1b20x3?_0x1b20x3[_0x5826[235]]:_0x1b20x13[_0x5826[235]];var _0x1b20x12=null!=_0x1b20x3?_0x1b20x3[_0x5826[236]]:_0x1b20x13[_0x5826[236]],_0x1b20x15=null!=_0x1b20x3?_0x1b20x3[_0x5826[117]]:1,_0x1b20x16=null!=_0x1b20x3?_0x1b20x3[_0x5826[119]]:1,_0x1b20x17=null!=_0x1b20x4?_0x1b20x4[_0x5826[235]]:_0x1b20x14[_0x5826[235]],_0x1b20x18=null!=_0x1b20x4?_0x1b20x4[_0x5826[236]]:_0x1b20x14[_0x5826[236]],_0x1b20x19=null!=_0x1b20x4?_0x1b20x4[_0x5826[117]]:1,_0x1b20x1a=null!=_0x1b20x4?_0x1b20x4[_0x5826[119]]:1,_0x1b20xa=_0x1b20x2[_0x5826[441]][_0x5826[255]]*mxEdgeStyle[_0x5826[2233]],_0x1b20x1b=[mxConstants[_0x5826[2234]],mxConstants[_0x5826[2234]]];null!=_0x1b20x3&&(_0x1b20x1b[0]=mxUtils[_0x5826[2227]](_0x1b20x3,_0x1b20x2,!0,mxConstants.DIRECTION_MASK_ALL));null!=_0x1b20x4&&(_0x1b20x1b[1]=mxUtils[_0x5826[2227]](_0x1b20x4,_0x1b20x2,!1,mxConstants.DIRECTION_MASK_ALL));_0x1b20x2=[0,0];_0x1b20x5=[[_0x1b20x5,_0x1b20x12,_0x1b20x15,_0x1b20x16],[_0x1b20x17,_0x1b20x18,_0x1b20x19,_0x1b20x1a]];for(_0x1b20x15=0;2>_0x1b20x15;_0x1b20x15++){mxEdgeStyle[_0x5826[2235]][_0x1b20x15][1]=_0x1b20x5[_0x1b20x15][0]-_0x1b20xa,mxEdgeStyle[_0x5826[2235]][_0x1b20x15][2]=_0x1b20x5[_0x1b20x15][1]-_0x1b20xa,mxEdgeStyle[_0x5826[2235]][_0x1b20x15][4]=_0x1b20x5[_0x1b20x15][0]+_0x1b20x5[_0x1b20x15][2]+_0x1b20xa,mxEdgeStyle[_0x5826[2235]][_0x1b20x15][8]=_0x1b20x5[_0x1b20x15][1]+_0x1b20x5[_0x1b20x15][3]+_0x1b20xa};_0x1b20x15=_0x1b20x5[0][0]+_0x1b20x5[0][2]/2-(_0x1b20x5[1][0]+_0x1b20x5[1][2]/2);_0x1b20x16=_0x1b20x5[0][1]+_0x1b20x5[0][3]/2-(_0x1b20x5[1][1]+_0x1b20x5[1][3]/2);_0x1b20x12=0;0>_0x1b20x15?_0x1b20x12=0>_0x1b20x16?2:1:0>=_0x1b20x16&&(_0x1b20x12=3,0==_0x1b20x15&&(_0x1b20x12=2));_0x1b20x16=null;null!=_0x1b20x3&&(_0x1b20x16=_0x1b20x13);_0x1b20x3=[[0.5,0.5],[0.5,0.5]];for(_0x1b20x15=0;2>_0x1b20x15;_0x1b20x15++){null!=_0x1b20x16&&(_0x1b20x3[_0x1b20x15][0]=(_0x1b20x16[_0x5826[235]]-_0x1b20x5[_0x1b20x15][0])/_0x1b20x5[_0x1b20x15][2],0.01>_0x1b20x3[_0x1b20x15][0]?_0x1b20x2[_0x1b20x15]=mxConstants[_0x5826[436]]:0.99<_0x1b20x3[_0x1b20x15][0]&&(_0x1b20x2[_0x1b20x15]=mxConstants[_0x5826[438]]),_0x1b20x3[_0x1b20x15][1]=(_0x1b20x16[_0x5826[236]]-_0x1b20x5[_0x1b20x15][1])/_0x1b20x5[_0x1b20x15][3],0.01>_0x1b20x3[_0x1b20x15][1]?_0x1b20x2[_0x1b20x15]=mxConstants[_0x5826[435]]:0.99<_0x1b20x3[_0x1b20x15][1]&&(_0x1b20x2[_0x1b20x15]=mxConstants[_0x5826[437]])),_0x1b20x16=null,null!=_0x1b20x4&&(_0x1b20x16=_0x1b20x14)};_0x1b20x15=_0x1b20x5[0][1]-(_0x1b20x5[1][1]+_0x1b20x5[1][3]);_0x1b20x16=_0x1b20x5[0][0]-(_0x1b20x5[1][0]+_0x1b20x5[1][2]);_0x1b20x17=_0x1b20x5[1][1]-(_0x1b20x5[0][1]+_0x1b20x5[0][3]);_0x1b20x18=_0x1b20x5[1][0]-(_0x1b20x5[0][0]+_0x1b20x5[0][2]);mxEdgeStyle[_0x5826[2236]][1]=Math[_0x5826[160]](_0x1b20x16-2*_0x1b20xa,0);mxEdgeStyle[_0x5826[2236]][2]=Math[_0x5826[160]](_0x1b20x15-2*_0x1b20xa,0);mxEdgeStyle[_0x5826[2236]][4]=Math[_0x5826[160]](_0x1b20x17-2*_0x1b20xa,0);mxEdgeStyle[_0x5826[2236]][3]=Math[_0x5826[160]](_0x1b20x18-2*_0x1b20xa,0);_0x1b20x4=[];_0x1b20x13=[];_0x1b20x14=[];_0x1b20x13[0]=_0x1b20x16>=_0x1b20x18?mxConstants[_0x5826[436]]:mxConstants[_0x5826[438]];_0x1b20x14[0]=_0x1b20x15>=_0x1b20x17?mxConstants[_0x5826[435]]:mxConstants[_0x5826[437]];_0x1b20x13[1]=mxUtils[_0x5826[2237]](_0x1b20x13[0]);_0x1b20x14[1]=mxUtils[_0x5826[2237]](_0x1b20x14[0]);_0x1b20x16=_0x1b20x16>=_0x1b20x18?_0x1b20x16:_0x1b20x18;_0x1b20x17=_0x1b20x15>=_0x1b20x17?_0x1b20x15:_0x1b20x17;_0x1b20x18=[[0,0],[0,0]];_0x1b20x19= !1;for(_0x1b20x15=0;2>_0x1b20x15;_0x1b20x15++){0==_0x1b20x2[_0x1b20x15]&&(0==(_0x1b20x13[_0x1b20x15]&_0x1b20x1b[_0x1b20x15])&&(_0x1b20x13[_0x1b20x15]=mxUtils[_0x5826[2237]](_0x1b20x13[_0x1b20x15])),0==(_0x1b20x14[_0x1b20x15]&_0x1b20x1b[_0x1b20x15])&&(_0x1b20x14[_0x1b20x15]=mxUtils[_0x5826[2237]](_0x1b20x14[_0x1b20x15])),_0x1b20x18[_0x1b20x15][0]=_0x1b20x14[_0x1b20x15],_0x1b20x18[_0x1b20x15][1]=_0x1b20x13[_0x1b20x15])};_0x1b20x17>2*_0x1b20xa&&_0x1b20x16>2*_0x1b20xa&&(0<(_0x1b20x13[0]&_0x1b20x1b[0])&&0<(_0x1b20x14[1]&_0x1b20x1b[1])?(_0x1b20x18[0][0]=_0x1b20x13[0],_0x1b20x18[0][1]=_0x1b20x14[0],_0x1b20x18[1][0]=_0x1b20x14[1],_0x1b20x18[1][1]=_0x1b20x13[1],_0x1b20x19= !0):0<(_0x1b20x14[0]&_0x1b20x1b[0])&&0<(_0x1b20x13[1]&_0x1b20x1b[1])&&(_0x1b20x18[0][0]=_0x1b20x14[0],_0x1b20x18[0][1]=_0x1b20x13[0],_0x1b20x18[1][0]=_0x1b20x13[1],_0x1b20x18[1][1]=_0x1b20x14[1],_0x1b20x19= !0));_0x1b20x17>2*_0x1b20xa&&!_0x1b20x19&&(_0x1b20x18[0][0]=_0x1b20x14[0],_0x1b20x18[0][1]=_0x1b20x13[0],_0x1b20x18[1][0]=_0x1b20x14[1],_0x1b20x18[1][1]=_0x1b20x13[1],_0x1b20x19= !0);_0x1b20x16>2*_0x1b20xa&&!_0x1b20x19&&(_0x1b20x18[0][0]=_0x1b20x13[0],_0x1b20x18[0][1]=_0x1b20x14[0],_0x1b20x18[1][0]=_0x1b20x13[1],_0x1b20x18[1][1]=_0x1b20x14[1]);for(_0x1b20x15=0;2>_0x1b20x15;_0x1b20x15++){if(0==_0x1b20x2[_0x1b20x15]&&(0==(_0x1b20x18[_0x1b20x15][0]&_0x1b20x1b[_0x1b20x15])&&(_0x1b20x18[_0x1b20x15][0]=_0x1b20x18[_0x1b20x15][1]),_0x1b20x4[_0x1b20x15]=_0x1b20x18[_0x1b20x15][0]&_0x1b20x1b[_0x1b20x15],_0x1b20x4[_0x1b20x15]|=(_0x1b20x18[_0x1b20x15][1]&_0x1b20x1b[_0x1b20x15])<<8,_0x1b20x4[_0x1b20x15]|=(_0x1b20x18[1-_0x1b20x15][_0x1b20x15]&_0x1b20x1b[_0x1b20x15])<<16,_0x1b20x4[_0x1b20x15]|=(_0x1b20x18[1-_0x1b20x15][1-_0x1b20x15]&_0x1b20x1b[_0x1b20x15])<<24,0==(_0x1b20x4[_0x1b20x15]&15)&&(_0x1b20x4[_0x1b20x15]<<=8),0==(_0x1b20x4[_0x1b20x15]&3840)&&(_0x1b20x4[_0x1b20x15]=_0x1b20x4[_0x1b20x15]&15|_0x1b20x4[_0x1b20x15]>>8),0==(_0x1b20x4[_0x1b20x15]&983040)&&(_0x1b20x4[_0x1b20x15]=_0x1b20x4[_0x1b20x15]&65535|(_0x1b20x4[_0x1b20x15]&251658240)>>8),_0x1b20x2[_0x1b20x15]=_0x1b20x4[_0x1b20x15]&15,_0x1b20x1b[_0x1b20x15]==mxConstants[_0x5826[436]]||_0x1b20x1b[_0x1b20x15]==mxConstants[_0x5826[435]]||_0x1b20x1b[_0x1b20x15]==mxConstants[_0x5826[438]]||_0x1b20x1b[_0x1b20x15]==mxConstants[_0x5826[437]])){_0x1b20x2[_0x1b20x15]=_0x1b20x1b[_0x1b20x15]}};_0x1b20x15=_0x1b20x2[0]==mxConstants[_0x5826[438]]?3:_0x1b20x2[0];_0x1b20x1b=_0x1b20x2[1]==mxConstants[_0x5826[438]]?3:_0x1b20x2[1];_0x1b20x15-=_0x1b20x12;_0x1b20x1b-=_0x1b20x12;1>_0x1b20x15&&(_0x1b20x15+=4);1>_0x1b20x1b&&(_0x1b20x1b+=4);_0x1b20x1b=mxEdgeStyle[_0x5826[2238]][_0x1b20x15-1][_0x1b20x1b-1];mxEdgeStyle[_0x5826[2239]][0][0]=_0x1b20x5[0][0];mxEdgeStyle[_0x5826[2239]][0][1]=_0x1b20x5[0][1];switch(_0x1b20x2[0]){case mxConstants[_0x5826[436]]:mxEdgeStyle[_0x5826[2239]][0][0]-=_0x1b20xa;mxEdgeStyle[_0x5826[2239]][0][1]+=_0x1b20x3[0][1]*_0x1b20x5[0][3];break;case mxConstants[_0x5826[437]]:mxEdgeStyle[_0x5826[2239]][0][0]+=_0x1b20x3[0][0]*_0x1b20x5[0][2];mxEdgeStyle[_0x5826[2239]][0][1]+=_0x1b20x5[0][3]+_0x1b20xa;break;case mxConstants[_0x5826[438]]:mxEdgeStyle[_0x5826[2239]][0][0]+=_0x1b20x5[0][2]+_0x1b20xa;mxEdgeStyle[_0x5826[2239]][0][1]+=_0x1b20x3[0][1]*_0x1b20x5[0][3];break;case mxConstants[_0x5826[435]]:mxEdgeStyle[_0x5826[2239]][0][0]+=_0x1b20x3[0][0]*_0x1b20x5[0][2],mxEdgeStyle[_0x5826[2239]][0][1]-=_0x1b20xa};_0x1b20xa=0;_0x1b20x13=_0x1b20x4=0<(_0x1b20x2[0]&(mxConstants[_0x5826[438]]|mxConstants[_0x5826[436]]))?0:1;for(_0x1b20x15=_0x1b20x14=0;_0x1b20x15<_0x1b20x1b[_0x5826[67]];_0x1b20x15++){_0x1b20x14=_0x1b20x1b[_0x1b20x15]&15;_0x1b20x1a=_0x1b20x14==mxConstants[_0x5826[438]]?3:_0x1b20x14;_0x1b20x1a+=_0x1b20x12;4<_0x1b20x1a&&(_0x1b20x1a-=4);_0x1b20x16=mxEdgeStyle[_0x5826[2240]][_0x1b20x1a-1];_0x1b20x14=0<_0x1b20x1a%2?0:1;_0x1b20x14!=_0x1b20x4&&(_0x1b20xa++,mxEdgeStyle[_0x5826[2239]][_0x1b20xa][0]=mxEdgeStyle[_0x5826[2239]][_0x1b20xa-1][0],mxEdgeStyle[_0x5826[2239]][_0x1b20xa][1]=mxEdgeStyle[_0x5826[2239]][_0x1b20xa-1][1]);var _0x1b20x1c=0<(_0x1b20x1b[_0x1b20x15]&mxEdgeStyle[_0x5826[2241]]),_0x1b20x19=0<(_0x1b20x1b[_0x1b20x15]&mxEdgeStyle[_0x5826[2242]]),_0x1b20x17=(_0x1b20x1b[_0x1b20x15]&mxEdgeStyle[_0x5826[2243]])>>5,_0x1b20x17=_0x1b20x17<<_0x1b20x12;15<_0x1b20x17&&(_0x1b20x17>>=4);_0x1b20x18=0<(_0x1b20x1b[_0x1b20x15]&mxEdgeStyle[_0x5826[2244]]);(_0x1b20x19||_0x1b20x1c)&&9>_0x1b20x17?(_0x1b20x1a=0,_0x1b20x19=_0x1b20x19?0:1,_0x1b20x1a=_0x1b20x18&&0==_0x1b20x14?_0x1b20x5[_0x1b20x19][0]+_0x1b20x3[_0x1b20x19][0]*_0x1b20x5[_0x1b20x19][2]:_0x1b20x18?_0x1b20x5[_0x1b20x19][1]+_0x1b20x3[_0x1b20x19][1]*_0x1b20x5[_0x1b20x19][3]:mxEdgeStyle[_0x5826[2235]][_0x1b20x19][_0x1b20x17],0==_0x1b20x14?(_0x1b20x17=(_0x1b20x1a-mxEdgeStyle[_0x5826[2239]][_0x1b20xa][0])*_0x1b20x16[0],0<_0x1b20x17&&(mxEdgeStyle[_0x5826[2239]][_0x1b20xa][0]+=_0x1b20x16[0]*_0x1b20x17)):(_0x1b20x17=(_0x1b20x1a-mxEdgeStyle[_0x5826[2239]][_0x1b20xa][1])*_0x1b20x16[1],0<_0x1b20x17&&(mxEdgeStyle[_0x5826[2239]][_0x1b20xa][1]+=_0x1b20x16[1]*_0x1b20x17))):_0x1b20x18&&(mxEdgeStyle[_0x5826[2239]][_0x1b20xa][0]+=_0x1b20x16[0]*Math[_0x5826[425]](mxEdgeStyle[_0x5826[2236]][_0x1b20x1a]/2),mxEdgeStyle[_0x5826[2239]][_0x1b20xa][1]+=_0x1b20x16[1]*Math[_0x5826[425]](mxEdgeStyle[_0x5826[2236]][_0x1b20x1a]/2));0<_0x1b20xa&&mxEdgeStyle[_0x5826[2239]][_0x1b20xa][_0x1b20x14]==mxEdgeStyle[_0x5826[2239]][_0x1b20xa-1][_0x1b20x14]?_0x1b20xa--:_0x1b20x4=_0x1b20x14};for(_0x1b20x15=0;_0x1b20x15<=_0x1b20xa&& !(_0x1b20x15==_0x1b20xa&&((0<(_0x1b20x2[1]&(mxConstants[_0x5826[438]]|mxConstants[_0x5826[436]]))?0:1)==_0x1b20x13?0:1)!=(_0x1b20xa+1)%2);_0x1b20x15++){_0x1b20x9[_0x5826[207]]( new mxPoint(mxEdgeStyle[_0x5826[2239]][_0x1b20x15][0],mxEdgeStyle[_0x5826[2239]][_0x1b20x15][1]))}}},getRoutePattern:function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x2[0]==mxConstants[_0x5826[438]]?3:_0x1b20x2[0];_0x1b20x2=_0x1b20x2[1]==mxConstants[_0x5826[438]]?3:_0x1b20x2[1];_0x1b20x9-=_0x1b20x3;_0x1b20x2-=_0x1b20x3;1>_0x1b20x9&&(_0x1b20x9+=4);1>_0x1b20x2&&(_0x1b20x2+=4);_0x1b20x3=routePatterns[_0x1b20x9-1][_0x1b20x2-1];if(0==_0x1b20x4||0==_0x1b20x5){null!=inlineRoutePatterns[_0x1b20x9-1][_0x1b20x2-1]&&(_0x1b20x3=inlineRoutePatterns[_0x1b20x9-1][_0x1b20x2-1])};return _0x1b20x3}},mxStyleRegistry={values:[],putValue:function(_0x1b20x2,_0x1b20x3){mxStyleRegistry[_0x5826[2245]][_0x1b20x2]=_0x1b20x3},getValue:function(_0x1b20x2){return mxStyleRegistry[_0x5826[2245]][_0x1b20x2]},getName:function(_0x1b20x2){for(var _0x1b20x3 in mxStyleRegistry[_0x5826[2245]]){if(mxStyleRegistry[_0x5826[2245]][_0x1b20x3]==_0x1b20x2){return _0x1b20x3}};return null}};mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry[_0x5826[2246]](mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry[_0x5826[2246]](mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);mxStyleRegistry[_0x5826[2246]](mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry[_0x5826[2246]](mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry[_0x5826[2246]](mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);function mxGraphView(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[513]]= new mxPoint;this[_0x5826[2247]]= new mxRectangle;this[_0x5826[1214]]= new mxDictionary}mxGraphView[_0x5826[202]]= new mxEventSource;mxGraphView[_0x5826[202]][_0x5826[196]]=mxGraphView;mxGraphView[_0x5826[202]][_0x5826[2248]]= new mxPoint;mxGraphView[_0x5826[202]][_0x5826[2091]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[819]:_0x5826[110];mxGraphView[_0x5826[202]][_0x5826[2249]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2250]:_0x5826[110];mxGraphView[_0x5826[202]][_0x5826[2251]]= !1;mxGraphView[_0x5826[202]][_0x5826[2252]]= !0;mxGraphView[_0x5826[202]][_0x5826[2253]]= !0;mxGraphView[_0x5826[202]][_0x5826[2254]]= !0;mxGraphView[_0x5826[202]][_0x5826[1179]]=null;mxGraphView[_0x5826[202]][_0x5826[1741]]=null;mxGraphView[_0x5826[202]][_0x5826[2247]]=null;mxGraphView[_0x5826[202]][_0x5826[255]]=1;mxGraphView[_0x5826[202]][_0x5826[513]]=null;mxGraphView[_0x5826[202]][_0x5826[2255]]= !1;mxGraphView[_0x5826[202]][_0x5826[517]]=function(){return this[_0x5826[2247]]};mxGraphView[_0x5826[202]][_0x5826[2256]]=function(_0x1b20x2){this[_0x5826[2247]]=_0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[1799]]=function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){if(_0x1b20x4[_0x5826[1193]](_0x1b20x2[_0x1b20x5])||_0x1b20x4[_0x5826[250]](_0x1b20x2[_0x1b20x5])){var _0x1b20x9=this[_0x5826[248]](_0x1b20x2[_0x1b20x5]);null!=_0x1b20x9&&(null==_0x1b20x3?_0x1b20x3= new mxRectangle(_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]]):_0x1b20x3[_0x5826[99]](_0x1b20x9))}}};return _0x1b20x3};mxGraphView[_0x5826[202]][_0x5826[2257]]=function(_0x1b20x2){if(this[_0x5826[1741]]!=_0x1b20x2){var _0x1b20x3= new mxCurrentRootChange(this,_0x1b20x2);_0x1b20x3[_0x5826[350]]();var _0x1b20x4= new mxUndoableEdit(this,!1);_0x1b20x4[_0x5826[99]](_0x1b20x3);this[_0x5826[746]]( new mxEventObject(mxEvent.UNDO,_0x5826[1061],_0x1b20x4));this[_0x5826[1179]][_0x5826[2258]]()};return _0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[829]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[255]],_0x1b20x9= new mxPoint(this[_0x5826[513]][_0x5826[235]],this[_0x5826[513]][_0x5826[236]]);if(this[_0x5826[255]]!=_0x1b20x2||this[_0x5826[513]][_0x5826[235]]!=_0x1b20x3||this[_0x5826[513]][_0x5826[236]]!=_0x1b20x4){this[_0x5826[255]]=_0x1b20x2,this[_0x5826[513]][_0x5826[235]]=_0x1b20x3,this[_0x5826[513]][_0x5826[236]]=_0x1b20x4,this[_0x5826[503]]()&&(this[_0x5826[2259]](),this[_0x5826[1179]][_0x5826[2258]]())};this[_0x5826[746]]( new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,_0x5826[255],_0x1b20x2,_0x5826[2260],_0x1b20x5,_0x5826[513],this[_0x5826[513]],_0x5826[2261],_0x1b20x9))};mxGraphView[_0x5826[202]][_0x5826[518]]=function(){return this[_0x5826[255]]};mxGraphView[_0x5826[202]][_0x5826[2262]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[255]];this[_0x5826[255]]!=_0x1b20x2&&(this[_0x5826[255]]=_0x1b20x2,this[_0x5826[503]]()&&(this[_0x5826[2259]](),this[_0x5826[1179]][_0x5826[2258]]()));this[_0x5826[746]]( new mxEventObject(mxEvent.SCALE,_0x5826[255],_0x1b20x2,_0x5826[2260],_0x1b20x3))};mxGraphView[_0x5826[202]][_0x5826[512]]=function(){return this[_0x5826[513]]};mxGraphView[_0x5826[202]][_0x5826[1147]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4= new mxPoint(this[_0x5826[513]][_0x5826[235]],this[_0x5826[513]][_0x5826[236]]);if(this[_0x5826[513]][_0x5826[235]]!=_0x1b20x2||this[_0x5826[513]][_0x5826[236]]!=_0x1b20x3){this[_0x5826[513]][_0x5826[235]]=_0x1b20x2,this[_0x5826[513]][_0x5826[236]]=_0x1b20x3,this[_0x5826[503]]()&&(this[_0x5826[2259]](),this[_0x5826[1179]][_0x5826[2258]]())};this[_0x5826[746]]( new mxEventObject(mxEvent.TRANSLATE,_0x5826[513],this[_0x5826[513]],_0x5826[2261],_0x1b20x4))};mxGraphView[_0x5826[202]][_0x5826[802]]=function(){null!=this[_0x5826[1741]]&&this[_0x5826[200]]();this[_0x5826[2259]]()};mxGraphView[_0x5826[202]][_0x5826[2259]]=function(){this[_0x5826[2263]]();this[_0x5826[2264]]()};mxGraphView[_0x5826[202]][_0x5826[200]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x2=_0x1b20x2||_0x1b20x5[_0x5826[501]]();_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;this[_0x5826[2265]](_0x1b20x2);if(_0x1b20x4&&(_0x1b20x3||_0x1b20x2!=this[_0x5826[1741]])){_0x1b20x4=_0x1b20x5[_0x5826[262]](_0x1b20x2);for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x4;_0x1b20x9++){this[_0x5826[200]](_0x1b20x5[_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x3)}}else {this[_0x5826[2263]](_0x1b20x2)}};mxGraphView[_0x5826[202]][_0x5826[2263]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x2=_0x1b20x2||_0x1b20x9[_0x5826[501]]();_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!1;var _0x1b20xa=this[_0x5826[248]](_0x1b20x2);null!=_0x1b20xa&&(_0x1b20xa[_0x5826[2080]]= !0,_0x1b20x5&&(_0x1b20xa[_0x5826[2082]]= !0));if(_0x1b20x3){for(var _0x1b20x12=_0x1b20x9[_0x5826[262]](_0x1b20x2),_0x1b20xa=0;_0x1b20xa<_0x1b20x12;_0x1b20xa++){var _0x1b20x13=_0x1b20x9[_0x5826[263]](_0x1b20x2,_0x1b20xa);this[_0x5826[2263]](_0x1b20x13,_0x1b20x3,_0x1b20x4,_0x1b20x5)}};if(_0x1b20x4){_0x1b20x5=_0x1b20x9[_0x5826[1707]](_0x1b20x2);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x5;_0x1b20xa++){this[_0x5826[2263]](_0x1b20x9[_0x5826[1708]](_0x1b20x2,_0x1b20xa),_0x1b20x3,_0x1b20x4)}}};mxGraphView[_0x5826[202]][_0x5826[2264]]=function(_0x1b20x2){var _0x1b20x3=mxLog[_0x5826[2109]](_0x5826[2266]);window[_0x5826[879]]=mxResources[_0x5826[203]](this[_0x5826[2249]])||this[_0x5826[2249]];var _0x1b20x4=null;if(this[_0x5826[2253]]&&null!=this[_0x5826[510]]&&null==this[_0x5826[1653]]&&(8==document[_0x5826[5]]||mxClient[_0x5826[496]])){_0x1b20x4=this[_0x5826[510]][_0x5826[124]][_0x5826[495]];this[_0x5826[510]][_0x5826[124]][_0x5826[495]]=_0x5826[130];var _0x1b20x5=document[_0x5826[55]](_0x5826[485]);_0x1b20x5[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x5[_0x5826[124]][_0x5826[493]]=_0x5826[494];_0x1b20x5[_0x5826[124]][_0x5826[187]]=_0x5826[188];_0x1b20x5[_0x5826[124]][_0x5826[495]]=mxClient[_0x5826[496]]?_0x5826[497]:_0x5826[498];_0x1b20x5[_0x5826[124]][_0x5826[499]]=_0x5826[500];document[_0x5826[112]][_0x5826[62]](_0x1b20x5);this[_0x5826[1653]]=_0x1b20x5};_0x1b20x2=_0x1b20x2||(null!=this[_0x5826[1741]]?this[_0x5826[1741]]:this[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]]());this[_0x5826[2267]](null,_0x1b20x2);_0x1b20x2=this[_0x5826[2268]](null,_0x1b20x2);null==_0x1b20x2&&(_0x1b20x2= new mxRectangle);this[_0x5826[2256]](_0x1b20x2);this[_0x5826[2269]]();null!=_0x1b20x4&&(this[_0x5826[510]][_0x5826[124]][_0x5826[495]]=_0x1b20x4,document[_0x5826[112]][_0x5826[266]](this[_0x5826[1653]]),this[_0x5826[1653]]=null);window[_0x5826[879]]=mxResources[_0x5826[203]](this[_0x5826[2091]])||this[_0x5826[2091]];mxLog[_0x5826[2110]](_0x5826[2266],_0x1b20x3)};mxGraphView[_0x5826[202]][_0x5826[2270]]=function(_0x1b20x2){return new mxRectangleShape(_0x1b20x2,_0x5826[1391],_0x5826[586])};mxGraphView[_0x5826[202]][_0x5826[2269]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[2271]]();if(null!=_0x1b20x2){if(null==this[_0x5826[1617]]||this[_0x5826[1617]][_0x5826[618]]!=_0x1b20x2[_0x5826[390]]){null!=this[_0x5826[1617]]&&this[_0x5826[1617]][_0x5826[515]]();var _0x1b20x3= new mxRectangle(0,0,1,1);this[_0x5826[1617]]= new mxImageShape(_0x1b20x3,_0x1b20x2[_0x5826[390]]);this[_0x5826[1617]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]];this[_0x5826[1617]][_0x5826[176]](this[_0x5826[2053]]);this[_0x5826[1617]][_0x5826[258]]()};this[_0x5826[2272]](this[_0x5826[1617]],_0x1b20x2)}else {null!=this[_0x5826[1617]]&&(this[_0x5826[1617]][_0x5826[515]](),this[_0x5826[1617]]=null)};this[_0x5826[1179]][_0x5826[2273]]?(_0x1b20x3=this[_0x5826[2274]](),null==this[_0x5826[2275]]?(this[_0x5826[2275]]=this[_0x5826[2270]](_0x1b20x3),this[_0x5826[2275]][_0x5826[255]]=this[_0x5826[255]],this[_0x5826[2275]][_0x5826[1596]]= !0,this[_0x5826[2275]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]],this[_0x5826[2275]][_0x5826[176]](this[_0x5826[2053]]),this[_0x5826[2275]][_0x5826[258]](),mxEvent[_0x5826[169]](this[_0x5826[2275]][_0x5826[252]],_0x5826[760],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[761]](_0x1b20x2)})),mxEvent[_0x5826[759]](this[_0x5826[2275]][_0x5826[252]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x2))}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){null!=this[_0x5826[1179]][_0x5826[2276]]&&this[_0x5826[1179]][_0x5826[2276]][_0x5826[2277]]()&&this[_0x5826[1179]][_0x5826[2276]][_0x5826[801]]();this[_0x5826[1179]][_0x5826[1009]]&&!mxEvent[_0x5826[721]](_0x1b20x2)&&this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x2))}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x2))}))):(this[_0x5826[2275]][_0x5826[255]]=this[_0x5826[255]],this[_0x5826[2275]][_0x5826[1562]]=_0x1b20x3,this[_0x5826[2275]][_0x5826[258]]())):null!=this[_0x5826[2275]]&&(this[_0x5826[2275]][_0x5826[515]](),this[_0x5826[2275]]=null)};mxGraphView[_0x5826[202]][_0x5826[2274]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[2013]],_0x1b20x3=this[_0x5826[255]]*this[_0x5826[1179]][_0x5826[2012]];return new mxRectangle(this[_0x5826[255]]*this[_0x5826[513]][_0x5826[235]],this[_0x5826[255]]*this[_0x5826[513]][_0x5826[236]],_0x1b20x2[_0x5826[117]]*_0x1b20x3,_0x1b20x2[_0x5826[119]]*_0x1b20x3)};mxGraphView[_0x5826[202]][_0x5826[2272]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[255]]=this[_0x5826[255]];_0x1b20x2[_0x5826[1562]][_0x5826[235]]=this[_0x5826[255]]*this[_0x5826[513]][_0x5826[235]];_0x1b20x2[_0x5826[1562]][_0x5826[236]]=this[_0x5826[255]]*this[_0x5826[513]][_0x5826[236]];_0x1b20x2[_0x5826[1562]][_0x5826[117]]=this[_0x5826[255]]*_0x1b20x3[_0x5826[117]];_0x1b20x2[_0x5826[1562]][_0x5826[119]]=this[_0x5826[255]]*_0x1b20x3[_0x5826[119]];_0x1b20x2[_0x5826[258]]()};mxGraphView[_0x5826[202]][_0x5826[2267]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=this[_0x5826[248]](_0x1b20x3,!0);if(null!=_0x1b20x5&&_0x1b20x5[_0x5826[2080]]){if(this[_0x5826[1179]][_0x5826[1714]](_0x1b20x3)){if(_0x1b20x3!=this[_0x5826[1741]]&&null!=_0x1b20x2){_0x1b20x5[_0x5826[2079]][_0x5826[235]]=0;_0x1b20x5[_0x5826[2079]][_0x5826[236]]=0;_0x1b20x5[_0x5826[2078]][_0x5826[235]]=_0x1b20x2[_0x5826[2078]][_0x5826[235]];_0x1b20x5[_0x5826[2078]][_0x5826[236]]=_0x1b20x2[_0x5826[2078]][_0x5826[236]];var _0x1b20x9=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x3);if(null!=_0x1b20x9){if(!_0x1b20x4[_0x5826[250]](_0x1b20x3)){var _0x1b20xa=_0x1b20x9[_0x5826[1368]]||this[_0x5826[2248]];_0x1b20x9[_0x5826[1500]]?(_0x1b20x5[_0x5826[2078]][_0x5826[235]]+=_0x1b20x9[_0x5826[235]]*_0x1b20x2[_0x5826[117]]/this[_0x5826[255]]+_0x1b20xa[_0x5826[235]],_0x1b20x5[_0x5826[2078]][_0x5826[236]]+=_0x1b20x9[_0x5826[236]]*_0x1b20x2[_0x5826[119]]/this[_0x5826[255]]+_0x1b20xa[_0x5826[236]]):(_0x1b20x5[_0x5826[2079]][_0x5826[235]]=this[_0x5826[255]]*_0x1b20xa[_0x5826[235]],_0x1b20x5[_0x5826[2079]][_0x5826[236]]=this[_0x5826[255]]*_0x1b20xa[_0x5826[236]],_0x1b20x5[_0x5826[2078]][_0x5826[235]]+=_0x1b20x9[_0x5826[235]],_0x1b20x5[_0x5826[2078]][_0x5826[236]]+=_0x1b20x9[_0x5826[236]])};_0x1b20x5[_0x5826[235]]=this[_0x5826[255]]*(this[_0x5826[513]][_0x5826[235]]+_0x1b20x5[_0x5826[2078]][_0x5826[235]]);_0x1b20x5[_0x5826[236]]=this[_0x5826[255]]*(this[_0x5826[513]][_0x5826[236]]+_0x1b20x5[_0x5826[2078]][_0x5826[236]]);_0x1b20x5[_0x5826[117]]=this[_0x5826[255]]*_0x1b20x9[_0x5826[117]];_0x1b20x5[_0x5826[119]]=this[_0x5826[255]]*_0x1b20x9[_0x5826[119]];if(_0x1b20x4[_0x5826[1193]](_0x1b20x3)){if(_0x1b20x9[_0x5826[1500]]&&(_0x1b20xa=mxUtils[_0x5826[431]](_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),0!=_0x1b20xa)){var _0x1b20x9=Math[_0x5826[426]](_0x1b20xa),_0x1b20xa=Math[_0x5826[427]](_0x1b20xa),_0x1b20x12= new mxPoint(_0x1b20x5[_0x5826[241]](),_0x1b20x5[_0x5826[242]]()),_0x1b20x13= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]()),_0x1b20x9=mxUtils[_0x5826[432]](_0x1b20x12,_0x1b20x9,_0x1b20xa,_0x1b20x13);_0x1b20x5[_0x5826[235]]=_0x1b20x9[_0x5826[235]]-_0x1b20x5[_0x5826[117]]/2;_0x1b20x5[_0x5826[236]]=_0x1b20x9[_0x5826[236]]-_0x1b20x5[_0x5826[119]]/2};this[_0x5826[2279]](_0x1b20x5)}}}}else {this[_0x5826[2265]](_0x1b20x3)};_0x1b20xa=this[_0x5826[1179]][_0x5826[2280]](_0x1b20x3);null!=_0x1b20xa&&(_0x1b20x5[_0x5826[2078]][_0x5826[235]]+=_0x1b20xa[_0x5826[235]],_0x1b20x5[_0x5826[2078]][_0x5826[236]]+=_0x1b20xa[_0x5826[236]])};if(null!=_0x1b20x5&&(!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x3)||_0x1b20x3==this[_0x5826[1741]])){_0x1b20x9=_0x1b20x4[_0x5826[262]](_0x1b20x3);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){_0x1b20x12=_0x1b20x4[_0x5826[263]](_0x1b20x3,_0x1b20xa),this[_0x5826[2267]](_0x1b20x5,_0x1b20x12)}}};mxGraphView[_0x5826[202]][_0x5826[2279]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0x1b20x3==mxConstants[_0x5826[2132]]?_0x1b20x2[_0x5826[2079]][_0x5826[235]]-=_0x1b20x2[_0x5826[117]]:_0x1b20x3==mxConstants[_0x5826[480]]&&(_0x1b20x2[_0x5826[2079]][_0x5826[235]]+=_0x1b20x2[_0x5826[117]]);_0x1b20x3=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0x1b20x3==mxConstants[_0x5826[1687]]?_0x1b20x2[_0x5826[2079]][_0x5826[236]]-=_0x1b20x2[_0x5826[119]]:_0x1b20x3==mxConstants[_0x5826[482]]&&(_0x1b20x2[_0x5826[2079]][_0x5826[236]]+=_0x1b20x2[_0x5826[119]])};mxGraphView[_0x5826[202]][_0x5826[2268]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=this[_0x5826[248]](_0x1b20x3),_0x1b20x9=null;if(null!=_0x1b20x5){if(_0x1b20x5[_0x5826[2080]]){var _0x1b20xa=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x3);if(null!=_0x1b20xa&&_0x1b20x4[_0x5826[250]](_0x1b20x3)){var _0x1b20x12=this[_0x5826[248]](this[_0x5826[1710]](_0x1b20x3,!0));_0x1b20x5[_0x5826[2090]](_0x1b20x12,!0);if(null!=_0x1b20x12&&_0x1b20x4[_0x5826[250]](_0x1b20x12[_0x5826[246]])&&!_0x1b20x4[_0x5826[1720]](_0x1b20x12[_0x5826[246]],_0x1b20x3)){var _0x1b20x13=this[_0x5826[248]](_0x1b20x4[_0x5826[1197]](_0x1b20x12[_0x5826[246]]));this[_0x5826[2268]](_0x1b20x13,_0x1b20x12[_0x5826[246]])};var _0x1b20x14=this[_0x5826[248]](this[_0x5826[1710]](_0x1b20x3,!1));_0x1b20x5[_0x5826[2090]](_0x1b20x14,!1);null!=_0x1b20x14&&(_0x1b20x4[_0x5826[250]](_0x1b20x14[_0x5826[246]])&&!_0x1b20x4[_0x5826[1720]](_0x1b20x14[_0x5826[246]],_0x1b20x3))&&(_0x1b20x13=this[_0x5826[248]](_0x1b20x4[_0x5826[1197]](_0x1b20x14[_0x5826[246]])),this[_0x5826[2268]](_0x1b20x13,_0x1b20x14[_0x5826[246]]));this[_0x5826[2281]](_0x1b20x5,_0x1b20x12,_0x1b20x14);this[_0x5826[2282]](_0x1b20x5,_0x1b20xa[_0x5826[1525]],_0x1b20x12,_0x1b20x14);this[_0x5826[2283]](_0x1b20x5,_0x1b20x12,_0x1b20x14);this[_0x5826[2284]](_0x1b20x5);this[_0x5826[2285]](_0x1b20x5)}else {null!=_0x1b20xa&&(_0x1b20xa[_0x5826[1500]]&&null!=_0x1b20x2&&_0x1b20x4[_0x5826[250]](_0x1b20x2[_0x5826[246]]))&&(_0x1b20xa=this[_0x5826[245]](_0x1b20x2,_0x1b20xa),null!=_0x1b20xa&&(_0x1b20x5[_0x5826[235]]=_0x1b20xa[_0x5826[235]],_0x1b20x5[_0x5826[236]]=_0x1b20xa[_0x5826[236]],_0x1b20xa[_0x5826[235]]=_0x1b20xa[_0x5826[235]]/this[_0x5826[255]]-this[_0x5826[513]][_0x5826[235]],_0x1b20xa[_0x5826[236]]=_0x1b20xa[_0x5826[236]]/this[_0x5826[255]]-this[_0x5826[513]][_0x5826[236]],_0x1b20x5[_0x5826[2078]]=_0x1b20xa,this[_0x5826[2286]](_0x1b20x2,_0x1b20x5)))};_0x1b20x5[_0x5826[2080]]= !1;_0x1b20x3!=this[_0x5826[1741]]&&this[_0x5826[1179]][_0x5826[259]][_0x5826[258]](_0x1b20x5,!1,this[_0x5826[2287]]())};if(_0x1b20x4[_0x5826[250]](_0x1b20x3)||_0x1b20x4[_0x5826[1193]](_0x1b20x3)){null!=_0x1b20x5[_0x5826[253]]&&null!=_0x1b20x5[_0x5826[253]][_0x5826[1563]]&&(_0x1b20x9=_0x1b20x5[_0x5826[253]][_0x5826[1563]][_0x5826[238]]()),null!=_0x1b20x5[_0x5826[963]]&&!this[_0x5826[1179]][_0x5826[2130]](_0x1b20x5[_0x5826[246]])&&null!=_0x1b20x5[_0x5826[963]][_0x5826[1563]]&&(null!=_0x1b20x9?_0x1b20x9[_0x5826[99]](_0x1b20x5[_0x5826[963]][_0x5826[1563]]):_0x1b20x9=_0x1b20x5[_0x5826[963]][_0x5826[1563]][_0x5826[238]]())}};if(null!=_0x1b20x5&&(!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x3)||_0x1b20x3==this[_0x5826[1741]])){_0x1b20xa=_0x1b20x4[_0x5826[262]](_0x1b20x3);for(_0x1b20x12=0;_0x1b20x12<_0x1b20xa;_0x1b20x12++){_0x1b20x13=_0x1b20x4[_0x5826[263]](_0x1b20x3,_0x1b20x12),_0x1b20x13=this[_0x5826[2268]](_0x1b20x5,_0x1b20x13),null!=_0x1b20x13&&(null==_0x1b20x9?_0x1b20x9=_0x1b20x13:_0x1b20x9[_0x5826[99]](_0x1b20x13))}};return _0x1b20x9};mxGraphView[_0x5826[202]][_0x5826[2286]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x3[_0x5826[246]];if(!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x4)||_0x1b20x4==this[_0x5826[1741]]){for(var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[262]](_0x1b20x4),_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){this[_0x5826[2267]](_0x1b20x3,_0x1b20x5[_0x5826[263]](_0x1b20x4,_0x1b20xa))}}};mxGraphView[_0x5826[202]][_0x5826[2281]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[2289]](_0x1b20x2,_0x1b20x3,!0,this[_0x5826[1179]][_0x5826[2288]](_0x1b20x2,_0x1b20x3,!0));this[_0x5826[2289]](_0x1b20x2,_0x1b20x4,!1,this[_0x5826[1179]][_0x5826[2288]](_0x1b20x2,_0x1b20x4,!1))};mxGraphView[_0x5826[202]][_0x5826[2289]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;null!=_0x1b20x5&&(_0x1b20x9=this[_0x5826[1179]][_0x5826[2290]](_0x1b20x3,_0x1b20x5));if(null==_0x1b20x9&&null==_0x1b20x3){_0x1b20x3=this[_0x5826[255]];_0x1b20x5=this[_0x5826[513]];var _0x1b20xa=_0x1b20x2[_0x5826[2078]],_0x1b20x9=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x2[_0x5826[246]])[_0x5826[2006]](_0x1b20x4);null!=_0x1b20x9&&(_0x1b20x9= new mxPoint(_0x1b20x3*(_0x1b20x5[_0x5826[235]]+_0x1b20x9[_0x5826[235]]+_0x1b20xa[_0x5826[235]]),_0x1b20x3*(_0x1b20x5[_0x5826[236]]+_0x1b20x9[_0x5826[236]]+_0x1b20xa[_0x5826[236]])))};_0x1b20x2[_0x5826[2088]](_0x1b20x9,_0x1b20x4)};mxGraphView[_0x5826[202]][_0x5826[2282]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x2){var _0x1b20x9=[];_0x1b20x9[_0x5826[207]](_0x1b20x2[_0x5826[439]][0]);var _0x1b20xa=this[_0x5826[2291]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);if(null!=_0x1b20xa){_0x1b20x4=this[_0x5826[2292]](_0x1b20x2,_0x1b20x4,!0),_0x1b20x5=this[_0x5826[2292]](_0x1b20x2,_0x1b20x5,!1),_0x1b20xa(_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x3,_0x1b20x9)}else {if(null!=_0x1b20x3){for(_0x1b20xa=0;_0x1b20xa<_0x1b20x3[_0x5826[67]];_0x1b20xa++){null!=_0x1b20x3[_0x1b20xa]&&(_0x1b20x5=mxUtils[_0x5826[238]](_0x1b20x3[_0x1b20xa]),_0x1b20x9[_0x5826[207]](this[_0x5826[2229]](_0x1b20x2,_0x1b20x5)))}}};_0x1b20x3=_0x1b20x2[_0x5826[439]];_0x1b20x9[_0x5826[207]](_0x1b20x3[_0x1b20x3[_0x5826[67]]-1]);_0x1b20x2[_0x5826[439]]=_0x1b20x9}};mxGraphView[_0x5826[202]][_0x5826[2229]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[2078]];return new mxPoint(this[_0x5826[255]]*(_0x1b20x3[_0x5826[235]]+this[_0x5826[513]][_0x5826[235]]+_0x1b20x4[_0x5826[235]]),this[_0x5826[255]]*(_0x1b20x3[_0x5826[236]]+this[_0x5826[513]][_0x5826[236]]+_0x1b20x4[_0x5826[236]]))};mxGraphView[_0x5826[202]][_0x5826[2291]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x2=null!=_0x1b20x4&&_0x1b20x4==_0x1b20x5?mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_LOOP,this[_0x5826[1179]][_0x5826[2293]]):!mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_NOEDGESTYLE,!1)?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2294]]]:null;_0x5826[1516]== typeof _0x1b20x2&&(_0x1b20x3=mxStyleRegistry[_0x5826[433]](_0x1b20x2),null==_0x1b20x3&&this[_0x5826[2295]]()&&(_0x1b20x3=mxUtils[_0x5826[1545]](_0x1b20x2)),_0x1b20x2=_0x1b20x3);return _0x5826[279]== typeof _0x1b20x2?_0x1b20x2:null};mxGraphView[_0x5826[202]][_0x5826[2283]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[439]],_0x1b20x9=_0x1b20x5[0];null==_0x1b20x5[_0x1b20x5[_0x5826[67]]-1]&&null!=_0x1b20x4&&this[_0x5826[2296]](_0x1b20x2,_0x1b20x4,_0x1b20x3,!1);null==_0x1b20x9&&null!=_0x1b20x3&&this[_0x5826[2296]](_0x1b20x2,_0x1b20x3,_0x1b20x4,!0)};mxGraphView[_0x5826[202]][_0x5826[2296]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=this[_0x5826[2292]](_0x1b20x2,_0x1b20x3,_0x1b20x5);var _0x1b20x9=this[_0x5826[2297]](_0x1b20x2,_0x1b20x4,_0x1b20x5),_0x1b20xa=this[_0x5826[1179]][_0x5826[2298]](_0x1b20x2);_0x1b20x4=mxUtils[_0x5826[431]](Number(_0x1b20x3[_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]));var _0x1b20x12= new mxPoint(_0x1b20x3[_0x5826[241]](),_0x1b20x3[_0x5826[242]]());if(0!=_0x1b20x4){var _0x1b20x13=Math[_0x5826[426]](-_0x1b20x4),_0x1b20x14=Math[_0x5826[427]](-_0x1b20x4),_0x1b20x9=mxUtils[_0x5826[432]](_0x1b20x9,_0x1b20x13,_0x1b20x14,_0x1b20x12)};_0x1b20x13=parseFloat(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2299]]]||0);_0x1b20x13+=parseFloat(_0x1b20x2[_0x5826[124]][_0x1b20x5?mxConstants[_0x5826[2300]]:mxConstants[_0x5826[2301]]]||0);_0x1b20x3=this[_0x5826[2302]](_0x1b20x3,_0x1b20x9,0==_0x1b20x4&&_0x1b20xa,_0x1b20x13);0!=_0x1b20x4&&(_0x1b20x13=Math[_0x5826[426]](_0x1b20x4),_0x1b20x14=Math[_0x5826[427]](_0x1b20x4),_0x1b20x3=mxUtils[_0x5826[432]](_0x1b20x3,_0x1b20x13,_0x1b20x14,_0x1b20x12));_0x1b20x2[_0x5826[2088]](_0x1b20x3,_0x1b20x5)};mxGraphView[_0x5826[202]][_0x5826[2292]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],_0x1b20x4?mxConstants[_0x5826[2303]]:mxConstants[_0x5826[2304]]);null!=_0x1b20x2&&(_0x1b20x2=this[_0x5826[248]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[736]](_0x1b20x2)),null!=_0x1b20x2&&(_0x1b20x3=_0x1b20x2));return _0x1b20x3};mxGraphView[_0x5826[202]][_0x5826[2302]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;if(null!=_0x1b20x2){var _0x1b20xa=this[_0x5826[2305]](_0x1b20x2);if(null!=_0x1b20xa&&null!=_0x1b20x3&&(_0x1b20x5=this[_0x5826[2087]](_0x1b20x2,_0x1b20x5),0<_0x1b20x5[_0x5826[117]]||0<_0x1b20x5[_0x5826[119]])){_0x1b20x9=_0x1b20xa(_0x1b20x5,_0x1b20x2,_0x1b20x3,_0x1b20x4)};null==_0x1b20x9&&(_0x1b20x9=this[_0x5826[245]](_0x1b20x2))};return _0x1b20x9};mxGraphView[_0x5826[202]][_0x5826[2230]]=function(_0x1b20x2){var _0x1b20x3=null!=_0x1b20x2[_0x5826[124]]?parseFloat(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2306]]])||0:0;return _0x1b20x2[_0x5826[241]]()+_0x1b20x3*_0x1b20x2[_0x5826[117]]};mxGraphView[_0x5826[202]][_0x5826[2228]]=function(_0x1b20x2){var _0x1b20x3=null!=_0x1b20x2[_0x5826[124]]?parseFloat(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2307]]])||0:0;return _0x1b20x2[_0x5826[242]]()+_0x1b20x3*_0x1b20x2[_0x5826[119]]};mxGraphView[_0x5826[202]][_0x5826[2087]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:0;null!=_0x1b20x2&&(_0x1b20x3+=parseFloat(_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2299]]]||0));return _0x1b20x2[_0x5826[2087]](_0x1b20x3*this[_0x5826[255]])};mxGraphView[_0x5826[202]][_0x5826[2305]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2061]]];if(_0x5826[1516]== typeof _0x1b20x2){var _0x1b20x3=mxStyleRegistry[_0x5826[433]](_0x1b20x2);null==_0x1b20x3&&this[_0x5826[2295]]()&&(_0x1b20x3=mxUtils[_0x5826[1545]](_0x1b20x2));_0x1b20x2=_0x1b20x3};return _0x5826[279]== typeof _0x1b20x2?_0x1b20x2:null};mxGraphView[_0x5826[202]][_0x5826[2297]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=_0x1b20x2[_0x5826[439]];var _0x1b20x5=null;if(null!=_0x1b20x2&&(_0x1b20x4||2<_0x1b20x2[_0x5826[67]]||null==_0x1b20x3)){_0x1b20x5=_0x1b20x2[_0x5826[67]],_0x1b20x5=_0x1b20x2[_0x1b20x4?Math[_0x5826[243]](1,_0x1b20x5-1):Math[_0x5826[160]](0,_0x1b20x5-2)]};null==_0x1b20x5&&null!=_0x1b20x3&&(_0x1b20x5= new mxPoint(_0x1b20x3[_0x5826[241]](),_0x1b20x3[_0x5826[242]]()));return _0x1b20x5};mxGraphView[_0x5826[202]][_0x5826[1710]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x4[_0x5826[1709]](_0x1b20x2,_0x1b20x3),_0x1b20x9=_0x1b20x5;null!=_0x1b20x5&&_0x1b20x5!=this[_0x5826[1741]];){if(!this[_0x5826[1179]][_0x5826[1714]](_0x1b20x9)||this[_0x5826[1179]][_0x5826[1742]](_0x1b20x5)){_0x1b20x9=_0x1b20x5};_0x1b20x5=_0x1b20x4[_0x5826[1197]](_0x1b20x5)};_0x1b20x4[_0x5826[1197]](_0x1b20x9)==_0x1b20x4[_0x5826[501]]()&&(_0x1b20x9=null);return _0x1b20x9};mxGraphView[_0x5826[202]][_0x5826[2284]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[439]];_0x1b20x2[_0x5826[67]]=0;if(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]){var _0x1b20x4=_0x1b20x3[0],_0x1b20x5=_0x1b20x3[_0x1b20x3[_0x5826[67]]-1];if(null==_0x1b20x4||null==_0x1b20x5){_0x1b20x2[_0x5826[246]]!=this[_0x5826[1741]]&&this[_0x5826[200]](_0x1b20x2[_0x5826[246]],!0)}else {if(_0x1b20x4[_0x5826[235]]!=_0x1b20x5[_0x5826[235]]||_0x1b20x4[_0x5826[236]]!=_0x1b20x5[_0x5826[236]]){var _0x1b20x9=_0x1b20x5[_0x5826[235]]-_0x1b20x4[_0x5826[235]],_0x1b20xa=_0x1b20x5[_0x5826[236]]-_0x1b20x4[_0x5826[236]];_0x1b20x2[_0x5826[2085]]=Math[_0x5826[428]](_0x1b20x9*_0x1b20x9+_0x1b20xa*_0x1b20xa)}else {_0x1b20x2[_0x5826[2085]]=0};var _0x1b20x5=0,_0x1b20x12=[],_0x1b20xa=_0x1b20x4;if(null!=_0x1b20xa){for(var _0x1b20x4=_0x1b20xa[_0x5826[235]],_0x1b20x13=_0x1b20xa[_0x5826[236]],_0x1b20x14=_0x1b20x4,_0x1b20x15=_0x1b20x13,_0x1b20x16=1;_0x1b20x16<_0x1b20x3[_0x5826[67]];_0x1b20x16++){var _0x1b20x17=_0x1b20x3[_0x1b20x16];null!=_0x1b20x17&&(_0x1b20x9=_0x1b20xa[_0x5826[235]]-_0x1b20x17[_0x5826[235]],_0x1b20xa=_0x1b20xa[_0x5826[236]]-_0x1b20x17[_0x5826[236]],_0x1b20x9=Math[_0x5826[428]](_0x1b20x9*_0x1b20x9+_0x1b20xa*_0x1b20xa),_0x1b20x12[_0x5826[207]](_0x1b20x9),_0x1b20x5+=_0x1b20x9,_0x1b20xa=_0x1b20x17,_0x1b20x4=Math[_0x5826[243]](_0x1b20xa[_0x5826[235]],_0x1b20x4),_0x1b20x13=Math[_0x5826[243]](_0x1b20xa[_0x5826[236]],_0x1b20x13),_0x1b20x14=Math[_0x5826[160]](_0x1b20xa[_0x5826[235]],_0x1b20x14),_0x1b20x15=Math[_0x5826[160]](_0x1b20xa[_0x5826[236]],_0x1b20x15))};_0x1b20x2[_0x5826[67]]=_0x1b20x5;_0x1b20x2[_0x5826[2086]]=_0x1b20x12;_0x1b20x2[_0x5826[235]]=_0x1b20x4;_0x1b20x2[_0x5826[236]]=_0x1b20x13;_0x1b20x2[_0x5826[117]]=Math[_0x5826[160]](1,_0x1b20x14-_0x1b20x4);_0x1b20x2[_0x5826[119]]=Math[_0x5826[160]](1,_0x1b20x15-_0x1b20x13)}}}};mxGraphView[_0x5826[202]][_0x5826[245]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[241]](),_0x1b20x5=_0x1b20x2[_0x5826[242]]();if(null!=_0x1b20x2[_0x5826[2086]]&&(null==_0x1b20x3||_0x1b20x3[_0x5826[1500]])){for(var _0x1b20x9=_0x1b20x2[_0x5826[439]][_0x5826[67]],_0x1b20xa=((null!=_0x1b20x3?_0x1b20x3[_0x5826[235]]/2:0)+0.5)*_0x1b20x2[_0x5826[67]],_0x1b20x12=_0x1b20x2[_0x5826[2086]][0],_0x1b20x13=0,_0x1b20x14=1;_0x1b20xa>_0x1b20x13+_0x1b20x12&&_0x1b20x14<_0x1b20x9-1;){_0x1b20x13+=_0x1b20x12,_0x1b20x12=_0x1b20x2[_0x5826[2086]][_0x1b20x14++]};_0x1b20x9=0==_0x1b20x12?0:(_0x1b20xa-_0x1b20x13)/_0x1b20x12;_0x1b20xa=_0x1b20x2[_0x5826[439]][_0x1b20x14-1];_0x1b20x14=_0x1b20x2[_0x5826[439]][_0x1b20x14];if(null!=_0x1b20xa&&null!=_0x1b20x14){_0x1b20x13=_0x1b20x4=_0x1b20x5=0;if(null!=_0x1b20x3){var _0x1b20x5=_0x1b20x3[_0x5826[236]],_0x1b20x15=_0x1b20x3[_0x5826[1368]];null!=_0x1b20x15&&(_0x1b20x4=_0x1b20x15[_0x5826[235]],_0x1b20x13=_0x1b20x15[_0x5826[236]])};_0x1b20x15=_0x1b20x14[_0x5826[235]]-_0x1b20xa[_0x5826[235]];_0x1b20x14=_0x1b20x14[_0x5826[236]]-_0x1b20xa[_0x5826[236]];_0x1b20x4=_0x1b20xa[_0x5826[235]]+_0x1b20x15*_0x1b20x9+((0==_0x1b20x12?0:_0x1b20x14/_0x1b20x12)*_0x1b20x5+_0x1b20x4)*this[_0x5826[255]];_0x1b20x5=_0x1b20xa[_0x5826[236]]+_0x1b20x14*_0x1b20x9-((0==_0x1b20x12?0:_0x1b20x15/_0x1b20x12)*_0x1b20x5-_0x1b20x13)*this[_0x5826[255]]}}else {null!=_0x1b20x3&&(_0x1b20x15=_0x1b20x3[_0x5826[1368]],null!=_0x1b20x15&&(_0x1b20x4+=_0x1b20x15[_0x5826[235]],_0x1b20x5+=_0x1b20x15[_0x5826[236]]))};return new mxPoint(_0x1b20x4,_0x1b20x5)};mxGraphView[_0x5826[202]][_0x5826[2308]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1721]](_0x1b20x2[_0x5826[246]]);if(null!=_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[439]][_0x5826[67]];if(_0x1b20x5[_0x5826[1500]]&&1<_0x1b20x9){for(var _0x1b20x5=_0x1b20x2[_0x5826[67]],_0x1b20xa=_0x1b20x2[_0x5826[2086]],_0x1b20x12=_0x1b20x2[_0x5826[439]][0],_0x1b20x13=_0x1b20x2[_0x5826[439]][1],_0x1b20x14=mxUtils[_0x5826[440]](_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x3,_0x1b20x4),_0x1b20x15=0,_0x1b20x16=0,_0x1b20x17=0,_0x1b20x18=2;_0x1b20x18<_0x1b20x9;_0x1b20x18++){_0x1b20x16+=_0x1b20xa[_0x1b20x18-2],_0x1b20x13=_0x1b20x2[_0x5826[439]][_0x1b20x18],_0x1b20x12=mxUtils[_0x5826[440]](_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x3,_0x1b20x4),_0x1b20x12<=_0x1b20x14&&(_0x1b20x14=_0x1b20x12,_0x1b20x15=_0x1b20x18-1,_0x1b20x17=_0x1b20x16),_0x1b20x12=_0x1b20x13};_0x1b20x9=_0x1b20xa[_0x1b20x15];_0x1b20x12=_0x1b20x2[_0x5826[439]][_0x1b20x15];_0x1b20x13=_0x1b20x2[_0x5826[439]][_0x1b20x15+1];_0x1b20x14=_0x1b20x13[_0x5826[235]];_0x1b20xa=_0x1b20x13[_0x5826[236]];_0x1b20x2=_0x1b20x12[_0x5826[235]]-_0x1b20x14;_0x1b20x15=_0x1b20x12[_0x5826[236]]-_0x1b20xa;_0x1b20x14=_0x1b20x3-_0x1b20x14;_0x1b20xa=_0x1b20x4-_0x1b20xa;_0x1b20x14=_0x1b20x2-_0x1b20x14;_0x1b20xa=_0x1b20x15-_0x1b20xa;_0x1b20xa=_0x1b20x14*_0x1b20x2+_0x1b20xa*_0x1b20x15;_0x1b20x2=Math[_0x5826[428]](0>=_0x1b20xa?0:_0x1b20xa*_0x1b20xa/(_0x1b20x2*_0x1b20x2+_0x1b20x15*_0x1b20x15));_0x1b20x2>_0x1b20x9&&(_0x1b20x2=_0x1b20x9);_0x1b20x9=Math[_0x5826[428]](mxUtils[_0x5826[440]](_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x3,_0x1b20x4));-1==mxUtils[_0x5826[2309]](_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x13[_0x5826[235]],_0x1b20x13[_0x5826[236]],_0x1b20x3,_0x1b20x4)&&(_0x1b20x9= -_0x1b20x9);return new mxPoint(-2*((_0x1b20x5/2-_0x1b20x17-_0x1b20x2)/_0x1b20x5),_0x1b20x9/this[_0x5826[255]])}};return new mxPoint};mxGraphView[_0x5826[202]][_0x5826[2285]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[439]];_0x1b20x2[_0x5826[2079]][_0x5826[235]]=_0x1b20x2[_0x5826[241]]();_0x1b20x2[_0x5826[2079]][_0x5826[236]]=_0x1b20x2[_0x5826[242]]();if(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]&&null!=_0x1b20x2[_0x5826[2086]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x2[_0x5826[246]]);if(_0x1b20x4[_0x5826[1500]]){var _0x1b20x5=this[_0x5826[245]](_0x1b20x2,_0x1b20x4);null!=_0x1b20x5&&(_0x1b20x2[_0x5826[2079]]=_0x1b20x5)}else {var _0x1b20x5=_0x1b20x3[0],_0x1b20x9=_0x1b20x3[_0x1b20x3[_0x5826[67]]-1];if(null!=_0x1b20x5&&null!=_0x1b20x9){var _0x1b20x3=_0x1b20x9[_0x5826[235]]-_0x1b20x5[_0x5826[235]],_0x1b20xa=_0x1b20x9[_0x5826[236]]-_0x1b20x5[_0x5826[236]],_0x1b20x12=_0x1b20x9=0,_0x1b20x4=_0x1b20x4[_0x5826[1368]];null!=_0x1b20x4&&(_0x1b20x9=_0x1b20x4[_0x5826[235]],_0x1b20x12=_0x1b20x4[_0x5826[236]]);_0x1b20x4=_0x1b20x5[_0x5826[236]]+_0x1b20xa/2+_0x1b20x12*this[_0x5826[255]];_0x1b20x2[_0x5826[2079]][_0x5826[235]]=_0x1b20x5[_0x5826[235]]+_0x1b20x3/2+_0x1b20x9*this[_0x5826[255]];_0x1b20x2[_0x5826[2079]][_0x5826[236]]=_0x1b20x4}}}};mxGraphView[_0x5826[202]][_0x5826[248]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3|| !1;var _0x1b20x4=null;null!=_0x1b20x2&&(_0x1b20x4=this[_0x5826[1214]][_0x5826[203]](_0x1b20x2),this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2)&&(null==_0x1b20x4&&_0x1b20x3&&this[_0x5826[1179]][_0x5826[1714]](_0x1b20x2)?(_0x1b20x4=this[_0x5826[1230]](_0x1b20x2),this[_0x5826[1214]][_0x5826[204]](_0x1b20x2,_0x1b20x4)):_0x1b20x3&&(null!=_0x1b20x4&&this[_0x5826[2255]])&&(_0x1b20x4[_0x5826[124]]=this[_0x5826[1179]][_0x5826[1705]](_0x1b20x2))));return _0x1b20x4};mxGraphView[_0x5826[202]][_0x5826[2287]]=function(){return this[_0x5826[2254]]};mxGraphView[_0x5826[202]][_0x5826[2310]]=function(_0x1b20x2){this[_0x5826[2254]]=_0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[2295]]=function(){return this[_0x5826[2251]]};mxGraphView[_0x5826[202]][_0x5826[2311]]=function(_0x1b20x2){this[_0x5826[2251]]=_0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[2312]]=function(){return this[_0x5826[1214]]};mxGraphView[_0x5826[202]][_0x5826[1517]]=function(_0x1b20x2){this[_0x5826[1214]]=_0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[2313]]=function(_0x1b20x2){if(null==_0x1b20x2){return this[_0x5826[1214]]};for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=this[_0x5826[248]](_0x1b20x2[_0x1b20x4]);null!=_0x1b20x5&&_0x1b20x3[_0x5826[207]](_0x1b20x5)};return _0x1b20x3};mxGraphView[_0x5826[202]][_0x5826[2265]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[1214]][_0x5826[205]](_0x1b20x2),null!=_0x1b20x3&&(this[_0x5826[1179]][_0x5826[259]][_0x5826[515]](_0x1b20x3),_0x1b20x3[_0x5826[515]]()));return _0x1b20x3};mxGraphView[_0x5826[202]][_0x5826[1230]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[1705]](_0x1b20x2);_0x1b20x2= new mxCellState(this,_0x1b20x2,_0x1b20x3);this[_0x5826[1179]][_0x5826[259]][_0x5826[2155]](_0x1b20x2,this[_0x5826[2287]]());return _0x1b20x2};mxGraphView[_0x5826[202]][_0x5826[2051]]=function(){return this[_0x5826[510]]};mxGraphView[_0x5826[202]][_0x5826[2052]]=function(){return this[_0x5826[2053]]};mxGraphView[_0x5826[202]][_0x5826[2024]]=function(){return this[_0x5826[505]]};mxGraphView[_0x5826[202]][_0x5826[1524]]=function(){return this[_0x5826[506]]};mxGraphView[_0x5826[202]][_0x5826[2314]]=function(_0x1b20x2){_0x1b20x2=mxEvent[_0x5826[728]](_0x1b20x2);return _0x1b20x2==this[_0x5826[1179]][_0x5826[526]]||_0x1b20x2[_0x5826[265]]==this[_0x5826[2053]]||null!=_0x1b20x2[_0x5826[265]]&&_0x1b20x2[_0x5826[265]][_0x5826[265]]==this[_0x5826[2053]]||_0x1b20x2==this[_0x5826[510]][_0x5826[265]]||_0x1b20x2==this[_0x5826[510]]||_0x1b20x2==this[_0x5826[2053]]||_0x1b20x2==this[_0x5826[505]]||_0x1b20x2==this[_0x5826[506]]};mxGraphView[_0x5826[202]][_0x5826[2315]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[445]](this[_0x5826[1179]][_0x5826[526]]);_0x1b20x2= new mxPoint(_0x1b20x2[_0x5826[782]]-_0x1b20x3[_0x5826[235]],_0x1b20x2[_0x5826[784]]-_0x1b20x3[_0x5826[236]]);var _0x1b20x3=this[_0x5826[1179]][_0x5826[526]][_0x5826[359]],_0x1b20x4=this[_0x5826[1179]][_0x5826[526]][_0x5826[159]];if(_0x1b20x3>_0x1b20x4&&_0x1b20x2[_0x5826[235]]>_0x1b20x4+2&&_0x1b20x2[_0x5826[235]]<=_0x1b20x3){return !0};_0x1b20x3=this[_0x5826[1179]][_0x5826[526]][_0x5826[167]];_0x1b20x4=this[_0x5826[1179]][_0x5826[526]][_0x5826[157]];return _0x1b20x3>_0x1b20x4&&_0x1b20x2[_0x5826[236]]>_0x1b20x4+2&&_0x1b20x2[_0x5826[236]]<=_0x1b20x3?!0:!1};mxGraphView[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[2163]]();var _0x1b20x2=this[_0x5826[1179]];_0x1b20x2[_0x5826[507]]==mxConstants[_0x5826[508]]?this[_0x5826[1569]]():_0x1b20x2[_0x5826[507]]==mxConstants[_0x5826[1523]]?this[_0x5826[1571]]():this[_0x5826[1570]]()};mxGraphView[_0x5826[202]][_0x5826[2163]]=function(){var _0x1b20x2=this[_0x5826[1179]],_0x1b20x3=_0x1b20x2[_0x5826[526]];if(null!=_0x1b20x3){mxEvent[_0x5826[759]](_0x1b20x3,mxUtils[_0x5826[885]](this,function(_0x1b20x3){mxClient[_0x5826[754]]&&_0x1b20x2[_0x5826[2203]]()&&_0x1b20x2[_0x5826[2126]](!_0x1b20x2[_0x5826[2134]]());this[_0x5826[2314]](_0x1b20x3)&&(!mxClient[_0x5826[80]]&&!mxClient[_0x5826[76]]&&!mxClient[_0x5826[71]]&&!mxClient[_0x5826[75]]||!this[_0x5826[2315]](_0x1b20x3))&&_0x1b20x2[_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x3))}),mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2314]](_0x1b20x3)&&_0x1b20x2[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x3))}),mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2314]](_0x1b20x3)&&_0x1b20x2[_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x3))}));mxEvent[_0x5826[169]](_0x1b20x3,_0x5826[760],mxUtils[_0x5826[885]](this,function(_0x1b20x3){_0x1b20x2[_0x5826[761]](_0x1b20x3)}));var _0x1b20x4=function(_0x1b20x4){var _0x1b20x9=null;mxClient[_0x5826[754]]&&(_0x1b20x9=mxEvent[_0x5826[731]](_0x1b20x4),_0x1b20x4=mxEvent[_0x5826[733]](_0x1b20x4),_0x1b20x4=mxUtils[_0x5826[2196]](_0x1b20x3,_0x1b20x9,_0x1b20x4),_0x1b20x9=_0x1b20x2[_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x5826[999]](_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]])));return _0x1b20x9};_0x1b20x2[_0x5826[1133]]({mouseDown:function(_0x1b20x3,_0x1b20x4){_0x1b20x2[_0x5826[2316]][_0x5826[1032]]()},mouseMove:function(){},mouseUp:function(){}});this[_0x5826[2317]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3){null!=_0x1b20x2[_0x5826[2276]]&&_0x1b20x2[_0x5826[2276]][_0x5826[2277]]()&&_0x1b20x2[_0x5826[2276]][_0x5826[801]]();this[_0x5826[2252]]&&(_0x1b20x2[_0x5826[1009]]&&!mxEvent[_0x5826[721]](_0x1b20x3))&&_0x1b20x2[_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x3,_0x1b20x4(_0x1b20x3)))});this[_0x5826[2318]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3){this[_0x5826[2252]]&&_0x1b20x2[_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x3))});mxEvent[_0x5826[759]](document,null,this[_0x5826[2317]],this[_0x5826[2318]])}};mxGraphView[_0x5826[202]][_0x5826[1570]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[526]];null!=_0x1b20x2&&(this[_0x5826[510]]=this[_0x5826[2319]](_0x5826[118],_0x5826[118]),this[_0x5826[2053]]=this[_0x5826[2319]](_0x5826[942],_0x5826[942]),this[_0x5826[505]]=this[_0x5826[2319]](_0x5826[942],_0x5826[942]),this[_0x5826[506]]=this[_0x5826[2319]](_0x5826[942],_0x5826[942]),this[_0x5826[510]][_0x5826[62]](this[_0x5826[2053]]),this[_0x5826[510]][_0x5826[62]](this[_0x5826[505]]),this[_0x5826[510]][_0x5826[62]](this[_0x5826[506]]),_0x1b20x2[_0x5826[62]](this[_0x5826[510]]),mxClient[_0x5826[496]]&&(_0x1b20x2=mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x2=this[_0x5826[517]]();this[_0x5826[2320]](_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]+this[_0x5826[1179]][_0x5826[467]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]+this[_0x5826[1179]][_0x5826[467]])}),mxEvent[_0x5826[169]](window,_0x5826[129],_0x1b20x2)))};mxGraphView[_0x5826[202]][_0x5826[2320]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[1179]][_0x5826[526]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[526]][_0x5826[167]];this[_0x5826[510]][_0x5826[124]][_0x5826[117]]=this[_0x5826[1179]][_0x5826[526]][_0x5826[359]]<_0x1b20x2?_0x1b20x2+_0x5826[168]:_0x5826[118];this[_0x5826[510]][_0x5826[124]][_0x5826[119]]=_0x1b20x4<_0x1b20x3?_0x1b20x3+_0x5826[168]:_0x5826[118]}};mxGraphView[_0x5826[202]][_0x5826[2319]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[529]);null!=_0x1b20x2&&null!=_0x1b20x3?(_0x1b20x4[_0x5826[124]][_0x5826[491]]=_0x5826[492],_0x1b20x4[_0x5826[124]][_0x5826[361]]=_0x5826[946],_0x1b20x4[_0x5826[124]][_0x5826[125]]=_0x5826[946],_0x1b20x4[_0x5826[124]][_0x5826[117]]=_0x1b20x2,_0x1b20x4[_0x5826[124]][_0x5826[119]]=_0x1b20x3):_0x1b20x4[_0x5826[124]][_0x5826[491]]=_0x5826[1500];return _0x1b20x4};mxGraphView[_0x5826[202]][_0x5826[1571]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[526]];if(null!=_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[359]],_0x1b20x4=_0x1b20x2[_0x5826[167]];this[_0x5826[510]]=this[_0x5826[2321]](_0x1b20x3,_0x1b20x4);this[_0x5826[2053]]=this[_0x5826[2321]](_0x1b20x3,_0x1b20x4);this[_0x5826[505]]=this[_0x5826[2321]](_0x1b20x3,_0x1b20x4);this[_0x5826[506]]=this[_0x5826[2321]](_0x1b20x3,_0x1b20x4);this[_0x5826[510]][_0x5826[62]](this[_0x5826[2053]]);this[_0x5826[510]][_0x5826[62]](this[_0x5826[505]]);this[_0x5826[510]][_0x5826[62]](this[_0x5826[506]]);_0x1b20x2[_0x5826[62]](this[_0x5826[510]])}};mxGraphView[_0x5826[202]][_0x5826[2321]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](mxClient[_0x5826[463]]+_0x5826[1499]);_0x1b20x4[_0x5826[124]][_0x5826[491]]=_0x5826[492];_0x1b20x4[_0x5826[124]][_0x5826[361]]=_0x5826[946];_0x1b20x4[_0x5826[124]][_0x5826[125]]=_0x5826[946];_0x1b20x4[_0x5826[124]][_0x5826[117]]=_0x1b20x2+_0x5826[168];_0x1b20x4[_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168];_0x1b20x4[_0x5826[57]](_0x5826[1462],_0x1b20x2+_0x5826[537]+_0x1b20x3);_0x1b20x4[_0x5826[57]](_0x5826[2322],_0x5826[2323]);return _0x1b20x4};mxGraphView[_0x5826[202]][_0x5826[1569]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[526]];this[_0x5826[510]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449]);this[_0x5826[2053]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449]);this[_0x5826[510]][_0x5826[62]](this[_0x5826[2053]]);this[_0x5826[505]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449]);this[_0x5826[510]][_0x5826[62]](this[_0x5826[505]]);this[_0x5826[506]]=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[449]);this[_0x5826[510]][_0x5826[62]](this[_0x5826[506]]);var _0x1b20x3=document[_0x5826[509]](mxConstants.NS_SVG,_0x5826[571]);_0x1b20x3[_0x5826[124]][_0x5826[117]]=_0x5826[118];_0x1b20x3[_0x5826[124]][_0x5826[119]]=_0x5826[118];_0x1b20x3[_0x5826[124]][_0x5826[495]]=_0x5826[694];_0x1b20x3[_0x5826[62]](this[_0x5826[510]]);null!=_0x1b20x2&&(_0x1b20x2[_0x5826[62]](_0x1b20x3),_0x5826[2324]==mxUtils[_0x5826[275]](_0x1b20x2)[_0x5826[491]]&&(_0x1b20x2[_0x5826[124]][_0x5826[491]]=_0x5826[1500]))};mxGraphView[_0x5826[202]][_0x5826[515]]=function(){var _0x1b20x2=null!=this[_0x5826[510]]?this[_0x5826[510]][_0x5826[538]]:null;null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[510]]);null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[265]]&&(this[_0x5826[200]](this[_0x5826[1741]],!0),mxEvent[_0x5826[938]](document,null,this[_0x5826[2317]],this[_0x5826[2318]]),mxEvent[_0x5826[762]](this[_0x5826[1179]][_0x5826[526]]),_0x1b20x2[_0x5826[265]][_0x5826[266]](_0x1b20x2),this[_0x5826[506]]=this[_0x5826[505]]=this[_0x5826[2053]]=this[_0x5826[510]]=this[_0x5826[2318]]=this[_0x5826[2317]]=null)};function mxCurrentRootChange(_0x1b20x2,_0x1b20x3){this[_0x5826[441]]=_0x1b20x2;this[_0x5826[257]]=this[_0x5826[813]]=_0x1b20x3;this[_0x5826[2325]]=null==_0x1b20x3;if(!this[_0x5826[2325]]){for(var _0x1b20x4=this[_0x5826[441]][_0x5826[1741]],_0x1b20x5=this[_0x5826[441]][_0x5826[1179]][_0x5826[502]]();null!=_0x1b20x4;){if(_0x1b20x4==_0x1b20x3){this[_0x5826[2325]]= !0;break};_0x1b20x4=_0x1b20x5[_0x5826[1197]](_0x1b20x4)}}}mxCurrentRootChange[_0x5826[202]][_0x5826[350]]=function(){var _0x1b20x2=this[_0x5826[441]][_0x5826[1741]];this[_0x5826[441]][_0x5826[1741]]=this[_0x5826[257]];this[_0x5826[257]]=_0x1b20x2;_0x1b20x2=this[_0x5826[441]][_0x5826[1179]][_0x5826[2326]](this[_0x5826[441]][_0x5826[1741]]);null!=_0x1b20x2&&(this[_0x5826[441]][_0x5826[513]]= new mxPoint(-_0x1b20x2[_0x5826[235]],-_0x1b20x2[_0x5826[236]]));this[_0x5826[441]][_0x5826[746]]( new mxEventObject(this[_0x5826[2325]]?mxEvent[_0x5826[2327]]:mxEvent[_0x5826[2328]],_0x5826[813],this[_0x5826[441]][_0x5826[1741]],_0x5826[257],this[_0x5826[257]]));this[_0x5826[2325]]?(this[_0x5826[441]][_0x5826[200]](this[_0x5826[441]][_0x5826[1741]],!0),this[_0x5826[441]][_0x5826[2264]]()):this[_0x5826[441]][_0x5826[802]]();this[_0x5826[2325]]=!this[_0x5826[2325]]};function mxGraph(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[2329]]=null;this[_0x5826[2330]]=_0x1b20x4;this[_0x5826[507]]=mxClient[_0x5826[48]]?mxConstants[_0x5826[508]]:_0x1b20x4==mxConstants[_0x5826[2331]]&&mxClient[_0x5826[47]]?mxConstants[_0x5826[1523]]:_0x1b20x4==mxConstants[_0x5826[2332]]?mxConstants[_0x5826[1656]]:_0x1b20x4==mxConstants[_0x5826[2333]]?mxConstants[_0x5826[2209]]:mxConstants[_0x5826[2334]];this[_0x5826[251]]=null!=_0x1b20x3?_0x1b20x3: new mxGraphModel;this[_0x5826[2335]]=[];this[_0x5826[2336]]=[];this[_0x5826[259]]=this[_0x5826[2337]]();this[_0x5826[2339]](this[_0x5826[2338]]());this[_0x5826[2341]](null!=_0x1b20x5?_0x1b20x5:this[_0x5826[2340]]());this[_0x5826[441]]=this[_0x5826[2342]]();this[_0x5826[2343]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[1177]](_0x1b20x3[_0x5826[720]](_0x5826[1061])[_0x5826[1065]])});this[_0x5826[251]][_0x5826[169]](mxEvent.CHANGE,this[_0x5826[2343]]);this[_0x5826[2344]]();null!=_0x1b20x2&&this[_0x5826[176]](_0x1b20x2);this[_0x5826[441]][_0x5826[2259]]()}mxLoadResources&&mxResources[_0x5826[99]](mxClient[_0x5826[86]]+_0x5826[2345]);mxGraph[_0x5826[202]]= new mxEventSource;mxGraph[_0x5826[202]][_0x5826[196]]=mxGraph;mxGraph[_0x5826[202]][_0x5826[2346]]=[];mxGraph[_0x5826[202]][_0x5826[2329]]=null;mxGraph[_0x5826[202]][_0x5826[1009]]= !1;mxGraph[_0x5826[202]][_0x5826[251]]=null;mxGraph[_0x5826[202]][_0x5826[441]]=null;mxGraph[_0x5826[202]][_0x5826[94]]=null;mxGraph[_0x5826[202]][_0x5826[2105]]=null;mxGraph[_0x5826[202]][_0x5826[2347]]=null;mxGraph[_0x5826[202]][_0x5826[259]]=null;mxGraph[_0x5826[202]][_0x5826[2335]]=null;mxGraph[_0x5826[202]][_0x5826[2330]]=null;mxGraph[_0x5826[202]][_0x5826[507]]=null;mxGraph[_0x5826[202]][_0x5826[1020]]=10;mxGraph[_0x5826[202]][_0x5826[991]]= !0;mxGraph[_0x5826[202]][_0x5826[2348]]= !0;mxGraph[_0x5826[202]][_0x5826[2349]]= !0;mxGraph[_0x5826[202]][_0x5826[2350]]=700;mxGraph[_0x5826[202]][_0x5826[2351]]=25;mxGraph[_0x5826[202]][_0x5826[2352]]=0;mxGraph[_0x5826[202]][_0x5826[2352]]=0;mxGraph[_0x5826[202]][_0x5826[2213]]=0;mxGraph[_0x5826[202]][_0x5826[2215]]= !0;mxGraph[_0x5826[202]][_0x5826[2353]]=4;mxGraph[_0x5826[202]][_0x5826[2354]]=0.5;mxGraph[_0x5826[202]][_0x5826[2355]]=null;mxGraph[_0x5826[202]][_0x5826[2356]]=null;mxGraph[_0x5826[202]][_0x5826[1617]]=null;mxGraph[_0x5826[202]][_0x5826[2273]]= !1;mxGraph[_0x5826[202]][_0x5826[2357]]= !1;mxGraph[_0x5826[202]][_0x5826[2358]]=_0x5826[579];mxGraph[_0x5826[202]][_0x5826[2359]]= !0;mxGraph[_0x5826[202]][_0x5826[2360]]=20;mxGraph[_0x5826[202]][_0x5826[2361]]= !1;mxGraph[_0x5826[202]][_0x5826[2013]]=mxConstants[_0x5826[516]];mxGraph[_0x5826[202]][_0x5826[2012]]=1.5;mxGraph[_0x5826[202]][_0x5826[984]]= !0;mxGraph[_0x5826[202]][_0x5826[2362]]= !0;mxGraph[_0x5826[202]][_0x5826[2363]]= !0;mxGraph[_0x5826[202]][_0x5826[2364]]= !1;mxGraph[_0x5826[202]][_0x5826[2365]]= !0;mxGraph[_0x5826[202]][_0x5826[2366]]= !0;mxGraph[_0x5826[202]][_0x5826[2367]]= !0;mxGraph[_0x5826[202]][_0x5826[2368]]= !1;mxGraph[_0x5826[202]][_0x5826[2369]]= !0;mxGraph[_0x5826[202]][_0x5826[2206]]= !0;mxGraph[_0x5826[202]][_0x5826[2370]]= !0;mxGraph[_0x5826[202]][_0x5826[2371]]= !0;mxGraph[_0x5826[202]][_0x5826[2372]]= !0;mxGraph[_0x5826[202]][_0x5826[2373]]= !0;mxGraph[_0x5826[202]][_0x5826[2374]]= !1;mxGraph[_0x5826[202]][_0x5826[2375]]= !1;mxGraph[_0x5826[202]][_0x5826[2376]]= !0;mxGraph[_0x5826[202]][_0x5826[2377]]= !0;mxGraph[_0x5826[202]][_0x5826[2378]]= !0;mxGraph[_0x5826[202]][_0x5826[2379]]= !0;mxGraph[_0x5826[202]][_0x5826[2380]]= !0;mxGraph[_0x5826[202]][_0x5826[2381]]= !1;mxGraph[_0x5826[202]][_0x5826[1012]]= !0;mxGraph[_0x5826[202]][_0x5826[2382]]= !1;mxGraph[_0x5826[202]][_0x5826[2383]]= !1;mxGraph[_0x5826[202]][_0x5826[2384]]= !1;mxGraph[_0x5826[202]][_0x5826[1013]]= !0;mxGraph[_0x5826[202]][_0x5826[2385]]=null;mxGraph[_0x5826[202]][_0x5826[2386]]=null;mxGraph[_0x5826[202]][_0x5826[2387]]=null;mxGraph[_0x5826[202]][_0x5826[2388]]=null;mxGraph[_0x5826[202]][_0x5826[2389]]= !1;mxGraph[_0x5826[202]][_0x5826[467]]=0;mxGraph[_0x5826[202]][_0x5826[2158]]= !0;mxGraph[_0x5826[202]][_0x5826[2159]]= !1;mxGraph[_0x5826[202]][_0x5826[2168]]= !0;mxGraph[_0x5826[202]][_0x5826[2390]]= !0;mxGraph[_0x5826[202]][_0x5826[2391]]= !0;mxGraph[_0x5826[202]][_0x5826[2392]]= !0;mxGraph[_0x5826[202]][_0x5826[2393]]= !0;mxGraph[_0x5826[202]][_0x5826[2394]]= !0;mxGraph[_0x5826[202]][_0x5826[2395]]=1.2;mxGraph[_0x5826[202]][_0x5826[2396]]= !1;mxGraph[_0x5826[202]][_0x5826[2397]]= !0;mxGraph[_0x5826[202]][_0x5826[2398]]= !0;mxGraph[_0x5826[202]][_0x5826[2399]]= !1;mxGraph[_0x5826[202]][_0x5826[2400]]= !1;mxGraph[_0x5826[202]][_0x5826[2401]]= !0;mxGraph[_0x5826[202]][_0x5826[2402]]= !1;mxGraph[_0x5826[202]][_0x5826[2293]]=mxEdgeStyle[_0x5826[2403]];mxGraph[_0x5826[202]][_0x5826[2404]]= !0;mxGraph[_0x5826[202]][_0x5826[2405]]= !1;mxGraph[_0x5826[202]][_0x5826[2406]]= !0;mxGraph[_0x5826[202]][_0x5826[2407]]= !1;mxGraph[_0x5826[202]][_0x5826[2408]]= !0;mxGraph[_0x5826[202]][_0x5826[2409]]= !0;mxGraph[_0x5826[202]][_0x5826[2410]]= !1;mxGraph[_0x5826[202]][_0x5826[2411]]= !0;mxGraph[_0x5826[202]][_0x5826[2412]]= !0;mxGraph[_0x5826[202]][_0x5826[2180]]=mxConstants[_0x5826[2065]];mxGraph[_0x5826[202]][_0x5826[2336]]=null;mxGraph[_0x5826[202]][_0x5826[2413]]=0.1;mxGraph[_0x5826[202]][_0x5826[2414]]=8;mxGraph[_0x5826[202]][_0x5826[1136]]=0;mxGraph[_0x5826[202]][_0x5826[1137]]=0;mxGraph[_0x5826[202]][_0x5826[2415]]= new mxImage(mxClient[_0x5826[88]]+_0x5826[2416],9,9);mxGraph[_0x5826[202]][_0x5826[2417]]= new mxImage(mxClient[_0x5826[88]]+_0x5826[2418],9,9);mxGraph[_0x5826[202]][_0x5826[2419]]= new mxImage(_0x5826[2420],16,16);mxGraph[_0x5826[202]][_0x5826[2421]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2422]:_0x5826[110];mxGraph[_0x5826[202]][_0x5826[2423]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2424]:_0x5826[110];mxGraph[_0x5826[202]][_0x5826[2425]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2426]:_0x5826[110];mxGraph[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2){this[_0x5826[526]]=_0x1b20x2;this[_0x5826[2347]]=this[_0x5826[2427]]();this[_0x5826[441]][_0x5826[176]]();this[_0x5826[2258]]();mxClient[_0x5826[80]]&&(mxEvent[_0x5826[169]](window,_0x5826[2428],mxUtils[_0x5826[885]](this,function(){this[_0x5826[515]]()})),mxEvent[_0x5826[169]](_0x1b20x2,_0x5826[2429],mxUtils[_0x5826[885]](this,function(){return this[_0x5826[2203]]()})));8==document[_0x5826[5]]&&_0x1b20x2[_0x5826[1583]](_0x5826[1582],_0x5826[2430])};mxGraph[_0x5826[202]][_0x5826[2344]]=function(_0x1b20x2){this[_0x5826[2276]]= new mxTooltipHandler(this);this[_0x5826[2276]][_0x5826[995]](!1);this[_0x5826[2316]]= new mxPanningHandler(this);this[_0x5826[2316]][_0x5826[2431]]= !1;this[_0x5826[2432]]= new mxSelectionCellsHandler(this);this[_0x5826[2433]]= new mxConnectionHandler(this);this[_0x5826[2433]][_0x5826[995]](!1);this[_0x5826[1011]]= new mxGraphHandler(this)};mxGraph[_0x5826[202]][_0x5826[2338]]=function(){return new mxGraphSelectionModel(this)};mxGraph[_0x5826[202]][_0x5826[2340]]=function(){return new mxStylesheet};mxGraph[_0x5826[202]][_0x5826[2342]]=function(){return new mxGraphView(this)};mxGraph[_0x5826[202]][_0x5826[2337]]=function(){return new mxCellRenderer};mxGraph[_0x5826[202]][_0x5826[2427]]=function(){return new mxCellEditor(this)};mxGraph[_0x5826[202]][_0x5826[502]]=function(){return this[_0x5826[251]]};mxGraph[_0x5826[202]][_0x5826[249]]=function(){return this[_0x5826[441]]};mxGraph[_0x5826[202]][_0x5826[2434]]=function(){return this[_0x5826[94]]};mxGraph[_0x5826[202]][_0x5826[2341]]=function(_0x1b20x2){this[_0x5826[94]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2435]]=function(){return this[_0x5826[2105]]};mxGraph[_0x5826[202]][_0x5826[2339]]=function(_0x1b20x2){this[_0x5826[2105]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2436]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=_0x1b20x2[_0x1b20x4];if(_0x1b20x5[_0x5826[196]]!=mxRootChange){var _0x1b20x9=null;_0x1b20x5 instanceof mxChildChange&&null==_0x1b20x5[_0x5826[257]]?_0x1b20x9=_0x1b20x5[_0x5826[247]]:null!=_0x1b20x5[_0x5826[246]]&&_0x1b20x5[_0x5826[246]] instanceof mxCell&&(_0x1b20x9=_0x1b20x5[_0x5826[246]]);null!=_0x1b20x9&&0>mxUtils[_0x5826[2]](_0x1b20x3,_0x1b20x9)&&_0x1b20x3[_0x5826[207]](_0x1b20x9)}};return this[_0x5826[502]]()[_0x5826[1964]](_0x1b20x3)};mxGraph[_0x5826[202]][_0x5826[1177]]=function(_0x1b20x2){for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){this[_0x5826[2437]](_0x1b20x2[_0x1b20x3])};this[_0x5826[2439]](this[_0x5826[2438]](_0x1b20x2));this[_0x5826[441]][_0x5826[2264]]();this[_0x5826[2258]]()};mxGraph[_0x5826[202]][_0x5826[2438]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=_0x1b20x2[_0x1b20x4];if(_0x1b20x5 instanceof mxRootChange){break}else {_0x1b20x5 instanceof mxChildChange?null!=_0x1b20x5[_0x5826[257]]&&null==_0x1b20x5[_0x5826[1101]]&&(_0x1b20x3=_0x1b20x3[_0x5826[1919]](this[_0x5826[251]][_0x5826[1939]](_0x1b20x5[_0x5826[247]]))):_0x1b20x5 instanceof mxVisibleChange&&(_0x1b20x3=_0x1b20x3[_0x5826[1919]](this[_0x5826[251]][_0x5826[1939]](_0x1b20x5[_0x5826[246]])))}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2437]]=function(_0x1b20x2){if(_0x1b20x2 instanceof mxRootChange){this[_0x5826[2440]](),this[_0x5826[2441]](_0x1b20x2[_0x5826[257]]),this[_0x5826[2398]]&&(this[_0x5826[441]][_0x5826[255]]=1,this[_0x5826[441]][_0x5826[513]][_0x5826[235]]=0,this[_0x5826[441]][_0x5826[513]][_0x5826[236]]=0),this[_0x5826[746]]( new mxEventObject(mxEvent.ROOT))}else {if(_0x1b20x2 instanceof mxChildChange){var _0x1b20x3=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x5826[247]]);null!=_0x1b20x3?this[_0x5826[441]][_0x5826[2263]](_0x1b20x2[_0x5826[247]],!0,!1,null!=_0x1b20x2[_0x5826[257]]):(this[_0x5826[2441]](_0x1b20x2[_0x5826[247]]),this[_0x5826[441]][_0x5826[1741]]==_0x1b20x2[_0x5826[247]]&&this[_0x5826[2442]]());_0x1b20x3!=_0x1b20x2[_0x5826[257]]&&(null!=_0x1b20x3&&this[_0x5826[441]][_0x5826[2263]](_0x1b20x3,!1,!1),null!=_0x1b20x2[_0x5826[257]]&&this[_0x5826[441]][_0x5826[2263]](_0x1b20x2[_0x5826[257]],!1,!1))}else {_0x1b20x2 instanceof mxTerminalChange||_0x1b20x2 instanceof mxGeometryChange?this[_0x5826[441]][_0x5826[2263]](_0x1b20x2[_0x5826[246]]):_0x1b20x2 instanceof mxValueChange?this[_0x5826[441]][_0x5826[2263]](_0x1b20x2[_0x5826[246]],!1,!1):_0x1b20x2 instanceof mxStyleChange?(this[_0x5826[441]][_0x5826[2263]](_0x1b20x2[_0x5826[246]],!0,!0,!1),this[_0x5826[441]][_0x5826[2265]](_0x1b20x2[_0x5826[246]])):null!=_0x1b20x2[_0x5826[246]]&&_0x1b20x2[_0x5826[246]] instanceof mxCell&&this[_0x5826[2441]](_0x1b20x2[_0x5826[246]])}}};mxGraph[_0x5826[202]][_0x5826[2441]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[251]][_0x5826[262]](_0x1b20x2),_0x1b20x4=0;_0x1b20x4<_0x1b20x3;_0x1b20x4++){this[_0x5826[2441]](this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x4))};this[_0x5826[441]][_0x5826[2265]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2443]]=function(_0x1b20x2,_0x1b20x3){null==_0x1b20x2[_0x5826[1211]]&&(_0x1b20x2[_0x5826[1211]]=[]);_0x1b20x2[_0x5826[1211]][_0x5826[207]](_0x1b20x3);var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);null!=_0x1b20x4&&this[_0x5826[259]][_0x5826[258]](_0x1b20x4);this[_0x5826[746]]( new mxEventObject(mxEvent.ADD_OVERLAY,_0x5826[246],_0x1b20x2,_0x5826[2201],_0x1b20x3));return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2200]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[1211]]};mxGraph[_0x5826[202]][_0x5826[2444]]=function(_0x1b20x2,_0x1b20x3){if(null==_0x1b20x3){this[_0x5826[2445]](_0x1b20x2)}else {var _0x1b20x4=mxUtils[_0x5826[2]](_0x1b20x2[_0x5826[1211]],_0x1b20x3);0<=_0x1b20x4?(_0x1b20x2[_0x5826[1211]][_0x5826[300]](_0x1b20x4,1),0==_0x1b20x2[_0x5826[1211]][_0x5826[67]]&&(_0x1b20x2[_0x5826[1211]]=null),_0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),null!=_0x1b20x4&&this[_0x5826[259]][_0x5826[258]](_0x1b20x4),this[_0x5826[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x5826[246],_0x1b20x2,_0x5826[2201],_0x1b20x3))):_0x1b20x3=null};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2445]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[1211]];if(null!=_0x1b20x3){_0x1b20x2[_0x5826[1211]]=null;var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);null!=_0x1b20x4&&this[_0x5826[259]][_0x5826[258]](_0x1b20x4);for(_0x1b20x4=0;_0x1b20x4<_0x1b20x3[_0x5826[67]];_0x1b20x4++){this[_0x5826[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x5826[246],_0x1b20x2,_0x5826[2201],_0x1b20x3[_0x1b20x4]))}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2446]]=function(_0x1b20x2){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:this[_0x5826[251]][_0x5826[501]]();this[_0x5826[2445]](_0x1b20x2);for(var _0x1b20x3=this[_0x5826[251]][_0x5826[262]](_0x1b20x2),_0x1b20x4=0;_0x1b20x4<_0x1b20x3;_0x1b20x4++){var _0x1b20x5=this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x4);this[_0x5826[2446]](_0x1b20x5)}};mxGraph[_0x5826[202]][_0x5826[2447]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]){return _0x1b20x4=null!=_0x1b20x4?_0x1b20x4:this[_0x5826[2419]],_0x1b20x3= new mxCellOverlay(_0x1b20x4,_0x5826[2448]+_0x1b20x3+_0x5826[2449]),_0x1b20x5&&_0x1b20x3[_0x5826[169]](mxEvent.CLICK,mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x4){this[_0x5826[994]]()&&this[_0x5826[2450]](_0x1b20x2)})),this[_0x5826[2443]](_0x1b20x2,_0x1b20x3)};this[_0x5826[2445]](_0x1b20x2);return null};mxGraph[_0x5826[202]][_0x5826[855]]=function(_0x1b20x2){this[_0x5826[2451]](null,_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2451]]=function(_0x1b20x2,_0x1b20x3){null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[2452]](),null!=_0x1b20x2&&!this[_0x5826[2453]](_0x1b20x2)&&(_0x1b20x2=null));null!=_0x1b20x2&&(this[_0x5826[746]]( new mxEventObject(mxEvent.START_EDITING,_0x5826[246],_0x1b20x2,_0x5826[763],_0x1b20x3)),this[_0x5826[2347]][_0x5826[855]](_0x1b20x2,_0x1b20x3))};mxGraph[_0x5826[202]][_0x5826[2142]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[2454]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2126]]=function(_0x1b20x2){this[_0x5826[2347]][_0x5826[2126]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[850]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[2456]](_0x1b20x2,_0x1b20x3,this[_0x5826[2455]](_0x1b20x2)),this[_0x5826[746]]( new mxEventObject(mxEvent.LABEL_CHANGED,_0x5826[246],_0x1b20x2,_0x5826[131],_0x1b20x3,_0x5826[763],_0x1b20x4))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2456]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[251]][_0x5826[1966]](_0x1b20x2,_0x1b20x3),_0x1b20x4&&this[_0x5826[2457]](_0x1b20x2,!1)}finally{this[_0x5826[251]][_0x5826[476]]()}};mxGraph[_0x5826[202]][_0x5826[859]]=function(_0x1b20x2){this[_0x5826[2126]](!0);this[_0x5826[2433]][_0x5826[862]]();this[_0x5826[1011]][_0x5826[862]]();_0x1b20x2=this[_0x5826[897]]();for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x1b20x3]);null!=_0x1b20x4&&null!=_0x1b20x4[_0x5826[2458]]&&_0x1b20x4[_0x5826[2458]][_0x5826[862]]()}};mxGraph[_0x5826[202]][_0x5826[173]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[727]](),_0x1b20x4=_0x1b20x2[_0x5826[736]](),_0x1b20x5= new mxEventObject(mxEvent.CLICK,_0x5826[763],_0x1b20x3,_0x5826[246],_0x1b20x4);_0x1b20x2[_0x5826[721]]()&&_0x1b20x5[_0x5826[722]]();this[_0x5826[746]](_0x1b20x5);this[_0x5826[994]]()&&(!mxEvent[_0x5826[721]](_0x1b20x3)&&!_0x1b20x5[_0x5826[721]]())&&(null!=_0x1b20x4?this[_0x5826[2459]](_0x1b20x4,_0x1b20x3):(_0x1b20x4=null,this[_0x5826[2460]]()&&(_0x1b20x4=this[_0x5826[2461]](_0x1b20x2[_0x5826[734]](),_0x1b20x2[_0x5826[735]]())),null!=_0x1b20x4?this[_0x5826[2459]](_0x1b20x4,_0x1b20x3):this[_0x5826[2462]](_0x1b20x3)||this[_0x5826[2440]]()))};mxGraph[_0x5826[202]][_0x5826[761]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x5826[763],_0x1b20x2,_0x5826[246],_0x1b20x3);this[_0x5826[746]](_0x1b20x4);this[_0x5826[994]]()&&(!mxEvent[_0x5826[721]](_0x1b20x2)&&!_0x1b20x4[_0x5826[721]]()&&null!=_0x1b20x3&&this[_0x5826[2453]](_0x1b20x3))&&this[_0x5826[2451]](_0x1b20x3,_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1014]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(!this[_0x5826[2382]]&&(this[_0x5826[2384]]||mxUtils[_0x5826[1134]](this[_0x5826[526]]))){var _0x1b20x9=this[_0x5826[526]];_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:20;if(_0x1b20x2>=_0x1b20x9[_0x5826[360]]&&_0x1b20x3>=_0x1b20x9[_0x5826[190]]&&_0x1b20x2<=_0x1b20x9[_0x5826[360]]+_0x1b20x9[_0x5826[159]]&&_0x1b20x3<=_0x1b20x9[_0x5826[190]]+_0x1b20x9[_0x5826[157]]){var _0x1b20xa=_0x1b20x9[_0x5826[360]]+_0x1b20x9[_0x5826[159]]-_0x1b20x2;if(_0x1b20xa<_0x1b20x5){if(_0x1b20x2=_0x1b20x9[_0x5826[360]],_0x1b20x9[_0x5826[360]]+=_0x1b20x5-_0x1b20xa,_0x1b20x4&&_0x1b20x2==_0x1b20x9[_0x5826[360]]){if(this[_0x5826[507]]==mxConstants[_0x5826[508]]){_0x1b20x2=this[_0x5826[441]][_0x5826[2024]]()[_0x5826[538]];var _0x1b20x12=this[_0x5826[526]][_0x5826[1526]]+_0x1b20x5-_0x1b20xa}else {_0x1b20x12=Math[_0x5826[160]](_0x1b20x9[_0x5826[159]],_0x1b20x9[_0x5826[1526]])+_0x1b20x5-_0x1b20xa,_0x1b20x2=this[_0x5826[441]][_0x5826[2051]]()};_0x1b20x2[_0x5826[124]][_0x5826[117]]=_0x1b20x12+_0x5826[168];_0x1b20x9[_0x5826[360]]+=_0x1b20x5-_0x1b20xa}}else {_0x1b20xa=_0x1b20x2-_0x1b20x9[_0x5826[360]],_0x1b20xa<_0x1b20x5&&(_0x1b20x9[_0x5826[360]]-=_0x1b20x5-_0x1b20xa)};_0x1b20xa=_0x1b20x9[_0x5826[190]]+_0x1b20x9[_0x5826[157]]-_0x1b20x3;_0x1b20xa<_0x1b20x5?(_0x1b20x2=_0x1b20x9[_0x5826[190]],_0x1b20x9[_0x5826[190]]+=_0x1b20x5-_0x1b20xa,_0x1b20x2==_0x1b20x9[_0x5826[190]]&&_0x1b20x4&&(this[_0x5826[507]]==mxConstants[_0x5826[508]]?(_0x1b20x2=this[_0x5826[441]][_0x5826[2024]]()[_0x5826[538]],_0x1b20x3=this[_0x5826[526]][_0x5826[191]]+_0x1b20x5-_0x1b20xa):(_0x1b20x3=Math[_0x5826[160]](_0x1b20x9[_0x5826[157]],_0x1b20x9[_0x5826[191]])+_0x1b20x5-_0x1b20xa,_0x1b20x2=this[_0x5826[441]][_0x5826[2051]]()),_0x1b20x2[_0x5826[124]][_0x5826[119]]=_0x1b20x3+_0x5826[168],_0x1b20x9[_0x5826[190]]+=_0x1b20x5-_0x1b20xa)):(_0x1b20xa=_0x1b20x3-_0x1b20x9[_0x5826[190]],_0x1b20xa<_0x1b20x5&&(_0x1b20x9[_0x5826[190]]-=_0x1b20x5-_0x1b20xa))}}else {this[_0x5826[2383]]&&!this[_0x5826[2316]][_0x5826[1124]]&&(null==this[_0x5826[2463]]&&(this[_0x5826[2463]]=this[_0x5826[2464]]()),this[_0x5826[2463]][_0x5826[1143]](_0x1b20x2+this[_0x5826[1136]],_0x1b20x3+this[_0x5826[1137]]))}};mxGraph[_0x5826[202]][_0x5826[2464]]=function(){return new mxPanningManager(this)};mxGraph[_0x5826[202]][_0x5826[2465]]=function(){function _0x1b20x2(_0x1b20x2){var _0x1b20x3=0,_0x1b20x3=_0x5826[2466]==_0x1b20x2?2:_0x5826[2467]==_0x1b20x2?4:_0x5826[2468]==_0x1b20x2?6:parseInt(_0x1b20x2);isNaN(_0x1b20x3)&&(_0x1b20x3=0);return _0x1b20x3}var _0x1b20x3=mxUtils[_0x5826[275]](this[_0x5826[526]]),_0x1b20x4= new mxRectangle;_0x1b20x4[_0x5826[235]]=_0x1b20x2(_0x1b20x3[_0x5826[2469]])+parseInt(_0x1b20x3[_0x5826[357]]||0);_0x1b20x4[_0x5826[236]]=_0x1b20x2(_0x1b20x3[_0x5826[2470]])+parseInt(_0x1b20x3[_0x5826[2471]]||0);_0x1b20x4[_0x5826[117]]=_0x1b20x2(_0x1b20x3[_0x5826[2472]])+parseInt(_0x1b20x3[_0x5826[1164]]||0);_0x1b20x4[_0x5826[119]]=_0x1b20x2(_0x1b20x3[_0x5826[2473]])+parseInt(_0x1b20x3[_0x5826[2474]]||0);return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[2475]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=this[_0x5826[441]][_0x5826[255]];var _0x1b20x5=this[_0x5826[441]][_0x5826[513]],_0x1b20x9=this[_0x5826[2013]],_0x1b20xa=_0x1b20x2*this[_0x5826[2012]],_0x1b20x9= new mxRectangle(0,0,_0x1b20x9[_0x5826[117]]*_0x1b20xa,_0x1b20x9[_0x5826[119]]*_0x1b20xa);_0x1b20x3=this[_0x5826[2357]]?Math[_0x5826[430]](_0x1b20x3/_0x1b20x9[_0x5826[117]]):1;_0x1b20x4=this[_0x5826[2357]]?Math[_0x5826[430]](_0x1b20x4/_0x1b20x9[_0x5826[119]]):1;return new mxRectangle(0,0,_0x1b20x3*_0x1b20x9[_0x5826[117]]+2+_0x1b20x5[_0x5826[235]]/_0x1b20x2,_0x1b20x4*_0x1b20x9[_0x5826[119]]+2+_0x1b20x5[_0x5826[236]]/_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2258]]=function(){var _0x1b20x2=this[_0x5826[517]]();if(null!=this[_0x5826[526]]){var _0x1b20x3=this[_0x5826[2476]](),_0x1b20x4=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]+1+_0x1b20x3),_0x1b20x3=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]+1+_0x1b20x3);null!=this[_0x5826[2387]]&&(_0x1b20x4=Math[_0x5826[160]](_0x1b20x4,this[_0x5826[2387]][_0x5826[117]]),_0x1b20x3=Math[_0x5826[160]](_0x1b20x3,this[_0x5826[2387]][_0x5826[119]]));this[_0x5826[2389]]&&this[_0x5826[2477]](_0x1b20x4,_0x1b20x3);if(this[_0x5826[2361]]||!mxClient[_0x5826[80]]&&this[_0x5826[2273]]){var _0x1b20x5=this[_0x5826[2475]](_0x1b20x2,_0x1b20x4,_0x1b20x3);null!=_0x1b20x5&&(_0x1b20x4=_0x1b20x5[_0x5826[117]],_0x1b20x3=_0x1b20x5[_0x5826[119]])};null!=this[_0x5826[2386]]&&(_0x1b20x4=Math[_0x5826[160]](_0x1b20x4,this[_0x5826[2386]][_0x5826[117]]*this[_0x5826[441]][_0x5826[255]]),_0x1b20x3=Math[_0x5826[160]](_0x1b20x3,this[_0x5826[2386]][_0x5826[119]]*this[_0x5826[441]][_0x5826[255]]));_0x1b20x4=Math[_0x5826[430]](_0x1b20x4-1);_0x1b20x3=Math[_0x5826[430]](_0x1b20x3-1);this[_0x5826[507]]==mxConstants[_0x5826[508]]?(_0x1b20x5=this[_0x5826[441]][_0x5826[2024]]()[_0x5826[538]],_0x1b20x5[_0x5826[124]][_0x5826[2478]]=Math[_0x5826[160]](1,_0x1b20x4)+_0x5826[168],_0x1b20x5[_0x5826[124]][_0x5826[2479]]=Math[_0x5826[160]](1,_0x1b20x3)+_0x5826[168],_0x1b20x5[_0x5826[124]][_0x5826[117]]=_0x5826[118],_0x1b20x5[_0x5826[124]][_0x5826[119]]=_0x5826[118]):mxClient[_0x5826[496]]?this[_0x5826[441]][_0x5826[2320]](Math[_0x5826[160]](1,_0x1b20x4),Math[_0x5826[160]](1,_0x1b20x3)):(this[_0x5826[441]][_0x5826[510]][_0x5826[124]][_0x5826[2478]]=Math[_0x5826[160]](1,_0x1b20x4)+_0x5826[168],this[_0x5826[441]][_0x5826[510]][_0x5826[124]][_0x5826[2479]]=Math[_0x5826[160]](1,_0x1b20x3)+_0x5826[168]);this[_0x5826[2480]](this[_0x5826[2357]],_0x1b20x4-1,_0x1b20x3-1)};this[_0x5826[746]]( new mxEventObject(mxEvent.SIZE,_0x5826[1562],_0x1b20x2))};mxGraph[_0x5826[202]][_0x5826[2477]]=function(_0x1b20x2,_0x1b20x3){if(mxClient[_0x5826[80]]){if(mxClient[_0x5826[496]]){var _0x1b20x4=this[_0x5826[2465]]();_0x1b20x2+=Math[_0x5826[160]](2,_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]+1);_0x1b20x3+=Math[_0x5826[160]](2,_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]+1)}else {9<=document[_0x5826[5]]?(_0x1b20x2+=3,_0x1b20x3+=5):(_0x1b20x2+=1,_0x1b20x3+=1)}}else {_0x1b20x3+=1};null!=this[_0x5826[2388]]&&(_0x1b20x2=Math[_0x5826[243]](this[_0x5826[2388]][_0x5826[117]],_0x1b20x2),_0x1b20x3=Math[_0x5826[243]](this[_0x5826[2388]][_0x5826[119]],_0x1b20x3));this[_0x5826[526]][_0x5826[124]][_0x5826[117]]=Math[_0x5826[430]](_0x1b20x2)+_0x5826[168];this[_0x5826[526]][_0x5826[124]][_0x5826[119]]=Math[_0x5826[430]](_0x1b20x3)+_0x5826[168]};mxGraph[_0x5826[202]][_0x5826[2480]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[441]][_0x5826[255]],_0x1b20x9=this[_0x5826[441]][_0x5826[513]],_0x1b20xa=this[_0x5826[2013]],_0x1b20x12=_0x1b20x5*this[_0x5826[2012]],_0x1b20x9= new mxRectangle(_0x1b20x5*_0x1b20x9[_0x5826[235]],_0x1b20x5*_0x1b20x9[_0x5826[236]],_0x1b20xa[_0x5826[117]]*_0x1b20x12,_0x1b20xa[_0x5826[119]]*_0x1b20x12);_0x1b20x2=_0x1b20x2&&Math[_0x5826[243]](_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]])>this[_0x5826[2360]];_0x1b20x9[_0x5826[235]]=mxUtils[_0x5826[1454]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[117]]);_0x1b20x9[_0x5826[236]]=mxUtils[_0x5826[1454]](_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[119]]);_0x1b20xa=_0x1b20x2?Math[_0x5826[430]]((_0x1b20x3-_0x1b20x9[_0x5826[235]])/_0x1b20x9[_0x5826[117]]):0;_0x1b20x2=_0x1b20x2?Math[_0x5826[430]]((_0x1b20x4-_0x1b20x9[_0x5826[236]])/_0x1b20x9[_0x5826[119]]):0;null==this[_0x5826[2481]]&&0<_0x1b20xa&&(this[_0x5826[2481]]=[]);if(null!=this[_0x5826[2481]]){for(_0x1b20x12=0;_0x1b20x12<=_0x1b20xa;_0x1b20x12++){var _0x1b20x13=[ new mxPoint(_0x1b20x9[_0x5826[235]]+_0x1b20x12*_0x1b20x9[_0x5826[117]],1), new mxPoint(_0x1b20x9[_0x5826[235]]+_0x1b20x12*_0x1b20x9[_0x5826[117]],_0x1b20x4)];null!=this[_0x5826[2481]][_0x1b20x12]?(this[_0x5826[2481]][_0x1b20x12][_0x5826[255]]=1,this[_0x5826[2481]][_0x1b20x12][_0x5826[1525]]=_0x1b20x13,this[_0x5826[2481]][_0x1b20x12][_0x5826[258]]()):(_0x1b20x13= new mxPolyline(_0x1b20x13,this[_0x5826[2358]],this[_0x5826[255]]),_0x1b20x13[_0x5826[507]]=this[_0x5826[507]],_0x1b20x13[_0x5826[1522]]=this[_0x5826[2359]],_0x1b20x13[_0x5826[255]]=_0x1b20x5,_0x1b20x13[_0x5826[176]](this[_0x5826[441]][_0x5826[2053]]),_0x1b20x13[_0x5826[258]](),this[_0x5826[2481]][_0x1b20x12]=_0x1b20x13)};for(_0x1b20x12=_0x1b20xa;_0x1b20x12<this[_0x5826[2481]][_0x5826[67]];_0x1b20x12++){this[_0x5826[2481]][_0x1b20x12][_0x5826[515]]()};this[_0x5826[2481]][_0x5826[300]](_0x1b20xa,this[_0x5826[2481]][_0x5826[67]]-_0x1b20xa)};null==this[_0x5826[2482]]&&0<_0x1b20x2&&(this[_0x5826[2482]]=[]);if(null!=this[_0x5826[2482]]){for(_0x1b20x12=0;_0x1b20x12<=_0x1b20x2;_0x1b20x12++){_0x1b20x13=[ new mxPoint(1,_0x1b20x9[_0x5826[236]]+_0x1b20x12*_0x1b20x9[_0x5826[119]]), new mxPoint(_0x1b20x3,_0x1b20x9[_0x5826[236]]+_0x1b20x12*_0x1b20x9[_0x5826[119]])],null!=this[_0x5826[2482]][_0x1b20x12]?(this[_0x5826[2482]][_0x1b20x12][_0x5826[255]]=1,this[_0x5826[2482]][_0x1b20x12][_0x5826[1525]]=_0x1b20x13,this[_0x5826[2482]][_0x1b20x12][_0x5826[258]]()):(_0x1b20x13= new mxPolyline(_0x1b20x13,this[_0x5826[2358]],_0x1b20x5),_0x1b20x13[_0x5826[507]]=this[_0x5826[507]],_0x1b20x13[_0x5826[1522]]=this[_0x5826[2359]],_0x1b20x13[_0x5826[255]]=_0x1b20x5,_0x1b20x13[_0x5826[176]](this[_0x5826[441]][_0x5826[2053]]),_0x1b20x13[_0x5826[258]](),this[_0x5826[2482]][_0x1b20x12]=_0x1b20x13)};for(_0x1b20x12=_0x1b20x2;_0x1b20x12<this[_0x5826[2482]][_0x5826[67]];_0x1b20x12++){this[_0x5826[2482]][_0x1b20x12][_0x5826[515]]()};this[_0x5826[2482]][_0x5826[300]](_0x1b20x2,this[_0x5826[2482]][_0x5826[67]]-_0x1b20x2)}};mxGraph[_0x5826[202]][_0x5826[1705]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[474]](_0x1b20x2),_0x1b20x4=null,_0x1b20x4=this[_0x5826[251]][_0x5826[250]](_0x1b20x2)?this[_0x5826[94]][_0x5826[2077]]():this[_0x5826[94]][_0x5826[2076]]();null!=_0x1b20x3&&(_0x1b20x4=this[_0x5826[2483]](this[_0x5826[94]][_0x5826[1705]](_0x1b20x3,_0x1b20x4)));null==_0x1b20x4&&(_0x1b20x4=mxGraph[_0x5826[202]][_0x5826[2346]]);return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[2483]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=_0x1b20x2[mxConstants[_0x5826[2484]]],_0x1b20x4=this[_0x5826[2485]](_0x1b20x3);null!=_0x1b20x4?_0x1b20x2[mxConstants[_0x5826[2484]]]=_0x1b20x4:_0x1b20x4=_0x1b20x3;null!=_0x1b20x4&&_0x5826[2486]==_0x1b20x4[_0x5826[85]](0,11)&&(_0x1b20x3=_0x1b20x4[_0x5826[2]](_0x5826[537]),0<_0x1b20x3&&(_0x1b20x4=_0x1b20x4[_0x5826[85]](0,_0x1b20x3)+_0x5826[2487]+_0x1b20x4[_0x5826[85]](_0x1b20x3+1)),_0x1b20x2[mxConstants[_0x5826[2484]]]=_0x1b20x4)};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2488]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=_0x1b20x3||this[_0x5826[897]]();if(null!=_0x1b20x3){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x3[_0x5826[67]];_0x1b20x4++){this[_0x5826[251]][_0x5826[475]](_0x1b20x3[_0x1b20x4],_0x1b20x2)}}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2489]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=_0x1b20x4||this[_0x5826[2452]]();this[_0x5826[2490]](_0x1b20x2,_0x1b20x3,[_0x1b20x4])};mxGraph[_0x5826[202]][_0x5826[2490]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;_0x1b20x4=_0x1b20x4||this[_0x5826[897]]();if(null!=_0x1b20x4&&0<_0x1b20x4[_0x5826[67]]){var _0x1b20x5=this[_0x5826[441]][_0x5826[248]](_0x1b20x4[0]),_0x1b20x5=null!=_0x1b20x5?_0x1b20x5[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x4[0]);null!=_0x1b20x5&&(_0x1b20x3=mxUtils[_0x5826[433]](_0x1b20x5,_0x1b20x2,_0x1b20x3)?0:1,this[_0x5826[1717]](_0x1b20x2,_0x1b20x3,_0x1b20x4))}};mxGraph[_0x5826[202]][_0x5826[1717]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=_0x1b20x4||this[_0x5826[897]]();mxUtils[_0x5826[1717]](this[_0x5826[251]],_0x1b20x4,_0x1b20x2,_0x1b20x3)};mxGraph[_0x5826[202]][_0x5826[2491]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[2492]](_0x1b20x2,_0x1b20x3,null,_0x1b20x4)};mxGraph[_0x5826[202]][_0x5826[2492]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x5=_0x1b20x5||this[_0x5826[897]]();if(null!=_0x1b20x5&&0<_0x1b20x5[_0x5826[67]]){if(null==_0x1b20x4){var _0x1b20x9=this[_0x5826[441]][_0x5826[248]](_0x1b20x5[0]),_0x1b20x9=null!=_0x1b20x9?_0x1b20x9[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x5[0]);null!=_0x1b20x9&&(_0x1b20x4=(parseInt(_0x1b20x9[_0x1b20x2]||0)&_0x1b20x3)!=_0x1b20x3)};mxUtils[_0x5826[2492]](this[_0x5826[251]],_0x1b20x5,_0x1b20x2,_0x1b20x3,_0x1b20x4)}};mxGraph[_0x5826[202]][_0x5826[849]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[897]]());if(null!=_0x1b20x3&&1<_0x1b20x3[_0x5826[67]]){if(null==_0x1b20x4){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=this[_0x5826[1198]](_0x1b20x3[_0x1b20x5]);if(null!=_0x1b20x9&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x3[_0x1b20x5])){if(null==_0x1b20x4){if(_0x1b20x2==mxConstants[_0x5826[479]]){_0x1b20x4=_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]/2;break}else {if(_0x1b20x2==mxConstants[_0x5826[480]]){_0x1b20x4=_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]}else {if(_0x1b20x2==mxConstants[_0x5826[1687]]){_0x1b20x4=_0x1b20x9[_0x5826[236]]}else {if(_0x1b20x2==mxConstants[_0x5826[481]]){_0x1b20x4=_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]/2;break}else {_0x1b20x4=_0x1b20x2==mxConstants[_0x5826[482]]?_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]:_0x1b20x9[_0x5826[235]]}}}}}else {_0x1b20x4=_0x1b20x2==mxConstants[_0x5826[480]]?Math[_0x5826[160]](_0x1b20x4,_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]):_0x1b20x2==mxConstants[_0x5826[1687]]?Math[_0x5826[243]](_0x1b20x4,_0x1b20x9[_0x5826[236]]):_0x1b20x2==mxConstants[_0x5826[482]]?Math[_0x5826[160]](_0x1b20x4,_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]):Math[_0x5826[243]](_0x1b20x4,_0x1b20x9[_0x5826[235]])}}}};if(null!=_0x1b20x4){this[_0x5826[251]][_0x5826[473]]();try{for(_0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){_0x1b20x9=this[_0x5826[1198]](_0x1b20x3[_0x1b20x5]),null!=_0x1b20x9&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x3[_0x1b20x5])&&(_0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20x2==mxConstants[_0x5826[479]]?_0x1b20x9[_0x5826[235]]=_0x1b20x4-_0x1b20x9[_0x5826[117]]/2:_0x1b20x2==mxConstants[_0x5826[480]]?_0x1b20x9[_0x5826[235]]=_0x1b20x4-_0x1b20x9[_0x5826[117]]:_0x1b20x2==mxConstants[_0x5826[1687]]?_0x1b20x9[_0x5826[236]]=_0x1b20x4:_0x1b20x2==mxConstants[_0x5826[481]]?_0x1b20x9[_0x5826[236]]=_0x1b20x4-_0x1b20x9[_0x5826[119]]/2:_0x1b20x2==mxConstants[_0x5826[482]]?_0x1b20x9[_0x5826[236]]=_0x1b20x4-_0x1b20x9[_0x5826[119]]:_0x1b20x9[_0x5826[235]]=_0x1b20x4,this[_0x5826[251]][_0x5826[1724]](_0x1b20x3[_0x1b20x5],_0x1b20x9))};this[_0x5826[746]]( new mxEventObject(mxEvent.ALIGN_CELLS,_0x5826[611],_0x1b20x2,_0x5826[895],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()}}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[854]]=function(_0x1b20x2){if(null!=_0x1b20x2&&null!=this[_0x5826[2356]]){this[_0x5826[251]][_0x5826[473]]();try{var _0x1b20x3=this[_0x5826[251]][_0x5826[474]](_0x1b20x2);null==_0x1b20x3||0==_0x1b20x3[_0x5826[67]]?this[_0x5826[251]][_0x5826[475]](_0x1b20x2,this[_0x5826[2356]]):this[_0x5826[251]][_0x5826[475]](_0x1b20x2,null);this[_0x5826[1809]](_0x1b20x2);this[_0x5826[746]]( new mxEventObject(mxEvent.FLIP_EDGE,_0x5826[1989],_0x1b20x2))}finally{this[_0x5826[251]][_0x5826[476]]()}};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2493]]=function(_0x1b20x2){this[_0x5826[2336]][_0x5826[207]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2494]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<this[_0x5826[2336]][_0x5826[67]];_0x1b20x4++){this[_0x5826[2336]][_0x1b20x4]!=_0x1b20x2&&_0x1b20x3[_0x5826[207]](this[_0x5826[2336]][_0x1b20x4])};this[_0x5826[2336]]=_0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2485]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[2336]][_0x5826[67]];_0x1b20x3++){var _0x1b20x4=this[_0x5826[2336]][_0x1b20x3][_0x5826[1202]](_0x1b20x2);if(null!=_0x1b20x4){return _0x1b20x4}}};return null};mxGraph[_0x5826[202]][_0x5826[840]]=function(_0x1b20x2,_0x1b20x3){null==_0x1b20x3&&(_0x1b20x3=mxUtils[_0x5826[1779]](this[_0x5826[897]](),!0));this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[841]](_0x1b20x3,_0x1b20x2),this[_0x5826[746]]( new mxEventObject(mxEvent.ORDER_CELLS,_0x5826[2495],_0x1b20x2,_0x5826[895],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[841]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x4]);_0x1b20x3?this[_0x5826[251]][_0x5826[99]](_0x1b20x5,_0x1b20x2[_0x1b20x4],_0x1b20x4):this[_0x5826[251]][_0x5826[99]](_0x1b20x5,_0x1b20x2[_0x1b20x4],this[_0x5826[251]][_0x5826[262]](_0x1b20x5)-1)};this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_ORDERED,_0x5826[2495],_0x1b20x3,_0x5826[895],_0x1b20x2))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[844]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null==_0x1b20x4&&(_0x1b20x4=mxUtils[_0x5826[1779]](this[_0x5826[897]](),!0));_0x1b20x4=this[_0x5826[2496]](_0x1b20x4);null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[2497]](_0x1b20x4));var _0x1b20x5=this[_0x5826[2498]](_0x1b20x2,_0x1b20x4,_0x1b20x3);if(0<_0x1b20x4[_0x5826[67]]&&null!=_0x1b20x5){var _0x1b20x9=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2);null==_0x1b20x9&&(_0x1b20x9=this[_0x5826[251]][_0x5826[1197]](_0x1b20x4[0]));this[_0x5826[251]][_0x5826[473]]();try{null==this[_0x5826[1198]](_0x1b20x2)&&this[_0x5826[251]][_0x5826[1724]](_0x1b20x2, new mxGeometry);var _0x1b20xa=this[_0x5826[251]][_0x5826[262]](_0x1b20x9);this[_0x5826[833]]([_0x1b20x2],_0x1b20x9,_0x1b20xa,null,null,!1);_0x1b20xa=this[_0x5826[251]][_0x5826[262]](_0x1b20x2);this[_0x5826[833]](_0x1b20x4,_0x1b20x2,_0x1b20xa,null,null,!1,!1);this[_0x5826[835]](_0x1b20x4,-_0x1b20x5[_0x5826[235]],-_0x1b20x5[_0x5826[236]],!1,!0);this[_0x5826[837]]([_0x1b20x2],[_0x1b20x5]);this[_0x5826[746]]( new mxEventObject(mxEvent.GROUP_CELLS,_0x5826[1504],_0x1b20x2,_0x5826[467],_0x1b20x3,_0x5826[895],_0x1b20x4))}finally{this[_0x5826[251]][_0x5826[476]]()}};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2496]]=function(_0x1b20x2){var _0x1b20x3=[];if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){var _0x1b20x4=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[0]);_0x1b20x3[_0x5826[207]](_0x1b20x2[0]);for(var _0x1b20x5=1;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x5])==_0x1b20x4&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x5])}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2498]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=this[_0x5826[1729]](_0x1b20x3);null!=_0x1b20x3&&(this[_0x5826[1730]](_0x1b20x2)&&(_0x1b20x2=this[_0x5826[1731]](_0x1b20x2),_0x1b20x3[_0x5826[235]]-=_0x1b20x2[_0x5826[117]],_0x1b20x3[_0x5826[236]]-=_0x1b20x2[_0x5826[119]],_0x1b20x3[_0x5826[117]]+=_0x1b20x2[_0x5826[117]],_0x1b20x3[_0x5826[119]]+=_0x1b20x2[_0x5826[119]]),_0x1b20x3[_0x5826[235]]-=_0x1b20x4,_0x1b20x3[_0x5826[236]]-=_0x1b20x4,_0x1b20x3[_0x5826[117]]+=2*_0x1b20x4,_0x1b20x3[_0x5826[119]]+=2*_0x1b20x4);return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2497]]=function(_0x1b20x2){_0x1b20x2= new mxCell(_0x5826[110]);_0x1b20x2[_0x5826[1993]](!0);_0x1b20x2[_0x5826[1995]](!1);return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[845]]=function(_0x1b20x2){var _0x1b20x3=[];if(null==_0x1b20x2){_0x1b20x2=this[_0x5826[897]]();for(var _0x1b20x4=[],_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){0<this[_0x5826[251]][_0x5826[262]](_0x1b20x2[_0x1b20x5])&&_0x1b20x4[_0x5826[207]](_0x1b20x2[_0x1b20x5])};_0x1b20x2=_0x1b20x4};if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){this[_0x5826[251]][_0x5826[473]]();try{for(_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=this[_0x5826[251]][_0x5826[1953]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20x9&&0<_0x1b20x9[_0x5826[67]]){var _0x1b20x9=_0x1b20x9[_0x5826[1853]](),_0x1b20xa=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x5]),_0x1b20x12=this[_0x5826[251]][_0x5826[262]](_0x1b20xa);this[_0x5826[833]](_0x1b20x9,_0x1b20xa,_0x1b20x12,null,null,!0);_0x1b20x3=_0x1b20x3[_0x5826[1919]](_0x1b20x9)}};this[_0x5826[843]](this[_0x5826[2499]](_0x1b20x2));this[_0x5826[746]]( new mxEventObject(mxEvent.UNGROUP_CELLS,_0x5826[895],_0x1b20x2))}finally{this[_0x5826[251]][_0x5826[476]]()}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[846]]=function(_0x1b20x2){null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[897]]());this[_0x5826[251]][_0x5826[473]]();try{var _0x1b20x3=this[_0x5826[902]](),_0x1b20x4=this[_0x5826[251]][_0x5826[262]](_0x1b20x3);this[_0x5826[833]](_0x1b20x2,_0x1b20x3,_0x1b20x4,null,null,!0);this[_0x5826[746]]( new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,_0x5826[895],_0x1b20x2))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[1917]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[897]]());_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:0;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=this[_0x5826[1198]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20x9){var _0x1b20xa=this[_0x5826[1955]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20xa&&0<_0x1b20xa[_0x5826[67]]){var _0x1b20x12=this[_0x5826[1729]](_0x1b20xa);if(0<_0x1b20x12[_0x5826[117]]&&0<_0x1b20x12[_0x5826[119]]){var _0x1b20x13=this[_0x5826[1730]](_0x1b20x2[_0x1b20x5])?this[_0x5826[1731]](_0x1b20x2[_0x1b20x5]): new mxRectangle,_0x1b20x9=_0x1b20x9[_0x5826[238]]();_0x1b20x4&&(_0x1b20x9[_0x5826[235]]+=_0x1b20x12[_0x5826[235]]-_0x1b20x13[_0x5826[117]]-_0x1b20x3,_0x1b20x9[_0x5826[236]]+=_0x1b20x12[_0x5826[236]]-_0x1b20x13[_0x5826[119]]-_0x1b20x3);_0x1b20x9[_0x5826[117]]=_0x1b20x12[_0x5826[117]]+_0x1b20x13[_0x5826[117]]+2*_0x1b20x3;_0x1b20x9[_0x5826[119]]=_0x1b20x12[_0x5826[119]]+_0x1b20x13[_0x5826[119]]+2*_0x1b20x3;this[_0x5826[251]][_0x5826[1724]](_0x1b20x2[_0x1b20x5],_0x1b20x9);this[_0x5826[834]](_0x1b20xa,-_0x1b20x12[_0x5826[235]]+_0x1b20x13[_0x5826[117]]+_0x1b20x3,-_0x1b20x12[_0x5826[236]]+_0x1b20x13[_0x5826[119]]+_0x1b20x3)}}}}}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[899]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;var _0x1b20x4=null;if(null!=_0x1b20x2){for(var _0x1b20x5={},_0x1b20x4=[],_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2[_0x1b20x9]);_0x1b20x5[_0x1b20xa]=_0x1b20x2[_0x1b20x9];_0x1b20x4[_0x5826[207]](_0x1b20x2[_0x1b20x9])};if(0<_0x1b20x4[_0x5826[67]]){for(var _0x1b20xa=this[_0x5826[441]][_0x5826[255]],_0x1b20x12=this[_0x5826[441]][_0x5826[513]],_0x1b20x4=this[_0x5826[251]][_0x5826[899]](_0x1b20x2,!0),_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){if(!_0x1b20x3&&this[_0x5826[251]][_0x5826[250]](_0x1b20x4[_0x1b20x9])&&null!=this[_0x5826[2500]](_0x1b20x4[_0x1b20x9],this[_0x5826[251]][_0x5826[1709]](_0x1b20x4[_0x1b20x9],!0),this[_0x5826[251]][_0x5826[1709]](_0x1b20x4[_0x1b20x9],!1))){_0x1b20x4[_0x1b20x9]=null}else {var _0x1b20x13=this[_0x5826[251]][_0x5826[1721]](_0x1b20x4[_0x1b20x9]);if(null!=_0x1b20x13){var _0x1b20x14=this[_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x1b20x9]),_0x1b20x15=this[_0x5826[441]][_0x5826[248]](this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x9]));if(null!=_0x1b20x14&&null!=_0x1b20x15){var _0x1b20x16=_0x1b20x15[_0x5826[2078]][_0x5826[235]],_0x1b20x15=_0x1b20x15[_0x5826[2078]][_0x5826[236]];if(this[_0x5826[251]][_0x5826[250]](_0x1b20x4[_0x1b20x9])){for(var _0x1b20x14=_0x1b20x14[_0x5826[439]],_0x1b20x17=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x1b20x9],!0),_0x1b20x18=mxCellPath[_0x5826[385]](_0x1b20x17);null!=_0x1b20x17&&null==_0x1b20x5[_0x1b20x18];){_0x1b20x17=this[_0x5826[251]][_0x5826[1197]](_0x1b20x17),_0x1b20x18=mxCellPath[_0x5826[385]](_0x1b20x17)};null==_0x1b20x17&&_0x1b20x13[_0x5826[2007]]( new mxPoint(_0x1b20x14[0][_0x5826[235]]/_0x1b20xa-_0x1b20x12[_0x5826[235]],_0x1b20x14[0][_0x5826[236]]/_0x1b20xa-_0x1b20x12[_0x5826[236]]),!0);_0x1b20x17=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x1b20x9],!1);for(_0x1b20x18=mxCellPath[_0x5826[385]](_0x1b20x17);null!=_0x1b20x17&&null==_0x1b20x5[_0x1b20x18];){_0x1b20x17=this[_0x5826[251]][_0x5826[1197]](_0x1b20x17),_0x1b20x18=mxCellPath[_0x5826[385]](_0x1b20x17)};null==_0x1b20x17&&(_0x1b20x17=_0x1b20x14[_0x5826[67]]-1,_0x1b20x13[_0x5826[2007]]( new mxPoint(_0x1b20x14[_0x1b20x17][_0x5826[235]]/_0x1b20xa-_0x1b20x12[_0x5826[235]],_0x1b20x14[_0x1b20x17][_0x5826[236]]/_0x1b20xa-_0x1b20x12[_0x5826[236]]),!1));_0x1b20x13=_0x1b20x13[_0x5826[1525]];if(null!=_0x1b20x13){for(_0x1b20x14=0;_0x1b20x14<_0x1b20x13[_0x5826[67]];_0x1b20x14++){_0x1b20x13[_0x1b20x14][_0x5826[235]]+=_0x1b20x16,_0x1b20x13[_0x1b20x14][_0x5826[236]]+=_0x1b20x15}}}else {_0x1b20x13[_0x5826[235]]+=_0x1b20x16,_0x1b20x13[_0x5826[236]]+=_0x1b20x15}}}}}}else {_0x1b20x4=[]}};return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[2501]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){_0x1b20x3=this[_0x5826[2502]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14);return this[_0x5826[2103]](_0x1b20x3,_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2502]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){_0x1b20x2= new mxGeometry(_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12);_0x1b20x2[_0x5826[1500]]=null!=_0x1b20x14?_0x1b20x14:!1;_0x1b20x4= new mxCell(_0x1b20x4,_0x1b20x2,_0x1b20x13);_0x1b20x4[_0x5826[1945]](_0x1b20x3);_0x1b20x4[_0x5826[1993]](!0);_0x1b20x4[_0x5826[1995]](!0);return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[1960]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x3=this[_0x5826[2503]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa);return this[_0x5826[2504]](_0x1b20x3,_0x1b20x2,_0x1b20x5,_0x1b20x9)};mxGraph[_0x5826[202]][_0x5826[2503]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x2= new mxCell(_0x1b20x4, new mxGeometry,_0x1b20xa);_0x1b20x2[_0x5826[1945]](_0x1b20x3);_0x1b20x2[_0x5826[1994]](!0);_0x1b20x2[_0x5826[256]][_0x5826[1500]]= !0;return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2504]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return this[_0x5826[2103]](_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20x4,_0x1b20x5)};mxGraph[_0x5826[202]][_0x5826[2103]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return this[_0x5826[832]]([_0x1b20x2],_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)[0]};mxGraph[_0x5826[202]][_0x5826[832]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[902]]());null==_0x1b20x4&&(_0x1b20x4=this[_0x5826[251]][_0x5826[262]](_0x1b20x3));this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[833]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,!1,!0),this[_0x5826[746]]( new mxEventObject(mxEvent.ADD_CELLS,_0x5826[895],_0x1b20x2,_0x5826[1101],_0x1b20x3,_0x5826[1983],_0x1b20x4,_0x5826[1097],_0x1b20x5,_0x5826[772],_0x1b20x9))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[833]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){if(null!=_0x1b20x2&&null!=_0x1b20x3&&null!=_0x1b20x4){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x13=_0x1b20xa?this[_0x5826[441]][_0x5826[248]](_0x1b20x3):null,_0x1b20x14=null!=_0x1b20x13?_0x1b20x13[_0x5826[2078]]:null,_0x1b20x15= new mxPoint(0,0),_0x1b20x13=0;_0x1b20x13<_0x1b20x2[_0x5826[67]];_0x1b20x13++){if(null==_0x1b20x2[_0x1b20x13]){_0x1b20x4--}else {var _0x1b20x16=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x13]);if(null!=_0x1b20x14&&_0x1b20x2[_0x1b20x13]!=_0x1b20x3&&_0x1b20x3!=_0x1b20x16){var _0x1b20x17=this[_0x5826[441]][_0x5826[248]](_0x1b20x16),_0x1b20x18=null!=_0x1b20x17?_0x1b20x17[_0x5826[2078]]:_0x1b20x15,_0x1b20x19=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2[_0x1b20x13]);if(null!=_0x1b20x19){var _0x1b20x1a=_0x1b20x18[_0x5826[235]]-_0x1b20x14[_0x5826[235]],_0x1b20x1b=_0x1b20x18[_0x5826[236]]-_0x1b20x14[_0x5826[236]],_0x1b20x19=_0x1b20x19[_0x5826[238]]();_0x1b20x19[_0x5826[513]](_0x1b20x1a,_0x1b20x1b);!_0x1b20x19[_0x5826[1500]]&&(this[_0x5826[251]][_0x5826[1193]](_0x1b20x2[_0x1b20x13])&&!this[_0x5826[2505]]())&&(_0x1b20x19[_0x5826[235]]=Math[_0x5826[160]](0,_0x1b20x19[_0x5826[235]]),_0x1b20x19[_0x5826[236]]=Math[_0x5826[160]](0,_0x1b20x19[_0x5826[236]]));this[_0x5826[251]][_0x5826[1724]](_0x1b20x2[_0x1b20x13],_0x1b20x19)}};_0x1b20x3==_0x1b20x16&&_0x1b20x4+_0x1b20x13>this[_0x5826[251]][_0x5826[262]](_0x1b20x3)&&_0x1b20x4--;this[_0x5826[251]][_0x5826[99]](_0x1b20x3,_0x1b20x2[_0x1b20x13],_0x1b20x4+_0x1b20x13);this[_0x5826[2506]]()&&this[_0x5826[2507]](_0x1b20x2[_0x1b20x13])&&this[_0x5826[2508]](_0x1b20x2[_0x1b20x13]);(null==_0x1b20x12||_0x1b20x12)&&this[_0x5826[2509]](_0x1b20x2[_0x1b20x13]);null!=_0x1b20x5&&this[_0x5826[852]](_0x1b20x2[_0x1b20x13],_0x1b20x5,!0);null!=_0x1b20x9&&this[_0x5826[852]](_0x1b20x2[_0x1b20x13],_0x1b20x9,!1)}};this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_ADDED,_0x5826[895],_0x1b20x2,_0x5826[1101],_0x1b20x3,_0x5826[1983],_0x1b20x4,_0x5826[1097],_0x1b20x5,_0x5826[772],_0x1b20x9,_0x5826[492],_0x1b20xa))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[842]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[2510]](this[_0x5826[897]]()));_0x1b20x3&&(_0x1b20x2=this[_0x5826[2510]](this[_0x5826[2499]](_0x1b20x2)));this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[843]](_0x1b20x2),this[_0x5826[746]]( new mxEventObject(mxEvent.REMOVE_CELLS,_0x5826[895],_0x1b20x2,_0x5826[2511],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[843]]=function(_0x1b20x2){if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){var _0x1b20x3=this[_0x5826[441]][_0x5826[255]],_0x1b20x4=this[_0x5826[441]][_0x5826[513]];this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x5={},_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2[_0x1b20x9]);_0x1b20x5[_0x1b20xa]=_0x1b20x2[_0x1b20x9]};for(_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){for(var _0x1b20x12=this[_0x5826[1756]](_0x1b20x2[_0x1b20x9]),_0x1b20x13=0;_0x1b20x13<_0x1b20x12[_0x5826[67]];_0x1b20x13++){if(_0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x12[_0x1b20x13]),null==_0x1b20x5[_0x1b20xa]){var _0x1b20x14=this[_0x5826[251]][_0x5826[1721]](_0x1b20x12[_0x1b20x13]);if(null!=_0x1b20x14){var _0x1b20x15=this[_0x5826[441]][_0x5826[248]](_0x1b20x12[_0x1b20x13]);if(null!=_0x1b20x15){var _0x1b20x14=_0x1b20x14[_0x5826[238]](),_0x1b20x16=_0x1b20x15[_0x5826[1710]](!0)==_0x1b20x2[_0x1b20x9],_0x1b20x17=_0x1b20x15[_0x5826[439]],_0x1b20x18=_0x1b20x16?0:_0x1b20x17[_0x5826[67]]-1;_0x1b20x14[_0x5826[2007]]( new mxPoint(_0x1b20x17[_0x1b20x18][_0x5826[235]]/_0x1b20x3-_0x1b20x4[_0x5826[235]],_0x1b20x17[_0x1b20x18][_0x5826[236]]/_0x1b20x3-_0x1b20x4[_0x5826[236]]),_0x1b20x16);this[_0x5826[251]][_0x5826[1957]](_0x1b20x12[_0x1b20x13],null,_0x1b20x16);this[_0x5826[251]][_0x5826[1724]](_0x1b20x12[_0x1b20x13],_0x1b20x14)}}}};this[_0x5826[251]][_0x5826[205]](_0x1b20x2[_0x1b20x9])};this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_REMOVED,_0x5826[895],_0x1b20x2))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[853]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=_0x1b20x5||0;_0x1b20x9=_0x1b20x9||0;null==_0x1b20x4&&(_0x1b20x4=this[_0x5826[899]]([_0x1b20x2])[0]);var _0x1b20xa=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2),_0x1b20x12=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!0);this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[835]](_0x1b20x3,_0x1b20x5,_0x1b20x9,!1,!1),this[_0x5826[833]](_0x1b20x3,_0x1b20xa,this[_0x5826[251]][_0x5826[262]](_0x1b20xa),null,null,!0),this[_0x5826[833]]([_0x1b20x4],_0x1b20xa,this[_0x5826[251]][_0x5826[262]](_0x1b20xa),_0x1b20x12,_0x1b20x3[0],!1),this[_0x5826[852]](_0x1b20x2,_0x1b20x3[0],!0),this[_0x5826[746]]( new mxEventObject(mxEvent.SPLIT_EDGE,_0x5826[1989],_0x1b20x2,_0x5826[895],_0x1b20x3,_0x5826[2512],_0x1b20x4,_0x5826[1126],_0x1b20x5,_0x5826[1125],_0x1b20x9))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[838]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[897]]());_0x1b20x4&&(_0x1b20x3=this[_0x5826[2499]](_0x1b20x3));this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[839]](_0x1b20x3,_0x1b20x2),this[_0x5826[746]]( new mxEventObject(mxEvent.TOGGLE_CELLS,_0x5826[539],_0x1b20x2,_0x5826[895],_0x1b20x3,_0x5826[2511],_0x1b20x4))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[839]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){this[_0x5826[251]][_0x5826[175]](_0x1b20x2[_0x1b20x4],_0x1b20x3)}}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[847]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;null==_0x1b20x4&&(_0x1b20x4=this[_0x5826[2513]](this[_0x5826[897]](),_0x1b20x2));this[_0x5826[2126]](!1);this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[848]](_0x1b20x4,_0x1b20x2,_0x1b20x3,_0x1b20x5),this[_0x5826[746]]( new mxEventObject(mxEvent.FOLD_CELLS,_0x5826[2514],_0x1b20x2,_0x5826[2515],_0x1b20x3,_0x5826[895],_0x1b20x4))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[848]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){if((!_0x1b20x5||this[_0x5826[2516]](_0x1b20x2[_0x1b20x9],_0x1b20x3))&&_0x1b20x3!=this[_0x5826[1742]](_0x1b20x2[_0x1b20x9])){if(this[_0x5826[251]][_0x5826[1972]](_0x1b20x2[_0x1b20x9],_0x1b20x3),this[_0x5826[2517]](_0x1b20x2[_0x1b20x9],_0x1b20x3),this[_0x5826[2507]](_0x1b20x2[_0x1b20x9])&&this[_0x5826[2508]](_0x1b20x2[_0x1b20x9]),_0x1b20x4){var _0x1b20xa=this[_0x5826[251]][_0x5826[1953]](_0x1b20x2[_0x1b20x9]);this[_0x5826[847]](_0x1b20xa,_0x1b20x3,_0x1b20x4)}}};this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_FOLDED,_0x5826[895],_0x1b20x2,_0x5826[2514],_0x1b20x3,_0x5826[2515],_0x1b20x4))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2517]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2){var _0x1b20x4=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2);null!=_0x1b20x4&&(_0x1b20x4=_0x1b20x4[_0x5826[238]](),this[_0x5826[2518]](_0x1b20x2,_0x1b20x4,_0x1b20x3),_0x1b20x4[_0x5826[2005]](),this[_0x5826[251]][_0x5826[1724]](_0x1b20x2,_0x1b20x4))}};mxGraph[_0x5826[202]][_0x5826[2518]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2&&null!=_0x1b20x3){_0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x4=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);if(null==_0x1b20x3[_0x5826[2002]]){var _0x1b20x5=_0x1b20x3;this[_0x5826[2394]]&&(_0x1b20x2=this[_0x5826[2519]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x5=_0x1b20x2,_0x1b20x2=mxUtils[_0x5826[433]](_0x1b20x4,mxConstants.STYLE_STARTSIZE),0<_0x1b20x2&&(_0x1b20x5[_0x5826[119]]=Math[_0x5826[160]](_0x1b20x5[_0x5826[119]],_0x1b20x2))));_0x1b20x3[_0x5826[2002]]= new mxRectangle(0,0,_0x1b20x5[_0x5826[117]],_0x1b20x5[_0x5826[119]])};if(null!=_0x1b20x3[_0x5826[2002]]){_0x1b20x3[_0x5826[2002]][_0x5826[235]]=_0x1b20x3[_0x5826[235]];_0x1b20x3[_0x5826[2002]][_0x5826[236]]=_0x1b20x3[_0x5826[236]];var _0x1b20x9=mxUtils[_0x5826[431]](_0x1b20x4[mxConstants[_0x5826[2278]]]||_0x5826[468]);0!=_0x1b20x9&&(_0x1b20x2=_0x1b20x3[_0x5826[2002]][_0x5826[241]]()-_0x1b20x3[_0x5826[241]](),_0x1b20x4=_0x1b20x3[_0x5826[2002]][_0x5826[242]]()-_0x1b20x3[_0x5826[242]](),_0x1b20x5=Math[_0x5826[426]](_0x1b20x9),_0x1b20x9=Math[_0x5826[427]](_0x1b20x9),_0x1b20x3[_0x5826[2002]][_0x5826[235]]+=_0x1b20x5*_0x1b20x2-_0x1b20x9*_0x1b20x4-_0x1b20x2,_0x1b20x3[_0x5826[2002]][_0x5826[236]]+=_0x1b20x9*_0x1b20x2+_0x1b20x5*_0x1b20x4-_0x1b20x4)}}};mxGraph[_0x5826[202]][_0x5826[2499]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[1853]]();return _0x1b20x3=_0x1b20x3[_0x5826[1919]](this[_0x5826[2520]](_0x1b20x2))};mxGraph[_0x5826[202]][_0x5826[2520]]=function(_0x1b20x2){var _0x1b20x3=[];if(null!=_0x1b20x2){for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){for(var _0x1b20x5=this[_0x5826[251]][_0x5826[1707]](_0x1b20x2[_0x1b20x4]),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){_0x1b20x3[_0x5826[207]](this[_0x5826[251]][_0x5826[1708]](_0x1b20x2[_0x1b20x4],_0x1b20x9))};_0x1b20x5=this[_0x5826[251]][_0x5826[1953]](_0x1b20x2[_0x1b20x4]);_0x1b20x3=_0x1b20x3[_0x5826[1919]](this[_0x5826[2520]](_0x1b20x5))}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[858]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[2457]](_0x1b20x2,_0x1b20x3),this[_0x5826[746]]( new mxEventObject(mxEvent.UPDATE_CELL_SIZE,_0x5826[246],_0x1b20x2,_0x5826[2521],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2457]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2){this[_0x5826[251]][_0x5826[473]]();try{var _0x1b20x4=this[_0x5826[2519]](_0x1b20x2),_0x1b20x5=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x4&&null!=_0x1b20x5){var _0x1b20x9=this[_0x5826[1742]](_0x1b20x2),_0x1b20x5=_0x1b20x5[_0x5826[238]]();if(this[_0x5826[1730]](_0x1b20x2)){var _0x1b20xa=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x12=null!=_0x1b20xa?_0x1b20xa[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2),_0x1b20x13=this[_0x5826[251]][_0x5826[474]](_0x1b20x2);null==_0x1b20x13&&(_0x1b20x13=_0x5826[110]);mxUtils[_0x5826[433]](_0x1b20x12,mxConstants.STYLE_HORIZONTAL,!0)?(_0x1b20x13=mxUtils[_0x5826[475]](_0x1b20x13,mxConstants.STYLE_STARTSIZE,_0x1b20x4[_0x5826[119]]+8),_0x1b20x9&&(_0x1b20x5[_0x5826[119]]=_0x1b20x4[_0x5826[119]]+8),_0x1b20x5[_0x5826[117]]=_0x1b20x4[_0x5826[117]]):(_0x1b20x13=mxUtils[_0x5826[475]](_0x1b20x13,mxConstants.STYLE_STARTSIZE,_0x1b20x4[_0x5826[117]]+8),_0x1b20x9&&(_0x1b20x5[_0x5826[117]]=_0x1b20x4[_0x5826[117]]+8),_0x1b20x5[_0x5826[119]]=_0x1b20x4[_0x5826[119]]);this[_0x5826[251]][_0x5826[475]](_0x1b20x2,_0x1b20x13)}else {_0x1b20x5[_0x5826[117]]=_0x1b20x4[_0x5826[117]],_0x1b20x5[_0x5826[119]]=_0x1b20x4[_0x5826[119]]};if(!_0x1b20x3&& !_0x1b20x9){var _0x1b20x14=this[_0x5826[441]][_0x5826[1799]](this[_0x5826[251]][_0x5826[1953]](_0x1b20x2));if(null!=_0x1b20x14){var _0x1b20x15=this[_0x5826[441]][_0x5826[513]],_0x1b20x16=this[_0x5826[441]][_0x5826[255]],_0x1b20x17=(_0x1b20x14[_0x5826[236]]+_0x1b20x14[_0x5826[119]])/_0x1b20x16-_0x1b20x5[_0x5826[236]]-_0x1b20x15[_0x5826[236]];_0x1b20x5[_0x5826[117]]=Math[_0x5826[160]](_0x1b20x5[_0x5826[117]],(_0x1b20x14[_0x5826[235]]+_0x1b20x14[_0x5826[117]])/_0x1b20x16-_0x1b20x5[_0x5826[235]]-_0x1b20x15[_0x5826[235]]);_0x1b20x5[_0x5826[119]]=Math[_0x5826[160]](_0x1b20x5[_0x5826[119]],_0x1b20x17)}};this[_0x5826[837]]([_0x1b20x2],[_0x1b20x5])}}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2519]]=function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2){var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x5=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);if(null!=_0x1b20x5&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)){var _0x1b20x9=_0x1b20x5[mxConstants[_0x5826[2185]]]||mxConstants[_0x5826[483]],_0x1b20xa=0,_0x1b20x3=0;if((null!=this[_0x5826[1202]](_0x1b20x4)||null!=_0x1b20x5[mxConstants[_0x5826[2484]]])&&_0x1b20x5[mxConstants[_0x5826[2059]]]==mxConstants[_0x5826[2522]]){_0x1b20x5[mxConstants[_0x5826[2063]]]==mxConstants[_0x5826[481]]&&(_0x1b20xa+=parseFloat(_0x1b20x5[mxConstants[_0x5826[2523]]])||mxLabel[_0x5826[202]][_0x5826[1680]]),_0x1b20x5[mxConstants[_0x5826[2064]]]!=mxConstants[_0x5826[479]]&&(_0x1b20x3+=parseFloat(_0x1b20x5[mxConstants[_0x5826[2524]]])||mxLabel[_0x5826[202]][_0x5826[1680]])};_0x1b20xa+=2*(_0x1b20x5[mxConstants[_0x5826[2143]]]||0);_0x1b20xa+=_0x1b20x5[mxConstants[_0x5826[2147]]]||0;_0x1b20xa+=_0x1b20x5[mxConstants[_0x5826[2145]]]||0;_0x1b20x3+=2*(_0x1b20x5[mxConstants[_0x5826[2143]]]||0);_0x1b20x3+=_0x1b20x5[mxConstants[_0x5826[2144]]]||0;_0x1b20x3+=_0x1b20x5[mxConstants[_0x5826[2146]]]||0;_0x1b20x4=this[_0x5826[2205]](_0x1b20x4);null!=_0x1b20x4&&(_0x1b20xa+=_0x1b20x4[_0x5826[117]]+8);_0x1b20x4=this[_0x5826[2183]](_0x1b20x2);null!=_0x1b20x4&&0<_0x1b20x4[_0x5826[67]]?(this[_0x5826[2186]](_0x1b20x2)||(_0x1b20x4=_0x1b20x4[_0x5826[230]](/\n/g,_0x5826[545])),_0x1b20x9=mxUtils[_0x5826[2525]](_0x1b20x4,_0x1b20x9,_0x1b20x5[mxConstants[_0x5826[2188]]]),_0x1b20x2=_0x1b20x9[_0x5826[117]]+_0x1b20xa,_0x1b20x3=_0x1b20x9[_0x5826[119]]+_0x1b20x3,mxUtils[_0x5826[433]](_0x1b20x5,mxConstants.STYLE_HORIZONTAL,!0)||(_0x1b20x5=_0x1b20x3,_0x1b20x3=_0x1b20x2,_0x1b20x2=_0x1b20x5),this[_0x5826[991]]&&(_0x1b20x2=this[_0x5826[1021]](_0x1b20x2+this[_0x5826[1020]]/2),_0x1b20x3=this[_0x5826[1021]](_0x1b20x3+this[_0x5826[1020]]/2)),_0x1b20x3= new mxRectangle(0,0,_0x1b20x2,_0x1b20x3)):(_0x1b20x5=4*this[_0x5826[1020]],_0x1b20x3= new mxRectangle(0,0,_0x1b20x5,_0x1b20x5))}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2216]]=function(_0x1b20x2,_0x1b20x3){if(0.2<Math[_0x5826[425]](1-_0x1b20x3[_0x5826[255]])){var _0x1b20x4=this[_0x5826[441]][_0x5826[255]],_0x1b20x5=this[_0x5826[441]][_0x5826[513]],_0x1b20x9=_0x1b20x2[_0x5826[117]]*_0x1b20x3[_0x5826[255]],_0x1b20xa=_0x1b20x2[_0x5826[119]]*_0x1b20x3[_0x5826[255]],_0x1b20x12=_0x1b20x2[_0x5826[236]]-(_0x1b20xa-_0x1b20x2[_0x5826[119]])/2,_0x1b20x4= new mxRectangle(this[_0x5826[1021]]((_0x1b20x2[_0x5826[235]]-(_0x1b20x9-_0x1b20x2[_0x5826[117]])/2)/_0x1b20x4)-_0x1b20x5[_0x5826[235]],this[_0x5826[1021]](_0x1b20x12/_0x1b20x4)-_0x1b20x5[_0x5826[236]],this[_0x5826[1021]](_0x1b20x9/_0x1b20x4),this[_0x5826[1021]](_0x1b20xa/_0x1b20x4));this[_0x5826[2526]](_0x1b20x2[_0x5826[246]],_0x1b20x4)}};mxGraph[_0x5826[202]][_0x5826[2526]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[836]]([_0x1b20x2],[_0x1b20x3])[0]};mxGraph[_0x5826[202]][_0x5826[836]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[251]][_0x5826[473]]();try{this[_0x5826[837]](_0x1b20x2,_0x1b20x3),this[_0x5826[746]]( new mxEventObject(mxEvent.RESIZE_CELLS,_0x5826[895],_0x1b20x2,_0x5826[1562],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[837]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x3&&_0x1b20x2[_0x5826[67]]==_0x1b20x3[_0x5826[67]]){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=_0x1b20x3[_0x1b20x4],_0x1b20x9=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2[_0x1b20x4]);if(null!=_0x1b20x9&&(_0x1b20x9[_0x5826[235]]!=_0x1b20x5[_0x5826[235]]||_0x1b20x9[_0x5826[236]]!=_0x1b20x5[_0x5826[236]]||_0x1b20x9[_0x5826[117]]!=_0x1b20x5[_0x5826[117]]||_0x1b20x9[_0x5826[119]]!=_0x1b20x5[_0x5826[119]])){_0x1b20x9=_0x1b20x9[_0x5826[238]]();if(_0x1b20x9[_0x5826[1500]]){var _0x1b20xa=_0x1b20x9[_0x5826[1368]];null!=_0x1b20xa&&(_0x1b20xa[_0x5826[235]]+=_0x1b20x5[_0x5826[235]]-_0x1b20x9[_0x5826[235]],_0x1b20xa[_0x5826[236]]+=_0x1b20x5[_0x5826[236]]-_0x1b20x9[_0x5826[236]])}else {_0x1b20x9[_0x5826[235]]=_0x1b20x5[_0x5826[235]],_0x1b20x9[_0x5826[236]]=_0x1b20x5[_0x5826[236]]};_0x1b20x9[_0x5826[117]]=_0x1b20x5[_0x5826[117]];_0x1b20x9[_0x5826[119]]=_0x1b20x5[_0x5826[119]];!_0x1b20x9[_0x5826[1500]]&&(this[_0x5826[251]][_0x5826[1193]](_0x1b20x2[_0x1b20x4])&&!this[_0x5826[2505]]())&&(_0x1b20x9[_0x5826[235]]=Math[_0x5826[160]](0,_0x1b20x9[_0x5826[235]]),_0x1b20x9[_0x5826[236]]=Math[_0x5826[160]](0,_0x1b20x9[_0x5826[236]]));this[_0x5826[251]][_0x5826[1724]](_0x1b20x2[_0x1b20x4],_0x1b20x9);this[_0x5826[2507]](_0x1b20x2[_0x1b20x4])&&this[_0x5826[2508]](_0x1b20x2[_0x1b20x4])}};this[_0x5826[2399]]&&this[_0x5826[1750]](_0x1b20x2);this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_RESIZED,_0x5826[895],_0x1b20x2,_0x5826[1562],_0x1b20x3))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2508]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2),_0x1b20x4=this[_0x5826[251]][_0x5826[1721]](_0x1b20x3);if(null!=_0x1b20x3&&(null!=_0x1b20x4&&!this[_0x5826[1742]](_0x1b20x3))&&(_0x1b20x2=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x4[_0x5826[117]]<_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]||_0x1b20x4[_0x5826[119]]<_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]))){_0x1b20x4=_0x1b20x4[_0x5826[238]](),_0x1b20x4[_0x5826[117]]=Math[_0x5826[160]](_0x1b20x4[_0x5826[117]],_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]),_0x1b20x4[_0x5826[119]]=Math[_0x5826[160]](_0x1b20x4[_0x5826[119]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]),this[_0x5826[837]]([_0x1b20x3],[_0x1b20x4])}}};mxGraph[_0x5826[202]][_0x5826[903]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return this[_0x5826[834]](_0x1b20x2,_0x1b20x3,_0x1b20x4,!0,_0x1b20x5,_0x1b20x9)};mxGraph[_0x5826[202]][_0x5826[834]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:0;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!1;if(null!=_0x1b20x2&&(0!=_0x1b20x3||0!=_0x1b20x4||_0x1b20x5||null!=_0x1b20x9)){this[_0x5826[251]][_0x5826[473]]();try{_0x1b20x5&&(_0x1b20x2=this[_0x5826[899]](_0x1b20x2,this[_0x5826[2527]]()),null==_0x1b20x9&&(_0x1b20x9=this[_0x5826[902]]()));var _0x1b20x12=this[_0x5826[2505]]();null!=_0x1b20x9&&this[_0x5826[2528]](!0);this[_0x5826[835]](_0x1b20x2,_0x1b20x3,_0x1b20x4,!_0x1b20x5&&this[_0x5826[2529]]()&&this[_0x5826[2530]](),null==_0x1b20x9);this[_0x5826[2528]](_0x1b20x12);if(null!=_0x1b20x9){var _0x1b20x13=this[_0x5826[251]][_0x5826[262]](_0x1b20x9);this[_0x5826[833]](_0x1b20x2,_0x1b20x9,_0x1b20x13,null,null,!0)};this[_0x5826[746]]( new mxEventObject(mxEvent.MOVE_CELLS,_0x5826[895],_0x1b20x2,_0x5826[1126],_0x1b20x3,_0x5826[1125],_0x1b20x4,_0x5826[238],_0x1b20x5,_0x5826[772],_0x1b20x9,_0x5826[763],_0x1b20xa))}finally{this[_0x5826[251]][_0x5826[476]]()}};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[835]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x2&&(0!=_0x1b20x3||0!=_0x1b20x4)){this[_0x5826[251]][_0x5826[473]]();try{_0x1b20x5&&this[_0x5826[2531]](_0x1b20x2);for(var _0x1b20xa=0;_0x1b20xa<_0x1b20x2[_0x5826[67]];_0x1b20xa++){this[_0x5826[2532]](_0x1b20x2[_0x1b20xa],_0x1b20x3,_0x1b20x4),_0x1b20x9&&this[_0x5826[2509]](_0x1b20x2[_0x1b20xa])};this[_0x5826[2400]]&&this[_0x5826[1750]](_0x1b20x2);this[_0x5826[746]]( new mxEventObject(mxEvent.CELLS_MOVED,_0x5826[895],_0x1b20x2,_0x5826[1126],_0x1b20x4,_0x5826[1125],_0x1b20x4,_0x5826[808],_0x1b20x5))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2532]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2);null!=_0x1b20x5&&(_0x1b20x5=_0x1b20x5[_0x5826[238]](),_0x1b20x5[_0x5826[513]](_0x1b20x3,_0x1b20x4),!_0x1b20x5[_0x5826[1500]]&&(this[_0x5826[251]][_0x5826[1193]](_0x1b20x2)&&!this[_0x5826[2505]]())&&(_0x1b20x5[_0x5826[235]]=Math[_0x5826[160]](0,_0x1b20x5[_0x5826[235]]),_0x1b20x5[_0x5826[236]]=Math[_0x5826[160]](0,_0x1b20x5[_0x5826[236]])),_0x1b20x5[_0x5826[1500]]&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)&&(null==_0x1b20x5[_0x5826[1368]]?_0x1b20x5[_0x5826[1368]]= new mxPoint(_0x1b20x3,_0x1b20x4):(_0x1b20x5[_0x5826[1368]][_0x5826[235]]+=_0x1b20x3,_0x1b20x5[_0x5826[1368]][_0x5826[236]]+=_0x1b20x4)),this[_0x5826[251]][_0x5826[1724]](_0x1b20x2,_0x1b20x5))};mxGraph[_0x5826[202]][_0x5826[2533]]=function(_0x1b20x2){if(null!=_0x1b20x2&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)){var _0x1b20x3=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2);if(_0x1b20x3==this[_0x5826[902]]()||_0x1b20x3==this[_0x5826[2534]]()){return this[_0x5826[2535]]()};if(null!=_0x1b20x3&&_0x1b20x3!=this[_0x5826[902]]()){var _0x1b20x4=this[_0x5826[251]][_0x5826[1721]](_0x1b20x3);if(null!=_0x1b20x4){var _0x1b20x5=_0x1b20x2=0,_0x1b20x9=_0x1b20x4[_0x5826[117]],_0x1b20x4=_0x1b20x4[_0x5826[119]];this[_0x5826[1730]](_0x1b20x3)&&(_0x1b20x3=this[_0x5826[1731]](_0x1b20x3),_0x1b20x2=_0x1b20x3[_0x5826[117]],_0x1b20x9-=_0x1b20x3[_0x5826[117]],_0x1b20x5=_0x1b20x3[_0x5826[119]],_0x1b20x4-=_0x1b20x3[_0x5826[119]]);return new mxRectangle(_0x1b20x2,_0x1b20x5,_0x1b20x9,_0x1b20x4)}}};return null};mxGraph[_0x5826[202]][_0x5826[2535]]=function(){return this[_0x5826[2385]]};mxGraph[_0x5826[202]][_0x5826[2509]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2),_0x1b20x4=this[_0x5826[2536]](_0x1b20x2)?this[_0x5826[2533]](_0x1b20x2):this[_0x5826[2535]]();if(null!=_0x1b20x3&&null!=_0x1b20x4&&!_0x1b20x3[_0x5826[1500]]&&(_0x1b20x3[_0x5826[235]]<_0x1b20x4[_0x5826[235]]||_0x1b20x3[_0x5826[236]]<_0x1b20x4[_0x5826[236]]||_0x1b20x4[_0x5826[117]]<_0x1b20x3[_0x5826[235]]+_0x1b20x3[_0x5826[117]]||_0x1b20x4[_0x5826[119]]<_0x1b20x3[_0x5826[236]]+_0x1b20x3[_0x5826[119]])){_0x1b20x2=this[_0x5826[2537]](_0x1b20x2),0<_0x1b20x4[_0x5826[117]]&&(_0x1b20x3[_0x5826[235]]=Math[_0x5826[243]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]+_0x1b20x4[_0x5826[117]]-(1-_0x1b20x2)*_0x1b20x3[_0x5826[117]])),0<_0x1b20x4[_0x5826[119]]&&(_0x1b20x3[_0x5826[236]]=Math[_0x5826[243]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]+_0x1b20x4[_0x5826[119]]-(1-_0x1b20x2)*_0x1b20x3[_0x5826[119]])),_0x1b20x3[_0x5826[235]]=Math[_0x5826[160]](_0x1b20x3[_0x5826[235]],_0x1b20x4[_0x5826[235]]-_0x1b20x3[_0x5826[117]]*_0x1b20x2),_0x1b20x3[_0x5826[236]]=Math[_0x5826[160]](_0x1b20x3[_0x5826[236]],_0x1b20x4[_0x5826[236]]-_0x1b20x3[_0x5826[119]]*_0x1b20x2)}}};mxGraph[_0x5826[202]][_0x5826[1750]]=function(_0x1b20x2){if(null!=_0x1b20x2){for(var _0x1b20x3={},_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=mxCellPath[_0x5826[385]](_0x1b20x2[_0x1b20x4]);_0x1b20x3[_0x1b20x5]=_0x1b20x2[_0x1b20x4]};this[_0x5826[251]][_0x5826[473]]();try{for(_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){var _0x1b20x9=this[_0x5826[251]][_0x5826[264]](_0x1b20x2[_0x1b20x4]);if(null!=_0x1b20x9){for(_0x1b20x5=0;_0x1b20x5<_0x1b20x9[_0x5826[67]];_0x1b20x5++){var _0x1b20xa=this[_0x5826[441]][_0x5826[248]](_0x1b20x9[_0x1b20x5]),_0x1b20x12=null!=_0x1b20xa?_0x1b20xa[_0x5826[1710]](!0):this[_0x5826[441]][_0x5826[1710]](_0x1b20x9[_0x1b20x5],!0),_0x1b20x13=null!=_0x1b20xa?_0x1b20xa[_0x5826[1710]](!1):this[_0x5826[441]][_0x5826[1710]](_0x1b20x9[_0x1b20x5],!1),_0x1b20x14=mxCellPath[_0x5826[385]](_0x1b20x12),_0x1b20x15=mxCellPath[_0x5826[385]](_0x1b20x13);(null==_0x1b20x3[_0x1b20x14]||null==_0x1b20x3[_0x1b20x15])&&this[_0x5826[1809]](_0x1b20x9[_0x1b20x5])}};this[_0x5826[1750]](this[_0x5826[251]][_0x5826[1953]](_0x1b20x2[_0x1b20x4]))}}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[1809]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2);null!=_0x1b20x3&&(null!=_0x1b20x3[_0x5826[1525]]&&0<_0x1b20x3[_0x5826[1525]][_0x5826[67]])&&(_0x1b20x3=_0x1b20x3[_0x5826[238]](),_0x1b20x3[_0x5826[1525]]=[],this[_0x5826[251]][_0x5826[1724]](_0x1b20x2,_0x1b20x3));return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2538]]=function(_0x1b20x2,_0x1b20x3){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[253]]&&null!=_0x1b20x2[_0x5826[253]][_0x5826[1561]]?_0x1b20x2[_0x5826[253]][_0x5826[1561]][_0x5826[1531]]:null};mxGraph[_0x5826[202]][_0x5826[2288]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=null;var _0x1b20x5=_0x1b20x2[_0x5826[124]][_0x1b20x4?mxConstants[_0x5826[2539]]:mxConstants[_0x5826[2540]]];if(null!=_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[124]][_0x1b20x4?mxConstants[_0x5826[2541]]:mxConstants[_0x5826[2542]]];null!=_0x1b20x9&&(_0x1b20x3= new mxPoint(parseFloat(_0x1b20x5),parseFloat(_0x1b20x9)))};_0x1b20x5= !1;null!=_0x1b20x3&&(_0x1b20x5=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],_0x1b20x4?mxConstants[_0x5826[2543]]:mxConstants[_0x5826[2544]],!0));return new mxConnectionConstraint(_0x1b20x3,_0x1b20x5)};mxGraph[_0x5826[202]][_0x5826[2545]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x5){this[_0x5826[251]][_0x5826[473]]();try{null==_0x1b20x5||null==_0x1b20x5[_0x5826[2546]]?(this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2539]]:mxConstants[_0x5826[2540]],null,[_0x1b20x2]),this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2541]]:mxConstants[_0x5826[2542]],null,[_0x1b20x2]),this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2543]]:mxConstants[_0x5826[2544]],null,[_0x1b20x2])):null!=_0x1b20x5[_0x5826[2546]]&&(this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2539]]:mxConstants[_0x5826[2540]],_0x1b20x5[_0x5826[2546]][_0x5826[235]],[_0x1b20x2]),this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2541]]:mxConstants[_0x5826[2542]],_0x1b20x5[_0x5826[2546]][_0x5826[236]],[_0x1b20x2]),_0x1b20x5[_0x5826[591]]?this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2543]]:mxConstants[_0x5826[2544]],null,[_0x1b20x2]):this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2543]]:mxConstants[_0x5826[2544]],_0x5826[468],[_0x1b20x2]))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2290]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(null!=_0x1b20x2){var _0x1b20x5=this[_0x5826[441]][_0x5826[2087]](_0x1b20x2),_0x1b20x9= new mxPoint(_0x1b20x5[_0x5826[241]](),_0x1b20x5[_0x5826[242]]()),_0x1b20xa=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2011]]],_0x1b20x12=0;if(null!=_0x1b20xa&&(_0x5826[700]==_0x1b20xa?_0x1b20x12+=270:_0x5826[703]==_0x1b20xa?_0x1b20x12+=180:_0x5826[701]==_0x1b20xa&&(_0x1b20x12+=90),_0x5826[700]==_0x1b20xa||_0x5826[701]==_0x1b20xa)){_0x1b20x5[_0x5826[235]]+=_0x1b20x5[_0x5826[117]]/2-_0x1b20x5[_0x5826[119]]/2;_0x1b20x5[_0x5826[236]]+=_0x1b20x5[_0x5826[119]]/2-_0x1b20x5[_0x5826[117]]/2;var _0x1b20x13=_0x1b20x5[_0x5826[117]];_0x1b20x5[_0x5826[117]]=_0x1b20x5[_0x5826[119]];_0x1b20x5[_0x5826[119]]=_0x1b20x13};if(null!=_0x1b20x3[_0x5826[2546]]){var _0x1b20x14=_0x1b20x4=1,_0x1b20x15=0,_0x1b20x16=0;if(this[_0x5826[502]]()[_0x5826[1193]](_0x1b20x2[_0x5826[246]])){var _0x1b20x17=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2547]]],_0x1b20x18=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2548]]];null!=_0x1b20x2[_0x5826[253]][_0x5826[1561]]&&(_0x1b20x17=1==mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],_0x5826[1607],0)||_0x1b20x17,_0x1b20x18=1==mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],_0x5826[1608],0)||_0x1b20x18);if(_0x5826[700]==_0x1b20xa||_0x5826[701]==_0x1b20xa){_0x1b20x13=_0x1b20x17,_0x1b20x17=_0x1b20x18,_0x1b20x18=_0x1b20x13};_0x1b20x17&&(_0x1b20x4= -1,_0x1b20x15=-_0x1b20x5[_0x5826[117]]);_0x1b20x18&&(_0x1b20x14= -1,_0x1b20x16=-_0x1b20x5[_0x5826[119]])};_0x1b20x4= new mxPoint(_0x1b20x5[_0x5826[235]]+_0x1b20x3[_0x5826[2546]][_0x5826[235]]*_0x1b20x5[_0x5826[117]]*_0x1b20x4-_0x1b20x15,_0x1b20x5[_0x5826[236]]+_0x1b20x3[_0x5826[2546]][_0x5826[236]]*_0x1b20x5[_0x5826[119]]*_0x1b20x14-_0x1b20x16)};_0x1b20xa=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2278]]]||0;_0x1b20x3[_0x5826[591]]?(0!=_0x1b20x12&&null!=_0x1b20x4&&(_0x1b20x13=_0x1b20x5=0,90==_0x1b20x12?_0x1b20x13=1:180==_0x1b20x12?_0x1b20x5= -1:270==_0x1b20xa&&(_0x1b20x13= -1),_0x1b20x4=mxUtils[_0x5826[432]](_0x1b20x4,_0x1b20x5,_0x1b20x13,_0x1b20x9)),null!=_0x1b20x4&&_0x1b20x3[_0x5826[591]]&&(_0x1b20x4=this[_0x5826[441]][_0x5826[2302]](_0x1b20x2,_0x1b20x4,!1))):_0x1b20xa+=_0x1b20x12;0!=_0x1b20xa&&null!=_0x1b20x4&&(_0x1b20x12=mxUtils[_0x5826[431]](_0x1b20xa),_0x1b20x5=Math[_0x5826[426]](_0x1b20x12),_0x1b20x13=Math[_0x5826[427]](_0x1b20x12),_0x1b20x4=mxUtils[_0x5826[432]](_0x1b20x4,_0x1b20x5,_0x1b20x13,_0x1b20x9))};return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[851]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[251]][_0x5826[473]]();try{var _0x1b20x9=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,_0x1b20x4);this[_0x5826[852]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);this[_0x5826[746]]( new mxEventObject(mxEvent.CONNECT_CELL,_0x5826[1989],_0x1b20x2,_0x5826[1984],_0x1b20x3,_0x5826[1097],_0x1b20x4,_0x5826[257],_0x1b20x9))}finally{this[_0x5826[251]][_0x5826[476]]()};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[852]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x2){this[_0x5826[251]][_0x5826[473]]();try{var _0x1b20x9=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,_0x1b20x4);this[_0x5826[2545]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5);this[_0x5826[2549]]()&&(_0x1b20x5=null,this[_0x5826[1908]](_0x1b20x3)&&(_0x1b20x5=_0x1b20x3[_0x5826[1103]](),_0x1b20x3=this[_0x5826[2550]](_0x1b20x3,_0x1b20x4)),this[_0x5826[1717]](_0x1b20x4?mxConstants[_0x5826[2303]]:mxConstants[_0x5826[2304]],_0x1b20x5,[_0x1b20x2]));this[_0x5826[251]][_0x5826[1957]](_0x1b20x2,_0x1b20x3,_0x1b20x4);this[_0x5826[2401]]&&this[_0x5826[1809]](_0x1b20x2);this[_0x5826[746]]( new mxEventObject(mxEvent.CELL_CONNECTED,_0x5826[1989],_0x1b20x2,_0x5826[1984],_0x1b20x3,_0x5826[1097],_0x1b20x4,_0x5826[257],_0x1b20x9))}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2531]]=function(_0x1b20x2){if(null!=_0x1b20x2){this[_0x5826[251]][_0x5826[473]]();try{for(var _0x1b20x3=this[_0x5826[441]][_0x5826[255]],_0x1b20x4=this[_0x5826[441]][_0x5826[513]],_0x1b20x5={},_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2[_0x1b20x9]);_0x1b20x5[_0x1b20xa]=_0x1b20x2[_0x1b20x9]};for(_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){if(this[_0x5826[251]][_0x5826[250]](_0x1b20x2[_0x1b20x9])){var _0x1b20x12=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2[_0x1b20x9]);if(null!=_0x1b20x12){var _0x1b20x13=this[_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x1b20x9]),_0x1b20x14=this[_0x5826[441]][_0x5826[248]](this[_0x5826[251]][_0x5826[1197]](_0x1b20x2[_0x1b20x9]));if(null!=_0x1b20x13&&null!=_0x1b20x14){var _0x1b20x12=_0x1b20x12[_0x5826[238]](),_0x1b20x15=-_0x1b20x14[_0x5826[2078]][_0x5826[235]],_0x1b20x16=-_0x1b20x14[_0x5826[2078]][_0x5826[236]],_0x1b20x17=_0x1b20x13[_0x5826[439]],_0x1b20x18=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x1b20x9],!0);if(null!=_0x1b20x18&&this[_0x5826[2551]](_0x1b20x2[_0x1b20x9],_0x1b20x18,!0)){for(var _0x1b20x19=mxCellPath[_0x5826[385]](_0x1b20x18);null!=_0x1b20x18&&null==_0x1b20x5[_0x1b20x19];){_0x1b20x18=this[_0x5826[251]][_0x5826[1197]](_0x1b20x18),_0x1b20x19=mxCellPath[_0x5826[385]](_0x1b20x18)};null==_0x1b20x18&&(_0x1b20x12[_0x5826[2007]]( new mxPoint(_0x1b20x17[0][_0x5826[235]]/_0x1b20x3-_0x1b20x4[_0x5826[235]]+_0x1b20x15,_0x1b20x17[0][_0x5826[236]]/_0x1b20x3-_0x1b20x4[_0x5826[236]]+_0x1b20x16),!0),this[_0x5826[251]][_0x5826[1957]](_0x1b20x2[_0x1b20x9],null,!0))};var _0x1b20x1a=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2[_0x1b20x9],!1);if(null!=_0x1b20x1a&&this[_0x5826[2551]](_0x1b20x2[_0x1b20x9],_0x1b20x1a,!1)){for(var _0x1b20x1b=mxCellPath[_0x5826[385]](_0x1b20x1a);null!=_0x1b20x1a&&null==_0x1b20x5[_0x1b20x1b];){_0x1b20x1a=this[_0x5826[251]][_0x5826[1197]](_0x1b20x1a),_0x1b20x1b=mxCellPath[_0x5826[385]](_0x1b20x1a)};if(null==_0x1b20x1a){var _0x1b20x1c=_0x1b20x17[_0x5826[67]]-1;_0x1b20x12[_0x5826[2007]]( new mxPoint(_0x1b20x17[_0x1b20x1c][_0x5826[235]]/_0x1b20x3-_0x1b20x4[_0x5826[235]]+_0x1b20x15,_0x1b20x17[_0x1b20x1c][_0x5826[236]]/_0x1b20x3-_0x1b20x4[_0x5826[236]]+_0x1b20x16),!1);this[_0x5826[251]][_0x5826[1957]](_0x1b20x2[_0x1b20x9],null,!1)}};this[_0x5826[251]][_0x5826[1724]](_0x1b20x2[_0x1b20x9],_0x1b20x12)}}}}}finally{this[_0x5826[251]][_0x5826[476]]()}}};mxGraph[_0x5826[202]][_0x5826[2534]]=function(){return this[_0x5826[441]][_0x5826[1741]]};mxGraph[_0x5826[202]][_0x5826[2326]]=function(_0x1b20x2){return null};mxGraph[_0x5826[202]][_0x5826[1908]]=function(_0x1b20x2){return !1};mxGraph[_0x5826[202]][_0x5826[2550]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[251]][_0x5826[1197]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2280]]=function(_0x1b20x2){return null};mxGraph[_0x5826[202]][_0x5826[2552]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2||this[_0x5826[2452]]();null!=_0x1b20x2&&this[_0x5826[2553]](_0x1b20x2)&&(this[_0x5826[441]][_0x5826[2257]](_0x1b20x2),this[_0x5826[2440]]())};mxGraph[_0x5826[202]][_0x5826[2554]]=function(){var _0x1b20x2=this[_0x5826[251]][_0x5826[501]](),_0x1b20x3=this[_0x5826[2534]]();if(null!=_0x1b20x3){for(var _0x1b20x4=this[_0x5826[251]][_0x5826[1197]](_0x1b20x3);_0x1b20x4!=_0x1b20x2&&!this[_0x5826[2553]](_0x1b20x4)&&this[_0x5826[251]][_0x5826[1197]](_0x1b20x4)!=_0x1b20x2;){_0x1b20x4=this[_0x5826[251]][_0x5826[1197]](_0x1b20x4)};_0x1b20x4==_0x1b20x2||this[_0x5826[251]][_0x5826[1197]](_0x1b20x4)==_0x1b20x2?this[_0x5826[441]][_0x5826[2257]](null):this[_0x5826[441]][_0x5826[2257]](_0x1b20x4);null!=this[_0x5826[441]][_0x5826[248]](_0x1b20x3)&&this[_0x5826[2450]](_0x1b20x3)}};mxGraph[_0x5826[202]][_0x5826[2442]]=function(){var _0x1b20x2=this[_0x5826[2534]]();null!=_0x1b20x2&&(this[_0x5826[441]][_0x5826[2257]](null),null!=this[_0x5826[441]][_0x5826[248]](_0x1b20x2)&&this[_0x5826[2450]](_0x1b20x2))};mxGraph[_0x5826[202]][_0x5826[2553]]=function(_0x1b20x2){return null!=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[517]]=function(){return this[_0x5826[441]][_0x5826[517]]()};mxGraph[_0x5826[202]][_0x5826[2555]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=[_0x1b20x2];_0x1b20x3&&(_0x1b20x5=_0x1b20x5[_0x5826[1919]](this[_0x5826[251]][_0x5826[264]](_0x1b20x2)));_0x1b20x5=this[_0x5826[441]][_0x5826[1799]](_0x1b20x5);if(_0x1b20x4){_0x1b20x4=this[_0x5826[251]][_0x5826[262]](_0x1b20x2);for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x4;_0x1b20x9++){var _0x1b20xa=this[_0x5826[2555]](this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x3,!0);null!=_0x1b20x5?_0x1b20x5[_0x5826[99]](_0x1b20xa):_0x1b20x5=_0x1b20xa}};return _0x1b20x5};mxGraph[_0x5826[202]][_0x5826[1729]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;var _0x1b20x4=null;if(null!=_0x1b20x2){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){if(_0x1b20x3||this[_0x5826[251]][_0x5826[1193]](_0x1b20x2[_0x1b20x5])){var _0x1b20x9=this[_0x5826[1198]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20x9){var _0x1b20xa=_0x1b20x9[_0x5826[1525]];if(null!=_0x1b20xa&&0<_0x1b20xa[_0x5826[67]]){for(var _0x1b20x12= new mxRectangle(_0x1b20xa[0][_0x5826[235]],_0x1b20xa[0][_0x5826[236]],0,0),_0x1b20x13=function(_0x1b20x2){null!=_0x1b20x2&&_0x1b20x12[_0x5826[99]]( new mxRectangle(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],0,0))},_0x1b20x14=1;_0x1b20x14<_0x1b20xa[_0x5826[67]];_0x1b20x14++){_0x1b20x13(_0x1b20xa[_0x1b20x14])};_0x1b20x13(_0x1b20x9[_0x5826[2006]](!0));_0x1b20x13(_0x1b20x9[_0x5826[2006]](!1))};null==_0x1b20x4?_0x1b20x4= new mxRectangle(_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]]):_0x1b20x4[_0x5826[99]](_0x1b20x9)}}}};return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[802]]=function(_0x1b20x2){this[_0x5826[441]][_0x5826[200]](_0x1b20x2,null==_0x1b20x2);this[_0x5826[441]][_0x5826[2264]]();this[_0x5826[2258]]();this[_0x5826[746]]( new mxEventObject(mxEvent.REFRESH))};mxGraph[_0x5826[202]][_0x5826[1021]]=function(_0x1b20x2){this[_0x5826[991]]&&(_0x1b20x2=Math[_0x5826[488]](_0x1b20x2/this[_0x5826[1020]])*this[_0x5826[1020]]);return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[1135]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[2365]]&&mxUtils[_0x5826[1134]](this[_0x5826[526]])){this[_0x5826[526]][_0x5826[360]]= -_0x1b20x2,this[_0x5826[526]][_0x5826[190]]= -_0x1b20x3}else {var _0x1b20x4=this[_0x5826[441]][_0x5826[2051]]();if(this[_0x5826[507]]==mxConstants[_0x5826[508]]){if(0==_0x1b20x2&&0==_0x1b20x3){if(mxClient[_0x5826[80]]?_0x1b20x4[_0x5826[57]](_0x5826[535],_0x5826[536]+_0x1b20x2+_0x5826[537]+_0x1b20x3+_0x5826[460]):_0x1b20x4[_0x5826[1390]](_0x5826[535]),null!=this[_0x5826[2556]]){for(var _0x1b20x5=this[_0x5826[2556]][_0x5826[285]];null!=_0x1b20x5;){var _0x1b20x9=_0x1b20x5[_0x5826[287]];this[_0x5826[526]][_0x5826[62]](_0x1b20x5);_0x1b20x5=_0x1b20x9};this[_0x5826[2556]][_0x5826[265]][_0x5826[266]](this[_0x5826[2556]]);this[_0x5826[2556]]=null;this[_0x5826[526]][_0x5826[62]](_0x1b20x4[_0x5826[265]]);for(_0x1b20x5=this[_0x5826[2557]][_0x5826[285]];null!=_0x1b20x5;){_0x1b20x9=_0x1b20x5[_0x5826[287]],this[_0x5826[526]][_0x5826[62]](_0x1b20x5),_0x1b20x5=_0x1b20x9};this[_0x5826[2557]][_0x5826[265]][_0x5826[266]](this[_0x5826[2557]]);this[_0x5826[2557]]=null}}else {_0x1b20x4[_0x5826[57]](_0x5826[535],_0x5826[536]+_0x1b20x2+_0x5826[537]+_0x1b20x3+_0x5826[460]);if(null==this[_0x5826[2556]]){this[_0x5826[2556]]=document[_0x5826[55]](_0x5826[485]);this[_0x5826[2556]][_0x5826[124]][_0x5826[491]]=_0x5826[492];this[_0x5826[2556]][_0x5826[124]][_0x5826[277]]=_0x5826[189];this[_0x5826[2557]]=document[_0x5826[55]](_0x5826[485]);this[_0x5826[2557]][_0x5826[124]][_0x5826[491]]=_0x5826[492];this[_0x5826[2557]][_0x5826[124]][_0x5826[277]]=_0x5826[189];for(var _0x1b20xa=this[_0x5826[2556]],_0x1b20x5=this[_0x5826[526]][_0x5826[285]];null!=_0x1b20x5;){_0x1b20x9=_0x1b20x5[_0x5826[287]],_0x1b20x5!=_0x1b20x4[_0x5826[265]]?_0x1b20xa[_0x5826[62]](_0x1b20x5):_0x1b20xa=this[_0x5826[2557]],_0x1b20x5=_0x1b20x9};this[_0x5826[526]][_0x5826[950]](this[_0x5826[2556]],_0x1b20x4[_0x5826[265]]);this[_0x5826[526]][_0x5826[62]](this[_0x5826[2557]])};this[_0x5826[2556]][_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168];this[_0x5826[2556]][_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168];this[_0x5826[2557]][_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168];this[_0x5826[2557]][_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168]}}else {_0x1b20x4[_0x5826[124]][_0x5826[361]]=_0x1b20x2+_0x5826[168],_0x1b20x4[_0x5826[124]][_0x5826[125]]=_0x1b20x3+_0x5826[168]};this[_0x5826[1136]]=_0x1b20x2;this[_0x5826[1137]]=_0x1b20x3;this[_0x5826[746]]( new mxEventObject(mxEvent.PAN))}};mxGraph[_0x5826[202]][_0x5826[2558]]=function(){this[_0x5826[499]](this[_0x5826[2395]])};mxGraph[_0x5826[202]][_0x5826[2559]]=function(){this[_0x5826[499]](1/this[_0x5826[2395]])};mxGraph[_0x5826[202]][_0x5826[2560]]=function(){1==this[_0x5826[441]][_0x5826[255]]?this[_0x5826[441]][_0x5826[1147]](0,0):(this[_0x5826[441]][_0x5826[513]][_0x5826[235]]=0,this[_0x5826[441]][_0x5826[513]][_0x5826[236]]=0,this[_0x5826[441]][_0x5826[2262]](1))};mxGraph[_0x5826[202]][_0x5826[2561]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[499]](_0x1b20x2/this[_0x5826[441]][_0x5826[255]],_0x1b20x3)};mxGraph[_0x5826[202]][_0x5826[499]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:this[_0x5826[2397]];var _0x1b20x4=this[_0x5826[441]][_0x5826[255]]*_0x1b20x2,_0x1b20x5=this[_0x5826[441]][_0x5826[248]](this[_0x5826[2452]]());if(this[_0x5826[2396]]&&null!=_0x1b20x5){_0x1b20x5= new mxRectangle(_0x1b20x5[_0x5826[235]]*_0x1b20x2,_0x1b20x5[_0x5826[236]]*_0x1b20x2,_0x1b20x5[_0x5826[117]]*_0x1b20x2,_0x1b20x5[_0x5826[119]]*_0x1b20x2),this[_0x5826[441]][_0x5826[255]]=_0x1b20x4,this[_0x5826[2562]](_0x1b20x5)||(this[_0x5826[441]][_0x5826[2259]](),this[_0x5826[441]][_0x5826[2262]](_0x1b20x4))}else {if(_0x1b20x3&&!mxUtils[_0x5826[1134]](this[_0x5826[526]])){var _0x1b20x5=this[_0x5826[526]][_0x5826[359]],_0x1b20x9=this[_0x5826[526]][_0x5826[167]];if(1<_0x1b20x2){var _0x1b20xa=(_0x1b20x2-1)/(2*_0x1b20x4),_0x1b20x5=_0x1b20x5* -_0x1b20xa,_0x1b20x9=_0x1b20x9* -_0x1b20xa}else {_0x1b20xa=(1/_0x1b20x2-1)/(2*this[_0x5826[441]][_0x5826[255]]),_0x1b20x5*=_0x1b20xa,_0x1b20x9*=_0x1b20xa};this[_0x5826[441]][_0x5826[829]](_0x1b20x4,this[_0x5826[441]][_0x5826[513]][_0x5826[235]]+_0x1b20x5,this[_0x5826[441]][_0x5826[513]][_0x5826[236]]+_0x1b20x9)}else {this[_0x5826[441]][_0x5826[2262]](_0x1b20x4),mxUtils[_0x5826[1134]](this[_0x5826[526]])&&(_0x1b20x9=_0x1b20x5=0,_0x1b20x3&&(_0x1b20x5=this[_0x5826[526]][_0x5826[359]]*(_0x1b20x2-1)/2,_0x1b20x9=this[_0x5826[526]][_0x5826[167]]*(_0x1b20x2-1)/2),this[_0x5826[526]][_0x5826[360]]=Math[_0x5826[488]](this[_0x5826[526]][_0x5826[360]]*_0x1b20x2+_0x1b20x5),this[_0x5826[526]][_0x5826[190]]=Math[_0x5826[488]](this[_0x5826[526]][_0x5826[190]]*_0x1b20x2+_0x1b20x9))}}};mxGraph[_0x5826[202]][_0x5826[2563]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[526]][_0x5826[159]]/_0x1b20x2[_0x5826[117]]/(this[_0x5826[526]][_0x5826[157]]/_0x1b20x2[_0x5826[119]]);_0x1b20x2[_0x5826[235]]=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[235]]);_0x1b20x2[_0x5826[236]]=Math[_0x5826[160]](0,_0x1b20x2[_0x5826[236]]);var _0x1b20x4=Math[_0x5826[243]](this[_0x5826[526]][_0x5826[1526]],_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]),_0x1b20x5=Math[_0x5826[243]](this[_0x5826[526]][_0x5826[191]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]);_0x1b20x2[_0x5826[117]]=_0x1b20x4-_0x1b20x2[_0x5826[235]];_0x1b20x2[_0x5826[119]]=_0x1b20x5-_0x1b20x2[_0x5826[236]];1>_0x1b20x3?(_0x1b20x3=_0x1b20x2[_0x5826[119]]/_0x1b20x3,_0x1b20x4=(_0x1b20x3-_0x1b20x2[_0x5826[119]])/2,_0x1b20x2[_0x5826[119]]=_0x1b20x3,_0x1b20x3=Math[_0x5826[243]](_0x1b20x2[_0x5826[236]],_0x1b20x4),_0x1b20x2[_0x5826[236]]-=_0x1b20x3,_0x1b20x5=Math[_0x5826[243]](this[_0x5826[526]][_0x5826[191]],_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]),_0x1b20x2[_0x5826[119]]=_0x1b20x5-_0x1b20x2[_0x5826[236]]):(_0x1b20x3*=_0x1b20x2[_0x5826[117]],_0x1b20x4=(_0x1b20x3-_0x1b20x2[_0x5826[117]])/2,_0x1b20x2[_0x5826[117]]=_0x1b20x3,_0x1b20x3=Math[_0x5826[243]](_0x1b20x2[_0x5826[235]],_0x1b20x4),_0x1b20x2[_0x5826[235]]-=_0x1b20x3,_0x1b20x4=Math[_0x5826[243]](this[_0x5826[526]][_0x5826[1526]],_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]),_0x1b20x2[_0x5826[117]]=_0x1b20x4-_0x1b20x2[_0x5826[235]]);_0x1b20x3=this[_0x5826[526]][_0x5826[159]]/_0x1b20x2[_0x5826[117]];_0x1b20x4=this[_0x5826[441]][_0x5826[255]]*_0x1b20x3;mxUtils[_0x5826[1134]](this[_0x5826[526]])?(this[_0x5826[441]][_0x5826[2262]](_0x1b20x4),this[_0x5826[526]][_0x5826[360]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[235]]*_0x1b20x3),this[_0x5826[526]][_0x5826[190]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[236]]*_0x1b20x3)):this[_0x5826[441]][_0x5826[829]](_0x1b20x4,this[_0x5826[441]][_0x5826[513]][_0x5826[235]]-_0x1b20x2[_0x5826[235]]/this[_0x5826[441]][_0x5826[255]],this[_0x5826[441]][_0x5826[513]][_0x5826[236]]-_0x1b20x2[_0x5826[236]]/this[_0x5826[441]][_0x5826[255]])};mxGraph[_0x5826[202]][_0x5826[933]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[526]]){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:0;_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;var _0x1b20x4=this[_0x5826[526]][_0x5826[159]],_0x1b20x5=this[_0x5826[526]][_0x5826[157]],_0x1b20x9=this[_0x5826[441]][_0x5826[517]]();_0x1b20x3&&(null!=_0x1b20x9[_0x5826[235]]&&null!=_0x1b20x9[_0x5826[236]])&&(_0x1b20x9[_0x5826[117]]+=_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[119]]+=_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[235]]=0,_0x1b20x9[_0x5826[236]]=0);var _0x1b20xa=this[_0x5826[441]][_0x5826[255]],_0x1b20x12=_0x1b20x9[_0x5826[117]]/_0x1b20xa,_0x1b20x13=_0x1b20x9[_0x5826[119]]/_0x1b20xa;null!=this[_0x5826[1617]]&&(_0x1b20x12=Math[_0x5826[160]](_0x1b20x12,this[_0x5826[1617]][_0x5826[117]]-_0x1b20x9[_0x5826[235]]/_0x1b20xa),_0x1b20x13=Math[_0x5826[160]](_0x1b20x13,this[_0x5826[1617]][_0x5826[119]]-_0x1b20x9[_0x5826[236]]/_0x1b20xa));var _0x1b20x14=_0x1b20x3?_0x1b20x2:2*_0x1b20x2,_0x1b20x4=Math[_0x5826[519]](100*Math[_0x5826[243]](_0x1b20x4/(_0x1b20x12+_0x1b20x14),_0x1b20x5/(_0x1b20x13+_0x1b20x14)))/100;null!=this[_0x5826[2413]]&&(_0x1b20x4=Math[_0x5826[160]](_0x1b20x4,this[_0x5826[2413]]));null!=this[_0x5826[2414]]&&(_0x1b20x4=Math[_0x5826[243]](_0x1b20x4,this[_0x5826[2414]]));_0x1b20x3?this[_0x5826[441]][_0x5826[255]]!=_0x1b20x4&&this[_0x5826[441]][_0x5826[2262]](_0x1b20x4):mxUtils[_0x5826[1134]](this[_0x5826[526]])?(this[_0x5826[441]][_0x5826[2262]](_0x1b20x4),null!=_0x1b20x9[_0x5826[235]]&&(this[_0x5826[526]][_0x5826[360]]=Math[_0x5826[488]](_0x1b20x9[_0x5826[235]]/_0x1b20xa)*_0x1b20x4-_0x1b20x2-Math[_0x5826[160]](0,(this[_0x5826[526]][_0x5826[159]]-_0x1b20x12*_0x1b20x4)/2)),null!=_0x1b20x9[_0x5826[236]]&&(this[_0x5826[526]][_0x5826[190]]=Math[_0x5826[488]](_0x1b20x9[_0x5826[236]]/_0x1b20xa)*_0x1b20x4-_0x1b20x2-Math[_0x5826[160]](0,(this[_0x5826[526]][_0x5826[157]]-_0x1b20x13*_0x1b20x4)/2))):this[_0x5826[441]][_0x5826[829]](_0x1b20x4,null!=_0x1b20x9[_0x5826[235]]?Math[_0x5826[519]](this[_0x5826[441]][_0x5826[513]][_0x5826[235]]-_0x1b20x9[_0x5826[235]]/_0x1b20xa+_0x1b20x2+1):_0x1b20x2,null!=_0x1b20x9[_0x5826[236]]?Math[_0x5826[519]](this[_0x5826[441]][_0x5826[513]][_0x5826[236]]-_0x1b20x9[_0x5826[236]]/_0x1b20xa+_0x1b20x2+1):_0x1b20x2)};return this[_0x5826[441]][_0x5826[255]]};mxGraph[_0x5826[202]][_0x5826[2564]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=-this[_0x5826[441]][_0x5826[513]][_0x5826[235]],_0x1b20x5=-this[_0x5826[441]][_0x5826[513]][_0x5826[236]],_0x1b20x9=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);null!=_0x1b20x9&&(_0x1b20x4= new mxRectangle(_0x1b20x4+_0x1b20x9[_0x5826[235]],_0x1b20x5+_0x1b20x9[_0x5826[236]],_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]]),_0x1b20x3&&null!=this[_0x5826[526]]&&(_0x1b20x5=this[_0x5826[526]][_0x5826[159]],_0x1b20x9=this[_0x5826[526]][_0x5826[157]],_0x1b20x4[_0x5826[235]]=_0x1b20x4[_0x5826[241]]()-_0x1b20x5/2,_0x1b20x4[_0x5826[117]]=_0x1b20x5,_0x1b20x4[_0x5826[236]]=_0x1b20x4[_0x5826[242]]()-_0x1b20x9/2,_0x1b20x4[_0x5826[119]]=_0x1b20x9),this[_0x5826[2562]](_0x1b20x4)&&this[_0x5826[441]][_0x5826[1147]](this[_0x5826[441]][_0x5826[513]][_0x5826[235]],this[_0x5826[441]][_0x5826[513]][_0x5826[236]]))};mxGraph[_0x5826[202]][_0x5826[2562]]=function(_0x1b20x2){var _0x1b20x3=!1;if(null!=_0x1b20x2){var _0x1b20x4=this[_0x5826[526]][_0x5826[359]],_0x1b20x5=this[_0x5826[526]][_0x5826[167]],_0x1b20x9=Math[_0x5826[243]](_0x1b20x4,_0x1b20x2[_0x5826[117]]),_0x1b20xa=Math[_0x5826[243]](_0x1b20x5,_0x1b20x2[_0x5826[119]]);if(mxUtils[_0x5826[1134]](this[_0x5826[526]])){_0x1b20x4=this[_0x5826[526]];_0x1b20x2[_0x5826[235]]+=this[_0x5826[441]][_0x5826[513]][_0x5826[235]];_0x1b20x2[_0x5826[236]]+=this[_0x5826[441]][_0x5826[513]][_0x5826[236]];var _0x1b20x12=_0x1b20x4[_0x5826[360]]-_0x1b20x2[_0x5826[235]],_0x1b20x5=Math[_0x5826[160]](_0x1b20x12-_0x1b20x4[_0x5826[360]],0);0<_0x1b20x12?_0x1b20x4[_0x5826[360]]-=_0x1b20x12+2:(_0x1b20x12=_0x1b20x2[_0x5826[235]]+_0x1b20x9-_0x1b20x4[_0x5826[360]]-_0x1b20x4[_0x5826[159]],0<_0x1b20x12&&(_0x1b20x4[_0x5826[360]]+=_0x1b20x12+2));_0x1b20x9=_0x1b20x4[_0x5826[190]]-_0x1b20x2[_0x5826[236]];_0x1b20x12=Math[_0x5826[160]](0,_0x1b20x9-_0x1b20x4[_0x5826[190]]);0<_0x1b20x9?_0x1b20x4[_0x5826[190]]-=_0x1b20x9+2:(_0x1b20x9=_0x1b20x2[_0x5826[236]]+_0x1b20xa-_0x1b20x4[_0x5826[190]]-_0x1b20x4[_0x5826[157]],0<_0x1b20x9&&(_0x1b20x4[_0x5826[190]]+=_0x1b20x9+2));!this[_0x5826[2365]]&&(0!=_0x1b20x5||0!=_0x1b20x12)&&this[_0x5826[441]][_0x5826[1147]](_0x1b20x5,_0x1b20x12)}else {var _0x1b20x12=-this[_0x5826[441]][_0x5826[513]][_0x5826[235]],_0x1b20x13=-this[_0x5826[441]][_0x5826[513]][_0x5826[236]],_0x1b20x14=this[_0x5826[441]][_0x5826[255]];_0x1b20x2[_0x5826[235]]+_0x1b20x9>_0x1b20x12+_0x1b20x4&&(this[_0x5826[441]][_0x5826[513]][_0x5826[235]]-=(_0x1b20x2[_0x5826[235]]+_0x1b20x9-_0x1b20x4-_0x1b20x12)/_0x1b20x14,_0x1b20x3= !0);_0x1b20x2[_0x5826[236]]+_0x1b20xa>_0x1b20x13+_0x1b20x5&&(this[_0x5826[441]][_0x5826[513]][_0x5826[236]]-=(_0x1b20x2[_0x5826[236]]+_0x1b20xa-_0x1b20x5-_0x1b20x13)/_0x1b20x14,_0x1b20x3= !0);_0x1b20x2[_0x5826[235]]<_0x1b20x12&&(this[_0x5826[441]][_0x5826[513]][_0x5826[235]]+=(_0x1b20x12-_0x1b20x2[_0x5826[235]])/_0x1b20x14,_0x1b20x3= !0);_0x1b20x2[_0x5826[236]]<_0x1b20x13&&(this[_0x5826[441]][_0x5826[513]][_0x5826[236]]+=(_0x1b20x13-_0x1b20x2[_0x5826[236]])/_0x1b20x14,_0x1b20x3= !0);_0x1b20x3&&(this[_0x5826[441]][_0x5826[802]](),null!=this[_0x5826[2432]]&&this[_0x5826[2432]][_0x5826[802]]())}};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[1198]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1721]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1714]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[174]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1742]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1971]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2565]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1965]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2298]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2566]]];if(null!=_0x1b20x3){return _0x1b20x3};_0x1b20x2=this[_0x5826[441]][_0x5826[2291]](_0x1b20x2);return _0x1b20x2==mxEdgeStyle[_0x5826[2567]]||_0x1b20x2==mxEdgeStyle[_0x5826[2568]]||_0x1b20x2==mxEdgeStyle[_0x5826[2569]]||_0x1b20x2==mxEdgeStyle[_0x5826[2570]]||_0x1b20x2==mxEdgeStyle[_0x5826[2571]]||_0x1b20x2==mxEdgeStyle[_0x5826[2572]]};mxGraph[_0x5826[202]][_0x5826[2573]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[2089]](!0);_0x1b20x2=_0x1b20x2[_0x5826[2089]](!1);return null!=_0x1b20x3&&_0x1b20x3==_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2574]]=function(_0x1b20x2){return mxEvent[_0x5826[775]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2462]]=function(_0x1b20x2){return mxClient[_0x5826[2575]]?mxEvent[_0x5826[2576]](_0x1b20x2):mxEvent[_0x5826[775]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1018]]=function(_0x1b20x2){return null!=_0x1b20x2&&!mxEvent[_0x5826[2577]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2578]]=function(_0x1b20x2){return mxEvent[_0x5826[774]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2579]]=function(_0x1b20x2){return mxEvent[_0x5826[2577]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2580]]=function(_0x1b20x2){mxUtils[_0x5826[150]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2581]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null==this[_0x5826[2500]](_0x1b20x2,_0x1b20x3,_0x1b20x4)};mxGraph[_0x5826[202]][_0x5826[2500]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2&&!this[_0x5826[2530]]()&&(null==_0x1b20x3||null==_0x1b20x4)){return _0x5826[110]};if(null!=_0x1b20x2&&null==this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!0)&&null==this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!1)){return null};if(!this[_0x5826[2402]]&&_0x1b20x3==_0x1b20x4&&null!=_0x1b20x3||!this[_0x5826[2582]](_0x1b20x3,_0x1b20x4)){return _0x5826[110]};if(null!=_0x1b20x3&&null!=_0x1b20x4){var _0x1b20x5=_0x5826[110];if(!this[_0x5826[2404]]){var _0x1b20x9=this[_0x5826[251]][_0x5826[1781]](_0x1b20x3,_0x1b20x4,!0);if(1<_0x1b20x9[_0x5826[67]]||1==_0x1b20x9[_0x5826[67]]&&_0x1b20x9[0]!=_0x1b20x2){_0x1b20x5+=(mxResources[_0x5826[203]](this[_0x5826[2421]])||this[_0x5826[2421]])+_0x5826[192]}};var _0x1b20x9=this[_0x5826[251]][_0x5826[1962]](_0x1b20x3,!0,_0x1b20x2),_0x1b20xa=this[_0x5826[251]][_0x5826[1962]](_0x1b20x4,!1,_0x1b20x2);if(null!=this[_0x5826[2335]]){for(var _0x1b20x12=0;_0x1b20x12<this[_0x5826[2335]][_0x5826[67]];_0x1b20x12++){var _0x1b20x13=this[_0x5826[2335]][_0x1b20x12][_0x5826[2583]](this,_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x9,_0x1b20xa);null!=_0x1b20x13&&(_0x1b20x5+=_0x1b20x13)}};_0x1b20x13=this[_0x5826[2584]](_0x1b20x2,_0x1b20x3,_0x1b20x4);null!=_0x1b20x13&&(_0x1b20x5+=_0x1b20x13);return 0<_0x1b20x5[_0x5826[67]]?_0x1b20x5:null};return this[_0x5826[2406]]?null:_0x5826[110]};mxGraph[_0x5826[202]][_0x5826[2584]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null};mxGraph[_0x5826[202]][_0x5826[2585]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:this[_0x5826[251]][_0x5826[501]]();_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:{};for(var _0x1b20x4=!0,_0x1b20x5=this[_0x5826[251]][_0x5826[262]](_0x1b20x2),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x12=_0x1b20x3;this[_0x5826[2553]](_0x1b20xa)&&(_0x1b20x12={});_0x1b20x12=this[_0x5826[2585]](_0x1b20xa,_0x1b20x12);null!=_0x1b20x12?this[_0x5826[2447]](_0x1b20xa,_0x1b20x12[_0x5826[230]](/\n/g,_0x5826[545])):this[_0x5826[2447]](_0x1b20xa,null);_0x1b20x4=_0x1b20x4&&null==_0x1b20x12};_0x1b20x5=_0x5826[110];this[_0x5826[1742]](_0x1b20x2)&&!_0x1b20x4&&(_0x1b20x5+=(mxResources[_0x5826[203]](this[_0x5826[2423]])||this[_0x5826[2423]])+_0x5826[192]);_0x1b20x5=this[_0x5826[251]][_0x5826[250]](_0x1b20x2)?_0x1b20x5+(this[_0x5826[2500]](_0x1b20x2,this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!0),this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!1))||_0x5826[110]):_0x1b20x5+(this[_0x5826[2586]](_0x1b20x2)||_0x5826[110]);_0x1b20x9=this[_0x5826[2587]](_0x1b20x2,_0x1b20x3);null!=_0x1b20x9&&(_0x1b20x5+=_0x1b20x9);null==this[_0x5826[251]][_0x5826[1197]](_0x1b20x2)&&this[_0x5826[441]][_0x5826[2264]]();return 0<_0x1b20x5[_0x5826[67]]||!_0x1b20x4?_0x1b20x5:null};mxGraph[_0x5826[202]][_0x5826[2586]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[1962]](_0x1b20x2,!0),_0x1b20x4=this[_0x5826[251]][_0x5826[1962]](_0x1b20x2,!1);_0x1b20x2=this[_0x5826[251]][_0x5826[433]](_0x1b20x2);var _0x1b20x5=_0x5826[110];if(null!=this[_0x5826[2335]]){for(var _0x1b20x9=0;_0x1b20x9<this[_0x5826[2335]][_0x5826[67]];_0x1b20x9++){var _0x1b20xa=this[_0x5826[2335]][_0x1b20x9];if(_0x1b20xa[_0x5826[1097]]&&mxUtils[_0x5826[1331]](_0x1b20x2,_0x1b20xa[_0x5826[60]],_0x1b20xa[_0x5826[2588]],_0x1b20xa[_0x5826[131]])&&(0==_0x1b20xa[_0x5826[160]]&&0<_0x1b20x3||1==_0x1b20xa[_0x5826[243]]&&0==_0x1b20x3||1==_0x1b20xa[_0x5826[160]]&&1<_0x1b20x3)){_0x1b20x5+=_0x1b20xa[_0x5826[2589]]+_0x5826[192]}else {if(!_0x1b20xa[_0x5826[1097]]&&mxUtils[_0x5826[1331]](_0x1b20x2,_0x1b20xa[_0x5826[60]],_0x1b20xa[_0x5826[2588]],_0x1b20xa[_0x5826[131]])&&(0==_0x1b20xa[_0x5826[160]]&&0<_0x1b20x4||1==_0x1b20xa[_0x5826[243]]&&0==_0x1b20x4||1==_0x1b20xa[_0x5826[160]]&&1<_0x1b20x4)){_0x1b20x5+=_0x1b20xa[_0x5826[2589]]+_0x5826[192]}}}};return 0<_0x1b20x5[_0x5826[67]]?_0x1b20x5:null};mxGraph[_0x5826[202]][_0x5826[2587]]=function(_0x1b20x2,_0x1b20x3){return null};mxGraph[_0x5826[202]][_0x5826[2271]]=function(){return this[_0x5826[1617]]};mxGraph[_0x5826[202]][_0x5826[2590]]=function(_0x1b20x2){this[_0x5826[1617]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2205]]=function(_0x1b20x2){if(null!=_0x1b20x2&&this[_0x5826[2206]]&&!this[_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]])){var _0x1b20x3=this[_0x5826[1742]](_0x1b20x2[_0x5826[246]]);if(this[_0x5826[2516]](_0x1b20x2[_0x5826[246]],!_0x1b20x3)){return _0x1b20x3?this[_0x5826[2415]]:this[_0x5826[2417]]}};return null};mxGraph[_0x5826[202]][_0x5826[2454]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[251]][_0x5826[433]](_0x1b20x2);if(null!=_0x1b20x2){if(mxUtils[_0x5826[1331]](_0x1b20x2)){return _0x1b20x2[_0x5826[301]]};if(_0x5826[279]== typeof _0x1b20x2[_0x5826[2591]]){return _0x1b20x2.toString()}};return _0x5826[110]};mxGraph[_0x5826[202]][_0x5826[2183]]=function(_0x1b20x2){var _0x1b20x3=_0x5826[110];if(this[_0x5826[2409]]&&null!=_0x1b20x2){var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x4=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);mxUtils[_0x5826[433]](_0x1b20x4,mxConstants.STYLE_NOLABEL,!1)||(_0x1b20x3=this[_0x5826[2454]](_0x1b20x2))};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[2186]]=function(_0x1b20x2){return this[_0x5826[2592]]()};mxGraph[_0x5826[202]][_0x5826[2592]]=function(){return this[_0x5826[2410]]};mxGraph[_0x5826[202]][_0x5826[2593]]=function(_0x1b20x2){this[_0x5826[2410]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2131]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return null!=_0x1b20x2?_0x5826[1333]==_0x1b20x2[mxConstants[_0x5826[2594]]]:!1};mxGraph[_0x5826[202]][_0x5826[2130]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return null!=_0x1b20x2?_0x5826[188]==_0x1b20x2[mxConstants[_0x5826[2193]]]:!1};mxGraph[_0x5826[202]][_0x5826[2595]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;if(null!=_0x1b20x2){if(null!=_0x1b20x2[_0x5826[2207]]&&(_0x1b20x3==_0x1b20x2[_0x5826[2207]][_0x5826[252]]||_0x1b20x3[_0x5826[265]]==_0x1b20x2[_0x5826[2207]][_0x5826[252]])){_0x1b20x9=this[_0x5826[2425]],_0x1b20x9=mxResources[_0x5826[203]](_0x1b20x9)||_0x1b20x9};null==_0x1b20x9&&null!=_0x1b20x2[_0x5826[1211]]&&_0x1b20x2[_0x5826[1211]][_0x5826[209]](function(_0x1b20x2,_0x1b20x4){if(null==_0x1b20x9&&(_0x1b20x3==_0x1b20x4[_0x5826[252]]||_0x1b20x3[_0x5826[265]]==_0x1b20x4[_0x5826[252]])){_0x1b20x9=_0x1b20x4[_0x5826[2201]].toString()}});null==_0x1b20x9&&(_0x1b20x4=this[_0x5826[2432]][_0x5826[2596]](_0x1b20x2[_0x5826[246]]),null!=_0x1b20x4&&_0x5826[279]== typeof _0x1b20x4[_0x5826[2597]]&&(_0x1b20x9=_0x1b20x4[_0x5826[2597]](_0x1b20x3)));null==_0x1b20x9&&(_0x1b20x9=this[_0x5826[2598]](_0x1b20x2[_0x5826[246]]))};return _0x1b20x9};mxGraph[_0x5826[202]][_0x5826[2598]]=function(_0x1b20x2){var _0x1b20x3=null;return _0x1b20x3=null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[2595]]?_0x1b20x2[_0x5826[2595]]():this[_0x5826[2454]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2599]]=function(_0x1b20x2){return null};mxGraph[_0x5826[202]][_0x5826[1731]]=function(_0x1b20x2){var _0x1b20x3= new mxRectangle,_0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);null!=_0x1b20x2&&(_0x1b20x4=parseInt(mxUtils[_0x5826[433]](_0x1b20x2,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils[_0x5826[433]](_0x1b20x2,mxConstants.STYLE_HORIZONTAL,!0)?_0x1b20x3[_0x5826[119]]=_0x1b20x4:_0x1b20x3[_0x5826[117]]=_0x1b20x4);return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[1202]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2484]]]:null};mxGraph[_0x5826[202]][_0x5826[2187]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2063]]]||mxConstants[_0x5826[481]]:null};mxGraph[_0x5826[202]][_0x5826[2173]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2600]]]:null};mxGraph[_0x5826[202]][_0x5826[2174]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2601]]]:null};mxGraph[_0x5826[202]][_0x5826[2172]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2602]]]:null};mxGraph[_0x5826[202]][_0x5826[2176]]=function(_0x1b20x2){return null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[124]]?_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2603]]]:null};mxGraph[_0x5826[202]][_0x5826[2476]]=function(){return this[_0x5826[467]]};mxGraph[_0x5826[202]][_0x5826[2604]]=function(_0x1b20x2){this[_0x5826[467]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[1730]]=function(_0x1b20x2){if(null!=_0x1b20x2&&this[_0x5826[251]][_0x5826[1197]](_0x1b20x2)!=this[_0x5826[251]][_0x5826[501]]()){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);if(null!=_0x1b20x3&&!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)){return _0x1b20x3[mxConstants[_0x5826[2059]]]==mxConstants[_0x5826[2605]]}};return !1};mxGraph[_0x5826[202]][_0x5826[2606]]=function(){return this[_0x5826[2389]]};mxGraph[_0x5826[202]][_0x5826[2607]]=function(_0x1b20x2){this[_0x5826[2389]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxGraph[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2608]]=function(){return this[_0x5826[2362]]};mxGraph[_0x5826[202]][_0x5826[2609]]=function(_0x1b20x2){this[_0x5826[2362]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2134]]=function(){return this[_0x5826[2363]]};mxGraph[_0x5826[202]][_0x5826[2610]]=function(_0x1b20x2){this[_0x5826[2363]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2125]]=function(){return this[_0x5826[2364]]};mxGraph[_0x5826[202]][_0x5826[2611]]=function(_0x1b20x2){this[_0x5826[2364]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2612]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[251]][_0x5826[1721]](_0x1b20x2);return this[_0x5826[2613]]()||null!=_0x1b20x3&&this[_0x5826[251]][_0x5826[1193]](_0x1b20x2)&&_0x1b20x3[_0x5826[1500]]};mxGraph[_0x5826[202]][_0x5826[2613]]=function(){return this[_0x5826[2368]]};mxGraph[_0x5826[202]][_0x5826[2614]]=function(_0x1b20x2){this[_0x5826[2368]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2615]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[2616]](_0x1b20x2)}))};mxGraph[_0x5826[202]][_0x5826[2616]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2617]]()&&0!=_0x1b20x2[mxConstants[_0x5826[2618]]]};mxGraph[_0x5826[202]][_0x5826[2617]]=function(){return this[_0x5826[2369]]};mxGraph[_0x5826[202]][_0x5826[2619]]=function(_0x1b20x2){this[_0x5826[2369]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[898]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[2620]](_0x1b20x2)}))};mxGraph[_0x5826[202]][_0x5826[2620]]=function(_0x1b20x2){return this[_0x5826[2366]]};mxGraph[_0x5826[202]][_0x5826[900]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[2621]](_0x1b20x2)}))};mxGraph[_0x5826[202]][_0x5826[2621]]=function(_0x1b20x2){return this[_0x5826[2367]]};mxGraph[_0x5826[202]][_0x5826[2102]]=function(_0x1b20x2){return this[_0x5826[2622]]()};mxGraph[_0x5826[202]][_0x5826[2622]]=function(){return this[_0x5826[2379]]};mxGraph[_0x5826[202]][_0x5826[2623]]=function(_0x1b20x2){this[_0x5826[2379]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2510]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[2624]](_0x1b20x2)}))};mxGraph[_0x5826[202]][_0x5826[2624]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2625]]()&&0!=_0x1b20x2[mxConstants[_0x5826[2626]]]};mxGraph[_0x5826[202]][_0x5826[2625]]=function(){return this[_0x5826[2371]]};mxGraph[_0x5826[202]][_0x5826[2627]]=function(_0x1b20x2){this[_0x5826[2371]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2628]]=function(_0x1b20x2){return !this[_0x5826[2612]](_0x1b20x2)&&(this[_0x5826[251]][_0x5826[250]](_0x1b20x2)&&this[_0x5826[2373]]||this[_0x5826[251]][_0x5826[1193]](_0x1b20x2)&&this[_0x5826[2374]])};mxGraph[_0x5826[202]][_0x5826[2629]]=function(_0x1b20x2){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[1712]](_0x1b20x2)}))};mxGraph[_0x5826[202]][_0x5826[1712]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2630]]()&&!this[_0x5826[2612]](_0x1b20x2)&&0!=_0x1b20x3[mxConstants[_0x5826[2631]]]};mxGraph[_0x5826[202]][_0x5826[2630]]=function(){return this[_0x5826[2372]]};mxGraph[_0x5826[202]][_0x5826[2632]]=function(_0x1b20x2){this[_0x5826[2372]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[997]]=function(){return this[_0x5826[991]]};mxGraph[_0x5826[202]][_0x5826[998]]=function(_0x1b20x2){this[_0x5826[991]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2549]]=function(){return this[_0x5826[2348]]};mxGraph[_0x5826[202]][_0x5826[2633]]=function(_0x1b20x2){this[_0x5826[2348]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2634]]=function(){return this[_0x5826[1020]]};mxGraph[_0x5826[202]][_0x5826[2635]]=function(_0x1b20x2){this[_0x5826[1020]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2636]]=function(){return this[_0x5826[2353]]};mxGraph[_0x5826[202]][_0x5826[2637]]=function(_0x1b20x2){this[_0x5826[2353]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2638]]=function(){return this[_0x5826[2374]]};mxGraph[_0x5826[202]][_0x5826[2639]]=function(_0x1b20x2){this[_0x5826[2374]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2640]]=function(){return this[_0x5826[2373]]};mxGraph[_0x5826[202]][_0x5826[2641]]=function(_0x1b20x2){this[_0x5826[2373]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2642]]=function(){return this[_0x5826[2412]]};mxGraph[_0x5826[202]][_0x5826[2643]]=function(_0x1b20x2){this[_0x5826[2412]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2460]]=function(){return this[_0x5826[2411]]};mxGraph[_0x5826[202]][_0x5826[2644]]=function(_0x1b20x2){this[_0x5826[2411]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2645]]=function(){return this[_0x5826[2404]]};mxGraph[_0x5826[202]][_0x5826[2646]]=function(_0x1b20x2){this[_0x5826[2404]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2647]]=function(){return this[_0x5826[2402]]};mxGraph[_0x5826[202]][_0x5826[2648]]=function(_0x1b20x2){this[_0x5826[2406]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2530]]=function(){return this[_0x5826[2406]]};mxGraph[_0x5826[202]][_0x5826[2649]]=function(_0x1b20x2){this[_0x5826[2405]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2650]]=function(){return this[_0x5826[2405]]};mxGraph[_0x5826[202]][_0x5826[2651]]=function(_0x1b20x2){this[_0x5826[2407]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2527]]=function(){return this[_0x5826[2407]]};mxGraph[_0x5826[202]][_0x5826[2652]]=function(_0x1b20x2){this[_0x5826[2402]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2529]]=function(){return this[_0x5826[2408]]};mxGraph[_0x5826[202]][_0x5826[2653]]=function(_0x1b20x2){this[_0x5826[2408]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[1015]]=function(){return this[_0x5826[2375]]};mxGraph[_0x5826[202]][_0x5826[2654]]=function(_0x1b20x2){this[_0x5826[2375]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2655]]=function(){return this[_0x5826[2376]]};mxGraph[_0x5826[202]][_0x5826[2656]]=function(_0x1b20x2){this[_0x5826[2376]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2657]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2658]]()&&!this[_0x5826[2612]](_0x1b20x2)&&0!=_0x1b20x3[mxConstants[_0x5826[2659]]]};mxGraph[_0x5826[202]][_0x5826[2658]]=function(){return this[_0x5826[2377]]};mxGraph[_0x5826[202]][_0x5826[2660]]=function(_0x1b20x2){this[_0x5826[2377]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2661]]=function(_0x1b20x2,_0x1b20x3){return !0};mxGraph[_0x5826[202]][_0x5826[2662]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2663]]()&&!this[_0x5826[2612]](_0x1b20x2)&&0!=_0x1b20x3[mxConstants[_0x5826[2664]]]};mxGraph[_0x5826[202]][_0x5826[2663]]=function(){return this[_0x5826[2378]]};mxGraph[_0x5826[202]][_0x5826[2665]]=function(_0x1b20x2){this[_0x5826[2378]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2453]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x3=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2666]]()&&!this[_0x5826[2612]](_0x1b20x2)&&0!=_0x1b20x3[mxConstants[_0x5826[2667]]]};mxGraph[_0x5826[202]][_0x5826[2666]]=function(){return this[_0x5826[2370]]};mxGraph[_0x5826[202]][_0x5826[2668]]=function(_0x1b20x2){this[_0x5826[2370]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2551]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return this[_0x5826[2669]]()&&!this[_0x5826[2612]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2669]]=function(){return this[_0x5826[2380]]};mxGraph[_0x5826[202]][_0x5826[2670]]=function(_0x1b20x2){this[_0x5826[2380]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2671]]=function(_0x1b20x2){return null==_0x1b20x2&&this[_0x5826[2406]]||null!=_0x1b20x2&&(!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)||this[_0x5826[2405]])&&this[_0x5826[2565]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2672]]=function(_0x1b20x2){return this[_0x5826[2671]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2582]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[2671]](_0x1b20x2)&&this[_0x5826[2672]](_0x1b20x3)};mxGraph[_0x5826[202]][_0x5826[1995]]=function(_0x1b20x2){this[_0x5826[2433]][_0x5826[995]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1965]]=function(_0x1b20x2){return this[_0x5826[2433]][_0x5826[994]]()};mxGraph[_0x5826[202]][_0x5826[2673]]=function(_0x1b20x2){this[_0x5826[2276]][_0x5826[995]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2674]]=function(_0x1b20x2){this[_0x5826[2316]][_0x5826[2431]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2203]]=function(_0x1b20x2){if(null!=this[_0x5826[2347]]){var _0x1b20x3=this[_0x5826[2347]][_0x5826[2148]]();return null==_0x1b20x2?null!=_0x1b20x3:_0x1b20x2==_0x1b20x3};return !1};mxGraph[_0x5826[202]][_0x5826[2455]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return this[_0x5826[2675]]()||1==_0x1b20x2[mxConstants[_0x5826[2676]]]};mxGraph[_0x5826[202]][_0x5826[2675]]=function(){return this[_0x5826[2381]]};mxGraph[_0x5826[202]][_0x5826[2677]]=function(_0x1b20x2){this[_0x5826[2381]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2507]]=function(_0x1b20x2){return !this[_0x5826[502]]()[_0x5826[250]](_0x1b20x2)&&this[_0x5826[2678]]()};mxGraph[_0x5826[202]][_0x5826[2678]]=function(){return this[_0x5826[2392]]};mxGraph[_0x5826[202]][_0x5826[2679]]=function(_0x1b20x2){this[_0x5826[2392]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2506]]=function(){return this[_0x5826[2393]]};mxGraph[_0x5826[202]][_0x5826[2680]]=function(_0x1b20x2){this[_0x5826[2393]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2536]]=function(_0x1b20x2){return this[_0x5826[2681]]()&&!this[_0x5826[502]]()[_0x5826[250]](this[_0x5826[502]]()[_0x5826[1197]](_0x1b20x2))};mxGraph[_0x5826[202]][_0x5826[2681]]=function(){return this[_0x5826[2391]]};mxGraph[_0x5826[202]][_0x5826[2682]]=function(_0x1b20x2){this[_0x5826[2391]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2505]]=function(){return this[_0x5826[2390]]};mxGraph[_0x5826[202]][_0x5826[2528]]=function(_0x1b20x2){this[_0x5826[2390]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2537]]=function(_0x1b20x2){return this[_0x5826[2683]](_0x1b20x2)?this[_0x5826[2354]]:0};mxGraph[_0x5826[202]][_0x5826[2683]]=function(_0x1b20x2){return !1};mxGraph[_0x5826[202]][_0x5826[2513]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[251]][_0x5826[1938]](_0x1b20x2,mxUtils[_0x5826[885]](this,function(_0x1b20x2){return this[_0x5826[2516]](_0x1b20x2,_0x1b20x3)}))};mxGraph[_0x5826[202]][_0x5826[2516]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[441]][_0x5826[248]](_0x1b20x2),_0x1b20x4=null!=_0x1b20x4?_0x1b20x4[_0x5826[124]]:this[_0x5826[1705]](_0x1b20x2);return 0<this[_0x5826[251]][_0x5826[262]](_0x1b20x2)&&0!=_0x1b20x4[mxConstants[_0x5826[2684]]]};mxGraph[_0x5826[202]][_0x5826[2685]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null!=_0x1b20x2&&(this[_0x5826[2655]]()&&this[_0x5826[2686]](_0x1b20x2,_0x1b20x3,_0x1b20x4)||!this[_0x5826[251]][_0x5826[250]](_0x1b20x2)&&(this[_0x5826[1730]](_0x1b20x2)||0<this[_0x5826[251]][_0x5826[262]](_0x1b20x2)&&!this[_0x5826[1742]](_0x1b20x2)))};mxGraph[_0x5826[202]][_0x5826[2686]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return this[_0x5826[251]][_0x5826[250]](_0x1b20x2)&&null!=_0x1b20x3&&1==_0x1b20x3[_0x5826[67]]&&this[_0x5826[2565]](_0x1b20x3[0])&&null==this[_0x5826[2500]](_0x1b20x2,this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!0),_0x1b20x3[0])?(_0x1b20x4=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!0),_0x1b20x2=this[_0x5826[251]][_0x5826[1709]](_0x1b20x2,!1),!this[_0x5826[251]][_0x5826[1720]](_0x1b20x3[0],_0x1b20x4)&&!this[_0x5826[251]][_0x5826[1720]](_0x1b20x3[0],_0x1b20x2)):!1};mxGraph[_0x5826[202]][_0x5826[564]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(!this[_0x5826[2642]]()){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){if(this[_0x5826[1730]](_0x1b20x2[_0x1b20x5])){return null}}};_0x1b20x5=mxUtils[_0x5826[2196]](this[_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x3),mxEvent[_0x5826[733]](_0x1b20x3));_0x1b20x5[_0x5826[235]]-=this[_0x5826[1136]];_0x1b20x5[_0x5826[236]]-=this[_0x5826[1137]];_0x1b20x5=this[_0x5826[2461]](_0x1b20x5[_0x5826[235]],_0x1b20x5[_0x5826[236]]);if(null==_0x1b20x4){_0x1b20x4=_0x1b20x5}else {if(null!=_0x1b20x5){for(var _0x1b20x9=this[_0x5826[251]][_0x5826[1197]](_0x1b20x5);null!=_0x1b20x9&&this[_0x5826[1730]](_0x1b20x9)&&_0x1b20x9!=_0x1b20x4;){_0x1b20x9=this[_0x5826[251]][_0x5826[1197]](_0x1b20x9)};_0x1b20x9==_0x1b20x4&&(_0x1b20x4=_0x1b20x5)}};for(;null!=_0x1b20x4&&!this[_0x5826[2685]](_0x1b20x4,_0x1b20x2,_0x1b20x3)&&!this[_0x5826[251]][_0x5826[1740]](_0x1b20x4);){_0x1b20x4=this[_0x5826[251]][_0x5826[1197]](_0x1b20x4)};return !this[_0x5826[251]][_0x5826[1740]](_0x1b20x4)&&0>mxUtils[_0x5826[2]](_0x1b20x2,_0x1b20x4)?_0x1b20x4:null};mxGraph[_0x5826[202]][_0x5826[902]]=function(){var _0x1b20x2=this[_0x5826[2355]];null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[2534]](),null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[251]][_0x5826[501]](),_0x1b20x2=this[_0x5826[251]][_0x5826[263]](_0x1b20x2,0)));return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2687]]=function(_0x1b20x2){this[_0x5826[2355]]=_0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2179]]=function(_0x1b20x2){for(;null!=_0x1b20x2&&!this[_0x5826[1730]](_0x1b20x2);){_0x1b20x2=this[_0x5826[251]][_0x5826[1197]](_0x1b20x2)};return _0x1b20x2};mxGraph[_0x5826[202]][_0x5826[2461]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=_0x1b20x4||this[_0x5826[902]]();if(null!=_0x1b20x4){for(var _0x1b20x5=this[_0x5826[251]][_0x5826[262]](_0x1b20x4),_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){var _0x1b20xa=this[_0x5826[251]][_0x5826[263]](_0x1b20x4,_0x1b20x9),_0x1b20x12=this[_0x5826[2461]](_0x1b20x2,_0x1b20x3,_0x1b20xa);if(null!=_0x1b20x12){return _0x1b20x12};if(this[_0x5826[1730]](_0x1b20xa)&&(_0x1b20x12=this[_0x5826[441]][_0x5826[248]](_0x1b20xa),this[_0x5826[1825]](_0x1b20x12,_0x1b20x2,_0x1b20x3))){return _0x1b20xa}}};return null};mxGraph[_0x5826[202]][_0x5826[999]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:!0;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:this[_0x5826[902]]();if(null!=_0x1b20x4){for(var _0x1b20xa=this[_0x5826[251]][_0x5826[262]](_0x1b20x4)-1;0<=_0x1b20xa;_0x1b20xa--){var _0x1b20x12=this[_0x5826[251]][_0x5826[263]](_0x1b20x4,_0x1b20xa),_0x1b20x13=this[_0x5826[999]](_0x1b20x2,_0x1b20x3,_0x1b20x12,_0x1b20x5,_0x1b20x9);if(null!=_0x1b20x13){return _0x1b20x13};if(this[_0x5826[1714]](_0x1b20x12)&&(_0x1b20x9&&this[_0x5826[251]][_0x5826[250]](_0x1b20x12)||_0x1b20x5&&this[_0x5826[251]][_0x5826[1193]](_0x1b20x12))){if(_0x1b20x13=this[_0x5826[441]][_0x5826[248]](_0x1b20x12),this[_0x5826[1825]](_0x1b20x13,_0x1b20x2,_0x1b20x3)){return _0x1b20x12}}}};return null};mxGraph[_0x5826[202]][_0x5826[1825]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2){var _0x1b20x5=_0x1b20x2[_0x5826[439]];if(null!=_0x1b20x5){_0x1b20x2=this[_0x5826[2353]]*this[_0x5826[2353]];for(var _0x1b20x9=_0x1b20x5[0],_0x1b20xa=1;_0x1b20xa<_0x1b20x5[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x5[_0x1b20xa];if(mxUtils[_0x5826[440]](_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]],_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x3,_0x1b20x4)<=_0x1b20x2){return !0};_0x1b20x9=_0x1b20x12}}else {if(_0x1b20x9=mxUtils[_0x5826[431]](mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION)||0),0!=_0x1b20x9&&(_0x1b20x5=Math[_0x5826[426]](-_0x1b20x9),_0x1b20x9=Math[_0x5826[427]](-_0x1b20x9),_0x1b20xa= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]()),_0x1b20x9=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x3,_0x1b20x4),_0x1b20x5,_0x1b20x9,_0x1b20xa),_0x1b20x3=_0x1b20x9[_0x5826[235]],_0x1b20x4=_0x1b20x9[_0x5826[236]]),mxUtils[_0x5826[442]](_0x1b20x2,_0x1b20x3,_0x1b20x4)){return !0}}};return !1};mxGraph[_0x5826[202]][_0x5826[2688]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[249]]()[_0x5826[248]](_0x1b20x2);_0x1b20x2=this[_0x5826[1731]](_0x1b20x2);if(null!=_0x1b20x5){var _0x1b20x9=this[_0x5826[249]]()[_0x5826[518]]();_0x1b20x3-=_0x1b20x5[_0x5826[235]];_0x1b20x4-=_0x1b20x5[_0x5826[236]];if(0<_0x1b20x2[_0x5826[117]]&&0<_0x1b20x3&&_0x1b20x3>_0x1b20x2[_0x5826[117]]*_0x1b20x9||0<_0x1b20x2[_0x5826[119]]&&0<_0x1b20x4&&_0x1b20x4>_0x1b20x2[_0x5826[119]]*_0x1b20x9){return !0}};return !1};mxGraph[_0x5826[202]][_0x5826[1728]]=function(_0x1b20x2){return this[_0x5826[1955]](_0x1b20x2,!0,!1)};mxGraph[_0x5826[202]][_0x5826[1956]]=function(_0x1b20x2){return this[_0x5826[1955]](_0x1b20x2,!1,!0)};mxGraph[_0x5826[202]][_0x5826[1955]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:this[_0x5826[902]]();_0x1b20x2=this[_0x5826[251]][_0x5826[1955]](_0x1b20x2,null!=_0x1b20x3?_0x1b20x3:!1,null!=_0x1b20x4?_0x1b20x4:!1);_0x1b20x3=[];for(_0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){this[_0x5826[1714]](_0x1b20x2[_0x1b20x4])&&_0x1b20x3[_0x5826[207]](_0x1b20x2[_0x1b20x4])};return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[1756]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[264]](_0x1b20x2,_0x1b20x3,!0,!0,!1)};mxGraph[_0x5826[202]][_0x5826[1867]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[264]](_0x1b20x2,_0x1b20x3,!0,!1,!1)};mxGraph[_0x5826[202]][_0x5826[1963]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[264]](_0x1b20x2,_0x1b20x3,!1,!0,!1)};mxGraph[_0x5826[202]][_0x5826[264]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:!0;_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:!1;for(var _0x1b20x12=[],_0x1b20x13=this[_0x5826[1742]](_0x1b20x2),_0x1b20x14=this[_0x5826[251]][_0x5826[262]](_0x1b20x2),_0x1b20x15=0;_0x1b20x15<_0x1b20x14;_0x1b20x15++){var _0x1b20x16=this[_0x5826[251]][_0x5826[263]](_0x1b20x2,_0x1b20x15);if(_0x1b20x13||!this[_0x5826[1714]](_0x1b20x16)){_0x1b20x12=_0x1b20x12[_0x5826[1919]](this[_0x5826[251]][_0x5826[264]](_0x1b20x16,_0x1b20x4,_0x1b20x5))}};_0x1b20x12=_0x1b20x12[_0x5826[1919]](this[_0x5826[251]][_0x5826[264]](_0x1b20x2,_0x1b20x4,_0x1b20x5));_0x1b20x13=[];for(_0x1b20x15=0;_0x1b20x15<_0x1b20x12[_0x5826[67]];_0x1b20x15++){_0x1b20x16=this[_0x5826[441]][_0x5826[248]](_0x1b20x12[_0x1b20x15]),_0x1b20x14=null!=_0x1b20x16?_0x1b20x16[_0x5826[1710]](!0):this[_0x5826[441]][_0x5826[1710]](_0x1b20x12[_0x1b20x15],!0),_0x1b20x16=null!=_0x1b20x16?_0x1b20x16[_0x5826[1710]](!1):this[_0x5826[441]][_0x5826[1710]](_0x1b20x12[_0x1b20x15],!1),(_0x1b20x9&&_0x1b20x14==_0x1b20x16||_0x1b20x14!=_0x1b20x16&&(_0x1b20x4&&_0x1b20x16==_0x1b20x2&&(null==_0x1b20x3||this[_0x5826[1920]](_0x1b20x14,_0x1b20x3,_0x1b20xa))||_0x1b20x5&&_0x1b20x14==_0x1b20x2&&(null==_0x1b20x3||this[_0x5826[1920]](_0x1b20x16,_0x1b20x3,_0x1b20xa))))&&_0x1b20x13[_0x5826[207]](_0x1b20x12[_0x1b20x15])};return _0x1b20x13};mxGraph[_0x5826[202]][_0x5826[1920]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x4?this[_0x5826[251]][_0x5826[1720]](_0x1b20x3,_0x1b20x2):this[_0x5826[251]][_0x5826[1197]](_0x1b20x2)==_0x1b20x3};mxGraph[_0x5826[202]][_0x5826[1808]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!0;_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;var _0x1b20x9=[],_0x1b20xa={};if(null!=_0x1b20x2){for(var _0x1b20x12=0;_0x1b20x12<_0x1b20x2[_0x5826[67]];_0x1b20x12++){var _0x1b20x13=this[_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x1b20x12]),_0x1b20x14=null!=_0x1b20x13?_0x1b20x13[_0x5826[1710]](!0):this[_0x5826[441]][_0x5826[1710]](_0x1b20x2[_0x1b20x12],!0),_0x1b20x13=null!=_0x1b20x13?_0x1b20x13[_0x5826[1710]](!1):this[_0x5826[441]][_0x5826[1710]](_0x1b20x2[_0x1b20x12],!1);if(_0x1b20x14==_0x1b20x3&&null!=_0x1b20x13&&_0x1b20x13!=_0x1b20x3&&_0x1b20x5){var _0x1b20x15=mxCellPath[_0x5826[385]](_0x1b20x13);null==_0x1b20xa[_0x1b20x15]&&(_0x1b20xa[_0x1b20x15]=_0x1b20x13,_0x1b20x9[_0x5826[207]](_0x1b20x13))}else {_0x1b20x13==_0x1b20x3&&(null!=_0x1b20x14&&_0x1b20x14!=_0x1b20x3&&_0x1b20x4)&&(_0x1b20x15=mxCellPath[_0x5826[385]](_0x1b20x14),null==_0x1b20xa[_0x1b20x15]&&(_0x1b20xa[_0x1b20x15]=_0x1b20x14,_0x1b20x9[_0x5826[207]](_0x1b20x14)))}}};return _0x1b20x9};mxGraph[_0x5826[202]][_0x5826[1781]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;for(var _0x1b20x5=this[_0x5826[264]](_0x1b20x2),_0x1b20x9=[],_0x1b20xa=0;_0x1b20xa<_0x1b20x5[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=this[_0x5826[441]][_0x5826[248]](_0x1b20x5[_0x1b20xa]),_0x1b20x13=null!=_0x1b20x12?_0x1b20x12[_0x5826[1710]](!0):this[_0x5826[441]][_0x5826[1710]](_0x1b20x5[_0x1b20xa],!0),_0x1b20x12=null!=_0x1b20x12?_0x1b20x12[_0x5826[1710]](!1):this[_0x5826[441]][_0x5826[1710]](_0x1b20x5[_0x1b20xa],!1);(_0x1b20x13==_0x1b20x2&&_0x1b20x12==_0x1b20x3||!_0x1b20x4&&_0x1b20x13==_0x1b20x3&&_0x1b20x12==_0x1b20x2)&&_0x1b20x9[_0x5826[207]](_0x1b20x5[_0x1b20xa])};return _0x1b20x9};mxGraph[_0x5826[202]][_0x5826[2689]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxUtils[_0x5826[2196]](this[_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x2),mxEvent[_0x5826[733]](_0x1b20x2)),_0x1b20x5=this[_0x5826[441]][_0x5826[255]],_0x1b20x9=this[_0x5826[441]][_0x5826[513]],_0x1b20xa=!1!=_0x1b20x3?this[_0x5826[1020]]/2:0;_0x1b20x4[_0x5826[235]]=this[_0x5826[1021]](_0x1b20x4[_0x5826[235]]/_0x1b20x5-_0x1b20x9[_0x5826[235]]-_0x1b20xa);_0x1b20x4[_0x5826[236]]=this[_0x5826[1021]](_0x1b20x4[_0x5826[236]]/_0x1b20x5-_0x1b20x9[_0x5826[236]]-_0x1b20xa);return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[2690]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20xa=null!=_0x1b20xa?_0x1b20xa:[];if(0<_0x1b20x4||0<_0x1b20x5){var _0x1b20x12=_0x1b20x2+_0x1b20x4,_0x1b20x13=_0x1b20x3+_0x1b20x5;_0x1b20x9=_0x1b20x9||this[_0x5826[902]]();if(null!=_0x1b20x9){for(var _0x1b20x14=this[_0x5826[251]][_0x5826[262]](_0x1b20x9),_0x1b20x15=0;_0x1b20x15<_0x1b20x14;_0x1b20x15++){var _0x1b20x16=this[_0x5826[251]][_0x5826[263]](_0x1b20x9,_0x1b20x15),_0x1b20x17=this[_0x5826[441]][_0x5826[248]](_0x1b20x16);if(this[_0x5826[1714]](_0x1b20x16)&&null!=_0x1b20x17){var _0x1b20x18=_0x1b20x17,_0x1b20x17=mxUtils[_0x5826[433]](_0x1b20x17[_0x5826[124]],mxConstants.STYLE_ROTATION)||0;0!=_0x1b20x17&&(_0x1b20x18=mxUtils[_0x5826[1613]](_0x1b20x18,_0x1b20x17));_0x1b20x18[_0x5826[235]]>=_0x1b20x2&&_0x1b20x18[_0x5826[236]]+_0x1b20x18[_0x5826[119]]<=_0x1b20x13&&_0x1b20x18[_0x5826[236]]>=_0x1b20x3&&_0x1b20x18[_0x5826[235]]+_0x1b20x18[_0x5826[117]]<=_0x1b20x12?_0x1b20xa[_0x5826[207]](_0x1b20x16):this[_0x5826[2690]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x16,_0x1b20xa)}}}};return _0x1b20xa};mxGraph[_0x5826[202]][_0x5826[2691]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=[];if(_0x1b20x5||_0x1b20x9){if(null==_0x1b20x4&&(_0x1b20x4=this[_0x5826[902]]()),null!=_0x1b20x4){for(var _0x1b20x12=this[_0x5826[251]][_0x5826[262]](_0x1b20x4),_0x1b20x13=0;_0x1b20x13<_0x1b20x12;_0x1b20x13++){var _0x1b20x14=this[_0x5826[251]][_0x5826[263]](_0x1b20x4,_0x1b20x13),_0x1b20x15=this[_0x5826[441]][_0x5826[248]](_0x1b20x14);this[_0x5826[1714]](_0x1b20x14)&&null!=_0x1b20x15&&(!_0x1b20x5||_0x1b20x15[_0x5826[235]]>=_0x1b20x2)&&(!_0x1b20x9||_0x1b20x15[_0x5826[236]]>=_0x1b20x3)&&_0x1b20xa[_0x5826[207]](_0x1b20x14)}}};return _0x1b20xa};mxGraph[_0x5826[202]][_0x5826[1757]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!1;_0x1b20x4=null!=_0x1b20x4?_0x1b20x4:!1;var _0x1b20x5=[];if(null!=_0x1b20x2){for(var _0x1b20x9=this[_0x5826[502]](),_0x1b20xa=_0x1b20x9[_0x5826[262]](_0x1b20x2),_0x1b20x12=null,_0x1b20x13=0,_0x1b20x14=0;_0x1b20x14<_0x1b20xa;_0x1b20x14++){var _0x1b20x15=_0x1b20x9[_0x5826[263]](_0x1b20x2,_0x1b20x14);if(this[_0x5826[251]][_0x5826[1193]](_0x1b20x15)&&this[_0x5826[1714]](_0x1b20x15)){for(var _0x1b20x16=this[_0x5826[1756]](_0x1b20x15,_0x1b20x3?_0x1b20x2:null),_0x1b20x17=0,_0x1b20x18=0,_0x1b20x19=0;_0x1b20x19<_0x1b20x16[_0x5826[67]];_0x1b20x19++){this[_0x5826[441]][_0x5826[1710]](_0x1b20x16[_0x1b20x19],!0)==_0x1b20x15?_0x1b20x17++:_0x1b20x18++};(_0x1b20x4&&0==_0x1b20x17&&0<_0x1b20x18||!_0x1b20x4&&0==_0x1b20x18&&0<_0x1b20x17)&&_0x1b20x5[_0x5826[207]](_0x1b20x15);_0x1b20x16=_0x1b20x4?_0x1b20x18-_0x1b20x17:_0x1b20x17-_0x1b20x18;_0x1b20x16>_0x1b20x13&&(_0x1b20x13=_0x1b20x16,_0x1b20x12=_0x1b20x15)}};0==_0x1b20x5[_0x5826[67]]&&null!=_0x1b20x12&&_0x1b20x5[_0x5826[207]](_0x1b20x12)};return _0x1b20x5};mxGraph[_0x5826[202]][_0x5826[1706]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x4&&null!=_0x1b20x2){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;_0x1b20x9=_0x1b20x9||[];var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2);if(null==_0x1b20x9[_0x1b20xa]&&(_0x1b20x9[_0x1b20xa]=_0x1b20x2,_0x1b20x5=_0x1b20x4(_0x1b20x2,_0x1b20x5),null==_0x1b20x5||_0x1b20x5)){if(_0x1b20x5=this[_0x5826[251]][_0x5826[1707]](_0x1b20x2),0<_0x1b20x5){for(_0x1b20xa=0;_0x1b20xa<_0x1b20x5;_0x1b20xa++){var _0x1b20x12=this[_0x5826[251]][_0x5826[1708]](_0x1b20x2,_0x1b20xa),_0x1b20x13=this[_0x5826[251]][_0x5826[1709]](_0x1b20x12,!0)==_0x1b20x2;if(!_0x1b20x3||_0x1b20x13){_0x1b20x13=this[_0x5826[251]][_0x5826[1709]](_0x1b20x12,!_0x1b20x13),this[_0x5826[1706]](_0x1b20x13,_0x1b20x3,_0x1b20x4,_0x1b20x12,_0x1b20x9)}}}}}};mxGraph[_0x5826[202]][_0x5826[2692]]=function(_0x1b20x2){return this[_0x5826[2435]]()[_0x5826[2097]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2693]]=function(){return this[_0x5826[2435]]()[_0x5826[1107]]()};mxGraph[_0x5826[202]][_0x5826[2440]]=function(){return this[_0x5826[2435]]()[_0x5826[200]]()};mxGraph[_0x5826[202]][_0x5826[2694]]=function(){return this[_0x5826[2435]]()[_0x5826[895]][_0x5826[67]]};mxGraph[_0x5826[202]][_0x5826[2452]]=function(){return this[_0x5826[2435]]()[_0x5826[895]][0]};mxGraph[_0x5826[202]][_0x5826[897]]=function(){return this[_0x5826[2435]]()[_0x5826[895]][_0x5826[1853]]()};mxGraph[_0x5826[202]][_0x5826[2450]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[2099]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[904]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[2100]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2695]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[2103]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2696]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[832]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2697]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[2104]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2439]]=function(_0x1b20x2){this[_0x5826[2435]]()[_0x5826[842]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2698]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[2690]](_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],_0x1b20x2[_0x5826[117]],_0x1b20x2[_0x5826[119]]);this[_0x5826[2699]](_0x1b20x4,_0x1b20x3);return _0x1b20x4};mxGraph[_0x5826[202]][_0x5826[2700]]=function(){this[_0x5826[2701]](!0)};mxGraph[_0x5826[202]][_0x5826[2702]]=function(){this[_0x5826[2701]]()};mxGraph[_0x5826[202]][_0x5826[2703]]=function(){this[_0x5826[2701]](!1,!0)};mxGraph[_0x5826[202]][_0x5826[2704]]=function(){this[_0x5826[2701]](!1,!1,!0)};mxGraph[_0x5826[202]][_0x5826[2701]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[2105]],_0x1b20x9=0<_0x1b20x5[_0x5826[895]][_0x5826[67]]?_0x1b20x5[_0x5826[895]][0]:null;1<_0x1b20x5[_0x5826[895]][_0x5826[67]]&&_0x1b20x5[_0x5826[200]]();var _0x1b20x5=null!=_0x1b20x9?this[_0x5826[251]][_0x5826[1197]](_0x1b20x9):this[_0x5826[902]](),_0x1b20xa=this[_0x5826[251]][_0x5826[262]](_0x1b20x5);null==_0x1b20x9&&0<_0x1b20xa?(_0x1b20x2=this[_0x5826[251]][_0x5826[263]](_0x1b20x5,0),this[_0x5826[2450]](_0x1b20x2)):(null==_0x1b20x9||_0x1b20x3)&&null!=this[_0x5826[441]][_0x5826[248]](_0x1b20x5)&&null!=this[_0x5826[251]][_0x5826[1721]](_0x1b20x5)?this[_0x5826[2534]]()!=_0x1b20x5&&this[_0x5826[2450]](_0x1b20x5):null!=_0x1b20x9&&_0x1b20x4?0<this[_0x5826[251]][_0x5826[262]](_0x1b20x9)&&(_0x1b20x2=this[_0x5826[251]][_0x5826[263]](_0x1b20x9,0),this[_0x5826[2450]](_0x1b20x2)):0<_0x1b20xa&&(_0x1b20x3=_0x1b20x5[_0x5826[1738]](_0x1b20x9),_0x1b20x2?(_0x1b20x3++,_0x1b20x2=this[_0x5826[251]][_0x5826[263]](_0x1b20x5,_0x1b20x3%_0x1b20xa)):(_0x1b20x3--,_0x1b20x2=this[_0x5826[251]][_0x5826[263]](_0x1b20x5,0>_0x1b20x3?_0x1b20xa-1:_0x1b20x3)),this[_0x5826[2450]](_0x1b20x2))};mxGraph[_0x5826[202]][_0x5826[2705]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2||this[_0x5826[902]]();_0x1b20x2=this[_0x5826[251]][_0x5826[1953]](_0x1b20x2);null!=_0x1b20x2&&this[_0x5826[904]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2706]]=function(_0x1b20x2){this[_0x5826[2707]](!0,!1,_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2708]]=function(_0x1b20x2){this[_0x5826[2707]](!1,!0,_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2707]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=_0x1b20x4||this[_0x5826[902]]();var _0x1b20x5=mxUtils[_0x5826[885]](this,function(_0x1b20x4){return null!=this[_0x5826[441]][_0x5826[248]](_0x1b20x4)&&0==this[_0x5826[251]][_0x5826[262]](_0x1b20x4)&&(this[_0x5826[251]][_0x5826[1193]](_0x1b20x4)&&_0x1b20x2||this[_0x5826[251]][_0x5826[250]](_0x1b20x4)&&_0x1b20x3)});_0x1b20x4=this[_0x5826[251]][_0x5826[1921]](_0x1b20x5,_0x1b20x4);this[_0x5826[904]](_0x1b20x4)};mxGraph[_0x5826[202]][_0x5826[2459]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[2692]](_0x1b20x2);this[_0x5826[2462]](_0x1b20x3)?_0x1b20x4?this[_0x5826[2697]](_0x1b20x2):this[_0x5826[2695]](_0x1b20x2):(!_0x1b20x4||1!=this[_0x5826[2694]]())&&this[_0x5826[2450]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2699]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2462]](_0x1b20x3)?this[_0x5826[2696]](_0x1b20x2):this[_0x5826[904]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[2709]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(this[_0x5826[251]][_0x5826[250]](_0x1b20x2[_0x5826[246]])?(_0x1b20x3=this[_0x5826[441]][_0x5826[2291]](_0x1b20x2),_0x1b20x3=this[_0x5826[2573]](_0x1b20x2)||_0x1b20x3==mxEdgeStyle[_0x5826[2568]]||_0x1b20x3==mxEdgeStyle[_0x5826[2569]]||_0x1b20x3==mxEdgeStyle[_0x5826[2570]]? new mxElbowEdgeHandler(_0x1b20x2):_0x1b20x3==mxEdgeStyle[_0x5826[2567]]||_0x1b20x3==mxEdgeStyle[_0x5826[2572]]? new mxEdgeSegmentHandler(_0x1b20x2): new mxEdgeHandler(_0x1b20x2)):_0x1b20x3= new mxVertexHandler(_0x1b20x2));return _0x1b20x3};mxGraph[_0x5826[202]][_0x5826[1133]]=function(_0x1b20x2){null==this[_0x5826[2329]]&&(this[_0x5826[2329]]=[]);this[_0x5826[2329]][_0x5826[207]](_0x1b20x2)};mxGraph[_0x5826[202]][_0x5826[1148]]=function(_0x1b20x2){if(null!=this[_0x5826[2329]]){for(var _0x1b20x3=0;_0x1b20x3<this[_0x5826[2329]][_0x5826[67]];_0x1b20x3++){if(this[_0x5826[2329]][_0x1b20x3]==_0x1b20x2){this[_0x5826[2329]][_0x5826[300]](_0x1b20x3,1);break}}}};mxGraph[_0x5826[202]][_0x5826[2710]]=function(_0x1b20x2){if(null==_0x1b20x2[_0x5826[725]]||null==_0x1b20x2[_0x5826[726]]){var _0x1b20x3=mxUtils[_0x5826[2196]](this[_0x5826[526]],_0x1b20x2[_0x5826[730]](),_0x1b20x2[_0x5826[732]]());_0x1b20x2[_0x5826[725]]=_0x1b20x3[_0x5826[235]]-this[_0x5826[1136]];_0x1b20x2[_0x5826[726]]=_0x1b20x3[_0x5826[236]]-this[_0x5826[1137]]}};mxGraph[_0x5826[202]][_0x5826[758]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null==_0x1b20x4&&(_0x1b20x4=this);this[_0x5826[2710]](_0x1b20x3);_0x1b20x2==mxEvent[_0x5826[2711]]&&(this[_0x5826[1009]]= !0);if(mxClient[_0x5826[754]]&&this[_0x5826[2349]]&&_0x1b20x2==mxEvent[_0x5826[2711]]){var _0x1b20x5=( new Date)[_0x5826[178]]();_0x1b20x5-this[_0x5826[2213]]<this[_0x5826[2350]]&&Math[_0x5826[425]](this[_0x5826[2712]]-_0x1b20x3[_0x5826[730]]())<this[_0x5826[2351]]&&Math[_0x5826[425]](this[_0x5826[2352]]-_0x1b20x3[_0x5826[732]]())<this[_0x5826[2351]]?(this[_0x5826[2213]]=0,this[_0x5826[761]](_0x1b20x3[_0x5826[727]](),_0x1b20x3[_0x5826[736]]()),_0x1b20x3[_0x5826[727]]()[_0x5826[786]]= !0):(this[_0x5826[2712]]=_0x1b20x3[_0x5826[730]](),this[_0x5826[2352]]=_0x1b20x3[_0x5826[732]](),this[_0x5826[2213]]=_0x1b20x5)};_0x1b20x5=2!=_0x1b20x3[_0x5826[727]]()[_0x5826[764]];if(mxClient[_0x5826[80]]&&_0x5826[462]==document[_0x5826[135]]){if(null!=this[_0x5826[2713]]&&Math[_0x5826[425]](this[_0x5826[2713]]-_0x1b20x3[_0x5826[730]]())>this[_0x5826[2351]]||null!=this[_0x5826[2714]]&&Math[_0x5826[425]](this[_0x5826[2714]]-_0x1b20x3[_0x5826[732]]())>this[_0x5826[2351]]){_0x1b20x5= !0};_0x1b20x2==mxEvent[_0x5826[2715]]&&(this[_0x5826[2713]]=_0x1b20x3[_0x5826[730]](),this[_0x5826[2714]]=_0x1b20x3[_0x5826[732]]())};if((_0x1b20x2!=mxEvent[_0x5826[2715]]||this[_0x5826[1009]])&&_0x1b20x5){if(_0x1b20x2==mxEvent[_0x5826[2715]]&&(this[_0x5826[1009]]= !1),!this[_0x5826[2203]]()&&(mxClient[_0x5826[71]]||mxClient[_0x5826[75]]||mxClient[_0x5826[76]]||mxClient[_0x5826[80]]&&mxClient[_0x5826[48]]||_0x1b20x3[_0x5826[727]]()[_0x5826[772]]!=this[_0x5826[526]])){_0x1b20x2==mxEvent[_0x5826[2716]]&&(this[_0x5826[1009]]&&this[_0x5826[1012]])&&this[_0x5826[1014]](_0x1b20x3[_0x5826[734]](),_0x1b20x3[_0x5826[735]](),this[_0x5826[1013]]);if(null!=this[_0x5826[2329]]){_0x1b20x4=[_0x1b20x4,_0x1b20x3];_0x1b20x3[_0x5826[727]]()[_0x5826[739]]= !0;for(_0x1b20x5=0;_0x1b20x5<this[_0x5826[2329]][_0x5826[67]];_0x1b20x5++){var _0x1b20x9=this[_0x5826[2329]][_0x1b20x5];_0x1b20x2==mxEvent[_0x5826[2711]]?_0x1b20x9[_0x5826[787]][_0x5826[183]](_0x1b20x9,_0x1b20x4):_0x1b20x2==mxEvent[_0x5826[2716]]?_0x1b20x9[_0x5826[788]][_0x5826[183]](_0x1b20x9,_0x1b20x4):_0x1b20x2==mxEvent[_0x5826[2715]]&&_0x1b20x9[_0x5826[789]][_0x5826[183]](_0x1b20x9,_0x1b20x4)}};_0x1b20x2==mxEvent[_0x5826[2715]]&&this[_0x5826[173]](_0x1b20x3)}}else {_0x1b20x2==mxEvent[_0x5826[2715]]&&(this[_0x5826[1009]]= !1)}};mxGraph[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[2717]]||(this[_0x5826[2717]]= !0,null!=this[_0x5826[2276]]&&this[_0x5826[2276]][_0x5826[515]](),null!=this[_0x5826[2432]]&&this[_0x5826[2432]][_0x5826[515]](),null!=this[_0x5826[2316]]&&this[_0x5826[2316]][_0x5826[515]](),null!=this[_0x5826[2433]]&&this[_0x5826[2433]][_0x5826[515]](),null!=this[_0x5826[1011]]&&this[_0x5826[1011]][_0x5826[515]](),null!=this[_0x5826[2347]]&&this[_0x5826[2347]][_0x5826[515]](),null!=this[_0x5826[441]]&&this[_0x5826[441]][_0x5826[515]](),null!=this[_0x5826[251]]&&null!=this[_0x5826[2343]]&&(this[_0x5826[251]][_0x5826[745]](this[_0x5826[2343]]),this[_0x5826[2343]]=null),this[_0x5826[526]]=null)};function mxCellOverlay(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){this[_0x5826[618]]=_0x1b20x2;this[_0x5826[2718]]=_0x1b20x3;this[_0x5826[611]]=null!=_0x1b20x4?_0x1b20x4:this[_0x5826[611]];this[_0x5826[123]]=null!=_0x1b20x5?_0x1b20x5:this[_0x5826[123]];this[_0x5826[1368]]=null!=_0x1b20x9?_0x1b20x9: new mxPoint;this[_0x5826[270]]=null!=_0x1b20xa?_0x1b20xa:_0x5826[2719]}mxCellOverlay[_0x5826[202]]= new mxEventSource;mxCellOverlay[_0x5826[202]][_0x5826[196]]=mxCellOverlay;mxCellOverlay[_0x5826[202]][_0x5826[618]]=null;mxCellOverlay[_0x5826[202]][_0x5826[2718]]=null;mxCellOverlay[_0x5826[202]][_0x5826[611]]=mxConstants[_0x5826[480]];mxCellOverlay[_0x5826[202]][_0x5826[123]]=mxConstants[_0x5826[482]];mxCellOverlay[_0x5826[202]][_0x5826[1368]]=null;mxCellOverlay[_0x5826[202]][_0x5826[270]]=null;mxCellOverlay[_0x5826[202]][_0x5826[2354]]=0.5;mxCellOverlay[_0x5826[202]][_0x5826[1799]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[441]][_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x2[_0x5826[246]]),_0x1b20x4=_0x1b20x2[_0x5826[441]][_0x5826[255]],_0x1b20x5=null,_0x1b20x9=this[_0x5826[618]][_0x5826[117]],_0x1b20xa=this[_0x5826[618]][_0x5826[119]];_0x1b20x3?(_0x1b20x3=_0x1b20x2[_0x5826[439]],1==_0x1b20x3[_0x5826[67]]%2?_0x1b20x5=_0x1b20x3[Math[_0x5826[519]](_0x1b20x3[_0x5826[67]]/2)]:(_0x1b20x5=_0x1b20x3[_0x5826[67]]/2,_0x1b20x2=_0x1b20x3[_0x1b20x5-1],_0x1b20x3=_0x1b20x3[_0x1b20x5],_0x1b20x5= new mxPoint(_0x1b20x2[_0x5826[235]]+(_0x1b20x3[_0x5826[235]]-_0x1b20x2[_0x5826[235]])/2,_0x1b20x2[_0x5826[236]]+(_0x1b20x3[_0x5826[236]]-_0x1b20x2[_0x5826[236]])/2))):(_0x1b20x5= new mxPoint,_0x1b20x5[_0x5826[235]]=this[_0x5826[611]]==mxConstants[_0x5826[2132]]?_0x1b20x2[_0x5826[235]]:this[_0x5826[611]]==mxConstants[_0x5826[479]]?_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]/2:_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]],_0x1b20x5[_0x5826[236]]=this[_0x5826[123]]==mxConstants[_0x5826[1687]]?_0x1b20x2[_0x5826[236]]:this[_0x5826[123]]==mxConstants[_0x5826[481]]?_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]/2:_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]);return new mxRectangle(Math[_0x5826[488]](_0x1b20x5[_0x5826[235]]-(_0x1b20x9*this[_0x5826[2354]]-this[_0x5826[1368]][_0x5826[235]])*_0x1b20x4),Math[_0x5826[488]](_0x1b20x5[_0x5826[236]]-(_0x1b20xa*this[_0x5826[2354]]-this[_0x5826[1368]][_0x5826[236]])*_0x1b20x4),_0x1b20x9*_0x1b20x4,_0x1b20xa*_0x1b20x4)};mxCellOverlay[_0x5826[202]][_0x5826[2591]]=function(){return this[_0x5826[2718]]};function mxOutline(_0x1b20x2,_0x1b20x3){this[_0x5826[1097]]=_0x1b20x2;null!=_0x1b20x3&&this[_0x5826[176]](_0x1b20x3)}mxOutline[_0x5826[202]][_0x5826[1097]]=null;mxOutline[_0x5826[202]][_0x5826[2136]]=null;mxOutline[_0x5826[202]][_0x5826[2720]]=mxConstants[_0x5826[2333]];mxOutline[_0x5826[202]][_0x5826[984]]= !0;mxOutline[_0x5826[202]][_0x5826[2721]]= !0;mxOutline[_0x5826[202]][_0x5826[467]]=10;mxOutline[_0x5826[202]][_0x5826[2722]]=8;mxOutline[_0x5826[202]][_0x5826[2723]]= !1;mxOutline[_0x5826[202]][_0x5826[2724]]=null;mxOutline[_0x5826[202]][_0x5826[1063]]= !1;mxOutline[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2){this[_0x5826[2136]]= new mxGraph(_0x1b20x2,this[_0x5826[1097]][_0x5826[502]](),this[_0x5826[2720]],this[_0x5826[1097]][_0x5826[2434]]());this[_0x5826[2136]][_0x5826[2206]]= !1;this[_0x5826[2136]][_0x5826[1012]]= !1;var _0x1b20x3=this[_0x5826[2136]][_0x5826[1177]];this[_0x5826[2136]][_0x5826[1177]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){!this[_0x5826[1063]]&&null!=this[_0x5826[2136]]&&_0x1b20x3[_0x5826[183]](this[_0x5826[2136]],arguments)});mxClient[_0x5826[48]]&&(_0x1b20x2=this[_0x5826[2136]][_0x5826[249]]()[_0x5826[2051]]()[_0x5826[265]],_0x1b20x2[_0x5826[57]](_0x5826[2725],_0x5826[2726]),_0x1b20x2[_0x5826[57]](_0x5826[2727],_0x5826[2726]));this[_0x5826[2136]][_0x5826[2409]]= !1;this[_0x5826[2136]][_0x5826[995]](!1);this[_0x5826[2728]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){!this[_0x5826[1063]]&&!this[_0x5826[1124]]&&this[_0x5826[2729]]()});this[_0x5826[1097]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[2728]]);this[_0x5826[2136]][_0x5826[1133]](this);_0x1b20x2=this[_0x5826[1097]][_0x5826[249]]();_0x1b20x2[_0x5826[169]](mxEvent.SCALE,this[_0x5826[2728]]);_0x1b20x2[_0x5826[169]](mxEvent.TRANSLATE,this[_0x5826[2728]]);_0x1b20x2[_0x5826[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x5826[2728]]);_0x1b20x2[_0x5826[169]](mxEvent.DOWN,this[_0x5826[2728]]);_0x1b20x2[_0x5826[169]](mxEvent.UP,this[_0x5826[2728]]);mxEvent[_0x5826[169]](this[_0x5826[1097]][_0x5826[526]],_0x5826[276],this[_0x5826[2728]]);this[_0x5826[2730]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2723]]&&this[_0x5826[2728]][_0x5826[183]](this,arguments)});this[_0x5826[1097]][_0x5826[169]](mxEvent.PAN,this[_0x5826[2730]]);this[_0x5826[2731]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2136]][_0x5826[2341]](this[_0x5826[1097]][_0x5826[2434]]());this[_0x5826[2136]][_0x5826[802]]()});this[_0x5826[1097]][_0x5826[169]](mxEvent.REFRESH,this[_0x5826[2731]]);this[_0x5826[1562]]= new mxRectangle(0,0,0,0);this[_0x5826[2732]]= new mxRectangleShape(this[_0x5826[1562]],null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);this[_0x5826[2732]][_0x5826[507]]=this[_0x5826[2136]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]];this[_0x5826[2732]][_0x5826[176]](this[_0x5826[2136]][_0x5826[249]]()[_0x5826[1524]]());mxEvent[_0x5826[2733]](this[_0x5826[2732]][_0x5826[252]],this[_0x5826[2136]]);this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[1537]]=_0x5826[110];this[_0x5826[2734]]=this[_0x5826[2735]]();this[_0x5826[2734]][_0x5826[176]](this[_0x5826[2136]][_0x5826[249]]()[_0x5826[1524]]());this[_0x5826[984]]&&(this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x5826[356]);mxEvent[_0x5826[169]](this[_0x5826[2734]][_0x5826[252]],mxClient[_0x5826[754]]?_0x5826[755]:_0x5826[751],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2136]][_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x2))}));this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=this[_0x5826[2721]]?_0x5826[110]:_0x5826[130];this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]];this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x5826[582];this[_0x5826[2729]](!1)};mxOutline[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxOutline[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxOutline[_0x5826[202]][_0x5826[2736]]=function(_0x1b20x2){this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x1b20x2?_0x5826[189]:_0x5826[188]};mxOutline[_0x5826[202]][_0x5826[802]]=function(){this[_0x5826[2729]](!0)};mxOutline[_0x5826[202]][_0x5826[2735]]=function(){var _0x1b20x2=null!=this[_0x5826[2724]]? new mxImageShape( new mxRectangle(0,0,this[_0x5826[2724]][_0x5826[117]],this[_0x5826[2724]][_0x5826[119]]),this[_0x5826[2724]][_0x5826[390]]): new mxRectangleShape( new mxRectangle(0,0,this[_0x5826[2722]],this[_0x5826[2722]]),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);_0x1b20x2[_0x5826[507]]=this[_0x5826[2136]][_0x5826[507]];return _0x1b20x2};mxOutline[_0x5826[202]][_0x5826[2737]]=function(){return new mxRectangle(0,0,this[_0x5826[1097]][_0x5826[526]][_0x5826[1526]],this[_0x5826[1097]][_0x5826[526]][_0x5826[191]])};mxOutline[_0x5826[202]][_0x5826[2738]]=function(_0x1b20x2){return null};mxOutline[_0x5826[202]][_0x5826[2729]]=function(_0x1b20x2){if(null!=this[_0x5826[1097]]){var _0x1b20x3=this[_0x5826[1097]][_0x5826[441]][_0x5826[255]],_0x1b20x4=this[_0x5826[1097]][_0x5826[517]](),_0x1b20x4= new mxRectangle(_0x1b20x4[_0x5826[235]]/_0x1b20x3+this[_0x5826[1097]][_0x5826[1136]],_0x1b20x4[_0x5826[236]]/_0x1b20x3+this[_0x5826[1097]][_0x5826[1137]],_0x1b20x4[_0x5826[117]]/_0x1b20x3,_0x1b20x4[_0x5826[119]]/_0x1b20x3),_0x1b20x5= new mxRectangle(0,0,this[_0x5826[1097]][_0x5826[526]][_0x5826[159]]/_0x1b20x3,this[_0x5826[1097]][_0x5826[526]][_0x5826[157]]/_0x1b20x3),_0x1b20x9=_0x1b20x4[_0x5826[238]]();_0x1b20x9[_0x5826[99]](_0x1b20x5);var _0x1b20xa=this[_0x5826[2737]](),_0x1b20x5=Math[_0x5826[160]](_0x1b20xa[_0x5826[117]]/_0x1b20x3,_0x1b20x9[_0x5826[117]]),_0x1b20x3=Math[_0x5826[160]](_0x1b20xa[_0x5826[119]]/_0x1b20x3,_0x1b20x9[_0x5826[119]]),_0x1b20x9=Math[_0x5826[160]](0,this[_0x5826[2136]][_0x5826[526]][_0x5826[159]]-this[_0x5826[467]]),_0x1b20xa=Math[_0x5826[160]](0,this[_0x5826[2136]][_0x5826[526]][_0x5826[157]]-this[_0x5826[467]]),_0x1b20x9=Math[_0x5826[243]](_0x1b20x9/_0x1b20x5,_0x1b20xa/_0x1b20x3);if(0<_0x1b20x9){this[_0x5826[2136]][_0x5826[249]]()[_0x5826[255]]!=_0x1b20x9&&(this[_0x5826[2136]][_0x5826[249]]()[_0x5826[255]]=_0x1b20x9,_0x1b20x2= !0);_0x1b20x5=this[_0x5826[2136]][_0x5826[249]]();_0x1b20x5[_0x5826[1741]]!=this[_0x5826[1097]][_0x5826[249]]()[_0x5826[1741]]&&_0x1b20x5[_0x5826[2257]](this[_0x5826[1097]][_0x5826[249]]()[_0x5826[1741]]);var _0x1b20x3=this[_0x5826[1097]][_0x5826[441]][_0x5826[513]],_0x1b20xa=_0x1b20x3[_0x5826[235]]+this[_0x5826[1097]][_0x5826[1136]],_0x1b20x12=_0x1b20x3[_0x5826[236]]+this[_0x5826[1097]][_0x5826[1137]],_0x1b20x9=this[_0x5826[2738]](_0x1b20x9);null!=_0x1b20x9&&(_0x1b20xa+=_0x1b20x9[_0x5826[235]],_0x1b20x12+=_0x1b20x9[_0x5826[236]]);0>_0x1b20x4[_0x5826[235]]&&(_0x1b20xa-=_0x1b20x4[_0x5826[235]]);0>_0x1b20x4[_0x5826[236]]&&(_0x1b20x12-=_0x1b20x4[_0x5826[236]]);if(_0x1b20x5[_0x5826[513]][_0x5826[235]]!=_0x1b20xa||_0x1b20x5[_0x5826[513]][_0x5826[236]]!=_0x1b20x12){_0x1b20x5[_0x5826[513]][_0x5826[235]]=_0x1b20xa,_0x1b20x5[_0x5826[513]][_0x5826[236]]=_0x1b20x12,_0x1b20x2= !0};var _0x1b20x4=_0x1b20x5[_0x5826[513]],_0x1b20x9=this[_0x5826[1097]][_0x5826[249]]()[_0x5826[255]],_0x1b20xa=_0x1b20x9/_0x1b20x5[_0x5826[255]],_0x1b20x12=1/_0x1b20x5[_0x5826[255]],_0x1b20x13=this[_0x5826[1097]][_0x5826[526]];this[_0x5826[1562]]= new mxRectangle((_0x1b20x4[_0x5826[235]]-_0x1b20x3[_0x5826[235]]-this[_0x5826[1097]][_0x5826[1136]])/_0x1b20x12,(_0x1b20x4[_0x5826[236]]-_0x1b20x3[_0x5826[236]]-this[_0x5826[1097]][_0x5826[1137]])/_0x1b20x12,_0x1b20x13[_0x5826[159]]/_0x1b20xa,_0x1b20x13[_0x5826[157]]/_0x1b20xa);this[_0x5826[1562]][_0x5826[235]]+=this[_0x5826[1097]][_0x5826[526]][_0x5826[360]]*_0x1b20x5[_0x5826[255]]/_0x1b20x9;this[_0x5826[1562]][_0x5826[236]]+=this[_0x5826[1097]][_0x5826[526]][_0x5826[190]]*_0x1b20x5[_0x5826[255]]/_0x1b20x9;_0x1b20x4=this[_0x5826[2732]][_0x5826[1562]];if(_0x1b20x4[_0x5826[235]]!=this[_0x5826[1562]][_0x5826[235]]||_0x1b20x4[_0x5826[236]]!=this[_0x5826[1562]][_0x5826[236]]||_0x1b20x4[_0x5826[117]]!=this[_0x5826[1562]][_0x5826[117]]||_0x1b20x4[_0x5826[119]]!=this[_0x5826[1562]][_0x5826[119]]){this[_0x5826[2732]][_0x5826[1562]]=this[_0x5826[1562]],this[_0x5826[2732]][_0x5826[258]]()};_0x1b20x4=this[_0x5826[2734]][_0x5826[1562]];_0x1b20x5= new mxRectangle(this[_0x5826[1562]][_0x5826[235]]+this[_0x5826[1562]][_0x5826[117]]-_0x1b20x4[_0x5826[117]]/2,this[_0x5826[1562]][_0x5826[236]]+this[_0x5826[1562]][_0x5826[119]]-_0x1b20x4[_0x5826[119]]/2,_0x1b20x4[_0x5826[117]],_0x1b20x4[_0x5826[119]]);if(_0x1b20x4[_0x5826[235]]!=_0x1b20x5[_0x5826[235]]||_0x1b20x4[_0x5826[236]]!=_0x1b20x5[_0x5826[236]]||_0x1b20x4[_0x5826[117]]!=_0x1b20x5[_0x5826[117]]||_0x1b20x4[_0x5826[119]]!=_0x1b20x5[_0x5826[119]]){this[_0x5826[2734]][_0x5826[1562]]=_0x1b20x5,_0x5826[188]!=this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[187]]&&this[_0x5826[2734]][_0x5826[258]]()};_0x1b20x2&&this[_0x5826[2136]][_0x5826[441]][_0x5826[2259]]()}}};mxOutline[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[984]]&&this[_0x5826[2721]]&&(this[_0x5826[499]]=_0x1b20x3[_0x5826[729]](this[_0x5826[2734]]),this[_0x5826[2739]]=_0x1b20x3[_0x5826[730]](),this[_0x5826[2740]]=_0x1b20x3[_0x5826[732]](),this[_0x5826[1124]]= !0,this[_0x5826[1097]][_0x5826[2365]]&&mxUtils[_0x5826[1134]](this[_0x5826[1097]][_0x5826[526]])?(this[_0x5826[2741]]=this[_0x5826[1097]][_0x5826[526]][_0x5826[360]],this[_0x5826[2742]]=this[_0x5826[1097]][_0x5826[526]][_0x5826[190]]):this[_0x5826[2742]]=this[_0x5826[2741]]=0);_0x1b20x3[_0x5826[722]]()};mxOutline[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1124]]){this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=this[_0x5826[2721]]?_0x5826[110]:_0x5826[130];this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]];var _0x1b20x4=_0x1b20x3[_0x5826[730]]()-this[_0x5826[2739]],_0x1b20x5=_0x1b20x3[_0x5826[732]]()-this[_0x5826[2740]],_0x1b20x9=null;if(this[_0x5826[499]]){_0x1b20x9=this[_0x5826[1097]][_0x5826[526]],_0x1b20x5=_0x1b20x4/(_0x1b20x9[_0x5826[159]]/_0x1b20x9[_0x5826[157]]),_0x1b20x9= new mxRectangle(this[_0x5826[1562]][_0x5826[235]],this[_0x5826[1562]][_0x5826[236]],Math[_0x5826[160]](1,this[_0x5826[1562]][_0x5826[117]]+_0x1b20x4),Math[_0x5826[160]](1,this[_0x5826[1562]][_0x5826[119]]+_0x1b20x5)),this[_0x5826[2732]][_0x5826[1562]]=_0x1b20x9,this[_0x5826[2732]][_0x5826[258]]()}else {var _0x1b20xa=this[_0x5826[2136]][_0x5826[249]]()[_0x5826[255]],_0x1b20x9= new mxRectangle(this[_0x5826[1562]][_0x5826[235]]+_0x1b20x4,this[_0x5826[1562]][_0x5826[236]]+_0x1b20x5,this[_0x5826[1562]][_0x5826[117]],this[_0x5826[1562]][_0x5826[119]]);this[_0x5826[2732]][_0x5826[1562]]=_0x1b20x9;this[_0x5826[2732]][_0x5826[258]]();_0x1b20x4=_0x1b20x4/_0x1b20xa*this[_0x5826[1097]][_0x5826[249]]()[_0x5826[255]];_0x1b20x5=_0x1b20x5/_0x1b20xa*this[_0x5826[1097]][_0x5826[249]]()[_0x5826[255]];this[_0x5826[1097]][_0x5826[1135]](-_0x1b20x4-this[_0x5826[2741]],-_0x1b20x5-this[_0x5826[2742]])};_0x1b20x4=this[_0x5826[2734]][_0x5826[1562]];this[_0x5826[2734]][_0x5826[1562]]= new mxRectangle(_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]]-_0x1b20x4[_0x5826[117]]/2,_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]]-_0x1b20x4[_0x5826[119]]/2,_0x1b20x4[_0x5826[117]],_0x1b20x4[_0x5826[119]]);_0x5826[188]!=this[_0x5826[2734]][_0x5826[252]][_0x5826[124]][_0x5826[187]]&&this[_0x5826[2734]][_0x5826[258]]();_0x1b20x3[_0x5826[722]]()}};mxOutline[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1124]]){var _0x1b20x4=_0x1b20x3[_0x5826[730]]()-this[_0x5826[2739]],_0x1b20x5=_0x1b20x3[_0x5826[732]]()-this[_0x5826[2740]];if(0<Math[_0x5826[425]](_0x1b20x4)||0<Math[_0x5826[425]](_0x1b20x5)){if(this[_0x5826[499]]){var _0x1b20x5=this[_0x5826[2732]][_0x5826[1562]][_0x5826[117]],_0x1b20x9=this[_0x5826[1097]][_0x5826[249]]()[_0x5826[255]];this[_0x5826[1097]][_0x5826[2561]](_0x1b20x9-_0x1b20x4*_0x1b20x9/_0x1b20x5,!1)}else {if(!this[_0x5826[1097]][_0x5826[2365]]||!mxUtils[_0x5826[1134]](this[_0x5826[1097]][_0x5826[526]])){this[_0x5826[1097]][_0x5826[1135]](0,0),_0x1b20x4/=this[_0x5826[2136]][_0x5826[249]]()[_0x5826[255]],_0x1b20x5/=this[_0x5826[2136]][_0x5826[249]]()[_0x5826[255]],_0x1b20x9=this[_0x5826[1097]][_0x5826[249]]()[_0x5826[513]],this[_0x5826[1097]][_0x5826[249]]()[_0x5826[1147]](_0x1b20x9[_0x5826[235]]-_0x1b20x4,_0x1b20x9[_0x5826[236]]-_0x1b20x5)}};this[_0x5826[2729]]();_0x1b20x3[_0x5826[722]]()};this[_0x5826[1983]]=null;this[_0x5826[1124]]= !1}};mxOutline[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[1097]]&&(this[_0x5826[1097]][_0x5826[745]](this[_0x5826[2730]]),this[_0x5826[1097]][_0x5826[745]](this[_0x5826[2731]]),this[_0x5826[1097]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[2728]]),this[_0x5826[1097]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[2728]]),mxEvent[_0x5826[169]](this[_0x5826[1097]][_0x5826[526]],_0x5826[276],this[_0x5826[2728]]),this[_0x5826[1097]]=null);null!=this[_0x5826[2136]]&&(this[_0x5826[2136]][_0x5826[1148]](this),this[_0x5826[2136]][_0x5826[515]](),this[_0x5826[2136]]=null);null!=this[_0x5826[2732]]&&(this[_0x5826[2732]][_0x5826[515]](),this[_0x5826[2732]]=null);null!=this[_0x5826[2734]]&&(this[_0x5826[2734]][_0x5826[515]](),this[_0x5826[2734]]=null)};function mxMultiplicity(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15){this[_0x5826[1097]]=_0x1b20x2;this[_0x5826[60]]=_0x1b20x3;this[_0x5826[2588]]=_0x1b20x4;this[_0x5826[131]]=_0x1b20x5;this[_0x5826[243]]=null!=_0x1b20x9?_0x1b20x9:0;this[_0x5826[160]]=null!=_0x1b20xa?_0x1b20xa:_0x5826[2743];this[_0x5826[2744]]=_0x1b20x12;this[_0x5826[2589]]=mxResources[_0x5826[203]](_0x1b20x13)||_0x1b20x13;this[_0x5826[2745]]=mxResources[_0x5826[203]](_0x1b20x14)||_0x1b20x14;this[_0x5826[2746]]=null!=_0x1b20x15?_0x1b20x15:!0}mxMultiplicity[_0x5826[202]][_0x5826[60]]=null;mxMultiplicity[_0x5826[202]][_0x5826[2588]]=null;mxMultiplicity[_0x5826[202]][_0x5826[131]]=null;mxMultiplicity[_0x5826[202]][_0x5826[1097]]=null;mxMultiplicity[_0x5826[202]][_0x5826[243]]=null;mxMultiplicity[_0x5826[202]][_0x5826[160]]=null;mxMultiplicity[_0x5826[202]][_0x5826[2744]]=null;mxMultiplicity[_0x5826[202]][_0x5826[2746]]= !0;mxMultiplicity[_0x5826[202]][_0x5826[2589]]=null;mxMultiplicity[_0x5826[202]][_0x5826[2745]]=null;mxMultiplicity[_0x5826[202]][_0x5826[2583]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=_0x5826[110];if(this[_0x5826[1097]]&&this[_0x5826[2747]](_0x1b20x2,_0x1b20x4,_0x1b20x3)||!this[_0x5826[1097]]&&this[_0x5826[2747]](_0x1b20x2,_0x1b20x5,_0x1b20x3)){if(null!=this[_0x5826[2589]]&&(this[_0x5826[1097]]&&(0==this[_0x5826[160]]||_0x1b20x9>=this[_0x5826[160]])||!this[_0x5826[1097]]&&(0==this[_0x5826[160]]||_0x1b20xa>=this[_0x5826[160]]))){_0x1b20x12+=this[_0x5826[2589]]+_0x5826[192]};null!=this[_0x5826[2744]]&&(null!=this[_0x5826[2745]]&&0<this[_0x5826[2744]][_0x5826[67]])&&(this[_0x5826[2748]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5)||(_0x1b20x12+=this[_0x5826[2745]]+_0x5826[192]))};return 0<_0x1b20x12[_0x5826[67]]?_0x1b20x12:null};mxMultiplicity[_0x5826[202]][_0x5826[2748]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x3=_0x1b20x2[_0x5826[251]][_0x5826[433]](_0x1b20x4);_0x1b20x5=_0x1b20x2[_0x5826[251]][_0x5826[433]](_0x1b20x5);_0x1b20x4=!this[_0x5826[2746]];for(var _0x1b20x9=this[_0x5826[2744]],_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){if(this[_0x5826[1097]]&&this[_0x5826[2749]](_0x1b20x2,_0x1b20x5,_0x1b20x9[_0x1b20xa])){_0x1b20x4=this[_0x5826[2746]];break}else {if(!this[_0x5826[1097]]&&this[_0x5826[2749]](_0x1b20x2,_0x1b20x3,_0x1b20x9[_0x1b20xa])){_0x1b20x4=this[_0x5826[2746]];break}}};return _0x1b20x4};mxMultiplicity[_0x5826[202]][_0x5826[2747]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=_0x1b20x2[_0x5826[251]][_0x5826[433]](_0x1b20x3);return this[_0x5826[2749]](_0x1b20x2,_0x1b20x3,this[_0x5826[60]],this[_0x5826[2588]],this[_0x5826[131]])};mxMultiplicity[_0x5826[202]][_0x5826[2749]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){return null!=_0x1b20x3?isNaN(_0x1b20x3[_0x5826[288]])?_0x1b20x3==_0x1b20x4:mxUtils[_0x5826[1331]](_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9):!1};function mxLayoutManager(_0x1b20x2){this[_0x5826[2750]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){this[_0x5826[994]]()&&this[_0x5826[823]](_0x1b20x4[_0x5826[720]](_0x5826[1061]))});this[_0x5826[2317]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){this[_0x5826[994]]()&&this[_0x5826[835]](_0x1b20x4[_0x5826[720]](_0x5826[895]),_0x1b20x4[_0x5826[720]](_0x5826[763]))});this[_0x5826[1178]](_0x1b20x2)}mxLayoutManager[_0x5826[202]]= new mxEventSource;mxLayoutManager[_0x5826[202]][_0x5826[196]]=mxLayoutManager;mxLayoutManager[_0x5826[202]][_0x5826[1179]]=null;mxLayoutManager[_0x5826[202]][_0x5826[2751]]= !0;mxLayoutManager[_0x5826[202]][_0x5826[984]]= !0;mxLayoutManager[_0x5826[202]][_0x5826[2728]]=null;mxLayoutManager[_0x5826[202]][_0x5826[2317]]=null;mxLayoutManager[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxLayoutManager[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxLayoutManager[_0x5826[202]][_0x5826[2752]]=function(){return this[_0x5826[2751]]};mxLayoutManager[_0x5826[202]][_0x5826[2753]]=function(_0x1b20x2){this[_0x5826[2751]]=_0x1b20x2};mxLayoutManager[_0x5826[202]][_0x5826[1703]]=function(){return this[_0x5826[1179]]};mxLayoutManager[_0x5826[202]][_0x5826[1178]]=function(_0x1b20x2){if(null!=this[_0x5826[1179]]){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x3[_0x5826[745]](this[_0x5826[2750]]);this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2317]])};this[_0x5826[1179]]=_0x1b20x2;null!=this[_0x5826[1179]]&&(_0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x3[_0x5826[169]](mxEvent.BEFORE_UNDO,this[_0x5826[2750]]),this[_0x5826[1179]][_0x5826[169]](mxEvent.MOVE_CELLS,this[_0x5826[2317]]))};mxLayoutManager[_0x5826[202]][_0x5826[2754]]=function(_0x1b20x2){return null};mxLayoutManager[_0x5826[202]][_0x5826[823]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[2755]](_0x1b20x2[_0x5826[1065]]);var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]]();if(this[_0x5826[2752]]()){for(var _0x1b20x4=_0x1b20x3[_0x5826[1977]](_0x1b20x2);0<_0x1b20x4[_0x5826[67]];){_0x1b20x2=_0x1b20x2[_0x5826[1919]](_0x1b20x4),_0x1b20x4=_0x1b20x3[_0x5826[1977]](_0x1b20x4)}};this[_0x5826[828]](mxUtils[_0x5826[1779]](_0x1b20x2,!1))};mxLayoutManager[_0x5826[202]][_0x5826[835]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x3){for(var _0x1b20x4=mxUtils[_0x5826[2196]](this[_0x5826[1703]]()[_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x3),mxEvent[_0x5826[733]](_0x1b20x3)),_0x1b20x5=this[_0x5826[1703]]()[_0x5826[502]](),_0x1b20x9=0;_0x1b20x9<_0x1b20x2[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=this[_0x5826[2754]](_0x1b20x5[_0x5826[1197]](_0x1b20x2[_0x1b20x9]));null!=_0x1b20xa&&_0x1b20xa[_0x5826[1702]](_0x1b20x2[_0x1b20x9],_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]])}}};mxLayoutManager[_0x5826[202]][_0x5826[2755]]=function(_0x1b20x2){for(var _0x1b20x3=[],_0x1b20x4={},_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){var _0x1b20x9=_0x1b20x2[_0x1b20x5];if(_0x1b20x9 instanceof mxRootChange){return []};for(var _0x1b20x9=this[_0x5826[2756]](_0x1b20x9),_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){if(null!=_0x1b20x9[_0x1b20xa]){var _0x1b20x12=mxCellPath[_0x5826[385]](_0x1b20x9[_0x1b20xa]);null==_0x1b20x4[_0x1b20x12]&&(_0x1b20x4[_0x1b20x12]=_0x1b20x9[_0x1b20xa],_0x1b20x3[_0x5826[207]](_0x1b20x9[_0x1b20xa]))}}};return _0x1b20x3};mxLayoutManager[_0x5826[202]][_0x5826[2756]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]]();return _0x1b20x2 instanceof mxChildChange?[_0x1b20x2[_0x5826[247]],_0x1b20x2[_0x5826[257]],_0x1b20x3[_0x5826[1197]](_0x1b20x2[_0x5826[247]])]:_0x1b20x2 instanceof mxTerminalChange||_0x1b20x2 instanceof mxGeometryChange?[_0x1b20x2[_0x5826[246]],_0x1b20x3[_0x5826[1197]](_0x1b20x2[_0x5826[246]])]:[]};mxLayoutManager[_0x5826[202]][_0x5826[828]]=function(_0x1b20x2){if(0<_0x1b20x2[_0x5826[67]]){var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=null,_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){_0x1b20x2[_0x1b20x5]!=_0x1b20x3[_0x5826[501]]()&&_0x1b20x2[_0x1b20x5]!=_0x1b20x4&&(_0x1b20x4=_0x1b20x2[_0x1b20x5],this[_0x5826[2757]](this[_0x5826[2754]](_0x1b20x4),_0x1b20x4))};this[_0x5826[746]]( new mxEventObject(mxEvent.LAYOUT_CELLS,_0x5826[895],_0x1b20x2))}finally{_0x1b20x3[_0x5826[476]]()}}};mxLayoutManager[_0x5826[202]][_0x5826[2757]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&null!=_0x1b20x3&&_0x1b20x2[_0x5826[350]](_0x1b20x3)};mxLayoutManager[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1178]](null)};function mxSpaceManager(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[2758]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[994]]()&&this[_0x5826[837]](_0x1b20x3[_0x5826[720]](_0x5826[895]))});this[_0x5826[2759]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[994]]()&&this[_0x5826[837]](_0x1b20x3[_0x5826[720]](_0x5826[895]))});this[_0x5826[2760]]=null!=_0x1b20x3?_0x1b20x3:!0;this[_0x5826[2761]]=null!=_0x1b20x4?_0x1b20x4:!0;this[_0x5826[2392]]=null!=_0x1b20x5?_0x1b20x5:!0;this[_0x5826[1178]](_0x1b20x2)}mxSpaceManager[_0x5826[202]]= new mxEventSource;mxSpaceManager[_0x5826[202]][_0x5826[196]]=mxSpaceManager;mxSpaceManager[_0x5826[202]][_0x5826[1179]]=null;mxSpaceManager[_0x5826[202]][_0x5826[984]]= !0;mxSpaceManager[_0x5826[202]][_0x5826[2760]]= !0;mxSpaceManager[_0x5826[202]][_0x5826[2761]]= !0;mxSpaceManager[_0x5826[202]][_0x5826[2392]]= !0;mxSpaceManager[_0x5826[202]][_0x5826[2758]]=null;mxSpaceManager[_0x5826[202]][_0x5826[2759]]=null;mxSpaceManager[_0x5826[202]][_0x5826[2762]]=function(_0x1b20x2){return !this[_0x5826[1703]]()[_0x5826[502]]()[_0x5826[1193]](_0x1b20x2)};mxSpaceManager[_0x5826[202]][_0x5826[2763]]=function(_0x1b20x2){return this[_0x5826[1703]]()[_0x5826[502]]()[_0x5826[1193]](_0x1b20x2)&&this[_0x5826[1703]]()[_0x5826[1712]](_0x1b20x2)};mxSpaceManager[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxSpaceManager[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxSpaceManager[_0x5826[202]][_0x5826[2764]]=function(){return this[_0x5826[2760]]};mxSpaceManager[_0x5826[202]][_0x5826[2765]]=function(_0x1b20x2){this[_0x5826[2760]]=_0x1b20x2};mxSpaceManager[_0x5826[202]][_0x5826[2766]]=function(){return this[_0x5826[2761]]};mxSpaceManager[_0x5826[202]][_0x5826[2767]]=function(_0x1b20x2){this[_0x5826[2761]]=_0x1b20x2};mxSpaceManager[_0x5826[202]][_0x5826[2678]]=function(){return this[_0x5826[2392]]};mxSpaceManager[_0x5826[202]][_0x5826[2679]]=function(_0x1b20x2){this[_0x5826[2392]]=_0x1b20x2};mxSpaceManager[_0x5826[202]][_0x5826[1703]]=function(){return this[_0x5826[1179]]};mxSpaceManager[_0x5826[202]][_0x5826[1178]]=function(_0x1b20x2){null!=this[_0x5826[1179]]&&(this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2758]]),this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2759]]));this[_0x5826[1179]]=_0x1b20x2;null!=this[_0x5826[1179]]&&(this[_0x5826[1179]][_0x5826[169]](mxEvent.RESIZE_CELLS,this[_0x5826[2758]]),this[_0x5826[1179]][_0x5826[169]](mxEvent.FOLD_CELLS,this[_0x5826[2759]]))};mxSpaceManager[_0x5826[202]][_0x5826[837]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){if(!this[_0x5826[2762]](_0x1b20x2[_0x1b20x4])){this[_0x5826[2768]](_0x1b20x2[_0x1b20x4]);break}}}finally{_0x1b20x3[_0x5826[476]]()}}};mxSpaceManager[_0x5826[202]][_0x5826[2768]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1703]](),_0x1b20x4=_0x1b20x3[_0x5826[249]](),_0x1b20x5=_0x1b20x3[_0x5826[502]](),_0x1b20x9=_0x1b20x4[_0x5826[248]](_0x1b20x2),_0x1b20xa=_0x1b20x4[_0x5826[248]](_0x1b20x5[_0x5826[1197]](_0x1b20x2));if(null!=_0x1b20x9&&null!=_0x1b20xa){var _0x1b20x12=this[_0x5826[2769]](_0x1b20x9),_0x1b20x13=_0x1b20x5[_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x12&&null!=_0x1b20x13){var _0x1b20x14=_0x1b20x4[_0x5826[513]],_0x1b20x15=_0x1b20x4[_0x5826[255]],_0x1b20x4=_0x1b20x9[_0x5826[235]]-_0x1b20xa[_0x5826[2078]][_0x5826[235]]-_0x1b20x14[_0x5826[235]]*_0x1b20x15,_0x1b20xa=_0x1b20x9[_0x5826[236]]-_0x1b20xa[_0x5826[2078]][_0x5826[236]]-_0x1b20x14[_0x5826[236]]*_0x1b20x15,_0x1b20x14=_0x1b20x9[_0x5826[235]]+_0x1b20x9[_0x5826[117]],_0x1b20x16=_0x1b20x9[_0x5826[236]]+_0x1b20x9[_0x5826[119]],_0x1b20x17=_0x1b20x9[_0x5826[117]]-_0x1b20x13[_0x5826[117]]*_0x1b20x15+_0x1b20x4-_0x1b20x13[_0x5826[235]]*_0x1b20x15,_0x1b20x18=_0x1b20x9[_0x5826[119]]-_0x1b20x13[_0x5826[119]]*_0x1b20x15+_0x1b20xa-_0x1b20x13[_0x5826[236]]*_0x1b20x15,_0x1b20x19=1-_0x1b20x13[_0x5826[117]]*_0x1b20x15/_0x1b20x9[_0x5826[117]],_0x1b20x9=1-_0x1b20x13[_0x5826[119]]*_0x1b20x15/_0x1b20x9[_0x5826[119]];_0x1b20x5[_0x5826[473]]();try{for(_0x1b20x13=0;_0x1b20x13<_0x1b20x12[_0x5826[67]];_0x1b20x13++){_0x1b20x12[_0x1b20x13]!=_0x1b20x2&&this[_0x5826[2763]](_0x1b20x12[_0x1b20x13])&&this[_0x5826[2770]](_0x1b20x12[_0x1b20x13],_0x1b20x17,_0x1b20x18,_0x1b20x4,_0x1b20xa,_0x1b20x14,_0x1b20x16,_0x1b20x19,_0x1b20x9,this[_0x5826[2678]]()&&_0x1b20x3[_0x5826[2507]](_0x1b20x12[_0x1b20x13]))}}finally{_0x1b20x5[_0x5826[476]]()}}}};mxSpaceManager[_0x5826[202]][_0x5826[2770]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14,_0x1b20x15){_0x1b20x5=this[_0x5826[1703]]();var _0x1b20x16=_0x1b20x5[_0x5826[249]]()[_0x5826[248]](_0x1b20x2);if(null!=_0x1b20x16){var _0x1b20x17=_0x1b20x5[_0x5826[502]](),_0x1b20x18=_0x1b20x17[_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x18){_0x1b20x17[_0x5826[473]]();try{if(this[_0x5826[2764]]()){if(_0x1b20x16[_0x5826[235]]>=_0x1b20xa){_0x1b20x18=_0x1b20x18[_0x5826[238]](),_0x1b20x18[_0x5826[513]](-_0x1b20x3,0)}else {var _0x1b20x19=Math[_0x5826[160]](0,_0x1b20x16[_0x5826[235]]-x0),_0x1b20x18=_0x1b20x18[_0x5826[238]]();_0x1b20x18[_0x5826[513]](-_0x1b20x13*_0x1b20x19,0)}};if(this[_0x5826[2766]]()){if(_0x1b20x16[_0x5826[236]]>=_0x1b20x12){_0x1b20x18=_0x1b20x18[_0x5826[238]](),_0x1b20x18[_0x5826[513]](0,-_0x1b20x4)}else {var _0x1b20x1a=Math[_0x5826[160]](0,_0x1b20x16[_0x5826[236]]-_0x1b20x9),_0x1b20x18=_0x1b20x18[_0x5826[238]]();_0x1b20x18[_0x5826[513]](0,-_0x1b20x14*_0x1b20x1a)}};_0x1b20x18!=_0x1b20x17[_0x5826[1721]](_0x1b20x2)&&(_0x1b20x17[_0x5826[1724]](_0x1b20x2,_0x1b20x18),_0x1b20x15&&_0x1b20x5[_0x5826[2508]](_0x1b20x2))}finally{_0x1b20x17[_0x5826[476]]()}}}};mxSpaceManager[_0x5826[202]][_0x5826[2769]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1703]](),_0x1b20x4=_0x1b20x3[_0x5826[502]]()[_0x5826[1197]](_0x1b20x2[_0x5826[246]]),_0x1b20x5=this[_0x5826[2766]](),_0x1b20x9=this[_0x5826[2764]]();return _0x1b20x3[_0x5826[2691]](_0x1b20x2[_0x5826[235]]+(_0x1b20x5?0:_0x1b20x2[_0x5826[117]]),_0x1b20x2[_0x5826[236]]+(_0x1b20x5&&_0x1b20x9?0:_0x1b20x2[_0x5826[119]]),_0x1b20x4,_0x1b20x9,_0x1b20x5)};mxSpaceManager[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1178]](null)};function mxSwimlaneManager(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[662]]=null!=_0x1b20x3?_0x1b20x3:!0;this[_0x5826[2771]]=null!=_0x1b20x4?_0x1b20x4:!0;this[_0x5826[2772]]=null!=_0x1b20x5?_0x1b20x5:!0;this[_0x5826[2773]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[994]]()&&this[_0x5826[2774]]()&&this[_0x5826[833]](_0x1b20x3[_0x5826[720]](_0x5826[895]))});this[_0x5826[2758]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[994]]()&&this[_0x5826[2775]]()&&this[_0x5826[837]](_0x1b20x3[_0x5826[720]](_0x5826[895]))});this[_0x5826[1178]](_0x1b20x2)}mxSwimlaneManager[_0x5826[202]]= new mxEventSource;mxSwimlaneManager[_0x5826[202]][_0x5826[196]]=mxSwimlaneManager;mxSwimlaneManager[_0x5826[202]][_0x5826[1179]]=null;mxSwimlaneManager[_0x5826[202]][_0x5826[984]]= !0;mxSwimlaneManager[_0x5826[202]][_0x5826[662]]= !0;mxSwimlaneManager[_0x5826[202]][_0x5826[2771]]= !0;mxSwimlaneManager[_0x5826[202]][_0x5826[2772]]= !0;mxSwimlaneManager[_0x5826[202]][_0x5826[2773]]=null;mxSwimlaneManager[_0x5826[202]][_0x5826[2758]]=null;mxSwimlaneManager[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxSwimlaneManager[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxSwimlaneManager[_0x5826[202]][_0x5826[1737]]=function(){return this[_0x5826[662]]};mxSwimlaneManager[_0x5826[202]][_0x5826[2776]]=function(_0x1b20x2){this[_0x5826[662]]=_0x1b20x2};mxSwimlaneManager[_0x5826[202]][_0x5826[2774]]=function(){return this[_0x5826[2771]]};mxSwimlaneManager[_0x5826[202]][_0x5826[2777]]=function(_0x1b20x2){this[_0x5826[2771]]=_0x1b20x2};mxSwimlaneManager[_0x5826[202]][_0x5826[2775]]=function(){return this[_0x5826[2772]]};mxSwimlaneManager[_0x5826[202]][_0x5826[2778]]=function(_0x1b20x2){this[_0x5826[2772]]=_0x1b20x2};mxSwimlaneManager[_0x5826[202]][_0x5826[1703]]=function(){return this[_0x5826[1179]]};mxSwimlaneManager[_0x5826[202]][_0x5826[1178]]=function(_0x1b20x2){null!=this[_0x5826[1179]]&&(this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2773]]),this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2758]]));this[_0x5826[1179]]=_0x1b20x2;null!=this[_0x5826[1179]]&&(this[_0x5826[1179]][_0x5826[169]](mxEvent.ADD_CELLS,this[_0x5826[2773]]),this[_0x5826[1179]][_0x5826[169]](mxEvent.CELLS_RESIZED,this[_0x5826[2758]]))};mxSwimlaneManager[_0x5826[202]][_0x5826[2779]]=function(_0x1b20x2){return !this[_0x5826[1703]]()[_0x5826[1730]](_0x1b20x2)};mxSwimlaneManager[_0x5826[202]][_0x5826[2780]]=function(_0x1b20x2){if(this[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)){var _0x1b20x3=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x2);_0x1b20x2=null!=_0x1b20x3?_0x1b20x3[_0x5826[124]]:this[_0x5826[1179]][_0x5826[1705]](_0x1b20x2);return 1==mxUtils[_0x5826[433]](_0x1b20x2,mxConstants.STYLE_HORIZONTAL,1)};return !this[_0x5826[1737]]()};mxSwimlaneManager[_0x5826[202]][_0x5826[833]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){this[_0x5826[2779]](_0x1b20x2[_0x1b20x4])||this[_0x5826[2781]](_0x1b20x2[_0x1b20x4])}}finally{_0x1b20x3[_0x5826[476]]()}}};mxSwimlaneManager[_0x5826[202]][_0x5826[2781]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]](),_0x1b20x4=_0x1b20x3[_0x5826[1197]](_0x1b20x2),_0x1b20x5=_0x1b20x3[_0x5826[262]](_0x1b20x4),_0x1b20x9=null,_0x1b20xa=0;_0x1b20xa<_0x1b20x5;_0x1b20xa++){var _0x1b20x12=_0x1b20x3[_0x5826[263]](_0x1b20x4,_0x1b20xa);if(_0x1b20x12!=_0x1b20x2&&!this[_0x5826[2779]](_0x1b20x12)&&(_0x1b20x9=_0x1b20x3[_0x5826[1721]](_0x1b20x12),null!=_0x1b20x9)){break}};null!=_0x1b20x9&&this[_0x5826[2782]](_0x1b20x2,_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]])};mxSwimlaneManager[_0x5826[202]][_0x5826[837]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[1703]]()[_0x5826[502]]();_0x1b20x3[_0x5826[473]]();try{for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x2[_0x5826[67]];_0x1b20x4++){if(!this[_0x5826[2779]](_0x1b20x2[_0x1b20x4])){var _0x1b20x5=_0x1b20x3[_0x5826[1721]](_0x1b20x2[_0x1b20x4]);if(null!=_0x1b20x5){for(var _0x1b20x9= new mxRectangle(0,0,_0x1b20x5[_0x5826[117]],_0x1b20x5[_0x5826[119]]),_0x1b20xa=_0x1b20x2[_0x1b20x4],_0x1b20x12=_0x1b20xa;null!=_0x1b20x12;){var _0x1b20xa=_0x1b20x12,_0x1b20x12=_0x1b20x3[_0x5826[1197]](_0x1b20x12),_0x1b20x13=this[_0x5826[1179]][_0x5826[1730]](_0x1b20x12)?this[_0x5826[1179]][_0x5826[1731]](_0x1b20x12): new mxRectangle;_0x1b20x9[_0x5826[117]]+=_0x1b20x13[_0x5826[117]];_0x1b20x9[_0x5826[119]]+=_0x1b20x13[_0x5826[119]]};this[_0x5826[2782]](_0x1b20xa,_0x1b20x9[_0x5826[117]],_0x1b20x9[_0x5826[119]])}}}}finally{_0x1b20x3[_0x5826[476]]()}}};mxSwimlaneManager[_0x5826[202]][_0x5826[2782]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1703]]()[_0x5826[502]]();_0x1b20x5[_0x5826[473]]();try{if(!this[_0x5826[2779]](_0x1b20x2)){var _0x1b20x9=_0x1b20x5[_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x9){var _0x1b20xa=this[_0x5826[2780]](_0x1b20x2);if(_0x1b20xa&&_0x1b20x9[_0x5826[119]]!=_0x1b20x4||!_0x1b20xa&&_0x1b20x9[_0x5826[117]]!=_0x1b20x3){_0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20xa?_0x1b20x9[_0x5826[119]]=_0x1b20x4:_0x1b20x9[_0x5826[117]]=_0x1b20x3,_0x1b20x5[_0x5826[1724]](_0x1b20x2,_0x1b20x9)}}};var _0x1b20x12=this[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)?this[_0x5826[1179]][_0x5826[1731]](_0x1b20x2): new mxRectangle;_0x1b20x3-=_0x1b20x12[_0x5826[117]];_0x1b20x4-=_0x1b20x12[_0x5826[119]];for(var _0x1b20x13=_0x1b20x5[_0x5826[262]](_0x1b20x2),_0x1b20x9=0;_0x1b20x9<_0x1b20x13;_0x1b20x9++){var _0x1b20x14=_0x1b20x5[_0x5826[263]](_0x1b20x2,_0x1b20x9);this[_0x5826[2782]](_0x1b20x14,_0x1b20x3,_0x1b20x4)}}finally{_0x1b20x5[_0x5826[476]]()}};mxSwimlaneManager[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1178]](null)};function mxTemporaryCellStates(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[441]]=_0x1b20x2;_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:1;this[_0x5826[2783]]=_0x1b20x2[_0x5826[517]]();this[_0x5826[2784]]=_0x1b20x2[_0x5826[2312]]();this[_0x5826[2785]]=_0x1b20x2[_0x5826[518]]();_0x1b20x2[_0x5826[1517]]( new mxDictionary);_0x1b20x2[_0x5826[2262]](_0x1b20x3);if(null!=_0x1b20x4){_0x1b20x3=_0x1b20x2[_0x5826[1230]]( new mxCell);for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){_0x1b20x2[_0x5826[2267]](_0x1b20x3,_0x1b20x4[_0x1b20x5])};for(var _0x1b20x9=null,_0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]];_0x1b20x5++){var _0x1b20xa=_0x1b20x2[_0x5826[2268]](_0x1b20x3,_0x1b20x4[_0x1b20x5]);null==_0x1b20x9?_0x1b20x9=_0x1b20xa:_0x1b20x9[_0x5826[99]](_0x1b20xa)};null==_0x1b20x9&&(_0x1b20x9= new mxRectangle);_0x1b20x2[_0x5826[2256]](_0x1b20x9)}}mxTemporaryCellStates[_0x5826[202]][_0x5826[441]]=null;mxTemporaryCellStates[_0x5826[202]][_0x5826[2784]]=null;mxTemporaryCellStates[_0x5826[202]][_0x5826[2783]]=null;mxTemporaryCellStates[_0x5826[202]][_0x5826[2785]]=null;mxTemporaryCellStates[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[441]][_0x5826[2262]](this[_0x5826[2785]]);this[_0x5826[441]][_0x5826[1517]](this[_0x5826[2784]]);this[_0x5826[441]][_0x5826[2256]](this[_0x5826[2783]])};function mxCellStatePreview(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[2786]]={}}mxCellStatePreview[_0x5826[202]][_0x5826[1179]]=null;mxCellStatePreview[_0x5826[202]][_0x5826[2786]]=null;mxCellStatePreview[_0x5826[202]][_0x5826[2787]]=0;mxCellStatePreview[_0x5826[202]][_0x5826[1107]]=function(){return 0==this[_0x5826[2787]]};mxCellStatePreview[_0x5826[202]][_0x5826[1194]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=null!=_0x1b20x5?_0x1b20x5:!0;_0x1b20x9=null!=_0x1b20x9?_0x1b20x9:!0;var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x2[_0x5826[246]]),_0x1b20x12=this[_0x5826[2786]][_0x1b20xa];null==_0x1b20x12?(_0x1b20x12= new mxPoint(_0x1b20x3,_0x1b20x4),this[_0x5826[2786]][_0x1b20xa]=_0x1b20x12,this[_0x5826[2787]]++):_0x1b20x5?(_0x1b20x12[_0x5826[2788]]+=_0x1b20x3,_0x1b20x12[_0x5826[2789]]+=_0x1b20x4):(_0x1b20x12[_0x5826[2788]]=_0x1b20x3,_0x1b20x12[_0x5826[2789]]=_0x1b20x4);_0x1b20x9&&this[_0x5826[2790]](_0x1b20x2);return _0x1b20x12};mxCellStatePreview[_0x5826[202]][_0x5826[539]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=_0x1b20x3[_0x5826[501]](),_0x1b20x5;for(_0x1b20x5 in this[_0x5826[2786]]){var _0x1b20x9=mxCellPath[_0x5826[2791]](_0x1b20x4,_0x1b20x5),_0x1b20xa=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x9),_0x1b20x12=this[_0x5826[2786]][_0x1b20x5],_0x1b20x9=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3[_0x5826[1197]](_0x1b20x9));this[_0x5826[2792]](_0x1b20x9,_0x1b20xa,_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]])};for(_0x1b20x5 in this[_0x5826[2786]]){_0x1b20x9=mxCellPath[_0x5826[2791]](_0x1b20x4,_0x1b20x5),_0x1b20xa=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x9),_0x1b20x12=this[_0x5826[2786]][_0x1b20x5],_0x1b20x9=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3[_0x5826[1197]](_0x1b20x9)),this[_0x5826[2793]](_0x1b20x9,_0x1b20xa,_0x1b20x12[_0x5826[235]],_0x1b20x12[_0x5826[236]],_0x1b20x2)}};mxCellStatePreview[_0x5826[202]][_0x5826[2792]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x3){var _0x1b20x9=this[_0x5826[1179]][_0x5826[502]]();if(_0x1b20x9[_0x5826[1193]](_0x1b20x3[_0x5826[246]])){_0x1b20x3[_0x5826[2080]]= !0;this[_0x5826[1179]][_0x5826[441]][_0x5826[2267]](_0x1b20x2,_0x1b20x3[_0x5826[246]]);_0x1b20x2=_0x1b20x9[_0x5826[1721]](_0x1b20x3[_0x5826[246]]);var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]);if((0!=_0x1b20x4||0!=_0x1b20x5)&&null!=_0x1b20x2&&(!_0x1b20x2[_0x5826[1500]]||null!=this[_0x5826[2786]][_0x1b20xa])){_0x1b20x3[_0x5826[235]]+=_0x1b20x4,_0x1b20x3[_0x5826[236]]+=_0x1b20x5}};_0x1b20x2=_0x1b20x9[_0x5826[262]](_0x1b20x3[_0x5826[246]]);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x2;_0x1b20xa++){this[_0x5826[2792]](_0x1b20x3,this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x9[_0x5826[263]](_0x1b20x3[_0x5826[246]],_0x1b20xa)),_0x1b20x4,_0x1b20x5)}}};mxCellStatePreview[_0x5826[202]][_0x5826[2793]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x3){_0x1b20x3[_0x5826[2080]]= !0;this[_0x5826[1179]][_0x5826[441]][_0x5826[2268]](_0x1b20x2,_0x1b20x3[_0x5826[246]]);var _0x1b20xa=mxCellPath[_0x5826[385]](_0x1b20x3[_0x5826[246]]),_0x1b20x12=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x13=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x3[_0x5826[246]]);if((0!=_0x1b20x4||0!=_0x1b20x5)&&null!=_0x1b20x13&&_0x1b20x13[_0x5826[1500]]&&_0x1b20x12[_0x5826[1193]](_0x1b20x3[_0x5826[246]])&&(null==_0x1b20x2||_0x1b20x12[_0x5826[1193]](_0x1b20x2[_0x5826[246]])||null!=this[_0x5826[2786]][_0x1b20xa])){_0x1b20x3[_0x5826[235]]+=_0x1b20x4,_0x1b20x3[_0x5826[236]]+=_0x1b20x5,this[_0x5826[1179]][_0x5826[259]][_0x5826[258]](_0x1b20x3)};null!=_0x1b20x9&&_0x1b20x9(_0x1b20x3);_0x1b20x2=_0x1b20x12[_0x5826[262]](_0x1b20x3[_0x5826[246]]);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x2;_0x1b20xa++){this[_0x5826[2793]](_0x1b20x3,this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x12[_0x5826[263]](_0x1b20x3[_0x5826[246]],_0x1b20xa)),_0x1b20x4,_0x1b20x5,_0x1b20x9)}}};mxCellStatePreview[_0x5826[202]][_0x5826[2790]]=function(_0x1b20x2){for(var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=_0x1b20x3[_0x5826[1707]](_0x1b20x2[_0x5826[246]]),_0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){var _0x1b20x9=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3[_0x5826[1708]](_0x1b20x2[_0x5826[246]],_0x1b20x5));null!=_0x1b20x9&&this[_0x5826[1194]](_0x1b20x9,0,0)}};function mxConnectionConstraint(_0x1b20x2,_0x1b20x3){this[_0x5826[2546]]=_0x1b20x2;this[_0x5826[591]]=null!=_0x1b20x3?_0x1b20x3:!0}mxConnectionConstraint[_0x5826[202]][_0x5826[2546]]=null;mxConnectionConstraint[_0x5826[202]][_0x5826[591]]=null;function mxGraphHandler(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[1179]][_0x5826[1133]](this);this[_0x5826[2730]]=mxUtils[_0x5826[885]](this,function(){this[_0x5826[2794]]()});this[_0x5826[1179]][_0x5826[169]](mxEvent.PAN,this[_0x5826[2730]])}mxGraphHandler[_0x5826[202]][_0x5826[1179]]=null;mxGraphHandler[_0x5826[202]][_0x5826[2795]]=mxClient[_0x5826[80]]?20:50;mxGraphHandler[_0x5826[202]][_0x5826[984]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[2796]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[2797]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[2798]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[990]]= !1;mxGraphHandler[_0x5826[202]][_0x5826[2799]]=null;mxGraphHandler[_0x5826[202]][_0x5826[2800]]=null;mxGraphHandler[_0x5826[202]][_0x5826[2801]]=null;mxGraphHandler[_0x5826[202]][_0x5826[2802]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[2803]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[846]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[2804]]= !1;mxGraphHandler[_0x5826[202]][_0x5826[2805]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[923]]=6;mxGraphHandler[_0x5826[202]][_0x5826[2806]]=_0x5826[586];mxGraphHandler[_0x5826[202]][_0x5826[2807]]= !1;mxGraphHandler[_0x5826[202]][_0x5826[253]]=null;mxGraphHandler[_0x5826[202]][_0x5826[2808]]= !1;mxGraphHandler[_0x5826[202]][_0x5826[2809]]= !0;mxGraphHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxGraphHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[2810]]=function(){return this[_0x5826[2797]]};mxGraphHandler[_0x5826[202]][_0x5826[2811]]=function(_0x1b20x2){this[_0x5826[2797]]=_0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[2812]]=function(){return this[_0x5826[2798]]};mxGraphHandler[_0x5826[202]][_0x5826[2813]]=function(_0x1b20x2){this[_0x5826[2798]]=_0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[2814]]=function(){return this[_0x5826[2803]]};mxGraphHandler[_0x5826[202]][_0x5826[2815]]=function(_0x1b20x2){this[_0x5826[2803]]=_0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[2816]]=function(){return this[_0x5826[846]]};mxGraphHandler[_0x5826[202]][_0x5826[2817]]=function(_0x1b20x2){this[_0x5826[846]]=_0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[2818]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[736]]()};mxGraphHandler[_0x5826[202]][_0x5826[2819]]=function(_0x1b20x2){return this[_0x5826[1179]][_0x5826[2692]](_0x1b20x2)};mxGraphHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[994]]()&&this[_0x5826[1179]][_0x5826[994]]()&&!this[_0x5826[1179]][_0x5826[2579]](_0x1b20x3[_0x5826[727]]())&&null!=_0x1b20x3[_0x5826[248]]()){var _0x1b20x4=this[_0x5826[2818]](_0x1b20x3);this[_0x5826[246]]=null;this[_0x5826[2820]]=this[_0x5826[2819]](_0x1b20x4);this[_0x5826[2814]]()&&!this[_0x5826[2820]]&&this[_0x5826[1179]][_0x5826[2459]](_0x1b20x4,_0x1b20x3[_0x5826[727]]());if(this[_0x5826[2812]]()){var _0x1b20x5=this[_0x5826[1179]][_0x5826[251]],_0x1b20x9=_0x1b20x5[_0x5826[1721]](_0x1b20x4);this[_0x5826[1179]][_0x5826[1712]](_0x1b20x4)&&(!_0x1b20x5[_0x5826[250]](_0x1b20x4)||1<this[_0x5826[1179]][_0x5826[2694]]()||null!=_0x1b20x9[_0x5826[1525]]&&0<_0x1b20x9[_0x5826[1525]][_0x5826[67]]||null==_0x1b20x5[_0x5826[1709]](_0x1b20x4,!0)||null==_0x1b20x5[_0x5826[1709]](_0x1b20x4,!1)||this[_0x5826[1179]][_0x5826[2406]]||this[_0x5826[1179]][_0x5826[2574]](_0x1b20x3[_0x5826[727]]())&&this[_0x5826[1179]][_0x5826[2617]]())&&this[_0x5826[861]](_0x1b20x4,_0x1b20x3[_0x5826[730]](),_0x1b20x3[_0x5826[732]]());this[_0x5826[2821]]= !0;!mxClient[_0x5826[75]]&&!mxClient[_0x5826[76]]||_0x5826[2822]!=_0x1b20x3[_0x5826[728]]()[_0x5826[301]]?_0x1b20x3[_0x5826[722]]():mxClient[_0x5826[75]]&&_0x5826[2822]==_0x1b20x3[_0x5826[728]]()[_0x5826[301]]&&(this[_0x5826[2821]]= !1,this[_0x5826[2823]]=null)}}};mxGraphHandler[_0x5826[202]][_0x5826[1010]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[902]](),_0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=mxUtils[_0x5826[885]](this,function(_0x1b20x2){return null!=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x2)&&_0x1b20x3[_0x5826[1193]](_0x1b20x2)&&null!=_0x1b20x3[_0x5826[1721]](_0x1b20x2)&&!_0x1b20x3[_0x5826[1721]](_0x1b20x2)[_0x5826[1500]]});return this[_0x5826[1179]][_0x5826[441]][_0x5826[2313]](_0x1b20x3[_0x5826[1921]](_0x1b20x4,_0x1b20x2))};mxGraphHandler[_0x5826[202]][_0x5826[2690]]=function(_0x1b20x2){return !this[_0x5826[2820]]&&this[_0x5826[1179]][_0x5826[1712]](_0x1b20x2)?[_0x1b20x2]:this[_0x5826[1179]][_0x5826[2629]](this[_0x5826[1179]][_0x5826[897]]())};mxGraphHandler[_0x5826[202]][_0x5826[2824]]=function(_0x1b20x2){_0x1b20x2=this[_0x5826[1613]](_0x1b20x2);null!=_0x1b20x2&&(_0x1b20x2[_0x5826[244]](-1,-1),_0x1b20x2[_0x5826[117]]<this[_0x5826[923]]&&(_0x1b20x2[_0x5826[235]]-=(this[_0x5826[923]]-_0x1b20x2[_0x5826[117]])/2,_0x1b20x2[_0x5826[117]]=this[_0x5826[923]]),_0x1b20x2[_0x5826[119]]<this[_0x5826[923]]&&(_0x1b20x2[_0x5826[236]]-=(this[_0x5826[923]]-_0x1b20x2[_0x5826[119]])/2,_0x1b20x2[_0x5826[119]]=this[_0x5826[923]]));return _0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[1613]]=function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=0;_0x1b20x5<_0x1b20x2[_0x5826[67]];_0x1b20x5++){if(_0x1b20x4[_0x5826[1193]](_0x1b20x2[_0x1b20x5])||_0x1b20x4[_0x5826[250]](_0x1b20x2[_0x1b20x5])){var _0x1b20x9=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x2[_0x1b20x5]);if(null!=_0x1b20x9){var _0x1b20xa=_0x1b20x9;_0x1b20x4[_0x5826[1193]](_0x1b20x2[_0x1b20x5])&&(null!=_0x1b20x9[_0x5826[253]]&&null!=_0x1b20x9[_0x5826[253]][_0x5826[1563]])&&(_0x1b20xa=_0x1b20x9[_0x5826[253]][_0x5826[1563]]);null==_0x1b20x3?_0x1b20x3= new mxRectangle(_0x1b20xa[_0x5826[235]],_0x1b20xa[_0x5826[236]],_0x1b20xa[_0x5826[117]],_0x1b20xa[_0x5826[119]]):_0x1b20x3[_0x5826[99]](_0x1b20xa)}}}};return _0x1b20x3};mxGraphHandler[_0x5826[202]][_0x5826[2825]]=function(_0x1b20x2){_0x1b20x2= new mxRectangleShape(_0x1b20x2,null,this[_0x5826[2806]]);_0x1b20x2[_0x5826[1522]]= !0;this[_0x5826[2807]]?(_0x1b20x2[_0x5826[507]]=mxConstants[_0x5826[1656]],_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[526]])):(_0x1b20x2[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]],_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()),_0x1b20x2[_0x5826[1229]]= !1);return _0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[861]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[246]]=_0x1b20x2;this[_0x5826[2823]]=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],_0x1b20x3,_0x1b20x4);this[_0x5826[895]]=this[_0x5826[2690]](this[_0x5826[246]]);this[_0x5826[1562]]=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1799]](this[_0x5826[895]]);this[_0x5826[2826]]=this[_0x5826[2824]](this[_0x5826[895]]);this[_0x5826[990]]&&(this[_0x5826[2799]]= new mxGuide(this[_0x5826[1179]],this[_0x5826[1010]]()))};mxGraphHandler[_0x5826[202]][_0x5826[2827]]=function(_0x1b20x2){return null!=this[_0x5826[2799]]?this[_0x5826[2799]][_0x5826[1019]](_0x1b20x2[_0x5826[727]]()):!0};mxGraphHandler[_0x5826[202]][_0x5826[1021]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[2808]]?this[_0x5826[1179]][_0x5826[441]][_0x5826[255]]:1;_0x1b20x2[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[235]]/_0x1b20x3)*_0x1b20x3;_0x1b20x2[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[236]]/_0x1b20x3)*_0x1b20x3;return _0x1b20x2};mxGraphHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]];if(!_0x1b20x3[_0x5826[721]]()&&_0x1b20x4[_0x5826[1009]]&&null!=this[_0x5826[246]]&&null!=this[_0x5826[2823]]&&null!=this[_0x5826[1562]]){var _0x1b20x5=mxUtils[_0x5826[2196]](_0x1b20x4[_0x5826[526]],_0x1b20x3[_0x5826[730]](),_0x1b20x3[_0x5826[732]]()),_0x1b20x9=_0x1b20x5[_0x5826[235]]-this[_0x5826[2823]][_0x5826[235]],_0x1b20xa=_0x1b20x5[_0x5826[236]]-this[_0x5826[2823]][_0x5826[236]],_0x1b20x5=_0x1b20x4[_0x5826[2353]];if(null!=this[_0x5826[253]]||Math[_0x5826[425]](_0x1b20x9)>_0x1b20x5||Math[_0x5826[425]](_0x1b20xa)>_0x1b20x5){null==this[_0x5826[1016]]&&(this[_0x5826[1016]]= new mxCellHighlight(this[_0x5826[1179]],mxConstants.DROP_TARGET_COLOR,3));null==this[_0x5826[253]]&&(this[_0x5826[253]]=this[_0x5826[2825]](this[_0x5826[1562]]));var _0x1b20x12=_0x1b20x4[_0x5826[1018]](_0x1b20x3[_0x5826[727]]()),_0x1b20x5=!0;if(null!=this[_0x5826[2799]]&&this[_0x5826[2827]](_0x1b20x3)){_0x1b20xa=this[_0x5826[2799]][_0x5826[582]](this[_0x5826[1562]], new mxPoint(_0x1b20x9,_0x1b20xa),_0x1b20x12),_0x1b20x5= !1,_0x1b20x9=_0x1b20xa[_0x5826[235]],_0x1b20xa=_0x1b20xa[_0x5826[236]]}else {if(_0x1b20x12){var _0x1b20x13=_0x1b20x4[_0x5826[249]]()[_0x5826[513]],_0x1b20x14=_0x1b20x4[_0x5826[249]]()[_0x5826[255]],_0x1b20x12=this[_0x5826[1562]][_0x5826[235]]-(_0x1b20x4[_0x5826[1021]](this[_0x5826[1562]][_0x5826[235]]/_0x1b20x14-_0x1b20x13[_0x5826[235]])+_0x1b20x13[_0x5826[235]])*_0x1b20x14,_0x1b20x13=this[_0x5826[1562]][_0x5826[236]]-(_0x1b20x4[_0x5826[1021]](this[_0x5826[1562]][_0x5826[236]]/_0x1b20x14-_0x1b20x13[_0x5826[236]])+_0x1b20x13[_0x5826[236]])*_0x1b20x14,_0x1b20xa=this[_0x5826[1021]]( new mxPoint(_0x1b20x9,_0x1b20xa)),_0x1b20x9=_0x1b20xa[_0x5826[235]]-_0x1b20x12,_0x1b20xa=_0x1b20xa[_0x5826[236]]-_0x1b20x13}};null!=this[_0x5826[2799]]&&_0x1b20x5&&this[_0x5826[2799]][_0x5826[801]]();_0x1b20x4[_0x5826[2578]](_0x1b20x3[_0x5826[727]]())&&(Math[_0x5826[425]](_0x1b20x9)>Math[_0x5826[425]](_0x1b20xa)?_0x1b20xa=0:_0x1b20x9=0);this[_0x5826[2800]]=_0x1b20x9;this[_0x5826[2801]]=_0x1b20xa;this[_0x5826[2794]]();_0x1b20x5=null;_0x1b20xa=_0x1b20x3[_0x5826[736]]();_0x1b20x4[_0x5826[1015]]()&&this[_0x5826[2796]]&&(_0x1b20x5=_0x1b20x4[_0x5826[564]](this[_0x5826[895]],_0x1b20x3[_0x5826[727]](),_0x1b20xa));_0x1b20x12=_0x1b20x5;for(_0x1b20x13=_0x1b20x4[_0x5826[502]]();null!=_0x1b20x12&&_0x1b20x12!=this[_0x5826[895]][0];){_0x1b20x12=_0x1b20x13[_0x5826[1197]](_0x1b20x12)};var _0x1b20x14=_0x1b20x4[_0x5826[2574]](_0x1b20x3[_0x5826[727]]())&&_0x1b20x4[_0x5826[2617]]()&&this[_0x5826[2810]](),_0x1b20x9=_0x1b20x4[_0x5826[249]]()[_0x5826[248]](_0x1b20x5),_0x1b20x15=!1;null!=_0x1b20x9&&null==_0x1b20x12&&(_0x1b20x13[_0x5826[1197]](this[_0x5826[246]])!=_0x1b20x5||_0x1b20x14)?(this[_0x5826[772]]!=_0x1b20x5&&(this[_0x5826[772]]=_0x1b20x5,this[_0x5826[2828]](mxConstants.DROP_TARGET_COLOR)),_0x1b20x15= !0):(this[_0x5826[772]]=null,this[_0x5826[2804]]&&(null!=_0x1b20xa&&1==this[_0x5826[895]][_0x5826[67]]&&_0x1b20x4[_0x5826[502]]()[_0x5826[1193]](_0x1b20xa)&&_0x1b20x4[_0x5826[2565]](_0x1b20xa))&&(_0x1b20x9=_0x1b20x4[_0x5826[249]]()[_0x5826[248]](_0x1b20xa),null!=_0x1b20x9&&(_0x1b20x4=null==_0x1b20x4[_0x5826[2500]](null,this[_0x5826[246]],_0x1b20xa)?mxConstants[_0x5826[2829]]:mxConstants[_0x5826[2830]],this[_0x5826[2828]](_0x1b20x4),_0x1b20x15= !0)));null!=_0x1b20x9&&_0x1b20x15?this[_0x5826[1016]][_0x5826[1016]](_0x1b20x9):this[_0x5826[1016]][_0x5826[801]]()};_0x1b20x3[_0x5826[722]]();mxEvent[_0x5826[722]](_0x1b20x3[_0x5826[727]]())}else {if((this[_0x5826[2812]]()||this[_0x5826[2810]]())&&this[_0x5826[2802]]&&!_0x1b20x3[_0x5826[721]]()&&null!=_0x1b20x3[_0x5826[248]]()&&!_0x1b20x4[_0x5826[1009]]){_0x1b20x9=_0x1b20x4[_0x5826[2599]](_0x1b20x3[_0x5826[736]]()),null==_0x1b20x9&&(_0x1b20x4[_0x5826[994]]()&&_0x1b20x4[_0x5826[1712]](_0x1b20x3[_0x5826[736]]()))&&(_0x1b20x9=_0x1b20x4[_0x5826[502]]()[_0x5826[250]](_0x1b20x3[_0x5826[736]]())?mxConstants[_0x5826[2831]]:mxConstants[_0x5826[2832]]),_0x1b20x3[_0x5826[248]]()[_0x5826[1609]](_0x1b20x9),_0x1b20x3[_0x5826[722]]()}}};mxGraphHandler[_0x5826[202]][_0x5826[2794]]=function(){null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](this[_0x5826[2826]][_0x5826[235]]+this[_0x5826[2800]]-this[_0x5826[1179]][_0x5826[1136]]),Math[_0x5826[488]](this[_0x5826[2826]][_0x5826[236]]+this[_0x5826[2801]]-this[_0x5826[1179]][_0x5826[1137]]),this[_0x5826[2826]][_0x5826[117]],this[_0x5826[2826]][_0x5826[119]]),this[_0x5826[253]][_0x5826[258]]())};mxGraphHandler[_0x5826[202]][_0x5826[2828]]=function(_0x1b20x2){null!=this[_0x5826[1016]]&&this[_0x5826[1016]][_0x5826[2828]](_0x1b20x2)};mxGraphHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()){var _0x1b20x4=this[_0x5826[1179]];if(null!=this[_0x5826[246]]&&null!=this[_0x5826[2823]]&&null!=this[_0x5826[253]]&&null!=this[_0x5826[2800]]&&null!=this[_0x5826[2801]]){var _0x1b20x5=_0x1b20x4[_0x5826[249]]()[_0x5826[255]],_0x1b20x9=_0x1b20x4[_0x5826[2574]](_0x1b20x3[_0x5826[727]]())&&_0x1b20x4[_0x5826[2617]]()&&this[_0x5826[2810]](),_0x1b20xa=this[_0x5826[2800]]/_0x1b20x5,_0x1b20x5=this[_0x5826[2801]]/_0x1b20x5,_0x1b20x12=_0x1b20x3[_0x5826[736]]();this[_0x5826[2804]]&&null==this[_0x5826[772]]&&null!=_0x1b20x12&&_0x1b20x4[_0x5826[502]]()[_0x5826[1193]](_0x1b20x12)&&_0x1b20x4[_0x5826[2565]](_0x1b20x12)&&_0x1b20x4[_0x5826[2581]](null,this[_0x5826[246]],_0x1b20x12)?_0x1b20x4[_0x5826[2433]][_0x5826[807]](this[_0x5826[246]],_0x1b20x12,_0x1b20x3[_0x5826[727]]()):(_0x1b20x12=this[_0x5826[772]],_0x1b20x4[_0x5826[2655]]()&&_0x1b20x4[_0x5826[2686]](_0x1b20x12,this[_0x5826[895]],_0x1b20x3[_0x5826[727]]())?_0x1b20x4[_0x5826[853]](_0x1b20x12,this[_0x5826[895]],null,_0x1b20xa,_0x1b20x5):this[_0x5826[834]](this[_0x5826[895]],_0x1b20xa,_0x1b20x5,_0x1b20x9,this[_0x5826[772]],_0x1b20x3[_0x5826[727]]()))}else {this[_0x5826[2814]]()&&(this[_0x5826[2820]]&&null!=this[_0x5826[246]])&&this[_0x5826[2833]](_0x1b20x3)}};this[_0x5826[2821]]&&_0x1b20x3[_0x5826[722]]();this[_0x5826[862]]()};mxGraphHandler[_0x5826[202]][_0x5826[2833]]=function(_0x1b20x2){this[_0x5826[1179]][_0x5826[2459]](this[_0x5826[246]],_0x1b20x2[_0x5826[727]]())};mxGraphHandler[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[2834]]();this[_0x5826[2820]]=this[_0x5826[2821]]= !1;this[_0x5826[772]]=this[_0x5826[246]]=this[_0x5826[2823]]=this[_0x5826[2835]]=this[_0x5826[2801]]=this[_0x5826[2800]]=null};mxGraphHandler[_0x5826[202]][_0x5826[2836]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1193]](_0x1b20x2)){_0x1b20x2=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);_0x1b20x4=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x4),mxEvent[_0x5826[733]](_0x1b20x4));var _0x1b20x5=mxUtils[_0x5826[431]](mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION)||0);if(0!=_0x1b20x5){_0x1b20x3=Math[_0x5826[426]](-_0x1b20x5);var _0x1b20x5=Math[_0x5826[427]](-_0x1b20x5),_0x1b20x9= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]());_0x1b20x4=mxUtils[_0x5826[432]](_0x1b20x4,_0x1b20x3,_0x1b20x5,_0x1b20x9)};return null!=_0x1b20x2&&!mxUtils[_0x5826[442]](_0x1b20x2,_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]])};return !1};mxGraphHandler[_0x5826[202]][_0x5826[834]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){_0x1b20x5&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[2615]](_0x1b20x2));null==_0x1b20x9&&(this[_0x5826[2816]]()&&this[_0x5826[2836]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](this[_0x5826[246]]),_0x1b20x2,_0x1b20xa))&&(_0x1b20x9=this[_0x5826[1179]][_0x5826[902]]());_0x1b20x2=this[_0x5826[1179]][_0x5826[834]](_0x1b20x2,_0x1b20x3-this[_0x5826[1179]][_0x5826[1136]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x4-this[_0x5826[1179]][_0x5826[1137]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x5,_0x1b20x9,_0x1b20xa);this[_0x5826[2814]]()&&this[_0x5826[2805]]&&this[_0x5826[1179]][_0x5826[2564]](_0x1b20x2[0]);_0x1b20x5&&this[_0x5826[1179]][_0x5826[904]](_0x1b20x2)};mxGraphHandler[_0x5826[202]][_0x5826[2834]]=function(){null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null);null!=this[_0x5826[2799]]&&(this[_0x5826[2799]][_0x5826[515]](),this[_0x5826[2799]]=null);null!=this[_0x5826[1016]]&&(this[_0x5826[1016]][_0x5826[515]](),this[_0x5826[1016]]=null)};mxGraphHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[1148]](this);this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2730]]);this[_0x5826[2834]]()};function mxPanningHandler(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[1033]]=_0x1b20x3,this[_0x5826[1179]][_0x5826[1133]](this),this[_0x5826[176]]())}mxPanningHandler[_0x5826[202]]= new mxPopupMenu;mxPanningHandler[_0x5826[202]][_0x5826[196]]=mxPanningHandler;mxPanningHandler[_0x5826[202]][_0x5826[1179]]=null;mxPanningHandler[_0x5826[202]][_0x5826[2837]]=null;mxPanningHandler[_0x5826[202]][_0x5826[2838]]=null;mxPanningHandler[_0x5826[202]][_0x5826[2839]]= !0;mxPanningHandler[_0x5826[202]][_0x5826[2840]]= !1;mxPanningHandler[_0x5826[202]][_0x5826[2841]]= !0;mxPanningHandler[_0x5826[202]][_0x5826[2842]]= !0;mxPanningHandler[_0x5826[202]][_0x5826[2843]]= !1;mxPanningHandler[_0x5826[202]][_0x5826[2844]]= !0;mxPanningHandler[_0x5826[202]][_0x5826[2845]]= !1;mxPanningHandler[_0x5826[202]][_0x5826[2431]]= !0;mxPanningHandler[_0x5826[202]][_0x5826[2846]]=function(){return this[_0x5826[2431]]};mxPanningHandler[_0x5826[202]][_0x5826[2847]]=function(_0x1b20x2){this[_0x5826[2431]]=_0x1b20x2};mxPanningHandler[_0x5826[202]][_0x5826[176]]=function(){mxPopupMenu[_0x5826[202]][_0x5826[176]][_0x5826[183]](this);mxEvent[_0x5826[169]](this[_0x5826[485]],mxClient[_0x5826[754]]?_0x5826[756]:_0x5826[752],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[2276]][_0x5826[801]]()}))};mxPanningHandler[_0x5826[202]][_0x5826[2848]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[727]]();return this[_0x5826[2840]]&&(this[_0x5826[2843]]||null==_0x1b20x2[_0x5826[248]]())&&mxEvent[_0x5826[1158]](_0x1b20x3)||mxEvent[_0x5826[775]](_0x1b20x3)&&mxEvent[_0x5826[774]](_0x1b20x3)||this[_0x5826[2839]]&&mxEvent[_0x5826[737]](_0x1b20x3)};mxPanningHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[994]]()){this[_0x5826[1032]]();this[_0x5826[2741]]=-this[_0x5826[1179]][_0x5826[526]][_0x5826[360]];this[_0x5826[2742]]=-this[_0x5826[1179]][_0x5826[526]][_0x5826[190]];var _0x1b20x4=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],_0x1b20x3[_0x5826[730]](),_0x1b20x3[_0x5826[732]]());this[_0x5826[2837]]=_0x1b20x4[_0x5826[235]];this[_0x5826[2838]]=_0x1b20x4[_0x5826[236]];this[_0x5826[2849]]=this[_0x5826[737]](_0x1b20x3);this[_0x5826[2850]]=this[_0x5826[2846]]()&&this[_0x5826[2848]](_0x1b20x3);this[_0x5826[2739]]=_0x1b20x3[_0x5826[730]]();this[_0x5826[2740]]=_0x1b20x3[_0x5826[732]]();this[_0x5826[2850]]&&this[_0x5826[2851]](_0x1b20x3)}};mxPanningHandler[_0x5826[202]][_0x5826[2851]]=function(_0x1b20x2){_0x1b20x2[_0x5826[722]]()};mxPanningHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x3[_0x5826[730]]()-this[_0x5826[2739]],_0x1b20x5=_0x1b20x3[_0x5826[732]]()-this[_0x5826[2740]];if(this[_0x5826[1124]]){this[_0x5826[2844]]&&(this[_0x5826[2845]]&&(_0x1b20x4=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x4),_0x1b20x5=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x5)),this[_0x5826[1179]][_0x5826[1135]](_0x1b20x4+this[_0x5826[2741]],_0x1b20x5+this[_0x5826[2742]])),this[_0x5826[746]]( new mxEventObject(mxEvent.PAN,_0x5826[763],_0x1b20x3)),_0x1b20x3[_0x5826[722]]()}else {if(this[_0x5826[2850]]){var _0x1b20x9=this[_0x5826[1124]];this[_0x5826[1124]]=Math[_0x5826[425]](_0x1b20x4)>this[_0x5826[1179]][_0x5826[2353]]||Math[_0x5826[425]](_0x1b20x5)>this[_0x5826[1179]][_0x5826[2353]];!_0x1b20x9&&this[_0x5826[1124]]&&this[_0x5826[746]]( new mxEventObject(mxEvent.PAN_START,_0x5826[763],_0x1b20x3))}}};mxPanningHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=Math[_0x5826[425]](_0x1b20x3[_0x5826[730]]()-this[_0x5826[2739]]),_0x1b20x5=Math[_0x5826[425]](_0x1b20x3[_0x5826[732]]()-this[_0x5826[2740]]);if(this[_0x5826[1124]]){if(!this[_0x5826[1179]][_0x5826[2365]]||!mxUtils[_0x5826[1134]](this[_0x5826[1179]][_0x5826[526]])){_0x1b20x4=_0x1b20x3[_0x5826[730]]()-this[_0x5826[2739]];_0x1b20x5=_0x1b20x3[_0x5826[732]]()-this[_0x5826[2740]];this[_0x5826[2845]]&&(_0x1b20x4=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x4),_0x1b20x5=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x5));var _0x1b20x9=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20xa=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]];this[_0x5826[1179]][_0x5826[1135]](0,0);this[_0x5826[1135]](_0x1b20xa[_0x5826[235]]+_0x1b20x4/_0x1b20x9,_0x1b20xa[_0x5826[236]]+_0x1b20x5/_0x1b20x9)};this[_0x5826[1124]]= !1;this[_0x5826[746]]( new mxEventObject(mxEvent.PAN_END,_0x5826[763],_0x1b20x3));_0x1b20x3[_0x5826[722]]()}else {this[_0x5826[2849]]&&(_0x1b20x4<this[_0x5826[1179]][_0x5826[2353]]&&_0x1b20x5<this[_0x5826[1179]][_0x5826[2353]])&&(_0x1b20x4=this[_0x5826[2852]](_0x1b20x3),this[_0x5826[1179]][_0x5826[994]]()&&this[_0x5826[2841]]&&null!=_0x1b20x4&&!this[_0x5826[1179]][_0x5826[2692]](_0x1b20x4)?this[_0x5826[1179]][_0x5826[2450]](_0x1b20x4):this[_0x5826[2842]]&&null==_0x1b20x4&&this[_0x5826[1179]][_0x5826[2440]](),this[_0x5826[1179]][_0x5826[2276]][_0x5826[801]](),_0x1b20x5=mxUtils[_0x5826[444]](),_0x1b20x5= new mxPoint(_0x1b20x3[_0x5826[730]]()+_0x1b20x5[_0x5826[235]],_0x1b20x3[_0x5826[732]]()+_0x1b20x5[_0x5826[236]]),this[_0x5826[152]](_0x1b20x5[_0x5826[235]]+1,_0x1b20x5[_0x5826[236]]+1,_0x1b20x4,_0x1b20x3[_0x5826[727]]()),_0x1b20x3[_0x5826[722]]())};this[_0x5826[2849]]=this[_0x5826[2850]]= !1};mxPanningHandler[_0x5826[202]][_0x5826[2852]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[736]]()};mxPanningHandler[_0x5826[202]][_0x5826[1135]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1147]](_0x1b20x2,_0x1b20x3)};mxPanningHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[1148]](this);mxPopupMenu[_0x5826[202]][_0x5826[515]][_0x5826[183]](this)};function mxCellMarker(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){mxEventSource[_0x5826[239]](this);null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[2853]]=null!=_0x1b20x3?_0x1b20x3:mxConstants[_0x5826[2854]],this[_0x5826[2855]]=null!=_0x1b20x3?_0x1b20x4:mxConstants[_0x5826[2856]],this[_0x5826[2857]]=null!=_0x1b20x5?_0x1b20x5:mxConstants[_0x5826[2858]],this[_0x5826[1016]]= new mxCellHighlight(_0x1b20x2))}mxUtils[_0x5826[1284]](mxCellMarker,mxEventSource);mxCellMarker[_0x5826[202]][_0x5826[1179]]=null;mxCellMarker[_0x5826[202]][_0x5826[984]]= !0;mxCellMarker[_0x5826[202]][_0x5826[2857]]=mxConstants[_0x5826[2858]];mxCellMarker[_0x5826[202]][_0x5826[2859]]= !1;mxCellMarker[_0x5826[202]][_0x5826[2853]]=null;mxCellMarker[_0x5826[202]][_0x5826[2855]]=null;mxCellMarker[_0x5826[202]][_0x5826[2860]]=null;mxCellMarker[_0x5826[202]][_0x5826[2861]]=null;mxCellMarker[_0x5826[202]][_0x5826[2862]]=null;mxCellMarker[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxCellMarker[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxCellMarker[_0x5826[202]][_0x5826[2863]]=function(_0x1b20x2){this[_0x5826[2857]]=_0x1b20x2};mxCellMarker[_0x5826[202]][_0x5826[2864]]=function(){return this[_0x5826[2857]]};mxCellMarker[_0x5826[202]][_0x5826[2865]]=function(_0x1b20x2){this[_0x5826[2859]]=_0x1b20x2};mxCellMarker[_0x5826[202]][_0x5826[2866]]=function(){return this[_0x5826[2859]]};mxCellMarker[_0x5826[202]][_0x5826[2867]]=function(){return null!=this[_0x5826[2861]]};mxCellMarker[_0x5826[202]][_0x5826[2868]]=function(){return this[_0x5826[2861]]};mxCellMarker[_0x5826[202]][_0x5826[2869]]=function(){return this[_0x5826[2862]]};mxCellMarker[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[2861]]=null;null!=this[_0x5826[2862]]&&(this[_0x5826[2862]]=null,this[_0x5826[2870]]())};mxCellMarker[_0x5826[202]][_0x5826[2871]]=function(_0x1b20x2){var _0x1b20x3=null;if(this[_0x5826[994]]()){var _0x1b20x3=this[_0x5826[248]](_0x1b20x2),_0x1b20x4=null!=_0x1b20x3?this[_0x5826[2872]](_0x1b20x3):!1;_0x1b20x2=this[_0x5826[2873]](_0x1b20x2[_0x5826[727]](),_0x1b20x3,_0x1b20x4);this[_0x5826[2861]]=_0x1b20x4?_0x1b20x3:null;if(_0x1b20x3!=this[_0x5826[2862]]||_0x1b20x2!=this[_0x5826[2860]]){this[_0x5826[2860]]=_0x1b20x2,null!=_0x1b20x3&&null!=this[_0x5826[2860]]?(this[_0x5826[2862]]=_0x1b20x3,this[_0x5826[811]]()):null!=this[_0x5826[2862]]&&(this[_0x5826[2862]]=null,this[_0x5826[2870]]())}};return _0x1b20x3};mxCellMarker[_0x5826[202]][_0x5826[2874]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);null!=_0x1b20x4&&(this[_0x5826[2860]]=null!=_0x1b20x3?_0x1b20x3:this[_0x5826[2853]],this[_0x5826[2862]]=_0x1b20x4,this[_0x5826[811]]())};mxCellMarker[_0x5826[202]][_0x5826[811]]=function(){this[_0x5826[1016]][_0x5826[2828]](this[_0x5826[2860]]);this[_0x5826[1016]][_0x5826[1016]](this[_0x5826[2862]]);this[_0x5826[746]]( new mxEventObject(mxEvent.MARK,_0x5826[724],this[_0x5826[2862]]))};mxCellMarker[_0x5826[202]][_0x5826[2870]]=function(){this[_0x5826[811]]()};mxCellMarker[_0x5826[202]][_0x5826[2872]]=function(_0x1b20x2){return !0};mxCellMarker[_0x5826[202]][_0x5826[2873]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x4?this[_0x5826[2853]]:this[_0x5826[2855]]};mxCellMarker[_0x5826[202]][_0x5826[248]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[249]]();cell=this[_0x5826[736]](_0x1b20x2);_0x1b20x3=this[_0x5826[2875]](_0x1b20x3[_0x5826[248]](cell));return null!=_0x1b20x3&&this[_0x5826[1825]](_0x1b20x3,_0x1b20x2)?_0x1b20x3:null};mxCellMarker[_0x5826[202]][_0x5826[736]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[736]]()};mxCellMarker[_0x5826[202]][_0x5826[2875]]=function(_0x1b20x2){return _0x1b20x2};mxCellMarker[_0x5826[202]][_0x5826[1825]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[2859]]?mxUtils[_0x5826[2876]](_0x1b20x2,_0x1b20x3[_0x5826[734]](),_0x1b20x3[_0x5826[735]](),this[_0x5826[2857]],mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[2877]]);this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[2877]]);this[_0x5826[1016]][_0x5826[515]]()};function mxSelectionCellsHandler(_0x1b20x2){mxEventSource[_0x5826[239]](this);this[_0x5826[1179]]=_0x1b20x2;this[_0x5826[2878]]= new mxDictionary;this[_0x5826[1179]][_0x5826[1133]](this);this[_0x5826[2731]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){this[_0x5826[994]]()&&this[_0x5826[802]]()});this[_0x5826[1179]][_0x5826[2435]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.TRANSLATE,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.DOWN,this[_0x5826[2731]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.UP,this[_0x5826[2731]])}mxUtils[_0x5826[1284]](mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler[_0x5826[202]][_0x5826[1179]]=null;mxSelectionCellsHandler[_0x5826[202]][_0x5826[984]]= !0;mxSelectionCellsHandler[_0x5826[202]][_0x5826[2731]]=null;mxSelectionCellsHandler[_0x5826[202]][_0x5826[2879]]=100;mxSelectionCellsHandler[_0x5826[202]][_0x5826[2878]]=null;mxSelectionCellsHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxSelectionCellsHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxSelectionCellsHandler[_0x5826[202]][_0x5826[2596]]=function(_0x1b20x2){return this[_0x5826[2878]][_0x5826[203]](_0x1b20x2)};mxSelectionCellsHandler[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[2878]][_0x5826[209]](function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[862]][_0x5826[183]](_0x1b20x3)})};mxSelectionCellsHandler[_0x5826[202]][_0x5826[802]]=function(){var _0x1b20x2=this[_0x5826[2878]];this[_0x5826[2878]]= new mxDictionary;for(var _0x1b20x3=this[_0x5826[1179]][_0x5826[897]](),_0x1b20x4=0;_0x1b20x4<_0x1b20x3[_0x5826[67]];_0x1b20x4++){var _0x1b20x5=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3[_0x1b20x4]);if(null!=_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[205]](_0x1b20x3[_0x1b20x4]);null!=_0x1b20x9&&(_0x1b20x9[_0x5826[724]]!=_0x1b20x5?(_0x1b20x9[_0x5826[515]](),_0x1b20x9=null):_0x1b20x9[_0x5826[258]]());null==_0x1b20x9&&(_0x1b20x9=this[_0x5826[1179]][_0x5826[2709]](_0x1b20x5),this[_0x5826[746]]( new mxEventObject(mxEvent.ADD,_0x5826[724],_0x1b20x5)));null!=_0x1b20x9&&this[_0x5826[2878]][_0x5826[204]](_0x1b20x3[_0x1b20x4],_0x1b20x9)}};_0x1b20x2[_0x5826[209]](mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){this[_0x5826[746]]( new mxEventObject(mxEvent.REMOVE,_0x5826[724],_0x1b20x3[_0x5826[724]]));_0x1b20x3[_0x5826[515]]()}))};mxSelectionCellsHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1179]][_0x5826[994]]()&&this[_0x5826[994]]()){var _0x1b20x4=[_0x1b20x2,_0x1b20x3];this[_0x5826[2878]][_0x5826[209]](function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[787]][_0x5826[183]](_0x1b20x3,_0x1b20x4)})}};mxSelectionCellsHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1179]][_0x5826[994]]()&&this[_0x5826[994]]()){var _0x1b20x4=[_0x1b20x2,_0x1b20x3];this[_0x5826[2878]][_0x5826[209]](function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[788]][_0x5826[183]](_0x1b20x3,_0x1b20x4)})}};mxSelectionCellsHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1179]][_0x5826[994]]()&&this[_0x5826[994]]()){var _0x1b20x4=[_0x1b20x2,_0x1b20x3];this[_0x5826[2878]][_0x5826[209]](function(_0x1b20x2,_0x1b20x3){_0x1b20x3[_0x5826[789]][_0x5826[183]](_0x1b20x3,_0x1b20x4)})}};mxSelectionCellsHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[1148]](this);null!=this[_0x5826[2731]]&&(this[_0x5826[1179]][_0x5826[2435]]()[_0x5826[745]](this[_0x5826[2731]]),this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[2731]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[2731]]),this[_0x5826[2731]]=null)};function mxConnectionHandler(_0x1b20x2,_0x1b20x3){mxEventSource[_0x5826[239]](this);null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[1033]]=_0x1b20x3,this[_0x5826[176]]())}mxUtils[_0x5826[1284]](mxConnectionHandler,mxEventSource);mxConnectionHandler[_0x5826[202]][_0x5826[1179]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[1033]]= !0;mxConnectionHandler[_0x5826[202]][_0x5826[2880]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2881]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2882]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2883]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[984]]= !0;mxConnectionHandler[_0x5826[202]][_0x5826[804]]= !0;mxConnectionHandler[_0x5826[202]][_0x5826[2884]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2885]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2886]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[267]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2887]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2888]]= !0;mxConnectionHandler[_0x5826[202]][_0x5826[2889]]=500;mxConnectionHandler[_0x5826[202]][_0x5826[2890]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2891]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2892]]=4;mxConnectionHandler[_0x5826[202]][_0x5826[2893]]=0;mxConnectionHandler[_0x5826[202]][_0x5826[2894]]=0;mxConnectionHandler[_0x5826[202]][_0x5826[2895]]= !1;mxConnectionHandler[_0x5826[202]][_0x5826[2823]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2896]]= new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler[_0x5826[202]][_0x5826[2897]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[1176]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2898]]=null;mxConnectionHandler[_0x5826[202]][_0x5826[2899]]=0;mxConnectionHandler[_0x5826[202]][_0x5826[2900]]=mxClient[_0x5826[47]];mxConnectionHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxConnectionHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxConnectionHandler[_0x5826[202]][_0x5826[2901]]=function(){return this[_0x5826[2884]]};mxConnectionHandler[_0x5826[202]][_0x5826[2902]]=function(_0x1b20x2){this[_0x5826[2884]]=_0x1b20x2};mxConnectionHandler[_0x5826[202]][_0x5826[2156]]=function(){var _0x1b20x2= new mxPolyline([],mxConstants.INVALID_COLOR);_0x1b20x2[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]];_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]());_0x1b20x2[_0x5826[1564]]=0;_0x1b20x2[_0x5826[1229]]= !1;_0x1b20x2[_0x5826[1522]]= !0;if(this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[508]]){_0x1b20x2[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130])}else {var _0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x2=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x2),mxEvent[_0x5826[733]](_0x1b20x2));return this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](this[_0x5826[1179]][_0x5826[999]](_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]))});mxEvent[_0x5826[2733]](_0x1b20x2[_0x5826[252]],this[_0x5826[1179]],_0x1b20x3)};return _0x1b20x2};mxConnectionHandler[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[1179]][_0x5826[1133]](this);this[_0x5826[2885]]=this[_0x5826[1689]]();this[_0x5826[2886]]= new mxConstraintHandler(this[_0x5826[1179]]);this[_0x5826[1176]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){null!=this[_0x5826[2903]]&&(this[_0x5826[2903]]=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](this[_0x5826[2903]][_0x5826[246]]));null!=this[_0x5826[2903]]?this[_0x5826[2905]](this[_0x5826[2904]],this[_0x5826[2903]]):(this[_0x5826[2906]](this[_0x5826[2904]]),this[_0x5826[257]]=null);this[_0x5826[2886]][_0x5826[862]]()});this[_0x5826[1179]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[1176]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE,this[_0x5826[1176]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.TRANSLATE,this[_0x5826[1176]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x5826[1176]]);this[_0x5826[2898]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2906]](this[_0x5826[2904]])});this[_0x5826[1179]][_0x5826[169]](mxEvent.START_EDITING,this[_0x5826[2898]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.DOWN,this[_0x5826[2898]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.UP,this[_0x5826[2898]])};mxConnectionHandler[_0x5826[202]][_0x5826[2907]]=function(_0x1b20x2){return !0};mxConnectionHandler[_0x5826[202]][_0x5826[1689]]=function(){var _0x1b20x2= new mxCellMarker(this[_0x5826[1179]]);_0x1b20x2[_0x5826[2859]]= !0;_0x1b20x2[_0x5826[736]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x4){_0x1b20x4=mxCellMarker[_0x5826[202]][_0x5826[736]][_0x5826[183]](_0x1b20x2,arguments);this[_0x5826[267]]=null;if(!this[_0x5826[2907]](_0x1b20x4)){return null};null!=_0x1b20x4?this[_0x5826[2908]]()?null!=this[_0x5826[257]]&&(this[_0x5826[267]]=this[_0x5826[2909]](this[_0x5826[257]][_0x5826[246]],_0x1b20x4),null!=this[_0x5826[267]]&&0==this[_0x5826[267]][_0x5826[67]]&&(_0x1b20x4=null,this[_0x5826[2901]]()&&(this[_0x5826[267]]=null))):this[_0x5826[2671]](_0x1b20x4)||(_0x1b20x4=null):this[_0x5826[2908]]()&&(!this[_0x5826[2901]]()&&!this[_0x5826[1179]][_0x5826[2406]])&&(this[_0x5826[267]]=_0x5826[110]);return _0x1b20x4});_0x1b20x2[_0x5826[2872]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3){return this[_0x5826[2908]]()?null==this[_0x5826[267]]:mxCellMarker[_0x5826[202]][_0x5826[2872]][_0x5826[183]](_0x1b20x2,arguments)});_0x1b20x2[_0x5826[2873]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x4,_0x1b20x5){return null==this[_0x5826[2882]]||this[_0x5826[2908]]()?mxCellMarker[_0x5826[202]][_0x5826[2873]][_0x5826[183]](_0x1b20x2,arguments):null});_0x1b20x2[_0x5826[1825]]=mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x4){return null!=this[_0x5826[2882]]||this[_0x5826[2908]]()?!0:mxCellMarker[_0x5826[202]][_0x5826[1825]][_0x5826[183]](_0x1b20x2,arguments)});return _0x1b20x2};mxConnectionHandler[_0x5826[202]][_0x5826[861]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[257]]=_0x1b20x2;this[_0x5826[2823]]= new mxPoint(_0x1b20x3,_0x1b20x4);this[_0x5826[2897]]=null!=_0x1b20x5?_0x1b20x5:this[_0x5826[2910]](null);this[_0x5826[2885]][_0x5826[2860]]=this[_0x5826[2885]][_0x5826[2853]];this[_0x5826[2885]][_0x5826[2862]]=_0x1b20x2;this[_0x5826[2885]][_0x5826[811]]();this[_0x5826[746]]( new mxEventObject(mxEvent.START,_0x5826[724],this[_0x5826[257]]))};mxConnectionHandler[_0x5826[202]][_0x5826[2908]]=function(){return null!=this[_0x5826[2823]]&&null!=this[_0x5826[253]]};mxConnectionHandler[_0x5826[202]][_0x5826[2671]]=function(_0x1b20x2){return this[_0x5826[1179]][_0x5826[2671]](_0x1b20x2)};mxConnectionHandler[_0x5826[202]][_0x5826[2672]]=function(_0x1b20x2){return !0};mxConnectionHandler[_0x5826[202]][_0x5826[2909]]=function(_0x1b20x2,_0x1b20x3){return !this[_0x5826[2672]](_0x1b20x3)?_0x5826[110]:this[_0x5826[1179]][_0x5826[2500]](null,_0x1b20x2,_0x1b20x3)};mxConnectionHandler[_0x5826[202]][_0x5826[2911]]=function(_0x1b20x2){return this[_0x5826[2882]]};mxConnectionHandler[_0x5826[202]][_0x5826[2912]]=function(_0x1b20x2){return null!=_0x1b20x2[_0x5826[963]]&&_0x1b20x2[_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]?!0:this[_0x5826[2880]]};mxConnectionHandler[_0x5826[202]][_0x5826[2913]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[2911]](_0x1b20x2);if(null!=_0x1b20x3&&null!=_0x1b20x2){this[_0x5826[2903]]=_0x1b20x2;var _0x1b20x4=[],_0x1b20x5= new mxRectangle(0,0,_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]]),_0x1b20x9= new mxImageShape(_0x1b20x5,_0x1b20x3[_0x5826[390]],null,null,0);_0x1b20x9[_0x5826[1674]]= !1;this[_0x5826[2912]](_0x1b20x2)?(_0x1b20x9[_0x5826[507]]=mxConstants[_0x5826[1656]],_0x1b20x9[_0x5826[176]](this[_0x5826[1179]][_0x5826[526]])):(_0x1b20x9[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[508]]?mxConstants[_0x5826[508]]:mxConstants[_0x5826[1523]],_0x1b20x9[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()),this[_0x5826[2881]]&&null!=_0x1b20x9[_0x5826[252]][_0x5826[328]]&&_0x1b20x9[_0x5826[252]][_0x5826[265]][_0x5826[950]](_0x1b20x9[_0x5826[252]],_0x1b20x9[_0x5826[252]][_0x5826[265]][_0x5826[285]]));_0x1b20x9[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[2914]];var _0x1b20xa=mxUtils[_0x5826[885]](this,function(){return null!=this[_0x5826[2915]]?this[_0x5826[2915]]:_0x1b20x2}),_0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x2){mxEvent[_0x5826[721]](_0x1b20x2)||(this[_0x5826[2916]]=_0x1b20x9,this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x2,_0x1b20xa())))});mxEvent[_0x5826[2733]](_0x1b20x9[_0x5826[252]],this[_0x5826[1179]],_0x1b20xa,_0x1b20x3);_0x1b20x4[_0x5826[207]](_0x1b20x9);this[_0x5826[2905]](_0x1b20x4,this[_0x5826[2903]]);return _0x1b20x4};return null};mxConnectionHandler[_0x5826[202]][_0x5826[2905]]=function(_0x1b20x2,_0x1b20x3){if(null!=_0x1b20x2&&null!=_0x1b20x2[0]&&null!=_0x1b20x3){var _0x1b20x4=this[_0x5826[2917]](_0x1b20x2[0],_0x1b20x3);_0x1b20x2[0][_0x5826[1562]][_0x5826[235]]=_0x1b20x4[_0x5826[235]];_0x1b20x2[0][_0x5826[1562]][_0x5826[236]]=_0x1b20x4[_0x5826[236]];_0x1b20x2[0][_0x5826[258]]()}};mxConnectionHandler[_0x5826[202]][_0x5826[2917]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x5=_0x1b20x3[_0x5826[241]](),_0x1b20x9=_0x1b20x3[_0x5826[242]]();if(this[_0x5826[1179]][_0x5826[1730]](_0x1b20x3[_0x5826[246]])){var _0x1b20xa=this[_0x5826[1179]][_0x5826[1731]](_0x1b20x3[_0x5826[246]]),_0x1b20x5=0!=_0x1b20xa[_0x5826[117]]?_0x1b20x3[_0x5826[235]]+_0x1b20xa[_0x5826[117]]*_0x1b20x4/2:_0x1b20x5,_0x1b20x9=0!=_0x1b20xa[_0x5826[119]]?_0x1b20x3[_0x5826[236]]+_0x1b20xa[_0x5826[119]]*_0x1b20x4/2:_0x1b20x9,_0x1b20xa=mxUtils[_0x5826[431]](mxUtils[_0x5826[433]](_0x1b20x3[_0x5826[124]],mxConstants.STYLE_ROTATION)||0);if(0!=_0x1b20xa){var _0x1b20x4=Math[_0x5826[426]](_0x1b20xa),_0x1b20xa=Math[_0x5826[427]](_0x1b20xa),_0x1b20x12= new mxPoint(_0x1b20x3[_0x5826[241]](),_0x1b20x3[_0x5826[242]]()),_0x1b20x9=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x5,_0x1b20x9),_0x1b20x4,_0x1b20xa,_0x1b20x12),_0x1b20x5=_0x1b20x9[_0x5826[235]],_0x1b20x9=_0x1b20x9[_0x5826[236]]}};return new mxPoint(_0x1b20x5-_0x1b20x2[_0x5826[1562]][_0x5826[117]]/2,_0x1b20x9-_0x1b20x2[_0x5826[1562]][_0x5826[119]]/2)};mxConnectionHandler[_0x5826[202]][_0x5826[2906]]=function(_0x1b20x2){if(null!=_0x1b20x2){this[_0x5826[2903]]=null;for(var _0x1b20x3=0;_0x1b20x3<_0x1b20x2[_0x5826[67]];_0x1b20x3++){_0x1b20x2[_0x1b20x3][_0x5826[515]]()}}};mxConnectionHandler[_0x5826[202]][_0x5826[2918]]=function(_0x1b20x2){return !this[_0x5826[1179]][_0x5826[2579]](_0x1b20x2[_0x5826[727]]())&&(null!=this[_0x5826[2886]][_0x5826[2919]]&&null!=this[_0x5826[2886]][_0x5826[2920]]||null!=this[_0x5826[257]]&&null==this[_0x5826[267]]&&(null==this[_0x5826[2904]]||null!=this[_0x5826[2904]]&&null!=this[_0x5826[2916]]))};mxConnectionHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2899]]++;if(this[_0x5826[994]]()&&this[_0x5826[1179]][_0x5826[994]]()&&!_0x1b20x3[_0x5826[721]]()&&!this[_0x5826[2908]]()&&this[_0x5826[2918]](_0x1b20x3)){null!=this[_0x5826[2886]][_0x5826[2920]]&&null!=this[_0x5826[2886]][_0x5826[2919]]&&null!=this[_0x5826[2886]][_0x5826[987]]?(this[_0x5826[2921]]=this[_0x5826[2886]][_0x5826[2920]],this[_0x5826[257]]=this[_0x5826[2886]][_0x5826[2919]],this[_0x5826[2823]]=this[_0x5826[2886]][_0x5826[987]][_0x5826[238]]()):this[_0x5826[2823]]= new mxPoint(_0x1b20x3[_0x5826[734]](),_0x1b20x3[_0x5826[735]]());this[_0x5826[2897]]=this[_0x5826[2910]](_0x1b20x3);this[_0x5826[2899]]=1;this[_0x5826[2887]]&&null==this[_0x5826[253]]&&(this[_0x5826[2922]]=null,this[_0x5826[253]]=this[_0x5826[2156]]());if(null==this[_0x5826[257]]&&null!=this[_0x5826[2897]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[2689]](_0x1b20x3[_0x5826[727]]());this[_0x5826[2897]][_0x5826[246]][_0x5826[256]][_0x5826[2007]](_0x1b20x4,!0)};this[_0x5826[746]]( new mxEventObject(mxEvent.START,_0x5826[724],this[_0x5826[257]]));_0x1b20x3[_0x5826[722]]()}else {if(mxClient[_0x5826[754]]&&this[_0x5826[2888]]&&!this[_0x5826[2890]]&&this[_0x5826[994]]()&&this[_0x5826[1179]][_0x5826[994]]()&&!this[_0x5826[2908]]()){this[_0x5826[2890]]= !0;this[_0x5826[2893]]=_0x1b20x3[_0x5826[730]]();this[_0x5826[2894]]=_0x1b20x3[_0x5826[732]]();var _0x1b20x5=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](this[_0x5826[2885]][_0x5826[736]](_0x1b20x3));this[_0x5826[2923]]&&window[_0x5826[2924]](this[_0x5826[2923]]);this[_0x5826[2923]]=window[_0x5826[261]](mxUtils[_0x5826[885]](this,function(){this[_0x5826[2891]]&&this[_0x5826[2925]](_0x1b20x3,_0x1b20x5);this[_0x5826[2891]]=this[_0x5826[2890]]= !1}),this[_0x5826[2889]]);this[_0x5826[2891]]= !0}};this[_0x5826[2926]]=this[_0x5826[2916]];this[_0x5826[2916]]=null};mxConnectionHandler[_0x5826[202]][_0x5826[2925]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x3&&(this[_0x5826[2885]][_0x5826[2860]]=this[_0x5826[2885]][_0x5826[2853]],this[_0x5826[2885]][_0x5826[2862]]=_0x1b20x3,this[_0x5826[2885]][_0x5826[811]](),this[_0x5826[2823]]= new mxPoint(_0x1b20x2[_0x5826[734]](),_0x1b20x2[_0x5826[735]]()),this[_0x5826[2897]]=this[_0x5826[2910]](_0x1b20x2),this[_0x5826[257]]=_0x1b20x3,this[_0x5826[746]]( new mxEventObject(mxEvent.START,_0x5826[724],this[_0x5826[257]])))};mxConnectionHandler[_0x5826[202]][_0x5826[2927]]=function(_0x1b20x2){return !this[_0x5826[1179]][_0x5826[1712]](_0x1b20x2[_0x5826[246]])};mxConnectionHandler[_0x5826[202]][_0x5826[2910]]=function(_0x1b20x2){return null};mxConnectionHandler[_0x5826[202]][_0x5826[2928]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[2885]][_0x5826[2871]](_0x1b20x2);this[_0x5826[2886]][_0x5826[2729]](_0x1b20x2,null==this[_0x5826[2823]]);this[_0x5826[2915]]=_0x1b20x3};mxConnectionHandler[_0x5826[202]][_0x5826[2929]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[518]](),_0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[512]]();_0x1b20x2[_0x5826[235]]=_0x1b20x2[_0x5826[235]]/_0x1b20x3-_0x1b20x4[_0x5826[235]];_0x1b20x2[_0x5826[236]]=_0x1b20x2[_0x5826[236]]/_0x1b20x3-_0x1b20x4[_0x5826[236]]};mxConnectionHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2891]]&&(this[_0x5826[2891]]=Math[_0x5826[425]](this[_0x5826[2893]]-_0x1b20x3[_0x5826[730]]())<this[_0x5826[2892]]&&Math[_0x5826[425]](this[_0x5826[2894]]-_0x1b20x3[_0x5826[732]]())<this[_0x5826[2892]]);if(!_0x1b20x3[_0x5826[721]]()&&(this[_0x5826[2895]]||null!=this[_0x5826[2823]]||!this[_0x5826[1179]][_0x5826[1009]])){!this[_0x5826[994]]()&&null!=this[_0x5826[2915]]&&(this[_0x5826[2906]](this[_0x5826[2904]]),this[_0x5826[2915]]=null);(null!=this[_0x5826[2823]]||this[_0x5826[994]]()&&this[_0x5826[1179]][_0x5826[994]]())&&this[_0x5826[2928]](_0x1b20x3);if(null!=this[_0x5826[2823]]){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x4= new mxPoint(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x3[_0x5826[734]]()/_0x1b20x4)*_0x1b20x4,this[_0x5826[1179]][_0x5826[1021]](_0x1b20x3[_0x5826[735]]()/_0x1b20x4)*_0x1b20x4),_0x1b20x5=null,_0x1b20x9=_0x1b20x4;null!=this[_0x5826[2886]][_0x5826[2920]]&&(null!=this[_0x5826[2886]][_0x5826[2919]]&&null!=this[_0x5826[2886]][_0x5826[987]])&&(_0x1b20x5=this[_0x5826[2886]][_0x5826[2920]],_0x1b20x9=this[_0x5826[2886]][_0x5826[987]][_0x5826[238]]());var _0x1b20xa=this[_0x5826[2823]];if(null!=this[_0x5826[2926]]){var _0x1b20x12=this[_0x5826[2926]][_0x5826[1562]][_0x5826[117]],_0x1b20x13=this[_0x5826[2926]][_0x5826[1562]][_0x5826[119]];null!=this[_0x5826[2915]]&&this[_0x5826[2883]]?(_0x1b20x12=this[_0x5826[2917]](this[_0x5826[2926]],this[_0x5826[2915]]),this[_0x5826[2926]][_0x5826[1562]][_0x5826[235]]=_0x1b20x12[_0x5826[235]],this[_0x5826[2926]][_0x5826[1562]][_0x5826[236]]=_0x1b20x12[_0x5826[236]]):(_0x1b20x12= new mxRectangle(_0x1b20x3[_0x5826[734]]()+this[_0x5826[2896]][_0x5826[235]],_0x1b20x3[_0x5826[735]]()+this[_0x5826[2896]][_0x5826[236]],_0x1b20x12,_0x1b20x13),this[_0x5826[2926]][_0x5826[1562]]=_0x1b20x12);this[_0x5826[2926]][_0x5826[258]]()};if(null!=this[_0x5826[2897]]){this[_0x5826[2897]][_0x5826[439]]=[null,null!=this[_0x5826[2915]]?null:_0x1b20x9];this[_0x5826[1179]][_0x5826[441]][_0x5826[2289]](this[_0x5826[2897]],this[_0x5826[257]],!0,this[_0x5826[2921]]);null!=this[_0x5826[2915]]&&(null==_0x1b20x5&&(_0x1b20x5=this[_0x5826[1179]][_0x5826[2288]](this[_0x5826[2897]],this[_0x5826[257]],!1)),this[_0x5826[2897]][_0x5826[2088]](null,!1),this[_0x5826[1179]][_0x5826[441]][_0x5826[2289]](this[_0x5826[2897]],this[_0x5826[2915]],!1,_0x1b20x5));_0x1b20xa=null;if(null!=this[_0x5826[2922]]){_0x1b20xa=[];for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[2922]][_0x5826[67]];_0x1b20x9++){_0x1b20x5=this[_0x5826[2922]][_0x1b20x9][_0x5826[238]](),this[_0x5826[2929]](_0x1b20x5),_0x1b20xa[_0x1b20x9]=_0x1b20x5}};this[_0x5826[1179]][_0x5826[441]][_0x5826[2282]](this[_0x5826[2897]],_0x1b20xa,this[_0x5826[257]],this[_0x5826[2915]]);this[_0x5826[1179]][_0x5826[441]][_0x5826[2283]](this[_0x5826[2897]],this[_0x5826[257]],this[_0x5826[2915]]);_0x1b20x9=this[_0x5826[2897]][_0x5826[439]][this[_0x5826[2897]][_0x5826[439]][_0x5826[67]]-1];_0x1b20xa=this[_0x5826[2897]][_0x5826[439]][0]}else {null!=this[_0x5826[2915]]&&null==this[_0x5826[2886]][_0x5826[2920]]&&(_0x1b20x12=this[_0x5826[2930]](this[_0x5826[2915]],_0x1b20x3),null!=_0x1b20x12&&(_0x1b20x9=_0x1b20x12)),null==this[_0x5826[2921]]&&null!=this[_0x5826[257]]&&(_0x1b20x12=this[_0x5826[2931]](this[_0x5826[257]],null!=this[_0x5826[2922]]&&0<this[_0x5826[2922]][_0x5826[67]]?this[_0x5826[2922]][0]:_0x1b20x9,_0x1b20x3),null!=_0x1b20x12&&(_0x1b20xa=_0x1b20x12))};if(null==this[_0x5826[2915]]&&this[_0x5826[2900]]){_0x1b20x12=_0x1b20xa;null!=this[_0x5826[2897]]&&2<this[_0x5826[2897]][_0x5826[439]][_0x5826[67]]&&(_0x1b20x5=this[_0x5826[2897]][_0x5826[439]][this[_0x5826[2897]][_0x5826[439]][_0x5826[67]]-2],null!=_0x1b20x5&&(_0x1b20x12=_0x1b20x5));_0x1b20x5=_0x1b20x9[_0x5826[235]]-_0x1b20x12[_0x5826[235]];_0x1b20x12=_0x1b20x9[_0x5826[236]]-_0x1b20x12[_0x5826[236]];_0x1b20x13=Math[_0x5826[428]](_0x1b20x5*_0x1b20x5+_0x1b20x12*_0x1b20x12);if(0==_0x1b20x13){return};_0x1b20x9[_0x5826[235]]-=4*_0x1b20x5/_0x1b20x13;_0x1b20x9[_0x5826[236]]-=4*_0x1b20x12/_0x1b20x13};if(null==this[_0x5826[253]]&&(_0x1b20x5=Math[_0x5826[425]](_0x1b20x4[_0x5826[235]]-this[_0x5826[2823]][_0x5826[235]]),_0x1b20x12=Math[_0x5826[425]](_0x1b20x4[_0x5826[236]]-this[_0x5826[2823]][_0x5826[236]]),_0x1b20x5>this[_0x5826[1179]][_0x5826[2353]]||_0x1b20x12>this[_0x5826[1179]][_0x5826[2353]])){this[_0x5826[253]]=this[_0x5826[2156]](),this[_0x5826[2928]](_0x1b20x3)};null!=this[_0x5826[253]]&&(null!=this[_0x5826[2897]]?this[_0x5826[253]][_0x5826[1525]]=this[_0x5826[2897]][_0x5826[439]]:(_0x1b20x4=[_0x1b20xa],null!=this[_0x5826[2922]]&&(_0x1b20x4=_0x1b20x4[_0x5826[1919]](this[_0x5826[2922]])),_0x1b20x4[_0x5826[207]](_0x1b20x9),this[_0x5826[253]][_0x5826[1525]]=_0x1b20x4),this[_0x5826[2932]]());mxEvent[_0x5826[722]](_0x1b20x3[_0x5826[727]]());_0x1b20x3[_0x5826[722]]()}else {!this[_0x5826[994]]()||!this[_0x5826[1179]][_0x5826[994]]()?this[_0x5826[2886]][_0x5826[862]]():this[_0x5826[257]]!=this[_0x5826[2915]]&&null==this[_0x5826[2897]]?(this[_0x5826[2906]](this[_0x5826[2904]]),this[_0x5826[2904]]=null,null!=this[_0x5826[2915]]&&null==this[_0x5826[267]]&&(this[_0x5826[2904]]=this[_0x5826[2913]](this[_0x5826[2915]]),null==this[_0x5826[2904]]&&(this[_0x5826[2915]][_0x5826[1609]](mxConstants.CURSOR_CONNECT),_0x1b20x3[_0x5826[722]]())),this[_0x5826[257]]=this[_0x5826[2915]]):this[_0x5826[257]]==this[_0x5826[2915]]&&(null!=this[_0x5826[2915]]&&null==this[_0x5826[2904]]&&!this[_0x5826[1179]][_0x5826[1009]])&&_0x1b20x3[_0x5826[722]]()};null!=this[_0x5826[2886]][_0x5826[2920]]&&this[_0x5826[2885]][_0x5826[862]]();if(!this[_0x5826[1179]][_0x5826[1009]]&&null!=this[_0x5826[2915]]&&null!=this[_0x5826[2904]]){_0x1b20x4= !1;_0x1b20xa=_0x1b20x3[_0x5826[728]]();for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[2904]][_0x5826[67]]&& !_0x1b20x4;_0x1b20x9++){_0x1b20x4=_0x1b20xa==this[_0x5826[2904]][_0x1b20x9][_0x5826[252]]||_0x1b20xa[_0x5826[265]]==this[_0x5826[2904]][_0x1b20x9][_0x5826[252]]};_0x1b20x4||this[_0x5826[2933]](this[_0x5826[2915]],this[_0x5826[2904]],_0x1b20x3)}}else {this[_0x5826[2886]][_0x5826[862]]()}};mxConnectionHandler[_0x5826[202]][_0x5826[2930]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null,_0x1b20x5=_0x1b20x2[_0x5826[441]],_0x1b20x9=_0x1b20x5[_0x5826[2305]](_0x1b20x2);if(null!=_0x1b20x9){var _0x1b20xa=null!=this[_0x5826[2922]]&&0<this[_0x5826[2922]][_0x5826[67]]?this[_0x5826[2922]][this[_0x5826[2922]][_0x5826[67]]-1]: new mxPoint(this[_0x5826[257]][_0x5826[241]](),this[_0x5826[257]][_0x5826[242]]()),_0x1b20x5=_0x1b20x9(_0x1b20x5[_0x5826[2087]](_0x1b20x2),this[_0x5826[2897]],_0x1b20xa,!1);null!=_0x1b20x5&&(_0x1b20x4=_0x1b20x5)}else {_0x1b20x4= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]())};return _0x1b20x4};mxConnectionHandler[_0x5826[202]][_0x5826[2931]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x4=null;var _0x1b20x5=_0x1b20x2[_0x5826[441]],_0x1b20x9=_0x1b20x5[_0x5826[2305]](_0x1b20x2),_0x1b20xa= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]());if(null!=_0x1b20x9){var _0x1b20x12=mxUtils[_0x5826[433]](_0x1b20x2[_0x5826[124]],mxConstants.STYLE_ROTATION,0),_0x1b20x13=-_0x1b20x12*(Math[_0x5826[424]]/180);0!=_0x1b20x12&&(_0x1b20x3=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x3[_0x5826[235]],_0x1b20x3[_0x5826[236]]),Math[_0x5826[426]](_0x1b20x13),Math[_0x5826[427]](_0x1b20x13),_0x1b20xa));_0x1b20x2=_0x1b20x9(_0x1b20x5[_0x5826[2087]](_0x1b20x2),_0x1b20x2,_0x1b20x3,!1);null!=_0x1b20x2&&(0!=_0x1b20x12&&(_0x1b20x2=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]),Math[_0x5826[426]](-_0x1b20x13),Math[_0x5826[427]](-_0x1b20x13),_0x1b20xa)),_0x1b20x4=_0x1b20x2)}else {_0x1b20x4=_0x1b20xa};return _0x1b20x4};mxConnectionHandler[_0x5826[202]][_0x5826[2933]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){};mxConnectionHandler[_0x5826[202]][_0x5826[2934]]=function(_0x1b20x2){return null!=_0x1b20x2[_0x5826[248]]()};mxConnectionHandler[_0x5826[202]][_0x5826[2935]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],_0x1b20x2[_0x5826[730]](),_0x1b20x2[_0x5826[732]]()),_0x1b20x4=Math[_0x5826[425]](_0x1b20x3[_0x5826[235]]-this[_0x5826[2823]][_0x5826[235]]),_0x1b20x3=Math[_0x5826[425]](_0x1b20x3[_0x5826[236]]-this[_0x5826[2823]][_0x5826[236]]);if(null!=this[_0x5826[2922]]||1<this[_0x5826[2899]]&&(_0x1b20x4>this[_0x5826[1179]][_0x5826[2353]]||_0x1b20x3>this[_0x5826[1179]][_0x5826[2353]])){null==this[_0x5826[2922]]&&(this[_0x5826[2922]]=[]),_0x1b20x4=this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x3= new mxPoint(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[734]]()/_0x1b20x4)*_0x1b20x4,this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[735]]()/_0x1b20x4)*_0x1b20x4),this[_0x5826[2922]][_0x5826[207]](_0x1b20x3)}};mxConnectionHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[2908]]()){if(this[_0x5826[2887]]&&!this[_0x5826[2934]](_0x1b20x3)){this[_0x5826[2935]](_0x1b20x3);_0x1b20x3[_0x5826[722]]();return};if(null==this[_0x5826[267]]){var _0x1b20x4=null!=this[_0x5826[257]]?this[_0x5826[257]][_0x5826[246]]:null,_0x1b20x5=null;null!=this[_0x5826[2886]][_0x5826[2920]]&&null!=this[_0x5826[2886]][_0x5826[2919]]&&(_0x1b20x5=this[_0x5826[2886]][_0x5826[2919]][_0x5826[246]]);null==_0x1b20x5&&this[_0x5826[2885]][_0x5826[2867]]()&&(_0x1b20x5=this[_0x5826[2885]][_0x5826[2861]][_0x5826[246]]);this[_0x5826[807]](_0x1b20x4,_0x1b20x5,_0x1b20x3[_0x5826[727]](),_0x1b20x3[_0x5826[736]]())}else {null!=this[_0x5826[257]]&&(null!=this[_0x5826[2885]][_0x5826[2861]]&&this[_0x5826[257]][_0x5826[246]]==this[_0x5826[2885]][_0x5826[2861]][_0x5826[246]])&&this[_0x5826[1179]][_0x5826[2459]](this[_0x5826[2885]][_0x5826[1097]],evt),0<this[_0x5826[267]][_0x5826[67]]&&this[_0x5826[1179]][_0x5826[2580]](this[_0x5826[267]])};this[_0x5826[2906]](this[_0x5826[2904]]);_0x1b20x3[_0x5826[722]]()};null!=this[_0x5826[2823]]&&this[_0x5826[862]]();this[_0x5826[2891]]=this[_0x5826[2890]]= !1};mxConnectionHandler[_0x5826[202]][_0x5826[862]]=function(){null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null);this[_0x5826[2906]](this[_0x5826[2904]]);this[_0x5826[2904]]=null;this[_0x5826[2885]][_0x5826[862]]();this[_0x5826[2886]][_0x5826[862]]();this[_0x5826[2921]]=this[_0x5826[267]]=this[_0x5826[257]]=this[_0x5826[2897]]=this[_0x5826[2926]]=null;this[_0x5826[2899]]=0;this[_0x5826[2916]]=this[_0x5826[2823]]=null;this[_0x5826[746]]( new mxEventObject(mxEvent.RESET))};mxConnectionHandler[_0x5826[202]][_0x5826[2932]]=function(){var _0x1b20x2=null==this[_0x5826[267]];this[_0x5826[253]][_0x5826[1307]]=this[_0x5826[2936]](_0x1b20x2);_0x1b20x2=this[_0x5826[2937]](_0x1b20x2);this[_0x5826[253]][_0x5826[1336]]=_0x1b20x2;this[_0x5826[253]][_0x5826[258]]()};mxConnectionHandler[_0x5826[202]][_0x5826[2937]]=function(_0x1b20x2){return _0x1b20x2?mxConstants[_0x5826[2829]]:mxConstants[_0x5826[2938]]};mxConnectionHandler[_0x5826[202]][_0x5826[2936]]=function(_0x1b20x2){return _0x1b20x2?3:1};mxConnectionHandler[_0x5826[202]][_0x5826[807]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x3||this[_0x5826[2901]]()||this[_0x5826[1179]][_0x5826[2406]]){var _0x1b20x9=this[_0x5826[1179]][_0x5826[502]](),_0x1b20xa=null;_0x1b20x9[_0x5826[473]]();try{if(null!=_0x1b20x2&&(null==_0x1b20x3&&this[_0x5826[2901]]())&&(_0x1b20x3=this[_0x5826[2939]](_0x1b20x4,_0x1b20x2),null!=_0x1b20x3)){_0x1b20x5=this[_0x5826[1179]][_0x5826[564]]([_0x1b20x3],_0x1b20x4,_0x1b20x5);if(null==_0x1b20x5||!this[_0x5826[1179]][_0x5826[502]]()[_0x5826[250]](_0x1b20x5)){var _0x1b20x12=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x5);if(null!=_0x1b20x12){var _0x1b20x13=_0x1b20x9[_0x5826[1721]](_0x1b20x3);_0x1b20x13[_0x5826[235]]-=_0x1b20x12[_0x5826[2078]][_0x5826[235]];_0x1b20x13[_0x5826[236]]-=_0x1b20x12[_0x5826[2078]][_0x5826[236]]}}else {_0x1b20x5=this[_0x5826[1179]][_0x5826[902]]()};this[_0x5826[1179]][_0x5826[2103]](_0x1b20x3,_0x1b20x5)};var _0x1b20x14=this[_0x5826[1179]][_0x5826[902]]();null!=_0x1b20x2&&(null!=_0x1b20x3&&_0x1b20x9[_0x5826[1197]](_0x1b20x2)==_0x1b20x9[_0x5826[1197]](_0x1b20x3)&&_0x1b20x9[_0x5826[1197]](_0x1b20x9[_0x5826[1197]](_0x1b20x2))!=_0x1b20x9[_0x5826[501]]())&&(_0x1b20x14=_0x1b20x9[_0x5826[1197]](_0x1b20x2),null!=_0x1b20x2[_0x5826[256]]&&_0x1b20x2[_0x5826[256]][_0x5826[1500]]&&(null!=_0x1b20x3[_0x5826[256]]&&_0x1b20x3[_0x5826[256]][_0x5826[1500]])&&(_0x1b20x14=_0x1b20x9[_0x5826[1197]](_0x1b20x14)));_0x1b20x13=_0x1b20x12=null;null!=this[_0x5826[2897]]&&(_0x1b20x12=this[_0x5826[2897]][_0x5826[246]][_0x5826[131]],_0x1b20x13=this[_0x5826[2897]][_0x5826[246]][_0x5826[124]]);_0x1b20xa=this[_0x5826[1960]](_0x1b20x14,null,_0x1b20x12,_0x1b20x2,_0x1b20x3,_0x1b20x13);if(null!=_0x1b20xa){this[_0x5826[1179]][_0x5826[2545]](_0x1b20xa,_0x1b20x2,!0,this[_0x5826[2921]]);this[_0x5826[1179]][_0x5826[2545]](_0x1b20xa,_0x1b20x3,!1,this[_0x5826[2886]][_0x5826[2920]]);null!=this[_0x5826[2897]]&&_0x1b20x9[_0x5826[1724]](_0x1b20xa,this[_0x5826[2897]][_0x5826[246]][_0x5826[256]]);var _0x1b20x15=_0x1b20x9[_0x5826[1721]](_0x1b20xa);null==_0x1b20x15&&(_0x1b20x15= new mxGeometry,_0x1b20x15[_0x5826[1500]]= !0,_0x1b20x9[_0x5826[1724]](_0x1b20xa,_0x1b20x15));if(null!=this[_0x5826[2922]]&&0<this[_0x5826[2922]][_0x5826[67]]){var _0x1b20x16=this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x17=this[_0x5826[1179]][_0x5826[441]][_0x5826[513]];_0x1b20x15[_0x5826[1525]]=[];for(_0x1b20x2=0;_0x1b20x2<this[_0x5826[2922]][_0x5826[67]];_0x1b20x2++){var _0x1b20x18=this[_0x5826[2922]][_0x1b20x2];_0x1b20x15[_0x5826[1525]][_0x5826[207]]( new mxPoint(_0x1b20x18[_0x5826[235]]/_0x1b20x16-_0x1b20x17[_0x5826[235]],_0x1b20x18[_0x5826[236]]/_0x1b20x16-_0x1b20x17[_0x5826[236]]))}};null==_0x1b20x3&&(_0x1b20x18=this[_0x5826[1179]][_0x5826[2689]](_0x1b20x4,!1),_0x1b20x18[_0x5826[235]]-=this[_0x5826[1179]][_0x5826[1136]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x18[_0x5826[236]]-=this[_0x5826[1179]][_0x5826[1137]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x15[_0x5826[2007]](_0x1b20x18,!1));this[_0x5826[746]]( new mxEventObject(mxEvent.CONNECT,_0x5826[246],_0x1b20xa,_0x5826[763],_0x1b20x4,_0x5826[772],_0x1b20x5))}}catch(q){mxLog[_0x5826[539]](),mxLog[_0x5826[143]](q[_0x5826[281]])}finally{_0x1b20x9[_0x5826[476]]()};this[_0x5826[804]]&&this[_0x5826[2707]](_0x1b20xa,_0x1b20x3)}};mxConnectionHandler[_0x5826[202]][_0x5826[2707]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1179]][_0x5826[2450]](_0x1b20x2)};mxConnectionHandler[_0x5826[202]][_0x5826[1960]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){if(null==this[_0x5826[1033]]){return this[_0x5826[1179]][_0x5826[1960]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa)};_0x1b20x3=this[_0x5826[2503]](_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa);return _0x1b20x3=this[_0x5826[1179]][_0x5826[2504]](_0x1b20x3,_0x1b20x2,_0x1b20x5,_0x1b20x9)};mxConnectionHandler[_0x5826[202]][_0x5826[2939]]=function(_0x1b20x2,_0x1b20x3){for(var _0x1b20x4=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x3);null!=_0x1b20x4&&_0x1b20x4[_0x5826[1500]];){_0x1b20x3=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](_0x1b20x3),_0x1b20x4=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x3)};var _0x1b20x5=this[_0x5826[1179]][_0x5826[899]]([_0x1b20x3])[0],_0x1b20x4=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1721]](_0x1b20x5);if(null!=_0x1b20x4){var _0x1b20x9=this[_0x5826[1179]][_0x5826[2689]](_0x1b20x2);_0x1b20x4[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x9[_0x5826[235]]-_0x1b20x4[_0x5826[117]]/2)-this[_0x5826[1179]][_0x5826[1136]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];_0x1b20x4[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x9[_0x5826[236]]-_0x1b20x4[_0x5826[119]]/2)-this[_0x5826[1179]][_0x5826[1137]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];if(null!=this[_0x5826[2823]]){var _0x1b20xa=this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x3);if(null!=_0x1b20xa){var _0x1b20x12=this[_0x5826[2940]]();Math[_0x5826[425]](this[_0x5826[1179]][_0x5826[1021]](this[_0x5826[2823]][_0x5826[235]])-this[_0x5826[1179]][_0x5826[1021]](_0x1b20x9[_0x5826[235]]))<=_0x1b20x12?_0x1b20x4[_0x5826[235]]=_0x1b20xa[_0x5826[235]]:Math[_0x5826[425]](this[_0x5826[1179]][_0x5826[1021]](this[_0x5826[2823]][_0x5826[236]])-this[_0x5826[1179]][_0x5826[1021]](_0x1b20x9[_0x5826[236]]))<=_0x1b20x12&&(_0x1b20x4[_0x5826[236]]=_0x1b20xa[_0x5826[236]])}}};return _0x1b20x5};mxConnectionHandler[_0x5826[202]][_0x5826[2940]]=function(){return this[_0x5826[1179]][_0x5826[997]]()?this[_0x5826[1179]][_0x5826[1020]]:this[_0x5826[1179]][_0x5826[2353]]};mxConnectionHandler[_0x5826[202]][_0x5826[2503]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;null!=this[_0x5826[1033]]&&(_0x1b20x9=this[_0x5826[1033]](_0x1b20x3,_0x1b20x4,_0x1b20x5));null==_0x1b20x9&&(_0x1b20x9= new mxCell(_0x1b20x2||_0x5826[110]),_0x1b20x9[_0x5826[1994]](!0),_0x1b20x9[_0x5826[475]](_0x1b20x5),_0x1b20x2= new mxGeometry,_0x1b20x2[_0x5826[1500]]= !0,_0x1b20x9[_0x5826[1724]](_0x1b20x2));return _0x1b20x9};mxConnectionHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[1148]](this);null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null);null!=this[_0x5826[2885]]&&(this[_0x5826[2885]][_0x5826[515]](),this[_0x5826[2885]]=null);null!=this[_0x5826[2886]]&&(this[_0x5826[2886]][_0x5826[515]](),this[_0x5826[2886]]=null);null!=this[_0x5826[1176]]&&(this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[1176]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[1176]]),this[_0x5826[1176]]=null);null!=this[_0x5826[2898]]&&(this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2898]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[2898]]),this[_0x5826[2898]]=null)};function mxConstraintHandler(_0x1b20x2){this[_0x5826[1179]]=_0x1b20x2}mxConstraintHandler[_0x5826[202]][_0x5826[2941]]= new mxImage(mxClient[_0x5826[88]]+_0x5826[2942],5,5);mxConstraintHandler[_0x5826[202]][_0x5826[1179]]=null;mxConstraintHandler[_0x5826[202]][_0x5826[984]]= !0;mxConstraintHandler[_0x5826[202]][_0x5826[2943]]=mxConstants[_0x5826[2854]];mxConstraintHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxConstraintHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxConstraintHandler[_0x5826[202]][_0x5826[862]]=function(){if(null!=this[_0x5826[2944]]){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[2944]][_0x5826[67]];_0x1b20x2++){this[_0x5826[2944]][_0x1b20x2][_0x5826[515]]()};this[_0x5826[2944]]=null};null!=this[_0x5826[2945]]&&(this[_0x5826[2945]][_0x5826[515]](),this[_0x5826[2945]]=null);this[_0x5826[2946]]=this[_0x5826[2919]]=this[_0x5826[987]]=this[_0x5826[2947]]=this[_0x5826[2920]]=null};mxConstraintHandler[_0x5826[202]][_0x5826[2636]]=function(){return this[_0x5826[1179]][_0x5826[2636]]()};mxConstraintHandler[_0x5826[202]][_0x5826[2948]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return this[_0x5826[2941]]};mxConstraintHandler[_0x5826[202]][_0x5826[2949]]=function(_0x1b20x2,_0x1b20x3){return !1};mxConstraintHandler[_0x5826[202]][_0x5826[2729]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[994]]()&&!this[_0x5826[2949]](_0x1b20x2)){var _0x1b20x4=this[_0x5826[2636]](),_0x1b20x5= new mxRectangle(_0x1b20x2[_0x5826[734]]()-_0x1b20x4,_0x1b20x2[_0x5826[735]]()-_0x1b20x4,2*_0x1b20x4,2*_0x1b20x4),_0x1b20x9=null!=_0x1b20x2[_0x5826[736]]()?this[_0x5826[1179]][_0x5826[2565]](_0x1b20x2[_0x5826[736]]()):!1;if(null==this[_0x5826[2947]]||!mxUtils[_0x5826[1825]](this[_0x5826[2947]],_0x1b20x5)||null!=_0x1b20x2[_0x5826[248]]()&&null!=this[_0x5826[2919]]&&_0x1b20x9){if(this[_0x5826[2947]]=null,_0x1b20x2[_0x5826[248]]()!=this[_0x5826[2919]]){if(this[_0x5826[2919]]=null,this[_0x5826[1531]]=null!=_0x1b20x2[_0x5826[248]]()&&_0x1b20x9?this[_0x5826[1179]][_0x5826[2538]](_0x1b20x2[_0x5826[248]](),_0x1b20x3):null,null!=this[_0x5826[1531]]){this[_0x5826[2919]]=_0x1b20x2[_0x5826[248]]();this[_0x5826[2947]]= new mxRectangle(_0x1b20x2[_0x5826[248]]()[_0x5826[235]],_0x1b20x2[_0x5826[248]]()[_0x5826[236]],_0x1b20x2[_0x5826[248]]()[_0x5826[117]],_0x1b20x2[_0x5826[248]]()[_0x5826[119]]);if(null!=this[_0x5826[2944]]){for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[2944]][_0x5826[67]];_0x1b20x9++){this[_0x5826[2944]][_0x1b20x9][_0x5826[515]]()};this[_0x5826[2946]]=this[_0x5826[2944]]=null};this[_0x5826[2944]]=[];this[_0x5826[2946]]=[];for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[1531]][_0x5826[67]];_0x1b20x9++){var _0x1b20xa=this[_0x5826[1179]][_0x5826[2290]](_0x1b20x2[_0x5826[248]](),this[_0x5826[1531]][_0x1b20x9]),_0x1b20x12=this[_0x5826[2948]](_0x1b20x2[_0x5826[248]](),this[_0x5826[1531]][_0x1b20x9],_0x1b20xa),_0x1b20x13=_0x1b20x12[_0x5826[390]],_0x1b20x12= new mxRectangle(_0x1b20xa[_0x5826[235]]-_0x1b20x12[_0x5826[117]]/2,_0x1b20xa[_0x5826[236]]-_0x1b20x12[_0x5826[119]]/2,_0x1b20x12[_0x5826[117]],_0x1b20x12[_0x5826[119]]),_0x1b20x12= new mxImageShape(_0x1b20x12,_0x1b20x13);_0x1b20x12[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[2334]]:mxConstants[_0x5826[508]];_0x1b20x12[_0x5826[1674]]= !1;_0x1b20x12[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]());null!=_0x1b20x12[_0x5826[252]][_0x5826[328]]&&_0x1b20x12[_0x5826[252]][_0x5826[265]][_0x5826[950]](_0x1b20x12[_0x5826[252]],_0x1b20x12[_0x5826[252]][_0x5826[265]][_0x5826[285]]);_0x1b20x13=mxUtils[_0x5826[885]](this,function(){return null!=this[_0x5826[2919]]?this[_0x5826[2919]]:_0x1b20x2[_0x5826[248]]()});_0x1b20x12[_0x5826[258]]();mxEvent[_0x5826[2733]](_0x1b20x12[_0x5826[252]],this[_0x5826[1179]],_0x1b20x13);this[_0x5826[2947]][_0x5826[99]](_0x1b20x12[_0x5826[1562]]);this[_0x5826[2944]][_0x5826[207]](_0x1b20x12);this[_0x5826[2946]][_0x5826[207]](_0x1b20xa)};this[_0x5826[2947]][_0x5826[244]](_0x1b20x4)}else {if(null!=this[_0x5826[2944]]){null!=this[_0x5826[2945]]&&(this[_0x5826[2945]][_0x5826[515]](),this[_0x5826[2945]]=null);for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[2944]][_0x5826[67]];_0x1b20x9++){this[_0x5826[2944]][_0x1b20x9][_0x5826[515]]()};this[_0x5826[2946]]=this[_0x5826[2944]]=null}}}};this[_0x5826[987]]=this[_0x5826[2920]]=null;if(null!=this[_0x5826[2944]]&&null!=this[_0x5826[1531]]&&(null==_0x1b20x2[_0x5826[248]]()||this[_0x5826[2919]]==_0x1b20x2[_0x5826[248]]())){for(_0x1b20x9=0;_0x1b20x9<this[_0x5826[2944]][_0x5826[67]];_0x1b20x9++){if(mxUtils[_0x5826[1825]](this[_0x5826[2944]][_0x1b20x9][_0x5826[1562]],_0x1b20x5)){this[_0x5826[2920]]=this[_0x5826[1531]][_0x1b20x9];this[_0x5826[987]]=this[_0x5826[2946]][_0x1b20x9];_0x1b20x4=this[_0x5826[2944]][_0x1b20x9][_0x5826[1562]][_0x5826[238]]();_0x1b20x4[_0x5826[244]](mxClient[_0x5826[80]]?3:2);mxClient[_0x5826[80]]&&(_0x1b20x4[_0x5826[117]]-=1,_0x1b20x4[_0x5826[119]]-=1);null==this[_0x5826[2945]]?(_0x1b20x4= new mxRectangleShape(_0x1b20x4,null,this[_0x5826[2943]],3),_0x1b20x4[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]==mxConstants[_0x5826[508]]?mxConstants[_0x5826[508]]:mxConstants[_0x5826[1523]],_0x1b20x4[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()),this[_0x5826[2945]]=_0x1b20x4,_0x1b20x13=mxUtils[_0x5826[885]](this,function(){return null!=this[_0x5826[2919]]?this[_0x5826[2919]]:_0x1b20x2[_0x5826[248]]()}),mxEvent[_0x5826[2733]](_0x1b20x4[_0x5826[252]],this[_0x5826[1179]],_0x1b20x13)):(this[_0x5826[2945]][_0x5826[1562]]=_0x1b20x4,this[_0x5826[2945]][_0x5826[258]]());break}}};null==this[_0x5826[2920]]&&null!=this[_0x5826[2945]]&&(this[_0x5826[2945]][_0x5826[515]](),this[_0x5826[2945]]=null)}};mxConstraintHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[862]]()};function mxRubberband(_0x1b20x2){null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[1179]][_0x5826[1133]](this),this[_0x5826[2730]]=mxUtils[_0x5826[885]](this,function(){this[_0x5826[2950]]()}),this[_0x5826[1179]][_0x5826[169]](mxEvent.PAN,this[_0x5826[2730]]),mxClient[_0x5826[80]]&&mxEvent[_0x5826[169]](window,_0x5826[2428],mxUtils[_0x5826[885]](this,function(){this[_0x5826[515]]()})))}mxRubberband[_0x5826[202]][_0x5826[2951]]=20;mxRubberband[_0x5826[202]][_0x5826[984]]= !0;mxRubberband[_0x5826[202]][_0x5826[485]]=null;mxRubberband[_0x5826[202]][_0x5826[2952]]=null;mxRubberband[_0x5826[202]][_0x5826[2953]]=0;mxRubberband[_0x5826[202]][_0x5826[2954]]=0;mxRubberband[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxRubberband[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxRubberband[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[994]]()&&this[_0x5826[1179]][_0x5826[994]]()&&(this[_0x5826[1179]][_0x5826[2579]](_0x1b20x3[_0x5826[727]]())||null==_0x1b20x3[_0x5826[248]]())){var _0x1b20x4=mxUtils[_0x5826[445]](this[_0x5826[1179]][_0x5826[526]]),_0x1b20x5=mxUtils[_0x5826[444]](this[_0x5826[1179]][_0x5826[526]]);_0x1b20x5[_0x5826[235]]-=_0x1b20x4[_0x5826[235]];_0x1b20x5[_0x5826[236]]-=_0x1b20x4[_0x5826[236]];this[_0x5826[861]](_0x1b20x3[_0x5826[730]]()+_0x1b20x5[_0x5826[235]],_0x1b20x3[_0x5826[732]]()+_0x1b20x5[_0x5826[236]]);if(mxClient[_0x5826[133]]&&!mxClient[_0x5826[75]]&&!mxClient[_0x5826[76]]){var _0x1b20x9=this[_0x5826[1179]][_0x5826[526]],_0x1b20xa=function(_0x1b20x2){_0x1b20x2= new mxMouseEvent(_0x1b20x2);var _0x1b20x3=mxUtils[_0x5826[2196]](_0x1b20x9,_0x1b20x2[_0x5826[730]](),_0x1b20x2[_0x5826[732]]());_0x1b20x2[_0x5826[725]]=_0x1b20x3[_0x5826[235]];_0x1b20x2[_0x5826[726]]=_0x1b20x3[_0x5826[236]];return _0x1b20x2};this[_0x5826[2955]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[788]](this[_0x5826[1179]],_0x1b20xa(_0x1b20x2))});this[_0x5826[981]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[789]](this[_0x5826[1179]],_0x1b20xa(_0x1b20x2))});mxEvent[_0x5826[169]](document,_0x5826[752],this[_0x5826[2955]]);mxEvent[_0x5826[169]](document,_0x5826[753],this[_0x5826[981]])};_0x1b20x3[_0x5826[722]](!1)}};mxRubberband[_0x5826[202]][_0x5826[861]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2823]]= new mxPoint(_0x1b20x2,_0x1b20x3)};mxRubberband[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&null!=this[_0x5826[2823]]){var _0x1b20x4=mxUtils[_0x5826[444]](this[_0x5826[1179]][_0x5826[526]]),_0x1b20x5=mxUtils[_0x5826[445]](this[_0x5826[1179]][_0x5826[526]]);_0x1b20x4[_0x5826[235]]-=_0x1b20x5[_0x5826[235]];_0x1b20x4[_0x5826[236]]-=_0x1b20x5[_0x5826[236]];var _0x1b20x5=_0x1b20x3[_0x5826[730]]()+_0x1b20x4[_0x5826[235]],_0x1b20x4=_0x1b20x3[_0x5826[732]]()+_0x1b20x4[_0x5826[236]],_0x1b20x9=this[_0x5826[2823]][_0x5826[235]]-_0x1b20x5,_0x1b20xa=this[_0x5826[2823]][_0x5826[236]]-_0x1b20x4,_0x1b20x12=this[_0x5826[1179]][_0x5826[2353]];if(null!=this[_0x5826[485]]||Math[_0x5826[425]](_0x1b20x9)>_0x1b20x12||Math[_0x5826[425]](_0x1b20xa)>_0x1b20x12){null==this[_0x5826[485]]&&(this[_0x5826[485]]=this[_0x5826[2156]]()),mxUtils[_0x5826[2440]](),this[_0x5826[2729]](_0x1b20x5,_0x1b20x4),_0x1b20x3[_0x5826[722]]()}}};mxRubberband[_0x5826[202]][_0x5826[2156]]=function(){null==this[_0x5826[2952]]&&(this[_0x5826[2952]]=document[_0x5826[55]](_0x5826[485]),this[_0x5826[2952]][_0x5826[926]]=_0x5826[2956],mxUtils[_0x5826[254]](this[_0x5826[2952]],this[_0x5826[2951]]));this[_0x5826[1179]][_0x5826[526]][_0x5826[62]](this[_0x5826[2952]]);return this[_0x5826[2952]]};mxRubberband[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null!=this[_0x5826[485]];this[_0x5826[862]]();_0x1b20x4&&(_0x1b20x4= new mxRectangle(this[_0x5826[235]],this[_0x5826[236]],this[_0x5826[117]],this[_0x5826[119]]),this[_0x5826[1179]][_0x5826[2698]](_0x1b20x4,_0x1b20x3[_0x5826[727]]()),_0x1b20x3[_0x5826[722]]())};mxRubberband[_0x5826[202]][_0x5826[862]]=function(){null!=this[_0x5826[485]]&&this[_0x5826[485]][_0x5826[265]][_0x5826[266]](this[_0x5826[485]]);null!=this[_0x5826[2955]]&&(mxEvent[_0x5826[745]](document,_0x5826[752],this[_0x5826[2955]]),this[_0x5826[2955]]=null);null!=this[_0x5826[981]]&&(mxEvent[_0x5826[745]](document,_0x5826[753],this[_0x5826[981]]),this[_0x5826[981]]=null);this[_0x5826[2954]]=this[_0x5826[2953]]=0;this[_0x5826[485]]=this[_0x5826[2823]]=null};mxRubberband[_0x5826[202]][_0x5826[2729]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[2953]]=_0x1b20x2;this[_0x5826[2954]]=_0x1b20x3;this[_0x5826[2950]]()};mxRubberband[_0x5826[202]][_0x5826[2950]]=function(){if(null!=this[_0x5826[485]]){var _0x1b20x2=this[_0x5826[2953]]-this[_0x5826[1179]][_0x5826[1136]],_0x1b20x3=this[_0x5826[2954]]-this[_0x5826[1179]][_0x5826[1137]];this[_0x5826[235]]=Math[_0x5826[243]](this[_0x5826[2823]][_0x5826[235]],_0x1b20x2);this[_0x5826[236]]=Math[_0x5826[243]](this[_0x5826[2823]][_0x5826[236]],_0x1b20x3);this[_0x5826[117]]=Math[_0x5826[160]](this[_0x5826[2823]][_0x5826[235]],_0x1b20x2)-this[_0x5826[235]];this[_0x5826[119]]=Math[_0x5826[160]](this[_0x5826[2823]][_0x5826[236]],_0x1b20x3)-this[_0x5826[236]];_0x1b20x2=mxClient[_0x5826[47]]?this[_0x5826[1179]][_0x5826[1137]]:0;this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=this[_0x5826[235]]+(mxClient[_0x5826[47]]?this[_0x5826[1179]][_0x5826[1136]]:0)+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=this[_0x5826[236]]+_0x1b20x2+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[117]]=Math[_0x5826[160]](1,this[_0x5826[117]])+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[119]]=Math[_0x5826[160]](1,this[_0x5826[119]])+_0x5826[168]}};mxRubberband[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[2717]]||(this[_0x5826[2717]]= !0,this[_0x5826[1179]][_0x5826[1148]](this),this[_0x5826[1179]][_0x5826[745]](this[_0x5826[2730]]),this[_0x5826[862]](),null!=this[_0x5826[2952]]&&(this[_0x5826[2952]]=null))};function mxVertexHandler(_0x1b20x2){null!=_0x1b20x2&&(this[_0x5826[724]]=_0x1b20x2,this[_0x5826[176]]())}mxVertexHandler[_0x5826[202]][_0x5826[1179]]=null;mxVertexHandler[_0x5826[202]][_0x5826[724]]=null;mxVertexHandler[_0x5826[202]][_0x5826[2957]]= !1;mxVertexHandler[_0x5826[202]][_0x5826[1983]]=null;mxVertexHandler[_0x5826[202]][_0x5826[2958]]= !0;mxVertexHandler[_0x5826[202]][_0x5826[2959]]=null;mxVertexHandler[_0x5826[202]][_0x5826[2353]]=0;mxVertexHandler[_0x5826[202]][_0x5826[2809]]= !1;mxVertexHandler[_0x5826[202]][_0x5826[2960]]= !0;mxVertexHandler[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[1179]]=this[_0x5826[724]][_0x5826[441]][_0x5826[1179]];this[_0x5826[2961]]=this[_0x5826[2962]](this[_0x5826[724]]);this[_0x5826[1562]]= new mxRectangle(this[_0x5826[2961]][_0x5826[235]],this[_0x5826[2961]][_0x5826[236]],this[_0x5826[2961]][_0x5826[117]],this[_0x5826[2961]][_0x5826[119]]);this[_0x5826[2732]]=this[_0x5826[2963]](this[_0x5826[1562]]);this[_0x5826[2732]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]];this[_0x5826[2732]][_0x5826[1229]]= !1;this[_0x5826[2732]][_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]());this[_0x5826[1179]][_0x5826[1712]](this[_0x5826[724]][_0x5826[246]])&&(this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[2832]]);mxEvent[_0x5826[2733]](this[_0x5826[2732]][_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);if(0>=mxGraphHandler[_0x5826[202]][_0x5826[2795]]||this[_0x5826[1179]][_0x5826[2694]]()<mxGraphHandler[_0x5826[202]][_0x5826[2795]]){var _0x1b20x2=this[_0x5826[1179]][_0x5826[2657]](this[_0x5826[724]][_0x5826[246]]);this[_0x5826[2964]]=[];if(_0x1b20x2||this[_0x5826[1179]][_0x5826[2628]](this[_0x5826[724]][_0x5826[246]])&&2<=this[_0x5826[724]][_0x5826[117]]&&2<=this[_0x5826[724]][_0x5826[119]]){var _0x1b20x3=0;_0x1b20x2&&(this[_0x5826[2957]]||(this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[936],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2965],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2966],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2967],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2968],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2969],_0x1b20x3++)),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2970],_0x1b20x3++))),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2735]](_0x5826[2971],_0x1b20x3++)));_0x1b20x2=this[_0x5826[1179]][_0x5826[251]][_0x5826[1721]](this[_0x5826[724]][_0x5826[246]]);null!=_0x1b20x2&&(!_0x1b20x2[_0x5826[1500]]&&!this[_0x5826[1179]][_0x5826[1730]](this[_0x5826[724]][_0x5826[246]])&&this[_0x5826[1179]][_0x5826[2628]](this[_0x5826[724]][_0x5826[246]]))&&(this[_0x5826[2972]]=this[_0x5826[2735]](mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2972]]))}else {this[_0x5826[1179]][_0x5826[1712]](this[_0x5826[724]][_0x5826[246]])&&(!this[_0x5826[1179]][_0x5826[2657]](this[_0x5826[724]][_0x5826[246]])&&2>this[_0x5826[724]][_0x5826[117]]&&2>this[_0x5826[724]][_0x5826[119]])&&(this[_0x5826[2972]]=this[_0x5826[2735]](mxConstants.CURSOR_MOVABLE_VERTEX,null,null,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2972]]))}};if(this[_0x5826[2809]]&&(0>=mxGraphHandler[_0x5826[202]][_0x5826[2795]]||this[_0x5826[1179]][_0x5826[2694]]()<mxGraphHandler[_0x5826[202]][_0x5826[2795]])){this[_0x5826[2973]]=this[_0x5826[2735]](_0x5826[356],mxEvent.ROTATION_HANDLE,mxConstants[_0x5826[2974]]+3,mxConstants.HANDLE_FILLCOLOR),this[_0x5826[2964]][_0x5826[207]](this[_0x5826[2973]])};this[_0x5826[258]]()};mxVertexHandler[_0x5826[202]][_0x5826[2962]]=function(_0x1b20x2){return new mxRectangle(Math[_0x5826[488]](_0x1b20x2[_0x5826[235]]),Math[_0x5826[488]](_0x1b20x2[_0x5826[236]]),Math[_0x5826[488]](_0x1b20x2[_0x5826[117]]),Math[_0x5826[488]](_0x1b20x2[_0x5826[119]]))};mxVertexHandler[_0x5826[202]][_0x5826[2963]]=function(_0x1b20x2){_0x1b20x2= new mxRectangleShape(_0x1b20x2,null,this[_0x5826[2975]]());_0x1b20x2[_0x5826[1307]]=this[_0x5826[2976]]();_0x1b20x2[_0x5826[1522]]=this[_0x5826[2977]]();return _0x1b20x2};mxVertexHandler[_0x5826[202]][_0x5826[2975]]=function(){return mxConstants[_0x5826[2978]]};mxVertexHandler[_0x5826[202]][_0x5826[2976]]=function(){return mxConstants[_0x5826[2979]]};mxVertexHandler[_0x5826[202]][_0x5826[2977]]=function(){return mxConstants[_0x5826[2980]]};mxVertexHandler[_0x5826[202]][_0x5826[2735]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){_0x1b20x4=_0x1b20x4||mxConstants[_0x5826[2974]];_0x1b20x4= new mxRectangle(0,0,_0x1b20x4,_0x1b20x4);_0x1b20x5=this[_0x5826[2981]](_0x1b20x4,_0x1b20x3,_0x1b20x5);_0x1b20x5[_0x5826[1567]]()&&null!=this[_0x5826[724]][_0x5826[963]]&&this[_0x5826[724]][_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]?(_0x1b20x5[_0x5826[1562]][_0x5826[119]]-=1,_0x1b20x5[_0x5826[1562]][_0x5826[117]]-=1,_0x1b20x5[_0x5826[507]]=mxConstants[_0x5826[1656]],_0x1b20x5[_0x5826[176]](this[_0x5826[1179]][_0x5826[526]])):(_0x1b20x5[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[2334]]:mxConstants[_0x5826[508]],_0x1b20x5[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()));mxEvent[_0x5826[2733]](_0x1b20x5[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);this[_0x5826[1179]][_0x5826[994]]()&&(_0x1b20x5[_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x1b20x2);this[_0x5826[2982]](_0x1b20x3)||(_0x1b20x5[_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188]);return _0x1b20x5};mxVertexHandler[_0x5826[202]][_0x5826[2982]]=function(_0x1b20x2){return !0};mxVertexHandler[_0x5826[202]][_0x5826[2981]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return null!=this[_0x5826[2959]]?(_0x1b20x2[_0x5826[117]]=this[_0x5826[2959]][_0x5826[117]],_0x1b20x2[_0x5826[119]]=this[_0x5826[2959]][_0x5826[119]], new mxImageShape(_0x1b20x2,this[_0x5826[2959]][_0x5826[390]])):_0x1b20x3==mxEvent[_0x5826[2983]]? new mxEllipse(_0x1b20x2,_0x1b20x4||mxConstants[_0x5826[2984]],mxConstants.HANDLE_STROKECOLOR): new mxRectangleShape(_0x1b20x2,_0x1b20x4||mxConstants[_0x5826[2984]],mxConstants.HANDLE_STROKECOLOR)};mxVertexHandler[_0x5826[202]][_0x5826[2985]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null!=_0x1b20x2&&(_0x1b20x2[_0x5826[1562]][_0x5826[235]]=Math[_0x5826[488]](_0x1b20x3-_0x1b20x2[_0x5826[1562]][_0x5826[117]]/2),_0x1b20x2[_0x5826[1562]][_0x5826[236]]=Math[_0x5826[488]](_0x1b20x4-_0x1b20x2[_0x5826[1562]][_0x5826[119]]/2),_0x1b20x2[_0x5826[258]]())};mxVertexHandler[_0x5826[202]][_0x5826[2986]]=function(_0x1b20x2){if(_0x1b20x2[_0x5826[729]](this[_0x5826[2973]])){return mxEvent[_0x5826[2983]]};if(_0x1b20x2[_0x5826[729]](this[_0x5826[2972]])){return mxEvent[_0x5826[2987]]};if(null!=this[_0x5826[2964]]){for(var _0x1b20x3=this[_0x5826[2353]],_0x1b20x3=this[_0x5826[2958]]&&(mxClient[_0x5826[80]]||0<_0x1b20x3)? new mxRectangle(_0x1b20x2[_0x5826[734]]()-_0x1b20x3,_0x1b20x2[_0x5826[735]]()-_0x1b20x3,2*_0x1b20x3,2*_0x1b20x3):null,_0x1b20x4=0;_0x1b20x4<this[_0x5826[2964]][_0x5826[67]];_0x1b20x4++){if(_0x1b20x2[_0x5826[729]](this[_0x5826[2964]][_0x1b20x4])||null!=_0x1b20x3&&mxUtils[_0x5826[1825]](this[_0x5826[2964]][_0x1b20x4][_0x5826[1562]],_0x1b20x3)){return _0x1b20x4}}};return null};mxVertexHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[1179]][_0x5826[994]]()&&!this[_0x5826[1179]][_0x5826[2579]](_0x1b20x3[_0x5826[727]]())&&(0<this[_0x5826[2353]]||_0x1b20x3[_0x5826[248]]()==this[_0x5826[724]])){var _0x1b20x4=this[_0x5826[2986]](_0x1b20x3);null!=_0x1b20x4&&(this[_0x5826[861]](_0x1b20x3[_0x5826[730]](),_0x1b20x3[_0x5826[732]](),_0x1b20x4),_0x1b20x3[_0x5826[722]]())}};mxVertexHandler[_0x5826[202]][_0x5826[861]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],_0x1b20x2,_0x1b20x3);this[_0x5826[2739]]=_0x1b20x2[_0x5826[235]];this[_0x5826[2740]]=_0x1b20x2[_0x5826[236]];this[_0x5826[1983]]=_0x1b20x4;this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=_0x1b20x4==mxEvent[_0x5826[2983]]?_0x5826[497]:_0x5826[130];this[_0x5826[2988]]=this[_0x5826[2963]](this[_0x5826[1562]]);!(mxClient[_0x5826[48]]&&0!=Number(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]))&&null!=this[_0x5826[724]][_0x5826[963]]&&this[_0x5826[724]][_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]?(this[_0x5826[2988]][_0x5826[507]]=mxConstants[_0x5826[1656]],this[_0x5826[2988]][_0x5826[176]](this[_0x5826[1179]][_0x5826[526]])):(this[_0x5826[2988]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]],this[_0x5826[2988]][_0x5826[176]](this[_0x5826[1179]][_0x5826[441]][_0x5826[1524]]()))};mxVertexHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&null!=this[_0x5826[1983]]){var _0x1b20x4= new mxPoint(_0x1b20x3[_0x5826[734]](),_0x1b20x3[_0x5826[735]]()),_0x1b20x5=this[_0x5826[1179]][_0x5826[1018]](_0x1b20x3[_0x5826[727]]()),_0x1b20x9=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]];if(this[_0x5826[1983]]==mxEvent[_0x5826[2987]]){_0x1b20x5&&(_0x1b20x4[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x4[_0x5826[235]]/_0x1b20x9)*_0x1b20x9,_0x1b20x4[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x4[_0x5826[236]]/_0x1b20x9)*_0x1b20x9),this[_0x5826[2985]](this[_0x5826[2964]][this[_0x5826[2964]][_0x5826[67]]-1],_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]])}else {if(this[_0x5826[1983]]==mxEvent[_0x5826[2983]]){var _0x1b20xa=this[_0x5826[724]][_0x5826[235]]+this[_0x5826[724]][_0x5826[117]]/2-_0x1b20x4[_0x5826[235]],_0x1b20x12=this[_0x5826[724]][_0x5826[236]]+this[_0x5826[724]][_0x5826[119]]/2-_0x1b20x4[_0x5826[236]];this[_0x5826[2989]]=0!=_0x1b20xa?180*Math[_0x5826[2990]](_0x1b20x12/_0x1b20xa)/Math[_0x5826[424]]+90:0>_0x1b20x12?180:0;0<_0x1b20xa&&(this[_0x5826[2989]]-=180);this[_0x5826[2960]]&&(_0x1b20xa=_0x1b20x4[_0x5826[235]]-this[_0x5826[724]][_0x5826[241]](),_0x1b20x12=_0x1b20x4[_0x5826[236]]-this[_0x5826[724]][_0x5826[242]](),_0x1b20xa=Math[_0x5826[425]](Math[_0x5826[428]](_0x1b20xa*_0x1b20xa+_0x1b20x12*_0x1b20x12)-this[_0x5826[724]][_0x5826[119]]/2-20),_0x1b20xa=Math[_0x5826[160]](1,5*Math[_0x5826[243]](3,Math[_0x5826[160]](0,Math[_0x5826[488]](80/Math[_0x5826[425]](_0x1b20xa))))),this[_0x5826[2989]]=Math[_0x5826[488]](this[_0x5826[2989]]/_0x1b20xa)*_0x1b20xa);this[_0x5826[2732]][_0x5826[603]]=this[_0x5826[2989]];this[_0x5826[2732]][_0x5826[258]]()}else {var _0x1b20x13=mxUtils[_0x5826[431]](this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),_0x1b20x14=Math[_0x5826[426]](-_0x1b20x13),_0x1b20x15=Math[_0x5826[427]](-_0x1b20x13),_0x1b20x16= new mxPoint(this[_0x5826[724]][_0x5826[241]](),this[_0x5826[724]][_0x5826[242]]()),_0x1b20xa=_0x1b20x4[_0x5826[235]]-this[_0x5826[2739]],_0x1b20x12=_0x1b20x4[_0x5826[236]]-this[_0x5826[2740]],_0x1b20x4=this[_0x5826[1179]][_0x5826[441]][_0x5826[513]],_0x1b20x17=_0x1b20x15*_0x1b20xa+_0x1b20x14*_0x1b20x12,_0x1b20xa=_0x1b20x14*_0x1b20xa-_0x1b20x15*_0x1b20x12;this[_0x5826[1562]]=this[_0x5826[2991]](this[_0x5826[2961]],_0x1b20xa,_0x1b20x17,this[_0x5826[1983]],_0x1b20x5,_0x1b20x9,_0x1b20x4);_0x1b20x14=Math[_0x5826[426]](_0x1b20x13);_0x1b20x15=Math[_0x5826[427]](_0x1b20x13);_0x1b20x12= new mxPoint(this[_0x5826[1562]][_0x5826[241]](),this[_0x5826[1562]][_0x5826[242]]());_0x1b20xa=_0x1b20x12[_0x5826[235]]-_0x1b20x16[_0x5826[235]];_0x1b20x12=_0x1b20x12[_0x5826[236]]-_0x1b20x16[_0x5826[236]];_0x1b20x16=_0x1b20x15*_0x1b20xa+_0x1b20x14*_0x1b20x12-_0x1b20x12;this[_0x5826[1562]][_0x5826[235]]+=_0x1b20x14*_0x1b20xa-_0x1b20x15*_0x1b20x12-_0x1b20xa;this[_0x5826[1562]][_0x5826[236]]+=_0x1b20x16;this[_0x5826[2932]]()}};_0x1b20x3[_0x5826[722]]()}else {null!=this[_0x5826[2986]](_0x1b20x3)&&_0x1b20x3[_0x5826[722]](!1)}};mxVertexHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(!_0x1b20x3[_0x5826[721]]()&&null!=this[_0x5826[1983]]&&null!=this[_0x5826[724]]){var _0x1b20x4= new mxPoint(_0x1b20x3[_0x5826[734]](),_0x1b20x3[_0x5826[735]]());this[_0x5826[1179]][_0x5826[502]]()[_0x5826[473]]();try{if(this[_0x5826[1983]]==mxEvent[_0x5826[2983]]){null!=this[_0x5826[2989]]&&this[_0x5826[2992]](this[_0x5826[724]][_0x5826[246]],this[_0x5826[2989]]-(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||0))}else {var _0x1b20x5=this[_0x5826[1179]][_0x5826[1018]](_0x1b20x3[_0x5826[727]]()),_0x1b20x9=mxUtils[_0x5826[431]](this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),_0x1b20xa=Math[_0x5826[426]](-_0x1b20x9),_0x1b20x12=Math[_0x5826[427]](-_0x1b20x9),_0x1b20x13=_0x1b20x4[_0x5826[235]]-this[_0x5826[2739]],_0x1b20x14=_0x1b20x4[_0x5826[236]]-this[_0x5826[2740]],_0x1b20x4=_0x1b20x12*_0x1b20x13+_0x1b20xa*_0x1b20x14,_0x1b20x13=_0x1b20xa*_0x1b20x13-_0x1b20x12*_0x1b20x14,_0x1b20x14=_0x1b20x4,_0x1b20x15=this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];this[_0x5826[2526]](this[_0x5826[724]][_0x5826[246]],_0x1b20x13/_0x1b20x15,_0x1b20x14/_0x1b20x15,this[_0x5826[1983]],_0x1b20x5)}}finally{this[_0x5826[1179]][_0x5826[502]]()[_0x5826[476]]()};this[_0x5826[862]]();_0x1b20x3[_0x5826[722]]()}};mxVertexHandler[_0x5826[202]][_0x5826[2992]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]();if(_0x1b20x4[_0x5826[1193]](_0x1b20x2)){var _0x1b20x5=_0x1b20x2==this[_0x5826[724]]?this[_0x5826[724]]:this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x2);null!=_0x1b20x5&&this[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_ROTATION,(_0x1b20x5[_0x5826[124]][mxConstants[_0x5826[2278]]]||0)+_0x1b20x3,[_0x1b20x2]);if(this[_0x5826[724]][_0x5826[246]]!=_0x1b20x2&&(_0x1b20x5=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x2),null!=_0x1b20x5&&!_0x1b20x5[_0x5826[1500]])){if(0!=_0x1b20x3){var _0x1b20x9=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](_0x1b20x2),_0x1b20xa=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x9);if(!_0x1b20x5[_0x5826[1500]]&&null!=_0x1b20xa){var _0x1b20x12=mxUtils[_0x5826[431]](_0x1b20x3),_0x1b20x9=Math[_0x5826[426]](_0x1b20x12),_0x1b20x12=Math[_0x5826[427]](_0x1b20x12),_0x1b20x13= new mxPoint(_0x1b20x5[_0x5826[241]](),_0x1b20x5[_0x5826[242]]()),_0x1b20xa= new mxPoint(_0x1b20xa[_0x5826[117]]/2,_0x1b20xa[_0x5826[119]]/2),_0x1b20x9=mxUtils[_0x5826[432]](_0x1b20x13,_0x1b20x9,_0x1b20x12,_0x1b20xa),_0x1b20x5=_0x1b20x5[_0x5826[238]]();_0x1b20x5[_0x5826[235]]=_0x1b20x9[_0x5826[235]]-_0x1b20x5[_0x5826[117]]/2;_0x1b20x5[_0x5826[236]]=_0x1b20x9[_0x5826[236]]-_0x1b20x5[_0x5826[119]]/2;_0x1b20x4[_0x5826[1724]](_0x1b20x2,_0x1b20x5)}}else {_0x1b20x5=_0x1b20x5[_0x5826[238]](),_0x1b20x5[_0x5826[235]]+=dx,_0x1b20x5[_0x5826[236]]+=dy,_0x1b20x4[_0x5826[1724]](_0x1b20x2,_0x1b20x5)}};_0x1b20x5=_0x1b20x4[_0x5826[262]](_0x1b20x2);for(_0x1b20x9=0;_0x1b20x9<_0x1b20x5;_0x1b20x9++){this[_0x5826[2992]](_0x1b20x4[_0x5826[263]](_0x1b20x2,_0x1b20x9),_0x1b20x3)}}};mxVertexHandler[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[1983]]=this[_0x5826[2989]]=null;null!=this[_0x5826[2988]]&&(this[_0x5826[2988]][_0x5826[515]](),this[_0x5826[2988]]=null);null!=this[_0x5826[2732]]&&(this[_0x5826[2732]][_0x5826[252]][_0x5826[124]][_0x5826[495]]=_0x5826[497],this[_0x5826[2961]]=this[_0x5826[2962]](this[_0x5826[724]]),this[_0x5826[1562]]= new mxRectangle(this[_0x5826[2961]][_0x5826[235]],this[_0x5826[2961]][_0x5826[236]],this[_0x5826[2961]][_0x5826[117]],this[_0x5826[2961]][_0x5826[119]]),this[_0x5826[2932]]())};mxVertexHandler[_0x5826[202]][_0x5826[2526]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=this[_0x5826[1179]][_0x5826[251]][_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20xa){if(_0x1b20x5==mxEvent[_0x5826[2987]]){_0x1b20x5=this[_0x5826[1179]][_0x5826[441]][_0x5826[255]],_0x1b20x3=(this[_0x5826[2972]][_0x5826[1562]][_0x5826[241]]()-this[_0x5826[2739]])/_0x1b20x5,_0x1b20x4=(this[_0x5826[2972]][_0x5826[1562]][_0x5826[242]]()-this[_0x5826[2740]])/_0x1b20x5,_0x1b20xa=_0x1b20xa[_0x5826[238]](),null==_0x1b20xa[_0x5826[1368]]?_0x1b20xa[_0x5826[1368]]= new mxPoint(_0x1b20x3,_0x1b20x4):(_0x1b20xa[_0x5826[1368]][_0x5826[235]]+=_0x1b20x3,_0x1b20xa[_0x5826[1368]][_0x5826[236]]+=_0x1b20x4),this[_0x5826[1179]][_0x5826[251]][_0x5826[1724]](_0x1b20x2,_0x1b20xa)}else {_0x1b20x5=this[_0x5826[2991]](_0x1b20xa,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,1, new mxPoint(0,0));var _0x1b20x12=mxUtils[_0x5826[431]](this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]);if(0!=_0x1b20x12){_0x1b20x3=_0x1b20x5[_0x5826[241]]()-_0x1b20xa[_0x5826[241]]();_0x1b20x4=_0x1b20x5[_0x5826[242]]()-_0x1b20xa[_0x5826[242]]();_0x1b20x9=Math[_0x5826[426]](_0x1b20x12);var _0x1b20x13=Math[_0x5826[427]](_0x1b20x12),_0x1b20x12=_0x1b20x9*_0x1b20x3-_0x1b20x13*_0x1b20x4-_0x1b20x3;_0x1b20x3=_0x1b20x13*_0x1b20x3+_0x1b20x9*_0x1b20x4-_0x1b20x4;_0x1b20x4=_0x1b20x5[_0x5826[235]]-_0x1b20xa[_0x5826[235]];var _0x1b20x14=_0x1b20x5[_0x5826[236]]-_0x1b20xa[_0x5826[236]],_0x1b20x15=_0x1b20x9*_0x1b20x4-_0x1b20x13*_0x1b20x14;_0x1b20x9=_0x1b20x13*_0x1b20x4+_0x1b20x9*_0x1b20x14;_0x1b20x5[_0x5826[235]]+=_0x1b20x12;_0x1b20x5[_0x5826[236]]+=_0x1b20x3;if(!this[_0x5826[1179]][_0x5826[1742]](_0x1b20x2)&&(0!=_0x1b20x12||0!=_0x1b20x3)){_0x1b20x4=_0x1b20xa[_0x5826[235]]-_0x1b20x5[_0x5826[235]]+_0x1b20x15,_0x1b20x14=_0x1b20xa[_0x5826[236]]-_0x1b20x5[_0x5826[236]]+_0x1b20x9,this[_0x5826[2993]](_0x1b20x2,_0x1b20x4,_0x1b20x14)}};this[_0x5826[1179]][_0x5826[2526]](_0x1b20x2,_0x1b20x5)}}};mxVertexHandler[_0x5826[202]][_0x5826[2993]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){for(var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[262]](_0x1b20x2),_0x1b20xa=0;_0x1b20xa<_0x1b20x9;_0x1b20xa++){var _0x1b20x12=_0x1b20x5[_0x5826[263]](_0x1b20x2,_0x1b20xa);if(_0x1b20x5[_0x5826[1193]](_0x1b20x12)){var _0x1b20x13=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x12);null!=_0x1b20x13&&!_0x1b20x13[_0x5826[1500]]&&(_0x1b20x13=_0x1b20x13[_0x5826[238]](),_0x1b20x13[_0x5826[235]]+=_0x1b20x3,_0x1b20x13[_0x5826[236]]+=_0x1b20x4,_0x1b20x5[_0x5826[1724]](_0x1b20x12,_0x1b20x13))}}};mxVertexHandler[_0x5826[202]][_0x5826[2991]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){if(this[_0x5826[2957]]){_0x1b20x12=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]+_0x1b20x3;var _0x1b20x13=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]+_0x1b20x4;_0x1b20x9&&(_0x1b20x12=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x12/_0x1b20xa)*_0x1b20xa,_0x1b20x13=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x13/_0x1b20xa)*_0x1b20xa);_0x1b20xa= new mxRectangle(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]],0,0);_0x1b20xa[_0x5826[99]]( new mxRectangle(_0x1b20x12,_0x1b20x13,0,0));return _0x1b20xa};var _0x1b20x13=_0x1b20x2[_0x5826[235]]-_0x1b20x12[_0x5826[235]]*_0x1b20xa,_0x1b20x14=_0x1b20x13+_0x1b20x2[_0x5826[117]],_0x1b20x15=_0x1b20x2[_0x5826[236]]-_0x1b20x12[_0x5826[236]]*_0x1b20xa;_0x1b20x2=_0x1b20x15+_0x1b20x2[_0x5826[119]];4<_0x1b20x5?(_0x1b20x2+=_0x1b20x4,_0x1b20x9&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2/_0x1b20xa)*_0x1b20xa)):3>_0x1b20x5&&(_0x1b20x15+=_0x1b20x4,_0x1b20x9&&(_0x1b20x15=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x15/_0x1b20xa)*_0x1b20xa));if(0==_0x1b20x5||3==_0x1b20x5||5==_0x1b20x5){_0x1b20x13+=_0x1b20x3,_0x1b20x9&&(_0x1b20x13=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x13/_0x1b20xa)*_0x1b20xa)}else {if(2==_0x1b20x5||4==_0x1b20x5||7==_0x1b20x5){_0x1b20x14+=_0x1b20x3,_0x1b20x9&&(_0x1b20x14=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x14/_0x1b20xa)*_0x1b20xa)}};_0x1b20x9=_0x1b20x14-_0x1b20x13;_0x1b20x2-=_0x1b20x15;0>_0x1b20x9&&(_0x1b20x13+=_0x1b20x9,_0x1b20x9=Math[_0x5826[425]](_0x1b20x9));0>_0x1b20x2&&(_0x1b20x15+=_0x1b20x2,_0x1b20x2=Math[_0x5826[425]](_0x1b20x2));return new mxRectangle(_0x1b20x13+_0x1b20x12[_0x5826[235]]*_0x1b20xa,_0x1b20x15+_0x1b20x12[_0x5826[236]]*_0x1b20xa,_0x1b20x9,_0x1b20x2)};mxVertexHandler[_0x5826[202]][_0x5826[258]]=function(){this[_0x5826[2961]]=this[_0x5826[2962]](this[_0x5826[724]]);this[_0x5826[1562]]= new mxRectangle(this[_0x5826[724]][_0x5826[235]],this[_0x5826[724]][_0x5826[236]],this[_0x5826[724]][_0x5826[117]],this[_0x5826[724]][_0x5826[119]]);var _0x1b20x2=this[_0x5826[724]];if(null!=this[_0x5826[2964]]){var _0x1b20x3=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]],_0x1b20x4=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]];if(this[_0x5826[2957]]){this[_0x5826[2985]](this[_0x5826[2964]][0],_0x1b20x3,_0x1b20x4)}else {var _0x1b20x5=_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]/2,_0x1b20x9=_0x1b20x2[_0x5826[236]]+_0x1b20x2[_0x5826[119]]/2;if(1<this[_0x5826[2964]][_0x5826[67]]){var _0x1b20xa=mxUtils[_0x5826[431]](_0x1b20x2[_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),_0x1b20x12=Math[_0x5826[426]](_0x1b20xa),_0x1b20xa=Math[_0x5826[427]](_0x1b20xa),_0x1b20x13= new mxPoint(_0x1b20x2[_0x5826[241]](),_0x1b20x2[_0x5826[242]]()),_0x1b20x14=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]),_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][0],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x5;_0x1b20x14[_0x5826[236]]=_0x1b20x2[_0x5826[236]];_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][1],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x3;_0x1b20x14[_0x5826[236]]=_0x1b20x2[_0x5826[236]];_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][2],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x2[_0x5826[235]];_0x1b20x14[_0x5826[236]]=_0x1b20x9;_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][3],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x3;_0x1b20x14[_0x5826[236]]=_0x1b20x9;_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][4],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x2[_0x5826[235]];_0x1b20x14[_0x5826[236]]=_0x1b20x4;_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][5],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x5;_0x1b20x14[_0x5826[236]]=_0x1b20x4;_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][6],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);_0x1b20x14[_0x5826[235]]=_0x1b20x3;_0x1b20x14[_0x5826[236]]=_0x1b20x4;_0x1b20x14=mxUtils[_0x5826[432]](_0x1b20x14,_0x1b20x12,_0x1b20xa,_0x1b20x13);this[_0x5826[2985]](this[_0x5826[2964]][7],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]);this[_0x5826[2985]](this[_0x5826[2964]][8],_0x1b20x5+_0x1b20x2[_0x5826[2079]][_0x5826[235]],_0x1b20x9+_0x1b20x2[_0x5826[2079]][_0x5826[236]])}else {2<=this[_0x5826[724]][_0x5826[117]]&&2<=this[_0x5826[724]][_0x5826[119]]?this[_0x5826[2985]](this[_0x5826[2964]][0],_0x1b20x5+_0x1b20x2[_0x5826[2079]][_0x5826[235]],_0x1b20x9+_0x1b20x2[_0x5826[2079]][_0x5826[236]]):this[_0x5826[2985]](this[_0x5826[2964]][0],_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]])}}};null!=this[_0x5826[2973]]&&(_0x1b20xa=mxUtils[_0x5826[431]](this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),_0x1b20x12=Math[_0x5826[426]](_0x1b20xa),_0x1b20xa=Math[_0x5826[427]](_0x1b20xa),_0x1b20x13= new mxPoint(this[_0x5826[724]][_0x5826[241]](),this[_0x5826[724]][_0x5826[242]]()),_0x1b20x14=mxUtils[_0x5826[432]]( new mxPoint(_0x1b20x2[_0x5826[235]]+_0x1b20x2[_0x5826[117]]/2,_0x1b20x2[_0x5826[236]]-16),_0x1b20x12,_0x1b20xa,_0x1b20x13),this[_0x5826[2985]](this[_0x5826[2973]],_0x1b20x14[_0x5826[235]],_0x1b20x14[_0x5826[236]]));this[_0x5826[2732]][_0x5826[603]]=Number(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]);this[_0x5826[2932]]()};mxVertexHandler[_0x5826[202]][_0x5826[2932]]=function(){null!=this[_0x5826[2988]]&&(this[_0x5826[2988]][_0x5826[1562]]=this[_0x5826[1562]],this[_0x5826[2988]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]&&(this[_0x5826[2988]][_0x5826[1562]][_0x5826[117]]=Math[_0x5826[160]](0,this[_0x5826[2988]][_0x5826[1562]][_0x5826[117]]-1),this[_0x5826[2988]][_0x5826[1562]][_0x5826[119]]=Math[_0x5826[160]](0,this[_0x5826[2988]][_0x5826[1562]][_0x5826[119]]-1)),this[_0x5826[2988]][_0x5826[603]]=Number(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]),this[_0x5826[2988]][_0x5826[258]]());this[_0x5826[2732]][_0x5826[1562]]=this[_0x5826[1562]];this[_0x5826[2732]][_0x5826[258]]()};mxVertexHandler[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[2988]]&&(this[_0x5826[2988]][_0x5826[515]](),this[_0x5826[2988]]=null);this[_0x5826[2732]][_0x5826[515]]();this[_0x5826[2972]]=this[_0x5826[2732]]=null;if(null!=this[_0x5826[2964]]){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[2964]][_0x5826[67]];_0x1b20x2++){this[_0x5826[2964]][_0x1b20x2][_0x5826[515]](),this[_0x5826[2964]][_0x1b20x2]=null}}};function mxEdgeHandler(_0x1b20x2){null!=_0x1b20x2&&(this[_0x5826[724]]=_0x1b20x2,this[_0x5826[176]]())}mxEdgeHandler[_0x5826[202]][_0x5826[1179]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[724]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2885]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2886]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[267]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[253]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2994]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2972]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2797]]= !0;mxEdgeHandler[_0x5826[202]][_0x5826[2771]]= !1;mxEdgeHandler[_0x5826[202]][_0x5826[2995]]= !1;mxEdgeHandler[_0x5826[202]][_0x5826[574]]= !1;mxEdgeHandler[_0x5826[202]][_0x5826[2958]]= !0;mxEdgeHandler[_0x5826[202]][_0x5826[2996]]= !1;mxEdgeHandler[_0x5826[202]][_0x5826[2959]]=null;mxEdgeHandler[_0x5826[202]][_0x5826[2353]]=0;mxEdgeHandler[_0x5826[202]][_0x5826[176]]=function(){this[_0x5826[1179]]=this[_0x5826[724]][_0x5826[441]][_0x5826[1179]];this[_0x5826[2885]]=this[_0x5826[1689]]();this[_0x5826[2886]]= new mxConstraintHandler(this[_0x5826[1179]]);this[_0x5826[1525]]=[];this[_0x5826[2997]]=this[_0x5826[2998]](this[_0x5826[724]]);this[_0x5826[253]]=this[_0x5826[2963]](this[_0x5826[2997]]);this[_0x5826[253]][_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[2334]]:mxConstants[_0x5826[508]];this[_0x5826[253]][_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]());this[_0x5826[253]][_0x5826[1564]]=0;this[_0x5826[253]][_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[2831]];mxEvent[_0x5826[169]](this[_0x5826[253]][_0x5826[252]],_0x5826[760],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[761]](_0x1b20x2,this[_0x5826[724]][_0x5826[246]])}));mxEvent[_0x5826[759]](this[_0x5826[253]][_0x5826[252]],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[2771]]&&this[_0x5826[2999]](_0x1b20x2)?this[_0x5826[3000]](this[_0x5826[724]],_0x1b20x2):this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x1b20x2,this[_0x5826[724]]))}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){var _0x1b20x4=this[_0x5826[724]][_0x5826[246]];if(null!=this[_0x5826[1983]]){var _0x1b20x5=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x2),mxEvent[_0x5826[733]](_0x1b20x2)),_0x1b20x4=this[_0x5826[1179]][_0x5826[999]](_0x1b20x5[_0x5826[235]],_0x1b20x5[_0x5826[236]]);this[_0x5826[1179]][_0x5826[1730]](_0x1b20x4)&&this[_0x5826[1179]][_0x5826[2688]](_0x1b20x4,_0x1b20x5[_0x5826[235]],_0x1b20x5[_0x5826[236]])&&(_0x1b20x4=null)};this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x1b20x2,this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x4)))}),mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[1179]][_0x5826[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x1b20x2,this[_0x5826[724]]))}));this[_0x5826[574]]=null!=this[_0x5826[724]][_0x5826[963]]&&this[_0x5826[724]][_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]];if(!this[_0x5826[574]]){var _0x1b20x2=this[_0x5826[724]][_0x5826[2089]](!0);null!=_0x1b20x2&&(this[_0x5826[574]]=null!=_0x1b20x2[_0x5826[963]]&&_0x1b20x2[_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]);this[_0x5826[574]]||(_0x1b20x2=this[_0x5826[724]][_0x5826[2089]](!1),null!=_0x1b20x2&&(this[_0x5826[574]]=null!=_0x1b20x2[_0x5826[963]]&&_0x1b20x2[_0x5826[963]][_0x5826[252]][_0x5826[265]]==this[_0x5826[1179]][_0x5826[526]]))};if(this[_0x5826[1179]][_0x5826[2694]]()<mxGraphHandler[_0x5826[202]][_0x5826[2795]]||0>=mxGraphHandler[_0x5826[202]][_0x5826[2795]]){this[_0x5826[2994]]=this[_0x5826[3001]]()};this[_0x5826[685]]= new mxPoint(this[_0x5826[724]][_0x5826[2079]][_0x5826[235]],this[_0x5826[724]][_0x5826[2079]][_0x5826[236]]);this[_0x5826[2972]]= new mxRectangleShape( new mxRectangle,mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR);this[_0x5826[2972]][_0x5826[1229]]= !1;this[_0x5826[3002]](this[_0x5826[2972]]);this[_0x5826[2972]][_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3003]];mxEvent[_0x5826[2733]](this[_0x5826[2972]][_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);this[_0x5826[258]]()};mxEdgeHandler[_0x5826[202]][_0x5826[2999]]=function(_0x1b20x2){return mxEvent[_0x5826[774]](_0x1b20x2)};mxEdgeHandler[_0x5826[202]][_0x5826[3004]]=function(_0x1b20x2){return mxEvent[_0x5826[774]](_0x1b20x2)};mxEdgeHandler[_0x5826[202]][_0x5826[2998]]=function(_0x1b20x2){return _0x1b20x2[_0x5826[439]]};mxEdgeHandler[_0x5826[202]][_0x5826[2963]]=function(_0x1b20x2){_0x1b20x2= new mxPolyline(_0x1b20x2,this[_0x5826[2975]]());_0x1b20x2[_0x5826[1307]]=this[_0x5826[2976]]();_0x1b20x2[_0x5826[1522]]=this[_0x5826[2977]]();return _0x1b20x2};mxEdgeHandler[_0x5826[202]][_0x5826[2975]]=function(){return mxConstants[_0x5826[3005]]};mxEdgeHandler[_0x5826[202]][_0x5826[2976]]=function(){return mxConstants[_0x5826[3006]]};mxEdgeHandler[_0x5826[202]][_0x5826[2977]]=function(){return mxConstants[_0x5826[3007]]};mxEdgeHandler[_0x5826[202]][_0x5826[2907]]=function(_0x1b20x2){return !0};mxEdgeHandler[_0x5826[202]][_0x5826[1689]]=function(){var _0x1b20x2= new mxCellMarker(this[_0x5826[1179]]),_0x1b20x3=this;_0x1b20x2[_0x5826[736]]=function(_0x1b20x2){var _0x1b20x5=mxCellMarker[_0x5826[202]][_0x5826[736]][_0x5826[183]](this,arguments);if(!_0x1b20x3[_0x5826[2907]](_0x1b20x5)){return null};var _0x1b20x9=_0x1b20x3[_0x5826[1179]][_0x5826[502]]();if(_0x1b20x5==_0x1b20x3[_0x5826[724]][_0x5826[246]]||null!=_0x1b20x5&&!_0x1b20x3[_0x5826[1179]][_0x5826[2405]]&&_0x1b20x9[_0x5826[250]](_0x1b20x5)){_0x1b20x5=null};return _0x1b20x5};_0x1b20x2[_0x5826[2872]]=function(_0x1b20x2){var _0x1b20x5=_0x1b20x3[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x3[_0x5826[1179]][_0x5826[441]][_0x5826[2292]](_0x1b20x2,_0x1b20x3[_0x5826[1179]][_0x5826[441]][_0x5826[248]](_0x1b20x5[_0x5826[1709]](_0x1b20x3[_0x5826[724]][_0x5826[246]],!_0x1b20x3[_0x5826[729]])),!_0x1b20x3[_0x5826[729]]),_0x1b20x5=null!=_0x1b20x5?_0x1b20x5[_0x5826[246]]:null;_0x1b20x3[_0x5826[267]]=_0x1b20x3[_0x5826[2909]](_0x1b20x3[_0x5826[729]]?_0x1b20x2[_0x5826[246]]:_0x1b20x5,_0x1b20x3[_0x5826[729]]?_0x1b20x5:_0x1b20x2[_0x5826[246]]);return null==_0x1b20x3[_0x5826[267]]};return _0x1b20x2};mxEdgeHandler[_0x5826[202]][_0x5826[2909]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[1179]][_0x5826[2500]](this[_0x5826[724]][_0x5826[246]],_0x1b20x2,_0x1b20x3)};mxEdgeHandler[_0x5826[202]][_0x5826[3001]]=function(){for(var _0x1b20x2=this[_0x5826[724]][_0x5826[246]],_0x1b20x3=[],_0x1b20x4=0;_0x1b20x4<this[_0x5826[2997]][_0x5826[67]];_0x1b20x4++){if(this[_0x5826[3008]](_0x1b20x4)){var _0x1b20x5=_0x1b20x4==this[_0x5826[2997]][_0x5826[67]]-1;if((_0x1b20x5=0==_0x1b20x4||_0x1b20x5)||this[_0x5826[1179]][_0x5826[2662]](_0x1b20x2)){var _0x1b20x9=this[_0x5826[3009]](_0x1b20x4);this[_0x5826[3002]](_0x1b20x9);mxClient[_0x5826[754]]&&_0x1b20x9[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130]);if(this[_0x5826[3010]](_0x1b20x4)){if(mxClient[_0x5826[754]]){var _0x1b20xa=mxUtils[_0x5826[885]](this,function(_0x1b20x2){_0x1b20x2=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x2),mxEvent[_0x5826[733]](_0x1b20x2));return this[_0x5826[1179]][_0x5826[441]][_0x5826[248]](this[_0x5826[1179]][_0x5826[999]](_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]]))});mxEvent[_0x5826[2733]](_0x1b20x9[_0x5826[252]],this[_0x5826[1179]],_0x1b20xa)}else {_0x1b20x9[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3011]],mxEvent[_0x5826[2733]](_0x1b20x9[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]])}};_0x1b20x3[_0x5826[207]](_0x1b20x9);_0x1b20x5||(this[_0x5826[1525]][_0x5826[207]]( new mxPoint(0,0)),_0x1b20x9[_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188])}}};return _0x1b20x3};mxEdgeHandler[_0x5826[202]][_0x5826[3010]]=function(_0x1b20x2){return !0};mxEdgeHandler[_0x5826[202]][_0x5826[3008]]=function(_0x1b20x2){return !0};mxEdgeHandler[_0x5826[202]][_0x5826[3009]]=function(_0x1b20x2){if(null!=this[_0x5826[2959]]){return new mxImageShape( new mxRectangle(0,0,this[_0x5826[2959]][_0x5826[117]],this[_0x5826[2959]][_0x5826[119]]),this[_0x5826[2959]][_0x5826[390]])};_0x1b20x2=mxConstants[_0x5826[2974]];this[_0x5826[574]]&&(_0x1b20x2-=1);return new mxRectangleShape( new mxRectangle(0,0,_0x1b20x2,_0x1b20x2),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};mxEdgeHandler[_0x5826[202]][_0x5826[3002]]=function(_0x1b20x2){this[_0x5826[574]]?(_0x1b20x2[_0x5826[507]]=mxConstants[_0x5826[1656]],_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[526]])):(_0x1b20x2[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[2334]]:mxConstants[_0x5826[508]],_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]()))};mxEdgeHandler[_0x5826[202]][_0x5826[2986]]=function(_0x1b20x2){if(null!=this[_0x5826[2994]]){for(var _0x1b20x3=this[_0x5826[2353]],_0x1b20x3=this[_0x5826[2958]]&&(mxClient[_0x5826[80]]||0<_0x1b20x3)? new mxRectangle(_0x1b20x2[_0x5826[734]]()-_0x1b20x3,_0x1b20x2[_0x5826[735]]()-_0x1b20x3,2*_0x1b20x3,2*_0x1b20x3):null,_0x1b20x4=0;_0x1b20x4<this[_0x5826[2994]][_0x5826[67]];_0x1b20x4++){if((_0x1b20x2[_0x5826[729]](this[_0x5826[2994]][_0x1b20x4])||null!=_0x1b20x3&&mxUtils[_0x5826[1825]](this[_0x5826[2994]][_0x1b20x4][_0x5826[1562]],_0x1b20x3))&&_0x5826[188]!=this[_0x5826[2994]][_0x1b20x4][_0x5826[252]][_0x5826[124]][_0x5826[187]]){return _0x1b20x4}}};if(_0x1b20x2[_0x5826[729]](this[_0x5826[2972]])&&_0x5826[188]!=this[_0x5826[2972]][_0x5826[252]][_0x5826[124]][_0x5826[187]]||_0x1b20x2[_0x5826[729]](this[_0x5826[724]][_0x5826[963]])){if(!mxClient[_0x5826[75]]&&!mxClient[_0x5826[76]]||_0x5826[2822]!=_0x1b20x2[_0x5826[728]]()[_0x5826[301]]){return mxEvent[_0x5826[2987]]}};return null};mxEdgeHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null,_0x1b20x4=this[_0x5826[2986]](_0x1b20x3);null!=_0x1b20x4&&(!_0x1b20x3[_0x5826[721]]()&&this[_0x5826[1179]][_0x5826[994]]()&&!this[_0x5826[1179]][_0x5826[2579]](_0x1b20x3[_0x5826[727]]()))&&(this[_0x5826[2995]]&&this[_0x5826[3004]](_0x1b20x3[_0x5826[727]]())?this[_0x5826[3012]](this[_0x5826[724]],_0x1b20x4):(_0x1b20x4!=mxEvent[_0x5826[2987]]||this[_0x5826[1179]][_0x5826[2628]](_0x1b20x3[_0x5826[736]]()))&&this[_0x5826[861]](_0x1b20x3[_0x5826[730]](),_0x1b20x3[_0x5826[732]](),_0x1b20x4),_0x1b20x3[_0x5826[722]]())};mxEdgeHandler[_0x5826[202]][_0x5826[861]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[2739]]=_0x1b20x2;this[_0x5826[2740]]=_0x1b20x3;this[_0x5826[729]]=null==this[_0x5826[2994]]?!1:0==_0x1b20x4;this[_0x5826[3013]]=null==this[_0x5826[2994]]?!1:_0x1b20x4==this[_0x5826[2994]][_0x5826[67]]-1;this[_0x5826[3014]]=_0x1b20x4==mxEvent[_0x5826[2987]];if(this[_0x5826[729]]||this[_0x5826[3013]]){if(_0x1b20x2=this[_0x5826[724]][_0x5826[246]],_0x1b20x3=this[_0x5826[1179]][_0x5826[251]][_0x5826[1709]](_0x1b20x2,this[_0x5826[729]]),null==_0x1b20x3&&this[_0x5826[1179]][_0x5826[2661]](_0x1b20x2,this[_0x5826[729]])||null!=_0x1b20x3&&this[_0x5826[1179]][_0x5826[2551]](_0x1b20x2,_0x1b20x3,this[_0x5826[729]])){this[_0x5826[1983]]=_0x1b20x4}}else {this[_0x5826[1983]]=_0x1b20x4}};mxEdgeHandler[_0x5826[202]][_0x5826[3015]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[724]][_0x5826[238]]()};mxEdgeHandler[_0x5826[202]][_0x5826[3016]]=function(){return this[_0x5826[1179]][_0x5826[1020]]*this[_0x5826[1179]][_0x5826[441]][_0x5826[255]]/2};mxEdgeHandler[_0x5826[202]][_0x5826[2689]]=function(_0x1b20x2){var _0x1b20x3= new mxPoint(_0x1b20x2[_0x5826[734]](),_0x1b20x2[_0x5826[735]]()),_0x1b20x4=this[_0x5826[3016]](),_0x1b20x5=this[_0x5826[1179]][_0x5826[249]](),_0x1b20x9=!1,_0x1b20xa=!1;if(this[_0x5826[2996]]&&0<_0x1b20x4){var _0x1b20x12=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x5=_0x1b20x2[_0x5826[235]];Math[_0x5826[425]](_0x1b20x3[_0x5826[235]]-_0x1b20x5)<_0x1b20x4&&(_0x1b20x3[_0x5826[235]]=_0x1b20x5,_0x1b20x9= !0);_0x1b20x2=_0x1b20x2[_0x5826[236]];Math[_0x5826[425]](_0x1b20x3[_0x5826[236]]-_0x1b20x2)<_0x1b20x4&&(_0x1b20x3[_0x5826[236]]=_0x1b20x2,_0x1b20xa= !0)}},_0x1b20x13=function(_0x1b20x2){null!=_0x1b20x2&&_0x1b20x12[_0x5826[239]](this, new mxPoint(_0x1b20x5[_0x5826[2230]](_0x1b20x2),_0x1b20x5[_0x5826[2228]](_0x1b20x2)))};_0x1b20x13[_0x5826[239]](this,this[_0x5826[724]][_0x5826[2089]](!0));_0x1b20x13[_0x5826[239]](this,this[_0x5826[724]][_0x5826[2089]](!1));if(null!=this[_0x5826[2997]]){for(_0x1b20x13=0;_0x1b20x13<this[_0x5826[2997]];_0x1b20x13++){_0x1b20x13!=this[_0x5826[1983]]&&_0x1b20x12[_0x5826[239]](this,this[_0x5826[2997]][_0x1b20x13])}}};this[_0x5826[1179]][_0x5826[1018]](_0x1b20x2[_0x5826[727]]())&&(_0x1b20x2=_0x1b20x5[_0x5826[255]],_0x1b20x13=_0x1b20x5[_0x5826[513]],_0x1b20x9||(_0x1b20x3[_0x5826[235]]=(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x3[_0x5826[235]]/_0x1b20x2-_0x1b20x13[_0x5826[235]])+_0x1b20x13[_0x5826[235]])*_0x1b20x2),_0x1b20xa||(_0x1b20x3[_0x5826[236]]=(this[_0x5826[1179]][_0x5826[1021]](_0x1b20x3[_0x5826[236]]/_0x1b20x2-_0x1b20x13[_0x5826[236]])+_0x1b20x13[_0x5826[236]])*_0x1b20x2));return _0x1b20x3};mxEdgeHandler[_0x5826[202]][_0x5826[3017]]=function(_0x1b20x2){this[_0x5826[2886]][_0x5826[2729]](_0x1b20x2,this[_0x5826[729]]);this[_0x5826[2885]][_0x5826[2871]](_0x1b20x2);_0x1b20x2=this[_0x5826[2885]][_0x5826[2868]]();var _0x1b20x3=null;null!=this[_0x5826[2886]][_0x5826[2919]]&&null!=this[_0x5826[2886]][_0x5826[2920]]&&this[_0x5826[2885]][_0x5826[862]]();null!=_0x1b20x2?_0x1b20x3=_0x1b20x2:null!=this[_0x5826[2886]][_0x5826[2920]]&&null!=this[_0x5826[2886]][_0x5826[2919]]&&(_0x1b20x3=this[_0x5826[2886]][_0x5826[2919]]);return _0x1b20x3};mxEdgeHandler[_0x5826[202]][_0x5826[3018]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[1198]](this[_0x5826[724]][_0x5826[246]]),_0x1b20x3=null!=_0x1b20x3[_0x5826[1525]]?_0x1b20x3[_0x5826[1525]][_0x5826[1853]]():null;!this[_0x5826[729]]&&!this[_0x5826[3013]]?(this[_0x5826[2196]](_0x1b20x2,!1),null==_0x1b20x3?_0x1b20x3=[_0x1b20x2]:_0x1b20x3[this[_0x5826[1983]]-1]=_0x1b20x2):this[_0x5826[1179]][_0x5826[2401]]&&(_0x1b20x3=null);return _0x1b20x3};mxEdgeHandler[_0x5826[202]][_0x5826[3019]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[729]]?_0x1b20x4:this[_0x5826[724]][_0x5826[2089]](!0),_0x1b20x9=this[_0x5826[3013]]?_0x1b20x4:this[_0x5826[724]][_0x5826[2089]](!1),_0x1b20xa=this[_0x5826[1179]][_0x5826[2288]](_0x1b20x2,_0x1b20x5,!0),_0x1b20x12=this[_0x5826[1179]][_0x5826[2288]](_0x1b20x2,_0x1b20x9,!1),_0x1b20x13=this[_0x5826[2886]][_0x5826[2920]];null==_0x1b20x13&&(_0x1b20x13= new mxConnectionConstraint);this[_0x5826[729]]?_0x1b20xa=_0x1b20x13:this[_0x5826[3013]]&&(_0x1b20x12=_0x1b20x13);(!this[_0x5826[729]]||null!=_0x1b20x5)&&_0x1b20x2[_0x5826[441]][_0x5826[2289]](_0x1b20x2,_0x1b20x5,!0,_0x1b20xa);(!this[_0x5826[3013]]||null!=_0x1b20x9)&&_0x1b20x2[_0x5826[441]][_0x5826[2289]](_0x1b20x2,_0x1b20x9,!1,_0x1b20x12);if((this[_0x5826[729]]||this[_0x5826[3013]])&&null==_0x1b20x4){_0x1b20x2[_0x5826[2088]](_0x1b20x3,this[_0x5826[729]]),null==this[_0x5826[2885]][_0x5826[2869]]()&&(this[_0x5826[267]]=this[_0x5826[1179]][_0x5826[2406]]?null:_0x5826[110])};_0x1b20x2[_0x5826[441]][_0x5826[2282]](_0x1b20x2,this[_0x5826[1525]],_0x1b20x5,_0x1b20x9);_0x1b20x2[_0x5826[441]][_0x5826[2283]](_0x1b20x2,_0x1b20x5,_0x1b20x9)};mxEdgeHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[1983]]&&null!=this[_0x5826[2885]]){var _0x1b20x4=this[_0x5826[2689]](_0x1b20x3);if(this[_0x5826[3014]]){this[_0x5826[685]][_0x5826[235]]=_0x1b20x4[_0x5826[235]],this[_0x5826[685]][_0x5826[236]]=_0x1b20x4[_0x5826[236]]}else {this[_0x5826[1525]]=this[_0x5826[3018]](_0x1b20x4);var _0x1b20x5=this[_0x5826[729]]||this[_0x5826[3013]]?this[_0x5826[3017]](_0x1b20x3):null,_0x1b20x9=this[_0x5826[3015]](_0x1b20x4,null!=_0x1b20x5?_0x1b20x5[_0x5826[246]]:null);this[_0x5826[3019]](_0x1b20x9,_0x1b20x4,_0x1b20x5);this[_0x5826[3020]](null==this[_0x5826[267]]?this[_0x5826[2885]][_0x5826[2853]]:this[_0x5826[2885]][_0x5826[2855]]);this[_0x5826[2997]]=_0x1b20x9[_0x5826[439]];this[_0x5826[1124]]= !0};this[_0x5826[2932]]();mxEvent[_0x5826[722]](_0x1b20x3[_0x5826[727]]());_0x1b20x3[_0x5826[722]]()}else {mxClient[_0x5826[80]]&&null!=this[_0x5826[2986]](_0x1b20x3)&&_0x1b20x3[_0x5826[722]](!1)}};mxEdgeHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){if(null!=this[_0x5826[1983]]&&null!=this[_0x5826[2885]]){var _0x1b20x4=this[_0x5826[724]][_0x5826[246]];if(_0x1b20x3[_0x5826[730]]()!=this[_0x5826[2739]]||_0x1b20x3[_0x5826[732]]()!=this[_0x5826[2740]]){if(null!=this[_0x5826[267]]){0<this[_0x5826[267]][_0x5826[67]]&&this[_0x5826[1179]][_0x5826[2580]](this[_0x5826[267]])}else {if(this[_0x5826[3014]]){this[_0x5826[3021]](this[_0x5826[724]],this[_0x5826[685]][_0x5826[235]],this[_0x5826[685]][_0x5826[236]])}else {if(this[_0x5826[729]]||this[_0x5826[3013]]){var _0x1b20x5=null;null!=this[_0x5826[2886]][_0x5826[2920]]&&null!=this[_0x5826[2886]][_0x5826[2919]]&&(_0x1b20x5=this[_0x5826[2886]][_0x5826[2919]][_0x5826[246]]);null==_0x1b20x5&&this[_0x5826[2885]][_0x5826[2867]]()&&(_0x1b20x5=this[_0x5826[2885]][_0x5826[2861]][_0x5826[246]]);if(null!=_0x1b20x5){_0x1b20x4=this[_0x5826[807]](_0x1b20x4,_0x1b20x5,this[_0x5826[729]],this[_0x5826[1179]][_0x5826[2574]](_0x1b20x3[_0x5826[727]]())&&this[_0x5826[2797]]&&this[_0x5826[1179]][_0x5826[2617]](),_0x1b20x3)}else {if(this[_0x5826[1179]][_0x5826[2530]]()){_0x1b20x5=this[_0x5826[2997]][this[_0x5826[729]]?0:this[_0x5826[2997]][_0x5826[67]]-1];_0x1b20x5[_0x5826[235]]=_0x1b20x5[_0x5826[235]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]]-this[_0x5826[1179]][_0x5826[441]][_0x5826[513]][_0x5826[235]];_0x1b20x5[_0x5826[236]]=_0x1b20x5[_0x5826[236]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]]-this[_0x5826[1179]][_0x5826[441]][_0x5826[513]][_0x5826[236]];var _0x1b20x9=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](_0x1b20x4));null!=_0x1b20x9&&(_0x1b20x5[_0x5826[235]]-=_0x1b20x9[_0x5826[2078]][_0x5826[235]],_0x1b20x5[_0x5826[236]]-=_0x1b20x9[_0x5826[2078]][_0x5826[236]]);_0x1b20x5[_0x5826[235]]-=this[_0x5826[1179]][_0x5826[1136]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];_0x1b20x5[_0x5826[236]]-=this[_0x5826[1179]][_0x5826[1137]]/this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];this[_0x5826[3022]](_0x1b20x4,_0x1b20x5,this[_0x5826[729]])}}}else {this[_0x5826[1124]]?this[_0x5826[3023]](_0x1b20x4,this[_0x5826[1525]]):(this[_0x5826[1179]][_0x5826[249]]()[_0x5826[2263]](this[_0x5826[724]][_0x5826[246]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[2259]](this[_0x5826[724]][_0x5826[246]]))}}}};null!=this[_0x5826[2885]]&&(this[_0x5826[862]](),_0x1b20x4!=this[_0x5826[724]][_0x5826[246]]&&this[_0x5826[1179]][_0x5826[2450]](_0x1b20x4));_0x1b20x3[_0x5826[722]]()}};mxEdgeHandler[_0x5826[202]][_0x5826[862]]=function(){this[_0x5826[1525]]=this[_0x5826[685]]=this[_0x5826[1983]]=this[_0x5826[267]]=null;this[_0x5826[3013]]=this[_0x5826[729]]=this[_0x5826[3014]]=this[_0x5826[1124]]= !1;this[_0x5826[2885]][_0x5826[862]]();this[_0x5826[2886]][_0x5826[862]]();this[_0x5826[3020]](mxConstants.EDGE_SELECTION_COLOR);this[_0x5826[258]]()};mxEdgeHandler[_0x5826[202]][_0x5826[3020]]=function(_0x1b20x2){null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[1336]]=_0x1b20x2)};mxEdgeHandler[_0x5826[202]][_0x5826[2196]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[518]](),_0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[512]]();_0x1b20x3&&(_0x1b20x2[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[235]]),_0x1b20x2[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[236]]));_0x1b20x2[_0x5826[235]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[235]]/_0x1b20x4-_0x1b20x5[_0x5826[235]]);_0x1b20x2[_0x5826[236]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[236]]/_0x1b20x4-_0x1b20x5[_0x5826[236]]);_0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1197]](this[_0x5826[724]][_0x5826[246]]));null!=_0x1b20x4&&(_0x1b20x2[_0x5826[235]]-=_0x1b20x4[_0x5826[2078]][_0x5826[235]],_0x1b20x2[_0x5826[236]]-=_0x1b20x4[_0x5826[2078]][_0x5826[236]]);return _0x1b20x2};mxEdgeHandler[_0x5826[202]][_0x5826[3021]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[1721]](_0x1b20x2[_0x5826[246]]);if(null!=_0x1b20x9){var _0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20xa=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[2308]](_0x1b20x2,_0x1b20x3,_0x1b20x4);_0x1b20x9[_0x5826[235]]=_0x1b20xa[_0x5826[235]];_0x1b20x9[_0x5826[236]]=_0x1b20xa[_0x5826[236]];var _0x1b20x12=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]];_0x1b20x9[_0x5826[1368]]= new mxPoint(0,0);_0x1b20xa=this[_0x5826[1179]][_0x5826[441]][_0x5826[245]](_0x1b20x2,_0x1b20x9);_0x1b20x9[_0x5826[1368]]= new mxPoint((_0x1b20x3-_0x1b20xa[_0x5826[235]])/_0x1b20x12,(_0x1b20x4-_0x1b20xa[_0x5826[236]])/_0x1b20x12);_0x1b20x5[_0x5826[1724]](_0x1b20x2[_0x5826[246]],_0x1b20x9)}};mxEdgeHandler[_0x5826[202]][_0x5826[807]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x9=this[_0x5826[1179]][_0x5826[502]]();var _0x1b20xa=_0x1b20x9[_0x5826[1197]](_0x1b20x2);_0x1b20x9[_0x5826[473]]();try{if(_0x1b20x5){var _0x1b20x12=_0x1b20x2[_0x5826[238]]();_0x1b20x9[_0x5826[99]](_0x1b20xa,_0x1b20x12,_0x1b20x9[_0x5826[262]](_0x1b20xa));var _0x1b20x13=_0x1b20x9[_0x5826[1709]](_0x1b20x2,!_0x1b20x4);this[_0x5826[1179]][_0x5826[851]](_0x1b20x12,_0x1b20x13,!_0x1b20x4);_0x1b20x2=_0x1b20x12};var _0x1b20x14=this[_0x5826[2886]][_0x5826[2920]];null==_0x1b20x14&&(_0x1b20x14= new mxConnectionConstraint);this[_0x5826[1179]][_0x5826[851]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x14)}finally{_0x1b20x9[_0x5826[476]]()};return _0x1b20x2};mxEdgeHandler[_0x5826[202]][_0x5826[3022]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[1721]](_0x1b20x2);if(null!=_0x1b20x9){_0x1b20x5[_0x5826[473]]();try{_0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20x9[_0x5826[2007]](_0x1b20x3,_0x1b20x4),_0x1b20x5[_0x5826[1724]](_0x1b20x2,_0x1b20x9),this[_0x5826[1179]][_0x5826[851]](_0x1b20x2,null,_0x1b20x4, new mxConnectionConstraint)}finally{_0x1b20x5[_0x5826[476]]()}}};mxEdgeHandler[_0x5826[202]][_0x5826[3023]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x5=_0x1b20x4[_0x5826[1721]](_0x1b20x2);null!=_0x1b20x5&&(_0x1b20x5=_0x1b20x5[_0x5826[238]](),_0x1b20x5[_0x5826[1525]]=_0x1b20x3,_0x1b20x4[_0x5826[1724]](_0x1b20x2,_0x1b20x5))};mxEdgeHandler[_0x5826[202]][_0x5826[3000]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=mxUtils[_0x5826[2196]](this[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x3),mxEvent[_0x5826[733]](_0x1b20x3)),_0x1b20x5=this[_0x5826[1179]][_0x5826[1018]](_0x1b20x3);this[_0x5826[2196]](_0x1b20x4,_0x1b20x5);this[_0x5826[3024]](_0x1b20x2,_0x1b20x4[_0x5826[235]],_0x1b20x4[_0x5826[236]]);mxEvent[_0x5826[722]](_0x1b20x3)};mxEdgeHandler[_0x5826[202]][_0x5826[3024]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[1179]][_0x5826[1198]](_0x1b20x2[_0x5826[246]]);_0x1b20x3= new mxPoint(_0x1b20x3,_0x1b20x4);if(null!=_0x1b20x5){_0x1b20x5=_0x1b20x5[_0x5826[238]]();_0x1b20x4=this[_0x5826[1179]][_0x5826[441]][_0x5826[513]];var _0x1b20x9=this[_0x5826[1179]][_0x5826[441]][_0x5826[255]];_0x1b20x4=mxUtils[_0x5826[3025]](_0x1b20x2,(_0x1b20x3[_0x5826[235]]+_0x1b20x4[_0x5826[235]])*_0x1b20x9,(_0x1b20x3[_0x5826[236]]+_0x1b20x4[_0x5826[236]])*_0x1b20x9);null==_0x1b20x5[_0x5826[1525]]?_0x1b20x5[_0x5826[1525]]=[_0x1b20x3]:_0x1b20x5[_0x5826[1525]][_0x5826[300]](_0x1b20x4,0,_0x1b20x3);this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1724]](_0x1b20x2[_0x5826[246]],_0x1b20x5);this[_0x5826[515]]();this[_0x5826[176]]()}};mxEdgeHandler[_0x5826[202]][_0x5826[3012]]=function(_0x1b20x2,_0x1b20x3){if(0<_0x1b20x3&&_0x1b20x3<this[_0x5826[2997]][_0x5826[67]]-1){var _0x1b20x4=this[_0x5826[1179]][_0x5826[1198]](this[_0x5826[724]][_0x5826[246]]);null!=_0x1b20x4&&null!=_0x1b20x4[_0x5826[1525]]&&(_0x1b20x4=_0x1b20x4[_0x5826[238]](),_0x1b20x4[_0x5826[1525]][_0x5826[300]](_0x1b20x3-1,1),this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1724]](_0x1b20x2[_0x5826[246]],_0x1b20x4),this[_0x5826[515]](),this[_0x5826[176]]())}};mxEdgeHandler[_0x5826[202]][_0x5826[3026]]=function(_0x1b20x2){_0x1b20x2=0==_0x1b20x2;var _0x1b20x3=this[_0x5826[724]][_0x5826[246]],_0x1b20x4=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1709]](_0x1b20x3,_0x1b20x2),_0x1b20x5=mxConstants[_0x5826[2984]];null!=_0x1b20x4&&!this[_0x5826[1179]][_0x5826[2551]](_0x1b20x3,_0x1b20x4,_0x1b20x2)||null==_0x1b20x4&&!this[_0x5826[1179]][_0x5826[2661]](_0x1b20x3,_0x1b20x2)?_0x1b20x5=mxConstants[_0x5826[3027]]:null!=_0x1b20x4&&this[_0x5826[1179]][_0x5826[2551]](_0x1b20x3,_0x1b20x4,_0x1b20x2)&&(_0x1b20x5=mxConstants[_0x5826[3028]]);return _0x1b20x5};mxEdgeHandler[_0x5826[202]][_0x5826[258]]=function(){this[_0x5826[2997]]=this[_0x5826[724]][_0x5826[439]][_0x5826[1853]]();var _0x1b20x2=this[_0x5826[724]][_0x5826[246]],_0x1b20x3=mxConstants[_0x5826[3029]];this[_0x5826[685]]= new mxPoint(this[_0x5826[724]][_0x5826[2079]][_0x5826[235]],this[_0x5826[724]][_0x5826[2079]][_0x5826[236]]);this[_0x5826[2972]][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](this[_0x5826[685]][_0x5826[235]]-_0x1b20x3/2),Math[_0x5826[488]](this[_0x5826[685]][_0x5826[236]]-_0x1b20x3/2),_0x1b20x3,_0x1b20x3);this[_0x5826[2972]][_0x5826[258]]();_0x1b20x3=this[_0x5826[1179]][_0x5826[2183]](_0x1b20x2);null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]&&this[_0x5826[1179]][_0x5826[2628]](_0x1b20x2)?this[_0x5826[2972]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[189]:this[_0x5826[2972]][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[188];if(null!=this[_0x5826[2994]]&&0<this[_0x5826[2994]][_0x5826[67]]){var _0x1b20x4=this[_0x5826[2997]][_0x5826[67]]-1,_0x1b20x2=this[_0x5826[2997]][0],_0x1b20x5=this[_0x5826[2997]][0][_0x5826[236]],_0x1b20x3=this[_0x5826[2994]][0][_0x5826[1562]];this[_0x5826[2994]][0][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](this[_0x5826[2997]][0][_0x5826[235]]-_0x1b20x3[_0x5826[117]]/2),Math[_0x5826[488]](_0x1b20x5-_0x1b20x3[_0x5826[119]]/2),_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]]);this[_0x5826[2994]][0][_0x5826[1334]]=this[_0x5826[3026]](0);this[_0x5826[2994]][0][_0x5826[258]]();var _0x1b20x5=this[_0x5826[2997]][_0x1b20x4],_0x1b20x9=this[_0x5826[2997]][_0x1b20x4][_0x5826[235]],_0x1b20x4=this[_0x5826[2997]][_0x1b20x4][_0x5826[236]],_0x1b20xa=this[_0x5826[2994]][_0x5826[67]]-1,_0x1b20x3=this[_0x5826[2994]][_0x1b20xa][_0x5826[1562]];this[_0x5826[2994]][_0x1b20xa][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](_0x1b20x9-_0x1b20x3[_0x5826[117]]/2),Math[_0x5826[488]](_0x1b20x4-_0x1b20x3[_0x5826[119]]/2),_0x1b20x3[_0x5826[117]],_0x1b20x3[_0x5826[119]]);this[_0x5826[2994]][_0x1b20xa][_0x5826[1334]]=this[_0x5826[3026]](_0x1b20xa);this[_0x5826[2994]][_0x1b20xa][_0x5826[258]]();this[_0x5826[3030]](_0x1b20x2,_0x1b20x5)};this[_0x5826[2932]]()};mxEdgeHandler[_0x5826[202]][_0x5826[3030]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1721]](this[_0x5826[724]][_0x5826[246]])[_0x5826[1525]];if(null!=_0x1b20x4){null==this[_0x5826[1525]]&&(this[_0x5826[1525]]=[]);for(var _0x1b20x5=1;_0x1b20x5<this[_0x5826[2994]][_0x5826[67]]-1;_0x1b20x5++){if(null!=this[_0x5826[2994]][_0x1b20x5]){if(null!=this[_0x5826[2997]][_0x1b20x5]){var _0x1b20x9=this[_0x5826[2997]][_0x1b20x5][_0x5826[235]],_0x1b20xa=this[_0x5826[2997]][_0x1b20x5][_0x5826[236]],_0x1b20x12=this[_0x5826[2994]][_0x1b20x5][_0x5826[1562]];this[_0x5826[2994]][_0x1b20x5][_0x5826[252]][_0x5826[124]][_0x5826[187]]=_0x5826[189];this[_0x5826[2994]][_0x1b20x5][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](_0x1b20x9-_0x1b20x12[_0x5826[117]]/2),Math[_0x5826[488]](_0x1b20xa-_0x1b20x12[_0x5826[119]]/2),_0x1b20x12[_0x5826[117]],_0x1b20x12[_0x5826[119]]);this[_0x5826[2994]][_0x1b20x5][_0x5826[258]]();this[_0x5826[1525]][_0x1b20x5-1]=_0x1b20x4[_0x1b20x5-1]}else {this[_0x5826[2994]][_0x1b20x5][_0x5826[515]](),this[_0x5826[2994]][_0x1b20x5]=null}}}}};mxEdgeHandler[_0x5826[202]][_0x5826[2932]]=function(){if(this[_0x5826[3014]]){var _0x1b20x2=mxConstants[_0x5826[3029]],_0x1b20x2= new mxRectangle(Math[_0x5826[488]](this[_0x5826[685]][_0x5826[235]]-_0x1b20x2/2),Math[_0x5826[488]](this[_0x5826[685]][_0x5826[236]]-_0x1b20x2/2),_0x1b20x2,_0x1b20x2);this[_0x5826[2972]][_0x5826[1562]]=_0x1b20x2;this[_0x5826[2972]][_0x5826[258]]()}else {this[_0x5826[253]][_0x5826[1525]]=this[_0x5826[2997]],this[_0x5826[253]][_0x5826[258]]()}};mxEdgeHandler[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[2885]]&&(this[_0x5826[2885]][_0x5826[515]](),this[_0x5826[2885]]=null);null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null);null!=this[_0x5826[2972]]&&(this[_0x5826[2972]][_0x5826[515]](),this[_0x5826[2972]]=null);null!=this[_0x5826[2886]]&&(this[_0x5826[2886]][_0x5826[515]](),this[_0x5826[2886]]=null);if(null!=this[_0x5826[2994]]){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[2994]][_0x5826[67]];_0x1b20x2++){null!=this[_0x5826[2994]][_0x1b20x2]&&(this[_0x5826[2994]][_0x1b20x2][_0x5826[515]](),this[_0x5826[2994]][_0x1b20x2]=null)}}};function mxElbowEdgeHandler(_0x1b20x2){mxEdgeHandler[_0x5826[239]](this,_0x1b20x2)}mxUtils[_0x5826[1284]](mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler[_0x5826[202]]= new mxEdgeHandler;mxElbowEdgeHandler[_0x5826[202]][_0x5826[196]]=mxElbowEdgeHandler;mxElbowEdgeHandler[_0x5826[202]][_0x5826[3031]]= !0;mxElbowEdgeHandler[_0x5826[202]][_0x5826[3032]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[3033]:_0x5826[110];mxElbowEdgeHandler[_0x5826[202]][_0x5826[3001]]=function(){var _0x1b20x2=[],_0x1b20x3=this[_0x5826[3009]](0);this[_0x5826[3002]](_0x1b20x3);_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3011]];mxEvent[_0x5826[2733]](_0x1b20x3[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);_0x1b20x2[_0x5826[207]](_0x1b20x3);mxClient[_0x5826[754]]&&_0x1b20x3[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130]);_0x1b20x2[_0x5826[207]](this[_0x5826[3034]]());this[_0x5826[1525]][_0x5826[207]]( new mxPoint(0,0));_0x1b20x3=this[_0x5826[3009]](2);this[_0x5826[3002]](_0x1b20x3);_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3011]];mxEvent[_0x5826[2733]](_0x1b20x3[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);_0x1b20x2[_0x5826[207]](_0x1b20x3);mxClient[_0x5826[754]]&&_0x1b20x3[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130]);return _0x1b20x2};mxElbowEdgeHandler[_0x5826[202]][_0x5826[3034]]=function(){var _0x1b20x2=this[_0x5826[3009]]();this[_0x5826[3002]](_0x1b20x2);var _0x1b20x3=this[_0x5826[3035]]();_0x1b20x2[_0x5826[252]][_0x5826[124]][_0x5826[270]]=_0x1b20x3;_0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x2){!mxEvent[_0x5826[721]](_0x1b20x2)&&this[_0x5826[3031]]&&(this[_0x5826[1179]][_0x5826[854]](this[_0x5826[724]][_0x5826[246]],_0x1b20x2),mxEvent[_0x5826[722]](_0x1b20x2))});mxEvent[_0x5826[2733]](_0x1b20x2[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]],null,null,null,_0x1b20x3);this[_0x5826[1179]][_0x5826[2662]](this[_0x5826[724]][_0x5826[246]])||(_0x1b20x2[_0x5826[252]][_0x5826[124]][_0x5826[495]]=_0x5826[130]);return _0x1b20x2};mxElbowEdgeHandler[_0x5826[202]][_0x5826[3035]]=function(){return this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2294]]]==mxEdgeStyle[_0x5826[2570]]||this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2294]]]==mxConstants[_0x5826[3036]]||(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2294]]]==mxEdgeStyle[_0x5826[2568]]||this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2294]]]==mxConstants[_0x5826[3037]])&&this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2231]]]==mxConstants[_0x5826[2232]]?_0x5826[3038]:_0x5826[3039]};mxElbowEdgeHandler[_0x5826[202]][_0x5826[2597]]=function(_0x1b20x2){var _0x1b20x3=null;if(null!=this[_0x5826[2994]]&&null!=this[_0x5826[2994]][1]&&(_0x1b20x2==this[_0x5826[2994]][1][_0x5826[252]]||_0x1b20x2[_0x5826[265]]==this[_0x5826[2994]][1][_0x5826[252]])){_0x1b20x3=this[_0x5826[3032]],_0x1b20x3=mxResources[_0x5826[203]](_0x1b20x3)||_0x1b20x3};return _0x1b20x3};mxElbowEdgeHandler[_0x5826[202]][_0x5826[2196]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[518]](),_0x1b20x5=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[512]](),_0x1b20x9=this[_0x5826[724]][_0x5826[2078]];_0x1b20x3&&(_0x1b20x2[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[235]]),_0x1b20x2[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x2[_0x5826[236]]));_0x1b20x2[_0x5826[235]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[235]]/_0x1b20x4-_0x1b20x5[_0x5826[235]]-_0x1b20x9[_0x5826[235]]);_0x1b20x2[_0x5826[236]]=Math[_0x5826[488]](_0x1b20x2[_0x5826[236]]/_0x1b20x4-_0x1b20x5[_0x5826[236]]-_0x1b20x9[_0x5826[236]])};mxElbowEdgeHandler[_0x5826[202]][_0x5826[3030]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1721]](this[_0x5826[724]][_0x5826[246]])[_0x5826[1525]],_0x1b20x4=null!=_0x1b20x4?_0x1b20x4[0]:null,_0x1b20x4=null==_0x1b20x4? new mxPoint(_0x1b20x2[_0x5826[235]]+(_0x1b20x3[_0x5826[235]]-_0x1b20x2[_0x5826[235]])/2,_0x1b20x2[_0x5826[236]]+(_0x1b20x3[_0x5826[236]]-_0x1b20x2[_0x5826[236]])/2): new mxPoint(this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]]*(_0x1b20x4[_0x5826[235]]+this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]][_0x5826[235]]+this[_0x5826[724]][_0x5826[2078]][_0x5826[235]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]]*(_0x1b20x4[_0x5826[236]]+this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]][_0x5826[236]]+this[_0x5826[724]][_0x5826[2078]][_0x5826[236]])),_0x1b20x5=this[_0x5826[2994]][1][_0x5826[1562]],_0x1b20x9=_0x1b20x5[_0x5826[117]],_0x1b20x5=_0x1b20x5[_0x5826[119]];null==this[_0x5826[2959]]&&(_0x1b20x5=_0x1b20x9=mxConstants[_0x5826[2974]]);var _0x1b20xa= new mxRectangle(Math[_0x5826[488]](_0x1b20x4[_0x5826[235]]-_0x1b20x9/2),Math[_0x5826[488]](_0x1b20x4[_0x5826[236]]-_0x1b20x5/2),_0x1b20x9,_0x1b20x5);null==this[_0x5826[2959]]&&(_0x5826[188]!=this[_0x5826[2972]][_0x5826[252]][_0x5826[124]][_0x5826[187]]&&mxUtils[_0x5826[1825]](_0x1b20xa,this[_0x5826[2972]][_0x5826[1562]]))&&(_0x1b20x9+=3,_0x1b20x5+=3,_0x1b20xa= new mxRectangle(Math[_0x5826[488]](_0x1b20x4[_0x5826[235]]-_0x1b20x9/2),Math[_0x5826[488]](_0x1b20x4[_0x5826[236]]-_0x1b20x5/2),_0x1b20x9,_0x1b20x5));this[_0x5826[2994]][1][_0x5826[1562]]=_0x1b20xa;this[_0x5826[2994]][1][_0x5826[258]]()};function mxEdgeSegmentHandler(_0x1b20x2){mxEdgeHandler[_0x5826[239]](this,_0x1b20x2)}mxUtils[_0x5826[1284]](mxEdgeSegmentHandler,mxEdgeHandler);mxEdgeSegmentHandler[_0x5826[202]]= new mxElbowEdgeHandler;mxEdgeSegmentHandler[_0x5826[202]][_0x5826[196]]=mxEdgeSegmentHandler;mxEdgeSegmentHandler[_0x5826[202]][_0x5826[3018]]=function(_0x1b20x2){if(this[_0x5826[729]]||this[_0x5826[3013]]){return mxElbowEdgeHandler[_0x5826[202]][_0x5826[3018]][_0x5826[183]](this,arguments)};this[_0x5826[2196]](_0x1b20x2,!1);var _0x1b20x3=this[_0x5826[724]][_0x5826[439]],_0x1b20x4=_0x1b20x3[0][_0x5826[238]]();this[_0x5826[2196]](_0x1b20x4,!1);for(var _0x1b20x5=[],_0x1b20x9=1;_0x1b20x9<_0x1b20x3[_0x5826[67]];_0x1b20x9++){var _0x1b20xa=_0x1b20x3[_0x1b20x9][_0x5826[238]]();this[_0x5826[2196]](_0x1b20xa,!1);_0x1b20x9==this[_0x5826[1983]]&&(_0x1b20x4[_0x5826[235]]==_0x1b20xa[_0x5826[235]]?(_0x1b20x4[_0x5826[235]]=_0x1b20x2[_0x5826[235]],_0x1b20xa[_0x5826[235]]=_0x1b20x2[_0x5826[235]]):(_0x1b20x4[_0x5826[236]]=_0x1b20x2[_0x5826[236]],_0x1b20xa[_0x5826[236]]=_0x1b20x2[_0x5826[236]]));_0x1b20x9<_0x1b20x3[_0x5826[67]]-1&&_0x1b20x5[_0x5826[207]](_0x1b20xa);_0x1b20x4=_0x1b20xa};if(1==_0x1b20x5[_0x5826[67]]){if(_0x1b20x4=this[_0x5826[724]][_0x5826[441]],_0x1b20x9=this[_0x5826[724]][_0x5826[2089]](!0),_0x1b20xa=this[_0x5826[724]][_0x5826[2089]](!1),null!=_0x1b20xa&null!=_0x1b20x9){var _0x1b20x12=this[_0x5826[724]][_0x5826[2078]][_0x5826[235]],_0x1b20x13=this[_0x5826[724]][_0x5826[2078]][_0x5826[236]];mxUtils[_0x5826[442]](_0x1b20xa,_0x1b20x5[0][_0x5826[235]]+_0x1b20x12,_0x1b20x5[0][_0x5826[236]]+_0x1b20x13)?_0x1b20x3[1][_0x5826[236]]==_0x1b20x3[2][_0x5826[236]]?_0x1b20x5[0][_0x5826[236]]=_0x1b20x4[_0x5826[2228]](_0x1b20x9)-_0x1b20x13:_0x1b20x5[0][_0x5826[235]]=_0x1b20x4[_0x5826[2230]](_0x1b20x9)-_0x1b20x12:mxUtils[_0x5826[442]](_0x1b20x9,_0x1b20x5[0][_0x5826[235]]+_0x1b20x12,_0x1b20x5[0][_0x5826[236]]+_0x1b20x13)&&(_0x1b20x3[1][_0x5826[236]]==_0x1b20x3[0][_0x5826[236]]?_0x1b20x5[0][_0x5826[236]]=_0x1b20x4[_0x5826[2228]](_0x1b20xa)-_0x1b20x13:_0x1b20x5[0][_0x5826[235]]=_0x1b20x4[_0x5826[2230]](_0x1b20xa)-_0x1b20x12)}}else {0==_0x1b20x5[_0x5826[67]]&&(_0x1b20x5=[_0x1b20x2])};return _0x1b20x5};mxEdgeSegmentHandler[_0x5826[202]][_0x5826[3001]]=function(){var _0x1b20x2=[],_0x1b20x3=this[_0x5826[3009]](0);this[_0x5826[3002]](_0x1b20x3);_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3011]];mxEvent[_0x5826[2733]](_0x1b20x3[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);_0x1b20x2[_0x5826[207]](_0x1b20x3);mxClient[_0x5826[754]]&&_0x1b20x3[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130]);var _0x1b20x4=this[_0x5826[724]][_0x5826[439]];if(this[_0x5826[1179]][_0x5826[2662]](this[_0x5826[724]][_0x5826[246]])){null==this[_0x5826[1525]]&&(this[_0x5826[1525]]=[]);for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x4[_0x5826[67]]-1;_0x1b20x5++){_0x1b20x3=this[_0x5826[3034]](),_0x1b20x2[_0x5826[207]](_0x1b20x3),_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[270]]=0==_0x1b20x4[_0x1b20x5][_0x5826[235]]-_0x1b20x4[_0x1b20x5+1][_0x5826[235]]?_0x5826[3039]:_0x5826[3038],this[_0x5826[1525]][_0x5826[207]]( new mxPoint(0,0)),mxClient[_0x5826[754]]&&_0x1b20x3[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130])}};_0x1b20x3=this[_0x5826[3009]](_0x1b20x4[_0x5826[67]]);this[_0x5826[3002]](_0x1b20x3);_0x1b20x3[_0x5826[252]][_0x5826[124]][_0x5826[270]]=mxConstants[_0x5826[3011]];mxEvent[_0x5826[2733]](_0x1b20x3[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);_0x1b20x2[_0x5826[207]](_0x1b20x3);mxClient[_0x5826[754]]&&_0x1b20x3[_0x5826[252]][_0x5826[57]](_0x5826[1377],_0x5826[130]);return _0x1b20x2};mxEdgeSegmentHandler[_0x5826[202]][_0x5826[258]]=function(){this[_0x5826[802]]();mxEdgeHandler[_0x5826[202]][_0x5826[258]][_0x5826[183]](this,arguments)};mxEdgeSegmentHandler[_0x5826[202]][_0x5826[802]]=function(){if(null!=this[_0x5826[2994]]){for(var _0x1b20x2=0;_0x1b20x2<this[_0x5826[2994]][_0x5826[67]];_0x1b20x2++){null!=this[_0x5826[2994]][_0x1b20x2]&&(this[_0x5826[2994]][_0x1b20x2][_0x5826[515]](),this[_0x5826[2994]][_0x1b20x2]=null)};this[_0x5826[2994]]=this[_0x5826[3001]]()}};mxEdgeSegmentHandler[_0x5826[202]][_0x5826[3030]]=function(_0x1b20x2,_0x1b20x3){if(this[_0x5826[1179]][_0x5826[2662]](this[_0x5826[724]][_0x5826[246]])){var _0x1b20x4=mxConstants[_0x5826[2974]],_0x1b20x5=this[_0x5826[724]][_0x5826[439]];if(null!=_0x1b20x5&&1<_0x1b20x5[_0x5826[67]]){for(var _0x1b20x9=0;_0x1b20x9<this[_0x5826[724]][_0x5826[439]][_0x5826[67]]-1;_0x1b20x9++){if(null!=this[_0x5826[2994]][_0x1b20x9+1]){_0x1b20x2=_0x1b20x5[_0x1b20x9];_0x1b20x3=_0x1b20x5[_0x1b20x9+1];var _0x1b20xa= new mxPoint(_0x1b20x2[_0x5826[235]]+(_0x1b20x3[_0x5826[235]]-_0x1b20x2[_0x5826[235]])/2,_0x1b20x2[_0x5826[236]]+(_0x1b20x3[_0x5826[236]]-_0x1b20x2[_0x5826[236]])/2);this[_0x5826[2994]][_0x1b20x9+1][_0x5826[1562]]= new mxRectangle(Math[_0x5826[488]](_0x1b20xa[_0x5826[235]]-_0x1b20x4/2),Math[_0x5826[488]](_0x1b20xa[_0x5826[236]]-_0x1b20x4/2),_0x1b20x4,_0x1b20x4);this[_0x5826[2994]][_0x1b20x9+1][_0x5826[258]]()}}}}};mxEdgeSegmentHandler[_0x5826[202]][_0x5826[3023]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=[];var _0x1b20x4=this[_0x5826[2997]];if(1<_0x1b20x4[_0x5826[67]]){for(var _0x1b20x5=_0x1b20x4[0],_0x1b20x9=_0x1b20x4[1],_0x1b20xa=2;_0x1b20xa<_0x1b20x4[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x4[_0x1b20xa];if((Math[_0x5826[488]](_0x1b20x5[_0x5826[235]])!=Math[_0x5826[488]](_0x1b20x9[_0x5826[235]])||Math[_0x5826[488]](_0x1b20x9[_0x5826[235]])!=Math[_0x5826[488]](_0x1b20x12[_0x5826[235]]))&&(Math[_0x5826[488]](_0x1b20x5[_0x5826[236]])!=Math[_0x5826[488]](_0x1b20x9[_0x5826[236]])||Math[_0x5826[488]](_0x1b20x9[_0x5826[236]])!=Math[_0x5826[488]](_0x1b20x12[_0x5826[236]]))){_0x1b20x5=_0x1b20x9,_0x1b20x9=_0x1b20x9[_0x5826[238]](),this[_0x5826[2196]](_0x1b20x9,!1),_0x1b20x3[_0x5826[207]](_0x1b20x9)};_0x1b20x9=_0x1b20x12}};mxElbowEdgeHandler[_0x5826[202]][_0x5826[3023]][_0x5826[183]](this,arguments)};function mxKeyHandler(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[772]]=_0x1b20x3||document[_0x5826[158]],this[_0x5826[3040]]=[],this[_0x5826[3041]]=[],this[_0x5826[3042]]=[],this[_0x5826[3043]]=[],mxEvent[_0x5826[169]](this[_0x5826[772]],_0x5826[2123],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[3044]](_0x1b20x2)})),mxClient[_0x5826[80]]&&mxEvent[_0x5826[169]](window,_0x5826[2428],mxUtils[_0x5826[885]](this,function(){this[_0x5826[515]]()})))}mxKeyHandler[_0x5826[202]][_0x5826[1179]]=null;mxKeyHandler[_0x5826[202]][_0x5826[772]]=null;mxKeyHandler[_0x5826[202]][_0x5826[3040]]=null;mxKeyHandler[_0x5826[202]][_0x5826[3041]]=null;mxKeyHandler[_0x5826[202]][_0x5826[3042]]=null;mxKeyHandler[_0x5826[202]][_0x5826[3043]]=null;mxKeyHandler[_0x5826[202]][_0x5826[984]]= !0;mxKeyHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxKeyHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxKeyHandler[_0x5826[202]][_0x5826[3045]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3040]][_0x1b20x2]=_0x1b20x3};mxKeyHandler[_0x5826[202]][_0x5826[3046]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3041]][_0x1b20x2]=_0x1b20x3};mxKeyHandler[_0x5826[202]][_0x5826[3047]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3042]][_0x1b20x2]=_0x1b20x3};mxKeyHandler[_0x5826[202]][_0x5826[3048]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3043]][_0x1b20x2]=_0x1b20x3};mxKeyHandler[_0x5826[202]][_0x5826[775]]=function(_0x1b20x2){return mxEvent[_0x5826[775]](_0x1b20x2)};mxKeyHandler[_0x5826[202]][_0x5826[3049]]=function(_0x1b20x2){return null!=_0x1b20x2?this[_0x5826[775]](_0x1b20x2)?mxEvent[_0x5826[774]](_0x1b20x2)?this[_0x5826[3043]][_0x1b20x2[_0x5826[2124]]]:this[_0x5826[3042]][_0x1b20x2[_0x5826[2124]]]:mxEvent[_0x5826[774]](_0x1b20x2)?this[_0x5826[3041]][_0x1b20x2[_0x5826[2124]]]:this[_0x5826[3040]][_0x1b20x2[_0x5826[2124]]]:null};mxKeyHandler[_0x5826[202]][_0x5826[3050]]=function(_0x1b20x2){_0x1b20x2=mxEvent[_0x5826[728]](_0x1b20x2);if(_0x1b20x2==this[_0x5826[772]]||_0x1b20x2[_0x5826[265]]==this[_0x5826[772]]||null!=this[_0x5826[1179]][_0x5826[2347]]&&_0x1b20x2==this[_0x5826[1179]][_0x5826[2347]][_0x5826[126]]){return !0};for(;null!=_0x1b20x2;){if(_0x1b20x2==this[_0x5826[1179]][_0x5826[526]]){return !0};_0x1b20x2=_0x1b20x2[_0x5826[265]]};return !1};mxKeyHandler[_0x5826[202]][_0x5826[3044]]=function(_0x1b20x2){if(this[_0x5826[1179]][_0x5826[994]]()&&!mxEvent[_0x5826[721]](_0x1b20x2)&&this[_0x5826[3050]](_0x1b20x2)&&this[_0x5826[994]]()){if(27==_0x1b20x2[_0x5826[2124]]){this[_0x5826[859]](_0x1b20x2)}else {if(!this[_0x5826[1179]][_0x5826[2203]]()){var _0x1b20x3=this[_0x5826[3049]](_0x1b20x2);null!=_0x1b20x3&&(_0x1b20x3(_0x1b20x2),mxEvent[_0x5826[722]](_0x1b20x2))}}}};mxKeyHandler[_0x5826[202]][_0x5826[859]]=function(_0x1b20x2){this[_0x5826[1179]][_0x5826[2608]]()&&this[_0x5826[1179]][_0x5826[859]](_0x1b20x2)};mxKeyHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[772]]=null};function mxTooltipHandler(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[1140]]=_0x1b20x3||500,this[_0x5826[1179]][_0x5826[1133]](this))}mxTooltipHandler[_0x5826[202]][_0x5826[931]]=10005;mxTooltipHandler[_0x5826[202]][_0x5826[1179]]=null;mxTooltipHandler[_0x5826[202]][_0x5826[1140]]=null;mxTooltipHandler[_0x5826[202]][_0x5826[3051]]= !1;mxTooltipHandler[_0x5826[202]][_0x5826[984]]= !0;mxTooltipHandler[_0x5826[202]][_0x5826[994]]=function(){return this[_0x5826[984]]};mxTooltipHandler[_0x5826[202]][_0x5826[995]]=function(_0x1b20x2){this[_0x5826[984]]=_0x1b20x2};mxTooltipHandler[_0x5826[202]][_0x5826[2277]]=function(){return this[_0x5826[3051]]};mxTooltipHandler[_0x5826[202]][_0x5826[3052]]=function(_0x1b20x2){this[_0x5826[3051]]=_0x1b20x2};mxTooltipHandler[_0x5826[202]][_0x5826[176]]=function(){null!=document[_0x5826[112]]&&(this[_0x5826[485]]=document[_0x5826[55]](_0x5826[485]),this[_0x5826[485]][_0x5826[926]]=_0x5826[3053],this[_0x5826[485]][_0x5826[124]][_0x5826[187]]=_0x5826[188],this[_0x5826[485]][_0x5826[124]][_0x5826[931]]=this[_0x5826[931]],document[_0x5826[112]][_0x5826[62]](this[_0x5826[485]]),mxEvent[_0x5826[169]](this[_0x5826[485]],_0x5826[751],mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[3054]]()})))};mxTooltipHandler[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[862]](_0x1b20x3,!1);this[_0x5826[3054]]()};mxTooltipHandler[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){if(_0x1b20x3[_0x5826[730]]()!=this[_0x5826[1217]]||_0x1b20x3[_0x5826[732]]()!=this[_0x5826[1218]]){this[_0x5826[862]](_0x1b20x3,!0),(this[_0x5826[2277]]()||_0x1b20x3[_0x5826[248]]()!=this[_0x5826[724]]||_0x1b20x3[_0x5826[728]]()!=this[_0x5826[252]]&&(!this[_0x5826[3055]]||null!=_0x1b20x3[_0x5826[248]]()&&this[_0x5826[3055]]==(_0x1b20x3[_0x5826[729]](_0x1b20x3[_0x5826[248]]()[_0x5826[253]])||!_0x1b20x3[_0x5826[729]](_0x1b20x3[_0x5826[248]]()[_0x5826[963]]))))&&this[_0x5826[3054]]()};this[_0x5826[1217]]=_0x1b20x3[_0x5826[730]]();this[_0x5826[1218]]=_0x1b20x3[_0x5826[732]]()};mxTooltipHandler[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[862]](_0x1b20x3,!0);this[_0x5826[3054]]()};mxTooltipHandler[_0x5826[202]][_0x5826[3056]]=function(){null!=this[_0x5826[1123]]&&(window[_0x5826[2924]](this[_0x5826[1123]]),this[_0x5826[1123]]=null)};mxTooltipHandler[_0x5826[202]][_0x5826[862]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3056]]();if(_0x1b20x3&&this[_0x5826[994]]()&&null!=_0x1b20x2[_0x5826[248]]()&&(null==this[_0x5826[485]]||_0x5826[188]==this[_0x5826[485]][_0x5826[124]][_0x5826[187]])){var _0x1b20x4=_0x1b20x2[_0x5826[248]](),_0x1b20x5=_0x1b20x2[_0x5826[728]](),_0x1b20x9=_0x1b20x2[_0x5826[730]](),_0x1b20xa=_0x1b20x2[_0x5826[732]](),_0x1b20x12=_0x1b20x2[_0x5826[729]](_0x1b20x4[_0x5826[253]])||_0x1b20x2[_0x5826[729]](_0x1b20x4[_0x5826[963]]);this[_0x5826[1123]]=window[_0x5826[261]](mxUtils[_0x5826[885]](this,function(){if(!this[_0x5826[1179]][_0x5826[2203]]()&&!this[_0x5826[1179]][_0x5826[2316]][_0x5826[1031]]()){var _0x1b20x2=this[_0x5826[1179]][_0x5826[2595]](_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa);this[_0x5826[539]](_0x1b20x2,_0x1b20x9,_0x1b20xa);this[_0x5826[724]]=_0x1b20x4;this[_0x5826[252]]=_0x1b20x5;this[_0x5826[3055]]=_0x1b20x12}}),this[_0x5826[1140]])}};mxTooltipHandler[_0x5826[202]][_0x5826[801]]=function(){this[_0x5826[3056]]();this[_0x5826[3054]]()};mxTooltipHandler[_0x5826[202]][_0x5826[3054]]=function(){null!=this[_0x5826[485]]&&(this[_0x5826[485]][_0x5826[124]][_0x5826[187]]=_0x5826[188])};mxTooltipHandler[_0x5826[202]][_0x5826[539]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){null==this[_0x5826[485]]&&this[_0x5826[176]]();var _0x1b20x5=mxUtils[_0x5826[444]]();this[_0x5826[485]][_0x5826[124]][_0x5826[361]]=_0x1b20x3+_0x1b20x5[_0x5826[235]]+_0x5826[168];this[_0x5826[485]][_0x5826[124]][_0x5826[125]]=_0x1b20x4+mxConstants[_0x5826[560]]+_0x1b20x5[_0x5826[236]]+_0x5826[168];mxUtils[_0x5826[1331]](_0x1b20x2)?(this[_0x5826[485]][_0x5826[339]]=_0x5826[110],this[_0x5826[485]][_0x5826[62]](_0x1b20x2)):this[_0x5826[485]][_0x5826[339]]=_0x1b20x2[_0x5826[230]](/\n/g,_0x5826[545]);this[_0x5826[485]][_0x5826[124]][_0x5826[187]]=_0x5826[110];mxUtils[_0x5826[933]](this[_0x5826[485]])}};mxTooltipHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[1148]](this);mxEvent[_0x5826[762]](this[_0x5826[485]]);null!=this[_0x5826[485]]&&null!=this[_0x5826[485]][_0x5826[265]]&&this[_0x5826[485]][_0x5826[265]][_0x5826[266]](this[_0x5826[485]]);this[_0x5826[485]]=null};function mxCellTracker(_0x1b20x2,_0x1b20x3,_0x1b20x4){mxCellMarker[_0x5826[239]](this,_0x1b20x2,_0x1b20x3);this[_0x5826[1179]][_0x5826[1133]](this);null!=_0x1b20x4&&(this[_0x5826[736]]=_0x1b20x4);mxClient[_0x5826[80]]&&mxEvent[_0x5826[169]](window,_0x5826[2428],mxUtils[_0x5826[885]](this,function(){this[_0x5826[515]]()}))}mxUtils[_0x5826[1284]](mxCellTracker,mxCellMarker);mxCellTracker[_0x5826[202]][_0x5826[787]]=function(_0x1b20x2,_0x1b20x3){};mxCellTracker[_0x5826[202]][_0x5826[788]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[994]]()&&this[_0x5826[2871]](_0x1b20x3)};mxCellTracker[_0x5826[202]][_0x5826[789]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[862]]()};mxCellTracker[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[2717]]||(this[_0x5826[2717]]= !0,this[_0x5826[1179]][_0x5826[1148]](this),mxCellMarker[_0x5826[202]][_0x5826[515]][_0x5826[183]](this))};function mxCellHighlight(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){null!=_0x1b20x2&&(this[_0x5826[1179]]=_0x1b20x2,this[_0x5826[2943]]=null!=_0x1b20x3?_0x1b20x3:mxConstants[_0x5826[2854]],this[_0x5826[610]]=null!=_0x1b20x4?_0x1b20x4:mxConstants[_0x5826[3057]],this[_0x5826[648]]=null!=_0x1b20x5?_0x1b20x5:!1,this[_0x5826[3058]]=mxUtils[_0x5826[885]](this,function(){this[_0x5826[2950]]()}),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE,this[_0x5826[3058]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.TRANSLATE,this[_0x5826[3058]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x5826[3058]]),this[_0x5826[1179]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,this[_0x5826[3058]]),this[_0x5826[2877]]=mxUtils[_0x5826[885]](this,function(){this[_0x5826[801]]()}),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.DOWN,this[_0x5826[2877]]),this[_0x5826[1179]][_0x5826[249]]()[_0x5826[169]](mxEvent.UP,this[_0x5826[2877]]))}mxCellHighlight[_0x5826[202]][_0x5826[3059]]= !1;mxCellHighlight[_0x5826[202]][_0x5826[1179]]= !0;mxCellHighlight[_0x5826[202]][_0x5826[724]]=null;mxCellHighlight[_0x5826[202]][_0x5826[657]]=2;mxCellHighlight[_0x5826[202]][_0x5826[2877]]=null;mxCellHighlight[_0x5826[202]][_0x5826[2828]]=function(_0x1b20x2){this[_0x5826[2943]]=_0x1b20x2;null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[1336]]=_0x1b20x2)};mxCellHighlight[_0x5826[202]][_0x5826[3060]]=function(){this[_0x5826[253]]=this[_0x5826[2156]]();this[_0x5826[2950]]();!this[_0x5826[3059]]&&this[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[285]]!=this[_0x5826[253]][_0x5826[252]]&&this[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[950]](this[_0x5826[253]][_0x5826[252]],this[_0x5826[253]][_0x5826[252]][_0x5826[265]][_0x5826[285]])};mxCellHighlight[_0x5826[202]][_0x5826[2156]]=function(){var _0x1b20x2=null,_0x1b20x2=this[_0x5826[1179]][_0x5826[251]][_0x5826[250]](this[_0x5826[724]][_0x5826[246]])? new mxPolyline(this[_0x5826[724]][_0x5826[439]],this[_0x5826[2943]],this[_0x5826[610]]): new mxRectangleShape( new mxRectangle,null,this[_0x5826[2943]],this[_0x5826[610]]);_0x1b20x2[_0x5826[507]]=this[_0x5826[1179]][_0x5826[507]]!=mxConstants[_0x5826[508]]?mxConstants[_0x5826[1523]]:mxConstants[_0x5826[508]];_0x1b20x2[_0x5826[176]](this[_0x5826[1179]][_0x5826[249]]()[_0x5826[1524]]());mxEvent[_0x5826[2733]](_0x1b20x2[_0x5826[252]],this[_0x5826[1179]],this[_0x5826[724]]);_0x1b20x2[_0x5826[1564]]=0;_0x1b20x2[_0x5826[1229]]= !1;_0x1b20x2[_0x5826[1522]]=this[_0x5826[648]];return _0x1b20x2};mxCellHighlight[_0x5826[202]][_0x5826[2950]]=function(){if(null!=this[_0x5826[724]]&&null!=this[_0x5826[253]]){var _0x1b20x2=0;this[_0x5826[1179]][_0x5826[251]][_0x5826[250]](this[_0x5826[724]][_0x5826[246]])?this[_0x5826[253]][_0x5826[1525]]=this[_0x5826[724]][_0x5826[439]]:(this[_0x5826[253]][_0x5826[1562]]= new mxRectangle(this[_0x5826[724]][_0x5826[235]]-this[_0x5826[657]],this[_0x5826[724]][_0x5826[236]]-this[_0x5826[657]],this[_0x5826[724]][_0x5826[117]]+2*this[_0x5826[657]],this[_0x5826[724]][_0x5826[119]]+2*this[_0x5826[657]]),_0x1b20x2=Number(this[_0x5826[724]][_0x5826[124]][mxConstants[_0x5826[2278]]]||_0x5826[468]));null!=this[_0x5826[724]][_0x5826[253]]&&this[_0x5826[253]][_0x5826[1609]](this[_0x5826[724]][_0x5826[253]][_0x5826[1610]]());0!=_0x1b20x2&&(this[_0x5826[253]][_0x5826[603]]=_0x1b20x2);this[_0x5826[253]][_0x5826[258]]()}};mxCellHighlight[_0x5826[202]][_0x5826[801]]=function(){this[_0x5826[1016]](null)};mxCellHighlight[_0x5826[202]][_0x5826[1016]]=function(_0x1b20x2){this[_0x5826[724]]!=_0x1b20x2&&(null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null),this[_0x5826[724]]=_0x1b20x2,null!=this[_0x5826[724]]&&this[_0x5826[3060]]())};mxCellHighlight[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[3058]]);this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[3058]]);this[_0x5826[1179]][_0x5826[249]]()[_0x5826[745]](this[_0x5826[2877]]);this[_0x5826[1179]][_0x5826[502]]()[_0x5826[745]](this[_0x5826[2877]]);null!=this[_0x5826[253]]&&(this[_0x5826[253]][_0x5826[515]](),this[_0x5826[253]]=null)};function mxDefaultKeyHandler(_0x1b20x2){if(null!=_0x1b20x2){this[_0x5826[3061]]=_0x1b20x2;this[_0x5826[2458]]= new mxKeyHandler(_0x1b20x2[_0x5826[1179]]);var _0x1b20x3=this[_0x5826[2458]][_0x5826[859]];this[_0x5826[2458]][_0x5826[859]]=function(_0x1b20x4){_0x1b20x3[_0x5826[183]](this,arguments);_0x1b20x2[_0x5826[3062]]();_0x1b20x2[_0x5826[746]]( new mxEventObject(mxEvent.ESCAPE,_0x5826[763],_0x1b20x4))}}}mxDefaultKeyHandler[_0x5826[202]][_0x5826[3061]]=null;mxDefaultKeyHandler[_0x5826[202]][_0x5826[2458]]=null;mxDefaultKeyHandler[_0x5826[202]][_0x5826[3063]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=mxUtils[_0x5826[885]](this,function(){this[_0x5826[3061]][_0x5826[350]](_0x1b20x3)});_0x1b20x4?this[_0x5826[2458]][_0x5826[3047]](_0x1b20x2,_0x1b20x5):this[_0x5826[2458]][_0x5826[3045]](_0x1b20x2,_0x1b20x5)};mxDefaultKeyHandler[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[2458]][_0x5826[515]]();this[_0x5826[2458]]=null};function mxDefaultPopupMenu(_0x1b20x2){this[_0x5826[3064]]=_0x1b20x2}mxDefaultPopupMenu[_0x5826[202]][_0x5826[88]]=null;mxDefaultPopupMenu[_0x5826[202]][_0x5826[3064]]=null;mxDefaultPopupMenu[_0x5826[202]][_0x5826[3065]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){if(null!=this[_0x5826[3064]]){var _0x1b20x9=this[_0x5826[3066]](_0x1b20x2,_0x1b20x4,_0x1b20x5);this[_0x5826[3067]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,this[_0x5826[3064]][_0x5826[285]],null)}};mxDefaultPopupMenu[_0x5826[202]][_0x5826[3067]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12){for(var _0x1b20x13=!1;null!=_0x1b20xa;){if(_0x5826[99]==_0x1b20xa[_0x5826[301]]){var _0x1b20x14=_0x1b20xa[_0x5826[284]](_0x5826[3068]);if(null==_0x1b20x14||_0x1b20x9[_0x1b20x14]){var _0x1b20x14=_0x1b20xa[_0x5826[284]](_0x5826[3069]),_0x1b20x14=mxResources[_0x5826[203]](_0x1b20x14)||_0x1b20x14,_0x1b20x15=mxUtils[_0x5826[1545]](mxUtils[_0x5826[329]](_0x1b20xa)),_0x1b20x16=_0x1b20xa[_0x5826[284]](_0x5826[892]),_0x1b20x17=_0x1b20xa[_0x5826[284]](_0x5826[2916]),_0x1b20x18=_0x1b20xa[_0x5826[284]](_0x5826[3070]);_0x1b20x13&&(_0x1b20x3[_0x5826[1051]](_0x1b20x12),_0x1b20x13= !1);null!=_0x1b20x17&&this[_0x5826[88]]&&(_0x1b20x17=this[_0x5826[88]]+_0x1b20x17);_0x1b20x14=this[_0x5826[3071]](_0x1b20x3,_0x1b20x2,_0x1b20x14,_0x1b20x17,_0x1b20x15,_0x1b20x16,_0x1b20x4,_0x1b20x12,_0x1b20x18);this[_0x5826[3067]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa[_0x5826[285]],_0x1b20x14)}}else {_0x5826[3072]==_0x1b20xa[_0x5826[301]]&&(_0x1b20x13= !0)};_0x1b20xa=_0x1b20xa[_0x5826[287]]}};mxDefaultPopupMenu[_0x5826[202]][_0x5826[3071]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa,_0x1b20x12,_0x1b20x13,_0x1b20x14){return _0x1b20x2[_0x5826[1025]](_0x1b20x4,_0x1b20x5,function(_0x1b20x2){_0x5826[279]== typeof _0x1b20x9&&_0x1b20x9[_0x5826[239]](_0x1b20x3,_0x1b20x3,_0x1b20x12,_0x1b20x2);null!=_0x1b20xa&&_0x1b20x3[_0x5826[350]](_0x1b20xa,_0x1b20x12,_0x1b20x2)},_0x1b20x13,_0x1b20x14)};mxDefaultPopupMenu[_0x5826[202]][_0x5826[3066]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[1179]][_0x5826[502]](),_0x1b20x9=_0x1b20x5[_0x5826[262]](_0x1b20x3),_0x1b20xa=[];_0x1b20xa[_0x5826[3073]]=null==_0x1b20x3;_0x1b20xa[_0x5826[3074]]=1<_0x1b20x2[_0x5826[1179]][_0x5826[2694]]();_0x1b20xa[_0x5826[3075]]=_0x1b20x5[_0x5826[501]]()!=_0x1b20x5[_0x5826[1197]](_0x1b20x2[_0x5826[1179]][_0x5826[902]]());_0x1b20xa[_0x5826[246]]=null!=_0x1b20x3;_0x1b20x5=null!=_0x1b20x3&&1==_0x1b20x2[_0x5826[1179]][_0x5826[2694]]();_0x1b20xa[_0x5826[3076]]=_0x1b20x5&&0<_0x1b20x9;_0x1b20xa[_0x5826[3077]]=_0x1b20x5&&_0x1b20x2[_0x5826[1179]][_0x5826[2516]](_0x1b20x3,!1);_0x1b20xa[_0x5826[3078]]=_0x1b20x5&&_0x1b20x2[_0x5826[1179]][_0x5826[2516]](_0x1b20x3,!0);_0x1b20xa[_0x5826[3079]]=_0x1b20x5&&_0x1b20x2[_0x5826[1179]][_0x5826[2553]](_0x1b20x3);_0x1b20xa[_0x5826[3080]]=_0x1b20xa[_0x5826[3079]]&&0==_0x1b20x9;_0x1b20xa[_0x5826[687]]=_0x1b20x5&&_0x1b20x2[_0x5826[1179]][_0x5826[1730]](_0x1b20x3);_0x1b20x9=this[_0x5826[3064]][_0x5826[64]](_0x5826[3081]);for(_0x1b20x5=0;_0x1b20x5<_0x1b20x9[_0x5826[67]];_0x1b20x5++){var _0x1b20x12=mxUtils[_0x5826[1545]](mxUtils[_0x5826[329]](_0x1b20x9[_0x1b20x5])),_0x1b20x13=_0x1b20x9[_0x1b20x5][_0x5826[284]](_0x5826[298]);null!=_0x1b20x13&&_0x5826[279]== typeof _0x1b20x12&&(_0x1b20xa[_0x1b20x13]=_0x1b20x12(_0x1b20x2,_0x1b20x3,_0x1b20x4))};return _0x1b20xa};function mxDefaultToolbar(_0x1b20x2,_0x1b20x3){this[_0x5826[3061]]=_0x1b20x3;null!=_0x1b20x2&&null!=_0x1b20x3&&this[_0x5826[176]](_0x1b20x2)}mxDefaultToolbar[_0x5826[202]][_0x5826[3061]]=null;mxDefaultToolbar[_0x5826[202]][_0x5826[3082]]=null;mxDefaultToolbar[_0x5826[202]][_0x5826[2877]]=null;mxDefaultToolbar[_0x5826[202]][_0x5826[657]]=4;mxDefaultToolbar[_0x5826[202]][_0x5826[2804]]= !1;mxDefaultToolbar[_0x5826[202]][_0x5826[176]]=function(_0x1b20x2){null!=_0x1b20x2&&(this[_0x5826[3082]]= new mxToolbar(_0x1b20x2),this[_0x5826[3082]][_0x5826[169]](mxEvent.SELECT,mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){var _0x1b20x5=_0x1b20x4[_0x5826[720]](_0x5826[279]);this[_0x5826[3061]][_0x5826[3083]]=null!=_0x1b20x5?mxUtils[_0x5826[885]](this,function(){_0x1b20x5[_0x5826[183]](this,arguments);this[_0x5826[3082]][_0x5826[1050]]()}):null})),this[_0x5826[2877]]=mxUtils[_0x5826[885]](this,function(){null!=this[_0x5826[3082]]&&this[_0x5826[3082]][_0x5826[1050]](!0)}),this[_0x5826[3061]][_0x5826[1179]][_0x5826[169]](mxEvent.DOUBLE_CLICK,this[_0x5826[2877]]),this[_0x5826[3061]][_0x5826[169]](mxEvent.ESCAPE,this[_0x5826[2877]]))};mxDefaultToolbar[_0x5826[202]][_0x5826[1025]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=mxUtils[_0x5826[885]](this,function(){null!=_0x1b20x4&&0<_0x1b20x4[_0x5826[67]]&&this[_0x5826[3061]][_0x5826[350]](_0x1b20x4)});return this[_0x5826[3082]][_0x5826[1025]](_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20x5)};mxDefaultToolbar[_0x5826[202]][_0x5826[1051]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2||mxClient[_0x5826[88]]+_0x5826[3084];this[_0x5826[3082]][_0x5826[1051]](_0x1b20x2)};mxDefaultToolbar[_0x5826[202]][_0x5826[970]]=function(){return this[_0x5826[3082]][_0x5826[970]]()};mxDefaultToolbar[_0x5826[202]][_0x5826[1038]]=function(_0x1b20x2){return this[_0x5826[3082]][_0x5826[1038]](_0x1b20x2)};mxDefaultToolbar[_0x5826[202]][_0x5826[3085]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=mxUtils[_0x5826[885]](this,function(){this[_0x5826[3061]][_0x5826[350]](_0x1b20x4)});this[_0x5826[972]](_0x1b20x2,_0x1b20x3,_0x1b20x5)};mxDefaultToolbar[_0x5826[202]][_0x5826[972]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return this[_0x5826[3082]][_0x5826[972]](_0x1b20x2,_0x1b20x3,_0x1b20x4)};mxDefaultToolbar[_0x5826[202]][_0x5826[1048]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){var _0x1b20xa=mxUtils[_0x5826[885]](this,function(){this[_0x5826[3061]][_0x5826[3086]](_0x1b20x4);null!=_0x1b20x9&&_0x1b20x9(this[_0x5826[3061]])});return this[_0x5826[3082]][_0x5826[1042]](_0x1b20x2,_0x1b20x3,_0x1b20xa,_0x1b20x5)};mxDefaultToolbar[_0x5826[202]][_0x5826[3087]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9,_0x1b20xa){var _0x1b20x12=function(){return _0x5826[279]== typeof _0x1b20x4?_0x1b20x4():null!=_0x1b20x4?_0x1b20x4[_0x5826[238]]():null},_0x1b20x13=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){_0x5826[279]== typeof _0x1b20x9?_0x1b20x9(this[_0x5826[3061]],_0x1b20x12(),_0x1b20x2,_0x1b20x3):this[_0x5826[1008]](_0x1b20x12(),_0x1b20x2,_0x1b20x3);this[_0x5826[3082]][_0x5826[1050]]();mxEvent[_0x5826[722]](_0x1b20x2)});_0x1b20x2=this[_0x5826[3082]][_0x5826[1048]](_0x1b20x2,_0x1b20x3,_0x1b20x13,_0x1b20x5,null,_0x1b20xa);this[_0x5826[3088]](_0x1b20x2,function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x13(_0x1b20x3,_0x1b20x4)});return _0x1b20x2};mxDefaultToolbar[_0x5826[202]][_0x5826[1008]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[3061]][_0x5826[1179]],_0x1b20x9=_0x1b20x5[_0x5826[502]]();if(null==_0x1b20x4||_0x1b20x9[_0x5826[250]](_0x1b20x4)||!this[_0x5826[2804]]||!_0x1b20x5[_0x5826[2565]](_0x1b20x4)){for(;null!=_0x1b20x4&&!_0x1b20x5[_0x5826[2685]](_0x1b20x4,[_0x1b20x2],_0x1b20x3);){_0x1b20x4=_0x1b20x9[_0x5826[1197]](_0x1b20x4)};this[_0x5826[1937]](_0x1b20x2,_0x1b20x3,_0x1b20x4)}else {this[_0x5826[807]](_0x1b20x2,_0x1b20x3,_0x1b20x4)}};mxDefaultToolbar[_0x5826[202]][_0x5826[1937]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[3061]][_0x5826[1179]];if(_0x1b20x5[_0x5826[2621]](_0x1b20x2)){var _0x1b20x9=mxEvent[_0x5826[731]](_0x1b20x3),_0x1b20xa=mxEvent[_0x5826[733]](_0x1b20x3),_0x1b20x9=mxUtils[_0x5826[2196]](_0x1b20x5[_0x5826[526]],_0x1b20x9,_0x1b20xa);return _0x1b20x5[_0x5826[2655]]()&&_0x1b20x5[_0x5826[2686]](_0x1b20x4,[_0x1b20x2],_0x1b20x3)?_0x1b20x5[_0x5826[853]](_0x1b20x4,[_0x1b20x2],null,_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]]):this[_0x5826[3061]][_0x5826[817]](_0x1b20x4,_0x1b20x2,_0x1b20x9[_0x5826[235]],_0x1b20x9[_0x5826[236]])};return null};mxDefaultToolbar[_0x5826[202]][_0x5826[807]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=this[_0x5826[3061]][_0x5826[1179]];var _0x1b20x5=_0x1b20x3[_0x5826[502]]();if(null!=_0x1b20x4&&_0x1b20x3[_0x5826[2565]](_0x1b20x2)&&_0x1b20x3[_0x5826[2581]](null,_0x1b20x4,_0x1b20x2)){var _0x1b20x9=null;_0x1b20x5[_0x5826[473]]();try{var _0x1b20xa=_0x1b20x5[_0x5826[1721]](_0x1b20x4),_0x1b20x12=_0x1b20x5[_0x5826[1721]](_0x1b20x2)[_0x5826[238]]();_0x1b20x12[_0x5826[235]]=_0x1b20xa[_0x5826[235]]+(_0x1b20xa[_0x5826[117]]-_0x1b20x12[_0x5826[117]])/2;_0x1b20x12[_0x5826[236]]=_0x1b20xa[_0x5826[236]]+(_0x1b20xa[_0x5826[119]]-_0x1b20x12[_0x5826[119]])/2;var _0x1b20x13=this[_0x5826[657]]*_0x1b20x3[_0x5826[1020]],_0x1b20x14=20*_0x1b20x5[_0x5826[1962]](_0x1b20x4,!0);this[_0x5826[3061]][_0x5826[3089]]?_0x1b20x12[_0x5826[235]]+=(_0x1b20x12[_0x5826[117]]+_0x1b20xa[_0x5826[117]])/2+_0x1b20x13+_0x1b20x14:_0x1b20x12[_0x5826[236]]+=(_0x1b20x12[_0x5826[119]]+_0x1b20xa[_0x5826[119]])/2+_0x1b20x13+_0x1b20x14;_0x1b20x2[_0x5826[1724]](_0x1b20x12);var _0x1b20x15=_0x1b20x5[_0x5826[1197]](_0x1b20x4);_0x1b20x3[_0x5826[2103]](_0x1b20x2,_0x1b20x15);_0x1b20x3[_0x5826[2509]](_0x1b20x2);_0x1b20x9=this[_0x5826[3061]][_0x5826[2503]](_0x1b20x4,_0x1b20x2);if(null==_0x1b20x5[_0x5826[1721]](_0x1b20x9)){var _0x1b20x16= new mxGeometry;_0x1b20x16[_0x5826[1500]]= !0;_0x1b20x5[_0x5826[1724]](_0x1b20x9,_0x1b20x16)};_0x1b20x3[_0x5826[2504]](_0x1b20x9,_0x1b20x15,_0x1b20x4,_0x1b20x2)}finally{_0x1b20x5[_0x5826[476]]()};_0x1b20x3[_0x5826[904]]([_0x1b20x2,_0x1b20x9]);_0x1b20x3[_0x5826[2564]](_0x1b20x2)}};mxDefaultToolbar[_0x5826[202]][_0x5826[3088]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=document[_0x5826[55]](_0x5826[466]);_0x1b20x4[_0x5826[57]](_0x5826[390],_0x1b20x2[_0x5826[284]](_0x5826[390]));var _0x1b20x5=mxUtils[_0x5826[885]](this,function(_0x1b20x9){_0x1b20x4[_0x5826[124]][_0x5826[117]]=2*_0x1b20x2[_0x5826[359]]+_0x5826[168];_0x1b20x4[_0x5826[124]][_0x5826[119]]=2*_0x1b20x2[_0x5826[167]]+_0x5826[168];mxUtils[_0x5826[3090]](_0x1b20x2,this[_0x5826[3061]][_0x5826[1179]],_0x1b20x3,_0x1b20x4);mxEvent[_0x5826[745]](_0x1b20x4,_0x5826[219],_0x1b20x5)});mxClient[_0x5826[80]]?_0x1b20x5():mxEvent[_0x5826[169]](_0x1b20x4,_0x5826[219],_0x1b20x5)};mxDefaultToolbar[_0x5826[202]][_0x5826[515]]=function(){null!=this[_0x5826[2877]]&&(this[_0x5826[3061]][_0x5826[1179]][_0x5826[745]](_0x5826[760],this[_0x5826[2877]]),this[_0x5826[3061]][_0x5826[745]](_0x5826[859],this[_0x5826[2877]]),this[_0x5826[2877]]=null);null!=this[_0x5826[3082]]&&(this[_0x5826[3082]][_0x5826[515]](),this[_0x5826[3082]]=null)};function mxEditor(_0x1b20x2){this[_0x5826[3091]]=[];this[_0x5826[3092]]();if(null!=document[_0x5826[112]]){this[_0x5826[3093]]=[];this[_0x5826[3094]]= new mxDefaultPopupMenu;this[_0x5826[3095]]= new mxUndoManager;this[_0x5826[1179]]=this[_0x5826[3096]]();this[_0x5826[3082]]=this[_0x5826[3097]]();this[_0x5826[3098]]= new mxDefaultKeyHandler(this);this[_0x5826[3099]](_0x1b20x2);this[_0x5826[1179]][_0x5826[2180]]=this[_0x5826[3100]];!mxClient[_0x5826[3101]]&&null!=this[_0x5826[1056]]&&(this[_0x5826[812]]=this[_0x5826[3102]]());if(null!=this[_0x5826[1987]]){this[_0x5826[1987]]()};mxClient[_0x5826[80]]&&mxEvent[_0x5826[169]](window,_0x5826[2428],mxUtils[_0x5826[885]](this,function(){this[_0x5826[515]]()}))}}mxLoadResources&&mxResources[_0x5826[99]](mxClient[_0x5826[86]]+_0x5826[3103]);mxEditor[_0x5826[202]]= new mxEventSource;mxEditor[_0x5826[202]][_0x5826[196]]=mxEditor;mxEditor[_0x5826[202]][_0x5826[3104]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[3105]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3106]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[3107]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3108]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[3109]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3110]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[716]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3111]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[3112]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3113]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2719]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[3114]]=_0x5826[130]!=mxClient[_0x5826[90]]?_0x5826[2136]:_0x5826[110];mxEditor[_0x5826[202]][_0x5826[2136]]=null;mxEditor[_0x5826[202]][_0x5826[1179]]=null;mxEditor[_0x5826[202]][_0x5826[2720]]=null;mxEditor[_0x5826[202]][_0x5826[3082]]=null;mxEditor[_0x5826[202]][_0x5826[812]]=null;mxEditor[_0x5826[202]][_0x5826[879]]=null;mxEditor[_0x5826[202]][_0x5826[3094]]=null;mxEditor[_0x5826[202]][_0x5826[3095]]=null;mxEditor[_0x5826[202]][_0x5826[3098]]=null;mxEditor[_0x5826[202]][_0x5826[3091]]=null;mxEditor[_0x5826[202]][_0x5826[3115]]=_0x5826[1061];mxEditor[_0x5826[202]][_0x5826[3116]]= !1;mxEditor[_0x5826[202]][_0x5826[1157]]= !0;mxEditor[_0x5826[202]][_0x5826[3083]]=null;mxEditor[_0x5826[202]][_0x5826[3117]]= !1;mxEditor[_0x5826[202]][_0x5826[3118]]=null;mxEditor[_0x5826[202]][_0x5826[2075]]=null;mxEditor[_0x5826[202]][_0x5826[3119]]=null;mxEditor[_0x5826[202]][_0x5826[3120]]=null;mxEditor[_0x5826[202]][_0x5826[3121]]=null;mxEditor[_0x5826[202]][_0x5826[3122]]=null;mxEditor[_0x5826[202]][_0x5826[1069]]=_0x5826[336];mxEditor[_0x5826[202]][_0x5826[3123]]=_0x5826[338];mxEditor[_0x5826[202]][_0x5826[1070]]= !0;mxEditor[_0x5826[202]][_0x5826[3124]]=null;mxEditor[_0x5826[202]][_0x5826[3125]]=null;mxEditor[_0x5826[202]][_0x5826[1056]]=null;mxEditor[_0x5826[202]][_0x5826[1058]]=null;mxEditor[_0x5826[202]][_0x5826[1057]]=null;mxEditor[_0x5826[202]][_0x5826[3089]]= !1;mxEditor[_0x5826[202]][_0x5826[3126]]= !1;mxEditor[_0x5826[202]][_0x5826[3127]]=0;mxEditor[_0x5826[202]][_0x5826[3128]]= !1;mxEditor[_0x5826[202]][_0x5826[3129]]= !1;mxEditor[_0x5826[202]][_0x5826[3093]]=null;mxEditor[_0x5826[202]][_0x5826[3130]]=0;mxEditor[_0x5826[202]][_0x5826[3100]]=_0x5826[604];mxEditor[_0x5826[202]][_0x5826[3112]]=null;mxEditor[_0x5826[202]][_0x5826[3131]]=null;mxEditor[_0x5826[202]][_0x5826[3132]]=20;mxEditor[_0x5826[202]][_0x5826[2719]]=null;mxEditor[_0x5826[202]][_0x5826[3133]]=null;mxEditor[_0x5826[202]][_0x5826[3134]]=null;mxEditor[_0x5826[202]][_0x5826[3135]]=300;mxEditor[_0x5826[202]][_0x5826[3136]]=260;mxEditor[_0x5826[202]][_0x5826[3137]]=240;mxEditor[_0x5826[202]][_0x5826[3138]]=null;mxEditor[_0x5826[202]][_0x5826[3139]]= !1;mxEditor[_0x5826[202]][_0x5826[3140]]= !1;mxEditor[_0x5826[202]][_0x5826[2113]]= !1;mxEditor[_0x5826[202]][_0x5826[2133]]=function(){return this[_0x5826[2113]]};mxEditor[_0x5826[202]][_0x5826[2128]]=function(_0x1b20x2){this[_0x5826[2113]]=_0x1b20x2};mxEditor[_0x5826[202]][_0x5826[3092]]=function(){this[_0x5826[3071]](_0x5826[815],function(_0x1b20x2){_0x1b20x2[_0x5826[815]]()});this[_0x5826[3071]](_0x5826[540],function(_0x1b20x2){( new mxPrintPreview(_0x1b20x2[_0x5826[1179]],1))[_0x5826[392]]()});this[_0x5826[3071]](_0x5826[539],function(_0x1b20x2){mxUtils[_0x5826[539]](_0x1b20x2[_0x5826[1179]],null,10,10)});this[_0x5826[3071]](_0x5826[3141],function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[3142]]();if(null==_0x1b20x3||mxClient[_0x5826[3101]]){_0x1b20x2[_0x5826[350]](_0x5826[539])}else {var _0x1b20x4=mxUtils[_0x5826[3143]](_0x1b20x2[_0x5826[1179]],1),_0x1b20x4=mxUtils[_0x5826[875]](_0x1b20x4,_0x5826[192]);mxUtils[_0x5826[894]](_0x1b20x3,_0x1b20x2[_0x5826[3123]]+_0x5826[226]+encodeURIComponent(_0x1b20x4),document,_0x5826[3144])}});this[_0x5826[3071]](_0x5826[802],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[802]]()});this[_0x5826[3071]](_0x5826[3145],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&mxClipboard[_0x5826[3145]](_0x1b20x2[_0x5826[1179]])});this[_0x5826[3071]](_0x5826[149],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&mxClipboard[_0x5826[149]](_0x1b20x2[_0x5826[1179]])});this[_0x5826[3071]](_0x5826[3146],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&mxClipboard[_0x5826[3146]](_0x1b20x2[_0x5826[1179]])});this[_0x5826[3071]](_0x5826[3147],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[842]]()});this[_0x5826[3071]](_0x5826[1504],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2450]](_0x1b20x2[_0x5826[844]]())});this[_0x5826[3071]](_0x5826[3148],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[904]](_0x1b20x2[_0x5826[1179]][_0x5826[845]]())});this[_0x5826[3071]](_0x5826[1997],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[846]]()});this[_0x5826[3071]](_0x5826[824],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[824]]()});this[_0x5826[3071]](_0x5826[825],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[825]]()});this[_0x5826[3071]](_0x5826[2558],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[2558]]()});this[_0x5826[3071]](_0x5826[2559],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[2559]]()});this[_0x5826[3071]](_0x5826[3149],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[2560]]()});this[_0x5826[3071]](_0x5826[933],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[933]]()});this[_0x5826[3071]](_0x5826[3150],function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[3150]](_0x1b20x3)});this[_0x5826[3071]](_0x5826[2705],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2705]]()});this[_0x5826[3071]](_0x5826[3151],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2440]]()});this[_0x5826[3071]](_0x5826[2706],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2706]]()});this[_0x5826[3071]](_0x5826[2708],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2708]]()});this[_0x5826[3071]](_0x5826[1061],function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2453]](_0x1b20x3)&&_0x1b20x2[_0x5826[1179]][_0x5826[2451]](_0x1b20x3)});this[_0x5826[3071]](_0x5826[3152],function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[840]](!0)});this[_0x5826[3071]](_0x5826[3153],function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[840]](!1)});this[_0x5826[3071]](_0x5826[2552],function(_0x1b20x2,_0x1b20x3){_0x1b20x2[_0x5826[1179]][_0x5826[2552]](_0x1b20x3)});this[_0x5826[3071]](_0x5826[2554],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[2554]]()});this[_0x5826[3071]](_0x5826[2442],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[2442]]()});this[_0x5826[3071]](_0x5826[3154],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2702]]()});this[_0x5826[3071]](_0x5826[3155],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2700]]()});this[_0x5826[3071]](_0x5826[3156],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2703]]()});this[_0x5826[3071]](_0x5826[3157],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2704]]()});this[_0x5826[3071]](_0x5826[2514],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[847]](!0)});this[_0x5826[3071]](_0x5826[3158],function(_0x1b20x2){if(_0x1b20x2[_0x5826[1179]][_0x5826[994]]()){var _0x1b20x3=_0x1b20x2[_0x5826[1179]][_0x5826[1728]]();_0x1b20x2[_0x5826[1179]][_0x5826[847]](!0,!1,_0x1b20x3)}});this[_0x5826[3071]](_0x5826[3159],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[847]](!1)});this[_0x5826[3071]](_0x5826[3160],function(_0x1b20x2){if(_0x1b20x2[_0x5826[1179]][_0x5826[994]]()){var _0x1b20x3=_0x1b20x2[_0x5826[1179]][_0x5826[1728]]();_0x1b20x2[_0x5826[1179]][_0x5826[847]](!1,!1,_0x1b20x3)}});this[_0x5826[3071]](_0x5826[1447],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this[_0x5826[3071]](_0x5826[1449],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this[_0x5826[3071]](_0x5826[355],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_UNDERLINE)});this[_0x5826[3071]](_0x5826[639],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_SHADOW)});this[_0x5826[3071]](_0x5826[3161],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_LEFT)});this[_0x5826[3071]](_0x5826[3162],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_CENTER)});this[_0x5826[3071]](_0x5826[3163],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_RIGHT)});this[_0x5826[3071]](_0x5826[3164],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_TOP)});this[_0x5826[3071]](_0x5826[3165],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_MIDDLE)});this[_0x5826[3071]](_0x5826[3166],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[849]](mxConstants.ALIGN_BOTTOM)});this[_0x5826[3071]](_0x5826[3167],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this[_0x5826[3071]](_0x5826[3168],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this[_0x5826[3071]](_0x5826[3169],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this[_0x5826[3071]](_0x5826[3170],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this[_0x5826[3071]](_0x5826[3171],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this[_0x5826[3071]](_0x5826[3172],function(_0x1b20x2){_0x1b20x2[_0x5826[1179]][_0x5826[994]]()&&_0x1b20x2[_0x5826[1179]][_0x5826[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});this[_0x5826[3071]](_0x5826[499],function(_0x1b20x2){var _0x1b20x3=100*_0x1b20x2[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x3=parseFloat(mxUtils[_0x5826[3173]](mxResources[_0x5826[203]](_0x1b20x2[_0x5826[3104]])||_0x1b20x2[_0x5826[3104]],_0x1b20x3))/100;isNaN(_0x1b20x3)||_0x1b20x2[_0x5826[1179]][_0x5826[249]]()[_0x5826[2262]](_0x1b20x3)});this[_0x5826[3071]](_0x5826[3174],function(_0x1b20x2){null!=_0x1b20x2[_0x5826[3112]]?_0x1b20x2[_0x5826[3112]][_0x5826[175]](!_0x1b20x2[_0x5826[3112]][_0x5826[174]]()):_0x1b20x2[_0x5826[3175]]()});this[_0x5826[3071]](_0x5826[3176],function(_0x1b20x2){null!=_0x1b20x2[_0x5826[2719]]?_0x1b20x2[_0x5826[2719]][_0x5826[175]](!_0x1b20x2[_0x5826[2719]][_0x5826[174]]()):_0x1b20x2[_0x5826[3177]]()});this[_0x5826[3071]](_0x5826[3178],function(_0x1b20x2){null==_0x1b20x2[_0x5826[2136]]?_0x1b20x2[_0x5826[3179]]():_0x1b20x2[_0x5826[2136]][_0x5826[175]](!_0x1b20x2[_0x5826[2136]][_0x5826[174]]())});this[_0x5826[3071]](_0x5826[3180],function(_0x1b20x2){mxLog[_0x5826[175]](!mxLog[_0x5826[174]]())})};mxEditor[_0x5826[202]][_0x5826[3102]]=function(){var _0x1b20x2=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[746]]( new mxEventObject(mxEvent.SESSION,_0x5826[812],_0x1b20x2))});return this[_0x5826[807]](this[_0x5826[1056]],this[_0x5826[1057]],this[_0x5826[1058]],_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3099]]=function(_0x1b20x2){null!=_0x1b20x2&&(( new mxCodec(_0x1b20x2[_0x5826[295]]))[_0x5826[1093]](_0x1b20x2,this),this[_0x5826[3181]]())};mxEditor[_0x5826[202]][_0x5826[3182]]=function(){document[_0x5826[3183]]=_0x5826[3184]};mxEditor[_0x5826[202]][_0x5826[3181]]=function(){this[_0x5826[1184]]=( new Date)[_0x5826[178]]();this[_0x5826[3095]][_0x5826[200]]();this[_0x5826[1183]]=0;this[_0x5826[2128]](!1)};mxEditor[_0x5826[202]][_0x5826[3071]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3091]][_0x1b20x2]=_0x1b20x3};mxEditor[_0x5826[202]][_0x5826[350]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[3091]][_0x1b20x2];if(null!=_0x1b20x5){try{var _0x1b20x9=arguments;_0x1b20x9[0]=this;_0x1b20x5[_0x5826[183]](this,_0x1b20x9)}catch(f){throw mxUtils[_0x5826[267]](_0x5826[3185]+_0x1b20x2+_0x5826[3186]+f[_0x5826[281]],280,!0),f}}else {mxUtils[_0x5826[267]](_0x5826[3187]+_0x1b20x2,280,!0)}};mxEditor[_0x5826[202]][_0x5826[3188]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[3118]][_0x1b20x2]=_0x1b20x3};mxEditor[_0x5826[202]][_0x5826[3189]]=function(_0x1b20x2){return this[_0x5826[3118]][_0x1b20x2]};mxEditor[_0x5826[202]][_0x5826[3096]]=function(){var _0x1b20x2= new mxGraph(null,null,this[_0x5826[2720]]);_0x1b20x2[_0x5826[2673]](!0);_0x1b20x2[_0x5826[2674]](!0);this[_0x5826[3190]](_0x1b20x2);this[_0x5826[3191]](_0x1b20x2);this[_0x5826[3192]](_0x1b20x2);this[_0x5826[3193]](_0x1b20x2);this[_0x5826[3194]](_0x1b20x2);_0x1b20x2[_0x5826[2316]][_0x5826[1033]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4,_0x1b20x5){return this[_0x5826[3195]](_0x1b20x2,_0x1b20x4,_0x1b20x5)});_0x1b20x2[_0x5826[2433]][_0x5826[1033]]=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x4){return this[_0x5826[2503]](_0x1b20x2,_0x1b20x4)});this[_0x5826[3196]](_0x1b20x2);this[_0x5826[3197]](_0x1b20x2);return _0x1b20x2};mxEditor[_0x5826[202]][_0x5826[3196]]=function(_0x1b20x2){_0x1b20x2= new mxSwimlaneManager(_0x1b20x2,!1);_0x1b20x2[_0x5826[1737]]=mxUtils[_0x5826[885]](this,function(){return this[_0x5826[3089]]});_0x1b20x2[_0x5826[994]]=mxUtils[_0x5826[885]](this,function(){return this[_0x5826[3128]]});return _0x1b20x2};mxEditor[_0x5826[202]][_0x5826[3197]]=function(_0x1b20x2){var _0x1b20x3= new mxLayoutManager(_0x1b20x2),_0x1b20x4=this;_0x1b20x3[_0x5826[2754]]=function(_0x1b20x3){var _0x1b20x9=null,_0x1b20xa=_0x1b20x4[_0x5826[1179]][_0x5826[502]]();if(null!=_0x1b20xa[_0x5826[1197]](_0x1b20x3)){if(_0x1b20x4[_0x5826[3129]]&&_0x1b20x2[_0x5826[1730]](_0x1b20x3)){null==_0x1b20x4[_0x5826[3198]]&&(_0x1b20x4[_0x5826[3198]]=_0x1b20x4[_0x5826[3199]]()),_0x1b20x9=_0x1b20x4[_0x5826[3198]]}else {if(_0x1b20x4[_0x5826[3126]]&&(_0x1b20x2[_0x5826[2553]](_0x1b20x3)||null==_0x1b20xa[_0x5826[1197]](_0x1b20xa[_0x5826[1197]](_0x1b20x3)))){null==_0x1b20x4[_0x5826[3200]]&&(_0x1b20x4[_0x5826[3200]]=_0x1b20x4[_0x5826[3201]]()),_0x1b20x9=_0x1b20x4[_0x5826[3200]]}}};return _0x1b20x9};return _0x1b20x3};mxEditor[_0x5826[202]][_0x5826[3202]]=function(_0x1b20x2){null==this[_0x5826[1179]][_0x5826[526]]&&(this[_0x5826[1179]][_0x5826[176]](_0x1b20x2),this[_0x5826[3203]]= new mxRubberband(this[_0x5826[1179]]),this[_0x5826[1157]]&&mxEvent[_0x5826[1157]](_0x1b20x2),mxClient[_0x5826[496]]&& new mxDivResizer(_0x1b20x2))};mxEditor[_0x5826[202]][_0x5826[3190]]=function(_0x1b20x2){_0x1b20x2[_0x5826[169]](mxEvent.DOUBLE_CLICK,mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x4[_0x5826[720]](_0x5826[246]);null!=_0x1b20x5&&(_0x1b20x2[_0x5826[994]]()&&null!=this[_0x5826[3115]])&&(this[_0x5826[350]](this[_0x5826[3115]],_0x1b20x5),_0x1b20x4[_0x5826[722]]())}))};mxEditor[_0x5826[202]][_0x5826[3191]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){var _0x1b20x9=_0x1b20x3[_0x5826[720]](_0x5826[1061]);this[_0x5826[3095]][_0x5826[1114]](_0x1b20x9)});_0x1b20x2[_0x5826[502]]()[_0x5826[169]](mxEvent.UNDO,_0x1b20x3);_0x1b20x2[_0x5826[249]]()[_0x5826[169]](mxEvent.UNDO,_0x1b20x3);_0x1b20x3=function(_0x1b20x3,_0x1b20x5){var _0x1b20x9=_0x1b20x5[_0x5826[720]](_0x5826[1061])[_0x5826[1065]];_0x1b20x2[_0x5826[904]](_0x1b20x2[_0x5826[2436]](_0x1b20x9))};this[_0x5826[3095]][_0x5826[169]](mxEvent.UNDO,_0x1b20x3);this[_0x5826[3095]][_0x5826[169]](mxEvent.REDO,_0x1b20x3)};mxEditor[_0x5826[202]][_0x5826[3192]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x2){this[_0x5826[746]]( new mxEventObject(mxEvent.ROOT))});_0x1b20x2[_0x5826[249]]()[_0x5826[169]](mxEvent.DOWN,_0x1b20x3);_0x1b20x2[_0x5826[249]]()[_0x5826[169]](mxEvent.UP,_0x1b20x3)};mxEditor[_0x5826[202]][_0x5826[3193]]=function(_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[885]](this,function(_0x1b20x3,_0x1b20x5){this[_0x5826[2128]](!0);!0==this[_0x5826[3140]]&&_0x1b20x2[_0x5826[2585]]();for(var _0x1b20x9=_0x1b20x5[_0x5826[720]](_0x5826[1061])[_0x5826[1065]],_0x1b20xa=0;_0x1b20xa<_0x1b20x9[_0x5826[67]];_0x1b20xa++){var _0x1b20x12=_0x1b20x9[_0x1b20xa];if(_0x1b20x12 instanceof mxRootChange||_0x1b20x12 instanceof mxValueChange&&_0x1b20x12[_0x5826[246]]==this[_0x5826[1179]][_0x5826[251]][_0x5826[813]]||_0x1b20x12 instanceof mxCellAttributeChange&&_0x1b20x12[_0x5826[246]]==this[_0x5826[1179]][_0x5826[251]][_0x5826[813]]){this[_0x5826[746]]( new mxEventObject(mxEvent.ROOT));break}}});_0x1b20x2[_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,_0x1b20x3)};mxEditor[_0x5826[202]][_0x5826[3194]]=function(_0x1b20x2){var _0x1b20x3=this;_0x1b20x2[_0x5826[1133]]({mouseDown:function(_0x1b20x2,_0x1b20x5){if(null!=_0x1b20x3[_0x5826[3083]]&&!_0x1b20x5[_0x5826[737]]()&&(_0x1b20x3[_0x5826[3117]]||null==_0x1b20x5[_0x5826[248]]())){_0x1b20x3[_0x5826[1179]][_0x5826[2440]](),_0x1b20x3[_0x5826[3083]](_0x1b20x5[_0x5826[727]](),_0x1b20x5[_0x5826[736]]()),this[_0x5826[1142]]= !0,_0x1b20x5[_0x5826[722]]()}},mouseMove:function(_0x1b20x2,_0x1b20x3){this[_0x5826[1142]]&&_0x1b20x3[_0x5826[722]]()},mouseUp:function(_0x1b20x2,_0x1b20x3){this[_0x5826[1142]]&&(this[_0x5826[1142]]= !1,_0x1b20x3[_0x5826[722]]())}})};mxEditor[_0x5826[202]][_0x5826[3201]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[1020]],_0x1b20x3= new mxStackLayout(this[_0x5826[1179]],!this[_0x5826[3089]],this[_0x5826[3127]],2*_0x1b20x2,2*_0x1b20x2);_0x1b20x3[_0x5826[1713]]=function(_0x1b20x2){return !_0x1b20x3[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)};return _0x1b20x3};mxEditor[_0x5826[202]][_0x5826[3199]]=function(){return new mxCompactTreeLayout(this[_0x5826[1179]],this[_0x5826[3089]])};mxEditor[_0x5826[202]][_0x5826[3097]]=function(){return new mxDefaultToolbar(null,this)};mxEditor[_0x5826[202]][_0x5826[3204]]=function(_0x1b20x2){this[_0x5826[3082]][_0x5826[176]](_0x1b20x2);mxClient[_0x5826[496]]&& new mxDivResizer(_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3205]]=function(_0x1b20x2){null==this[_0x5826[879]]&&(this[_0x5826[879]]=_0x1b20x2,this[_0x5826[169]](mxEvent.SAVE,mxUtils[_0x5826[885]](this,function(){var _0x1b20x2=( new Date)[_0x5826[3206]]();this[_0x5826[3207]]((mxResources[_0x5826[203]](this[_0x5826[3106]])||this[_0x5826[3106]])+_0x5826[3186]+_0x1b20x2)})),this[_0x5826[169]](mxEvent.OPEN,mxUtils[_0x5826[885]](this,function(){this[_0x5826[3207]]((mxResources[_0x5826[203]](this[_0x5826[3108]])||this[_0x5826[3108]])+_0x5826[3186]+this[_0x5826[3122]])})),mxClient[_0x5826[496]]&& new mxDivResizer(_0x1b20x2))};mxEditor[_0x5826[202]][_0x5826[3207]]=function(_0x1b20x2){null!=this[_0x5826[879]]&&null!=_0x1b20x2&&(this[_0x5826[879]][_0x5826[339]]=_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3208]]=function(_0x1b20x2){this[_0x5826[169]](mxEvent.ROOT,mxUtils[_0x5826[885]](this,function(_0x1b20x3){_0x1b20x2[_0x5826[339]]=this[_0x5826[3209]]()}));mxClient[_0x5826[496]]&& new mxDivResizer(_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3210]]=function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x2&&( new mxCompactTreeLayout(this[_0x5826[1179]],_0x1b20x3))[_0x5826[350]](_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3209]]=function(){for(var _0x1b20x2=_0x5826[110],_0x1b20x3=this[_0x5826[1179]],_0x1b20x4=_0x1b20x3[_0x5826[2534]]();null!=_0x1b20x4&&null!=_0x1b20x3[_0x5826[502]]()[_0x5826[1197]](_0x1b20x3[_0x5826[502]]()[_0x5826[1197]](_0x1b20x4));){_0x1b20x3[_0x5826[2553]](_0x1b20x4)&&(_0x1b20x2=_0x5826[3211]+_0x1b20x3[_0x5826[2454]](_0x1b20x4)+_0x1b20x2),_0x1b20x4=_0x1b20x3[_0x5826[502]]()[_0x5826[1197]](_0x1b20x4)};return this[_0x5826[3212]]()+_0x1b20x2};mxEditor[_0x5826[202]][_0x5826[3212]]=function(){var _0x1b20x2=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]]();return this[_0x5826[1179]][_0x5826[2454]](_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[824]]=function(){this[_0x5826[3095]][_0x5826[824]]()};mxEditor[_0x5826[202]][_0x5826[825]]=function(){this[_0x5826[3095]][_0x5826[825]]()};mxEditor[_0x5826[202]][_0x5826[844]]=function(){var _0x1b20x2=null!=this[_0x5826[3121]]?this[_0x5826[3121]]:this[_0x5826[1179]][_0x5826[1020]];return this[_0x5826[1179]][_0x5826[844]](this[_0x5826[3213]](),_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3213]]=function(){return this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1978]](this[_0x5826[3120]])};mxEditor[_0x5826[202]][_0x5826[392]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[219]](_0x1b20x2)[_0x5826[875]]();this[_0x5826[3214]](_0x1b20x3[_0x5826[158]]);this[_0x5826[3122]]=_0x1b20x2;this[_0x5826[746]]( new mxEventObject(mxEvent.OPEN,_0x5826[3122],_0x1b20x2))}};mxEditor[_0x5826[202]][_0x5826[3214]]=function(_0x1b20x2){( new mxCodec(_0x1b20x2[_0x5826[295]]))[_0x5826[1093]](_0x1b20x2,this[_0x5826[1179]][_0x5826[502]]());this[_0x5826[3181]]()};mxEditor[_0x5826[202]][_0x5826[815]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x2=_0x1b20x2||this[_0x5826[3215]]();if(null!=_0x1b20x2&&0<_0x1b20x2[_0x5826[67]]){var _0x1b20x4=this[_0x5826[3216]](_0x1b20x3);this[_0x5826[3217]](_0x1b20x2,_0x1b20x4);this[_0x5826[2128]](!1)};this[_0x5826[746]]( new mxEventObject(mxEvent.SAVE,_0x5826[863],_0x1b20x2))};mxEditor[_0x5826[202]][_0x5826[3217]]=function(_0x1b20x2,_0x1b20x3){this[_0x5826[1070]]&&(_0x1b20x3=encodeURIComponent(_0x1b20x3));mxUtils[_0x5826[814]](_0x1b20x2,this[_0x5826[3123]]+_0x5826[226]+_0x1b20x3,mxUtils[_0x5826[885]](this,function(_0x1b20x4){this[_0x5826[746]]( new mxEventObject(mxEvent.POST,_0x5826[870],_0x1b20x4,_0x5826[863],_0x1b20x2,_0x5826[410],_0x1b20x3))}))};mxEditor[_0x5826[202]][_0x5826[3216]]=function(_0x1b20x2){_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:this[_0x5826[1069]];var _0x1b20x3=( new mxCodec)[_0x5826[514]](this[_0x5826[1179]][_0x5826[502]]());return mxUtils[_0x5826[875]](_0x1b20x3,_0x1b20x2)};mxEditor[_0x5826[202]][_0x5826[3215]]=function(){return this[_0x5826[3124]]};mxEditor[_0x5826[202]][_0x5826[3142]]=function(){return this[_0x5826[3125]]};mxEditor[_0x5826[202]][_0x5826[807]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;mxClient[_0x5826[3101]]||(_0x1b20x9= new mxSession(this[_0x5826[1179]][_0x5826[502]](),_0x1b20x2,_0x1b20x3,_0x1b20x4),_0x1b20x9[_0x5826[169]](mxEvent.RECEIVE,mxUtils[_0x5826[885]](this,function(_0x1b20x2,_0x1b20x3){null!=_0x1b20x3[_0x5826[720]](_0x5826[252])[_0x5826[284]](_0x5826[1088])&&this[_0x5826[3181]]()})),_0x1b20x9[_0x5826[169]](mxEvent.DISCONNECT,_0x1b20x5),_0x1b20x9[_0x5826[169]](mxEvent.CONNECT,_0x1b20x5),_0x1b20x9[_0x5826[169]](mxEvent.NOTIFY,_0x1b20x5),_0x1b20x9[_0x5826[169]](mxEvent.GET,_0x1b20x5),_0x1b20x9[_0x5826[861]]());return _0x1b20x9};mxEditor[_0x5826[202]][_0x5826[3218]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=this[_0x5826[1179]][_0x5826[2434]]()[_0x5826[2054]][_0x1b20x3];this[_0x5826[1179]][_0x5826[249]]()[_0x5826[2434]]()[_0x5826[2074]](_0x1b20x3,this[_0x5826[1179]][_0x5826[2434]]()[_0x5826[2054]][_0x1b20x2]);this[_0x5826[1179]][_0x5826[2434]]()[_0x5826[2074]](_0x1b20x2,_0x1b20x4);this[_0x5826[1179]][_0x5826[802]]()};mxEditor[_0x5826[202]][_0x5826[3150]]=function(_0x1b20x2){_0x1b20x2=_0x1b20x2||this[_0x5826[1179]][_0x5826[2452]]();null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[2534]](),null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]]()));if(null!=_0x1b20x2){this[_0x5826[1179]][_0x5826[2126]](!0);var _0x1b20x3=mxUtils[_0x5826[445]](this[_0x5826[1179]][_0x5826[526]]),_0x1b20x4=_0x1b20x3[_0x5826[235]]+10,_0x1b20x3=_0x1b20x3[_0x5826[236]];if(null!=this[_0x5826[716]]&&!this[_0x5826[3139]]){_0x1b20x4=this[_0x5826[716]][_0x5826[730]](),_0x1b20x3=this[_0x5826[716]][_0x5826[732]]()}else {var _0x1b20x5=this[_0x5826[1179]][_0x5826[2555]](_0x1b20x2);null!=_0x1b20x5&&(_0x1b20x4+=_0x1b20x5[_0x5826[235]]+Math[_0x5826[243]](200,_0x1b20x5[_0x5826[117]]),_0x1b20x3+=_0x1b20x5[_0x5826[236]])};this[_0x5826[3062]]();_0x1b20x2=this[_0x5826[3219]](_0x1b20x2);null!=_0x1b20x2&&(this[_0x5826[716]]= new mxWindow(mxResources[_0x5826[203]](this[_0x5826[3110]])||this[_0x5826[3110]],_0x1b20x2,_0x1b20x4,_0x1b20x3,this[_0x5826[3137]],this[_0x5826[3138]],!1),this[_0x5826[716]][_0x5826[175]](!0))}};mxEditor[_0x5826[202]][_0x5826[3220]]=function(){return null!=this[_0x5826[716]]};mxEditor[_0x5826[202]][_0x5826[3219]]=function(_0x1b20x2){var _0x1b20x3=this[_0x5826[1179]][_0x5826[502]](),_0x1b20x4=_0x1b20x3[_0x5826[433]](_0x1b20x2);if(mxUtils[_0x5826[1331]](_0x1b20x4)){var _0x1b20x5= new mxForm(_0x5826[716]);_0x1b20x5[_0x5826[961]](_0x5826[3222],_0x1b20x2[_0x5826[1103]]())[_0x5826[57]](_0x5826[3221],_0x5826[128]);var _0x1b20x9=null,_0x1b20xa=null,_0x1b20x12=null,_0x1b20x13=null,_0x1b20x14=null;_0x1b20x3[_0x5826[1193]](_0x1b20x2)&&(_0x1b20x9=_0x1b20x3[_0x5826[1721]](_0x1b20x2),null!=_0x1b20x9&&(_0x1b20xa=_0x1b20x5[_0x5826[961]](_0x5826[125],_0x1b20x9[_0x5826[236]]),_0x1b20x12=_0x1b20x5[_0x5826[961]](_0x5826[361],_0x1b20x9[_0x5826[235]]),_0x1b20x13=_0x1b20x5[_0x5826[961]](_0x5826[117],_0x1b20x9[_0x5826[117]]),_0x1b20x14=_0x1b20x5[_0x5826[961]](_0x5826[119],_0x1b20x9[_0x5826[119]])));for(var _0x1b20x15=_0x1b20x3[_0x5826[474]](_0x1b20x2),_0x1b20x16=_0x1b20x5[_0x5826[961]](_0x5826[3223],_0x1b20x15||_0x5826[110]),_0x1b20x17=_0x1b20x4[_0x5826[320]],_0x1b20x18=[],_0x1b20x4=0;_0x1b20x4<_0x1b20x17[_0x5826[67]];_0x1b20x4++){_0x1b20x18[_0x1b20x4]=_0x1b20x5[_0x5826[968]](_0x1b20x17[_0x1b20x4][_0x5826[301]],_0x1b20x17[_0x1b20x4][_0x5826[318]],_0x5826[685]==_0x1b20x17[_0x1b20x4][_0x5826[301]]?4:2)};_0x1b20x4=mxUtils[_0x5826[885]](this,function(){this[_0x5826[3062]]();_0x1b20x3[_0x5826[473]]();try{null!=_0x1b20x9&&(_0x1b20x9=_0x1b20x9[_0x5826[238]](),_0x1b20x9[_0x5826[235]]=parseFloat(_0x1b20x12[_0x5826[131]]),_0x1b20x9[_0x5826[236]]=parseFloat(_0x1b20xa[_0x5826[131]]),_0x1b20x9[_0x5826[117]]=parseFloat(_0x1b20x13[_0x5826[131]]),_0x1b20x9[_0x5826[119]]=parseFloat(_0x1b20x14[_0x5826[131]]),_0x1b20x3[_0x5826[1724]](_0x1b20x2,_0x1b20x9));0<_0x1b20x16[_0x5826[131]][_0x5826[67]]?_0x1b20x3[_0x5826[475]](_0x1b20x2,_0x1b20x16[_0x5826[131]]):_0x1b20x3[_0x5826[475]](_0x1b20x2,null);for(var _0x1b20x4=0;_0x1b20x4<_0x1b20x17[_0x5826[67]];_0x1b20x4++){var _0x1b20x5= new mxCellAttributeChange(_0x1b20x2,_0x1b20x17[_0x1b20x4][_0x5826[301]],_0x1b20x18[_0x1b20x4][_0x5826[131]]);_0x1b20x3[_0x5826[350]](_0x1b20x5)};this[_0x5826[1179]][_0x5826[2455]](_0x1b20x2)&&this[_0x5826[1179]][_0x5826[858]](_0x1b20x2)}finally{_0x1b20x3[_0x5826[476]]()}});_0x1b20x15=mxUtils[_0x5826[885]](this,function(){this[_0x5826[3062]]()});_0x1b20x5[_0x5826[956]](_0x1b20x4,_0x1b20x15);return _0x1b20x5[_0x5826[116]]};return null};mxEditor[_0x5826[202]][_0x5826[3062]]=function(){null!=this[_0x5826[716]]&&(this[_0x5826[716]][_0x5826[515]](),this[_0x5826[716]]=null)};mxEditor[_0x5826[202]][_0x5826[3175]]=function(){if(null==this[_0x5826[3112]]){var _0x1b20x2=document[_0x5826[55]](_0x5826[485]);_0x1b20x2[_0x5826[124]][_0x5826[549]]=_0x5826[952];_0x1b20x2[_0x5826[124]][_0x5826[357]]=_0x5826[550];var _0x1b20x3=document[_0x5826[112]][_0x5826[159]],_0x1b20x3= new mxWindow(mxResources[_0x5826[203]](this[_0x5826[3111]])||this[_0x5826[3111]],_0x1b20x2,_0x1b20x3-220,this[_0x5826[3132]],200);_0x1b20x3[_0x5826[164]](!0);_0x1b20x3[_0x5826[165]]= !1;var _0x1b20x4=mxUtils[_0x5826[885]](this,function(_0x1b20x3){mxEvent[_0x5826[762]](_0x1b20x2);_0x1b20x2[_0x5826[339]]=_0x5826[110];this[_0x5826[3224]](_0x1b20x2)});this[_0x5826[1179]][_0x5826[502]]()[_0x5826[169]](mxEvent.CHANGE,_0x1b20x4);this[_0x5826[1179]][_0x5826[2435]]()[_0x5826[169]](mxEvent.CHANGE,_0x1b20x4);this[_0x5826[1179]][_0x5826[169]](mxEvent.ROOT,_0x1b20x4);null!=this[_0x5826[3131]]&&_0x1b20x3[_0x5826[951]](this[_0x5826[3131]]);this[_0x5826[3112]]=_0x1b20x3;this[_0x5826[3224]](_0x1b20x2)};this[_0x5826[3112]][_0x5826[175]](!0)};mxEditor[_0x5826[202]][_0x5826[3225]]=function(_0x1b20x2){null!=this[_0x5826[3112]]&&(_0x1b20x2=this[_0x5826[3112]][_0x5826[905]],mxEvent[_0x5826[762]](_0x1b20x2),_0x1b20x2[_0x5826[339]]=_0x5826[110],this[_0x5826[3224]](_0x1b20x2))};mxEditor[_0x5826[202]][_0x5826[3224]]=function(_0x1b20x2){};mxEditor[_0x5826[202]][_0x5826[3177]]=function(_0x1b20x2){if(null==this[_0x5826[2719]]){var _0x1b20x3=document[_0x5826[55]](_0x5826[389]);_0x1b20x3[_0x5826[57]](_0x5826[390],mxResources[_0x5826[203]](_0x5826[3134])||this[_0x5826[3134]]);_0x1b20x3[_0x5826[57]](_0x5826[119],_0x5826[118]);_0x1b20x3[_0x5826[57]](_0x5826[117],_0x5826[118]);_0x1b20x3[_0x5826[57]](_0x5826[3226],_0x5826[468]);_0x1b20x3[_0x5826[124]][_0x5826[1028]]=_0x5826[1391];_0x1b20x2=document[_0x5826[112]][_0x5826[159]];var _0x1b20x4=document[_0x5826[112]][_0x5826[157]]||document[_0x5826[158]][_0x5826[157]],_0x1b20x5= new mxWindow(mxResources[_0x5826[203]](this[_0x5826[3113]])||this[_0x5826[3113]],_0x1b20x3,(_0x1b20x2-this[_0x5826[3135]])/2,(_0x1b20x4-this[_0x5826[3136]])/3,this[_0x5826[3135]],this[_0x5826[3136]]);_0x1b20x5[_0x5826[161]](!0);_0x1b20x5[_0x5826[164]](!0);_0x1b20x5[_0x5826[165]]= !1;_0x1b20x5[_0x5826[163]](!0);null!=this[_0x5826[3133]]&&_0x1b20x5[_0x5826[951]](this[_0x5826[3133]]);mxClient[_0x5826[133]]&&(_0x1b20x2=function(_0x1b20x2){_0x1b20x3[_0x5826[57]](_0x5826[119],_0x1b20x5[_0x5826[485]][_0x5826[167]]-26+_0x5826[168])},_0x1b20x5[_0x5826[169]](mxEvent.RESIZE_END,_0x1b20x2),_0x1b20x5[_0x5826[169]](mxEvent.MAXIMIZE,_0x1b20x2),_0x1b20x5[_0x5826[169]](mxEvent.NORMALIZE,_0x1b20x2),_0x1b20x5[_0x5826[169]](mxEvent.SHOW,_0x1b20x2));this[_0x5826[2719]]=_0x1b20x5};this[_0x5826[2719]][_0x5826[175]](!0)};mxEditor[_0x5826[202]][_0x5826[3179]]=function(){if(null==this[_0x5826[2136]]){var _0x1b20x2=document[_0x5826[55]](_0x5826[485]);_0x1b20x2[_0x5826[124]][_0x5826[277]]=_0x5826[188];_0x1b20x2[_0x5826[124]][_0x5826[117]]=_0x5826[118];_0x1b20x2[_0x5826[124]][_0x5826[119]]=_0x5826[118];_0x1b20x2[_0x5826[124]][_0x5826[1537]]=_0x5826[1391];_0x1b20x2[_0x5826[124]][_0x5826[270]]=_0x5826[582];var _0x1b20x3= new mxWindow(mxResources[_0x5826[203]](this[_0x5826[3114]])||this[_0x5826[3114]],_0x1b20x2,600,480,200,200,!1),_0x1b20x4= new mxOutline(this[_0x5826[1179]],_0x1b20x2);_0x1b20x3[_0x5826[164]](!0);_0x1b20x3[_0x5826[163]](!0);_0x1b20x3[_0x5826[165]]= !1;_0x1b20x3[_0x5826[169]](mxEvent.RESIZE_END,function(){_0x1b20x4[_0x5826[2729]]()});this[_0x5826[2136]]=_0x1b20x3;this[_0x5826[2136]][_0x5826[2136]]=_0x1b20x4};this[_0x5826[2136]][_0x5826[175]](!0);this[_0x5826[2136]][_0x5826[2136]][_0x5826[2729]](!0)};mxEditor[_0x5826[202]][_0x5826[3086]]=function(_0x1b20x2){_0x5826[804]==_0x1b20x2?(this[_0x5826[1179]][_0x5826[2316]][_0x5826[2840]]= !1,this[_0x5826[1179]][_0x5826[1995]](!1)):_0x5826[807]==_0x1b20x2?(this[_0x5826[1179]][_0x5826[2316]][_0x5826[2840]]= !1,this[_0x5826[1179]][_0x5826[1995]](!0)):_0x5826[796]==_0x1b20x2&&(this[_0x5826[1179]][_0x5826[2316]][_0x5826[2840]]= !0,this[_0x5826[1179]][_0x5826[1995]](!1))};mxEditor[_0x5826[202]][_0x5826[3195]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){this[_0x5826[3094]][_0x5826[3065]](this,_0x1b20x2,_0x1b20x3,_0x1b20x4)};mxEditor[_0x5826[202]][_0x5826[2503]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(null!=this[_0x5826[2075]]){_0x1b20x4=this[_0x5826[1179]][_0x5826[502]]()[_0x5826[1978]](this[_0x5826[2075]])}else {_0x1b20x4= new mxCell(_0x5826[110]);_0x1b20x4[_0x5826[1994]](!0);var _0x1b20x5= new mxGeometry;_0x1b20x5[_0x5826[1500]]= !0;_0x1b20x4[_0x5826[1724]](_0x1b20x5)};_0x1b20x5=this[_0x5826[2291]]();null!=_0x1b20x5&&_0x1b20x4[_0x5826[475]](_0x1b20x5);return _0x1b20x4};mxEditor[_0x5826[202]][_0x5826[2291]]=function(){return this[_0x5826[3119]]};mxEditor[_0x5826[202]][_0x5826[3227]]=function(_0x1b20x2){return null!=this[_0x5826[3093]]&&0<this[_0x5826[3093]][_0x5826[67]]&&this[_0x5826[1179]][_0x5826[1730]](_0x1b20x2)?this[_0x5826[3093]][this[_0x5826[3130]]++ %this[_0x5826[3093]][_0x5826[67]]]:null};mxEditor[_0x5826[202]][_0x5826[3228]]=function(_0x1b20x2){if(null!=this[_0x5826[3100]]){var _0x1b20x3=this[_0x5826[3227]](_0x1b20x2);null!=_0x1b20x3&&_0x1b20x2[_0x5826[475]](_0x1b20x2[_0x5826[474]]()+_0x5826[471]+this[_0x5826[3100]]+_0x5826[226]+_0x1b20x3)}};mxEditor[_0x5826[202]][_0x5826[817]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){for(var _0x1b20x9=this[_0x5826[1179]][_0x5826[502]]();null!=_0x1b20x2&&!this[_0x5826[1179]][_0x5826[2685]](_0x1b20x2);){_0x1b20x2=_0x1b20x9[_0x5826[1197]](_0x1b20x2)};_0x1b20x2=null!=_0x1b20x2?_0x1b20x2:this[_0x5826[1179]][_0x5826[2461]](_0x1b20x4,_0x1b20x5);var _0x1b20xa=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[255]],_0x1b20x12=_0x1b20x9[_0x5826[1721]](_0x1b20x3),_0x1b20x13=_0x1b20x9[_0x5826[1721]](_0x1b20x2);if(this[_0x5826[1179]][_0x5826[1730]](_0x1b20x3)&&!this[_0x5826[1179]][_0x5826[2412]]){_0x1b20x2=null}else {if(null==_0x1b20x2&&this[_0x5826[3116]]){return null};if(null!=_0x1b20x2&&null!=_0x1b20x13){var _0x1b20x14=this[_0x5826[1179]][_0x5826[249]]()[_0x5826[248]](_0x1b20x2);if(null!=_0x1b20x14){if(_0x1b20x4-=_0x1b20x14[_0x5826[2078]][_0x5826[235]]*_0x1b20xa,_0x1b20x5-=_0x1b20x14[_0x5826[2078]][_0x5826[236]]*_0x1b20xa,this[_0x5826[1179]][_0x5826[3229]]){var _0x1b20x13=_0x1b20x12[_0x5826[117]],_0x1b20x15=_0x1b20x12[_0x5826[119]],_0x1b20x16=_0x1b20x14[_0x5826[235]]+_0x1b20x14[_0x5826[117]];_0x1b20x4+_0x1b20x13>_0x1b20x16&&(_0x1b20x4-=_0x1b20x4+_0x1b20x13-_0x1b20x16);_0x1b20x16=_0x1b20x14[_0x5826[236]]+_0x1b20x14[_0x5826[119]];_0x1b20x5+_0x1b20x15>_0x1b20x16&&(_0x1b20x5-=_0x1b20x5+_0x1b20x15-_0x1b20x16)}}else {null!=_0x1b20x13&&(_0x1b20x4-=_0x1b20x13[_0x5826[235]]*_0x1b20xa,_0x1b20x5-=_0x1b20x13[_0x5826[236]]*_0x1b20xa)}}};_0x1b20x12=_0x1b20x12[_0x5826[238]]();_0x1b20x12[_0x5826[235]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x4/_0x1b20xa-this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]][_0x5826[235]]-this[_0x5826[1179]][_0x5826[1020]]/2);_0x1b20x12[_0x5826[236]]=this[_0x5826[1179]][_0x5826[1021]](_0x1b20x5/_0x1b20xa-this[_0x5826[1179]][_0x5826[249]]()[_0x5826[513]][_0x5826[236]]-this[_0x5826[1179]][_0x5826[1020]]/2);_0x1b20x3[_0x5826[1724]](_0x1b20x12);null==_0x1b20x2&&(_0x1b20x2=this[_0x5826[1179]][_0x5826[902]]());this[_0x5826[3228]](_0x1b20x3);this[_0x5826[746]]( new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,_0x5826[1988],_0x1b20x3,_0x5826[1101],_0x1b20x2));_0x1b20x9[_0x5826[473]]();try{_0x1b20x3=this[_0x5826[1179]][_0x5826[2103]](_0x1b20x3,_0x1b20x2),null!=_0x1b20x3&&(this[_0x5826[1179]][_0x5826[2509]](_0x1b20x3),this[_0x5826[746]]( new mxEventObject(mxEvent.ADD_VERTEX,_0x5826[1988],_0x1b20x3)))}finally{_0x1b20x9[_0x5826[476]]()};null!=_0x1b20x3&&(this[_0x5826[1179]][_0x5826[2450]](_0x1b20x3),this[_0x5826[1179]][_0x5826[2564]](_0x1b20x3),this[_0x5826[746]]( new mxEventObject(mxEvent.AFTER_ADD_VERTEX,_0x5826[1988],_0x1b20x3)));return _0x1b20x3};mxEditor[_0x5826[202]][_0x5826[515]]=function(){this[_0x5826[2717]]||(this[_0x5826[2717]]= !0,null!=this[_0x5826[3112]]&&this[_0x5826[3112]][_0x5826[515]](),null!=this[_0x5826[2136]]&&this[_0x5826[2136]][_0x5826[515]](),null!=this[_0x5826[716]]&&this[_0x5826[716]][_0x5826[515]](),null!=this[_0x5826[3098]]&&this[_0x5826[3098]][_0x5826[515]](),null!=this[_0x5826[3203]]&&this[_0x5826[3203]][_0x5826[515]](),null!=this[_0x5826[3082]]&&this[_0x5826[3082]][_0x5826[515]](),null!=this[_0x5826[1179]]&&this[_0x5826[1179]][_0x5826[515]](),this[_0x5826[3118]]=this[_0x5826[879]]=null)};var mxCodecRegistry={codecs:[],aliases:[],register:function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[718]]();mxCodecRegistry[_0x5826[3230]][_0x1b20x3]=_0x1b20x2;var _0x1b20x4=mxUtils[_0x5826[197]](_0x1b20x2[_0x5826[3231]][_0x5826[196]]);_0x1b20x4!=_0x1b20x3&&mxCodecRegistry[_0x5826[3232]](_0x1b20x4,_0x1b20x3)};return _0x1b20x2},addAlias:function(_0x1b20x2,_0x1b20x3){mxCodecRegistry[_0x5826[3233]][_0x1b20x2]=_0x1b20x3},getCodec:function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2){var _0x1b20x3=mxUtils[_0x5826[197]](_0x1b20x2),_0x1b20x4=mxCodecRegistry[_0x5826[3233]][_0x1b20x3];null!=_0x1b20x4&&(_0x1b20x3=_0x1b20x4);_0x1b20x3=mxCodecRegistry[_0x5826[3230]][_0x1b20x3];if(null==_0x1b20x3){try{_0x1b20x3= new mxObjectCodec( new _0x1b20x2),mxCodecRegistry[_0x5826[3234]](_0x1b20x3)}catch(d){}}};return _0x1b20x3}};function mxCodec(_0x1b20x2){this[_0x5826[395]]=_0x1b20x2||mxUtils[_0x5826[306]]();this[_0x5826[68]]=[]}mxCodec[_0x5826[202]][_0x5826[395]]=null;mxCodec[_0x5826[202]][_0x5826[68]]=null;mxCodec[_0x5826[202]][_0x5826[3235]]= !1;mxCodec[_0x5826[202]][_0x5826[1104]]=function(_0x1b20x2,_0x1b20x3){return this[_0x5826[68]][_0x1b20x2]=_0x1b20x3};mxCodec[_0x5826[202]][_0x5826[3236]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[68]][_0x1b20x2],null==_0x1b20x3&&(_0x1b20x3=this[_0x5826[1060]](_0x1b20x2),null==_0x1b20x3&&(_0x1b20x2=this[_0x5826[1362]](_0x1b20x2),null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[1093]](_0x1b20x2)))));return _0x1b20x3};mxCodec[_0x5826[202]][_0x5826[1060]]=function(_0x1b20x2){return null};mxCodec[_0x5826[202]][_0x5826[1362]]=function(_0x1b20x2,_0x1b20x3){return mxUtils[_0x5826[290]](this[_0x5826[395]][_0x5826[158]],null!=_0x1b20x3?_0x1b20x3:_0x5826[1363],_0x1b20x2)};mxCodec[_0x5826[202]][_0x5826[1103]]=function(_0x1b20x2){var _0x1b20x3=null;null!=_0x1b20x2&&(_0x1b20x3=this[_0x5826[3237]](_0x1b20x2),null==_0x1b20x3&&_0x1b20x2 instanceof mxCell&&(_0x1b20x3=_0x1b20x2[_0x5826[1103]](),null==_0x1b20x3&&(_0x1b20x3=mxCellPath[_0x5826[385]](_0x1b20x2),0==_0x1b20x3[_0x5826[67]]&&(_0x1b20x3=_0x5826[813]))));return _0x1b20x3};mxCodec[_0x5826[202]][_0x5826[3237]]=function(_0x1b20x2){return null};mxCodec[_0x5826[202]][_0x5826[514]]=function(_0x1b20x2){var _0x1b20x3=null;if(null!=_0x1b20x2&&null!=_0x1b20x2[_0x5826[196]]){var _0x1b20x4=mxCodecRegistry[_0x5826[3238]](_0x1b20x2[_0x5826[196]]);null!=_0x1b20x4?_0x1b20x3=_0x1b20x4[_0x5826[514]](this,_0x1b20x2):mxUtils[_0x5826[1331]](_0x1b20x2)?_0x1b20x3=mxClient[_0x5826[80]]?_0x1b20x2[_0x5826[511]](!0):this[_0x5826[395]][_0x5826[3239]](_0x1b20x2,!0):mxLog[_0x5826[283]](_0x5826[3240]+mxUtils[_0x5826[197]](_0x1b20x2[_0x5826[196]]))};return _0x1b20x3};mxCodec[_0x5826[202]][_0x5826[1093]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=null;if(null!=_0x1b20x2&&_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[289]]){var _0x1b20x5=null;try{_0x1b20x5=eval(_0x1b20x2[_0x5826[301]])}catch(e){};try{var _0x1b20xa=mxCodecRegistry[_0x5826[3238]](_0x1b20x5);null!=_0x1b20xa?_0x1b20x4=_0x1b20xa[_0x5826[1093]](this,_0x1b20x2,_0x1b20x3):(_0x1b20x4=_0x1b20x2[_0x5826[511]](!0),_0x1b20x4[_0x5826[1390]](_0x5826[3069]))}catch(g){mxLog[_0x5826[143]](_0x5826[3241]+_0x1b20x2[_0x5826[301]]+_0x5826[3186]+g[_0x5826[281]])}};return _0x1b20x4};mxCodec[_0x5826[202]][_0x5826[3242]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3[_0x5826[62]](this[_0x5826[514]](_0x1b20x2));if(null==_0x1b20x4||_0x1b20x4){_0x1b20x4=_0x1b20x2[_0x5826[262]]();for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x4;_0x1b20x5++){this[_0x5826[3242]](_0x1b20x2[_0x5826[263]](_0x1b20x5),_0x1b20x3)}}};mxCodec[_0x5826[202]][_0x5826[3243]]=function(_0x1b20x2){return null!=_0x1b20x2&&_0x5826[279]== typeof _0x1b20x2[_0x5826[3243]]?_0x1b20x2[_0x5826[3243]]():!1};mxCodec[_0x5826[202]][_0x5826[3244]]=function(_0x1b20x2,_0x1b20x3){_0x1b20x3=null!=_0x1b20x3?_0x1b20x3:!0;var _0x1b20x4=null;if(null!=_0x1b20x2&&_0x1b20x2[_0x5826[288]]==mxConstants[_0x5826[289]]){_0x1b20x4=mxCodecRegistry[_0x5826[3238]](_0x1b20x2[_0x5826[301]]);if(!this[_0x5826[3243]](_0x1b20x4)){for(var _0x1b20x5=_0x1b20x2[_0x5826[285]];null!=_0x1b20x5&&!this[_0x5826[3243]](_0x1b20x4);){_0x1b20x4=mxCodecRegistry[_0x5826[3238]](_0x1b20x5[_0x5826[301]]),_0x1b20x5=_0x1b20x5[_0x5826[287]]}};this[_0x5826[3243]](_0x1b20x4)||(_0x1b20x4=mxCodecRegistry[_0x5826[3238]](mxCell));_0x1b20x4=_0x1b20x4[_0x5826[1093]](this,_0x1b20x2);_0x1b20x3&&this[_0x5826[3245]](_0x1b20x4)};return _0x1b20x4};mxCodec[_0x5826[202]][_0x5826[3245]]=function(_0x1b20x2){var _0x1b20x3=_0x1b20x2[_0x5826[1101]],_0x1b20x4=_0x1b20x2[_0x5826[1709]](!0),_0x1b20x5=_0x1b20x2[_0x5826[1709]](!1);_0x1b20x2[_0x5826[1957]](null,!1);_0x1b20x2[_0x5826[1957]](null,!0);_0x1b20x2[_0x5826[1101]]=null;null!=_0x1b20x3&&_0x1b20x3[_0x5826[1937]](_0x1b20x2);null!=_0x1b20x4&&_0x1b20x4[_0x5826[1960]](_0x1b20x2,!0);null!=_0x1b20x5&&_0x1b20x5[_0x5826[1960]](_0x1b20x2,!1)};mxCodec[_0x5826[202]][_0x5826[57]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null!=_0x1b20x3&&null!=_0x1b20x4&&_0x1b20x2[_0x5826[57]](_0x1b20x3,_0x1b20x4)};function mxObjectCodec(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){this[_0x5826[3231]]=_0x1b20x2;this[_0x5826[3246]]=null!=_0x1b20x3?_0x1b20x3:[];this[_0x5826[3247]]=null!=_0x1b20x4?_0x1b20x4:[];this[_0x5826[3248]]=null!=_0x1b20x5?_0x1b20x5:[];this[_0x5826[3249]]={};for(var _0x1b20x9 in this[_0x5826[3248]]){this[_0x5826[3249]][this[_0x5826[3248]][_0x1b20x9]]=_0x1b20x9}}mxObjectCodec[_0x5826[202]][_0x5826[3231]]=null;mxObjectCodec[_0x5826[202]][_0x5826[3246]]=null;mxObjectCodec[_0x5826[202]][_0x5826[3247]]=null;mxObjectCodec[_0x5826[202]][_0x5826[3248]]=null;mxObjectCodec[_0x5826[202]][_0x5826[3249]]=null;mxObjectCodec[_0x5826[202]][_0x5826[718]]=function(){return mxUtils[_0x5826[197]](this[_0x5826[3231]][_0x5826[196]])};mxObjectCodec[_0x5826[202]][_0x5826[3250]]=function(){return new this[_0x5826[3231]][_0x5826[196]]};mxObjectCodec[_0x5826[202]][_0x5826[3251]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[3249]][_0x1b20x2];null!=_0x1b20x3&&(_0x1b20x2=_0x1b20x3)};return _0x1b20x2};mxObjectCodec[_0x5826[202]][_0x5826[3252]]=function(_0x1b20x2){if(null!=_0x1b20x2){var _0x1b20x3=this[_0x5826[3248]][_0x1b20x2];null!=_0x1b20x3&&(_0x1b20x2=_0x1b20x3)};return _0x1b20x2};mxObjectCodec[_0x5826[202]][_0x5826[3253]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return _0x1b20x3==mxObjectIdentity[_0x5826[195]]||0<=mxUtils[_0x5826[2]](this[_0x5826[3246]],_0x1b20x3)};mxObjectCodec[_0x5826[202]][_0x5826[3254]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){return 0<=mxUtils[_0x5826[2]](this[_0x5826[3247]],_0x1b20x3)};mxObjectCodec[_0x5826[202]][_0x5826[514]]=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4=_0x1b20x2[_0x5826[395]][_0x5826[55]](this[_0x5826[718]]());_0x1b20x3=this[_0x5826[3255]](_0x1b20x2,_0x1b20x3,_0x1b20x4);this[_0x5826[3256]](_0x1b20x2,_0x1b20x3,_0x1b20x4);return this[_0x5826[3257]](_0x1b20x2,_0x1b20x3,_0x1b20x4)};mxObjectCodec[_0x5826[202]][_0x5826[3256]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2[_0x5826[57]](_0x1b20x4,_0x5826[1363],_0x1b20x2[_0x5826[1103]](_0x1b20x3));for(var _0x1b20x5 in _0x1b20x3){var _0x1b20x9=_0x1b20x5,_0x1b20xa=_0x1b20x3[_0x1b20x9];null!=_0x1b20xa&&!this[_0x5826[3253]](_0x1b20x3,_0x1b20x9,_0x1b20xa,!0)&&(mxUtils[_0x5826[1946]](_0x1b20x9)&&(_0x1b20x9=null),this[_0x5826[3258]](_0x1b20x2,_0x1b20x3,_0x1b20x9,_0x1b20xa,_0x1b20x4))}};mxObjectCodec[_0x5826[202]][_0x5826[3258]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){if(null!=_0x1b20x5){if(this[_0x5826[3254]](_0x1b20x3,_0x1b20x4,_0x1b20x5,!0)){var _0x1b20xa=_0x1b20x2[_0x5826[1103]](_0x1b20x5);if(null==_0x1b20xa){mxLog[_0x5826[283]](_0x5826[3259]+this[_0x5826[718]]()+_0x5826[87]+_0x1b20x4+_0x5826[226]+_0x1b20x5);return};_0x1b20x5=_0x1b20xa};_0x1b20xa=this[_0x5826[3231]][_0x1b20x4];if(null==_0x1b20x4||_0x1b20x2[_0x5826[3235]]||_0x1b20xa!=_0x1b20x5){_0x1b20x4=this[_0x5826[3252]](_0x1b20x4),this[_0x5826[3260]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)}}};mxObjectCodec[_0x5826[202]][_0x5826[3260]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x5826[194]!= typeof _0x1b20x5?this[_0x5826[3261]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9):this[_0x5826[3262]](_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9)};mxObjectCodec[_0x5826[202]][_0x5826[3261]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x5=this[_0x5826[3263]](_0x1b20x5);null==_0x1b20x4?(_0x1b20x3=_0x1b20x2[_0x5826[395]][_0x5826[55]](_0x5826[99]),_0x5826[279]== typeof _0x1b20x5?_0x1b20x3[_0x5826[62]](_0x1b20x2[_0x5826[395]][_0x5826[344]](_0x1b20x5)):_0x1b20x2[_0x5826[57]](_0x1b20x3,_0x5826[131],_0x1b20x5),_0x1b20x9[_0x5826[62]](_0x1b20x3)):_0x5826[279]!= typeof _0x1b20x5&&_0x1b20x2[_0x5826[57]](_0x1b20x9,_0x1b20x4,_0x1b20x5)};mxObjectCodec[_0x5826[202]][_0x5826[3262]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5,_0x1b20x9){_0x1b20x2=_0x1b20x2[_0x5826[514]](_0x1b20x5);null!=_0x1b20x2?(null!=_0x1b20x4&&_0x1b20x2[_0x5826[57]](_0x5826[3069],_0x1b20x4),_0x1b20x9[_0x5826[62]](_0x1b20x2)):mxLog[_0x5826[283]](_0x5826[3264]+this[_0x5826[718]]()+_0x5826[87]+_0x1b20x4+_0x5826[3186]+_0x1b20x5)};mxObjectCodec[_0x5826[202]][_0x5826[3263]]=function(_0x1b20x2){if(_0x5826[82]== typeof _0x1b20x2[_0x5826[67]]&&(!0==_0x1b20x2||!1==_0x1b20x2)){_0x1b20x2=!0==_0x1b20x2?_0x5826[500]:_0x5826[468]};return _0x1b20x2};mxObjectCodec[_0x5826[202]][_0x5826[3265]]=function(_0x1b20x2){mxUtils[_0x5826[1946]](_0x1b20x2)&&(_0x1b20x2=parseFloat(_0x1b20x2));return _0x1b20x2};mxObjectCodec[_0x5826[202]][_0x5826[3255]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x3};mxObjectCodec[_0x5826[202]][_0x5826[3257]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x4};mxObjectCodec[_0x5826[202]][_0x5826[1093]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x3[_0x5826[284]](_0x5826[1363]),_0x1b20x9=_0x1b20x2[_0x5826[68]][_0x1b20x5];null==_0x1b20x9&&(_0x1b20x9=_0x1b20x4||this[_0x5826[3250]](),null!=_0x1b20x5&&_0x1b20x2[_0x5826[1104]](_0x1b20x5,_0x1b20x9));_0x1b20x3=this[_0x5826[3266]](_0x1b20x2,_0x1b20x3,_0x1b20x9);this[_0x5826[3267]](_0x1b20x2,_0x1b20x3,_0x1b20x9);return this[_0x5826[3268]](_0x1b20x2,_0x1b20x3,_0x1b20x9)};mxObjectCodec[_0x5826[202]][_0x5826[3267]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){null!=_0x1b20x3&&(this[_0x5826[3269]](_0x1b20x2,_0x1b20x3,_0x1b20x4),this[_0x5826[3270]](_0x1b20x2,_0x1b20x3,_0x1b20x4))};mxObjectCodec[_0x5826[202]][_0x5826[3269]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x3=_0x1b20x3[_0x5826[320]];if(null!=_0x1b20x3){for(var _0x1b20x5=0;_0x1b20x5<_0x1b20x3[_0x5826[67]];_0x1b20x5++){this[_0x5826[3271]](_0x1b20x2,_0x1b20x3[_0x1b20x5],_0x1b20x4)}}};mxObjectCodec[_0x5826[202]][_0x5826[3271]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=_0x1b20x3[_0x5826[301]];if(_0x5826[3069]!=_0x1b20x5&&_0x5826[1363]!=_0x1b20x5){_0x1b20x3=this[_0x5826[3265]](_0x1b20x3[_0x5826[318]]);var _0x1b20x9=this[_0x5826[3251]](_0x1b20x5);if(this[_0x5826[3254]](_0x1b20x4,_0x1b20x9,_0x1b20x3,!1)){_0x1b20x2=_0x1b20x2[_0x5826[3236]](_0x1b20x3);if(null==_0x1b20x2){mxLog[_0x5826[283]](_0x5826[3272]+this[_0x5826[718]]()+_0x5826[87]+_0x1b20x5+_0x5826[226]+_0x1b20x3);return};_0x1b20x3=_0x1b20x2};this[_0x5826[3253]](_0x1b20x4,_0x1b20x5,_0x1b20x3,!1)||(_0x1b20x4[_0x1b20x5]=_0x1b20x3)}};mxObjectCodec[_0x5826[202]][_0x5826[3270]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){for(_0x1b20x3=_0x1b20x3[_0x5826[285]];null!=_0x1b20x3;){var _0x1b20x5=_0x1b20x3[_0x5826[287]];_0x1b20x3[_0x5826[288]]==mxConstants[_0x5826[289]]&&!this[_0x5826[3273]](_0x1b20x2,_0x1b20x3,_0x1b20x4)&&this[_0x5826[3274]](_0x1b20x2,_0x1b20x3,_0x1b20x4);_0x1b20x3=_0x1b20x5}};mxObjectCodec[_0x5826[202]][_0x5826[3274]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){var _0x1b20x5=this[_0x5826[3251]](_0x1b20x3[_0x5826[284]](_0x5826[3069]));if(null==_0x1b20x5||!this[_0x5826[3253]](_0x1b20x4,_0x1b20x5,_0x1b20x3,!1)){var _0x1b20x9=this[_0x5826[3275]](_0x1b20x4,_0x1b20x5,_0x1b20x3),_0x1b20xa=null;_0x5826[99]==_0x1b20x3[_0x5826[301]]?(_0x1b20xa=_0x1b20x3[_0x5826[284]](_0x5826[131]),null==_0x1b20xa&&(_0x1b20xa=mxUtils[_0x5826[1545]](mxUtils[_0x5826[329]](_0x1b20x3)))):_0x1b20xa=_0x1b20x2[_0x5826[1093]](_0x1b20x3,_0x1b20x9);this[_0x5826[3276]](_0x1b20x4,_0x1b20x5,_0x1b20xa,_0x1b20x9)}};mxObjectCodec[_0x5826[202]][_0x5826[3275]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){_0x1b20x2=_0x1b20x2[_0x1b20x3];_0x1b20x2 instanceof Array&&0<_0x1b20x2[_0x5826[67]]&&(_0x1b20x2=null);return _0x1b20x2};mxObjectCodec[_0x5826[202]][_0x5826[3276]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4,_0x1b20x5){null!=_0x1b20x4&&_0x1b20x4!=_0x1b20x5&&(null!=_0x1b20x3&&0<_0x1b20x3[_0x5826[67]]?_0x1b20x2[_0x1b20x3]=_0x1b20x4:_0x1b20x2[_0x5826[207]](_0x1b20x4))};mxObjectCodec[_0x5826[202]][_0x5826[3273]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){if(_0x5826[3277]==_0x1b20x3[_0x5826[301]]){_0x1b20x3=_0x1b20x3[_0x5826[284]](_0x5826[298]);if(null!=_0x1b20x3){try{var _0x1b20x5=mxUtils[_0x5826[219]](_0x1b20x3)[_0x5826[874]]();null!=_0x1b20x5&&_0x1b20x2[_0x5826[1093]](_0x1b20x5,_0x1b20x4)}catch(e){}};return !0};return !1};mxObjectCodec[_0x5826[202]][_0x5826[3266]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x3};mxObjectCodec[_0x5826[202]][_0x5826[3268]]=function(_0x1b20x2,_0x1b20x3,_0x1b20x4){return _0x1b20x4};mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxCell,[_0x5826[1954],_0x5826[1842],_0x5826[1211],_0x5826[1991]],[_0x5826[1101],_0x5826[1097],_0x5826[772]]);_0x1b20x2[_0x5826[3243]]=function(){return !0};_0x1b20x2[_0x5826[3253]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9){return mxObjectCodec[_0x5826[202]][_0x5826[3253]][_0x5826[183]](this,arguments)||_0x1b20x9&&_0x5826[131]==_0x1b20x4&&_0x1b20x5[_0x5826[288]]==mxConstants[_0x5826[289]]};_0x1b20x2[_0x5826[3257]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x4[_0x5826[131]]&&_0x1b20x4[_0x5826[131]][_0x5826[288]]==mxConstants[_0x5826[289]]){var _0x1b20x9=_0x1b20x5;_0x1b20x5=mxClient[_0x5826[80]]?_0x1b20x4[_0x5826[131]][_0x5826[511]](!0):_0x1b20x2[_0x5826[395]][_0x5826[3239]](_0x1b20x4[_0x5826[131]],!0);_0x1b20x5[_0x5826[62]](_0x1b20x9);_0x1b20x2=_0x1b20x9[_0x5826[284]](_0x5826[1363]);_0x1b20x5[_0x5826[57]](_0x5826[1363],_0x1b20x2);_0x1b20x9[_0x5826[1390]](_0x5826[1363])};return _0x1b20x5};_0x1b20x2[_0x5826[3266]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x4,_0x1b20xa=this[_0x5826[718]]();_0x1b20x4[_0x5826[301]]!=_0x1b20xa?(_0x1b20x9=_0x1b20x4[_0x5826[64]](_0x1b20xa)[0],null!=_0x1b20x9&&_0x1b20x9[_0x5826[265]]==_0x1b20x4?(mxUtils[_0x5826[3278]](_0x1b20x9,!0),mxUtils[_0x5826[3278]](_0x1b20x9,!1),_0x1b20x9[_0x5826[265]][_0x5826[266]](_0x1b20x9)):_0x1b20x9=null,_0x1b20x5[_0x5826[131]]=_0x1b20x4[_0x5826[511]](!0),_0x1b20x4=_0x1b20x5[_0x5826[131]][_0x5826[284]](_0x5826[1363]),null!=_0x1b20x4&&(_0x1b20x5[_0x5826[1945]](_0x1b20x4),_0x1b20x5[_0x5826[131]][_0x5826[1390]](_0x5826[1363]))):_0x1b20x5[_0x5826[1945]](_0x1b20x4[_0x5826[284]](_0x5826[1363]));if(null!=_0x1b20x9){for(_0x1b20x4=0;_0x1b20x4<this[_0x5826[3247]][_0x5826[67]];_0x1b20x4++){var _0x1b20xa=this[_0x5826[3247]][_0x1b20x4],_0x1b20x12=_0x1b20x9[_0x5826[284]](_0x1b20xa);if(null!=_0x1b20x12){_0x1b20x9[_0x5826[1390]](_0x1b20xa);var _0x1b20x13=_0x1b20x2[_0x5826[68]][_0x1b20x12]||_0x1b20x2[_0x5826[1060]](_0x1b20x12);null==_0x1b20x13&&(_0x1b20x12=_0x1b20x2[_0x5826[1362]](_0x1b20x12),null!=_0x1b20x12&&(_0x1b20x13=(mxCodecRegistry[_0x5826[3230]][_0x1b20x12[_0x5826[301]]]||this)[_0x5826[1093]](_0x1b20x2,_0x1b20x12)));_0x1b20x5[_0x1b20xa]=_0x1b20x13}}};return _0x1b20x9};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxGraphModel);_0x1b20x2[_0x5826[3256]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x2[_0x5826[395]][_0x5826[55]](_0x5826[813]);_0x1b20x2[_0x5826[3242]](_0x1b20x4[_0x5826[501]](),_0x1b20x9);_0x1b20x5[_0x5826[62]](_0x1b20x9)};_0x1b20x2[_0x5826[3274]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x5826[813]==_0x1b20x4[_0x5826[301]]?this[_0x5826[3279]](_0x1b20x2,_0x1b20x4,_0x1b20x5):mxObjectCodec[_0x5826[202]][_0x5826[3274]][_0x5826[183]](this,arguments)};_0x1b20x2[_0x5826[3279]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){var _0x1b20x9=null;for(_0x1b20x4=_0x1b20x4[_0x5826[285]];null!=_0x1b20x4;){var _0x1b20xa=_0x1b20x2[_0x5826[3244]](_0x1b20x4);null!=_0x1b20xa&&null==_0x1b20xa[_0x5826[1197]]()&&(_0x1b20x9=_0x1b20xa);_0x1b20x4=_0x1b20x4[_0x5826[287]]};null!=_0x1b20x9&&_0x1b20x5[_0x5826[1927]](_0x1b20x9)};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxRootChange,[_0x5826[251],_0x5826[257],_0x5826[813]]);_0x1b20x2[_0x5826[3257]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x2[_0x5826[3242]](_0x1b20x4[_0x5826[813]],_0x1b20x5);return _0x1b20x5};_0x1b20x2[_0x5826[3266]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x4[_0x5826[285]]&&_0x1b20x4[_0x5826[285]][_0x5826[288]]==mxConstants[_0x5826[289]]){_0x1b20x4=_0x1b20x4[_0x5826[511]](!0);var _0x1b20x9=_0x1b20x4[_0x5826[285]];_0x1b20x5[_0x5826[813]]=_0x1b20x2[_0x5826[3244]](_0x1b20x9,!1);_0x1b20x5=_0x1b20x9[_0x5826[287]];_0x1b20x9[_0x5826[265]][_0x5826[266]](_0x1b20x9);for(_0x1b20x9=_0x1b20x5;null!=_0x1b20x9;){_0x1b20x5=_0x1b20x9[_0x5826[287]],_0x1b20x2[_0x5826[3244]](_0x1b20x9),_0x1b20x9[_0x5826[265]][_0x5826[266]](_0x1b20x9),_0x1b20x9=_0x1b20x5}};return _0x1b20x4};_0x1b20x2[_0x5826[3268]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x5[_0x5826[257]]=_0x1b20x5[_0x5826[813]];return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxChildChange,[_0x5826[251],_0x5826[247],_0x5826[1982]],[_0x5826[1101],_0x5826[257]]);_0x1b20x2[_0x5826[3254]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5,_0x1b20x9){return _0x5826[247]==_0x1b20x4&&(null!=_0x1b20x2[_0x5826[257]]|| !_0x1b20x9)?!0:0<=mxUtils[_0x5826[2]](this[_0x5826[3247]],_0x1b20x4)};_0x1b20x2[_0x5826[3257]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){this[_0x5826[3254]](_0x1b20x4,_0x5826[247],_0x1b20x4[_0x5826[247]],!0)?_0x1b20x5[_0x5826[57]](_0x5826[247],_0x1b20x2[_0x5826[1103]](_0x1b20x4[_0x5826[247]])):_0x1b20x2[_0x5826[3242]](_0x1b20x4[_0x5826[247]],_0x1b20x5);return _0x1b20x5};_0x1b20x2[_0x5826[3266]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x4[_0x5826[285]]&&_0x1b20x4[_0x5826[285]][_0x5826[288]]==mxConstants[_0x5826[289]]){_0x1b20x4=_0x1b20x4[_0x5826[511]](!0);var _0x1b20x9=_0x1b20x4[_0x5826[285]];_0x1b20x5[_0x5826[247]]=_0x1b20x2[_0x5826[3244]](_0x1b20x9,!1);_0x1b20x5=_0x1b20x9[_0x5826[287]];_0x1b20x9[_0x5826[265]][_0x5826[266]](_0x1b20x9);for(_0x1b20x9=_0x1b20x5;null!=_0x1b20x9;){_0x1b20x5=_0x1b20x9[_0x5826[287]];if(_0x1b20x9[_0x5826[288]]==mxConstants[_0x5826[289]]){var _0x1b20xa=_0x1b20x9[_0x5826[284]](_0x5826[1363]);null==_0x1b20x2[_0x5826[1060]](_0x1b20xa)&&_0x1b20x2[_0x5826[3244]](_0x1b20x9)};_0x1b20x9[_0x5826[265]][_0x5826[266]](_0x1b20x9);_0x1b20x9=_0x1b20x5}}else {_0x1b20x9=_0x1b20x4[_0x5826[284]](_0x5826[247]),_0x1b20x5[_0x5826[247]]=_0x1b20x2[_0x5826[3236]](_0x1b20x9)};return _0x1b20x4};_0x1b20x2[_0x5826[3268]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x5[_0x5826[247]][_0x5826[1101]]=_0x1b20x5[_0x5826[257]];_0x1b20x5[_0x5826[257]]=_0x1b20x5[_0x5826[1101]];_0x1b20x5[_0x5826[1982]]=_0x1b20x5[_0x5826[1983]];return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxTerminalChange,[_0x5826[251],_0x5826[257]],[_0x5826[246],_0x5826[1984]]);_0x1b20x2[_0x5826[3268]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x5[_0x5826[257]]=_0x1b20x5[_0x5826[1984]];return _0x1b20x5};return _0x1b20x2}());var mxGenericChangeCodec=function(_0x1b20x2,_0x1b20x3){var _0x1b20x4= new mxObjectCodec(_0x1b20x2,[_0x5826[251],_0x5826[257]],[_0x5826[246]]);_0x1b20x4[_0x5826[3268]]=function(_0x1b20x2,_0x1b20x4,_0x1b20xa){mxUtils[_0x5826[1331]](_0x1b20xa[_0x5826[246]])&&(_0x1b20xa[_0x5826[246]]=_0x1b20x2[_0x5826[3244]](_0x1b20xa[_0x5826[246]],!1));_0x1b20xa[_0x5826[257]]=_0x1b20xa[_0x1b20x3];return _0x1b20xa};return _0x1b20x4};mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxValueChange,_0x5826[131]));mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxStyleChange,_0x5826[124]));mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxGeometryChange,_0x5826[256]));mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxCollapseChange,_0x5826[1985]));mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxVisibleChange,_0x5826[189]));mxCodecRegistry[_0x5826[3234]](mxGenericChangeCodec( new mxCellAttributeChange,_0x5826[131]));mxCodecRegistry[_0x5826[3234]](function(){return new mxObjectCodec( new mxGraph,_0x5826[3280][_0x5826[224]](_0x5826[185]))}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxGraphView);_0x1b20x2[_0x5826[514]]=function(_0x1b20x2,_0x1b20x4){return this[_0x5826[3242]](_0x1b20x2,_0x1b20x4,_0x1b20x4[_0x5826[1179]][_0x5826[502]]()[_0x5826[501]]())};_0x1b20x2[_0x5826[3242]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x4[_0x5826[1179]][_0x5826[502]](),_0x1b20xa=_0x1b20x4[_0x5826[248]](_0x1b20x5),_0x1b20x12=_0x1b20x9[_0x5826[1197]](_0x1b20x5);if(null==_0x1b20x12||null!=_0x1b20xa){var _0x1b20x13=_0x1b20x9[_0x5826[262]](_0x1b20x5),_0x1b20x14=_0x1b20x4[_0x5826[1179]][_0x5826[1198]](_0x1b20x5),_0x1b20x15=null;_0x1b20x12==_0x1b20x9[_0x5826[501]]()?_0x1b20x15=_0x5826[3281]:null==_0x1b20x12?_0x1b20x15=_0x5826[1179]:_0x1b20x9[_0x5826[250]](_0x1b20x5)?_0x1b20x15=_0x5826[1989]:0<_0x1b20x13&&null!=_0x1b20x14?_0x1b20x15=_0x5826[1504]:_0x1b20x9[_0x5826[1193]](_0x1b20x5)&&(_0x1b20x15=_0x5826[1988]);if(null!=_0x1b20x15){var _0x1b20x16=_0x1b20x2[_0x5826[395]][_0x5826[55]](_0x1b20x15);null!=_0x1b20x4[_0x5826[1179]][_0x5826[2183]](_0x1b20x5)&&(_0x1b20x16[_0x5826[57]](_0x5826[685],_0x1b20x4[_0x5826[1179]][_0x5826[2183]](_0x1b20x5)),_0x1b20x4[_0x5826[1179]][_0x5826[2186]](_0x1b20x5)&&_0x1b20x16[_0x5826[57]](_0x5826[1428],!0));if(null==_0x1b20x12){var _0x1b20x17=_0x1b20x4[_0x5826[517]]();null!=_0x1b20x17&&(_0x1b20x16[_0x5826[57]](_0x5826[235],Math[_0x5826[488]](_0x1b20x17[_0x5826[235]])),_0x1b20x16[_0x5826[57]](_0x5826[236],Math[_0x5826[488]](_0x1b20x17[_0x5826[236]])),_0x1b20x16[_0x5826[57]](_0x5826[117],Math[_0x5826[488]](_0x1b20x17[_0x5826[117]])),_0x1b20x16[_0x5826[57]](_0x5826[119],Math[_0x5826[488]](_0x1b20x17[_0x5826[119]])));_0x1b20x16[_0x5826[57]](_0x5826[255],_0x1b20x4[_0x5826[255]])}else {if(null!=_0x1b20xa&&null!=_0x1b20x14){for(_0x1b20x17 in _0x1b20xa[_0x5826[124]]){_0x1b20x12=_0x1b20xa[_0x5826[124]][_0x1b20x17],_0x5826[279]== typeof _0x1b20x12&&_0x5826[194]== typeof _0x1b20x12&&(_0x1b20x12=mxStyleRegistry[_0x5826[718]](_0x1b20x12)),null!=_0x1b20x12&&(_0x5826[279]!= typeof _0x1b20x12&&_0x5826[194]!= typeof _0x1b20x12)&&_0x1b20x16[_0x5826[57]](_0x1b20x17,_0x1b20x12)};_0x1b20x12=_0x1b20xa[_0x5826[439]];if(null!=_0x1b20x12&&0<_0x1b20x12[_0x5826[67]]){_0x1b20x14=Math[_0x5826[488]](_0x1b20x12[0][_0x5826[235]])+_0x5826[537]+Math[_0x5826[488]](_0x1b20x12[0][_0x5826[236]]);for(_0x1b20x17=1;_0x1b20x17<_0x1b20x12[_0x5826[67]];_0x1b20x17++){_0x1b20x14+=_0x5826[185]+Math[_0x5826[488]](_0x1b20x12[_0x1b20x17][_0x5826[235]])+_0x5826[537]+Math[_0x5826[488]](_0x1b20x12[_0x1b20x17][_0x5826[236]])};_0x1b20x16[_0x5826[57]](_0x5826[1525],_0x1b20x14)}else {_0x1b20x16[_0x5826[57]](_0x5826[235],Math[_0x5826[488]](_0x1b20xa[_0x5826[235]])),_0x1b20x16[_0x5826[57]](_0x5826[236],Math[_0x5826[488]](_0x1b20xa[_0x5826[236]])),_0x1b20x16[_0x5826[57]](_0x5826[117],Math[_0x5826[488]](_0x1b20xa[_0x5826[117]])),_0x1b20x16[_0x5826[57]](_0x5826[119],Math[_0x5826[488]](_0x1b20xa[_0x5826[119]]))};_0x1b20x17=_0x1b20xa[_0x5826[2079]];null!=_0x1b20x17&&(0!=_0x1b20x17[_0x5826[235]]&&_0x1b20x16[_0x5826[57]](_0x5826[1126],Math[_0x5826[488]](_0x1b20x17[_0x5826[235]])),0!=_0x1b20x17[_0x5826[236]]&&_0x1b20x16[_0x5826[57]](_0x5826[1125],Math[_0x5826[488]](_0x1b20x17[_0x5826[236]])))}};for(_0x1b20x17=0;_0x1b20x17<_0x1b20x13;_0x1b20x17++){_0x1b20xa=this[_0x5826[3242]](_0x1b20x2,_0x1b20x4,_0x1b20x9[_0x5826[263]](_0x1b20x5,_0x1b20x17)),null!=_0x1b20xa&&_0x1b20x16[_0x5826[62]](_0x1b20xa)}}};return _0x1b20x16};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxStylesheet);_0x1b20x2[_0x5826[514]]=function(_0x1b20x2,_0x1b20x4){var _0x1b20x5=_0x1b20x2[_0x5826[395]][_0x5826[55]](this[_0x5826[718]]()),_0x1b20x9;for(_0x1b20x9 in _0x1b20x4[_0x5826[2054]]){var _0x1b20xa=_0x1b20x4[_0x5826[2054]][_0x1b20x9],_0x1b20x12=_0x1b20x2[_0x5826[395]][_0x5826[55]](_0x5826[99]);if(null!=_0x1b20x9){_0x1b20x12[_0x5826[57]](_0x5826[3069],_0x1b20x9);for(var _0x1b20x13 in _0x1b20xa){var _0x1b20x14=this[_0x5826[3282]](_0x1b20x13,_0x1b20xa[_0x1b20x13]);if(null!=_0x1b20x14){var _0x1b20x15=_0x1b20x2[_0x5826[395]][_0x5826[55]](_0x5826[99]);_0x1b20x15[_0x5826[57]](_0x5826[131],_0x1b20x14);_0x1b20x15[_0x5826[57]](_0x5826[3069],_0x1b20x13);_0x1b20x12[_0x5826[62]](_0x1b20x15)}};0<_0x1b20x12[_0x5826[271]][_0x5826[67]]&&_0x1b20x5[_0x5826[62]](_0x1b20x12)}};return _0x1b20x5};_0x1b20x2[_0x5826[3282]]=function(_0x1b20x2,_0x1b20x4){var _0x1b20x5= typeof _0x1b20x4;_0x5826[279]==_0x1b20x5?_0x1b20x4=mxStyleRegistry[_0x5826[718]](style[j]):_0x5826[194]==_0x1b20x5&&(_0x1b20x4=null);return _0x1b20x4};_0x1b20x2[_0x5826[1093]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x5=_0x1b20x5|| new this[_0x5826[3231]][_0x5826[196]];var _0x1b20x9=_0x1b20x4[_0x5826[284]](_0x5826[1363]);null!=_0x1b20x9&&(_0x1b20x2[_0x5826[68]][_0x1b20x9]=_0x1b20x5);for(_0x1b20x4=_0x1b20x4[_0x5826[285]];null!=_0x1b20x4;){if(!this[_0x5826[3273]](_0x1b20x2,_0x1b20x4,_0x1b20x5)&&_0x5826[99]==_0x1b20x4[_0x5826[301]]&&(_0x1b20x9=_0x1b20x4[_0x5826[284]](_0x5826[3069]),null!=_0x1b20x9)){var _0x1b20xa=_0x1b20x4[_0x5826[284]](_0x5826[1284]),_0x1b20x12=null!=_0x1b20xa?mxUtils[_0x5826[238]](_0x1b20x5[_0x5826[2054]][_0x1b20xa]):null;null==_0x1b20x12&&(null!=_0x1b20xa&&mxLog[_0x5826[283]](_0x5826[3283]+_0x1b20xa+_0x5826[3284]),_0x1b20x12={});for(_0x1b20xa=_0x1b20x4[_0x5826[285]];null!=_0x1b20xa;){if(_0x1b20xa[_0x5826[288]]==mxConstants[_0x5826[289]]){var _0x1b20x13=_0x1b20xa[_0x5826[284]](_0x5826[3069]);if(_0x5826[99]==_0x1b20xa[_0x5826[301]]){var _0x1b20x14=mxUtils[_0x5826[329]](_0x1b20xa),_0x1b20x15=null;null!=_0x1b20x14&&0<_0x1b20x14[_0x5826[67]]?_0x1b20x15=mxUtils[_0x5826[1545]](_0x1b20x14):(_0x1b20x15=_0x1b20xa[_0x5826[284]](_0x5826[131]),mxUtils[_0x5826[1946]](_0x1b20x15)&&(_0x1b20x15=parseFloat(_0x1b20x15)));null!=_0x1b20x15&&(_0x1b20x12[_0x1b20x13]=_0x1b20x15)}else {_0x5826[205]==_0x1b20xa[_0x5826[301]]&& delete _0x1b20x12[_0x1b20x13]}};_0x1b20xa=_0x1b20xa[_0x5826[287]]};_0x1b20x5[_0x5826[2074]](_0x1b20x9,_0x1b20x12)};_0x1b20x4=_0x1b20x4[_0x5826[287]]};return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxDefaultKeyHandler);_0x1b20x2[_0x5826[514]]=function(_0x1b20x2,_0x1b20x4){return null};_0x1b20x2[_0x5826[1093]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x5){for(_0x1b20x4=_0x1b20x4[_0x5826[285]];null!=_0x1b20x4;){if(!this[_0x5826[3273]](_0x1b20x2,_0x1b20x4,_0x1b20x5)&&_0x5826[99]==_0x1b20x4[_0x5826[301]]){var _0x1b20x9=_0x1b20x4[_0x5826[284]](_0x5826[3069]),_0x1b20xa=_0x1b20x4[_0x5826[284]](_0x5826[892]),_0x1b20x12=_0x1b20x4[_0x5826[284]](_0x5826[2207]);_0x1b20x5[_0x5826[3063]](_0x1b20x9,_0x1b20xa,_0x1b20x12)};_0x1b20x4=_0x1b20x4[_0x5826[287]]}};return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxDefaultToolbar);_0x1b20x2[_0x5826[514]]=function(_0x1b20x2,_0x1b20x4){return null};_0x1b20x2[_0x5826[1093]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(null!=_0x1b20x5){var _0x1b20x9=_0x1b20x5[_0x5826[3061]];for(_0x1b20x4=_0x1b20x4[_0x5826[285]];null!=_0x1b20x4;){if(_0x1b20x4[_0x5826[288]]==mxConstants[_0x5826[289]]&&!this[_0x5826[3273]](_0x1b20x2,_0x1b20x4,_0x1b20x5)){if(_0x5826[3072]==_0x1b20x4[_0x5826[301]]){_0x1b20x5[_0x5826[1051]]()}else {if(_0x5826[345]==_0x1b20x4[_0x5826[301]]){_0x1b20x5[_0x5826[3082]][_0x5826[1052]]()}else {if(_0x5826[1054]==_0x1b20x4[_0x5826[301]]){_0x1b20x5[_0x5826[3082]][_0x5826[1053]]()}else {if(_0x5826[99]==_0x1b20x4[_0x5826[301]]){var _0x1b20xa=_0x1b20x4[_0x5826[284]](_0x5826[3069]),_0x1b20xa=mxResources[_0x5826[203]](_0x1b20xa)||_0x1b20xa,_0x1b20x12=_0x1b20x4[_0x5826[284]](_0x5826[2916]),_0x1b20x13=_0x1b20x4[_0x5826[284]](_0x5826[3285]),_0x1b20x14=_0x1b20x4[_0x5826[284]](_0x5826[892]),_0x1b20x15=_0x1b20x4[_0x5826[284]](_0x5826[3286]),_0x1b20x16=_0x1b20x4[_0x5826[284]](_0x5826[3231]),_0x1b20x17=_0x5826[468]!=_0x1b20x4[_0x5826[284]](_0x5826[3287]),_0x1b20x18=mxUtils[_0x5826[329]](_0x1b20x4),_0x1b20x19=null;if(null!=_0x1b20x14){_0x1b20x19=_0x1b20x5[_0x5826[1025]](_0x1b20xa,_0x1b20x12,_0x1b20x14,_0x1b20x13)}else {if(null!=_0x1b20x15){var _0x1b20x1a=mxUtils[_0x5826[1545]](_0x1b20x18),_0x1b20x19=_0x1b20x5[_0x5826[1048]](_0x1b20xa,_0x1b20x12,_0x1b20x15,_0x1b20x13,_0x1b20x1a)}else {if(null!=_0x1b20x16||null!=_0x1b20x18&&0<_0x1b20x18[_0x5826[67]]){_0x1b20x19=_0x1b20x9[_0x5826[3118]][_0x1b20x16],_0x1b20x16=_0x1b20x4[_0x5826[284]](_0x5826[124]),null!=_0x1b20x19&&null!=_0x1b20x16&&(_0x1b20x19=_0x1b20x19[_0x5826[238]](),_0x1b20x19[_0x5826[475]](_0x1b20x16)),_0x1b20x16=null,null!=_0x1b20x18&&0<_0x1b20x18[_0x5826[67]]&&(_0x1b20x16=mxUtils[_0x5826[1545]](_0x1b20x18)),_0x1b20x19=_0x1b20x5[_0x5826[3087]](_0x1b20xa,_0x1b20x12,_0x1b20x19,_0x1b20x13,_0x1b20x16,_0x1b20x17)}else {if(_0x1b20x13=mxUtils[_0x5826[1540]](_0x1b20x4),0<_0x1b20x13[_0x5826[67]]){if(null==_0x1b20x12){_0x1b20x16=_0x1b20x5[_0x5826[1038]](_0x1b20xa);for(_0x1b20xa=0;_0x1b20xa<_0x1b20x13[_0x5826[67]];_0x1b20xa++){_0x1b20x17=_0x1b20x13[_0x1b20xa],_0x5826[3072]==_0x1b20x17[_0x5826[301]]?_0x1b20x5[_0x5826[972]](_0x1b20x16,_0x5826[3288]):_0x5826[99]==_0x1b20x17[_0x5826[301]]&&(_0x1b20x12=_0x1b20x17[_0x5826[284]](_0x5826[3069]),_0x1b20x17=_0x1b20x17[_0x5826[284]](_0x5826[892]),_0x1b20x5[_0x5826[3085]](_0x1b20x16,_0x1b20x12,_0x1b20x17))}}else {var _0x1b20x1b=null,_0x1b20x1c=_0x1b20x5[_0x5826[3087]](_0x1b20xa,_0x1b20x12,function(){var _0x1b20x2=_0x1b20x9[_0x5826[3118]][_0x1b20x1b[_0x5826[131]]];if(null!=_0x1b20x2){var _0x1b20x2=_0x1b20x2[_0x5826[238]](),_0x1b20x3=_0x1b20x1b[_0x5826[1040]][_0x1b20x1b[_0x5826[1039]]][_0x5826[3289]];null!=_0x1b20x3&&_0x1b20x2[_0x5826[475]](_0x1b20x3);return _0x1b20x2};mxLog[_0x5826[283]](_0x5826[3290]+_0x1b20x2+_0x5826[3291]);return null},null,null,_0x1b20x17),_0x1b20x1b=_0x1b20x5[_0x5826[970]]();mxEvent[_0x5826[169]](_0x1b20x1b,_0x5826[826],function(){_0x1b20x5[_0x5826[3082]][_0x5826[1047]](_0x1b20x1c,function(_0x1b20x2){_0x1b20x2=mxUtils[_0x5826[2196]](_0x1b20x9[_0x5826[1179]][_0x5826[526]],mxEvent[_0x5826[731]](_0x1b20x2),mxEvent[_0x5826[733]](_0x1b20x2));return _0x1b20x9[_0x5826[817]](null,_0x1b20x1a(),_0x1b20x2[_0x5826[235]],_0x1b20x2[_0x5826[236]])});_0x1b20x5[_0x5826[3082]][_0x5826[1023]]= !1});for(_0x1b20xa=0;_0x1b20xa<_0x1b20x13[_0x5826[67]];_0x1b20xa++){_0x1b20x17=_0x1b20x13[_0x1b20xa],_0x5826[3072]==_0x1b20x17[_0x5826[301]]?_0x1b20x5[_0x5826[972]](_0x1b20x1b,_0x5826[3288]):_0x5826[99]==_0x1b20x17[_0x5826[301]]&&(_0x1b20x12=_0x1b20x17[_0x5826[284]](_0x5826[3069]),_0x1b20x18=_0x1b20x17[_0x5826[284]](_0x5826[3231]),_0x1b20x5[_0x5826[972]](_0x1b20x1b,_0x1b20x12,_0x1b20x18||_0x1b20x16)[_0x5826[3289]]=_0x1b20x17[_0x5826[284]](_0x5826[124]))}}}}}};null!=_0x1b20x19&&(_0x1b20x16=_0x1b20x4[_0x5826[284]](_0x5826[1363]),null!=_0x1b20x16&&0<_0x1b20x16[_0x5826[67]]&&_0x1b20x19[_0x5826[57]](_0x5826[1363],_0x1b20x16))}}}}};_0x1b20x4=_0x1b20x4[_0x5826[287]]}};return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxDefaultPopupMenu);_0x1b20x2[_0x5826[514]]=function(_0x1b20x2,_0x1b20x4){return null};_0x1b20x2[_0x5826[1093]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){var _0x1b20x9=_0x1b20x4[_0x5826[64]](_0x5826[3277])[0];null!=_0x1b20x9?this[_0x5826[3273]](_0x1b20x2,_0x1b20x9,_0x1b20x5):null!=_0x1b20x5&&(_0x1b20x5[_0x5826[3064]]=_0x1b20x4);return _0x1b20x5};return _0x1b20x2}());mxCodecRegistry[_0x5826[3234]](function(){var _0x1b20x2= new mxObjectCodec( new mxEditor,_0x5826[3292][_0x5826[224]](_0x5826[185]));_0x1b20x2[_0x5826[3268]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){_0x1b20x2=_0x1b20x4[_0x5826[284]](_0x5826[2075]);null!=_0x1b20x2&&(_0x1b20x4[_0x5826[1390]](_0x5826[2075]),_0x1b20x5[_0x5826[2075]]=_0x1b20x5[_0x5826[3118]][_0x1b20x2]);_0x1b20x2=_0x1b20x4[_0x5826[284]](_0x5826[3120]);null!=_0x1b20x2&&(_0x1b20x4[_0x5826[1390]](_0x5826[3120]),_0x1b20x5[_0x5826[3120]]=_0x1b20x5[_0x5826[3118]][_0x1b20x2]);return _0x1b20x5};_0x1b20x2[_0x5826[3274]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){if(_0x5826[3293]==_0x1b20x4[_0x5826[301]]){if(_0x5826[3118]==_0x1b20x4[_0x5826[284]](_0x5826[3069])){this[_0x5826[3294]](_0x1b20x2,_0x1b20x4,_0x1b20x5);return}}else {if(_0x5826[3295]==_0x1b20x4[_0x5826[301]]){this[_0x5826[3296]](_0x1b20x2,_0x1b20x4,_0x1b20x5);return}};mxObjectCodec[_0x5826[202]][_0x5826[3274]][_0x5826[183]](this,arguments)};_0x1b20x2[_0x5826[3296]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){for(_0x1b20x2=_0x1b20x4[_0x5826[285]];null!=_0x1b20x2;){if(_0x5826[99]==_0x1b20x2[_0x5826[301]]){_0x1b20x4=_0x1b20x2[_0x5826[284]](_0x5826[3069]);var _0x1b20x9=_0x1b20x2[_0x5826[284]](_0x5826[980]),_0x1b20xa=_0x1b20x2[_0x5826[284]](_0x5826[124]),_0x1b20x12=null;if(null!=_0x1b20x9){_0x1b20x12=document[_0x5826[1362]](_0x1b20x9),null!=_0x1b20x12&&null!=_0x1b20xa&&(_0x1b20x12[_0x5826[124]][_0x5826[103]]+=_0x5826[471]+_0x1b20xa)}else {var _0x1b20x9=parseInt(_0x1b20x2[_0x5826[284]](_0x5826[235])),_0x1b20x13=parseInt(_0x1b20x2[_0x5826[284]](_0x5826[236])),_0x1b20x14=_0x1b20x2[_0x5826[284]](_0x5826[117]),_0x1b20x15=_0x1b20x2[_0x5826[284]](_0x5826[119]),_0x1b20x12=document[_0x5826[55]](_0x5826[485]);_0x1b20x12[_0x5826[124]][_0x5826[103]]=_0x1b20xa;( new mxWindow(mxResources[_0x5826[203]](_0x1b20x4)||_0x1b20x4,_0x1b20x12,_0x1b20x9,_0x1b20x13,_0x1b20x14,_0x1b20x15,!1,!0))[_0x5826[175]](!0)};_0x5826[1179]==_0x1b20x4?_0x1b20x5[_0x5826[3202]](_0x1b20x12):_0x5826[3082]==_0x1b20x4?_0x1b20x5[_0x5826[3204]](_0x1b20x12):_0x5826[924]==_0x1b20x4?_0x1b20x5[_0x5826[3208]](_0x1b20x12):_0x5826[879]==_0x1b20x4?_0x1b20x5[_0x5826[3205]](_0x1b20x12):_0x5826[201]==_0x1b20x4&&_0x1b20x5[_0x5826[3297]](_0x1b20x12)}else {_0x5826[3298]==_0x1b20x2[_0x5826[301]]?mxResources[_0x5826[99]](_0x1b20x2[_0x5826[284]](_0x5826[3299])):_0x5826[94]==_0x1b20x2[_0x5826[301]]&&mxClient[_0x5826[54]](_0x5826[94],_0x1b20x2[_0x5826[284]](_0x5826[298]))};_0x1b20x2=_0x1b20x2[_0x5826[287]]}};_0x1b20x2[_0x5826[3294]]=function(_0x1b20x2,_0x1b20x4,_0x1b20x5){null==_0x1b20x5[_0x5826[3118]]&&(_0x1b20x5[_0x5826[3118]]=[]);_0x1b20x4=mxUtils[_0x5826[1540]](_0x1b20x4);for(var _0x1b20x9=0;_0x1b20x9<_0x1b20x4[_0x5826[67]];_0x1b20x9++){for(var _0x1b20xa=_0x1b20x4[_0x1b20x9][_0x5826[284]](_0x5826[3069]),_0x1b20x12=_0x1b20x4[_0x1b20x9][_0x5826[285]];null!=_0x1b20x12&&1!=_0x1b20x12[_0x5826[288]];){_0x1b20x12=_0x1b20x12[_0x5826[287]]};null!=_0x1b20x12&&(_0x1b20x5[_0x5826[3118]][_0x1b20xa]=_0x1b20x2[_0x5826[3244]](_0x1b20x12))}};return _0x1b20x2}()) \ No newline at end of file diff --git a/public/assets/plugins/mxgraph/styles/default.xml b/public/assets/plugins/mxgraph/styles/default.xml index b7cfff2..73a8e84 100644 --- a/public/assets/plugins/mxgraph/styles/default.xml +++ b/public/assets/plugins/mxgraph/styles/default.xml @@ -1,5 +1,4 @@ <mxStylesheet> - <!-- Giuseppe Careri --> <add as="image"> <add as="shape" value="image"/> <add as="labelBackgroundColor" value="white"/> @@ -17,214 +16,8 @@ <add as="labelBackgroundColor" value="#ffffff"/> <add as="rounded" value="1"/> <add as="strokeColor" value="#1B78C8"/> - <add as="strokeWidth" value="1"/> + <add as="strokeWidth" value="1"/> <add as="fontColor" value="#774400"/> <add as="edgeStyle" value="elbowEdgeStyle"/> - </add> - <!--add as="defaultVertex"> - <add as="shape" value="label"/> - <add as="perimeter" value="rectanglePerimeter"/> - <add as="fontSize" value="12"/> - <add as="fontFamily" value="Helvetica"/> - <add as="align" value="center"/> - <add as="verticalAlign" value="middle"/> - <add as="fillColor" value="#ffffff"/> - <add as="strokeColor" value="#000000"/> - <add as="fontColor" value="#000000"/> - </add> - <add as="defaultEdge"> - <add as="shape" value="connector"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="endArrow" value="classic"/> - <add as="fontSize" value="11"/> - <add as="fontFamily" value="Helvetica"/> - <add as="align" value="center"/> - <add as="verticalAlign" value="middle"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="rounded" value="1"/> - <add as="strokeColor" value="#000000"/> - <add as="fontColor" value="#000000"/> - </add> - <add as="text"> - <add as="fillColor" value="none"/> - <add as="gradientColor" value="none"/> - <add as="strokeColor" value="none"/> - <add as="align" value="left"/> - <add as="verticalAlign" value="top"/> - </add> - <add as="label"> - <add as="fontStyle" value="1"/> - <add as="align" value="left"/> - <add as="verticalAlign" value="middle"/> - <add as="spacing" value="2"/> - <add as="spacingLeft" value="52"/> - <add as="imageWidth" value="42"/> - <add as="imageHeight" value="42"/> - <add as="rounded" value="1"/> - </add> - <add as="icon" extend="label"> - <add as="align" value="center"/> - <add as="imageAlign" value="center"/> - <add as="verticalLabelPosition" value="bottom"/> - <add as="verticalAlign" value="top"/> - <add as="spacingTop" value="4"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="spacing" value="0"/> - <add as="spacingLeft" value="0"/> - <add as="spacingTop" value="6"/> - <add as="fontStyle" value="0"/> - <add as="imageWidth" value="48"/> - <add as="imageHeight" value="48"/> - </add> - <add as="swimlane"> - <add as="shape" value="swimlane"/> - <add as="fontSize" value="12"/> - <add as="fontStyle" value="1"/> - <add as="startSize" value="23"/> - </add> - <add as="group"> - <add as="verticalAlign" value="top"/> - <add as="fillColor" value="none"/> - <add as="strokeColor" value="none"/> - <add as="gradientColor" value="none"/> - </add> - <add as="ellipse"> - <add as="shape" value="ellipse"/> - <add as="perimeter" value="ellipsePerimeter"/> - </add> - <add as="rhombus"> - <add as="shape" value="rhombus"/> - <add as="perimeter" value="rhombusPerimeter"/> - </add> - <add as="triangle"> - <add as="shape" value="triangle"/> - <add as="perimeter" value="trianglePerimeter"/> - </add> - <add as="line"> - <add as="shape" value="line"/> - <add as="strokeWidth" value="4"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="verticalAlign" value="top"/> - <add as="spacingTop" value="8"/> - </add> - <add as="image"> - <add as="shape" value="image"/> - <add as="labelBackgroundColor" value="white"/> - <add as="verticalAlign" value="top"/> - <add as="verticalLabelPosition" value="bottom"/> - </add> - <add as="roundImage" extend="image"> - <add as="perimeter" value="ellipsePerimeter"/> - </add> - <add as="rhombusImage" extend="image"> - <add as="perimeter" value="rhombusPerimeter"/> - </add> - <add as="arrow"> - <add as="shape" value="arrow"/> - <add as="edgeStyle" value="none"/> - <add as="fillColor" value="#ffffff"/> - </add> - <!--add as="defaultVertex"> - <add as="shape" value="label"/> - <add as="perimeter" value="rectanglePerimeter"/> - <add as="fontSize" value="12"/> - <add as="fontFamily" value="Helvetica"/> - <add as="align" value="center"/> - <add as="verticalAlign" value="middle"/> - <add as="fillColor" value="#ffffff"/> - <add as="strokeColor" value="#000000"/> - <add as="fontColor" value="#000000"/> - </add> - <add as="defaultEdge"> - <add as="shape" value="connector"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="endArrow" value="classic"/> - <add as="fontSize" value="11"/> - <add as="fontFamily" value="Helvetica"/> - <add as="align" value="center"/> - <add as="verticalAlign" value="middle"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="rounded" value="1"/> - <add as="strokeColor" value="#000000"/> - <add as="fontColor" value="#000000"/> - </add> - <add as="text"> - <add as="fillColor" value="none"/> - <add as="gradientColor" value="none"/> - <add as="strokeColor" value="none"/> - <add as="align" value="left"/> - <add as="verticalAlign" value="top"/> - </add> - <add as="label"> - <add as="fontStyle" value="1"/> - <add as="align" value="left"/> - <add as="verticalAlign" value="middle"/> - <add as="spacing" value="2"/> - <add as="spacingLeft" value="52"/> - <add as="imageWidth" value="42"/> - <add as="imageHeight" value="42"/> - <add as="rounded" value="1"/> - </add> - <add as="icon" extend="label"> - <add as="align" value="center"/> - <add as="imageAlign" value="center"/> - <add as="verticalLabelPosition" value="bottom"/> - <add as="verticalAlign" value="top"/> - <add as="spacingTop" value="4"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="spacing" value="0"/> - <add as="spacingLeft" value="0"/> - <add as="spacingTop" value="6"/> - <add as="fontStyle" value="0"/> - <add as="imageWidth" value="48"/> - <add as="imageHeight" value="48"/> - </add> - <add as="swimlane"> - <add as="shape" value="swimlane"/> - <add as="fontSize" value="12"/> - <add as="fontStyle" value="1"/> - <add as="startSize" value="23"/> - </add> - <add as="group"> - <add as="verticalAlign" value="top"/> - <add as="fillColor" value="none"/> - <add as="strokeColor" value="none"/> - <add as="gradientColor" value="none"/> - </add> - <add as="ellipse"> - <add as="shape" value="ellipse"/> - <add as="perimeter" value="ellipsePerimeter"/> - </add> - <add as="rhombus"> - <add as="shape" value="rhombus"/> - <add as="perimeter" value="rhombusPerimeter"/> - </add> - <add as="triangle"> - <add as="shape" value="triangle"/> - <add as="perimeter" value="trianglePerimeter"/> - </add> - <add as="line"> - <add as="shape" value="line"/> - <add as="strokeWidth" value="4"/> - <add as="labelBackgroundColor" value="#ffffff"/> - <add as="verticalAlign" value="top"/> - <add as="spacingTop" value="8"/> - </add> - <add as="image"> - <add as="shape" value="image"/> - <add as="labelBackgroundColor" value="white"/> - <add as="verticalAlign" value="top"/> - <add as="verticalLabelPosition" value="bottom"/> - </add> - <add as="roundImage" extend="image"> - <add as="perimeter" value="ellipsePerimeter"/> - </add> - <add as="rhombusImage" extend="image"> - <add as="perimeter" value="rhombusPerimeter"/> - </add> - <add as="arrow"> - <add as="shape" value="arrow"/> - <add as="edgeStyle" value="none"/> - <add as="fillColor" value="#ffffff"/> - </add--> + </add> </mxStylesheet> diff --git a/public/assets/plugins/square/js/Actions.js b/public/assets/plugins/square/js/Actions.js index 311cec7..3c45c8a 100644 --- a/public/assets/plugins/square/js/Actions.js +++ b/public/assets/plugins/square/js/Actions.js @@ -1 +1 @@ -var _0x7f38=["\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"];_0x7f38[0];function Actions(_0x955dx2){this[_0x7f38[1]]=_0x955dx2;this[_0x7f38[2]]= new Object();this[_0x7f38[3]]()}Actions[_0x7f38[4]][_0x7f38[3]]=function(){var _0x955dx3=this[_0x7f38[1]];var _0x955dx4=_0x955dx3[_0x7f38[5]];var _0x955dx5=_0x955dx4[_0x7f38[6]];this[_0x7f38[10]](_0x7f38[7],function(){_0x955dx3[_0x7f38[9]]( new NewDialog(_0x955dx3)[_0x7f38[8]],300,180,true,true)});this[_0x7f38[10]](_0x7f38[11],function(){_0x955dx3[_0x7f38[9]]( new OpenDialog(_0x955dx3)[_0x7f38[8]],300,180,true,true)});this[_0x7f38[10]](_0x7f38[12],function(){_0x955dx3[_0x7f38[13]](false)},null,null,_0x7f38[14]);this[_0x7f38[10]](_0x7f38[15],function(){_0x955dx3[_0x7f38[13]](true)},null,null,_0x7f38[16]);this[_0x7f38[10]](_0x7f38[17],function(){_0x955dx3[_0x7f38[18]](false)},null,null,_0x7f38[19]);this[_0x7f38[10]](_0x7f38[20],function(){_0x955dx3[_0x7f38[9]]( new VariableDialog(_0x955dx3)[_0x7f38[8]],300,180,true,true)});this[_0x7f38[10]](_0x7f38[21],function(){_0x955dx3[_0x7f38[9]]( new ImportDialog(_0x955dx3)[_0x7f38[8]],300,200,true,true)});this[_0x7f38[10]](_0x7f38[22],function(){_0x955dx3[_0x7f38[9]]( new ExportDialog(_0x955dx3)[_0x7f38[8]],300,200,true,true)},null,null,_0x7f38[23]);this[_0x7f38[28]](_0x7f38[24], new Action(mxResources[_0x7f38[26]](_0x7f38[25]),mxUtils[_0x7f38[27]](this,function(){this[_0x7f38[1]][_0x7f38[9]]( new EditFileDialog(_0x955dx3)[_0x7f38[8]],620,420,true,true)})));this[_0x7f38[10]](_0x7f38[29],function(){_0x955dx3[_0x7f38[9]]( new RenameDialog(_0x955dx3)[_0x7f38[8]],300,180,true,true)});this[_0x7f38[10]](_0x7f38[30],function(){mxUtils[_0x7f38[31]](_0x955dx5)},null,_0x7f38[32],_0x7f38[33]);this[_0x7f38[10]](_0x7f38[34],function(){mxUtils[_0x7f38[35]](_0x955dx5,null,10,10)});this[_0x7f38[10]](_0x7f38[36],function(){_0x955dx4[_0x7f38[37]][_0x7f38[36]]()},null,_0x7f38[38],_0x7f38[39]);this[_0x7f38[10]](_0x7f38[40],function(){_0x955dx4[_0x7f38[37]][_0x7f38[40]]()},null,_0x7f38[41],_0x7f38[42]);this[_0x7f38[10]](_0x7f38[43],function(){mxClipboard[_0x7f38[43]](_0x955dx5)},null,_0x7f38[44],_0x7f38[45]);this[_0x7f38[10]](_0x7f38[46],function(){mxClipboard[_0x7f38[46]](_0x955dx5)},null,_0x7f38[47],_0x7f38[48]);this[_0x7f38[10]](_0x7f38[49],function(){mxClipboard[_0x7f38[49]](_0x955dx5)},false,_0x7f38[50],_0x7f38[51]);this[_0x7f38[10]](_0x7f38[52],function(){_0x955dx5[_0x7f38[53]]()},null,null,_0x7f38[54]);this[_0x7f38[10]](_0x7f38[55],function(){var _0x955dx6=_0x955dx5[_0x7f38[56]];_0x955dx5[_0x7f38[59]](_0x955dx5[_0x7f38[58]](_0x955dx5[_0x7f38[57]](),_0x955dx6,_0x955dx6,true))},null,null,_0x7f38[60]);this[_0x7f38[10]](_0x7f38[61],function(){_0x955dx5[_0x7f38[61]]()},null,null,_0x7f38[62]);this[_0x7f38[10]](_0x7f38[63],function(){_0x955dx5[_0x7f38[63]]()},null,null,_0x7f38[64]);this[_0x7f38[10]](_0x7f38[65],function(){_0x955dx5[_0x7f38[65]]()},null,null,_0x7f38[66]);this[_0x7f38[10]](_0x7f38[67],function(){_0x955dx5[_0x7f38[67]]()},null,null,_0x7f38[68]);this[_0x7f38[10]](_0x7f38[69],function(){_0x955dx5[_0x7f38[69]]()},null,null,_0x7f38[70]);this[_0x7f38[10]](_0x7f38[71],function(){_0x955dx5[_0x7f38[71]]()},null,null,_0x7f38[72]);this[_0x7f38[10]](_0x7f38[73],function(){_0x955dx5[_0x7f38[74]](false)},null,null,_0x7f38[75]);this[_0x7f38[10]](_0x7f38[76],function(){_0x955dx5[_0x7f38[74]](true)},null,null,_0x7f38[77]);this[_0x7f38[10]](_0x7f38[78],function(){_0x955dx5[_0x7f38[79]](false)},null,null,_0x7f38[80]);this[_0x7f38[10]](_0x7f38[81],function(){_0x955dx5[_0x7f38[79]](true)},null,null,_0x7f38[82]);this[_0x7f38[10]](_0x7f38[83],function(){_0x955dx5[_0x7f38[85]](_0x955dx5[_0x7f38[84]](null,0))},null,null,_0x7f38[86]);this[_0x7f38[10]](_0x7f38[87],function(){_0x955dx5[_0x7f38[59]](_0x955dx5[_0x7f38[88]]())},null,null,_0x7f38[89]);this[_0x7f38[10]](_0x7f38[90],function(){_0x955dx5[_0x7f38[91]]()});this[_0x7f38[10]](_0x7f38[92],function(){var _0x955dx7=_0x955dx5[_0x7f38[93]]();var _0x955dx8=_0x955dx5[_0x7f38[94]](_0x955dx7);if(_0x955dx8==null){_0x955dx8=_0x7f38[95]};_0x955dx8=mxUtils[_0x7f38[97]](mxResources[_0x7f38[26]](_0x7f38[96]),_0x955dx8);if(_0x955dx8!=null){_0x955dx5[_0x7f38[98]](_0x955dx7,_0x955dx8)}});this[_0x7f38[10]](_0x7f38[99],function(){var _0x955dx7=_0x955dx5[_0x7f38[93]]();var _0x955dx8=_0x955dx5[_0x7f38[94]](_0x955dx7);if(_0x955dx8!=null){window[_0x7f38[11]](_0x955dx8)}});this[_0x7f38[10]](_0x7f38[100],function(){var _0x955dx9=_0x955dx5[_0x7f38[57]]();if(_0x955dx9!=null){_0x955dx5[_0x7f38[102]]()[_0x7f38[101]]();try{for(var _0x955dxa=0;_0x955dxa<_0x955dx9[_0x7f38[103]];_0x955dxa++){var _0x955dx7=_0x955dx9[_0x955dxa];if(_0x955dx5[_0x7f38[102]]()[_0x7f38[104]](_0x955dx7)){_0x955dx5[_0x7f38[105]]([_0x955dx7],20)}else {_0x955dx5[_0x7f38[106]](_0x955dx7)}}}finally{_0x955dx5[_0x7f38[102]]()[_0x7f38[107]]()}}});this[_0x7f38[10]](_0x7f38[108],function(){var _0x955dxb=_0x955dx5[_0x7f38[110]]()[_0x7f38[109]](_0x955dx5[_0x7f38[93]]());var _0x955dxc=_0x7f38[111];if(_0x955dxb!=null&&_0x955dxb[_0x7f38[113]][mxConstants[_0x7f38[112]]]==_0x7f38[111]){_0x955dxc=null};_0x955dx5[_0x7f38[114]](mxConstants.STYLE_WHITE_SPACE,_0x955dxc)});this[_0x7f38[10]](_0x7f38[115],function(){var _0x955dxc=_0x7f38[116];var _0x955dxb=_0x955dx5[_0x7f38[110]]()[_0x7f38[109]](_0x955dx5[_0x7f38[93]]());if(_0x955dxb!=null){_0x955dxc=_0x955dxb[_0x7f38[113]][mxConstants[_0x7f38[117]]]||_0x955dxc};_0x955dxc=mxUtils[_0x7f38[97]](mxResources[_0x7f38[26]](_0x7f38[96])+_0x7f38[118]+mxResources[_0x7f38[26]](_0x7f38[115])+_0x7f38[119],_0x955dxc);if(_0x955dxc!=null){_0x955dx5[_0x7f38[114]](mxConstants.STYLE_ROTATION,_0x955dxc)}});this[_0x7f38[10]](_0x7f38[120],function(){var _0x955dx9=_0x955dx5[_0x7f38[57]]();if(_0x955dx9!=null){_0x955dx5[_0x7f38[102]]()[_0x7f38[101]]();try{for(var _0x955dxa=0;_0x955dxa<_0x955dx9[_0x7f38[103]];_0x955dxa++){var _0x955dx7=_0x955dx9[_0x955dxa];if(_0x955dx5[_0x7f38[102]]()[_0x7f38[121]](_0x955dx7)&&_0x955dx5[_0x7f38[102]]()[_0x7f38[104]](_0x955dx7)==0){var _0x955dxd=_0x955dx5[_0x7f38[122]](_0x955dx7);if(_0x955dxd!=null){_0x955dxd=_0x955dxd[_0x7f38[123]]();_0x955dxd[_0x7f38[124]]+=_0x955dxd[_0x7f38[125]]/2-_0x955dxd[_0x7f38[126]]/2;_0x955dxd[_0x7f38[127]]+=_0x955dxd[_0x7f38[126]]/2-_0x955dxd[_0x7f38[125]]/2;var _0x955dxe=_0x955dxd[_0x7f38[125]];_0x955dxd[_0x7f38[125]]=_0x955dxd[_0x7f38[126]];_0x955dxd[_0x7f38[126]]=_0x955dxe;_0x955dx5[_0x7f38[102]]()[_0x7f38[128]](_0x955dx7,_0x955dxd);var _0x955dxb=_0x955dx5[_0x7f38[129]][_0x7f38[109]](_0x955dx7);if(_0x955dxb!=null){var _0x955dxf=_0x955dxb[_0x7f38[113]][mxConstants[_0x7f38[130]]]||_0x7f38[131];if(_0x955dxf==_0x7f38[131]){_0x955dxf=_0x7f38[132]}else {if(_0x955dxf==_0x7f38[132]){_0x955dxf=_0x7f38[133]}else {if(_0x955dxf==_0x7f38[133]){_0x955dxf=_0x7f38[134]}else {if(_0x955dxf==_0x7f38[134]){_0x955dxf=_0x7f38[131]}}}};_0x955dx5[_0x7f38[114]](mxConstants.STYLE_DIRECTION,_0x955dxf,[_0x955dx7])}}}}}finally{_0x955dx5[_0x7f38[102]]()[_0x7f38[107]]()}}},null,null,_0x7f38[135]);this[_0x7f38[10]](_0x7f38[136],function(){_0x955dx5[_0x7f38[137]](1)});this[_0x7f38[10]](_0x7f38[138],function(){_0x955dx5[_0x7f38[138]]()},null,null,_0x7f38[139]);this[_0x7f38[10]](_0x7f38[140],function(){_0x955dx5[_0x7f38[140]]()},null,null,_0x7f38[141]);this[_0x7f38[10]](_0x7f38[142],function(){_0x955dx5[_0x7f38[143]]()});this[_0x7f38[10]](_0x7f38[144],mxUtils[_0x7f38[27]](this,function(){if(!_0x955dx5[_0x7f38[145]]){this[_0x7f38[26]](_0x7f38[147])[_0x7f38[146]]()};var _0x955dx10=_0x955dx5[_0x7f38[148]];var _0x955dx11=_0x955dx5[_0x7f38[149]];var _0x955dx12=_0x955dx5[_0x7f38[8]][_0x7f38[150]]-20;var _0x955dx13=_0x955dx5[_0x7f38[8]][_0x7f38[151]]-20;var _0x955dx14=Math[_0x7f38[153]](100*Math[_0x7f38[152]](_0x955dx12/_0x955dx10[_0x7f38[125]]/_0x955dx11,_0x955dx13/_0x955dx10[_0x7f38[126]]/_0x955dx11))/100;_0x955dx5[_0x7f38[137]](_0x955dx14);_0x955dx5[_0x7f38[8]][_0x7f38[154]]=Math[_0x7f38[157]](_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[124]]*_0x955dx14-Math[_0x7f38[156]](10,(_0x955dx5[_0x7f38[8]][_0x7f38[150]]-_0x955dx10[_0x7f38[125]]*_0x955dx11*_0x955dx14)/2));_0x955dx5[_0x7f38[8]][_0x7f38[158]]=Math[_0x7f38[157]](_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[127]]*_0x955dx14-Math[_0x7f38[156]](10,(_0x955dx5[_0x7f38[8]][_0x7f38[151]]-_0x955dx10[_0x7f38[126]]*_0x955dx11*_0x955dx14)/2))}));this[_0x7f38[10]](_0x7f38[159],mxUtils[_0x7f38[27]](this,function(){if(!_0x955dx5[_0x7f38[145]]){this[_0x7f38[26]](_0x7f38[147])[_0x7f38[146]]()};var _0x955dx10=_0x955dx5[_0x7f38[148]];var _0x955dx11=_0x955dx5[_0x7f38[149]];var _0x955dx12=_0x955dx5[_0x7f38[8]][_0x7f38[150]]-20;var _0x955dx14=Math[_0x7f38[153]](100*_0x955dx12/_0x955dx10[_0x7f38[125]]/_0x955dx11)/100;_0x955dx5[_0x7f38[137]](_0x955dx14);_0x955dx5[_0x7f38[8]][_0x7f38[154]]=Math[_0x7f38[157]](_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[124]]*_0x955dx14-Math[_0x7f38[156]](10,(_0x955dx5[_0x7f38[8]][_0x7f38[150]]-_0x955dx10[_0x7f38[125]]*_0x955dx11*_0x955dx14)/2));_0x955dx5[_0x7f38[8]][_0x7f38[158]]=Math[_0x7f38[157]](_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[127]]*_0x955dx14-Math[_0x7f38[156]](10,(_0x955dx5[_0x7f38[8]][_0x7f38[151]]-_0x955dx10[_0x7f38[126]]*_0x955dx11*_0x955dx14)/2))}));this[_0x7f38[28]](_0x7f38[160], new Action(mxResources[_0x7f38[26]](_0x7f38[161]),function(){var _0x955dxc=mxUtils[_0x7f38[97]](mxResources[_0x7f38[26]](_0x7f38[96])+_0x7f38[162],parseInt(_0x955dx5[_0x7f38[110]]()[_0x7f38[163]]()*100));if(_0x955dxc!=null&&_0x955dxc[_0x7f38[103]]>0&&!isNaN(parseInt(_0x955dxc))){_0x955dx5[_0x7f38[137]](parseInt(_0x955dxc)/100)}}));var _0x955dx15=null;_0x955dx15=this[_0x7f38[10]](_0x7f38[164],function(){_0x955dx5[_0x7f38[166]](!_0x955dx5[_0x7f38[165]]());_0x955dx4[_0x7f38[167]]()},null,null,_0x7f38[168]);_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[165]]()});_0x955dx15=this[_0x7f38[10]](_0x7f38[171],function(){_0x955dx5[_0x7f38[173]][_0x7f38[172]]=!_0x955dx5[_0x7f38[173]][_0x7f38[172]]});_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[173]][_0x7f38[172]]});_0x955dx15=this[_0x7f38[10]](_0x7f38[174],function(){_0x955dx5[_0x7f38[176]][_0x7f38[177]](!_0x955dx5[_0x7f38[176]][_0x7f38[175]]())});_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[176]][_0x7f38[175]]()});_0x955dx15=this[_0x7f38[10]](_0x7f38[178],function(){_0x955dx5[_0x7f38[179]]=!_0x955dx5[_0x7f38[179]];_0x955dx5[_0x7f38[129]][_0x7f38[180]]()});_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[179]]});_0x955dx15=this[_0x7f38[10]](_0x7f38[181],function(){_0x955dx5[_0x7f38[181]]=!_0x955dx5[_0x7f38[181]];_0x955dx4[_0x7f38[167]]();if(!_0x955dx5[_0x7f38[181]]){var _0x955dx16=_0x955dx5[_0x7f38[129]][_0x7f38[155]];_0x955dx5[_0x7f38[129]][_0x7f38[183]](_0x955dx16[_0x7f38[124]]-_0x955dx5[_0x7f38[8]][_0x7f38[154]]/_0x955dx5[_0x7f38[129]][_0x7f38[182]],_0x955dx16[_0x7f38[127]]-_0x955dx5[_0x7f38[8]][_0x7f38[158]]/_0x955dx5[_0x7f38[129]][_0x7f38[182]]);_0x955dx5[_0x7f38[8]][_0x7f38[154]]=0;_0x955dx5[_0x7f38[8]][_0x7f38[158]]=0;_0x955dx5[_0x7f38[184]]()}else {var _0x955dx17=_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[124]];var _0x955dx18=_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[127]];_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[124]]=0;_0x955dx5[_0x7f38[129]][_0x7f38[155]][_0x7f38[127]]=0;_0x955dx5[_0x7f38[184]]();_0x955dx5[_0x7f38[8]][_0x7f38[154]]-=Math[_0x7f38[157]](_0x955dx17*_0x955dx5[_0x7f38[129]][_0x7f38[182]]);_0x955dx5[_0x7f38[8]][_0x7f38[158]]-=Math[_0x7f38[157]](_0x955dx18*_0x955dx5[_0x7f38[129]][_0x7f38[182]])}},!mxClient.IS_TOUCH);_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[8]][_0x7f38[113]][_0x7f38[185]]==_0x7f38[186]});_0x955dx15=this[_0x7f38[10]](_0x7f38[147],mxUtils[_0x7f38[27]](this,function(){_0x955dx5[_0x7f38[145]]=!_0x955dx5[_0x7f38[145]];_0x955dx5[_0x7f38[187]]=_0x955dx5[_0x7f38[145]];_0x955dx5[_0x7f38[188]]=_0x955dx5[_0x7f38[187]];_0x955dx5[_0x7f38[129]][_0x7f38[189]]();_0x955dx5[_0x7f38[184]]();_0x955dx4[_0x7f38[167]]();_0x955dx4[_0x7f38[191]][_0x7f38[190]]();if(mxUtils[_0x7f38[192]](_0x955dx5[_0x7f38[8]])){if(_0x955dx5[_0x7f38[145]]){_0x955dx5[_0x7f38[8]][_0x7f38[154]]-=20;_0x955dx5[_0x7f38[8]][_0x7f38[158]]-=20}else {_0x955dx5[_0x7f38[8]][_0x7f38[154]]+=20;_0x955dx5[_0x7f38[8]][_0x7f38[158]]+=20}}}));_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[145]]});_0x955dx15=this[_0x7f38[10]](_0x7f38[193],function(){_0x955dx5[_0x7f38[195]](!_0x955dx5[_0x7f38[194]][_0x7f38[175]]())},null,null,_0x7f38[196]);_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[194]][_0x7f38[175]]()});_0x955dx15=this[_0x7f38[10]](_0x7f38[197],function(){_0x955dx5[_0x7f38[194]][_0x7f38[199]](!_0x955dx5[_0x7f38[194]][_0x7f38[198]]())});_0x955dx15[_0x7f38[169]](true);_0x955dx15[_0x7f38[170]](function(){return _0x955dx5[_0x7f38[194]][_0x7f38[198]]()});this[_0x7f38[10]](_0x7f38[200],function(){var _0x955dx19=_0x7f38[95];if(mxResources[_0x7f38[202]](mxClient[_0x7f38[201]])){_0x955dx19=_0x7f38[203]+mxClient[_0x7f38[201]]};window[_0x7f38[11]](_0x7f38[204])});this[_0x7f38[28]](_0x7f38[205], new Action(mxResources[_0x7f38[26]](_0x7f38[205])+_0x7f38[206],function(){_0x955dx3[_0x7f38[9]]( new AboutDialog(_0x955dx3)[_0x7f38[8]],320,280,true,true)},null,null,_0x7f38[207]));var _0x955dx1a=mxUtils[_0x7f38[27]](this,function(_0x955dx1b,_0x955dx1c){this[_0x7f38[10]](_0x955dx1b,function(){_0x955dx5[_0x7f38[208]](mxConstants.STYLE_FONTSTYLE,_0x955dx1c)})});_0x955dx1a(_0x7f38[209],mxConstants.FONT_BOLD);_0x955dx1a(_0x7f38[210],mxConstants.FONT_ITALIC);_0x955dx1a(_0x7f38[211],mxConstants.FONT_UNDERLINE);this[_0x7f38[10]](_0x7f38[212],function(){_0x955dx5[_0x7f38[213]](mxConstants.STYLE_SHADOW)});this[_0x7f38[10]](_0x7f38[214],function(){_0x955dx5[_0x7f38[213]](mxConstants.STYLE_DASHED)});this[_0x7f38[10]](_0x7f38[215],function(){_0x955dx5[_0x7f38[213]](mxConstants.STYLE_ROUNDED)});this[_0x7f38[10]](_0x7f38[216],function(){_0x955dx5[_0x7f38[213]](mxConstants.STYLE_CURVED)});this[_0x7f38[10]](_0x7f38[113],function(){var _0x955dx9=_0x955dx5[_0x7f38[57]]();if(_0x955dx9!=null&&_0x955dx9[_0x7f38[103]]>0){var _0x955dx1d=_0x955dx5[_0x7f38[102]]();var _0x955dx1c=mxUtils[_0x7f38[97]](mxResources[_0x7f38[26]](_0x7f38[96])+_0x7f38[118]+mxResources[_0x7f38[26]](_0x7f38[113])+_0x7f38[217],_0x955dx1d[_0x7f38[218]](_0x955dx9[0])||_0x7f38[95]);if(_0x955dx1c!=null){_0x955dx5[_0x7f38[219]](_0x955dx1c,_0x955dx9)}}});this[_0x7f38[10]](_0x7f38[220],function(){_0x955dx5[_0x7f38[221]](_0x955dx5[_0x7f38[93]]())});this[_0x7f38[10]](_0x7f38[222],function(){var _0x955dx7=_0x955dx5[_0x7f38[93]]();if(_0x955dx7!=null&&_0x955dx5[_0x7f38[102]]()[_0x7f38[223]](_0x955dx7)){var _0x955dx1e=_0x955dx4[_0x7f38[6]][_0x7f38[225]][_0x7f38[224]](_0x955dx7);if(_0x955dx1e instanceof mxEdgeHandler){var _0x955dx16=_0x955dx5[_0x7f38[129]][_0x7f38[155]];var _0x955dx6=_0x955dx5[_0x7f38[129]][_0x7f38[182]];var _0x955dx17=_0x955dx16[_0x7f38[124]];var _0x955dx18=_0x955dx16[_0x7f38[127]];var _0x955dx1f=_0x955dx5[_0x7f38[102]]()[_0x7f38[226]](_0x955dx7);var _0x955dx20=_0x955dx5[_0x7f38[122]](_0x955dx1f);if(_0x955dx5[_0x7f38[102]]()[_0x7f38[121]](_0x955dx1f)&&_0x955dx20!=null){_0x955dx17+=_0x955dx20[_0x7f38[124]];_0x955dx18+=_0x955dx20[_0x7f38[127]]};_0x955dx1e[_0x7f38[231]](_0x955dx1e[_0x7f38[227]],_0x955dx5[_0x7f38[229]][_0x7f38[228]]/_0x955dx6-_0x955dx17,_0x955dx5[_0x7f38[229]][_0x7f38[230]]/_0x955dx6-_0x955dx18)}}});this[_0x7f38[10]](_0x7f38[232],function(){var _0x955dx21=_0x955dx3[_0x7f38[2]][_0x7f38[26]](_0x7f38[232]);if(_0x955dx21[_0x7f38[233]]!=null){_0x955dx21[_0x7f38[233]][_0x7f38[235]](_0x955dx21[_0x7f38[233]][_0x7f38[227]],_0x955dx21[_0x7f38[234]])}});this[_0x7f38[10]](_0x7f38[236],function(){function _0x955dx22(_0x955dxc,_0x955dx23,_0x955dx24){var _0x955dx25=null;var _0x955dx9=_0x955dx5[_0x7f38[57]]();_0x955dx5[_0x7f38[102]]()[_0x7f38[101]]();try{if(_0x955dx9[_0x7f38[103]]==0){var _0x955dx26=_0x955dx5[_0x7f38[237]]();_0x955dx9=[_0x955dx5[_0x7f38[239]](_0x955dx5[_0x7f38[238]](),null,_0x7f38[95],_0x955dx26,_0x955dx26,_0x955dx23,_0x955dx24)];_0x955dx25=_0x955dx9};_0x955dx5[_0x7f38[114]](mxConstants.STYLE_IMAGE,_0x955dxc,_0x955dx9);_0x955dx5[_0x7f38[114]](mxConstants.STYLE_SHAPE,_0x7f38[236],_0x955dx9);if(_0x955dx5[_0x7f38[240]]()==1){if(_0x955dx23!=null&&_0x955dx24!=null){var _0x955dx7=_0x955dx9[0];var _0x955dxd=_0x955dx5[_0x7f38[102]]()[_0x7f38[241]](_0x955dx7);if(_0x955dxd!=null){_0x955dxd=_0x955dxd[_0x7f38[123]]();_0x955dxd[_0x7f38[125]]=_0x955dx23;_0x955dxd[_0x7f38[126]]=_0x955dx24;_0x955dx5[_0x7f38[102]]()[_0x7f38[128]](_0x955dx7,_0x955dxd)}}}}finally{_0x955dx5[_0x7f38[102]]()[_0x7f38[107]]()};if(_0x955dx25!=null){_0x955dx5[_0x7f38[59]](_0x955dx25);_0x955dx5[_0x7f38[242]](_0x955dx25[0])}}var _0x955dxc=_0x7f38[95];var _0x955dxb=_0x955dx5[_0x7f38[110]]()[_0x7f38[109]](_0x955dx5[_0x7f38[93]]());if(_0x955dxb!=null){_0x955dxc=_0x955dxb[_0x7f38[113]][mxConstants[_0x7f38[243]]]||_0x955dxc};_0x955dxc=mxUtils[_0x7f38[97]](mxResources[_0x7f38[26]](_0x7f38[96])+_0x7f38[118]+mxResources[_0x7f38[26]](_0x7f38[244])+_0x7f38[217],_0x955dxc);if(_0x955dxc!=null){if(_0x955dxc[_0x7f38[103]]>0){var _0x955dx27= new Image();_0x955dx27[_0x7f38[245]]=function(){_0x955dx22(_0x955dxc,_0x955dx27[_0x7f38[125]],_0x955dx27[_0x7f38[126]])};_0x955dx27[_0x7f38[246]]=function(){mxUtils[_0x7f38[248]](mxResources[_0x7f38[26]](_0x7f38[247]))};_0x955dx27[_0x7f38[249]]=_0x955dxc}}})};Actions[_0x7f38[4]][_0x7f38[10]]=function(_0x955dx1b,_0x955dx28,_0x955dx29,_0x955dx2a,_0x955dx2b){return this[_0x7f38[28]](_0x955dx1b, new Action(mxResources[_0x7f38[26]](_0x955dx1b),_0x955dx28,_0x955dx29,_0x955dx2a,_0x955dx2b))};Actions[_0x7f38[4]][_0x7f38[28]]=function(_0x955dx2c,_0x955dx15){this[_0x7f38[2]][_0x955dx2c]=_0x955dx15;return _0x955dx15};Actions[_0x7f38[4]][_0x7f38[26]]=function(_0x955dx2c){return this[_0x7f38[2]][_0x955dx2c]};function Action(_0x955dx2e,_0x955dx28,_0x955dx29,_0x955dx2a,_0x955dx2b){mxEventSource[_0x7f38[250]](this);this[_0x7f38[251]]=_0x955dx2e;this[_0x7f38[146]]=_0x955dx28;this[_0x7f38[252]]=(_0x955dx29!=null)?_0x955dx29:true;this[_0x7f38[253]]=_0x955dx2a;this[_0x7f38[254]]=_0x955dx2b}mxUtils[_0x7f38[255]](Action,mxEventSource);Action[_0x7f38[4]][_0x7f38[177]]=function(_0x955dxc){if(this[_0x7f38[252]]!=_0x955dxc){this[_0x7f38[252]]=_0x955dxc;this[_0x7f38[257]]( new mxEventObject(_0x7f38[256]))}};Action[_0x7f38[4]][_0x7f38[169]]=function(_0x955dxc){this[_0x7f38[258]]=_0x955dxc};Action[_0x7f38[4]][_0x7f38[170]]=function(_0x955dx28){this[_0x7f38[259]]=_0x955dx28};Action[_0x7f38[4]][_0x7f38[260]]=function(){return this[_0x7f38[259]]()} \ No newline at end of file +var _0x3560=["\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"];_0x3560[0];function Actions(_0x5e88x2){this[_0x3560[1]]=_0x5e88x2;this[_0x3560[2]]= new Object();this[_0x3560[3]]()}Actions[_0x3560[4]][_0x3560[3]]=function(){var _0x5e88x3=this[_0x3560[1]];var _0x5e88x4=_0x5e88x3[_0x3560[5]];var _0x5e88x5=_0x5e88x4[_0x3560[6]];this[_0x3560[10]](_0x3560[7],function(){_0x5e88x3[_0x3560[9]]( new NewDialog(_0x5e88x3)[_0x3560[8]],300,180,true,true)});this[_0x3560[10]](_0x3560[11],function(){_0x5e88x3[_0x3560[9]]( new OpenDialog(_0x5e88x3)[_0x3560[8]],300,180,true,true)});this[_0x3560[10]](_0x3560[12],function(){_0x5e88x3[_0x3560[13]](false)},null,null,_0x3560[14]);this[_0x3560[10]](_0x3560[15],function(){_0x5e88x3[_0x3560[13]](true)},null,null,_0x3560[16]);this[_0x3560[10]](_0x3560[17],function(){_0x5e88x3[_0x3560[18]](false)},null,null,_0x3560[19]);this[_0x3560[10]](_0x3560[20],function(){_0x5e88x3[_0x3560[9]]( new VariableDialog(_0x5e88x3)[_0x3560[8]],300,180,true,true)});this[_0x3560[10]](_0x3560[21],function(){_0x5e88x3[_0x3560[9]]( new ImportDialog(_0x5e88x3)[_0x3560[8]],300,200,true,true)});this[_0x3560[10]](_0x3560[22],function(){_0x5e88x3[_0x3560[9]]( new ExportDialog(_0x5e88x3)[_0x3560[8]],300,200,true,true)},null,null,_0x3560[23]);this[_0x3560[28]](_0x3560[24], new Action(mxResources[_0x3560[26]](_0x3560[25]),mxUtils[_0x3560[27]](this,function(){this[_0x3560[1]][_0x3560[9]]( new EditFileDialog(_0x5e88x3)[_0x3560[8]],620,420,true,true)})));this[_0x3560[10]](_0x3560[29],function(){_0x5e88x3[_0x3560[9]]( new RenameDialog(_0x5e88x3)[_0x3560[8]],300,180,true,true)});this[_0x3560[10]](_0x3560[30],function(){mxUtils[_0x3560[31]](_0x5e88x5)},null,_0x3560[32],_0x3560[33]);this[_0x3560[10]](_0x3560[34],function(){mxUtils[_0x3560[35]](_0x5e88x5,null,10,10)});this[_0x3560[10]](_0x3560[36],function(){_0x5e88x4[_0x3560[37]][_0x3560[36]]()},null,_0x3560[38],_0x3560[39]);this[_0x3560[10]](_0x3560[40],function(){_0x5e88x4[_0x3560[37]][_0x3560[40]]()},null,_0x3560[41],_0x3560[42]);this[_0x3560[10]](_0x3560[43],function(){mxClipboard[_0x3560[43]](_0x5e88x5)},null,_0x3560[44],_0x3560[45]);this[_0x3560[10]](_0x3560[46],function(){mxClipboard[_0x3560[46]](_0x5e88x5)},null,_0x3560[47],_0x3560[48]);this[_0x3560[10]](_0x3560[49],function(){mxClipboard[_0x3560[49]](_0x5e88x5)},false,_0x3560[50],_0x3560[51]);this[_0x3560[10]](_0x3560[52],function(){_0x5e88x5[_0x3560[53]]()},null,null,_0x3560[54]);this[_0x3560[10]](_0x3560[55],function(){var _0x5e88x6=_0x5e88x5[_0x3560[56]];_0x5e88x5[_0x3560[59]](_0x5e88x5[_0x3560[58]](_0x5e88x5[_0x3560[57]](),_0x5e88x6,_0x5e88x6,true))},null,null,_0x3560[60]);this[_0x3560[10]](_0x3560[61],function(){_0x5e88x5[_0x3560[61]]()},null,null,_0x3560[62]);this[_0x3560[10]](_0x3560[63],function(){_0x5e88x5[_0x3560[63]]()},null,null,_0x3560[64]);this[_0x3560[10]](_0x3560[65],function(){_0x5e88x5[_0x3560[65]]()},null,null,_0x3560[66]);this[_0x3560[10]](_0x3560[67],function(){_0x5e88x5[_0x3560[67]]()},null,null,_0x3560[68]);this[_0x3560[10]](_0x3560[69],function(){_0x5e88x5[_0x3560[69]]()},null,null,_0x3560[70]);this[_0x3560[10]](_0x3560[71],function(){_0x5e88x5[_0x3560[71]]()},null,null,_0x3560[72]);this[_0x3560[10]](_0x3560[73],function(){_0x5e88x5[_0x3560[74]](false)},null,null,_0x3560[75]);this[_0x3560[10]](_0x3560[76],function(){_0x5e88x5[_0x3560[74]](true)},null,null,_0x3560[77]);this[_0x3560[10]](_0x3560[78],function(){_0x5e88x5[_0x3560[79]](false)},null,null,_0x3560[80]);this[_0x3560[10]](_0x3560[81],function(){_0x5e88x5[_0x3560[79]](true)},null,null,_0x3560[82]);this[_0x3560[10]](_0x3560[83],function(){_0x5e88x5[_0x3560[85]](_0x5e88x5[_0x3560[84]](null,0))},null,null,_0x3560[86]);this[_0x3560[10]](_0x3560[87],function(){_0x5e88x5[_0x3560[59]](_0x5e88x5[_0x3560[88]]())},null,null,_0x3560[89]);this[_0x3560[10]](_0x3560[90],function(){_0x5e88x5[_0x3560[91]]()});this[_0x3560[10]](_0x3560[92],function(){var _0x5e88x7=_0x5e88x5[_0x3560[93]]();var _0x5e88x8=_0x5e88x5[_0x3560[94]](_0x5e88x7);if(_0x5e88x8==null){_0x5e88x8=_0x3560[95]};_0x5e88x8=mxUtils[_0x3560[97]](mxResources[_0x3560[26]](_0x3560[96]),_0x5e88x8);if(_0x5e88x8!=null){_0x5e88x5[_0x3560[98]](_0x5e88x7,_0x5e88x8)}});this[_0x3560[10]](_0x3560[99],function(){var _0x5e88x7=_0x5e88x5[_0x3560[93]]();var _0x5e88x8=_0x5e88x5[_0x3560[94]](_0x5e88x7);if(_0x5e88x8!=null){window[_0x3560[11]](_0x5e88x8)}});this[_0x3560[10]](_0x3560[100],function(){var _0x5e88x9=_0x5e88x5[_0x3560[57]]();if(_0x5e88x9!=null){_0x5e88x5[_0x3560[102]]()[_0x3560[101]]();try{for(var _0x5e88xa=0;_0x5e88xa<_0x5e88x9[_0x3560[103]];_0x5e88xa++){var _0x5e88x7=_0x5e88x9[_0x5e88xa];if(_0x5e88x5[_0x3560[102]]()[_0x3560[104]](_0x5e88x7)){_0x5e88x5[_0x3560[105]]([_0x5e88x7],20)}else {_0x5e88x5[_0x3560[106]](_0x5e88x7)}}}finally{_0x5e88x5[_0x3560[102]]()[_0x3560[107]]()}}});this[_0x3560[10]](_0x3560[108],function(){var _0x5e88xb=_0x5e88x5[_0x3560[110]]()[_0x3560[109]](_0x5e88x5[_0x3560[93]]());var _0x5e88xc=_0x3560[111];if(_0x5e88xb!=null&&_0x5e88xb[_0x3560[113]][mxConstants[_0x3560[112]]]==_0x3560[111]){_0x5e88xc=null};_0x5e88x5[_0x3560[114]](mxConstants.STYLE_WHITE_SPACE,_0x5e88xc)});this[_0x3560[10]](_0x3560[115],function(){var _0x5e88xc=_0x3560[116];var _0x5e88xb=_0x5e88x5[_0x3560[110]]()[_0x3560[109]](_0x5e88x5[_0x3560[93]]());if(_0x5e88xb!=null){_0x5e88xc=_0x5e88xb[_0x3560[113]][mxConstants[_0x3560[117]]]||_0x5e88xc};_0x5e88xc=mxUtils[_0x3560[97]](mxResources[_0x3560[26]](_0x3560[96])+_0x3560[118]+mxResources[_0x3560[26]](_0x3560[115])+_0x3560[119],_0x5e88xc);if(_0x5e88xc!=null){_0x5e88x5[_0x3560[114]](mxConstants.STYLE_ROTATION,_0x5e88xc)}});this[_0x3560[10]](_0x3560[120],function(){var _0x5e88x9=_0x5e88x5[_0x3560[57]]();if(_0x5e88x9!=null){_0x5e88x5[_0x3560[102]]()[_0x3560[101]]();try{for(var _0x5e88xa=0;_0x5e88xa<_0x5e88x9[_0x3560[103]];_0x5e88xa++){var _0x5e88x7=_0x5e88x9[_0x5e88xa];if(_0x5e88x5[_0x3560[102]]()[_0x3560[121]](_0x5e88x7)&&_0x5e88x5[_0x3560[102]]()[_0x3560[104]](_0x5e88x7)==0){var _0x5e88xd=_0x5e88x5[_0x3560[122]](_0x5e88x7);if(_0x5e88xd!=null){_0x5e88xd=_0x5e88xd[_0x3560[123]]();_0x5e88xd[_0x3560[124]]+=_0x5e88xd[_0x3560[125]]/2-_0x5e88xd[_0x3560[126]]/2;_0x5e88xd[_0x3560[127]]+=_0x5e88xd[_0x3560[126]]/2-_0x5e88xd[_0x3560[125]]/2;var _0x5e88xe=_0x5e88xd[_0x3560[125]];_0x5e88xd[_0x3560[125]]=_0x5e88xd[_0x3560[126]];_0x5e88xd[_0x3560[126]]=_0x5e88xe;_0x5e88x5[_0x3560[102]]()[_0x3560[128]](_0x5e88x7,_0x5e88xd);var _0x5e88xb=_0x5e88x5[_0x3560[129]][_0x3560[109]](_0x5e88x7);if(_0x5e88xb!=null){var _0x5e88xf=_0x5e88xb[_0x3560[113]][mxConstants[_0x3560[130]]]||_0x3560[131];if(_0x5e88xf==_0x3560[131]){_0x5e88xf=_0x3560[132]}else {if(_0x5e88xf==_0x3560[132]){_0x5e88xf=_0x3560[133]}else {if(_0x5e88xf==_0x3560[133]){_0x5e88xf=_0x3560[134]}else {if(_0x5e88xf==_0x3560[134]){_0x5e88xf=_0x3560[131]}}}};_0x5e88x5[_0x3560[114]](mxConstants.STYLE_DIRECTION,_0x5e88xf,[_0x5e88x7])}}}}}finally{_0x5e88x5[_0x3560[102]]()[_0x3560[107]]()}}},null,null,_0x3560[135]);this[_0x3560[10]](_0x3560[136],function(){_0x5e88x5[_0x3560[137]](1)});this[_0x3560[10]](_0x3560[138],function(){_0x5e88x5[_0x3560[138]]()},null,null,_0x3560[139]);this[_0x3560[10]](_0x3560[140],function(){_0x5e88x5[_0x3560[140]]()},null,null,_0x3560[141]);this[_0x3560[10]](_0x3560[142],function(){_0x5e88x5[_0x3560[143]]()});this[_0x3560[10]](_0x3560[144],mxUtils[_0x3560[27]](this,function(){if(!_0x5e88x5[_0x3560[145]]){this[_0x3560[26]](_0x3560[147])[_0x3560[146]]()};var _0x5e88x10=_0x5e88x5[_0x3560[148]];var _0x5e88x11=_0x5e88x5[_0x3560[149]];var _0x5e88x12=_0x5e88x5[_0x3560[8]][_0x3560[150]]-20;var _0x5e88x13=_0x5e88x5[_0x3560[8]][_0x3560[151]]-20;var _0x5e88x14=Math[_0x3560[153]](100*Math[_0x3560[152]](_0x5e88x12/_0x5e88x10[_0x3560[125]]/_0x5e88x11,_0x5e88x13/_0x5e88x10[_0x3560[126]]/_0x5e88x11))/100;_0x5e88x5[_0x3560[137]](_0x5e88x14);_0x5e88x5[_0x3560[8]][_0x3560[154]]=Math[_0x3560[157]](_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[124]]*_0x5e88x14-Math[_0x3560[156]](10,(_0x5e88x5[_0x3560[8]][_0x3560[150]]-_0x5e88x10[_0x3560[125]]*_0x5e88x11*_0x5e88x14)/2));_0x5e88x5[_0x3560[8]][_0x3560[158]]=Math[_0x3560[157]](_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[127]]*_0x5e88x14-Math[_0x3560[156]](10,(_0x5e88x5[_0x3560[8]][_0x3560[151]]-_0x5e88x10[_0x3560[126]]*_0x5e88x11*_0x5e88x14)/2))}));this[_0x3560[10]](_0x3560[159],mxUtils[_0x3560[27]](this,function(){if(!_0x5e88x5[_0x3560[145]]){this[_0x3560[26]](_0x3560[147])[_0x3560[146]]()};var _0x5e88x10=_0x5e88x5[_0x3560[148]];var _0x5e88x11=_0x5e88x5[_0x3560[149]];var _0x5e88x12=_0x5e88x5[_0x3560[8]][_0x3560[150]]-20;var _0x5e88x14=Math[_0x3560[153]](100*_0x5e88x12/_0x5e88x10[_0x3560[125]]/_0x5e88x11)/100;_0x5e88x5[_0x3560[137]](_0x5e88x14);_0x5e88x5[_0x3560[8]][_0x3560[154]]=Math[_0x3560[157]](_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[124]]*_0x5e88x14-Math[_0x3560[156]](10,(_0x5e88x5[_0x3560[8]][_0x3560[150]]-_0x5e88x10[_0x3560[125]]*_0x5e88x11*_0x5e88x14)/2));_0x5e88x5[_0x3560[8]][_0x3560[158]]=Math[_0x3560[157]](_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[127]]*_0x5e88x14-Math[_0x3560[156]](10,(_0x5e88x5[_0x3560[8]][_0x3560[151]]-_0x5e88x10[_0x3560[126]]*_0x5e88x11*_0x5e88x14)/2))}));this[_0x3560[28]](_0x3560[160], new Action(mxResources[_0x3560[26]](_0x3560[161]),function(){var _0x5e88xc=mxUtils[_0x3560[97]](mxResources[_0x3560[26]](_0x3560[96])+_0x3560[162],parseInt(_0x5e88x5[_0x3560[110]]()[_0x3560[163]]()*100));if(_0x5e88xc!=null&&_0x5e88xc[_0x3560[103]]>0&&!isNaN(parseInt(_0x5e88xc))){_0x5e88x5[_0x3560[137]](parseInt(_0x5e88xc)/100)}}));var _0x5e88x15=null;_0x5e88x15=this[_0x3560[10]](_0x3560[164],function(){_0x5e88x5[_0x3560[166]](!_0x5e88x5[_0x3560[165]]());_0x5e88x4[_0x3560[167]]()},null,null,_0x3560[168]);_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[165]]()});_0x5e88x15=this[_0x3560[10]](_0x3560[171],function(){_0x5e88x5[_0x3560[173]][_0x3560[172]]=!_0x5e88x5[_0x3560[173]][_0x3560[172]]});_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[173]][_0x3560[172]]});_0x5e88x15=this[_0x3560[10]](_0x3560[174],function(){_0x5e88x5[_0x3560[176]][_0x3560[177]](!_0x5e88x5[_0x3560[176]][_0x3560[175]]())});_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[176]][_0x3560[175]]()});_0x5e88x15=this[_0x3560[10]](_0x3560[178],function(){_0x5e88x5[_0x3560[179]]=!_0x5e88x5[_0x3560[179]];_0x5e88x5[_0x3560[129]][_0x3560[180]]()});_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[179]]});_0x5e88x15=this[_0x3560[10]](_0x3560[181],function(){_0x5e88x5[_0x3560[181]]=!_0x5e88x5[_0x3560[181]];_0x5e88x4[_0x3560[167]]();if(!_0x5e88x5[_0x3560[181]]){var _0x5e88x16=_0x5e88x5[_0x3560[129]][_0x3560[155]];_0x5e88x5[_0x3560[129]][_0x3560[183]](_0x5e88x16[_0x3560[124]]-_0x5e88x5[_0x3560[8]][_0x3560[154]]/_0x5e88x5[_0x3560[129]][_0x3560[182]],_0x5e88x16[_0x3560[127]]-_0x5e88x5[_0x3560[8]][_0x3560[158]]/_0x5e88x5[_0x3560[129]][_0x3560[182]]);_0x5e88x5[_0x3560[8]][_0x3560[154]]=0;_0x5e88x5[_0x3560[8]][_0x3560[158]]=0;_0x5e88x5[_0x3560[184]]()}else {var _0x5e88x17=_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[124]];var _0x5e88x18=_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[127]];_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[124]]=0;_0x5e88x5[_0x3560[129]][_0x3560[155]][_0x3560[127]]=0;_0x5e88x5[_0x3560[184]]();_0x5e88x5[_0x3560[8]][_0x3560[154]]-=Math[_0x3560[157]](_0x5e88x17*_0x5e88x5[_0x3560[129]][_0x3560[182]]);_0x5e88x5[_0x3560[8]][_0x3560[158]]-=Math[_0x3560[157]](_0x5e88x18*_0x5e88x5[_0x3560[129]][_0x3560[182]])}},!mxClient.IS_TOUCH);_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[8]][_0x3560[113]][_0x3560[185]]==_0x3560[186]});_0x5e88x15=this[_0x3560[10]](_0x3560[147],mxUtils[_0x3560[27]](this,function(){_0x5e88x5[_0x3560[145]]=!_0x5e88x5[_0x3560[145]];_0x5e88x5[_0x3560[187]]=_0x5e88x5[_0x3560[145]];_0x5e88x5[_0x3560[188]]=_0x5e88x5[_0x3560[187]];_0x5e88x5[_0x3560[129]][_0x3560[189]]();_0x5e88x5[_0x3560[184]]();_0x5e88x4[_0x3560[167]]();_0x5e88x4[_0x3560[191]][_0x3560[190]]();if(mxUtils[_0x3560[192]](_0x5e88x5[_0x3560[8]])){if(_0x5e88x5[_0x3560[145]]){_0x5e88x5[_0x3560[8]][_0x3560[154]]-=20;_0x5e88x5[_0x3560[8]][_0x3560[158]]-=20}else {_0x5e88x5[_0x3560[8]][_0x3560[154]]+=20;_0x5e88x5[_0x3560[8]][_0x3560[158]]+=20}}}));_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[145]]});_0x5e88x15=this[_0x3560[10]](_0x3560[193],function(){_0x5e88x5[_0x3560[195]](!_0x5e88x5[_0x3560[194]][_0x3560[175]]())},null,null,_0x3560[196]);_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[194]][_0x3560[175]]()});_0x5e88x15=this[_0x3560[10]](_0x3560[197],function(){_0x5e88x5[_0x3560[194]][_0x3560[199]](!_0x5e88x5[_0x3560[194]][_0x3560[198]]())});_0x5e88x15[_0x3560[169]](true);_0x5e88x15[_0x3560[170]](function(){return _0x5e88x5[_0x3560[194]][_0x3560[198]]()});this[_0x3560[10]](_0x3560[200],function(){var _0x5e88x19=_0x3560[95];if(mxResources[_0x3560[202]](mxClient[_0x3560[201]])){_0x5e88x19=_0x3560[203]+mxClient[_0x3560[201]]};window[_0x3560[11]](_0x3560[204])});this[_0x3560[28]](_0x3560[205], new Action(mxResources[_0x3560[26]](_0x3560[205])+_0x3560[206],function(){_0x5e88x3[_0x3560[9]]( new AboutDialog(_0x5e88x3)[_0x3560[8]],320,280,true,true)},null,null,_0x3560[207]));var _0x5e88x1a=mxUtils[_0x3560[27]](this,function(_0x5e88x1b,_0x5e88x1c){this[_0x3560[10]](_0x5e88x1b,function(){_0x5e88x5[_0x3560[208]](mxConstants.STYLE_FONTSTYLE,_0x5e88x1c)})});_0x5e88x1a(_0x3560[209],mxConstants.FONT_BOLD);_0x5e88x1a(_0x3560[210],mxConstants.FONT_ITALIC);_0x5e88x1a(_0x3560[211],mxConstants.FONT_UNDERLINE);this[_0x3560[10]](_0x3560[212],function(){_0x5e88x5[_0x3560[213]](mxConstants.STYLE_SHADOW)});this[_0x3560[10]](_0x3560[214],function(){_0x5e88x5[_0x3560[213]](mxConstants.STYLE_DASHED)});this[_0x3560[10]](_0x3560[215],function(){_0x5e88x5[_0x3560[213]](mxConstants.STYLE_ROUNDED)});this[_0x3560[10]](_0x3560[216],function(){_0x5e88x5[_0x3560[213]](mxConstants.STYLE_CURVED)});this[_0x3560[10]](_0x3560[113],function(){var _0x5e88x9=_0x5e88x5[_0x3560[57]]();if(_0x5e88x9!=null&&_0x5e88x9[_0x3560[103]]>0){var _0x5e88x1d=_0x5e88x5[_0x3560[102]]();var _0x5e88x1c=mxUtils[_0x3560[97]](mxResources[_0x3560[26]](_0x3560[96])+_0x3560[118]+mxResources[_0x3560[26]](_0x3560[113])+_0x3560[217],_0x5e88x1d[_0x3560[218]](_0x5e88x9[0])||_0x3560[95]);if(_0x5e88x1c!=null){_0x5e88x5[_0x3560[219]](_0x5e88x1c,_0x5e88x9)}}});this[_0x3560[10]](_0x3560[220],function(){_0x5e88x5[_0x3560[221]](_0x5e88x5[_0x3560[93]]())});this[_0x3560[10]](_0x3560[222],function(){var _0x5e88x7=_0x5e88x5[_0x3560[93]]();if(_0x5e88x7!=null&&_0x5e88x5[_0x3560[102]]()[_0x3560[223]](_0x5e88x7)){var _0x5e88x1e=_0x5e88x4[_0x3560[6]][_0x3560[225]][_0x3560[224]](_0x5e88x7);if(_0x5e88x1e instanceof mxEdgeHandler){var _0x5e88x16=_0x5e88x5[_0x3560[129]][_0x3560[155]];var _0x5e88x6=_0x5e88x5[_0x3560[129]][_0x3560[182]];var _0x5e88x17=_0x5e88x16[_0x3560[124]];var _0x5e88x18=_0x5e88x16[_0x3560[127]];var _0x5e88x1f=_0x5e88x5[_0x3560[102]]()[_0x3560[226]](_0x5e88x7);var _0x5e88x20=_0x5e88x5[_0x3560[122]](_0x5e88x1f);if(_0x5e88x5[_0x3560[102]]()[_0x3560[121]](_0x5e88x1f)&&_0x5e88x20!=null){_0x5e88x17+=_0x5e88x20[_0x3560[124]];_0x5e88x18+=_0x5e88x20[_0x3560[127]]};_0x5e88x1e[_0x3560[231]](_0x5e88x1e[_0x3560[227]],_0x5e88x5[_0x3560[229]][_0x3560[228]]/_0x5e88x6-_0x5e88x17,_0x5e88x5[_0x3560[229]][_0x3560[230]]/_0x5e88x6-_0x5e88x18)}}});this[_0x3560[10]](_0x3560[232],function(){var _0x5e88x21=_0x5e88x3[_0x3560[2]][_0x3560[26]](_0x3560[232]);if(_0x5e88x21[_0x3560[233]]!=null){_0x5e88x21[_0x3560[233]][_0x3560[235]](_0x5e88x21[_0x3560[233]][_0x3560[227]],_0x5e88x21[_0x3560[234]])}});this[_0x3560[10]](_0x3560[236],function(){function _0x5e88x22(_0x5e88xc,_0x5e88x23,_0x5e88x24){var _0x5e88x25=null;var _0x5e88x9=_0x5e88x5[_0x3560[57]]();_0x5e88x5[_0x3560[102]]()[_0x3560[101]]();try{if(_0x5e88x9[_0x3560[103]]==0){var _0x5e88x26=_0x5e88x5[_0x3560[237]]();_0x5e88x9=[_0x5e88x5[_0x3560[239]](_0x5e88x5[_0x3560[238]](),null,_0x3560[95],_0x5e88x26,_0x5e88x26,_0x5e88x23,_0x5e88x24)];_0x5e88x25=_0x5e88x9};_0x5e88x5[_0x3560[114]](mxConstants.STYLE_IMAGE,_0x5e88xc,_0x5e88x9);_0x5e88x5[_0x3560[114]](mxConstants.STYLE_SHAPE,_0x3560[236],_0x5e88x9);if(_0x5e88x5[_0x3560[240]]()==1){if(_0x5e88x23!=null&&_0x5e88x24!=null){var _0x5e88x7=_0x5e88x9[0];var _0x5e88xd=_0x5e88x5[_0x3560[102]]()[_0x3560[241]](_0x5e88x7);if(_0x5e88xd!=null){_0x5e88xd=_0x5e88xd[_0x3560[123]]();_0x5e88xd[_0x3560[125]]=_0x5e88x23;_0x5e88xd[_0x3560[126]]=_0x5e88x24;_0x5e88x5[_0x3560[102]]()[_0x3560[128]](_0x5e88x7,_0x5e88xd)}}}}finally{_0x5e88x5[_0x3560[102]]()[_0x3560[107]]()};if(_0x5e88x25!=null){_0x5e88x5[_0x3560[59]](_0x5e88x25);_0x5e88x5[_0x3560[242]](_0x5e88x25[0])}}var _0x5e88xc=_0x3560[95];var _0x5e88xb=_0x5e88x5[_0x3560[110]]()[_0x3560[109]](_0x5e88x5[_0x3560[93]]());if(_0x5e88xb!=null){_0x5e88xc=_0x5e88xb[_0x3560[113]][mxConstants[_0x3560[243]]]||_0x5e88xc};_0x5e88xc=mxUtils[_0x3560[97]](mxResources[_0x3560[26]](_0x3560[96])+_0x3560[118]+mxResources[_0x3560[26]](_0x3560[244])+_0x3560[217],_0x5e88xc);if(_0x5e88xc!=null){if(_0x5e88xc[_0x3560[103]]>0){var _0x5e88x27= new Image();_0x5e88x27[_0x3560[245]]=function(){_0x5e88x22(_0x5e88xc,_0x5e88x27[_0x3560[125]],_0x5e88x27[_0x3560[126]])};_0x5e88x27[_0x3560[246]]=function(){mxUtils[_0x3560[248]](mxResources[_0x3560[26]](_0x3560[247]))};_0x5e88x27[_0x3560[249]]=_0x5e88xc}}})};Actions[_0x3560[4]][_0x3560[10]]=function(_0x5e88x1b,_0x5e88x28,_0x5e88x29,_0x5e88x2a,_0x5e88x2b){return this[_0x3560[28]](_0x5e88x1b, new Action(mxResources[_0x3560[26]](_0x5e88x1b),_0x5e88x28,_0x5e88x29,_0x5e88x2a,_0x5e88x2b))};Actions[_0x3560[4]][_0x3560[28]]=function(_0x5e88x2c,_0x5e88x15){this[_0x3560[2]][_0x5e88x2c]=_0x5e88x15;return _0x5e88x15};Actions[_0x3560[4]][_0x3560[26]]=function(_0x5e88x2c){return this[_0x3560[2]][_0x5e88x2c]};function Action(_0x5e88x2e,_0x5e88x28,_0x5e88x29,_0x5e88x2a,_0x5e88x2b){mxEventSource[_0x3560[250]](this);this[_0x3560[251]]=_0x5e88x2e;this[_0x3560[146]]=_0x5e88x28;this[_0x3560[252]]=(_0x5e88x29!=null)?_0x5e88x29:true;this[_0x3560[253]]=_0x5e88x2a;this[_0x3560[254]]=_0x5e88x2b}mxUtils[_0x3560[255]](Action,mxEventSource);Action[_0x3560[4]][_0x3560[177]]=function(_0x5e88xc){if(this[_0x3560[252]]!=_0x5e88xc){this[_0x3560[252]]=_0x5e88xc;this[_0x3560[257]]( new mxEventObject(_0x3560[256]))}};Action[_0x3560[4]][_0x3560[169]]=function(_0x5e88xc){this[_0x3560[258]]=_0x5e88xc};Action[_0x3560[4]][_0x3560[170]]=function(_0x5e88x28){this[_0x3560[259]]=_0x5e88x28};Action[_0x3560[4]][_0x3560[260]]=function(){return this[_0x3560[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 0ea840e..f509340 100644 --- a/public/assets/plugins/square/js/Dialogs.js +++ b/public/assets/plugins/square/js/Dialogs.js @@ -1 +1 @@ -var _0x2ce6=["\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","","\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\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","\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","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x63\x6F\x6D\x6D\x61\x6E\x64","\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"];_0x2ce6[0];function createCheckbox(_0x709cx2){var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[5]](_0x2ce6[3],_0x2ce6[4]);if(_0x709cx2){_0x709cx3[_0x2ce6[5]](_0x2ce6[6],true)};return _0x709cx3}function createDropdownFromApi(_0x709cx5,_0x709cx2,_0x709cx6,_0x709cx7,_0x709cx8,_0x709cx9,_0x709cxa){var _0x709cxb= new XMLHttpRequest();_0x709cxb[_0x2ce6[8]](_0x2ce6[7],_0x709cx5,false);_0x709cxb[_0x2ce6[14]](_0x2ce6[9],_0x2ce6[10]+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[11]]);_0x709cxb[_0x2ce6[15]](null);var _0x709cxc=[];if(_0x709cxb[_0x2ce6[16]]===200){_0x709cxc=JSON[_0x2ce6[18]](_0x709cxb[_0x2ce6[17]])};var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[19]);var _0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[21]]=_0x2ce6[22];_0x709cxd[_0x2ce6[23]]=_0x2ce6[24];_0x709cx3[_0x2ce6[25]](_0x709cxd);_0x709cxc[_0x2ce6[30]][_0x2ce6[28]](function(_0x709cxe){_0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[21]]=_0x709cxe[_0x709cx6];if(_0x709cx9&&_0x709cxa){_0x709cx9[_0x2ce6[28]](function(_0x709cxf){_0x709cxa=_0x709cxa[_0x2ce6[27]](_0x2ce6[26]+_0x709cxf+_0x2ce6[26],_0x709cxe[_0x709cxf])});_0x709cxd[_0x2ce6[23]]=_0x709cxa;_0x709cxd[_0x2ce6[29]]=(_0x709cxa==_0x709cx2)}else {_0x709cxd[_0x2ce6[23]]=_0x709cxe[_0x709cx7];_0x709cxd[_0x2ce6[29]]=(_0x709cxe[_0x709cx7]==_0x709cx2)};_0x709cx3[_0x2ce6[25]](_0x709cxd)});_0x709cx3[_0x2ce6[31]]=_0x2ce6[32];return _0x709cx3}function createGroupedDropdownFromApi(_0x709cx5,_0x709cx2,_0x709cx6,_0x709cx7,_0x709cx8,_0x709cx11){var _0x709cxb= new XMLHttpRequest();_0x709cxb[_0x2ce6[8]](_0x2ce6[7],_0x709cx5,false);_0x709cxb[_0x2ce6[14]](_0x2ce6[9],_0x2ce6[10]+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[11]]);_0x709cxb[_0x2ce6[15]](null);var _0x709cxc=[];if(_0x709cxb[_0x2ce6[16]]===200){_0x709cxc=JSON[_0x2ce6[18]](_0x709cxb[_0x2ce6[17]])};var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[19]);var _0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[21]]=_0x2ce6[22];_0x709cxd[_0x2ce6[23]]=_0x2ce6[33];_0x709cx3[_0x2ce6[25]](_0x709cxd);_0x709cxc[_0x2ce6[30]][_0x2ce6[28]](function(_0x709cxe){_0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[31]]=_0x2ce6[34];_0x709cxd[_0x2ce6[21]]=_0x709cxe[_0x709cx6][_0x2ce6[35]]();_0x709cxd[_0x2ce6[23]]=_0x709cxe[_0x709cx7];_0x709cxd[_0x2ce6[29]]=(_0x709cxe[_0x709cx7]==_0x709cx2);_0x709cx3[_0x2ce6[25]](_0x709cxd);_0x709cxe[_0x709cx11][_0x2ce6[28]](function(_0x709cxe){_0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[31]]=_0x2ce6[36];_0x709cxd[_0x2ce6[21]]=_0x2ce6[37]+_[_0x2ce6[38]](_0x709cxe[_0x709cx6]);_0x709cxd[_0x2ce6[23]]=_0x709cxe[_0x709cx7];_0x709cxd[_0x2ce6[29]]=(_0x709cxe[_0x709cx7]==_0x709cx2);_0x709cx3[_0x2ce6[25]](_0x709cxd)})});_0x709cx3[_0x2ce6[31]]=_0x2ce6[32];return _0x709cx3}function createDropdownFromArray(_0x709cx13,_0x709cx2){var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[19]);for(var _0x709cx14 in _0x709cx13){var _0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[21]]=_0x709cx13[_0x709cx14];_0x709cxd[_0x2ce6[23]]=_0x709cx14;if(_0x709cx2>0||_0x709cx2!=_0x2ce6[39]){_0x709cxd[_0x2ce6[29]]=(_0x709cx2===_0x709cx14)?true:false};_0x709cx3[_0x2ce6[25]](_0x709cxd)};_0x709cx3[_0x2ce6[31]]=_0x2ce6[32];return _0x709cx3}function Dialog(_0x709cx8,_0x709cx16,_0x709cx17,_0x709cx18,_0x709cx19,_0x709cx1a,_0x709cx1b){var _0x709cx1c=0;if(mxClient[_0x2ce6[40]]&&document[_0x2ce6[41]]!=9){_0x709cx1c=60};_0x709cx17+=_0x709cx1c;_0x709cx18+=_0x709cx1c;var _0x709cx1d=Math[_0x2ce6[45]](0,Math[_0x2ce6[44]]((document[_0x2ce6[43]][_0x2ce6[42]]-_0x709cx17)/2));var _0x709cx1e=Math[_0x2ce6[45]](0,Math[_0x2ce6[44]]((Math[_0x2ce6[45]](document[_0x2ce6[43]][_0x2ce6[46]],document[_0x2ce6[47]][_0x2ce6[46]])-_0x709cx18)/3));var _0x709cx1f=_0x709cx8[_0x2ce6[49]](_0x2ce6[48]);_0x709cx1f[_0x2ce6[31]]=_0x2ce6[50];_0x709cx1f[_0x2ce6[52]][_0x2ce6[51]]=_0x2ce6[53];_0x709cx1f[_0x2ce6[52]][_0x2ce6[54]]=_0x2ce6[55];var _0x709cx20=_0x709cx8[_0x2ce6[49]](_0x2ce6[56]);_0x709cx20[_0x2ce6[31]]=_0x2ce6[57];_0x709cx20[_0x2ce6[25]](_0x709cx16);_0x709cx1f[_0x2ce6[25]](_0x709cx20);if(this[_0x2ce6[58]]==null){this[_0x2ce6[58]]=_0x709cx8[_0x2ce6[49]](_0x2ce6[59]);this[_0x2ce6[58]][_0x2ce6[31]]=_0x2ce6[60];if(mxClient[_0x2ce6[61]]){ new mxDivResizer(this[_0x2ce6[58]])}};if(_0x709cx19){document[_0x2ce6[43]][_0x2ce6[25]](this[_0x2ce6[58]])};document[_0x2ce6[43]][_0x2ce6[25]](_0x709cx1f);this[_0x2ce6[62]]=_0x709cx1b;this[_0x2ce6[63]]=_0x709cx1f}Dialog[_0x2ce6[65]][_0x2ce6[64]]=function(){if(this[_0x2ce6[62]]!=null){this[_0x2ce6[62]]();this[_0x2ce6[62]]=null};this[_0x2ce6[63]][_0x2ce6[67]][_0x2ce6[66]](this[_0x2ce6[63]]);this[_0x2ce6[58]][_0x2ce6[67]][_0x2ce6[66]](this[_0x2ce6[58]])};function ImportDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[74])+_0x2ce6[76]);var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[81]);var _0x709cx2a=document[_0x2ce6[2]](_0x2ce6[82]);_0x709cx2a[_0x2ce6[52]][_0x2ce6[83]]=_0x2ce6[84];_0x709cx2a[_0x2ce6[52]][_0x2ce6[85]]=_0x2ce6[86];var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[3]]=_0x2ce6[87];_0x709cx3[_0x2ce6[5]](_0x2ce6[88],_0x2ce6[89]);_0x709cx3[_0x2ce6[99]](_0x2ce6[90],function _0x709cx2b(_0x709cx2c){var _0x709cx2d=_0x709cx2c[_0x2ce6[92]][_0x2ce6[91]][0];console[_0x2ce6[93]](_0x709cx2d);if(_0x709cx2d){if(_0x709cx2d[_0x2ce6[3]]===_0x2ce6[89]){var _0x709cx2e= new FileReader();_0x709cx2e[_0x2ce6[94]]=function(_0x709cx2f){var _0x709cx30=_0x709cx2f[_0x2ce6[92]][_0x2ce6[95]];mxUtils[_0x2ce6[77]](_0x709cx2a,_0x709cx30)};_0x709cx2e[_0x2ce6[96]](_0x709cx2d)}else {alert(_0x2ce6[97])}}else {alert(_0x2ce6[98])}},false);_0x709cx29[_0x2ce6[25]](_0x709cx3);_0x709cx29[_0x2ce6[25]](_0x709cx2a);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[74]),mxUtils[_0x2ce6[102]](this,function(_0x709cx32){var _0x709cx33=mxUtils[_0x2ce6[100]](_0x709cx2a[_0x2ce6[23]]);_0x709cx8[_0x2ce6[13]][_0x2ce6[101]](_0x709cx33[_0x2ce6[47]]);_0x709cx8[_0x2ce6[78]]()}));_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function AboutDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[106])+_0x2ce6[107]);var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx36=document[_0x2ce6[2]](_0x2ce6[108]);_0x709cx36[_0x2ce6[52]][_0x2ce6[109]]=_0x2ce6[110];_0x709cx36[_0x2ce6[5]](_0x2ce6[83],_0x2ce6[111]);_0x709cx36[_0x2ce6[5]](_0x2ce6[83],_0x2ce6[112]);_0x709cx36[_0x2ce6[5]](_0x2ce6[113],IMAGE_PATH+_0x2ce6[114]);_0x709cx24[_0x2ce6[25]](_0x709cx36);mxUtils[_0x2ce6[115]](_0x709cx24);mxUtils[_0x2ce6[77]](_0x709cx24,_0x2ce6[116]+mxClient[_0x2ce6[117]]);mxUtils[_0x2ce6[115]](_0x709cx24);var _0x709cx37=document[_0x2ce6[2]](_0x2ce6[118]);_0x709cx37[_0x2ce6[5]](_0x2ce6[119],_0x2ce6[120]);_0x709cx37[_0x2ce6[5]](_0x2ce6[92],_0x2ce6[121]);mxUtils[_0x2ce6[77]](_0x709cx37,_0x2ce6[122]);_0x709cx24[_0x2ce6[25]](_0x709cx37);mxUtils[_0x2ce6[115]](_0x709cx24);mxUtils[_0x2ce6[115]](_0x709cx24);var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[64]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function SaveDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[123]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx39=_0x2ce6[124];var _0x709cx3a=_0x2ce6[125]+_0x709cx39;var _0x709cx2=_0x709cx8[_0x2ce6[13]][_0x2ce6[126]]();var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[127]);var _0x709cx3b=_0x709cx8[_0x2ce6[49]](_0x2ce6[128]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[130];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x709cx39));_0x709cx29[_0x2ce6[25]](_0x709cx3c);var _0x709cx3d=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[23],_0x709cx2+_0x2ce6[131]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[132],_0x709cx3a);_0x709cx3d[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3b[_0x2ce6[25]](_0x709cx3d);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx28[_0x2ce6[25]](_0x709cx3b);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[134]),function(){_0x709cx8[_0x2ce6[123]](_0x709cx3d[_0x2ce6[23]]);_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function NewDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[135]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx39=_0x2ce6[124];var _0x709cx3a=_0x2ce6[125]+_0x709cx39;var _0x709cx2=_0x709cx8[_0x2ce6[13]][_0x2ce6[126]]();var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[127]);var _0x709cx3b=_0x709cx8[_0x2ce6[49]](_0x2ce6[128]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[130];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x709cx39));_0x709cx29[_0x2ce6[25]](_0x709cx3c);var _0x709cx3d=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[23],_0x709cx2+_0x2ce6[136]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[132],_0x709cx3a);_0x709cx3d[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3b[_0x2ce6[25]](_0x709cx3d);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx28[_0x2ce6[25]](_0x709cx3b);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[135]),function(){_0x709cx8[_0x2ce6[135]](_0x709cx3d[_0x2ce6[23]]);_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function VariableDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[137]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx39=_0x2ce6[124];var _0x709cx3a=_0x2ce6[125]+_0x709cx39;var _0x709cx2=_0x709cx8[_0x2ce6[13]][_0x2ce6[126]]();var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[127]);var _0x709cx3b=_0x709cx8[_0x2ce6[49]](_0x2ce6[128]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[130];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x709cx39));_0x709cx29[_0x2ce6[25]](_0x709cx3c);var _0x709cx3d=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[23],_0x2ce6[138]);_0x709cx3d[_0x2ce6[5]](_0x2ce6[132],_0x709cx3a);_0x709cx3d[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3b[_0x2ce6[25]](_0x709cx3d);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx28[_0x2ce6[25]](_0x709cx3b);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[135]),function(){_0x709cx8[_0x2ce6[137]](_0x709cx3d[_0x2ce6[23]]);_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function OpenDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[8]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[127]);var _0x709cx3b=_0x709cx8[_0x2ce6[49]](_0x2ce6[128]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[130];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x2ce6[124]));_0x709cx29[_0x2ce6[25]](_0x709cx3c);var _0x709cxb= new XMLHttpRequest();_0x709cxb[_0x2ce6[8]](_0x2ce6[7],_0x2ce6[139],false);_0x709cxb[_0x2ce6[14]](_0x2ce6[9],_0x2ce6[10]+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[11]]);_0x709cxb[_0x2ce6[15]](null);var _0x709cxc=[];if(_0x709cxb[_0x2ce6[16]]===200){_0x709cxc=JSON[_0x2ce6[18]](_0x709cxb[_0x2ce6[17]])};var _0x709cx3d=document[_0x2ce6[2]](_0x2ce6[19]);for(var _0x709cx41=0;_0x709cx41<_0x709cxc[_0x2ce6[140]];_0x709cx41++){var _0x709cxd=document[_0x2ce6[2]](_0x2ce6[20]);_0x709cxd[_0x2ce6[21]]=_0x709cxc[_0x709cx41][_0x2ce6[124]];_0x709cxd[_0x2ce6[23]]=_0x709cxc[_0x709cx41][_0x2ce6[132]];_0x709cx3d[_0x2ce6[25]](_0x709cxd)};_0x709cx3d[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3b[_0x2ce6[25]](_0x709cx3d);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx28[_0x2ce6[25]](_0x709cx3b);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[8]),function(){console[_0x2ce6[93]](_0x709cx3d);console[_0x2ce6[93]](_0x709cx3d[_0x2ce6[23]]);window[_0x2ce6[8]](_0x2ce6[141]+_0x709cx3d[_0x2ce6[23]],_0x2ce6[121]);_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function RenameDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[142]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[127]);var _0x709cx3b=_0x709cx8[_0x2ce6[49]](_0x2ce6[128]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[130];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x2ce6[124]));_0x709cx29[_0x2ce6[25]](_0x709cx3c);var _0x709cx39=_0x709cx8[_0x2ce6[13]][_0x2ce6[143]];var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[5]](_0x2ce6[23],_0x709cx39);_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3b[_0x2ce6[25]](_0x709cx3);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx28[_0x2ce6[25]](_0x709cx3b);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[134]),function(){var _0x709cxb= new XMLHttpRequest();_0x709cxb[_0x2ce6[8]](_0x2ce6[144],SAVE_URL+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[132]],true);_0x709cxb[_0x2ce6[14]](_0x2ce6[145],_0x2ce6[146]);_0x709cxb[_0x2ce6[14]](_0x2ce6[9],_0x2ce6[10]+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[11]]);_0x709cxb[_0x2ce6[15]](_0x2ce6[147]+_0x709cx3[_0x2ce6[23]]);_0x709cxb[_0x2ce6[94]]=function(_0x709cx2f){if(_0x709cxb[_0x2ce6[16]]===200){_0x709cx8[_0x2ce6[13]][_0x2ce6[149]](_0x2ce6[148]);_0x709cx8[_0x2ce6[13]][_0x2ce6[143]]=_0x709cx3[_0x2ce6[23]]}else {console[_0x2ce6[93]](_0x709cxb[_0x2ce6[17]]);_0x709cx8[_0x2ce6[13]][_0x2ce6[149]](JSON[_0x2ce6[18]](_0x709cxb[_0x2ce6[17]])[_0x2ce6[151]][0][_0x2ce6[150]])}};_0x709cxb[_0x2ce6[152]]=function(_0x709cx2f){mxUtils[_0x2ce6[154]](_0x709cxb[_0x2ce6[153]])};_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function EditFileDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[70]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[155]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx28=_0x709cx8[_0x2ce6[49]](_0x2ce6[80]);var _0x709cx29=_0x709cx8[_0x2ce6[49]](_0x2ce6[81]);var _0x709cx2a=document[_0x2ce6[2]](_0x2ce6[82]);_0x709cx2a[_0x2ce6[52]][_0x2ce6[83]]=_0x2ce6[84];_0x709cx2a[_0x2ce6[52]][_0x2ce6[85]]=_0x2ce6[86];_0x709cx2a[_0x2ce6[23]]=mxUtils[_0x2ce6[157]](_0x709cx8[_0x2ce6[13]][_0x2ce6[156]]());if(fileSupport){function _0x709cx44(_0x709cx2c){_0x709cx2c[_0x2ce6[158]]();_0x709cx2c[_0x2ce6[159]]();if(_0x709cx2c[_0x2ce6[160]][_0x2ce6[91]][_0x2ce6[140]]>0){var _0x709cx45=_0x709cx2c[_0x2ce6[160]][_0x2ce6[91]][0];var _0x709cx46= new FileReader();_0x709cx46[_0x2ce6[94]]=function(_0x709cx2f){_0x709cx2a[_0x2ce6[23]]=_0x709cx2f[_0x2ce6[92]][_0x2ce6[95]]};_0x709cx46[_0x2ce6[96]](_0x709cx45)}}function _0x709cx47(_0x709cx2c){_0x709cx2c[_0x2ce6[158]]();_0x709cx2c[_0x2ce6[159]]()}_0x709cx2a[_0x2ce6[99]](_0x2ce6[161],_0x709cx47,false);_0x709cx2a[_0x2ce6[99]](_0x2ce6[162],_0x709cx44,false)};_0x709cx29[_0x2ce6[25]](_0x709cx2a);_0x709cx28[_0x2ce6[25]](_0x709cx29);_0x709cx24[_0x2ce6[25]](_0x709cx28);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[134]),function(){var _0x709cx33=mxUtils[_0x2ce6[100]](_0x709cx2a[_0x2ce6[23]]);_0x709cx8[_0x2ce6[13]][_0x2ce6[101]](_0x709cx33[_0x2ce6[47]]);_0x709cx8[_0x2ce6[78]]()});_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function ExportDialog(_0x709cx8){var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[163]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[164])+_0x2ce6[76]);var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx49=_0x709cx8[_0x2ce6[49]](_0x2ce6[165]);var _0x709cx4a=_0x709cx8[_0x2ce6[49]](_0x2ce6[166]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[167];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x2ce6[143]));var _0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[5]](_0x2ce6[23],_0x709cx8[_0x2ce6[13]][_0x2ce6[126]]());_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];var _0x709cx1f=_0x709cx8[_0x2ce6[49]](_0x2ce6[168]);_0x709cx1f[_0x2ce6[25]](_0x709cx3);_0x709cx4a[_0x2ce6[25]](_0x709cx3c);_0x709cx4a[_0x2ce6[25]](_0x709cx1f);_0x709cx49[_0x2ce6[25]](_0x709cx4a);_0x709cx24[_0x2ce6[25]](_0x709cx49);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[164]),mxUtils[_0x2ce6[102]](this,function(_0x709cx32){_0x709cx8[_0x2ce6[134]](false);var _0x709cx4b=encodeURIComponent(mxUtils[_0x2ce6[169]](_0x709cx8[_0x2ce6[13]][_0x2ce6[156]]())); new mxXmlRequest(SAVE_URL+_0x709cx8[_0x2ce6[13]][_0x2ce6[12]][_0x2ce6[132]]+_0x2ce6[171],_0x2ce6[172]+_0x709cx3[_0x2ce6[23]],_0x2ce6[7])[_0x2ce6[170]](document,_0x2ce6[121]);_0x709cx8[_0x2ce6[78]]()}));_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22}function GeneralDialog(_0x709cx8,_0x709cx4d){var _0x709cx4e=_0x709cx8[_0x2ce6[13]][_0x2ce6[173]];var _0x709cx22=_0x709cx8[_0x2ce6[49]](_0x2ce6[68]);var _0x709cx23=_0x709cx8[_0x2ce6[49]](_0x2ce6[69]);var _0x709cx24=_0x709cx8[_0x2ce6[49]](_0x2ce6[174]);var _0x709cx25=_0x709cx8[_0x2ce6[49]](_0x2ce6[71]);var _0x709cx26=_0x709cx8[_0x2ce6[73]](_0x2ce6[72]);mxUtils[_0x2ce6[77]](_0x709cx26,mxResources[_0x2ce6[75]](_0x2ce6[155])+_0x2ce6[175]+mxResources[_0x2ce6[75]](_0x709cx4d[_0x2ce6[23]][_0x2ce6[176]]));var _0x709cx27=mxUtils[_0x2ce6[79]](_0x2ce6[39],function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx27[_0x2ce6[31]]=_0x2ce6[64];_0x709cx23[_0x2ce6[25]](_0x709cx27);_0x709cx23[_0x2ce6[25]](_0x709cx26);var _0x709cx4f=_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x2ce6[140]];var _0x709cx49=_0x709cx8[_0x2ce6[49]](_0x2ce6[165]);for(var _0x709cx50=0;_0x709cx50<_0x709cx4f;_0x709cx50++){var _0x709cx39=_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x709cx50][_0x2ce6[124]];var _0x709cx3a=_0x2ce6[125]+_0x709cx39;var _0x709cx2=_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x709cx50][_0x2ce6[23]];var _0x709cx4a=_0x709cx8[_0x2ce6[49]]((_0x709cx50==_0x709cx4f-1)?_0x2ce6[166]:_0x2ce6[178]);var _0x709cx3c=document[_0x2ce6[2]](_0x2ce6[129]);_0x709cx3c[_0x2ce6[31]]=_0x2ce6[167];mxUtils[_0x2ce6[77]](_0x709cx3c,mxResources[_0x2ce6[75]](_0x709cx39));_0x709cx4a[_0x2ce6[25]](_0x709cx3c);var _0x709cx3;switch(_0x709cx39){case _0x2ce6[180]:_0x709cx3=createDropdownFromApi(_0x2ce6[179],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[182]:_0x709cx3=createDropdownFromApi(_0x2ce6[181],_0x709cx2,_0x2ce6[124],_0x2ce6[124],_0x709cx8);break;case _0x2ce6[184]:_0x709cx3=createDropdownFromApi(_0x2ce6[183],_0x709cx2,_0x2ce6[124],_0x2ce6[124],_0x709cx8);break;case _0x2ce6[186]:_0x709cx3=createDropdownFromApi(_0x2ce6[185],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[188]:_0x709cx3=createDropdownFromApi(_0x2ce6[187],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[190]:_0x709cx3=createDropdownFromApi(_0x2ce6[189],_0x709cx2,_0x2ce6[124],_0x2ce6[124],_0x709cx8);break;case _0x2ce6[192]:_0x709cx3=createDropdownFromApi(_0x2ce6[191],_0x709cx2,_0x2ce6[192],_0x2ce6[132],_0x709cx8,[_0x2ce6[192],_0x2ce6[190]],_0x2ce6[193]);break;case _0x2ce6[194]:_0x709cx3=createDropdownFromArray(ISPEECHASRMODEL,_0x709cx2);break;case _0x2ce6[195]:_0x709cx3=createDropdownFromArray(ISPEECHASRLANG,_0x709cx2);break;case _0x2ce6[196]:_0x709cx3=createDropdownFromArray(ISPEECHBEEP,_0x709cx2);break;case _0x2ce6[197]:_0x709cx3=createDropdownFromArray(ISPEECHLANG,_0x709cx2);break;case _0x2ce6[198]:_0x709cx3=createDropdownFromArray(GOOGLETTSLANG,_0x709cx2);break;case _0x2ce6[199]:_0x709cx3=createDropdownFromArray(TDLIST,_0x709cx2);break;case _0x2ce6[202]:_0x709cx3=createGroupedDropdownFromApi(_0x2ce6[200],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8,_0x2ce6[201]);break;case _0x2ce6[203]:_0x709cx3=createDropdownFromApi(_0x2ce6[139],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[205]:_0x709cx3=createDropdownFromApi(_0x2ce6[204],_0x709cx2,_0x2ce6[124],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[208]:_0x709cx3=createDropdownFromApi(_0x2ce6[206],_0x709cx2,_0x2ce6[207],_0x2ce6[132],_0x709cx8);break;case _0x2ce6[209]:;case _0x2ce6[210]:;case _0x2ce6[211]:;case _0x2ce6[212]:;case _0x2ce6[17]:;case _0x2ce6[213]:;case _0x2ce6[216]:_0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[5]](_0x2ce6[3],_0x2ce6[214]);_0x709cx3[_0x2ce6[5]](_0x2ce6[215],0);_0x709cx3[_0x2ce6[5]](_0x2ce6[45],1000);_0x709cx3[_0x2ce6[5]](_0x2ce6[23],_0x709cx2);_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];break;case _0x2ce6[21]:;case _0x2ce6[217]:;case _0x2ce6[218]:;case _0x2ce6[219]:;case _0x2ce6[221]:_0x709cx3=document[_0x2ce6[2]](_0x2ce6[82]);_0x709cx3[_0x2ce6[220]]=_0x709cx2;_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];break;case _0x2ce6[224]:_0x709cx3=document[_0x2ce6[2]](_0x2ce6[82]);_0x709cx3[_0x2ce6[220]]=_0x709cx2;_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];_0x709cx3[_0x2ce6[5]](_0x2ce6[222],_0x2ce6[223]);break;default:_0x709cx3=document[_0x2ce6[2]](_0x2ce6[1]);_0x709cx3[_0x2ce6[5]](_0x2ce6[23],_0x709cx2);_0x709cx3[_0x2ce6[31]]=_0x2ce6[133];break};_0x709cx3[_0x2ce6[5]](_0x2ce6[132],_0x709cx3a);var _0x709cx1f=_0x709cx8[_0x2ce6[49]](_0x2ce6[168]);_0x709cx1f[_0x2ce6[25]](_0x709cx3);if(mxResources[_0x2ce6[75]](_0x2ce6[225]+_0x709cx39)){var _0x709cx51=_0x709cx8[_0x2ce6[49]](_0x2ce6[226]);_0x709cx51[_0x2ce6[31]]=_0x2ce6[227];mxUtils[_0x2ce6[77]](_0x709cx51,mxResources[_0x2ce6[75]](_0x2ce6[225]+_0x709cx39));_0x709cx1f[_0x2ce6[25]](_0x709cx51)};_0x709cx4a[_0x2ce6[25]](_0x709cx1f);_0x709cx49[_0x2ce6[25]](_0x709cx4a)};_0x709cx24[_0x2ce6[25]](_0x709cx49);var _0x709cx31=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[134]),mxUtils[_0x2ce6[102]](this,function(_0x709cx32){for(var _0x709cx50=0;_0x709cx50<_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x2ce6[140]];_0x709cx50++){var _0x709cx3a=_0x2ce6[125]+_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x709cx50][_0x2ce6[124]];var _0x709cx39=_0x709cx4d[_0x2ce6[23]][_0x2ce6[177]][_0x709cx50][_0x2ce6[124]];console[_0x2ce6[93]](_0x709cx39,document[_0x2ce6[228]](_0x709cx3a)[_0x2ce6[23]]);_0x709cx4d[_0x2ce6[5]](_0x709cx39,document[_0x2ce6[228]](_0x709cx3a)[_0x2ce6[23]])};_0x709cx4e[_0x2ce6[229]](_0x709cx4d);_0x709cx8[_0x2ce6[78]]()}));_0x709cx31[_0x2ce6[31]]=_0x2ce6[103];var _0x709cx34=mxUtils[_0x2ce6[79]](mxResources[_0x2ce6[75]](_0x2ce6[104]),function(){_0x709cx8[_0x2ce6[78]]()});_0x709cx34[_0x2ce6[31]]=_0x2ce6[105];_0x709cx25[_0x2ce6[25]](_0x709cx31);_0x709cx25[_0x2ce6[25]](_0x709cx34);_0x709cx22[_0x2ce6[25]](_0x709cx23);_0x709cx22[_0x2ce6[25]](_0x709cx24);_0x709cx22[_0x2ce6[25]](_0x709cx25);this[_0x2ce6[63]]=_0x709cx22} \ No newline at end of file +var _0x5ba9=["\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","\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","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x63\x6F\x6D\x6D\x61\x6E\x64","\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"];_0x5ba9[0];function createCheckbox(_0xc212x2){var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[5]](_0x5ba9[3],_0x5ba9[4]);if(_0xc212x2){_0xc212x3[_0x5ba9[5]](_0x5ba9[6],true)};return _0xc212x3}function createDropdownFromApi(_0xc212x5,_0xc212x2,_0xc212x6,_0xc212x7,_0xc212x8,_0xc212x9,_0xc212xa){var _0xc212xb= new XMLHttpRequest();_0xc212xb[_0x5ba9[8]](_0x5ba9[7],_0xc212x5,false);_0xc212xb[_0x5ba9[14]](_0x5ba9[9],_0x5ba9[10]+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[11]]);_0xc212xb[_0x5ba9[15]](null);var _0xc212xc=[];if(_0xc212xb[_0x5ba9[16]]===200){_0xc212xc=JSON[_0x5ba9[18]](_0xc212xb[_0x5ba9[17]])};var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[19]);var _0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0x5ba9[22];_0xc212xd[_0x5ba9[23]]=_0x5ba9[24];_0xc212x3[_0x5ba9[25]](_0xc212xd);_0xc212xc[_0x5ba9[30]][_0x5ba9[28]](function(_0xc212xe){_0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0xc212xe[_0xc212x6];if(_0xc212x9&&_0xc212xa){_0xc212x9[_0x5ba9[28]](function(_0xc212xf){_0xc212xa=_0xc212xa[_0x5ba9[27]](_0x5ba9[26]+_0xc212xf+_0x5ba9[26],_0xc212xe[_0xc212xf])});_0xc212xd[_0x5ba9[23]]=_0xc212xa;_0xc212xd[_0x5ba9[29]]=(_0xc212xa==_0xc212x2)}else {_0xc212xd[_0x5ba9[23]]=_0xc212xe[_0xc212x7];_0xc212xd[_0x5ba9[29]]=(_0xc212xe[_0xc212x7]==_0xc212x2)};_0xc212x3[_0x5ba9[25]](_0xc212xd)});_0xc212x3[_0x5ba9[31]]=_0x5ba9[32];return _0xc212x3}function createGroupedDropdownFromApi(_0xc212x5,_0xc212x2,_0xc212x6,_0xc212x7,_0xc212x8,_0xc212x11){var _0xc212xb= new XMLHttpRequest();_0xc212xb[_0x5ba9[8]](_0x5ba9[7],_0xc212x5,false);_0xc212xb[_0x5ba9[14]](_0x5ba9[9],_0x5ba9[10]+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[11]]);_0xc212xb[_0x5ba9[15]](null);var _0xc212xc=[];if(_0xc212xb[_0x5ba9[16]]===200){_0xc212xc=JSON[_0x5ba9[18]](_0xc212xb[_0x5ba9[17]])};var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[19]);var _0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0x5ba9[22];_0xc212xd[_0x5ba9[23]]=_0x5ba9[33];_0xc212x3[_0x5ba9[25]](_0xc212xd);_0xc212xc[_0x5ba9[30]][_0x5ba9[28]](function(_0xc212xe){_0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[31]]=_0x5ba9[34];_0xc212xd[_0x5ba9[21]]=_0xc212xe[_0xc212x6][_0x5ba9[35]]();_0xc212xd[_0x5ba9[23]]=_0xc212xe[_0xc212x7];_0xc212xd[_0x5ba9[29]]=(_0xc212xe[_0xc212x7]==_0xc212x2);_0xc212x3[_0x5ba9[25]](_0xc212xd);_0xc212xe[_0xc212x11][_0x5ba9[28]](function(_0xc212xe){_0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[31]]=_0x5ba9[36];_0xc212xd[_0x5ba9[21]]=_0x5ba9[37]+_[_0x5ba9[38]](_0xc212xe[_0xc212x6]);_0xc212xd[_0x5ba9[23]]=_0xc212xe[_0xc212x7];_0xc212xd[_0x5ba9[29]]=(_0xc212xe[_0xc212x7]==_0xc212x2);_0xc212x3[_0x5ba9[25]](_0xc212xd)})});_0xc212x3[_0x5ba9[31]]=_0x5ba9[32];return _0xc212x3}function createDropdownFromArray(_0xc212x13,_0xc212x2){var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[19]);for(var _0xc212x14 in _0xc212x13){var _0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0xc212x13[_0xc212x14];_0xc212xd[_0x5ba9[23]]=_0xc212x14;if(_0xc212x2>0||_0xc212x2!=_0x5ba9[39]){_0xc212xd[_0x5ba9[29]]=(_0xc212x2===_0xc212x14)?true:false};_0xc212x3[_0x5ba9[25]](_0xc212xd)};_0xc212x3[_0x5ba9[31]]=_0x5ba9[32];return _0xc212x3}function createDropdownFromTigerDialList(_0xc212x2){var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[19]);var _0xc212x13=[];var _0xc212x16= new XMLHttpRequest();try{_0xc212x16[_0x5ba9[8]](_0x5ba9[40],_0x5ba9[41],false);_0xc212x16[_0x5ba9[15]](JSON[_0x5ba9[42]]({page:1,size:600000}));if(_0xc212x16[_0x5ba9[16]]===200){var _0xc212xc=JSON[_0x5ba9[18]](_0xc212x16[_0x5ba9[17]]);if(_0xc212xc[_0x5ba9[16]]>0){var _0xc212x17=_0xc212xc[_0x5ba9[17]][_0x5ba9[43]][_0x5ba9[30]];for(var _0xc212x18 in _0xc212x17){_0xc212x13[_0xc212x17[_0xc212x18][_0x5ba9[44]]]=_0xc212x17[_0xc212x18][_0x5ba9[45]]}}}}catch(e){console[_0x5ba9[46]](e)};for(var _0xc212x14 in _0xc212x13){var _0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0xc212x13[_0xc212x14];_0xc212xd[_0x5ba9[23]]=_0xc212x14;if(_0xc212x2>0||_0xc212x2!=_0x5ba9[39]){_0xc212xd[_0x5ba9[29]]=(_0xc212x2===_0xc212x14)?true:false};_0xc212x3[_0x5ba9[25]](_0xc212xd)};_0xc212x3[_0x5ba9[31]]=_0x5ba9[32];return _0xc212x3}function Dialog(_0xc212x8,_0xc212x1a,_0xc212x1b,_0xc212x1c,_0xc212x1d,_0xc212x1e,_0xc212x1f){var _0xc212x20=0;if(mxClient[_0x5ba9[47]]&&document[_0x5ba9[48]]!=9){_0xc212x20=60};_0xc212x1b+=_0xc212x20;_0xc212x1c+=_0xc212x20;var _0xc212x21=Math[_0x5ba9[52]](0,Math[_0x5ba9[51]]((document[_0x5ba9[50]][_0x5ba9[49]]-_0xc212x1b)/2));var _0xc212x22=Math[_0x5ba9[52]](0,Math[_0x5ba9[51]]((Math[_0x5ba9[52]](document[_0x5ba9[50]][_0x5ba9[53]],document[_0x5ba9[54]][_0x5ba9[53]])-_0xc212x1c)/3));var _0xc212x23=_0xc212x8[_0x5ba9[56]](_0x5ba9[55]);_0xc212x23[_0x5ba9[31]]=_0x5ba9[57];_0xc212x23[_0x5ba9[59]][_0x5ba9[58]]=_0x5ba9[60];_0xc212x23[_0x5ba9[59]][_0x5ba9[61]]=_0x5ba9[62];var _0xc212x24=_0xc212x8[_0x5ba9[56]](_0x5ba9[63]);_0xc212x24[_0x5ba9[31]]=_0x5ba9[64];_0xc212x24[_0x5ba9[25]](_0xc212x1a);_0xc212x23[_0x5ba9[25]](_0xc212x24);if(this[_0x5ba9[65]]==null){this[_0x5ba9[65]]=_0xc212x8[_0x5ba9[56]](_0x5ba9[66]);this[_0x5ba9[65]][_0x5ba9[31]]=_0x5ba9[67];if(mxClient[_0x5ba9[68]]){ new mxDivResizer(this[_0x5ba9[65]])}};if(_0xc212x1d){document[_0x5ba9[50]][_0x5ba9[25]](this[_0x5ba9[65]])};document[_0x5ba9[50]][_0x5ba9[25]](_0xc212x23);this[_0x5ba9[69]]=_0xc212x1f;this[_0x5ba9[70]]=_0xc212x23}Dialog[_0x5ba9[72]][_0x5ba9[71]]=function(){if(this[_0x5ba9[69]]!=null){this[_0x5ba9[69]]();this[_0x5ba9[69]]=null};this[_0x5ba9[70]][_0x5ba9[74]][_0x5ba9[73]](this[_0x5ba9[70]]);this[_0x5ba9[65]][_0x5ba9[74]][_0x5ba9[73]](this[_0x5ba9[65]])};function ImportDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[81])+_0x5ba9[83]);var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[88]);var _0xc212x2e=document[_0x5ba9[2]](_0x5ba9[89]);_0xc212x2e[_0x5ba9[59]][_0x5ba9[90]]=_0x5ba9[91];_0xc212x2e[_0x5ba9[59]][_0x5ba9[92]]=_0x5ba9[93];var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[3]]=_0x5ba9[94];_0xc212x3[_0x5ba9[5]](_0x5ba9[95],_0x5ba9[96]);_0xc212x3[_0x5ba9[105]](_0x5ba9[97],function _0xc212x2f(_0xc212x30){var _0xc212x31=_0xc212x30[_0x5ba9[99]][_0x5ba9[98]][0];console[_0x5ba9[46]](_0xc212x31);if(_0xc212x31){if(_0xc212x31[_0x5ba9[3]]===_0x5ba9[96]){var _0xc212x32= new FileReader();_0xc212x32[_0x5ba9[100]]=function(_0xc212x33){var _0xc212x34=_0xc212x33[_0x5ba9[99]][_0x5ba9[101]];mxUtils[_0x5ba9[84]](_0xc212x2e,_0xc212x34)};_0xc212x32[_0x5ba9[102]](_0xc212x31)}else {alert(_0x5ba9[103])}}else {alert(_0x5ba9[104])}},false);_0xc212x2d[_0x5ba9[25]](_0xc212x3);_0xc212x2d[_0x5ba9[25]](_0xc212x2e);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[81]),mxUtils[_0x5ba9[108]](this,function(_0xc212x36){var _0xc212x37=mxUtils[_0x5ba9[106]](_0xc212x2e[_0x5ba9[23]]);_0xc212x8[_0x5ba9[13]][_0x5ba9[107]](_0xc212x37[_0x5ba9[54]]);_0xc212x8[_0x5ba9[85]]()}));_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function AboutDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[112])+_0x5ba9[113]);var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x3a=document[_0x5ba9[2]](_0x5ba9[114]);_0xc212x3a[_0x5ba9[59]][_0x5ba9[115]]=_0x5ba9[116];_0xc212x3a[_0x5ba9[5]](_0x5ba9[90],_0x5ba9[117]);_0xc212x3a[_0x5ba9[5]](_0x5ba9[90],_0x5ba9[118]);_0xc212x3a[_0x5ba9[5]](_0x5ba9[119],IMAGE_PATH+_0x5ba9[120]);_0xc212x28[_0x5ba9[25]](_0xc212x3a);mxUtils[_0x5ba9[121]](_0xc212x28);mxUtils[_0x5ba9[84]](_0xc212x28,_0x5ba9[122]+mxClient[_0x5ba9[123]]);mxUtils[_0x5ba9[121]](_0xc212x28);var _0xc212x3b=document[_0x5ba9[2]](_0x5ba9[124]);_0xc212x3b[_0x5ba9[5]](_0x5ba9[125],_0x5ba9[126]);_0xc212x3b[_0x5ba9[5]](_0x5ba9[99],_0x5ba9[127]);mxUtils[_0x5ba9[84]](_0xc212x3b,_0x5ba9[128]);_0xc212x28[_0x5ba9[25]](_0xc212x3b);mxUtils[_0x5ba9[121]](_0xc212x28);mxUtils[_0x5ba9[121]](_0xc212x28);var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[71]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function SaveDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[129]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x3d=_0x5ba9[45];var _0xc212x3e=_0x5ba9[130]+_0xc212x3d;var _0xc212x2=_0xc212x8[_0x5ba9[13]][_0x5ba9[131]]();var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[132]);var _0xc212x3f=_0xc212x8[_0x5ba9[56]](_0x5ba9[133]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[135];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0xc212x3d));_0xc212x2d[_0x5ba9[25]](_0xc212x40);var _0xc212x41=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x41[_0x5ba9[5]](_0x5ba9[23],_0xc212x2+_0x5ba9[136]);_0xc212x41[_0x5ba9[5]](_0x5ba9[44],_0xc212x3e);_0xc212x41[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3f[_0x5ba9[25]](_0xc212x41);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x2c[_0x5ba9[25]](_0xc212x3f);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[138]),function(){_0xc212x8[_0x5ba9[129]](_0xc212x41[_0x5ba9[23]]);_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function NewDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[139]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x3d=_0x5ba9[45];var _0xc212x3e=_0x5ba9[130]+_0xc212x3d;var _0xc212x2=_0xc212x8[_0x5ba9[13]][_0x5ba9[131]]();var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[132]);var _0xc212x3f=_0xc212x8[_0x5ba9[56]](_0x5ba9[133]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[135];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0xc212x3d));_0xc212x2d[_0x5ba9[25]](_0xc212x40);var _0xc212x41=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x41[_0x5ba9[5]](_0x5ba9[23],_0xc212x2+_0x5ba9[140]);_0xc212x41[_0x5ba9[5]](_0x5ba9[44],_0xc212x3e);_0xc212x41[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3f[_0x5ba9[25]](_0xc212x41);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x2c[_0x5ba9[25]](_0xc212x3f);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[139]),function(){_0xc212x8[_0x5ba9[139]](_0xc212x41[_0x5ba9[23]]);_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function VariableDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[141]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x3d=_0x5ba9[45];var _0xc212x3e=_0x5ba9[130]+_0xc212x3d;var _0xc212x2=_0xc212x8[_0x5ba9[13]][_0x5ba9[131]]();var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[132]);var _0xc212x3f=_0xc212x8[_0x5ba9[56]](_0x5ba9[133]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[135];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0xc212x3d));_0xc212x2d[_0x5ba9[25]](_0xc212x40);var _0xc212x41=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x41[_0x5ba9[5]](_0x5ba9[23],_0x5ba9[142]);_0xc212x41[_0x5ba9[5]](_0x5ba9[44],_0xc212x3e);_0xc212x41[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3f[_0x5ba9[25]](_0xc212x41);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x2c[_0x5ba9[25]](_0xc212x3f);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[139]),function(){_0xc212x8[_0x5ba9[141]](_0xc212x41[_0x5ba9[23]]);_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function OpenDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[8]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[132]);var _0xc212x3f=_0xc212x8[_0x5ba9[56]](_0x5ba9[133]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[135];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0x5ba9[45]));_0xc212x2d[_0x5ba9[25]](_0xc212x40);var _0xc212xb= new XMLHttpRequest();_0xc212xb[_0x5ba9[8]](_0x5ba9[7],_0x5ba9[143],false);_0xc212xb[_0x5ba9[14]](_0x5ba9[9],_0x5ba9[10]+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[11]]);_0xc212xb[_0x5ba9[15]](null);var _0xc212xc=[];if(_0xc212xb[_0x5ba9[16]]===200){_0xc212xc=JSON[_0x5ba9[18]](_0xc212xb[_0x5ba9[17]])};var _0xc212x41=document[_0x5ba9[2]](_0x5ba9[19]);for(var _0xc212x45=0;_0xc212x45<_0xc212xc[_0x5ba9[144]];_0xc212x45++){var _0xc212xd=document[_0x5ba9[2]](_0x5ba9[20]);_0xc212xd[_0x5ba9[21]]=_0xc212xc[_0xc212x45][_0x5ba9[45]];_0xc212xd[_0x5ba9[23]]=_0xc212xc[_0xc212x45][_0x5ba9[44]];_0xc212x41[_0x5ba9[25]](_0xc212xd)};_0xc212x41[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3f[_0x5ba9[25]](_0xc212x41);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x2c[_0x5ba9[25]](_0xc212x3f);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[8]),function(){console[_0x5ba9[46]](_0xc212x41);console[_0x5ba9[46]](_0xc212x41[_0x5ba9[23]]);window[_0x5ba9[8]](_0x5ba9[145]+_0xc212x41[_0x5ba9[23]],_0x5ba9[127]);_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function RenameDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[146]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[132]);var _0xc212x3f=_0xc212x8[_0x5ba9[56]](_0x5ba9[133]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[135];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0x5ba9[45]));_0xc212x2d[_0x5ba9[25]](_0xc212x40);var _0xc212x3d=_0xc212x8[_0x5ba9[13]][_0x5ba9[147]];var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[5]](_0x5ba9[23],_0xc212x3d);_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3f[_0x5ba9[25]](_0xc212x3);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x2c[_0x5ba9[25]](_0xc212x3f);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[138]),function(){var _0xc212xb= new XMLHttpRequest();_0xc212xb[_0x5ba9[8]](_0x5ba9[148],SAVE_URL+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[44]],true);_0xc212xb[_0x5ba9[14]](_0x5ba9[149],_0x5ba9[150]);_0xc212xb[_0x5ba9[14]](_0x5ba9[9],_0x5ba9[10]+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[11]]);_0xc212xb[_0x5ba9[15]](_0x5ba9[151]+_0xc212x3[_0x5ba9[23]]);_0xc212xb[_0x5ba9[100]]=function(_0xc212x33){if(_0xc212xb[_0x5ba9[16]]===200){_0xc212x8[_0x5ba9[13]][_0x5ba9[153]](_0x5ba9[152]);_0xc212x8[_0x5ba9[13]][_0x5ba9[147]]=_0xc212x3[_0x5ba9[23]]}else {console[_0x5ba9[46]](_0xc212xb[_0x5ba9[17]]);_0xc212x8[_0x5ba9[13]][_0x5ba9[153]](JSON[_0x5ba9[18]](_0xc212xb[_0x5ba9[17]])[_0x5ba9[155]][0][_0x5ba9[154]])}};_0xc212xb[_0x5ba9[156]]=function(_0xc212x33){mxUtils[_0x5ba9[158]](_0xc212xb[_0x5ba9[157]])};_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function EditFileDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[77]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[159]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x2c=_0xc212x8[_0x5ba9[56]](_0x5ba9[87]);var _0xc212x2d=_0xc212x8[_0x5ba9[56]](_0x5ba9[88]);var _0xc212x2e=document[_0x5ba9[2]](_0x5ba9[89]);_0xc212x2e[_0x5ba9[59]][_0x5ba9[90]]=_0x5ba9[91];_0xc212x2e[_0x5ba9[59]][_0x5ba9[92]]=_0x5ba9[93];_0xc212x2e[_0x5ba9[23]]=mxUtils[_0x5ba9[161]](_0xc212x8[_0x5ba9[13]][_0x5ba9[160]]());if(fileSupport){function _0xc212x48(_0xc212x30){_0xc212x30[_0x5ba9[162]]();_0xc212x30[_0x5ba9[163]]();if(_0xc212x30[_0x5ba9[164]][_0x5ba9[98]][_0x5ba9[144]]>0){var _0xc212x49=_0xc212x30[_0x5ba9[164]][_0x5ba9[98]][0];var _0xc212x4a= new FileReader();_0xc212x4a[_0x5ba9[100]]=function(_0xc212x33){_0xc212x2e[_0x5ba9[23]]=_0xc212x33[_0x5ba9[99]][_0x5ba9[101]]};_0xc212x4a[_0x5ba9[102]](_0xc212x49)}}function _0xc212x4b(_0xc212x30){_0xc212x30[_0x5ba9[162]]();_0xc212x30[_0x5ba9[163]]()}_0xc212x2e[_0x5ba9[105]](_0x5ba9[165],_0xc212x4b,false);_0xc212x2e[_0x5ba9[105]](_0x5ba9[166],_0xc212x48,false)};_0xc212x2d[_0x5ba9[25]](_0xc212x2e);_0xc212x2c[_0x5ba9[25]](_0xc212x2d);_0xc212x28[_0x5ba9[25]](_0xc212x2c);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[138]),function(){var _0xc212x37=mxUtils[_0x5ba9[106]](_0xc212x2e[_0x5ba9[23]]);_0xc212x8[_0x5ba9[13]][_0x5ba9[107]](_0xc212x37[_0x5ba9[54]]);_0xc212x8[_0x5ba9[85]]()});_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function ExportDialog(_0xc212x8){var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[167]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[168])+_0x5ba9[83]);var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x4d=_0xc212x8[_0x5ba9[56]](_0x5ba9[169]);var _0xc212x4e=_0xc212x8[_0x5ba9[56]](_0x5ba9[170]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[171];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0x5ba9[147]));var _0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[5]](_0x5ba9[23],_0xc212x8[_0x5ba9[13]][_0x5ba9[131]]());_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];var _0xc212x23=_0xc212x8[_0x5ba9[56]](_0x5ba9[172]);_0xc212x23[_0x5ba9[25]](_0xc212x3);_0xc212x4e[_0x5ba9[25]](_0xc212x40);_0xc212x4e[_0x5ba9[25]](_0xc212x23);_0xc212x4d[_0x5ba9[25]](_0xc212x4e);_0xc212x28[_0x5ba9[25]](_0xc212x4d);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[168]),mxUtils[_0x5ba9[108]](this,function(_0xc212x36){_0xc212x8[_0x5ba9[138]](false);var _0xc212x4f=encodeURIComponent(mxUtils[_0x5ba9[173]](_0xc212x8[_0x5ba9[13]][_0x5ba9[160]]())); new mxXmlRequest(SAVE_URL+_0xc212x8[_0x5ba9[13]][_0x5ba9[12]][_0x5ba9[44]]+_0x5ba9[175],_0x5ba9[176]+_0xc212x3[_0x5ba9[23]],_0x5ba9[7])[_0x5ba9[174]](document,_0x5ba9[127]);_0xc212x8[_0x5ba9[85]]()}));_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26}function GeneralDialog(_0xc212x8,_0xc212x51){var _0xc212x52=_0xc212x8[_0x5ba9[13]][_0x5ba9[177]];var _0xc212x26=_0xc212x8[_0x5ba9[56]](_0x5ba9[75]);var _0xc212x27=_0xc212x8[_0x5ba9[56]](_0x5ba9[76]);var _0xc212x28=_0xc212x8[_0x5ba9[56]](_0x5ba9[178]);var _0xc212x29=_0xc212x8[_0x5ba9[56]](_0x5ba9[78]);var _0xc212x2a=_0xc212x8[_0x5ba9[80]](_0x5ba9[79]);mxUtils[_0x5ba9[84]](_0xc212x2a,mxResources[_0x5ba9[82]](_0x5ba9[159])+_0x5ba9[179]+mxResources[_0x5ba9[82]](_0xc212x51[_0x5ba9[23]][_0x5ba9[180]]));var _0xc212x2b=mxUtils[_0x5ba9[86]](_0x5ba9[39],function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x2b[_0x5ba9[31]]=_0x5ba9[71];_0xc212x27[_0x5ba9[25]](_0xc212x2b);_0xc212x27[_0x5ba9[25]](_0xc212x2a);var _0xc212x53=_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0x5ba9[144]];var _0xc212x4d=_0xc212x8[_0x5ba9[56]](_0x5ba9[169]);for(var _0xc212x54=0;_0xc212x54<_0xc212x53;_0xc212x54++){var _0xc212x3d=_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0xc212x54][_0x5ba9[45]];var _0xc212x3e=_0x5ba9[130]+_0xc212x3d;var _0xc212x2=_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0xc212x54][_0x5ba9[23]];var _0xc212x4e=_0xc212x8[_0x5ba9[56]]((_0xc212x54==_0xc212x53-1)?_0x5ba9[170]:_0x5ba9[182]);var _0xc212x40=document[_0x5ba9[2]](_0x5ba9[134]);_0xc212x40[_0x5ba9[31]]=_0x5ba9[171];mxUtils[_0x5ba9[84]](_0xc212x40,mxResources[_0x5ba9[82]](_0xc212x3d));_0xc212x4e[_0x5ba9[25]](_0xc212x40);var _0xc212x3;switch(_0xc212x3d){case _0x5ba9[184]:_0xc212x3=createDropdownFromApi(_0x5ba9[183],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[186]:_0xc212x3=createDropdownFromApi(_0x5ba9[185],_0xc212x2,_0x5ba9[45],_0x5ba9[45],_0xc212x8);break;case _0x5ba9[188]:_0xc212x3=createDropdownFromApi(_0x5ba9[187],_0xc212x2,_0x5ba9[45],_0x5ba9[45],_0xc212x8);break;case _0x5ba9[190]:_0xc212x3=createDropdownFromApi(_0x5ba9[189],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[192]:_0xc212x3=createDropdownFromApi(_0x5ba9[191],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[194]:_0xc212x3=createDropdownFromApi(_0x5ba9[193],_0xc212x2,_0x5ba9[45],_0x5ba9[45],_0xc212x8);break;case _0x5ba9[196]:_0xc212x3=createDropdownFromApi(_0x5ba9[195],_0xc212x2,_0x5ba9[196],_0x5ba9[44],_0xc212x8,[_0x5ba9[196],_0x5ba9[194]],_0x5ba9[197]);break;case _0x5ba9[198]:_0xc212x3=createDropdownFromArray(ISPEECHASRMODEL,_0xc212x2);break;case _0x5ba9[199]:_0xc212x3=createDropdownFromArray(ISPEECHASRLANG,_0xc212x2);break;case _0x5ba9[200]:_0xc212x3=createDropdownFromArray(ISPEECHBEEP,_0xc212x2);break;case _0x5ba9[201]:_0xc212x3=createDropdownFromArray(ISPEECHLANG,_0xc212x2);break;case _0x5ba9[202]:_0xc212x3=createDropdownFromArray(GOOGLETTSLANG,_0xc212x2);break;case _0x5ba9[203]:_0xc212x3=createDropdownFromTigerDialList(_0xc212x2);break;case _0x5ba9[206]:_0xc212x3=createGroupedDropdownFromApi(_0x5ba9[204],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8,_0x5ba9[205]);break;case _0x5ba9[207]:_0xc212x3=createDropdownFromApi(_0x5ba9[143],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[209]:_0xc212x3=createDropdownFromApi(_0x5ba9[208],_0xc212x2,_0x5ba9[45],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[212]:_0xc212x3=createDropdownFromApi(_0x5ba9[210],_0xc212x2,_0x5ba9[211],_0x5ba9[44],_0xc212x8);break;case _0x5ba9[213]:;case _0x5ba9[214]:;case _0x5ba9[215]:;case _0x5ba9[216]:;case _0x5ba9[17]:;case _0x5ba9[217]:;case _0x5ba9[220]:_0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[5]](_0x5ba9[3],_0x5ba9[218]);_0xc212x3[_0x5ba9[5]](_0x5ba9[219],0);_0xc212x3[_0x5ba9[5]](_0x5ba9[52],1000);_0xc212x3[_0x5ba9[5]](_0x5ba9[23],_0xc212x2);_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];break;case _0x5ba9[21]:;case _0x5ba9[221]:;case _0x5ba9[222]:;case _0x5ba9[223]:;case _0x5ba9[225]:_0xc212x3=document[_0x5ba9[2]](_0x5ba9[89]);_0xc212x3[_0x5ba9[224]]=_0xc212x2;_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];break;case _0x5ba9[228]:_0xc212x3=document[_0x5ba9[2]](_0x5ba9[89]);_0xc212x3[_0x5ba9[224]]=_0xc212x2;_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];_0xc212x3[_0x5ba9[5]](_0x5ba9[226],_0x5ba9[227]);break;default:_0xc212x3=document[_0x5ba9[2]](_0x5ba9[1]);_0xc212x3[_0x5ba9[5]](_0x5ba9[23],_0xc212x2);_0xc212x3[_0x5ba9[31]]=_0x5ba9[137];break};_0xc212x3[_0x5ba9[5]](_0x5ba9[44],_0xc212x3e);var _0xc212x23=_0xc212x8[_0x5ba9[56]](_0x5ba9[172]);_0xc212x23[_0x5ba9[25]](_0xc212x3);if(mxResources[_0x5ba9[82]](_0x5ba9[229]+_0xc212x3d)){var _0xc212x55=_0xc212x8[_0x5ba9[56]](_0x5ba9[230]);_0xc212x55[_0x5ba9[31]]=_0x5ba9[231];mxUtils[_0x5ba9[84]](_0xc212x55,mxResources[_0x5ba9[82]](_0x5ba9[229]+_0xc212x3d));_0xc212x23[_0x5ba9[25]](_0xc212x55)};_0xc212x4e[_0x5ba9[25]](_0xc212x23);_0xc212x4d[_0x5ba9[25]](_0xc212x4e)};_0xc212x28[_0x5ba9[25]](_0xc212x4d);var _0xc212x35=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[138]),mxUtils[_0x5ba9[108]](this,function(_0xc212x36){for(var _0xc212x54=0;_0xc212x54<_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0x5ba9[144]];_0xc212x54++){var _0xc212x3e=_0x5ba9[130]+_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0xc212x54][_0x5ba9[45]];var _0xc212x3d=_0xc212x51[_0x5ba9[23]][_0x5ba9[181]][_0xc212x54][_0x5ba9[45]];console[_0x5ba9[46]](_0xc212x3d,document[_0x5ba9[232]](_0xc212x3e)[_0x5ba9[23]]);_0xc212x51[_0x5ba9[5]](_0xc212x3d,document[_0x5ba9[232]](_0xc212x3e)[_0x5ba9[23]])};_0xc212x52[_0x5ba9[233]](_0xc212x51);_0xc212x8[_0x5ba9[85]]()}));_0xc212x35[_0x5ba9[31]]=_0x5ba9[109];var _0xc212x38=mxUtils[_0x5ba9[86]](mxResources[_0x5ba9[82]](_0x5ba9[110]),function(){_0xc212x8[_0x5ba9[85]]()});_0xc212x38[_0x5ba9[31]]=_0x5ba9[111];_0xc212x29[_0x5ba9[25]](_0xc212x35);_0xc212x29[_0x5ba9[25]](_0xc212x38);_0xc212x26[_0x5ba9[25]](_0xc212x27);_0xc212x26[_0x5ba9[25]](_0xc212x28);_0xc212x26[_0x5ba9[25]](_0xc212x29);this[_0x5ba9[70]]=_0xc212x26} \ 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 31d439f..2372384 100644 --- a/public/assets/plugins/square/js/Editor.js +++ b/public/assets/plugins/square/js/Editor.js @@ -1 +1 @@ -var _0xb7a5=["\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[_0xb7a5[0]]||urlParams[_0xb7a5[1]]==_0xb7a5[2])&& typeof (localStorage)!=_0xb7a5[3];var fileSupport=window[_0xb7a5[4]]!=null&&window[_0xb7a5[5]]!=null&&window[_0xb7a5[6]]!=null;var touchStyle=mxClient[_0xb7a5[0]]||urlParams[_0xb7a5[7]]==_0xb7a5[8];var counter=0;try{var op=window;while(op[_0xb7a5[9]]!=null&&!isNaN(op[_0xb7a5[9]][_0xb7a5[10]])){op=op[_0xb7a5[9]]};if(op!=null){op[_0xb7a5[10]]++;counter=op[_0xb7a5[10]]}}catch(e){};Editor=function(){mxEventSource[_0xb7a5[11]](this);this[_0xb7a5[12]]();this[_0xb7a5[13]]();this[_0xb7a5[14]]= new Graph();this[_0xb7a5[15]]= new mxOutline(this[_0xb7a5[14]]);this[_0xb7a5[15]][_0xb7a5[16]]=true;this[_0xb7a5[17]]=this[_0xb7a5[18]]();this[_0xb7a5[19]]=_0xb7a5[20];this[_0xb7a5[21]]=null;this[_0xb7a5[22]]=function(){return this[_0xb7a5[21]]||mxResources[_0xb7a5[24]](_0xb7a5[23],[counter])+_0xb7a5[25]};this[_0xb7a5[26]]=function(){return this[_0xb7a5[21]]};this[_0xb7a5[27]]=function(_0x99b5x6){this[_0xb7a5[19]]=_0x99b5x6;this[_0xb7a5[29]]( new mxEventObject(_0xb7a5[28]))};this[_0xb7a5[30]]=function(){return this[_0xb7a5[19]]};this[_0xb7a5[31]]=false;this[_0xb7a5[32]]=function(){this[_0xb7a5[31]]=true};this[_0xb7a5[14]][_0xb7a5[36]]()[_0xb7a5[35]](mxEvent.CHANGE,mxUtils[_0xb7a5[34]](this,function(){this[_0xb7a5[32]][_0xb7a5[33]](this,arguments)}));window[_0xb7a5[37]]=mxUtils[_0xb7a5[34]](this,function(){if(this[_0xb7a5[31]]){return mxResources[_0xb7a5[24]](_0xb7a5[38])}});this[_0xb7a5[14]][_0xb7a5[39]]=false;this[_0xb7a5[14]][_0xb7a5[40]]=true;this[_0xb7a5[14]][_0xb7a5[41]]=null};mxUtils[_0xb7a5[42]](Editor,mxEventSource);Editor[_0xb7a5[44]][_0xb7a5[43]]=IMAGE_PATH+_0xb7a5[45];Editor[_0xb7a5[44]][_0xb7a5[46]]=IMAGE_PATH+_0xb7a5[47];Editor[_0xb7a5[44]][_0xb7a5[48]]=function(_0x99b5x7){var _0x99b5x8= new mxCodec(_0x99b5x7[_0xb7a5[49]]);if(_0x99b5x7[_0xb7a5[50]]==_0xb7a5[51]){this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[52]]=1;this[_0xb7a5[14]][_0xb7a5[54]]=_0x99b5x7[_0xb7a5[56]](_0xb7a5[55])!=_0xb7a5[57];this[_0xb7a5[14]][_0xb7a5[59]][_0xb7a5[58]]=_0x99b5x7[_0xb7a5[56]](_0xb7a5[60])!=_0xb7a5[57];this[_0xb7a5[14]][_0xb7a5[62]](_0x99b5x7[_0xb7a5[56]](_0xb7a5[61])!=_0xb7a5[57]);this[_0xb7a5[14]][_0xb7a5[64]](_0x99b5x7[_0xb7a5[56]](_0xb7a5[63])!=_0xb7a5[57]);this[_0xb7a5[14]][_0xb7a5[65]]=_0x99b5x7[_0xb7a5[56]](_0xb7a5[66])!=_0xb7a5[57];this[_0xb7a5[14]][_0xb7a5[40]]=_0x99b5x7[_0xb7a5[56]](_0xb7a5[40])!=_0xb7a5[57];if(!this[_0xb7a5[14]][_0xb7a5[40]]){this[_0xb7a5[14]][_0xb7a5[68]][_0xb7a5[67]]=0;this[_0xb7a5[14]][_0xb7a5[68]][_0xb7a5[69]]=0;this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[70]]=Number(_0x99b5x7[_0xb7a5[56]](_0xb7a5[72])||0);this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[73]]=Number(_0x99b5x7[_0xb7a5[56]](_0xb7a5[74])||0)};this[_0xb7a5[14]][_0xb7a5[75]]=_0x99b5x7[_0xb7a5[56]](_0xb7a5[76])==_0xb7a5[8];this[_0xb7a5[14]][_0xb7a5[77]]=this[_0xb7a5[14]][_0xb7a5[75]];this[_0xb7a5[14]][_0xb7a5[78]]=this[_0xb7a5[14]][_0xb7a5[77]];var _0x99b5x9=_0x99b5x7[_0xb7a5[56]](_0xb7a5[79]);if(_0x99b5x9!=null){this[_0xb7a5[14]][_0xb7a5[79]]=_0x99b5x9}else {this[_0xb7a5[14]][_0xb7a5[79]]=1.5};var _0x99b5xa=_0x99b5x7[_0xb7a5[56]](_0xb7a5[80]);var _0x99b5xb=_0x99b5x7[_0xb7a5[56]](_0xb7a5[81]);if(_0x99b5xa!=null&&_0x99b5xb!=null){this[_0xb7a5[14]][_0xb7a5[82]]= new mxRectangle(0,0,parseFloat(_0x99b5xa),parseFloat(_0x99b5xb));this[_0xb7a5[15]][_0xb7a5[15]][_0xb7a5[82]]=this[_0xb7a5[14]][_0xb7a5[82]]};var _0x99b5xc=_0x99b5x7[_0xb7a5[56]](_0xb7a5[41]);if(_0x99b5xc!=null&&_0x99b5xc[_0xb7a5[83]]>0){this[_0xb7a5[14]][_0xb7a5[41]]=_0x99b5xc};_0x99b5x8[_0xb7a5[84]](_0x99b5x7,this[_0xb7a5[14]][_0xb7a5[36]]());this[_0xb7a5[85]]()}};Editor[_0xb7a5[44]][_0xb7a5[86]]=function(){var _0x99b5xd= new mxCodec(mxUtils[_0xb7a5[87]]());var _0x99b5x7=_0x99b5xd[_0xb7a5[88]](this[_0xb7a5[14]][_0xb7a5[36]]());if(this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[70]]!=0||this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[73]]!=0){_0x99b5x7[_0xb7a5[90]](_0xb7a5[72],Math[_0xb7a5[89]](this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[70]]*100)/100);_0x99b5x7[_0xb7a5[90]](_0xb7a5[74],Math[_0xb7a5[89]](this[_0xb7a5[14]][_0xb7a5[53]][_0xb7a5[71]][_0xb7a5[73]]*100)/100)};_0x99b5x7[_0xb7a5[90]](_0xb7a5[55],(this[_0xb7a5[14]][_0xb7a5[91]]())?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[60],(this[_0xb7a5[14]][_0xb7a5[59]][_0xb7a5[58]])?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[60],(this[_0xb7a5[14]][_0xb7a5[59]][_0xb7a5[58]])?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[61],(this[_0xb7a5[14]][_0xb7a5[93]][_0xb7a5[92]]())?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[63],(this[_0xb7a5[14]][_0xb7a5[94]][_0xb7a5[92]]())?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[66],(this[_0xb7a5[14]][_0xb7a5[65]])?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[76],(this[_0xb7a5[14]][_0xb7a5[75]])?_0xb7a5[8]:_0xb7a5[57]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[79],this[_0xb7a5[14]][_0xb7a5[79]]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[80],this[_0xb7a5[14]][_0xb7a5[82]][_0xb7a5[95]]);_0x99b5x7[_0xb7a5[90]](_0xb7a5[81],this[_0xb7a5[14]][_0xb7a5[82]][_0xb7a5[96]]);if(!this[_0xb7a5[14]][_0xb7a5[40]]){_0x99b5x7[_0xb7a5[90]](_0xb7a5[40],_0xb7a5[57])};if(this[_0xb7a5[14]][_0xb7a5[41]]!=null){_0x99b5x7[_0xb7a5[90]](_0xb7a5[41],this[_0xb7a5[14]][_0xb7a5[41]])};return _0x99b5x7};Editor[_0xb7a5[44]][_0xb7a5[85]]=function(){var _0x99b5xe=this[_0xb7a5[14]];var _0x99b5xf=this[_0xb7a5[15]];if(_0x99b5xe[_0xb7a5[68]]!=null&&_0x99b5xf[_0xb7a5[15]][_0xb7a5[68]]!=null){if(_0x99b5xe[_0xb7a5[41]]!=null){if(_0x99b5xe[_0xb7a5[41]]==_0xb7a5[97]){_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]]=_0xb7a5[100]}else {if(_0x99b5xe[_0xb7a5[53]][_0xb7a5[101]]!=null){_0x99b5xe[_0xb7a5[53]][_0xb7a5[101]][_0xb7a5[102]]=_0x99b5xe[_0xb7a5[41]];_0x99b5xe[_0xb7a5[53]][_0xb7a5[101]][_0xb7a5[103]]()};_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]]=_0x99b5xe[_0xb7a5[41]]}}else {_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]]=_0xb7a5[20]};if(_0x99b5xe[_0xb7a5[75]]){_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]]=_0xb7a5[104];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[105]]=_0xb7a5[106];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[107]]=_0xb7a5[108];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[109]]=_0xb7a5[110];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[111]]=_0xb7a5[110];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[112]]=_0xb7a5[113];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[114]]=_0xb7a5[113]}else {_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[115]]=_0xb7a5[20]};_0x99b5xf[_0xb7a5[15]][_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]]=_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[98]];if(_0x99b5xf[_0xb7a5[15]][_0xb7a5[75]]!=_0x99b5xe[_0xb7a5[75]]||_0x99b5xf[_0xb7a5[15]][_0xb7a5[79]]!=_0x99b5xe[_0xb7a5[79]]){_0x99b5xf[_0xb7a5[15]][_0xb7a5[79]]=_0x99b5xe[_0xb7a5[79]];_0x99b5xf[_0xb7a5[15]][_0xb7a5[75]]=_0x99b5xe[_0xb7a5[75]];_0x99b5xf[_0xb7a5[15]][_0xb7a5[53]][_0xb7a5[116]]()};if(_0x99b5xe[_0xb7a5[40]]&&_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[117]]==_0xb7a5[118]&& !touchStyle){_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[117]]=_0xb7a5[119]}else {if(!_0x99b5xe[_0xb7a5[40]]||touchStyle){_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[117]]=_0xb7a5[118]}};var _0x99b5x10=(mxClient[_0xb7a5[120]]&&document[_0xb7a5[121]]>=9)?_0xb7a5[122]+this[_0xb7a5[46]]+_0xb7a5[123]:_0xb7a5[97];_0x99b5xe[_0xb7a5[68]][_0xb7a5[99]][_0xb7a5[124]]=(!_0x99b5xe[_0xb7a5[75]]&&_0x99b5xe[_0xb7a5[91]]())?_0xb7a5[122]+this[_0xb7a5[43]]+_0xb7a5[123]:_0x99b5x10;if(_0x99b5xe[_0xb7a5[53]][_0xb7a5[101]]!=null){_0x99b5xe[_0xb7a5[53]][_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[99]][_0xb7a5[124]]=(this[_0xb7a5[14]][_0xb7a5[91]]())?_0xb7a5[122]+this[_0xb7a5[43]]+_0xb7a5[123]:_0xb7a5[97]}}};Editor[_0xb7a5[44]][_0xb7a5[12]]=function(){if(mxClient[_0xb7a5[126]]){mxClient[_0xb7a5[129]](_0xb7a5[127],CSS_PATH+_0xb7a5[128])};mxResources[_0xb7a5[130]]=false;mxResources[_0xb7a5[131]](RESOURCE_BASE);mxConstants[_0xb7a5[132]]=0.3;var _0x99b5x11=mxConnectionHandler[_0xb7a5[44]][_0xb7a5[133]];mxConnectionHandler[_0xb7a5[44]][_0xb7a5[133]]=function(){var _0x99b5x12=_0x99b5x11[_0xb7a5[33]](this,arguments);_0x99b5x12[_0xb7a5[134]]=mxUtils[_0xb7a5[34]](this,function(_0x99b5x13,_0x99b5x14){if(this[_0xb7a5[135]]()){return true};return mxCellMarker[_0xb7a5[44]][_0xb7a5[134]][_0xb7a5[33]](_0x99b5x12,arguments)});return _0x99b5x12};mxConstants[_0xb7a5[136]]=_0xb7a5[137];mxConstants[_0xb7a5[138]]=_0xb7a5[139];mxConstants[_0xb7a5[140]]=_0xb7a5[141];mxConstants[_0xb7a5[142]]=_0xb7a5[143];mxConstants[_0xb7a5[144]]=_0xb7a5[143];mxConstants[_0xb7a5[145]]=_0xb7a5[139];mxConstants[_0xb7a5[146]]=_0xb7a5[143];mxConstants[_0xb7a5[147]]=_0xb7a5[148];mxConstants[_0xb7a5[149]]=_0xb7a5[143];mxConstants[_0xb7a5[150]]=_0xb7a5[143];mxConstants[_0xb7a5[151]]=_0xb7a5[148];mxConstants[_0xb7a5[152]]=_0xb7a5[141];mxGraph[_0xb7a5[44]][_0xb7a5[153]]=_0xb7a5[154];mxGraph[_0xb7a5[44]][_0xb7a5[79]]=1;mxRubberband[_0xb7a5[44]][_0xb7a5[155]]=30;mxGraphView[_0xb7a5[44]][_0xb7a5[156]]=function(_0x99b5x15){return new mxRectangleShape(_0x99b5x15,this[_0xb7a5[14]][_0xb7a5[41]]||_0xb7a5[157],_0xb7a5[158])};mxGraphView[_0xb7a5[44]][_0xb7a5[159]]=function(){var _0x99b5x16=this[_0xb7a5[160]]();var _0x99b5x17=(_0x99b5x16[_0xb7a5[95]]>0)?_0x99b5x16[_0xb7a5[70]]/this[_0xb7a5[52]]-this[_0xb7a5[71]][_0xb7a5[70]]:0;var _0x99b5x18=(_0x99b5x16[_0xb7a5[96]]>0)?_0x99b5x16[_0xb7a5[73]]/this[_0xb7a5[52]]-this[_0xb7a5[71]][_0xb7a5[73]]:0;var _0x99b5x19=_0x99b5x16[_0xb7a5[95]]/this[_0xb7a5[52]];var _0x99b5x1a=_0x99b5x16[_0xb7a5[96]]/this[_0xb7a5[52]];var _0x99b5x1b=this[_0xb7a5[14]][_0xb7a5[82]];var _0x99b5x9=this[_0xb7a5[14]][_0xb7a5[79]];var _0x99b5xa=_0x99b5x1b[_0xb7a5[95]]*_0x99b5x9;var _0x99b5xb=_0x99b5x1b[_0xb7a5[96]]*_0x99b5x9;var _0x99b5x1c=Math[_0xb7a5[162]](Math[_0xb7a5[161]](0,_0x99b5x17)/_0x99b5xa);var _0x99b5x1d=Math[_0xb7a5[162]](Math[_0xb7a5[161]](0,_0x99b5x18)/_0x99b5xb);var _0x99b5x1e=Math[_0xb7a5[164]](Math[_0xb7a5[163]](1,_0x99b5x17+_0x99b5x19)/_0x99b5xa);var _0x99b5x1f=Math[_0xb7a5[164]](Math[_0xb7a5[163]](1,_0x99b5x18+_0x99b5x1a)/_0x99b5xb);var _0x99b5x20=_0x99b5x1e-_0x99b5x1c;var _0x99b5x21=_0x99b5x1f-_0x99b5x1d;var _0x99b5x15= new mxRectangle(this[_0xb7a5[52]]*(this[_0xb7a5[71]][_0xb7a5[70]]+_0x99b5x1c*_0x99b5xa),this[_0xb7a5[52]]*(this[_0xb7a5[71]][_0xb7a5[73]]+_0x99b5x1d*_0x99b5xb),this[_0xb7a5[52]]*_0x99b5x20*_0x99b5xa,this[_0xb7a5[52]]*_0x99b5x21*_0x99b5xb);return _0x99b5x15};var _0x99b5x22=mxGraph[_0xb7a5[44]][_0xb7a5[165]];mxGraph[_0xb7a5[44]][_0xb7a5[165]]=function(_0x99b5x23,_0x99b5x24){_0x99b5x22[_0xb7a5[33]](this,arguments);if((this[_0xb7a5[166]]!=mxConstants[_0xb7a5[167]]&&this[_0xb7a5[53]][_0xb7a5[101]]!=null)&&(!this[_0xb7a5[168]]||!mxUtils[_0xb7a5[169]](this[_0xb7a5[68]]))){this[_0xb7a5[53]][_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[99]][_0xb7a5[170]]=_0x99b5x23+_0xb7a5[171];this[_0xb7a5[53]][_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[99]][_0xb7a5[172]]=_0x99b5x24+_0xb7a5[171]}};var _0x99b5x25=this;mxGraphView[_0xb7a5[44]][_0xb7a5[173]]=function(){var _0x99b5xc=this[_0xb7a5[14]][_0xb7a5[174]]();if(_0x99b5xc!=null){if(this[_0xb7a5[124]]==null||this[_0xb7a5[124]][_0xb7a5[175]]!=_0x99b5xc[_0xb7a5[176]]){if(this[_0xb7a5[124]]!=null){this[_0xb7a5[124]][_0xb7a5[177]]()};var _0x99b5x15= new mxRectangle(0,0,1,1);this[_0xb7a5[124]]= new mxImageShape(_0x99b5x15,_0x99b5xc[_0xb7a5[176]]);this[_0xb7a5[124]][_0xb7a5[166]]=this[_0xb7a5[14]][_0xb7a5[166]];this[_0xb7a5[124]][_0xb7a5[12]](this[_0xb7a5[178]]);this[_0xb7a5[124]][_0xb7a5[179]]()};this[_0xb7a5[180]](this[_0xb7a5[124]],_0x99b5xc)}else {if(this[_0xb7a5[124]]!=null){this[_0xb7a5[124]][_0xb7a5[177]]();this[_0xb7a5[124]]=null}};if(this[_0xb7a5[14]][_0xb7a5[75]]){var _0x99b5x15=this[_0xb7a5[159]]();if(this[_0xb7a5[101]]==null){this[_0xb7a5[101]]=this[_0xb7a5[156]](_0x99b5x15);this[_0xb7a5[101]][_0xb7a5[52]]=1;this[_0xb7a5[101]][_0xb7a5[181]]=true;this[_0xb7a5[101]][_0xb7a5[166]]=mxConstants[_0xb7a5[182]];this[_0xb7a5[101]][_0xb7a5[12]](this[_0xb7a5[14]][_0xb7a5[68]]);this[_0xb7a5[14]][_0xb7a5[68]][_0xb7a5[184]][_0xb7a5[99]][_0xb7a5[183]]=_0xb7a5[185];this[_0xb7a5[14]][_0xb7a5[68]][_0xb7a5[186]](this[_0xb7a5[101]][_0xb7a5[125]],this[_0xb7a5[14]][_0xb7a5[68]][_0xb7a5[184]]);this[_0xb7a5[101]][_0xb7a5[179]]();this[_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[187]]=_0xb7a5[188];this[_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[99]][_0xb7a5[189]]=_0xb7a5[190];mxEvent[_0xb7a5[35]](this[_0xb7a5[101]][_0xb7a5[125]],_0xb7a5[191],mxUtils[_0xb7a5[34]](this,function(_0x99b5x14){this[_0xb7a5[14]][_0xb7a5[192]](_0x99b5x14)}));mxEvent[_0xb7a5[198]](this[_0xb7a5[101]][_0xb7a5[125]],mxUtils[_0xb7a5[34]](this,function(_0x99b5x14){this[_0xb7a5[14]][_0xb7a5[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x99b5x14))}),mxUtils[_0xb7a5[34]](this,function(_0x99b5x14){if(this[_0xb7a5[14]][_0xb7a5[93]]!=null&&this[_0xb7a5[14]][_0xb7a5[93]][_0xb7a5[194]]()){this[_0xb7a5[14]][_0xb7a5[93]][_0xb7a5[195]]()};if(this[_0xb7a5[14]][_0xb7a5[196]]&&!mxEvent[_0xb7a5[197]](_0x99b5x14)){this[_0xb7a5[14]][_0xb7a5[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x99b5x14))}}),mxUtils[_0xb7a5[34]](this,function(_0x99b5x14){this[_0xb7a5[14]][_0xb7a5[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x99b5x14))}))}else {this[_0xb7a5[101]][_0xb7a5[52]]=1;this[_0xb7a5[101]][_0xb7a5[199]]=_0x99b5x15;this[_0xb7a5[101]][_0xb7a5[179]]()};this[_0xb7a5[101]][_0xb7a5[125]][_0xb7a5[99]][_0xb7a5[124]]=(this[_0xb7a5[14]][_0xb7a5[91]]())?_0xb7a5[122]+_0x99b5x25[_0xb7a5[43]]+_0xb7a5[123]:_0xb7a5[97]}else {if(this[_0xb7a5[101]]!=null){this[_0xb7a5[101]][_0xb7a5[177]]();this[_0xb7a5[101]]=null}}};mxGraph[_0xb7a5[44]][_0xb7a5[200]]=function(_0x99b5x26,_0x99b5x27,_0x99b5x28){var _0x99b5x29=this[_0xb7a5[53]][_0xb7a5[52]];var _0x99b5x2a=this[_0xb7a5[53]][_0xb7a5[71]];var _0x99b5x1b=this[_0xb7a5[82]];var _0x99b5x9=_0x99b5x29*this[_0xb7a5[79]];var _0x99b5x2b=this[_0xb7a5[53]][_0xb7a5[159]]();_0x99b5x27=_0x99b5x2b[_0xb7a5[95]];_0x99b5x28=_0x99b5x2b[_0xb7a5[96]];var _0x99b5x15= new mxRectangle(_0x99b5x29*_0x99b5x2a[_0xb7a5[70]],_0x99b5x29*_0x99b5x2a[_0xb7a5[73]],_0x99b5x1b[_0xb7a5[95]]*_0x99b5x9,_0x99b5x1b[_0xb7a5[96]]*_0x99b5x9);_0x99b5x26=_0x99b5x26&&Math[_0xb7a5[161]](_0x99b5x15[_0xb7a5[95]],_0x99b5x15[_0xb7a5[96]])>this[_0xb7a5[201]];var _0x99b5x2c=(_0x99b5x26)?Math[_0xb7a5[164]](_0x99b5x27/_0x99b5x15[_0xb7a5[95]])-1:0;var _0x99b5x2d=(_0x99b5x26)?Math[_0xb7a5[164]](_0x99b5x28/_0x99b5x15[_0xb7a5[96]])-1:0;var _0x99b5x2e=_0x99b5x2b[_0xb7a5[70]]+_0x99b5x27;var _0x99b5x2f=_0x99b5x2b[_0xb7a5[73]]+_0x99b5x28;if(this[_0xb7a5[202]]==null&&_0x99b5x2c>0){this[_0xb7a5[202]]=[]};if(this[_0xb7a5[202]]!=null){for(var _0x99b5x30=0;_0x99b5x30<=_0x99b5x2c;_0x99b5x30++){var _0x99b5x31=[ new mxPoint(_0x99b5x2b[_0xb7a5[70]]+(_0x99b5x30+1)*_0x99b5x15[_0xb7a5[95]],_0x99b5x2b[_0xb7a5[73]]), new mxPoint(_0x99b5x2b[_0xb7a5[70]]+(_0x99b5x30+1)*_0x99b5x15[_0xb7a5[95]],_0x99b5x2f)];if(this[_0xb7a5[202]][_0x99b5x30]!=null){this[_0xb7a5[202]][_0x99b5x30][_0xb7a5[52]]=1;this[_0xb7a5[202]][_0x99b5x30][_0xb7a5[203]]=_0x99b5x31;this[_0xb7a5[202]][_0x99b5x30][_0xb7a5[179]]()}else {var _0x99b5x32= new mxPolyline(_0x99b5x31,this[_0xb7a5[153]],this[_0xb7a5[52]]);_0x99b5x32[_0xb7a5[166]]=this[_0xb7a5[166]];_0x99b5x32[_0xb7a5[204]]=this[_0xb7a5[205]];_0x99b5x32[_0xb7a5[206]]=false;_0x99b5x32[_0xb7a5[52]]=_0x99b5x29;_0x99b5x32[_0xb7a5[12]](this[_0xb7a5[53]][_0xb7a5[178]]);_0x99b5x32[_0xb7a5[179]]();this[_0xb7a5[202]][_0x99b5x30]=_0x99b5x32}};for(var _0x99b5x30=_0x99b5x2c;_0x99b5x30<this[_0xb7a5[202]][_0xb7a5[83]];_0x99b5x30++){this[_0xb7a5[202]][_0x99b5x30][_0xb7a5[177]]()};this[_0xb7a5[202]][_0xb7a5[207]](_0x99b5x2c,this[_0xb7a5[202]][_0xb7a5[83]]-_0x99b5x2c)};if(this[_0xb7a5[208]]==null&&_0x99b5x2d>0){this[_0xb7a5[208]]=[]};if(this[_0xb7a5[208]]!=null){for(var _0x99b5x30=0;_0x99b5x30<=_0x99b5x2d;_0x99b5x30++){var _0x99b5x31=[ new mxPoint(_0x99b5x2b[_0xb7a5[70]],_0x99b5x2b[_0xb7a5[73]]+(_0x99b5x30+1)*_0x99b5x15[_0xb7a5[96]]), new mxPoint(_0x99b5x2e,_0x99b5x2b[_0xb7a5[73]]+(_0x99b5x30+1)*_0x99b5x15[_0xb7a5[96]])];if(this[_0xb7a5[208]][_0x99b5x30]!=null){this[_0xb7a5[208]][_0x99b5x30][_0xb7a5[52]]=1;this[_0xb7a5[208]][_0x99b5x30][_0xb7a5[203]]=_0x99b5x31;this[_0xb7a5[208]][_0x99b5x30][_0xb7a5[179]]()}else {var _0x99b5x32= new mxPolyline(_0x99b5x31,this[_0xb7a5[153]],_0x99b5x29);_0x99b5x32[_0xb7a5[166]]=this[_0xb7a5[166]];_0x99b5x32[_0xb7a5[204]]=this[_0xb7a5[205]];_0x99b5x32[_0xb7a5[206]]=false;_0x99b5x32[_0xb7a5[52]]=_0x99b5x29;_0x99b5x32[_0xb7a5[12]](this[_0xb7a5[53]][_0xb7a5[178]]);_0x99b5x32[_0xb7a5[179]]();this[_0xb7a5[208]][_0x99b5x30]=_0x99b5x32}};for(var _0x99b5x30=_0x99b5x2d;_0x99b5x30<this[_0xb7a5[208]][_0xb7a5[83]];_0x99b5x30++){this[_0xb7a5[208]][_0x99b5x30][_0xb7a5[177]]()};this[_0xb7a5[208]][_0xb7a5[207]](_0x99b5x2d,this[_0xb7a5[208]][_0xb7a5[83]]-_0x99b5x2d)}};mxEdgeHandler[_0xb7a5[44]][_0xb7a5[209]]=true;mxGraphHandler[_0xb7a5[44]][_0xb7a5[58]]=true;var _0x99b5x33=mxGraphHandler[_0xb7a5[44]][_0xb7a5[210]];mxGraphHandler[_0xb7a5[44]][_0xb7a5[210]]=function(_0x99b5x34,_0x99b5x35,_0x99b5x14){for(var _0x99b5x30=0;_0x99b5x30<_0x99b5x35[_0xb7a5[83]];_0x99b5x30++){if(this[_0xb7a5[14]][_0xb7a5[36]]()[_0xb7a5[211]](_0x99b5x35[_0x99b5x30])){var _0x99b5x36=this[_0xb7a5[14]][_0xb7a5[212]](_0x99b5x35[_0x99b5x30]);if(_0x99b5x36!=null&&_0x99b5x36[_0xb7a5[213]]){return false}}};return _0x99b5x33[_0xb7a5[33]](this,arguments)};mxGuide[_0xb7a5[44]][_0xb7a5[214]]=function(_0x99b5x14){return !mxEvent[_0xb7a5[215]](_0x99b5x14)};mxPopupMenuAddItem=mxPopupMenu[_0xb7a5[44]][_0xb7a5[216]];mxPopupMenu[_0xb7a5[44]][_0xb7a5[216]]=function(_0x99b5x37,_0x99b5x38,_0x99b5x39,_0x99b5x34,_0x99b5x3a,_0x99b5x3b){var _0x99b5x3c=mxPopupMenuAddItem[_0xb7a5[33]](this,arguments);if(_0x99b5x3b!=null&& !_0x99b5x3b){mxEvent[_0xb7a5[35]](_0x99b5x3c,_0xb7a5[217],function(_0x99b5x14){mxEvent[_0xb7a5[218]](_0x99b5x14)})};return _0x99b5x3c};var _0x99b5x3d=mxGraphHandler[_0xb7a5[44]][_0xb7a5[219]];mxGraphHandler[_0xb7a5[44]][_0xb7a5[219]]=function(_0x99b5x3e){var _0x99b5x3f=this[_0xb7a5[14]][_0xb7a5[36]]();var _0x99b5x40=_0x99b5x3f[_0xb7a5[221]](this[_0xb7a5[14]][_0xb7a5[220]]());var _0x99b5x41=_0x99b5x3d[_0xb7a5[33]](this,arguments);var _0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x41);if(_0x99b5x40==null||(_0x99b5x40!=_0x99b5x41&&_0x99b5x40!=_0x99b5x34)){while(!this[_0xb7a5[14]][_0xb7a5[222]](_0x99b5x41)&&!this[_0xb7a5[14]][_0xb7a5[222]](_0x99b5x34)&&_0x99b5x3f[_0xb7a5[211]](_0x99b5x34)&&!this[_0xb7a5[14]][_0xb7a5[223]](_0x99b5x34)){_0x99b5x41=_0x99b5x34;_0x99b5x34=this[_0xb7a5[14]][_0xb7a5[36]]()[_0xb7a5[221]](_0x99b5x41)}};return _0x99b5x41};var _0x99b5x42=mxGraphHandler[_0xb7a5[44]][_0xb7a5[224]];mxGraphHandler[_0xb7a5[44]][_0xb7a5[224]]=function(_0x99b5x41){var _0x99b5x3c=_0x99b5x42[_0xb7a5[33]](this,arguments);var _0x99b5x3f=this[_0xb7a5[14]][_0xb7a5[36]]();var _0x99b5x40=_0x99b5x3f[_0xb7a5[221]](this[_0xb7a5[14]][_0xb7a5[220]]());var _0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x41);if(_0x99b5x40==null||(_0x99b5x40!=_0x99b5x41&&_0x99b5x40!=_0x99b5x34)){if(!this[_0xb7a5[14]][_0xb7a5[222]](_0x99b5x41)&&_0x99b5x3f[_0xb7a5[211]](_0x99b5x34)&&!this[_0xb7a5[14]][_0xb7a5[223]](_0x99b5x34)){_0x99b5x3c=true}};return _0x99b5x3c};mxGraphHandler[_0xb7a5[44]][_0xb7a5[225]]=function(_0x99b5x3e){var _0x99b5x41=_0x99b5x3e[_0xb7a5[226]]();if(_0x99b5x41==null){_0x99b5x41=this[_0xb7a5[227]]};var _0x99b5x3f=this[_0xb7a5[14]][_0xb7a5[36]]();var _0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x41);while(this[_0xb7a5[14]][_0xb7a5[222]](_0x99b5x41)&&_0x99b5x3f[_0xb7a5[211]](_0x99b5x34)&&!this[_0xb7a5[14]][_0xb7a5[223]](_0x99b5x34)){_0x99b5x41=_0x99b5x34;_0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x41)};this[_0xb7a5[14]][_0xb7a5[229]](_0x99b5x41,_0x99b5x3e[_0xb7a5[228]]())};mxPanningHandler[_0xb7a5[44]][_0xb7a5[230]]=function(_0x99b5x3e){var _0x99b5x41=_0x99b5x3e[_0xb7a5[226]]();var _0x99b5x3f=this[_0xb7a5[14]][_0xb7a5[36]]();var _0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x41);while(_0x99b5x3f[_0xb7a5[211]](_0x99b5x34)&&!this[_0xb7a5[14]][_0xb7a5[223]](_0x99b5x34)){if(this[_0xb7a5[14]][_0xb7a5[222]](_0x99b5x34)){_0x99b5x41=_0x99b5x34};_0x99b5x34=_0x99b5x3f[_0xb7a5[221]](_0x99b5x34)};return _0x99b5x41}};Editor[_0xb7a5[44]][_0xb7a5[18]]=function(){var _0x99b5xe=this[_0xb7a5[14]];var _0x99b5x43= new mxUndoManager();var _0x99b5x44=function(_0x99b5x45,_0x99b5x14){_0x99b5x43[_0xb7a5[233]](_0x99b5x14[_0xb7a5[232]](_0xb7a5[231]))};_0x99b5xe[_0xb7a5[36]]()[_0xb7a5[35]](mxEvent.UNDO,_0x99b5x44);_0x99b5xe[_0xb7a5[234]]()[_0xb7a5[35]](mxEvent.UNDO,_0x99b5x44);var _0x99b5x46=function(_0x99b5x45,_0x99b5x14){var _0x99b5x47=_0x99b5xe[_0xb7a5[236]](_0x99b5x14[_0xb7a5[232]](_0xb7a5[231])[_0xb7a5[235]]);var _0x99b5x35=[];for(var _0x99b5x30=1;_0x99b5x30<_0x99b5x47[_0xb7a5[83]];_0x99b5x30++){if(_0x99b5xe[_0xb7a5[53]][_0xb7a5[237]](_0x99b5x47[_0x99b5x30])!=null){_0x99b5x35[_0xb7a5[238]](_0x99b5x47[_0x99b5x30])}};_0x99b5xe[_0xb7a5[239]](_0x99b5x35)};_0x99b5x43[_0xb7a5[35]](mxEvent.UNDO,_0x99b5x46);_0x99b5x43[_0xb7a5[35]](mxEvent.REDO,_0x99b5x46);return _0x99b5x43};Editor[_0xb7a5[44]][_0xb7a5[13]]=function(){mxStencilRegistry[_0xb7a5[241]](STENCIL_PATH+_0xb7a5[240])};(function(){mxStencilRegistry[_0xb7a5[242]]={};mxStencilRegistry[_0xb7a5[243]]=[];mxStencilRegistry[_0xb7a5[244]]=function(_0x99b5x48){var _0x99b5x3c=mxStencilRegistry[_0xb7a5[245]][_0x99b5x48];if(_0x99b5x3c==null){var _0x99b5x49=mxStencilRegistry[_0xb7a5[246]](_0x99b5x48);if(_0x99b5x49!=null){var _0x99b5x4a=mxStencilRegistry[_0xb7a5[242]][_0x99b5x49];if(_0x99b5x4a!=null){if(mxStencilRegistry[_0xb7a5[243]][_0x99b5x49]==null){mxStencilRegistry[_0xb7a5[243]][_0x99b5x49]=1;for(var _0x99b5x30=0;_0x99b5x30<_0x99b5x4a[_0xb7a5[83]];_0x99b5x30++){var _0x99b5x4b=_0x99b5x4a[_0x99b5x30];if(_0x99b5x4b[_0xb7a5[248]]()[_0xb7a5[247]](_0x99b5x4b[_0xb7a5[83]]-4,_0x99b5x4b[_0xb7a5[83]])==_0xb7a5[25]){mxStencilRegistry[_0xb7a5[241]](_0x99b5x4b,null)}else {if(_0x99b5x4b[_0xb7a5[248]]()[_0xb7a5[247]](_0x99b5x4b[_0xb7a5[83]]-3,_0x99b5x4b[_0xb7a5[83]])==_0xb7a5[249]){var _0x99b5x4c=mxUtils[_0xb7a5[250]](_0x99b5x4b);if(_0x99b5x4c!=null){eval[_0xb7a5[11]](window,_0x99b5x4c[_0xb7a5[251]]())}}else {}}}}}else {mxStencilRegistry[_0xb7a5[241]](STENCIL_PATH+_0xb7a5[252]+_0x99b5x49+_0xb7a5[25],null)};_0x99b5x3c=mxStencilRegistry[_0xb7a5[245]][_0x99b5x48]}};return _0x99b5x3c};mxStencilRegistry[_0xb7a5[246]]=function(_0x99b5x48){var _0x99b5x4d=_0x99b5x48[_0xb7a5[254]](_0xb7a5[253]);var _0x99b5x4e=null;if(_0x99b5x4d[_0xb7a5[83]]>0&&_0x99b5x4d[0]==_0xb7a5[255]){_0x99b5x4e=_0x99b5x4d[1];for(var _0x99b5x30=2;_0x99b5x30<_0x99b5x4d[_0xb7a5[83]]-1;_0x99b5x30++){_0x99b5x4e+=_0xb7a5[252]+_0x99b5x4d[_0x99b5x30]}};return _0x99b5x4e};mxStencilRegistry[_0xb7a5[241]]=function(_0x99b5x4f,_0x99b5x50,_0x99b5x51){_0x99b5x51=(_0x99b5x51!=null)?_0x99b5x51:false;var _0x99b5x52=mxStencilRegistry[_0xb7a5[243]][_0x99b5x4f];if(_0x99b5x51||_0x99b5x52==null){var _0x99b5x53=false;if(_0x99b5x52==null){var _0x99b5x4c=mxUtils[_0xb7a5[250]](_0x99b5x4f);_0x99b5x52=_0x99b5x4c[_0xb7a5[256]]();mxStencilRegistry[_0xb7a5[243]][_0x99b5x4f]=_0x99b5x52;_0x99b5x53=true};mxStencilRegistry[_0xb7a5[257]](_0x99b5x52,_0x99b5x50,_0x99b5x53)}};mxStencilRegistry[_0xb7a5[257]]=function(_0x99b5x54,_0x99b5x50,_0x99b5x53){_0x99b5x53=(_0x99b5x53!=null)?_0x99b5x53:true;var _0x99b5x55=_0x99b5x54[_0xb7a5[258]];var _0x99b5x56=_0x99b5x55[_0xb7a5[184]];var _0x99b5x57=_0xb7a5[20];var _0x99b5x48=_0x99b5x55[_0xb7a5[56]](_0xb7a5[259]);if(_0x99b5x48!=null){_0x99b5x57=_0x99b5x48+_0xb7a5[253]};while(_0x99b5x56!=null){if(_0x99b5x56[_0xb7a5[260]]==mxConstants[_0xb7a5[261]]){_0x99b5x48=_0x99b5x56[_0xb7a5[56]](_0xb7a5[259]);if(_0x99b5x48!=null){_0x99b5x57=_0x99b5x57[_0xb7a5[248]]();var _0x99b5x58=_0x99b5x48[_0xb7a5[263]](/ /g,_0xb7a5[262]);if(_0x99b5x53){mxStencilRegistry[_0xb7a5[264]](_0x99b5x57+_0x99b5x58[_0xb7a5[248]](), new mxStencil(_0x99b5x56))};if(_0x99b5x50!=null){var _0x99b5x19=_0x99b5x56[_0xb7a5[56]](_0xb7a5[265]);var _0x99b5x1a=_0x99b5x56[_0xb7a5[56]](_0xb7a5[266]);_0x99b5x19=(_0x99b5x19==null)?80:parseInt(_0x99b5x19,10);_0x99b5x1a=(_0x99b5x1a==null)?80:parseInt(_0x99b5x1a,10);_0x99b5x50(_0x99b5x57,_0x99b5x58,_0x99b5x48,_0x99b5x19,_0x99b5x1a)}}};_0x99b5x56=_0x99b5x56[_0xb7a5[267]]}}})();OpenFile=function(_0x99b5x59){this[_0xb7a5[268]]=null;this[_0xb7a5[269]]=null;this[_0xb7a5[270]]=_0x99b5x59};OpenFile[_0xb7a5[44]][_0xb7a5[271]]=function(_0x99b5x6){this[_0xb7a5[269]]=_0x99b5x6;this[_0xb7a5[272]]()};OpenFile[_0xb7a5[44]][_0xb7a5[273]]=function(_0x99b5x6,_0x99b5x5a){this[_0xb7a5[274]]=_0x99b5x6;this[_0xb7a5[21]]=_0x99b5x5a;this[_0xb7a5[272]]()};OpenFile[_0xb7a5[44]][_0xb7a5[275]]=function(_0x99b5x5b){this[_0xb7a5[276]]();mxUtils[_0xb7a5[277]](_0x99b5x5b)};OpenFile[_0xb7a5[44]][_0xb7a5[272]]=function(){if(this[_0xb7a5[269]]!=null&&this[_0xb7a5[274]]!=null){this[_0xb7a5[269]](this[_0xb7a5[274]],this[_0xb7a5[21]]);this[_0xb7a5[276]]()}};OpenFile[_0xb7a5[44]][_0xb7a5[276]]=function(){if(this[_0xb7a5[270]]!=null){this[_0xb7a5[270]]()}} \ No newline at end of file +var _0x40d1=["\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[_0x40d1[0]]||urlParams[_0x40d1[1]]==_0x40d1[2])&& typeof (localStorage)!=_0x40d1[3];var fileSupport=window[_0x40d1[4]]!=null&&window[_0x40d1[5]]!=null&&window[_0x40d1[6]]!=null;var touchStyle=mxClient[_0x40d1[0]]||urlParams[_0x40d1[7]]==_0x40d1[8];var counter=0;try{var op=window;while(op[_0x40d1[9]]!=null&&!isNaN(op[_0x40d1[9]][_0x40d1[10]])){op=op[_0x40d1[9]]};if(op!=null){op[_0x40d1[10]]++;counter=op[_0x40d1[10]]}}catch(e){};Editor=function(){mxEventSource[_0x40d1[11]](this);this[_0x40d1[12]]();this[_0x40d1[13]]();this[_0x40d1[14]]= new Graph();this[_0x40d1[15]]= new mxOutline(this[_0x40d1[14]]);this[_0x40d1[15]][_0x40d1[16]]=true;this[_0x40d1[17]]=this[_0x40d1[18]]();this[_0x40d1[19]]=_0x40d1[20];this[_0x40d1[21]]=null;this[_0x40d1[22]]=function(){return this[_0x40d1[21]]||mxResources[_0x40d1[24]](_0x40d1[23],[counter])+_0x40d1[25]};this[_0x40d1[26]]=function(){return this[_0x40d1[21]]};this[_0x40d1[27]]=function(_0x79b5x6){this[_0x40d1[19]]=_0x79b5x6;this[_0x40d1[29]]( new mxEventObject(_0x40d1[28]))};this[_0x40d1[30]]=function(){return this[_0x40d1[19]]};this[_0x40d1[31]]=false;this[_0x40d1[32]]=function(){this[_0x40d1[31]]=true};this[_0x40d1[14]][_0x40d1[36]]()[_0x40d1[35]](mxEvent.CHANGE,mxUtils[_0x40d1[34]](this,function(){this[_0x40d1[32]][_0x40d1[33]](this,arguments)}));window[_0x40d1[37]]=mxUtils[_0x40d1[34]](this,function(){if(this[_0x40d1[31]]){return mxResources[_0x40d1[24]](_0x40d1[38])}});this[_0x40d1[14]][_0x40d1[39]]=false;this[_0x40d1[14]][_0x40d1[40]]=true;this[_0x40d1[14]][_0x40d1[41]]=null};mxUtils[_0x40d1[42]](Editor,mxEventSource);Editor[_0x40d1[44]][_0x40d1[43]]=IMAGE_PATH+_0x40d1[45];Editor[_0x40d1[44]][_0x40d1[46]]=IMAGE_PATH+_0x40d1[47];Editor[_0x40d1[44]][_0x40d1[48]]=function(_0x79b5x7){var _0x79b5x8= new mxCodec(_0x79b5x7[_0x40d1[49]]);if(_0x79b5x7[_0x40d1[50]]==_0x40d1[51]){this[_0x40d1[14]][_0x40d1[53]][_0x40d1[52]]=1;this[_0x40d1[14]][_0x40d1[54]]=_0x79b5x7[_0x40d1[56]](_0x40d1[55])!=_0x40d1[57];this[_0x40d1[14]][_0x40d1[59]][_0x40d1[58]]=_0x79b5x7[_0x40d1[56]](_0x40d1[60])!=_0x40d1[57];this[_0x40d1[14]][_0x40d1[62]](_0x79b5x7[_0x40d1[56]](_0x40d1[61])!=_0x40d1[57]);this[_0x40d1[14]][_0x40d1[64]](_0x79b5x7[_0x40d1[56]](_0x40d1[63])!=_0x40d1[57]);this[_0x40d1[14]][_0x40d1[65]]=_0x79b5x7[_0x40d1[56]](_0x40d1[66])!=_0x40d1[57];this[_0x40d1[14]][_0x40d1[40]]=_0x79b5x7[_0x40d1[56]](_0x40d1[40])!=_0x40d1[57];if(!this[_0x40d1[14]][_0x40d1[40]]){this[_0x40d1[14]][_0x40d1[68]][_0x40d1[67]]=0;this[_0x40d1[14]][_0x40d1[68]][_0x40d1[69]]=0;this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[70]]=Number(_0x79b5x7[_0x40d1[56]](_0x40d1[72])||0);this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[73]]=Number(_0x79b5x7[_0x40d1[56]](_0x40d1[74])||0)};this[_0x40d1[14]][_0x40d1[75]]=_0x79b5x7[_0x40d1[56]](_0x40d1[76])==_0x40d1[8];this[_0x40d1[14]][_0x40d1[77]]=this[_0x40d1[14]][_0x40d1[75]];this[_0x40d1[14]][_0x40d1[78]]=this[_0x40d1[14]][_0x40d1[77]];var _0x79b5x9=_0x79b5x7[_0x40d1[56]](_0x40d1[79]);if(_0x79b5x9!=null){this[_0x40d1[14]][_0x40d1[79]]=_0x79b5x9}else {this[_0x40d1[14]][_0x40d1[79]]=1.5};var _0x79b5xa=_0x79b5x7[_0x40d1[56]](_0x40d1[80]);var _0x79b5xb=_0x79b5x7[_0x40d1[56]](_0x40d1[81]);if(_0x79b5xa!=null&&_0x79b5xb!=null){this[_0x40d1[14]][_0x40d1[82]]= new mxRectangle(0,0,parseFloat(_0x79b5xa),parseFloat(_0x79b5xb));this[_0x40d1[15]][_0x40d1[15]][_0x40d1[82]]=this[_0x40d1[14]][_0x40d1[82]]};var _0x79b5xc=_0x79b5x7[_0x40d1[56]](_0x40d1[41]);if(_0x79b5xc!=null&&_0x79b5xc[_0x40d1[83]]>0){this[_0x40d1[14]][_0x40d1[41]]=_0x79b5xc};_0x79b5x8[_0x40d1[84]](_0x79b5x7,this[_0x40d1[14]][_0x40d1[36]]());this[_0x40d1[85]]()}};Editor[_0x40d1[44]][_0x40d1[86]]=function(){var _0x79b5xd= new mxCodec(mxUtils[_0x40d1[87]]());var _0x79b5x7=_0x79b5xd[_0x40d1[88]](this[_0x40d1[14]][_0x40d1[36]]());if(this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[70]]!=0||this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[73]]!=0){_0x79b5x7[_0x40d1[90]](_0x40d1[72],Math[_0x40d1[89]](this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[70]]*100)/100);_0x79b5x7[_0x40d1[90]](_0x40d1[74],Math[_0x40d1[89]](this[_0x40d1[14]][_0x40d1[53]][_0x40d1[71]][_0x40d1[73]]*100)/100)};_0x79b5x7[_0x40d1[90]](_0x40d1[55],(this[_0x40d1[14]][_0x40d1[91]]())?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[60],(this[_0x40d1[14]][_0x40d1[59]][_0x40d1[58]])?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[60],(this[_0x40d1[14]][_0x40d1[59]][_0x40d1[58]])?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[61],(this[_0x40d1[14]][_0x40d1[93]][_0x40d1[92]]())?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[63],(this[_0x40d1[14]][_0x40d1[94]][_0x40d1[92]]())?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[66],(this[_0x40d1[14]][_0x40d1[65]])?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[76],(this[_0x40d1[14]][_0x40d1[75]])?_0x40d1[8]:_0x40d1[57]);_0x79b5x7[_0x40d1[90]](_0x40d1[79],this[_0x40d1[14]][_0x40d1[79]]);_0x79b5x7[_0x40d1[90]](_0x40d1[80],this[_0x40d1[14]][_0x40d1[82]][_0x40d1[95]]);_0x79b5x7[_0x40d1[90]](_0x40d1[81],this[_0x40d1[14]][_0x40d1[82]][_0x40d1[96]]);if(!this[_0x40d1[14]][_0x40d1[40]]){_0x79b5x7[_0x40d1[90]](_0x40d1[40],_0x40d1[57])};if(this[_0x40d1[14]][_0x40d1[41]]!=null){_0x79b5x7[_0x40d1[90]](_0x40d1[41],this[_0x40d1[14]][_0x40d1[41]])};return _0x79b5x7};Editor[_0x40d1[44]][_0x40d1[85]]=function(){var _0x79b5xe=this[_0x40d1[14]];var _0x79b5xf=this[_0x40d1[15]];if(_0x79b5xe[_0x40d1[68]]!=null&&_0x79b5xf[_0x40d1[15]][_0x40d1[68]]!=null){if(_0x79b5xe[_0x40d1[41]]!=null){if(_0x79b5xe[_0x40d1[41]]==_0x40d1[97]){_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[98]]=_0x40d1[100]}else {if(_0x79b5xe[_0x40d1[53]][_0x40d1[101]]!=null){_0x79b5xe[_0x40d1[53]][_0x40d1[101]][_0x40d1[102]]=_0x79b5xe[_0x40d1[41]];_0x79b5xe[_0x40d1[53]][_0x40d1[101]][_0x40d1[103]]()};_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[98]]=_0x79b5xe[_0x40d1[41]]}}else {_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[98]]=_0x40d1[20]};if(_0x79b5xe[_0x40d1[75]]){_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[98]]=_0x40d1[104];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[105]]=_0x40d1[106];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[107]]=_0x40d1[108];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[109]]=_0x40d1[110];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[111]]=_0x40d1[110];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[112]]=_0x40d1[113];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[114]]=_0x40d1[113]}else {_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[115]]=_0x40d1[20]};_0x79b5xf[_0x40d1[15]][_0x40d1[68]][_0x40d1[99]][_0x40d1[98]]=_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[98]];if(_0x79b5xf[_0x40d1[15]][_0x40d1[75]]!=_0x79b5xe[_0x40d1[75]]||_0x79b5xf[_0x40d1[15]][_0x40d1[79]]!=_0x79b5xe[_0x40d1[79]]){_0x79b5xf[_0x40d1[15]][_0x40d1[79]]=_0x79b5xe[_0x40d1[79]];_0x79b5xf[_0x40d1[15]][_0x40d1[75]]=_0x79b5xe[_0x40d1[75]];_0x79b5xf[_0x40d1[15]][_0x40d1[53]][_0x40d1[116]]()};if(_0x79b5xe[_0x40d1[40]]&&_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[117]]==_0x40d1[118]&& !touchStyle){_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[117]]=_0x40d1[119]}else {if(!_0x79b5xe[_0x40d1[40]]||touchStyle){_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[117]]=_0x40d1[118]}};var _0x79b5x10=(mxClient[_0x40d1[120]]&&document[_0x40d1[121]]>=9)?_0x40d1[122]+this[_0x40d1[46]]+_0x40d1[123]:_0x40d1[97];_0x79b5xe[_0x40d1[68]][_0x40d1[99]][_0x40d1[124]]=(!_0x79b5xe[_0x40d1[75]]&&_0x79b5xe[_0x40d1[91]]())?_0x40d1[122]+this[_0x40d1[43]]+_0x40d1[123]:_0x79b5x10;if(_0x79b5xe[_0x40d1[53]][_0x40d1[101]]!=null){_0x79b5xe[_0x40d1[53]][_0x40d1[101]][_0x40d1[125]][_0x40d1[99]][_0x40d1[124]]=(this[_0x40d1[14]][_0x40d1[91]]())?_0x40d1[122]+this[_0x40d1[43]]+_0x40d1[123]:_0x40d1[97]}}};Editor[_0x40d1[44]][_0x40d1[12]]=function(){if(mxClient[_0x40d1[126]]){mxClient[_0x40d1[129]](_0x40d1[127],CSS_PATH+_0x40d1[128])};mxResources[_0x40d1[130]]=false;mxResources[_0x40d1[131]](RESOURCE_BASE);mxConstants[_0x40d1[132]]=0.3;var _0x79b5x11=mxConnectionHandler[_0x40d1[44]][_0x40d1[133]];mxConnectionHandler[_0x40d1[44]][_0x40d1[133]]=function(){var _0x79b5x12=_0x79b5x11[_0x40d1[33]](this,arguments);_0x79b5x12[_0x40d1[134]]=mxUtils[_0x40d1[34]](this,function(_0x79b5x13,_0x79b5x14){if(this[_0x40d1[135]]()){return true};return mxCellMarker[_0x40d1[44]][_0x40d1[134]][_0x40d1[33]](_0x79b5x12,arguments)});return _0x79b5x12};mxConstants[_0x40d1[136]]=_0x40d1[137];mxConstants[_0x40d1[138]]=_0x40d1[139];mxConstants[_0x40d1[140]]=_0x40d1[141];mxConstants[_0x40d1[142]]=_0x40d1[143];mxConstants[_0x40d1[144]]=_0x40d1[143];mxConstants[_0x40d1[145]]=_0x40d1[139];mxConstants[_0x40d1[146]]=_0x40d1[143];mxConstants[_0x40d1[147]]=_0x40d1[148];mxConstants[_0x40d1[149]]=_0x40d1[143];mxConstants[_0x40d1[150]]=_0x40d1[143];mxConstants[_0x40d1[151]]=_0x40d1[148];mxConstants[_0x40d1[152]]=_0x40d1[141];mxGraph[_0x40d1[44]][_0x40d1[153]]=_0x40d1[154];mxGraph[_0x40d1[44]][_0x40d1[79]]=1;mxRubberband[_0x40d1[44]][_0x40d1[155]]=30;mxGraphView[_0x40d1[44]][_0x40d1[156]]=function(_0x79b5x15){return new mxRectangleShape(_0x79b5x15,this[_0x40d1[14]][_0x40d1[41]]||_0x40d1[157],_0x40d1[158])};mxGraphView[_0x40d1[44]][_0x40d1[159]]=function(){var _0x79b5x16=this[_0x40d1[160]]();var _0x79b5x17=(_0x79b5x16[_0x40d1[95]]>0)?_0x79b5x16[_0x40d1[70]]/this[_0x40d1[52]]-this[_0x40d1[71]][_0x40d1[70]]:0;var _0x79b5x18=(_0x79b5x16[_0x40d1[96]]>0)?_0x79b5x16[_0x40d1[73]]/this[_0x40d1[52]]-this[_0x40d1[71]][_0x40d1[73]]:0;var _0x79b5x19=_0x79b5x16[_0x40d1[95]]/this[_0x40d1[52]];var _0x79b5x1a=_0x79b5x16[_0x40d1[96]]/this[_0x40d1[52]];var _0x79b5x1b=this[_0x40d1[14]][_0x40d1[82]];var _0x79b5x9=this[_0x40d1[14]][_0x40d1[79]];var _0x79b5xa=_0x79b5x1b[_0x40d1[95]]*_0x79b5x9;var _0x79b5xb=_0x79b5x1b[_0x40d1[96]]*_0x79b5x9;var _0x79b5x1c=Math[_0x40d1[162]](Math[_0x40d1[161]](0,_0x79b5x17)/_0x79b5xa);var _0x79b5x1d=Math[_0x40d1[162]](Math[_0x40d1[161]](0,_0x79b5x18)/_0x79b5xb);var _0x79b5x1e=Math[_0x40d1[164]](Math[_0x40d1[163]](1,_0x79b5x17+_0x79b5x19)/_0x79b5xa);var _0x79b5x1f=Math[_0x40d1[164]](Math[_0x40d1[163]](1,_0x79b5x18+_0x79b5x1a)/_0x79b5xb);var _0x79b5x20=_0x79b5x1e-_0x79b5x1c;var _0x79b5x21=_0x79b5x1f-_0x79b5x1d;var _0x79b5x15= new mxRectangle(this[_0x40d1[52]]*(this[_0x40d1[71]][_0x40d1[70]]+_0x79b5x1c*_0x79b5xa),this[_0x40d1[52]]*(this[_0x40d1[71]][_0x40d1[73]]+_0x79b5x1d*_0x79b5xb),this[_0x40d1[52]]*_0x79b5x20*_0x79b5xa,this[_0x40d1[52]]*_0x79b5x21*_0x79b5xb);return _0x79b5x15};var _0x79b5x22=mxGraph[_0x40d1[44]][_0x40d1[165]];mxGraph[_0x40d1[44]][_0x40d1[165]]=function(_0x79b5x23,_0x79b5x24){_0x79b5x22[_0x40d1[33]](this,arguments);if((this[_0x40d1[166]]!=mxConstants[_0x40d1[167]]&&this[_0x40d1[53]][_0x40d1[101]]!=null)&&(!this[_0x40d1[168]]||!mxUtils[_0x40d1[169]](this[_0x40d1[68]]))){this[_0x40d1[53]][_0x40d1[101]][_0x40d1[125]][_0x40d1[99]][_0x40d1[170]]=_0x79b5x23+_0x40d1[171];this[_0x40d1[53]][_0x40d1[101]][_0x40d1[125]][_0x40d1[99]][_0x40d1[172]]=_0x79b5x24+_0x40d1[171]}};var _0x79b5x25=this;mxGraphView[_0x40d1[44]][_0x40d1[173]]=function(){var _0x79b5xc=this[_0x40d1[14]][_0x40d1[174]]();if(_0x79b5xc!=null){if(this[_0x40d1[124]]==null||this[_0x40d1[124]][_0x40d1[175]]!=_0x79b5xc[_0x40d1[176]]){if(this[_0x40d1[124]]!=null){this[_0x40d1[124]][_0x40d1[177]]()};var _0x79b5x15= new mxRectangle(0,0,1,1);this[_0x40d1[124]]= new mxImageShape(_0x79b5x15,_0x79b5xc[_0x40d1[176]]);this[_0x40d1[124]][_0x40d1[166]]=this[_0x40d1[14]][_0x40d1[166]];this[_0x40d1[124]][_0x40d1[12]](this[_0x40d1[178]]);this[_0x40d1[124]][_0x40d1[179]]()};this[_0x40d1[180]](this[_0x40d1[124]],_0x79b5xc)}else {if(this[_0x40d1[124]]!=null){this[_0x40d1[124]][_0x40d1[177]]();this[_0x40d1[124]]=null}};if(this[_0x40d1[14]][_0x40d1[75]]){var _0x79b5x15=this[_0x40d1[159]]();if(this[_0x40d1[101]]==null){this[_0x40d1[101]]=this[_0x40d1[156]](_0x79b5x15);this[_0x40d1[101]][_0x40d1[52]]=1;this[_0x40d1[101]][_0x40d1[181]]=true;this[_0x40d1[101]][_0x40d1[166]]=mxConstants[_0x40d1[182]];this[_0x40d1[101]][_0x40d1[12]](this[_0x40d1[14]][_0x40d1[68]]);this[_0x40d1[14]][_0x40d1[68]][_0x40d1[184]][_0x40d1[99]][_0x40d1[183]]=_0x40d1[185];this[_0x40d1[14]][_0x40d1[68]][_0x40d1[186]](this[_0x40d1[101]][_0x40d1[125]],this[_0x40d1[14]][_0x40d1[68]][_0x40d1[184]]);this[_0x40d1[101]][_0x40d1[179]]();this[_0x40d1[101]][_0x40d1[125]][_0x40d1[187]]=_0x40d1[188];this[_0x40d1[101]][_0x40d1[125]][_0x40d1[99]][_0x40d1[189]]=_0x40d1[190];mxEvent[_0x40d1[35]](this[_0x40d1[101]][_0x40d1[125]],_0x40d1[191],mxUtils[_0x40d1[34]](this,function(_0x79b5x14){this[_0x40d1[14]][_0x40d1[192]](_0x79b5x14)}));mxEvent[_0x40d1[198]](this[_0x40d1[101]][_0x40d1[125]],mxUtils[_0x40d1[34]](this,function(_0x79b5x14){this[_0x40d1[14]][_0x40d1[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x79b5x14))}),mxUtils[_0x40d1[34]](this,function(_0x79b5x14){if(this[_0x40d1[14]][_0x40d1[93]]!=null&&this[_0x40d1[14]][_0x40d1[93]][_0x40d1[194]]()){this[_0x40d1[14]][_0x40d1[93]][_0x40d1[195]]()};if(this[_0x40d1[14]][_0x40d1[196]]&&!mxEvent[_0x40d1[197]](_0x79b5x14)){this[_0x40d1[14]][_0x40d1[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x79b5x14))}}),mxUtils[_0x40d1[34]](this,function(_0x79b5x14){this[_0x40d1[14]][_0x40d1[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x79b5x14))}))}else {this[_0x40d1[101]][_0x40d1[52]]=1;this[_0x40d1[101]][_0x40d1[199]]=_0x79b5x15;this[_0x40d1[101]][_0x40d1[179]]()};this[_0x40d1[101]][_0x40d1[125]][_0x40d1[99]][_0x40d1[124]]=(this[_0x40d1[14]][_0x40d1[91]]())?_0x40d1[122]+_0x79b5x25[_0x40d1[43]]+_0x40d1[123]:_0x40d1[97]}else {if(this[_0x40d1[101]]!=null){this[_0x40d1[101]][_0x40d1[177]]();this[_0x40d1[101]]=null}}};mxGraph[_0x40d1[44]][_0x40d1[200]]=function(_0x79b5x26,_0x79b5x27,_0x79b5x28){var _0x79b5x29=this[_0x40d1[53]][_0x40d1[52]];var _0x79b5x2a=this[_0x40d1[53]][_0x40d1[71]];var _0x79b5x1b=this[_0x40d1[82]];var _0x79b5x9=_0x79b5x29*this[_0x40d1[79]];var _0x79b5x2b=this[_0x40d1[53]][_0x40d1[159]]();_0x79b5x27=_0x79b5x2b[_0x40d1[95]];_0x79b5x28=_0x79b5x2b[_0x40d1[96]];var _0x79b5x15= new mxRectangle(_0x79b5x29*_0x79b5x2a[_0x40d1[70]],_0x79b5x29*_0x79b5x2a[_0x40d1[73]],_0x79b5x1b[_0x40d1[95]]*_0x79b5x9,_0x79b5x1b[_0x40d1[96]]*_0x79b5x9);_0x79b5x26=_0x79b5x26&&Math[_0x40d1[161]](_0x79b5x15[_0x40d1[95]],_0x79b5x15[_0x40d1[96]])>this[_0x40d1[201]];var _0x79b5x2c=(_0x79b5x26)?Math[_0x40d1[164]](_0x79b5x27/_0x79b5x15[_0x40d1[95]])-1:0;var _0x79b5x2d=(_0x79b5x26)?Math[_0x40d1[164]](_0x79b5x28/_0x79b5x15[_0x40d1[96]])-1:0;var _0x79b5x2e=_0x79b5x2b[_0x40d1[70]]+_0x79b5x27;var _0x79b5x2f=_0x79b5x2b[_0x40d1[73]]+_0x79b5x28;if(this[_0x40d1[202]]==null&&_0x79b5x2c>0){this[_0x40d1[202]]=[]};if(this[_0x40d1[202]]!=null){for(var _0x79b5x30=0;_0x79b5x30<=_0x79b5x2c;_0x79b5x30++){var _0x79b5x31=[ new mxPoint(_0x79b5x2b[_0x40d1[70]]+(_0x79b5x30+1)*_0x79b5x15[_0x40d1[95]],_0x79b5x2b[_0x40d1[73]]), new mxPoint(_0x79b5x2b[_0x40d1[70]]+(_0x79b5x30+1)*_0x79b5x15[_0x40d1[95]],_0x79b5x2f)];if(this[_0x40d1[202]][_0x79b5x30]!=null){this[_0x40d1[202]][_0x79b5x30][_0x40d1[52]]=1;this[_0x40d1[202]][_0x79b5x30][_0x40d1[203]]=_0x79b5x31;this[_0x40d1[202]][_0x79b5x30][_0x40d1[179]]()}else {var _0x79b5x32= new mxPolyline(_0x79b5x31,this[_0x40d1[153]],this[_0x40d1[52]]);_0x79b5x32[_0x40d1[166]]=this[_0x40d1[166]];_0x79b5x32[_0x40d1[204]]=this[_0x40d1[205]];_0x79b5x32[_0x40d1[206]]=false;_0x79b5x32[_0x40d1[52]]=_0x79b5x29;_0x79b5x32[_0x40d1[12]](this[_0x40d1[53]][_0x40d1[178]]);_0x79b5x32[_0x40d1[179]]();this[_0x40d1[202]][_0x79b5x30]=_0x79b5x32}};for(var _0x79b5x30=_0x79b5x2c;_0x79b5x30<this[_0x40d1[202]][_0x40d1[83]];_0x79b5x30++){this[_0x40d1[202]][_0x79b5x30][_0x40d1[177]]()};this[_0x40d1[202]][_0x40d1[207]](_0x79b5x2c,this[_0x40d1[202]][_0x40d1[83]]-_0x79b5x2c)};if(this[_0x40d1[208]]==null&&_0x79b5x2d>0){this[_0x40d1[208]]=[]};if(this[_0x40d1[208]]!=null){for(var _0x79b5x30=0;_0x79b5x30<=_0x79b5x2d;_0x79b5x30++){var _0x79b5x31=[ new mxPoint(_0x79b5x2b[_0x40d1[70]],_0x79b5x2b[_0x40d1[73]]+(_0x79b5x30+1)*_0x79b5x15[_0x40d1[96]]), new mxPoint(_0x79b5x2e,_0x79b5x2b[_0x40d1[73]]+(_0x79b5x30+1)*_0x79b5x15[_0x40d1[96]])];if(this[_0x40d1[208]][_0x79b5x30]!=null){this[_0x40d1[208]][_0x79b5x30][_0x40d1[52]]=1;this[_0x40d1[208]][_0x79b5x30][_0x40d1[203]]=_0x79b5x31;this[_0x40d1[208]][_0x79b5x30][_0x40d1[179]]()}else {var _0x79b5x32= new mxPolyline(_0x79b5x31,this[_0x40d1[153]],_0x79b5x29);_0x79b5x32[_0x40d1[166]]=this[_0x40d1[166]];_0x79b5x32[_0x40d1[204]]=this[_0x40d1[205]];_0x79b5x32[_0x40d1[206]]=false;_0x79b5x32[_0x40d1[52]]=_0x79b5x29;_0x79b5x32[_0x40d1[12]](this[_0x40d1[53]][_0x40d1[178]]);_0x79b5x32[_0x40d1[179]]();this[_0x40d1[208]][_0x79b5x30]=_0x79b5x32}};for(var _0x79b5x30=_0x79b5x2d;_0x79b5x30<this[_0x40d1[208]][_0x40d1[83]];_0x79b5x30++){this[_0x40d1[208]][_0x79b5x30][_0x40d1[177]]()};this[_0x40d1[208]][_0x40d1[207]](_0x79b5x2d,this[_0x40d1[208]][_0x40d1[83]]-_0x79b5x2d)}};mxEdgeHandler[_0x40d1[44]][_0x40d1[209]]=true;mxGraphHandler[_0x40d1[44]][_0x40d1[58]]=true;var _0x79b5x33=mxGraphHandler[_0x40d1[44]][_0x40d1[210]];mxGraphHandler[_0x40d1[44]][_0x40d1[210]]=function(_0x79b5x34,_0x79b5x35,_0x79b5x14){for(var _0x79b5x30=0;_0x79b5x30<_0x79b5x35[_0x40d1[83]];_0x79b5x30++){if(this[_0x40d1[14]][_0x40d1[36]]()[_0x40d1[211]](_0x79b5x35[_0x79b5x30])){var _0x79b5x36=this[_0x40d1[14]][_0x40d1[212]](_0x79b5x35[_0x79b5x30]);if(_0x79b5x36!=null&&_0x79b5x36[_0x40d1[213]]){return false}}};return _0x79b5x33[_0x40d1[33]](this,arguments)};mxGuide[_0x40d1[44]][_0x40d1[214]]=function(_0x79b5x14){return !mxEvent[_0x40d1[215]](_0x79b5x14)};mxPopupMenuAddItem=mxPopupMenu[_0x40d1[44]][_0x40d1[216]];mxPopupMenu[_0x40d1[44]][_0x40d1[216]]=function(_0x79b5x37,_0x79b5x38,_0x79b5x39,_0x79b5x34,_0x79b5x3a,_0x79b5x3b){var _0x79b5x3c=mxPopupMenuAddItem[_0x40d1[33]](this,arguments);if(_0x79b5x3b!=null&& !_0x79b5x3b){mxEvent[_0x40d1[35]](_0x79b5x3c,_0x40d1[217],function(_0x79b5x14){mxEvent[_0x40d1[218]](_0x79b5x14)})};return _0x79b5x3c};var _0x79b5x3d=mxGraphHandler[_0x40d1[44]][_0x40d1[219]];mxGraphHandler[_0x40d1[44]][_0x40d1[219]]=function(_0x79b5x3e){var _0x79b5x3f=this[_0x40d1[14]][_0x40d1[36]]();var _0x79b5x40=_0x79b5x3f[_0x40d1[221]](this[_0x40d1[14]][_0x40d1[220]]());var _0x79b5x41=_0x79b5x3d[_0x40d1[33]](this,arguments);var _0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x41);if(_0x79b5x40==null||(_0x79b5x40!=_0x79b5x41&&_0x79b5x40!=_0x79b5x34)){while(!this[_0x40d1[14]][_0x40d1[222]](_0x79b5x41)&&!this[_0x40d1[14]][_0x40d1[222]](_0x79b5x34)&&_0x79b5x3f[_0x40d1[211]](_0x79b5x34)&&!this[_0x40d1[14]][_0x40d1[223]](_0x79b5x34)){_0x79b5x41=_0x79b5x34;_0x79b5x34=this[_0x40d1[14]][_0x40d1[36]]()[_0x40d1[221]](_0x79b5x41)}};return _0x79b5x41};var _0x79b5x42=mxGraphHandler[_0x40d1[44]][_0x40d1[224]];mxGraphHandler[_0x40d1[44]][_0x40d1[224]]=function(_0x79b5x41){var _0x79b5x3c=_0x79b5x42[_0x40d1[33]](this,arguments);var _0x79b5x3f=this[_0x40d1[14]][_0x40d1[36]]();var _0x79b5x40=_0x79b5x3f[_0x40d1[221]](this[_0x40d1[14]][_0x40d1[220]]());var _0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x41);if(_0x79b5x40==null||(_0x79b5x40!=_0x79b5x41&&_0x79b5x40!=_0x79b5x34)){if(!this[_0x40d1[14]][_0x40d1[222]](_0x79b5x41)&&_0x79b5x3f[_0x40d1[211]](_0x79b5x34)&&!this[_0x40d1[14]][_0x40d1[223]](_0x79b5x34)){_0x79b5x3c=true}};return _0x79b5x3c};mxGraphHandler[_0x40d1[44]][_0x40d1[225]]=function(_0x79b5x3e){var _0x79b5x41=_0x79b5x3e[_0x40d1[226]]();if(_0x79b5x41==null){_0x79b5x41=this[_0x40d1[227]]};var _0x79b5x3f=this[_0x40d1[14]][_0x40d1[36]]();var _0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x41);while(this[_0x40d1[14]][_0x40d1[222]](_0x79b5x41)&&_0x79b5x3f[_0x40d1[211]](_0x79b5x34)&&!this[_0x40d1[14]][_0x40d1[223]](_0x79b5x34)){_0x79b5x41=_0x79b5x34;_0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x41)};this[_0x40d1[14]][_0x40d1[229]](_0x79b5x41,_0x79b5x3e[_0x40d1[228]]())};mxPanningHandler[_0x40d1[44]][_0x40d1[230]]=function(_0x79b5x3e){var _0x79b5x41=_0x79b5x3e[_0x40d1[226]]();var _0x79b5x3f=this[_0x40d1[14]][_0x40d1[36]]();var _0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x41);while(_0x79b5x3f[_0x40d1[211]](_0x79b5x34)&&!this[_0x40d1[14]][_0x40d1[223]](_0x79b5x34)){if(this[_0x40d1[14]][_0x40d1[222]](_0x79b5x34)){_0x79b5x41=_0x79b5x34};_0x79b5x34=_0x79b5x3f[_0x40d1[221]](_0x79b5x34)};return _0x79b5x41}};Editor[_0x40d1[44]][_0x40d1[18]]=function(){var _0x79b5xe=this[_0x40d1[14]];var _0x79b5x43= new mxUndoManager();var _0x79b5x44=function(_0x79b5x45,_0x79b5x14){_0x79b5x43[_0x40d1[233]](_0x79b5x14[_0x40d1[232]](_0x40d1[231]))};_0x79b5xe[_0x40d1[36]]()[_0x40d1[35]](mxEvent.UNDO,_0x79b5x44);_0x79b5xe[_0x40d1[234]]()[_0x40d1[35]](mxEvent.UNDO,_0x79b5x44);var _0x79b5x46=function(_0x79b5x45,_0x79b5x14){var _0x79b5x47=_0x79b5xe[_0x40d1[236]](_0x79b5x14[_0x40d1[232]](_0x40d1[231])[_0x40d1[235]]);var _0x79b5x35=[];for(var _0x79b5x30=1;_0x79b5x30<_0x79b5x47[_0x40d1[83]];_0x79b5x30++){if(_0x79b5xe[_0x40d1[53]][_0x40d1[237]](_0x79b5x47[_0x79b5x30])!=null){_0x79b5x35[_0x40d1[238]](_0x79b5x47[_0x79b5x30])}};_0x79b5xe[_0x40d1[239]](_0x79b5x35)};_0x79b5x43[_0x40d1[35]](mxEvent.UNDO,_0x79b5x46);_0x79b5x43[_0x40d1[35]](mxEvent.REDO,_0x79b5x46);return _0x79b5x43};Editor[_0x40d1[44]][_0x40d1[13]]=function(){mxStencilRegistry[_0x40d1[241]](STENCIL_PATH+_0x40d1[240])};(function(){mxStencilRegistry[_0x40d1[242]]={};mxStencilRegistry[_0x40d1[243]]=[];mxStencilRegistry[_0x40d1[244]]=function(_0x79b5x48){var _0x79b5x3c=mxStencilRegistry[_0x40d1[245]][_0x79b5x48];if(_0x79b5x3c==null){var _0x79b5x49=mxStencilRegistry[_0x40d1[246]](_0x79b5x48);if(_0x79b5x49!=null){var _0x79b5x4a=mxStencilRegistry[_0x40d1[242]][_0x79b5x49];if(_0x79b5x4a!=null){if(mxStencilRegistry[_0x40d1[243]][_0x79b5x49]==null){mxStencilRegistry[_0x40d1[243]][_0x79b5x49]=1;for(var _0x79b5x30=0;_0x79b5x30<_0x79b5x4a[_0x40d1[83]];_0x79b5x30++){var _0x79b5x4b=_0x79b5x4a[_0x79b5x30];if(_0x79b5x4b[_0x40d1[248]]()[_0x40d1[247]](_0x79b5x4b[_0x40d1[83]]-4,_0x79b5x4b[_0x40d1[83]])==_0x40d1[25]){mxStencilRegistry[_0x40d1[241]](_0x79b5x4b,null)}else {if(_0x79b5x4b[_0x40d1[248]]()[_0x40d1[247]](_0x79b5x4b[_0x40d1[83]]-3,_0x79b5x4b[_0x40d1[83]])==_0x40d1[249]){var _0x79b5x4c=mxUtils[_0x40d1[250]](_0x79b5x4b);if(_0x79b5x4c!=null){eval[_0x40d1[11]](window,_0x79b5x4c[_0x40d1[251]]())}}else {}}}}}else {mxStencilRegistry[_0x40d1[241]](STENCIL_PATH+_0x40d1[252]+_0x79b5x49+_0x40d1[25],null)};_0x79b5x3c=mxStencilRegistry[_0x40d1[245]][_0x79b5x48]}};return _0x79b5x3c};mxStencilRegistry[_0x40d1[246]]=function(_0x79b5x48){var _0x79b5x4d=_0x79b5x48[_0x40d1[254]](_0x40d1[253]);var _0x79b5x4e=null;if(_0x79b5x4d[_0x40d1[83]]>0&&_0x79b5x4d[0]==_0x40d1[255]){_0x79b5x4e=_0x79b5x4d[1];for(var _0x79b5x30=2;_0x79b5x30<_0x79b5x4d[_0x40d1[83]]-1;_0x79b5x30++){_0x79b5x4e+=_0x40d1[252]+_0x79b5x4d[_0x79b5x30]}};return _0x79b5x4e};mxStencilRegistry[_0x40d1[241]]=function(_0x79b5x4f,_0x79b5x50,_0x79b5x51){_0x79b5x51=(_0x79b5x51!=null)?_0x79b5x51:false;var _0x79b5x52=mxStencilRegistry[_0x40d1[243]][_0x79b5x4f];if(_0x79b5x51||_0x79b5x52==null){var _0x79b5x53=false;if(_0x79b5x52==null){var _0x79b5x4c=mxUtils[_0x40d1[250]](_0x79b5x4f);_0x79b5x52=_0x79b5x4c[_0x40d1[256]]();mxStencilRegistry[_0x40d1[243]][_0x79b5x4f]=_0x79b5x52;_0x79b5x53=true};mxStencilRegistry[_0x40d1[257]](_0x79b5x52,_0x79b5x50,_0x79b5x53)}};mxStencilRegistry[_0x40d1[257]]=function(_0x79b5x54,_0x79b5x50,_0x79b5x53){_0x79b5x53=(_0x79b5x53!=null)?_0x79b5x53:true;var _0x79b5x55=_0x79b5x54[_0x40d1[258]];var _0x79b5x56=_0x79b5x55[_0x40d1[184]];var _0x79b5x57=_0x40d1[20];var _0x79b5x48=_0x79b5x55[_0x40d1[56]](_0x40d1[259]);if(_0x79b5x48!=null){_0x79b5x57=_0x79b5x48+_0x40d1[253]};while(_0x79b5x56!=null){if(_0x79b5x56[_0x40d1[260]]==mxConstants[_0x40d1[261]]){_0x79b5x48=_0x79b5x56[_0x40d1[56]](_0x40d1[259]);if(_0x79b5x48!=null){_0x79b5x57=_0x79b5x57[_0x40d1[248]]();var _0x79b5x58=_0x79b5x48[_0x40d1[263]](/ /g,_0x40d1[262]);if(_0x79b5x53){mxStencilRegistry[_0x40d1[264]](_0x79b5x57+_0x79b5x58[_0x40d1[248]](), new mxStencil(_0x79b5x56))};if(_0x79b5x50!=null){var _0x79b5x19=_0x79b5x56[_0x40d1[56]](_0x40d1[265]);var _0x79b5x1a=_0x79b5x56[_0x40d1[56]](_0x40d1[266]);_0x79b5x19=(_0x79b5x19==null)?80:parseInt(_0x79b5x19,10);_0x79b5x1a=(_0x79b5x1a==null)?80:parseInt(_0x79b5x1a,10);_0x79b5x50(_0x79b5x57,_0x79b5x58,_0x79b5x48,_0x79b5x19,_0x79b5x1a)}}};_0x79b5x56=_0x79b5x56[_0x40d1[267]]}}})();OpenFile=function(_0x79b5x59){this[_0x40d1[268]]=null;this[_0x40d1[269]]=null;this[_0x40d1[270]]=_0x79b5x59};OpenFile[_0x40d1[44]][_0x40d1[271]]=function(_0x79b5x6){this[_0x40d1[269]]=_0x79b5x6;this[_0x40d1[272]]()};OpenFile[_0x40d1[44]][_0x40d1[273]]=function(_0x79b5x6,_0x79b5x5a){this[_0x40d1[274]]=_0x79b5x6;this[_0x40d1[21]]=_0x79b5x5a;this[_0x40d1[272]]()};OpenFile[_0x40d1[44]][_0x40d1[275]]=function(_0x79b5x5b){this[_0x40d1[276]]();mxUtils[_0x40d1[277]](_0x79b5x5b)};OpenFile[_0x40d1[44]][_0x40d1[272]]=function(){if(this[_0x40d1[269]]!=null&&this[_0x40d1[274]]!=null){this[_0x40d1[269]](this[_0x40d1[274]],this[_0x40d1[21]]);this[_0x40d1[276]]()}};OpenFile[_0x40d1[44]][_0x40d1[276]]=function(){if(this[_0x40d1[270]]!=null){this[_0x40d1[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 33d0ec3..ff0242b 100644 --- a/public/assets/plugins/square/js/EditorUi.js +++ b/public/assets/plugins/square/js/EditorUi.js @@ -1 +1 @@ -var _0xc78c=["\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","\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","\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","\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","\x73\x6D\x73","\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(_0xa5bex1,_0xa5bex2){this[_0xc78c[0]]=_0xa5bex1|| new Editor();this[_0xc78c[1]]=_0xa5bex2||document[_0xc78c[3]](_0xc78c[2]);var _0xa5bex3=_0xa5bex1[_0xc78c[4]];var _0xa5bex4=this;this[_0xc78c[1]][_0xc78c[6]][_0xc78c[5]]=_0xc78c[7]; new Image()[_0xc78c[8]]=mxPopupMenu[_0xc78c[10]][_0xc78c[9]];if(mxConnectionHandler[_0xc78c[10]][_0xc78c[11]]!=null){ new Image()[_0xc78c[8]]=mxConnectionHandler[_0xc78c[10]][_0xc78c[11]][_0xc78c[8]]};this[_0xc78c[12]]= new Actions(this);this[_0xc78c[13]]= new Menus(this);this[_0xc78c[14]]();this[_0xc78c[15]]();this[_0xc78c[16]]();var _0xa5bex5=mxUtils[_0xc78c[20]](this,function(_0xa5bex6){if(_0xa5bex6==null){_0xa5bex6=window[_0xc78c[17]]};if(this[_0xc78c[18]](_0xa5bex6)){return true};return _0xa5bex3[_0xc78c[19]]()});if(this[_0xc78c[1]]==document[_0xc78c[21]]){this[_0xc78c[23]][_0xc78c[22]]=_0xa5bex5;this[_0xc78c[23]][_0xc78c[24]]=_0xa5bex5;this[_0xc78c[25]][_0xc78c[22]]=_0xa5bex5;this[_0xc78c[25]][_0xc78c[24]]=_0xa5bex5;this[_0xc78c[26]][_0xc78c[22]]=_0xa5bex5;this[_0xc78c[26]][_0xc78c[24]]=_0xa5bex5;this[_0xc78c[27]][_0xc78c[22]]=_0xa5bex5;this[_0xc78c[27]][_0xc78c[24]]=_0xa5bex5;this[_0xc78c[28]][_0xc78c[22]]=_0xa5bex5;this[_0xc78c[28]][_0xc78c[24]]=_0xa5bex5};if(mxClient[_0xc78c[29]]&&( typeof (document[_0xc78c[30]])===_0xc78c[31]||document[_0xc78c[30]]<9)){mxEvent[_0xc78c[33]](this[_0xc78c[26]],_0xc78c[32],_0xa5bex5);mxEvent[_0xc78c[33]](this[_0xc78c[27]],_0xc78c[32],_0xa5bex5)}else {this[_0xc78c[26]][_0xc78c[34]]=_0xa5bex5;this[_0xc78c[27]][_0xc78c[34]]=_0xa5bex5};_0xa5bex3[_0xc78c[35]](this[_0xc78c[26]]);_0xa5bex3[_0xc78c[15]]();_0xa5bex3[_0xc78c[1]][_0xc78c[38]](_0xc78c[36],_0xc78c[37]);_0xa5bex3[_0xc78c[1]][_0xc78c[6]][_0xc78c[39]]=_0xc78c[40];_0xa5bex3[_0xc78c[1]][_0xc78c[6]][_0xc78c[41]]=_0xc78c[42]+_0xa5bex1[_0xc78c[43]]+_0xc78c[44];_0xa5bex3[_0xc78c[1]][_0xc78c[6]][_0xc78c[45]]=_0xc78c[46];_0xa5bex3[_0xc78c[1]][_0xc78c[47]]();var _0xa5bex7=_0xa5bex3[_0xc78c[48]];_0xa5bex3[_0xc78c[48]]=function(_0xa5bex8,_0xa5bex9,_0xa5bexa){if(_0xa5bex8==mxEvent[_0xc78c[49]]){this[_0xc78c[1]][_0xc78c[47]]()};_0xa5bex7[_0xc78c[50]](this,arguments)};this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[52],_0xc78c[53],_0xc78c[54]],[[1,1],[1,1],[0,0]],[[0,0],[0,0],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[57],_0xc78c[58],_0xc78c[59],_0xc78c[60],_0xc78c[61],_0xc78c[62],_0xc78c[63]],[[1,1],[0,0],[0,1],[0,1],[0,1],[1,1],[0,1]],[[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[64],_0xc78c[65]],[[1,1],[1,1]],[[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[66],_0xc78c[67],_0xc78c[68],_0xc78c[69],_0xc78c[70],_0xc78c[71],_0xc78c[72],_0xc78c[73],_0xc78c[74]],[[1,_0xc78c[55]],[1,1],[1,_0xc78c[55]],[1,1],[1,1],[1,1],[1,1],[1,1],[1,_0xc78c[55]]],[[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[75]],[[1,1]],[[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[76],_0xc78c[77]],[[1,1],[1,1]],[[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[78],_0xc78c[79],_0xc78c[80],_0xc78c[81],_0xc78c[82]],[[0,0],[1,2],[1,2],[1,2],[1,_0xc78c[55]]],[[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[83],_0xc78c[84]],[[1,1],[1,1]],[[1,_0xc78c[55]],[1,_0xc78c[55]]]);this[_0xc78c[56]](_0xa5bex3[_0xc78c[51]],[_0xc78c[85],_0xc78c[86],_0xc78c[87],_0xc78c[88],_0xc78c[89]],[[1,1],[1,1],[0,1],[0,1],[0,1]],[[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]],[1,_0xc78c[55]]]);_0xa5bex3[_0xc78c[90]]=function(_0xa5bex6,_0xa5bexb){var _0xa5bexc=[_0xc78c[66],_0xc78c[79],_0xc78c[80],_0xc78c[68],_0xc78c[74],_0xc78c[82]];var _0xa5bexd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0xc78c[17],_0xa5bex6,_0xc78c[91],_0xa5bexb);this[_0xc78c[92]](_0xa5bexd);if(this[_0xc78c[93]]()&&!mxEvent[_0xc78c[94]](_0xa5bex6)&&!_0xa5bexd[_0xc78c[94]]()){if(this[_0xc78c[96]]()[_0xc78c[95]](_0xa5bexb)){if(_0xa5bexc[_0xc78c[100]](_0xa5bexb[_0xc78c[99]][_0xc78c[98]][_0xc78c[97]])>=0){this[_0xc78c[101]](_0xa5bexb)}}else {if(this[_0xc78c[96]]()[_0xc78c[102]](_0xa5bexb)){console[_0xc78c[103]](_0xa5bex4);console[_0xc78c[103]](_0xa5bexb);_0xa5bex4[_0xc78c[104]]( new GeneralDialog(_0xa5bex4,_0xa5bexb)[_0xc78c[1]],320,280,true,true)}};_0xa5bexd[_0xc78c[105]]()}};_0xa5bex3[_0xc78c[107]][_0xc78c[106]]=true;_0xa5bex3[_0xc78c[107]][_0xc78c[108]]=mxUtils[_0xc78c[20]](this,function(_0xa5bexe,_0xa5bexb,_0xa5bex6){this[_0xc78c[13]][_0xc78c[109]](_0xa5bexe,_0xa5bexb,_0xa5bex6)});_0xa5bex1[_0xc78c[111]][_0xc78c[35]](this[_0xc78c[110]]);mxEvent[_0xc78c[113]](document,mxUtils[_0xc78c[20]](this,function(_0xa5bex6){_0xa5bex3[_0xc78c[107]][_0xc78c[112]]()}));if(mxClient[_0xc78c[114]]){mxEvent[_0xc78c[33]](_0xa5bex3[_0xc78c[1]],_0xc78c[115],mxUtils[_0xc78c[20]](this,function(_0xa5bex6){_0xa5bex3[_0xc78c[120]][_0xc78c[119]]()[_0xc78c[38]](_0xc78c[116],_0xc78c[117]+_0xa5bex6[_0xc78c[118]]+_0xc78c[44]);_0xa5bex3[_0xc78c[120]][_0xc78c[122]]()[_0xc78c[6]][_0xc78c[121]]=_0xc78c[7]}));mxEvent[_0xc78c[33]](_0xa5bex3[_0xc78c[1]],_0xc78c[123],mxUtils[_0xc78c[20]](this,function(_0xa5bex6){_0xa5bex3[_0xc78c[120]][_0xc78c[119]]()[_0xc78c[124]](_0xc78c[116]);_0xa5bex3[_0xc78c[125]]=true;_0xa5bex3[_0xc78c[126]](_0xa5bex6[_0xc78c[118]]);_0xa5bex3[_0xc78c[120]][_0xc78c[122]]()[_0xc78c[6]][_0xc78c[121]]=_0xc78c[127]}))};var _0xa5bexf=this[_0xc78c[128]](_0xa5bex1);this[_0xc78c[129]]=function(){return _0xa5bexf};mxEvent[_0xc78c[33]](window,_0xc78c[130],mxUtils[_0xc78c[20]](this,function(){this[_0xc78c[15]]();_0xa5bex3[_0xc78c[131]]();this[_0xc78c[0]][_0xc78c[111]][_0xc78c[132]](false);this[_0xc78c[0]][_0xc78c[111]][_0xc78c[111]][_0xc78c[131]]()}));this[_0xc78c[35]]();this[_0xc78c[133]]()};EditorUi[_0xc78c[10]][_0xc78c[134]]=(mxClient[_0xc78c[114]])?16:8;EditorUi[_0xc78c[10]][_0xc78c[135]]=33;EditorUi[_0xc78c[10]][_0xc78c[136]]=36;EditorUi[_0xc78c[10]][_0xc78c[137]]=28;EditorUi[_0xc78c[10]][_0xc78c[138]]=204;EditorUi[_0xc78c[10]][_0xc78c[139]]=190;EditorUi[_0xc78c[10]][_0xc78c[35]]=function(){this[_0xc78c[140]]();this[_0xc78c[141]]();var _0xa5bex10=this[_0xc78c[12]][_0xc78c[143]](_0xc78c[142]);var _0xa5bex11=function(){_0xa5bex10[_0xc78c[145]](!mxClipboard[_0xc78c[144]]())};var _0xa5bex12=mxClipboard[_0xc78c[146]];mxClipboard[_0xc78c[146]]=function(){_0xa5bex12[_0xc78c[50]](this,arguments);_0xa5bex11()};var _0xa5bex13=mxClipboard[_0xc78c[147]];mxClipboard[_0xc78c[147]]=function(){_0xa5bex13[_0xc78c[50]](this,arguments);_0xa5bex11()}};EditorUi[_0xc78c[10]][_0xc78c[18]]=function(_0xa5bex6){return false};EditorUi[_0xc78c[10]][_0xc78c[133]]=function(){try{if(window[_0xc78c[148]]!=null&&window[_0xc78c[148]][_0xc78c[149]]!=null){window[_0xc78c[148]][_0xc78c[149]][_0xc78c[161]](mxUtils[_0xc78c[20]](this,function(_0xa5bex14,_0xa5bex15){try{var _0xa5bex16=mxUtils[_0xc78c[150]](_0xa5bex14);this[_0xc78c[0]][_0xc78c[152]](_0xa5bex16[_0xc78c[151]]);this[_0xc78c[0]][_0xc78c[153]]=false;this[_0xc78c[0]][_0xc78c[155]][_0xc78c[154]]();if(_0xa5bex15!=null){this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex15}}catch(e){mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[157])+_0xc78c[158]+e[_0xc78c[159]])}}))}}catch(e){}};EditorUi[_0xc78c[10]][_0xc78c[162]]=function(_0xa5bex14,_0xa5bex15,_0xa5bex17){try{var _0xa5bex16=mxUtils[_0xc78c[150]](_0xa5bex14);this[_0xc78c[0]][_0xc78c[152]](_0xa5bex16[_0xc78c[151]]);this[_0xc78c[0]][_0xc78c[153]]=false;this[_0xc78c[0]][_0xc78c[155]][_0xc78c[154]]();if(_0xa5bex15!=null){this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex15};if(_0xa5bex17!=null){this[_0xc78c[0]][_0xc78c[163]]=_0xa5bex17}}catch(e){mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[157])+_0xc78c[158]+e[_0xc78c[159]])}};EditorUi[_0xc78c[10]][_0xc78c[164]]=function(_0xa5bex18){var _0xa5bex1=this[_0xc78c[0]];if(_0xa5bex18!=null){var _0xa5bex14=mxUtils[_0xc78c[166]](this[_0xc78c[0]][_0xc78c[165]]());try{if(useLocalStorage){if(localStorage[_0xc78c[167]](_0xa5bex18)!=null&&!mxUtils[_0xc78c[169]](mxResources[_0xc78c[143]](_0xc78c[168],[_0xa5bex18]))){return};localStorage[_0xc78c[170]](_0xa5bex18,_0xa5bex14);this[_0xc78c[0]][_0xc78c[173]](mxResources[_0xc78c[143]](_0xc78c[171])+_0xc78c[172]+ new Date())}else {console[_0xc78c[103]](_0xa5bex14[_0xc78c[174]]);console[_0xc78c[103]](MAX_REQUEST_SIZE);if(_0xa5bex14[_0xc78c[174]]<MAX_REQUEST_SIZE){_0xa5bex14=encodeURIComponent(_0xa5bex14);_0xa5bex18=encodeURIComponent(_0xa5bex18);var _0xa5bex19= new XMLHttpRequest();_0xa5bex19[_0xc78c[133]](_0xc78c[175],SAVE_URL,true);_0xa5bex19[_0xc78c[178]](_0xc78c[176],_0xc78c[177]);_0xa5bex19[_0xc78c[178]](_0xc78c[179],_0xc78c[180]+_0xa5bex1[_0xc78c[163]][_0xc78c[181]]);_0xa5bex19[_0xc78c[182]]=function(_0xa5bex1a){if(_0xa5bex19[_0xc78c[183]]===4){if(_0xa5bex19[_0xc78c[184]]===201){_0xa5bex1[_0xc78c[173]](_0xc78c[185]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[186]]+_0xc78c[189]);setTimeout(function(){window[_0xc78c[133]](_0xc78c[190]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[191]],_0xc78c[192])},1500)}else {_0xa5bex1[_0xc78c[173]](_0xc78c[193]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[194]][0][_0xc78c[159]])}}};_0xa5bex19[_0xc78c[195]]=function(_0xa5bex1a){mxUtils[_0xc78c[160]](_0xa5bex19[_0xc78c[196]])};_0xa5bex19[_0xc78c[198]](_0xc78c[197]+_0xa5bex18)}else {mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[199]));mxUtils[_0xc78c[200]](_0xa5bex14);return}};this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex18;this[_0xc78c[0]][_0xc78c[153]]=false}catch(e){this[_0xc78c[0]][_0xc78c[173]](_0xc78c[201])}}else {this[_0xc78c[0]][_0xc78c[173]](_0xc78c[201])}};EditorUi[_0xc78c[10]][_0xc78c[202]]=function(_0xa5bex18){var _0xa5bex1=this[_0xc78c[0]];if(_0xa5bex18!=null){var _0xa5bex14=mxUtils[_0xc78c[166]](this[_0xc78c[0]][_0xc78c[165]]());try{if(useLocalStorage){if(localStorage[_0xc78c[167]](_0xa5bex18)!=null&&!mxUtils[_0xc78c[169]](mxResources[_0xc78c[143]](_0xc78c[168],[_0xa5bex18]))){return};localStorage[_0xc78c[170]](_0xa5bex18,_0xa5bex14);this[_0xc78c[0]][_0xc78c[173]](mxResources[_0xc78c[143]](_0xc78c[171])+_0xc78c[172]+ new Date())}else {console[_0xc78c[103]](_0xa5bex14[_0xc78c[174]]);console[_0xc78c[103]](MAX_REQUEST_SIZE);if(_0xa5bex14[_0xc78c[174]]<MAX_REQUEST_SIZE){_0xa5bex14=encodeURIComponent(_0xa5bex14);var _0xa5bex19= new XMLHttpRequest();_0xa5bex19[_0xc78c[133]](_0xc78c[203],SAVE_URL+this[_0xc78c[0]][_0xc78c[163]][_0xc78c[191]],true);_0xa5bex19[_0xc78c[178]](_0xc78c[176],_0xc78c[177]);_0xa5bex19[_0xc78c[178]](_0xc78c[179],_0xc78c[180]+_0xa5bex1[_0xc78c[163]][_0xc78c[181]]);_0xa5bex19[_0xc78c[182]]=function(_0xa5bex1a){if(_0xa5bex19[_0xc78c[183]]===4){if(_0xa5bex19[_0xc78c[184]]===200){_0xa5bex1[_0xc78c[173]](_0xc78c[204]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[205]]+_0xc78c[206]+_0xa5bex19[_0xc78c[184]]+_0xc78c[172]+_0xa5bex19[_0xc78c[196]]+_0xc78c[44])}else {_0xa5bex1[_0xc78c[173]](_0xc78c[207]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[194]][0][_0xc78c[159]])}}};_0xa5bex19[_0xc78c[195]]=function(_0xa5bex1a){mxUtils[_0xc78c[160]](_0xa5bex19[_0xc78c[196]])};_0xa5bex19[_0xc78c[198]](_0xc78c[208]+_0xa5bex14)}else {mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[199]));mxUtils[_0xc78c[200]](_0xa5bex14);return}};this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex18;this[_0xc78c[0]][_0xc78c[153]]=false}catch(e){this[_0xc78c[0]][_0xc78c[173]](_0xc78c[209])}}else {this[_0xc78c[0]][_0xc78c[173]](_0xc78c[209])}};EditorUi[_0xc78c[10]][_0xc78c[210]]=function(_0xa5bex18){var _0xa5bex1=this[_0xc78c[0]];if(_0xa5bex18!=null){var _0xa5bex14=mxUtils[_0xc78c[166]](this[_0xc78c[0]][_0xc78c[165]]());try{if(useLocalStorage){if(localStorage[_0xc78c[167]](_0xa5bex18)!=null&&!mxUtils[_0xc78c[169]](mxResources[_0xc78c[143]](_0xc78c[168],[_0xa5bex18]))){return};localStorage[_0xc78c[170]](_0xa5bex18,_0xa5bex14);this[_0xc78c[0]][_0xc78c[173]](mxResources[_0xc78c[143]](_0xc78c[171])+_0xc78c[172]+ new Date())}else {console[_0xc78c[103]](_0xa5bex14[_0xc78c[174]]);console[_0xc78c[103]](MAX_REQUEST_SIZE);if(_0xa5bex14[_0xc78c[174]]<MAX_REQUEST_SIZE){_0xa5bex14=encodeURIComponent(_0xa5bex14);_0xa5bex18=encodeURIComponent(_0xa5bex18);var _0xa5bex19= new XMLHttpRequest();_0xa5bex19[_0xc78c[133]](_0xc78c[175],SAVE_URL,true);_0xa5bex19[_0xc78c[178]](_0xc78c[176],_0xc78c[177]);_0xa5bex19[_0xc78c[178]](_0xc78c[179],_0xc78c[180]+_0xa5bex1[_0xc78c[163]][_0xc78c[181]]);_0xa5bex19[_0xc78c[182]]=function(_0xa5bex1a){if(_0xa5bex19[_0xc78c[183]]===4){if(_0xa5bex19[_0xc78c[184]]===201){_0xa5bex1[_0xc78c[173]](_0xc78c[185]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[186]]+_0xc78c[189]);setTimeout(function(){window[_0xc78c[133]](_0xc78c[211]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[191]],_0xc78c[192])},1500)}else {_0xa5bex1[_0xc78c[173]](_0xc78c[212]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[194]][0][_0xc78c[159]])}}};_0xa5bex19[_0xc78c[195]]=function(_0xa5bex1a){mxUtils[_0xc78c[160]](_0xa5bex19[_0xc78c[196]])};_0xa5bex19[_0xc78c[198]](_0xc78c[213]+_0xa5bex18+_0xc78c[214]+_0xa5bex14+_0xc78c[215]+_0xa5bex14)}else {mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[199]));mxUtils[_0xc78c[200]](_0xa5bex14);return}};this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex18;this[_0xc78c[0]][_0xc78c[153]]=false}catch(e){this[_0xc78c[0]][_0xc78c[173]](_0xc78c[209])}}else {this[_0xc78c[0]][_0xc78c[173]](_0xc78c[209])}};EditorUi[_0xc78c[10]][_0xc78c[216]]=function(_0xa5bex1b,_0xa5bex1c){var _0xa5bex3=this[_0xc78c[0]][_0xc78c[4]];for(var _0xa5bex1b=_0xa5bex1b!=null?_0xa5bex1b:_0xa5bex3[_0xc78c[218]][_0xc78c[217]](),_0xa5bex1c=_0xa5bex1c!=null?_0xa5bex1c:{},_0xa5bex1d=true,_0xa5bex1e=_0xa5bex3[_0xc78c[218]][_0xc78c[219]](_0xa5bex1b),_0xa5bex1a=0;_0xa5bex1a<_0xa5bex1e;_0xa5bex1a++){var _0xa5bex1f=_0xa5bex3[_0xc78c[218]][_0xc78c[220]](_0xa5bex1b,_0xa5bex1a),_0xa5bex20=_0xa5bex1c;_0xa5bex3[_0xc78c[221]](_0xa5bex1f)&&(_0xa5bex20={});_0xa5bex20=this[_0xc78c[216]](_0xa5bex1f,_0xa5bex20);_0xa5bex20!=null?_0xa5bex3[_0xc78c[223]](_0xa5bex1f,_0xa5bex20[_0xc78c[168]](/\n/g,_0xc78c[222])):_0xa5bex3[_0xc78c[223]](_0xa5bex1f,null);_0xa5bex1d=_0xa5bex1d&&_0xa5bex20==null};_0xa5bex1e=_0xc78c[224];if(_0xa5bex3[_0xc78c[218]][_0xc78c[102]](_0xa5bex1b)){switch(_0xa5bex1b[_0xc78c[98]][_0xc78c[280]]){case _0xc78c[52]:_0xa5bex1e=this[_0xc78c[225]](_0xc78c[52])?_0xc78c[224]:_0xc78c[226]+_0xc78c[227];break;case _0xc78c[53]:_0xa5bex1e=this[_0xc78c[225]](_0xc78c[53])?_0xc78c[224]:_0xc78c[228]+_0xc78c[227];break;case _0xc78c[67]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[229])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[231])+_0xc78c[227];break;case _0xc78c[66]:;case _0xc78c[68]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[229])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[231])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[232])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[233])+_0xc78c[227];break;case _0xc78c[74]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[229])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[231])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[234])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[235])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[236])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[237])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[238])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[233])+_0xc78c[227];break;case _0xc78c[82]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[239])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[235])+_0xc78c[227];break;case _0xc78c[76]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[240])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[241])+_0xc78c[227];break;case _0xc78c[60]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[242])!==_0xc78c[243])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[244])+_0xc78c[227];break;case _0xc78c[64]:;case _0xc78c[65]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[234])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[235])+_0xc78c[227];break;case _0xc78c[78]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[245])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[246])+_0xc78c[227];break;case _0xc78c[86]:;case _0xc78c[87]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[247])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[248])+_0xc78c[227];break;case _0xc78c[79]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[249])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[250])+_0xc78c[227];break;case _0xc78c[69]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[251])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[252])+_0xc78c[227];break;case _0xc78c[70]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[253])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[254])+_0xc78c[227];break;case _0xc78c[71]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[255])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[256])+_0xc78c[227];break;case _0xc78c[75]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[257])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[258])+_0xc78c[227];break;case _0xc78c[84]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[259])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[260])+_0xc78c[227];break;case _0xc78c[60]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[261])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[262])+_0xc78c[227];break;case _0xc78c[59]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[263])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[262])+_0xc78c[227];break;case _0xc78c[61]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[264])!==_0xc78c[243])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[265])+_0xc78c[227];break;case _0xc78c[63]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[266])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[267])+_0xc78c[227];break;case _0xc78c[80]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[268])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[269])+_0xc78c[227];break;case _0xc78c[81]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[268])!=_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[269])+_0xc78c[227];break;case _0xc78c[62]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[270])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[271])+_0xc78c[227];break;case _0xc78c[88]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[272])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[273])+_0xc78c[227];break;case _0xc78c[277]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[274])>0)?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[275])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[276])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[254])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[255])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[256])+_0xc78c[227];break;case _0xc78c[72]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[255])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[256])+_0xc78c[227];break;case _0xc78c[73]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[255])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[256])+_0xc78c[227];_0xa5bex1e+=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[278])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[279])+_0xc78c[227];break;case _0xc78c[77]:_0xa5bex1e=(_0xa5bex1b[_0xc78c[98]][_0xc78c[230]](_0xc78c[278])!==_0xc78c[224])?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[279])+_0xc78c[227];break}};if(_0xa5bex3[_0xc78c[218]][_0xc78c[95]](_0xa5bex1b)){var _0xa5bex21=_0xa5bex3[_0xc78c[218]][_0xc78c[282]](_0xa5bex1b[_0xc78c[99]][_0xc78c[281]]());switch(_0xa5bex21[_0xc78c[98]][_0xc78c[280]]){case _0xc78c[66]:var _0xa5bex22=/^[0-9]{1,45}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;_0xa5bex1e=_0xa5bex1e+((_0xa5bex22[_0xc78c[284]](String(_0xa5bex1b[_0xc78c[283]]())))?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[285])+_0xc78c[227]);break;case _0xc78c[68]:var _0xa5bex22=/^[0-9]{1,45}$|^[-]{1}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;var _0xa5bex23=String(_0xa5bex1b[_0xc78c[283]]());var _0xa5bex24=_0xa5bex23[_0xc78c[287]](_0xc78c[286]);_0xa5bex24[_0xc78c[289]](function(_0xa5bex25){_0xa5bex1e=_0xa5bex1e+((_0xa5bex22[_0xc78c[284]](_0xa5bex25))?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[288])+_0xc78c[227])});break;case _0xc78c[74]:var _0xa5bex22=/^(x|i|-)$/;var _0xa5bex23=String(_0xa5bex1b[_0xc78c[283]]());_0xa5bex1e=_0xa5bex1e+((_0xa5bex22[_0xc78c[284]](_0xa5bex23))?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[290])+_0xc78c[227]);break;case _0xc78c[79]:;case _0xc78c[80]:;case _0xc78c[81]:var _0xa5bex22=/^(true){1}$|^(false){1}$/;_0xa5bex1e=_0xa5bex1e+((_0xa5bex22[_0xc78c[284]](String(_0xa5bex1b[_0xc78c[283]]())))?_0xc78c[224]:mxResources[_0xc78c[143]](_0xc78c[291])+_0xc78c[227]);break}};_0xa5bex3[_0xc78c[292]](_0xa5bex1b)&&!_0xa5bex1d&&(_0xa5bex1e=_0xa5bex1e+((mxResources[_0xc78c[143]](_0xa5bex3[_0xc78c[293]])||_0xa5bex3[_0xc78c[293]])+_0xc78c[227]));_0xa5bex1e=_0xa5bex3[_0xc78c[218]][_0xc78c[95]](_0xa5bex1b)?_0xa5bex1e+(_0xa5bex3[_0xc78c[295]](_0xa5bex1b,_0xa5bex3[_0xc78c[218]][_0xc78c[294]](_0xa5bex1b,true),_0xa5bex3[_0xc78c[218]][_0xc78c[294]](_0xa5bex1b,false))||_0xc78c[224]):_0xa5bex1e+(_0xa5bex3[_0xc78c[296]](_0xa5bex1b)||_0xc78c[224]);_0xa5bex1a=_0xa5bex3[_0xc78c[297]](_0xa5bex1b,_0xa5bex1c);_0xa5bex1a!=null&&(_0xa5bex1e=_0xa5bex1e+_0xa5bex1a);_0xa5bex3[_0xc78c[218]][_0xc78c[298]](_0xa5bex1b)==null&&_0xa5bex3[_0xc78c[120]][_0xc78c[216]]();return _0xa5bex1e[_0xc78c[174]]>0||!_0xa5bex1d?_0xa5bex1e:null};EditorUi[_0xc78c[10]][_0xc78c[225]]=function(_0xa5bex26){var _0xa5bex3=this[_0xc78c[0]][_0xc78c[4]];var _0xa5bex27=_0xa5bex3[_0xc78c[299]]();var _0xa5bex28=0;_0xa5bex27[_0xc78c[300]][_0xc78c[289]](function(_0xa5bex29){if(_0xa5bex3[_0xc78c[218]][_0xc78c[102]](_0xa5bex29)&&_0xa5bex29[_0xc78c[98]][_0xc78c[280]]==_0xa5bex26){_0xa5bex28++}});return _0xa5bex28>1?false:true};EditorUi[_0xc78c[10]][_0xc78c[301]]=function(_0xa5bex18){var _0xa5bex1=this[_0xc78c[0]];if(_0xa5bex18!=null){var _0xa5bex2a=this[_0xc78c[216]]();if(_0xa5bex2a===null){var _0xa5bex14=mxUtils[_0xc78c[166]](this[_0xc78c[0]][_0xc78c[165]]());try{if(useLocalStorage){if(localStorage[_0xc78c[167]](_0xa5bex18)!=null&&!mxUtils[_0xc78c[169]](mxResources[_0xc78c[143]](_0xc78c[168],[_0xa5bex18]))){return};localStorage[_0xc78c[170]](_0xa5bex18,_0xa5bex14);this[_0xc78c[0]][_0xc78c[173]](mxResources[_0xc78c[143]](_0xc78c[171])+_0xc78c[172]+ new Date())}else {console[_0xc78c[103]](_0xa5bex14[_0xc78c[174]]);console[_0xc78c[103]](MAX_REQUEST_SIZE);if(_0xa5bex14[_0xc78c[174]]<MAX_REQUEST_SIZE){_0xa5bex14=encodeURIComponent(_0xa5bex14);var _0xa5bex19= new XMLHttpRequest();_0xa5bex19[_0xc78c[133]](_0xc78c[203],SAVE_URL+this[_0xc78c[0]][_0xc78c[163]][_0xc78c[191]],true);_0xa5bex19[_0xc78c[178]](_0xc78c[176],_0xc78c[177]);_0xa5bex19[_0xc78c[178]](_0xc78c[179],_0xc78c[180]+_0xa5bex1[_0xc78c[163]][_0xc78c[181]]);_0xa5bex19[_0xc78c[182]]=function(_0xa5bex1a){if(_0xa5bex19[_0xc78c[183]]===4){if(_0xa5bex19[_0xc78c[184]]===200){_0xa5bex1[_0xc78c[173]](_0xc78c[302]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[205]]+_0xc78c[206]+_0xa5bex19[_0xc78c[184]]+_0xc78c[172]+_0xa5bex19[_0xc78c[196]]+_0xc78c[44])}else {_0xa5bex1[_0xc78c[173]](_0xc78c[207]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[194]][0][_0xc78c[159]])}}};_0xa5bex19[_0xc78c[195]]=function(_0xa5bex1a){mxUtils[_0xc78c[160]](_0xa5bex19[_0xc78c[196]])};_0xa5bex19[_0xc78c[198]](_0xc78c[208]+_0xa5bex14+_0xc78c[215]+_0xa5bex14)}else {mxUtils[_0xc78c[160]](mxResources[_0xc78c[143]](_0xc78c[199]));mxUtils[_0xc78c[200]](_0xa5bex14);return}};this[_0xc78c[0]][_0xc78c[156]]=_0xa5bex18;this[_0xc78c[0]][_0xc78c[153]]=false}catch(e){this[_0xc78c[0]][_0xc78c[173]](_0xc78c[303])}}else {_0xa5bex1[_0xc78c[173]](_0xc78c[304])}}else {this[_0xc78c[0]][_0xc78c[173]](_0xc78c[303])}};EditorUi[_0xc78c[10]][_0xc78c[239]]=function(_0xa5bex18){var _0xa5bex1=this[_0xc78c[0]];if(_0xa5bex18!=null){try{var _0xa5bex19= new XMLHttpRequest();_0xa5bex19[_0xc78c[133]](_0xc78c[175],VARIABLE_URL,true);_0xa5bex19[_0xc78c[178]](_0xc78c[176],_0xc78c[177]);_0xa5bex19[_0xc78c[178]](_0xc78c[179],_0xc78c[180]+_0xa5bex1[_0xc78c[163]][_0xc78c[181]]);_0xa5bex19[_0xc78c[182]]=function(_0xa5bex1a){if(_0xa5bex19[_0xc78c[183]]===4){if(_0xa5bex19[_0xc78c[184]]===201){_0xa5bex1[_0xc78c[173]](_0xc78c[305]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[306]]+_0xc78c[206]+_0xa5bex19[_0xc78c[184]]+_0xc78c[172]+_0xa5bex19[_0xc78c[196]]+_0xc78c[44])}else {_0xa5bex1[_0xc78c[173]](_0xc78c[307]+JSON[_0xc78c[188]](_0xa5bex19[_0xc78c[187]])[_0xc78c[194]][0][_0xc78c[159]])}}};_0xa5bex19[_0xc78c[195]]=function(_0xa5bex1a){mxUtils[_0xc78c[160]](_0xa5bex19[_0xc78c[196]])};_0xa5bex19[_0xc78c[198]](_0xc78c[308]+_0xa5bex18)}catch(e){this[_0xc78c[0]][_0xc78c[173]](_0xc78c[309])}}else {this[_0xc78c[0]][_0xc78c[173]](_0xc78c[309])}};EditorUi[_0xc78c[10]][_0xc78c[310]]=function(_0xa5bex2b){var _0xa5bex2c=(_0xa5bex2b!=null)?_0xa5bex2b:window[_0xc78c[312]][_0xc78c[311]];var _0xa5bex2d=(_0xa5bex2c[_0xc78c[100]](_0xc78c[313])>0)?1:0;for(var _0xa5bex2e in urlParams){if(_0xa5bex2d==0){_0xa5bex2c+=_0xc78c[313]}else {_0xa5bex2c+=_0xc78c[314]};_0xa5bex2c+=_0xa5bex2e+_0xc78c[315]+urlParams[_0xa5bex2e];_0xa5bex2d++};return _0xa5bex2c};EditorUi[_0xc78c[10]][_0xc78c[140]]=function(){var _0xa5bex2f=this[_0xc78c[12]][_0xc78c[143]](_0xc78c[316]);var _0xa5bex30=this[_0xc78c[12]][_0xc78c[143]](_0xc78c[317]);var _0xa5bex31=this[_0xc78c[0]][_0xc78c[155]];var _0xa5bex32=function(){_0xa5bex2f[_0xc78c[145]](_0xa5bex31[_0xc78c[318]]());_0xa5bex30[_0xc78c[145]](_0xa5bex31[_0xc78c[319]]())};_0xa5bex31[_0xc78c[33]](mxEvent.ADD,_0xa5bex32);_0xa5bex31[_0xc78c[33]](mxEvent.UNDO,_0xa5bex32);_0xa5bex31[_0xc78c[33]](mxEvent.REDO,_0xa5bex32);_0xa5bex31[_0xc78c[33]](mxEvent.CLEAR,_0xa5bex32);_0xa5bex32()};EditorUi[_0xc78c[10]][_0xc78c[141]]=function(){var _0xa5bex33=mxUtils[_0xc78c[20]](this,function(){var _0xa5bex3=this[_0xc78c[0]][_0xc78c[4]];var _0xa5bex34=!_0xa5bex3[_0xc78c[320]]();var _0xa5bex35=false;var _0xa5bex36=false;var _0xa5bex37=_0xa5bex3[_0xc78c[321]]();if(_0xa5bex37!=null){for(var _0xa5bex38=0;_0xa5bex38<_0xa5bex37[_0xc78c[174]];_0xa5bex38++){var _0xa5bexb=_0xa5bex37[_0xa5bex38];if(_0xa5bex3[_0xc78c[96]]()[_0xc78c[95]](_0xa5bexb)){_0xa5bex36=true};if(_0xa5bex3[_0xc78c[96]]()[_0xc78c[102]](_0xa5bexb)){_0xa5bex35=true};if(_0xa5bex36&&_0xa5bex35){break}}};var _0xa5bex39=[_0xc78c[146],_0xc78c[147],_0xc78c[322],_0xc78c[323],_0xc78c[324],_0xc78c[325],_0xc78c[6],_0xc78c[326],_0xc78c[327],_0xc78c[328],_0xc78c[329],_0xc78c[330],_0xc78c[331],_0xc78c[332],_0xc78c[333]];for(var _0xa5bex38=0;_0xa5bex38<_0xa5bex39[_0xc78c[174]];_0xa5bex38++){this[_0xc78c[12]][_0xc78c[143]](_0xa5bex39[_0xa5bex38])[_0xc78c[145]](_0xa5bex34)};this[_0xc78c[12]][_0xc78c[143]](_0xc78c[334])[_0xc78c[145]](_0xa5bex36);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[335])[_0xc78c[145]](_0xa5bex35);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[336])[_0xc78c[145]](_0xa5bex35);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[338])[_0xc78c[145]](_0xa5bex3[_0xc78c[337]]()>1);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[340])[_0xc78c[145]](_0xa5bex3[_0xc78c[337]]()==1&&_0xa5bex3[_0xc78c[96]]()[_0xc78c[219]](_0xa5bex3[_0xc78c[339]]())>0);var _0xa5bex3a=_0xa5bex35&&_0xa5bex3[_0xc78c[337]]()==1;this[_0xc78c[12]][_0xc78c[143]](_0xc78c[341])[_0xc78c[145]](_0xa5bex3a&&_0xa5bex3[_0xc78c[96]]()[_0xc78c[102]](_0xa5bex3[_0xc78c[96]]()[_0xc78c[298]](_0xa5bex3[_0xc78c[339]]())));var _0xa5bex3b=[_0xc78c[342],_0xc78c[343],_0xc78c[344],_0xc78c[345],_0xc78c[255],_0xc78c[346],_0xc78c[347],_0xc78c[348],_0xc78c[349]];for(var _0xa5bex38=0;_0xa5bex38<_0xa5bex3b[_0xc78c[174]];_0xa5bex38++){this[_0xc78c[13]][_0xc78c[143]](_0xa5bex3b[_0xa5bex38])[_0xc78c[145]](_0xa5bex34)};_0xa5bex3b=[_0xc78c[350],_0xc78c[351],_0xc78c[352]];for(var _0xa5bex38=0;_0xa5bex38<_0xa5bex3b[_0xc78c[174]];_0xa5bex38++){this[_0xc78c[13]][_0xc78c[143]](_0xa5bex3b[_0xa5bex38])[_0xc78c[145]](_0xa5bex36)};this[_0xc78c[12]][_0xc78c[143]](_0xc78c[353])[_0xc78c[145]](_0xa5bex36);this[_0xc78c[13]][_0xc78c[143]](_0xc78c[354])[_0xc78c[145]](_0xa5bex3[_0xc78c[337]]()>1);this[_0xc78c[13]][_0xc78c[143]](_0xc78c[357])[_0xc78c[145]](_0xa5bex35||(_0xa5bex36&&_0xa5bex3[_0xc78c[356]](_0xa5bex3[_0xc78c[120]][_0xc78c[355]](_0xa5bex3[_0xc78c[339]]()))));this[_0xc78c[13]][_0xc78c[143]](_0xc78c[360])[_0xc78c[145]](_0xa5bex3[_0xc78c[358]]&&((_0xa5bex3[_0xc78c[120]][_0xc78c[359]]!=null)||(_0xa5bex3[_0xc78c[337]]()==1&&_0xa5bex3[_0xc78c[221]](_0xa5bex3[_0xc78c[339]]()))));this[_0xc78c[12]][_0xc78c[143]](_0xc78c[361])[_0xc78c[145]](_0xa5bex3[_0xc78c[120]][_0xc78c[359]]!=null);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[362])[_0xc78c[145]](_0xa5bex3[_0xc78c[120]][_0xc78c[359]]!=null);var _0xa5bex3c=_0xa5bex3[_0xc78c[337]]()==1&&_0xa5bex3[_0xc78c[221]](_0xa5bex3[_0xc78c[339]]());this[_0xc78c[12]][_0xc78c[143]](_0xc78c[363])[_0xc78c[145]](_0xa5bex3c);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[364])[_0xc78c[145]](_0xa5bex3c);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[365])[_0xc78c[145]](_0xa5bex3c);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[366])[_0xc78c[145]](_0xa5bex3[_0xc78c[337]]()==1);this[_0xc78c[12]][_0xc78c[143]](_0xc78c[368])[_0xc78c[145]](_0xa5bex3[_0xc78c[337]]()==1&&_0xa5bex3[_0xc78c[367]](_0xa5bex3[_0xc78c[339]]())!=null)});this[_0xc78c[0]][_0xc78c[4]][_0xc78c[369]]()[_0xc78c[33]](mxEvent.CHANGE,_0xa5bex33);_0xa5bex33()};EditorUi[_0xc78c[10]][_0xc78c[15]]=function(){var _0xa5bex3d=mxClient[_0xc78c[29]]&&(document[_0xc78c[30]]==null||document[_0xc78c[30]]==5);var _0xa5bex3e=this[_0xc78c[1]][_0xc78c[370]];var _0xa5bex3f=this[_0xc78c[1]][_0xc78c[371]];if(this[_0xc78c[1]]==document[_0xc78c[21]]){_0xa5bex3e=document[_0xc78c[21]][_0xc78c[370]]||document[_0xc78c[151]][_0xc78c[370]];_0xa5bex3f=(_0xa5bex3d)?document[_0xc78c[21]][_0xc78c[371]]||document[_0xc78c[151]][_0xc78c[371]]:document[_0xc78c[151]][_0xc78c[371]]};var _0xa5bex40=Math[_0xc78c[373]](0,Math[_0xc78c[372]](this[_0xc78c[138]],_0xa5bex3e-this[_0xc78c[134]]-20));var _0xa5bex41=Math[_0xc78c[373]](0,Math[_0xc78c[372]](this[_0xc78c[139]],_0xa5bex3f-this[_0xc78c[135]]-this[_0xc78c[136]]-this[_0xc78c[137]]-this[_0xc78c[134]]-1));this[_0xc78c[23]][_0xc78c[6]][_0xc78c[374]]=this[_0xc78c[135]]+_0xc78c[375];this[_0xc78c[25]][_0xc78c[6]][_0xc78c[376]]=this[_0xc78c[135]]+_0xc78c[375];this[_0xc78c[25]][_0xc78c[6]][_0xc78c[374]]=this[_0xc78c[136]]+_0xc78c[375];var _0xa5bex42=this[_0xc78c[135]]+this[_0xc78c[136]];if(!mxClient[_0xc78c[377]]){_0xa5bex42+=1};this[_0xc78c[27]][_0xc78c[6]][_0xc78c[376]]=_0xa5bex42+_0xc78c[375];this[_0xc78c[27]][_0xc78c[6]][_0xc78c[378]]=_0xa5bex40+_0xc78c[375];this[_0xc78c[110]][_0xc78c[6]][_0xc78c[378]]=_0xa5bex40+_0xc78c[375];this[_0xc78c[110]][_0xc78c[6]][_0xc78c[374]]=_0xa5bex41+_0xc78c[375];this[_0xc78c[110]][_0xc78c[6]][_0xc78c[379]]=this[_0xc78c[137]]+_0xc78c[375];this[_0xc78c[26]][_0xc78c[6]][_0xc78c[380]]=(_0xa5bex40+this[_0xc78c[134]])+_0xc78c[375];this[_0xc78c[26]][_0xc78c[6]][_0xc78c[376]]=this[_0xc78c[27]][_0xc78c[6]][_0xc78c[376]];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[374]]=this[_0xc78c[137]]+_0xc78c[375];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[381]]=_0xc78c[382];this[_0xc78c[383]][_0xc78c[6]][_0xc78c[376]]=this[_0xc78c[27]][_0xc78c[6]][_0xc78c[376]];this[_0xc78c[383]][_0xc78c[6]][_0xc78c[379]]=this[_0xc78c[110]][_0xc78c[6]][_0xc78c[379]];this[_0xc78c[383]][_0xc78c[6]][_0xc78c[380]]=_0xa5bex40+_0xc78c[375];this[_0xc78c[384]][_0xc78c[6]][_0xc78c[378]]=this[_0xc78c[27]][_0xc78c[6]][_0xc78c[378]];this[_0xc78c[384]][_0xc78c[6]][_0xc78c[379]]=(_0xa5bex41+this[_0xc78c[137]])+_0xc78c[375];if(_0xa5bex3d){this[_0xc78c[23]][_0xc78c[6]][_0xc78c[378]]=_0xa5bex3e+_0xc78c[375];this[_0xc78c[25]][_0xc78c[6]][_0xc78c[378]]=this[_0xc78c[23]][_0xc78c[6]][_0xc78c[378]];var _0xa5bex43=(_0xa5bex3f-_0xa5bex41-this[_0xc78c[134]]-this[_0xc78c[137]]-this[_0xc78c[135]]-this[_0xc78c[136]]);this[_0xc78c[27]][_0xc78c[6]][_0xc78c[374]]=_0xa5bex43+_0xc78c[375];this[_0xc78c[26]][_0xc78c[6]][_0xc78c[378]]=(_0xa5bex3e-_0xa5bex40-this[_0xc78c[134]])+_0xc78c[375];var _0xa5bex44=(_0xa5bex3f-this[_0xc78c[137]]-this[_0xc78c[135]]-this[_0xc78c[136]]);this[_0xc78c[26]][_0xc78c[6]][_0xc78c[374]]=_0xa5bex44+_0xc78c[375];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[378]]=this[_0xc78c[23]][_0xc78c[6]][_0xc78c[378]];this[_0xc78c[383]][_0xc78c[6]][_0xc78c[374]]=_0xa5bex44+_0xc78c[375]}else {this[_0xc78c[27]][_0xc78c[6]][_0xc78c[379]]=(_0xa5bex41+this[_0xc78c[134]]+this[_0xc78c[137]])+_0xc78c[375];this[_0xc78c[26]][_0xc78c[6]][_0xc78c[379]]=this[_0xc78c[110]][_0xc78c[6]][_0xc78c[379]]}};EditorUi[_0xc78c[10]][_0xc78c[14]]=function(){this[_0xc78c[23]]=this[_0xc78c[386]](_0xc78c[385]);this[_0xc78c[25]]=this[_0xc78c[386]](_0xc78c[387]);this[_0xc78c[27]]=this[_0xc78c[386]](_0xc78c[388]);this[_0xc78c[110]]=this[_0xc78c[386]](_0xc78c[389]);this[_0xc78c[26]]=this[_0xc78c[386]](_0xc78c[390]);this[_0xc78c[28]]=this[_0xc78c[386]](_0xc78c[391]);this[_0xc78c[383]]=this[_0xc78c[386]](_0xc78c[392]);this[_0xc78c[384]]=this[_0xc78c[386]](_0xc78c[393]);this[_0xc78c[23]][_0xc78c[6]][_0xc78c[376]]=_0xc78c[394];this[_0xc78c[23]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[23]][_0xc78c[6]][_0xc78c[395]]=_0xc78c[394];this[_0xc78c[25]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[25]][_0xc78c[6]][_0xc78c[395]]=_0xc78c[394];this[_0xc78c[27]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[110]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[26]][_0xc78c[6]][_0xc78c[395]]=_0xc78c[394];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[395]]=_0xc78c[394];this[_0xc78c[28]][_0xc78c[6]][_0xc78c[379]]=_0xc78c[394];this[_0xc78c[384]][_0xc78c[6]][_0xc78c[380]]=_0xc78c[394];this[_0xc78c[384]][_0xc78c[6]][_0xc78c[374]]=this[_0xc78c[134]]+_0xc78c[375];this[_0xc78c[383]][_0xc78c[6]][_0xc78c[378]]=this[_0xc78c[134]]+_0xc78c[375]};EditorUi[_0xc78c[10]][_0xc78c[16]]=function(){this[_0xc78c[396]]=this[_0xc78c[13]][_0xc78c[398]](this[_0xc78c[386]](_0xc78c[397]));this[_0xc78c[23]][_0xc78c[399]](this[_0xc78c[396]][_0xc78c[1]]);this[_0xc78c[400]]=this[_0xc78c[402]](this[_0xc78c[386]](_0xc78c[401]));this[_0xc78c[25]][_0xc78c[399]](this[_0xc78c[400]][_0xc78c[1]]);this[_0xc78c[403]]=this[_0xc78c[404]](this[_0xc78c[27]]);this[_0xc78c[28]][_0xc78c[399]](this[_0xc78c[405]]());this[_0xc78c[406]]=this[_0xc78c[407]]();this[_0xc78c[0]][_0xc78c[33]](_0xc78c[408],mxUtils[_0xc78c[20]](this,function(){this[_0xc78c[410]](this[_0xc78c[0]][_0xc78c[409]]())}));this[_0xc78c[410]](this[_0xc78c[0]][_0xc78c[409]]());this[_0xc78c[396]][_0xc78c[1]][_0xc78c[399]](this[_0xc78c[406]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[23]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[25]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[27]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[110]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[26]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[28]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[383]]);this[_0xc78c[1]][_0xc78c[399]](this[_0xc78c[384]]);this[_0xc78c[411]](this[_0xc78c[383]],true,0,mxUtils[_0xc78c[20]](this,function(_0xa5bex45){this[_0xc78c[138]]=_0xa5bex45;this[_0xc78c[15]]();this[_0xc78c[0]][_0xc78c[4]][_0xc78c[131]]();this[_0xc78c[0]][_0xc78c[111]][_0xc78c[132]](false);this[_0xc78c[0]][_0xc78c[111]][_0xc78c[111]][_0xc78c[131]]()}));this[_0xc78c[411]](this[_0xc78c[384]],false,this[_0xc78c[137]],mxUtils[_0xc78c[20]](this,function(_0xa5bex45){this[_0xc78c[139]]=_0xa5bex45;this[_0xc78c[15]]();this[_0xc78c[0]][_0xc78c[111]][_0xc78c[132]](false);this[_0xc78c[0]][_0xc78c[111]][_0xc78c[111]][_0xc78c[131]]()}))};EditorUi[_0xc78c[10]][_0xc78c[407]]=function(){var _0xa5bex2=document[_0xc78c[413]](_0xc78c[412]);_0xa5bex2[_0xc78c[414]]=_0xc78c[415];return _0xa5bex2};EditorUi[_0xc78c[10]][_0xc78c[407]]=function(){var _0xa5bex2=document[_0xc78c[413]](_0xc78c[412]);_0xa5bex2[_0xc78c[414]]=_0xc78c[415];return _0xa5bex2};EditorUi[_0xc78c[10]][_0xc78c[410]]=function(_0xa5bex45){this[_0xc78c[406]][_0xc78c[416]]=_0xa5bex45};EditorUi[_0xc78c[10]][_0xc78c[402]]=function(_0xa5bex2){return new Toolbar(this,_0xa5bex2)};EditorUi[_0xc78c[10]][_0xc78c[404]]=function(_0xa5bex2){return new Sidebar(this,_0xa5bex2)};EditorUi[_0xc78c[10]][_0xc78c[405]]=function(){return this[_0xc78c[386]](_0xc78c[417])};EditorUi[_0xc78c[10]][_0xc78c[386]]=function(_0xa5bex46){var _0xa5bex47=document[_0xc78c[413]](_0xc78c[418]);_0xa5bex47[_0xc78c[414]]=_0xa5bex46;return _0xa5bex47};EditorUi[_0xc78c[10]][_0xc78c[419]]=function(_0xa5bex46){var _0xa5bex47=document[_0xc78c[413]](_0xa5bex46);return _0xa5bex47};EditorUi[_0xc78c[10]][_0xc78c[420]]=function(_0xa5bex46){var _0xa5bex47=document[_0xc78c[413]](_0xc78c[421]);_0xa5bex47[_0xc78c[414]]=_0xa5bex46;return _0xa5bex47};EditorUi[_0xc78c[10]][_0xc78c[411]]=function(_0xa5bex47,_0xa5bex48,_0xa5bex49,_0xa5bex4a){var _0xa5bex4b=null;var _0xa5bex4c=null;function _0xa5bex4d(){return parseInt(((_0xa5bex48)?_0xa5bex47[_0xc78c[6]][_0xc78c[380]]:_0xa5bex47[_0xc78c[6]][_0xc78c[379]]))}function _0xa5bex4e(_0xa5bex6){if(_0xa5bex4b!=null){var _0xa5bex4f= new mxPoint(mxEvent[_0xc78c[422]](_0xa5bex6),mxEvent[_0xc78c[423]](_0xa5bex6));_0xa5bex4a(Math[_0xc78c[373]](0,_0xa5bex4c+((_0xa5bex48)?(_0xa5bex4f[_0xc78c[424]]-_0xa5bex4b[_0xc78c[424]]):(_0xa5bex4b[_0xc78c[425]]-_0xa5bex4f[_0xc78c[425]]))-_0xa5bex49));mxEvent[_0xc78c[105]](_0xa5bex6)}}function _0xa5bex50(_0xa5bex6){_0xa5bex4e(_0xa5bex6);_0xa5bex4b=null;_0xa5bex4c=null}mxEvent[_0xc78c[113]](_0xa5bex47,function(_0xa5bex6){_0xa5bex4b= new mxPoint(mxEvent[_0xc78c[422]](_0xa5bex6),mxEvent[_0xc78c[423]](_0xa5bex6));_0xa5bex4c=_0xa5bex4d();mxEvent[_0xc78c[105]](_0xa5bex6)});mxEvent[_0xc78c[33]](document,_0xc78c[426],_0xa5bex4e);mxEvent[_0xc78c[33]](document,_0xc78c[427],_0xa5bex4e);mxEvent[_0xc78c[33]](document,_0xc78c[428],_0xa5bex50);mxEvent[_0xc78c[33]](document,_0xc78c[429],_0xa5bex50)};EditorUi[_0xc78c[10]][_0xc78c[104]]=function(_0xa5bex47,_0xa5bex3e,_0xa5bex3f,_0xa5bex51,_0xa5bex52,_0xa5bex53){this[_0xc78c[430]]();this[_0xc78c[431]]= new Dialog(this,_0xa5bex47,_0xa5bex3e,(mxClient[_0xc78c[432]])?_0xa5bex3f-12:_0xa5bex3f,_0xa5bex51,_0xa5bex52,_0xa5bex53)};EditorUi[_0xc78c[10]][_0xc78c[430]]=function(){if(this[_0xc78c[431]]!=null){this[_0xc78c[431]][_0xc78c[433]]();this[_0xc78c[431]]=null;this[_0xc78c[0]][_0xc78c[4]][_0xc78c[1]][_0xc78c[47]]()}};EditorUi[_0xc78c[10]][_0xc78c[434]]=function(_0xa5bex54){if(!_0xa5bex54&&this[_0xc78c[0]][_0xc78c[156]]!=null){this[_0xc78c[202]](this[_0xc78c[0]][_0xc78c[435]]())}else {this[_0xc78c[104]]( new SaveDialog(this)[_0xc78c[1]],300,100,true,true)}};EditorUi[_0xc78c[10]][_0xc78c[436]]=function(_0xa5bex54){if(!_0xa5bex54&&this[_0xc78c[0]][_0xc78c[156]]!=null){this[_0xc78c[301]](this[_0xc78c[0]][_0xc78c[435]]())}else {}};EditorUi[_0xc78c[10]][_0xc78c[437]]=function(_0xa5bex55,_0xa5bex56,_0xa5bex57){var _0xa5bex3=this[_0xc78c[0]][_0xc78c[4]];var _0xa5bexb=_0xa5bex3[_0xc78c[339]]();_0xa5bex56=this[_0xc78c[438]]!=null?this[_0xc78c[438]]:_0xa5bex56;_0xa5bex3[_0xc78c[96]]()[_0xc78c[439]]();try{_0xa5bex55[_0xc78c[440]](_0xa5bex3[_0xc78c[299]](),_0xa5bexb)}catch(e){throw e}finally{if(_0xa5bex56&&navigator[_0xc78c[442]][_0xc78c[100]](_0xc78c[441])<0){var _0xa5bex58= new mxMorphing(_0xa5bex3);_0xa5bex58[_0xc78c[33]](mxEvent.DONE,mxUtils[_0xc78c[20]](this,function(){_0xa5bex3[_0xc78c[96]]()[_0xc78c[443]]()}));_0xa5bex58[_0xc78c[444]]()}else {_0xa5bex3[_0xc78c[96]]()[_0xc78c[443]]()}}};EditorUi[_0xc78c[10]][_0xc78c[128]]=function(_0xa5bex1){var _0xa5bex3=this[_0xc78c[0]][_0xc78c[4]];var _0xa5bexf= new mxKeyHandler(_0xa5bex3);_0xa5bexf[_0xc78c[445]]=function(_0xa5bex6){return mxEvent[_0xc78c[445]](_0xa5bex6)||(mxClient[_0xc78c[446]]&&_0xa5bex6[_0xc78c[447]])};function _0xa5bex59(_0xa5bex5a){if(!_0xa5bex3[_0xc78c[320]]()){var _0xa5bex49=0;var _0xa5bex5b=0;if(_0xa5bex5a==37){_0xa5bex49= -1}else {if(_0xa5bex5a==38){_0xa5bex5b= -1}else {if(_0xa5bex5a==39){_0xa5bex49=1}else {if(_0xa5bex5a==40){_0xa5bex5b=1}}}};_0xa5bex3[_0xc78c[448]](_0xa5bex3[_0xc78c[321]](),_0xa5bex49,_0xa5bex5b);_0xa5bex3[_0xc78c[449]](_0xa5bex3[_0xc78c[339]]())}}var _0xa5bex5c=mxUtils[_0xc78c[20]](this,function(_0xa5bex5d,_0xa5bex5e,_0xa5bex2e,_0xa5bex5f){var _0xa5bex60=this[_0xc78c[12]][_0xc78c[143]](_0xa5bex2e);if(_0xa5bex60!=null){var _0xa5bex1f=function(){if(_0xa5bex60[_0xc78c[450]]){_0xa5bex60[_0xc78c[451]]()}};if(_0xa5bex5e){if(_0xa5bex5f){_0xa5bexf[_0xc78c[452]](_0xa5bex5d,_0xa5bex1f)}else {_0xa5bexf[_0xc78c[453]](_0xa5bex5d,_0xa5bex1f)}}else {if(_0xa5bex5f){_0xa5bexf[_0xc78c[454]](_0xa5bex5d,_0xa5bex1f)}else {_0xa5bexf[_0xc78c[455]](_0xa5bex5d,_0xa5bex1f)}}}});var _0xa5bex61=this;var _0xa5bex62=_0xa5bexf[_0xc78c[456]];_0xa5bexf[_0xc78c[456]]=function(_0xa5bex6){_0xa5bex61[_0xc78c[430]]();_0xa5bex62[_0xc78c[50]](this,arguments)};_0xa5bexf[_0xc78c[457]]=function(){};_0xa5bexf[_0xc78c[455]](8,function(){_0xa5bex3[_0xc78c[458]](true)});_0xa5bexf[_0xc78c[455]](13,function(){_0xa5bex3[_0xc78c[458]](false)});_0xa5bexf[_0xc78c[455]](33,function(){_0xa5bex3[_0xc78c[362]]()});_0xa5bexf[_0xc78c[455]](34,function(){_0xa5bex3[_0xc78c[363]]()});_0xa5bexf[_0xc78c[455]](36,function(){_0xa5bex3[_0xc78c[361]]()});_0xa5bexf[_0xc78c[455]](35,function(){_0xa5bex3[_0xc78c[15]]()});_0xa5bexf[_0xc78c[455]](37,function(){_0xa5bex59(37)});_0xa5bexf[_0xc78c[455]](38,function(){_0xa5bex59(38)});_0xa5bexf[_0xc78c[455]](39,function(){_0xa5bex59(39)});_0xa5bexf[_0xc78c[455]](40,function(){_0xa5bex59(40)});_0xa5bexf[_0xc78c[455]](113,function(){_0xa5bex3[_0xc78c[101]]()});_0xa5bex5c(46,false,_0xc78c[322]);_0xa5bex5c(82,true,_0xc78c[332]);_0xa5bex5c(83,true,_0xc78c[202]);_0xa5bex5c(83,true,_0xc78c[210],true);_0xa5bex5c(107,false,_0xc78c[459]);_0xa5bex5c(109,false,_0xc78c[460]);_0xa5bex5c(65,true,_0xc78c[461]);_0xa5bex5c(86,true,_0xc78c[462],true);_0xa5bex5c(69,true,_0xc78c[463],true);_0xa5bex5c(69,true,_0xc78c[464]);_0xa5bex5c(66,true,_0xc78c[328]);_0xa5bex5c(70,true,_0xc78c[327]);_0xa5bex5c(68,true,_0xc78c[323]);_0xa5bex5c(90,true,_0xc78c[316]);_0xa5bex5c(89,true,_0xc78c[317]);_0xa5bex5c(88,true,_0xc78c[146]);_0xa5bex5c(67,true,_0xc78c[147]);_0xa5bex5c(81,true,_0xc78c[465]);_0xa5bex5c(86,true,_0xc78c[142]);_0xa5bex5c(71,true,_0xc78c[338]);_0xa5bex5c(71,true,_0xc78c[466],true);_0xa5bex5c(85,true,_0xc78c[340]);_0xa5bex5c(112,false,_0xc78c[467]);_0xa5bex5c(80,true,_0xc78c[301],true);return _0xa5bexf};EditorUi[_0xc78c[10]][_0xc78c[56]]=function(_0xa5bex3,_0xa5bex37,_0xa5bex63,_0xa5bex64){for(var _0xa5bex38=0;_0xa5bex38<_0xa5bex37[_0xc78c[174]];_0xa5bex38++){_0xa5bex3[_0xc78c[470]]( new mxMultiplicity(true,_0xa5bex37[_0xa5bex38],null,null,_0xa5bex63[_0xa5bex38][0],_0xa5bex63[_0xa5bex38][1],null,mxResources[_0xc78c[143]](_0xa5bex37[_0xa5bex38])+mxResources[_0xc78c[143]](_0xc78c[468])+_0xa5bex63[_0xa5bex38][0]+mxResources[_0xc78c[143]](_0xc78c[469]),null));_0xa5bex3[_0xc78c[470]]( new mxMultiplicity(false,_0xa5bex37[_0xa5bex38],null,null,_0xa5bex64[_0xa5bex38][0],_0xa5bex64[_0xa5bex38][1],null,mxResources[_0xc78c[143]](_0xa5bex37[_0xa5bex38])+mxResources[_0xc78c[143]](_0xc78c[468])+_0xa5bex64[_0xa5bex38][0]+mxResources[_0xc78c[143]](_0xc78c[471]),null))}} \ No newline at end of file +var _0xe218=["\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","\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","\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","\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","\x73\x6D\x73","\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(_0x16e0x1,_0x16e0x2){this[_0xe218[0]]=_0x16e0x1|| new Editor();this[_0xe218[1]]=_0x16e0x2||document[_0xe218[3]](_0xe218[2]);var _0x16e0x3=_0x16e0x1[_0xe218[4]];var _0x16e0x4=this;this[_0xe218[1]][_0xe218[6]][_0xe218[5]]=_0xe218[7]; new Image()[_0xe218[8]]=mxPopupMenu[_0xe218[10]][_0xe218[9]];if(mxConnectionHandler[_0xe218[10]][_0xe218[11]]!=null){ new Image()[_0xe218[8]]=mxConnectionHandler[_0xe218[10]][_0xe218[11]][_0xe218[8]]};this[_0xe218[12]]= new Actions(this);this[_0xe218[13]]= new Menus(this);this[_0xe218[14]]();this[_0xe218[15]]();this[_0xe218[16]]();var _0x16e0x5=mxUtils[_0xe218[20]](this,function(_0x16e0x6){if(_0x16e0x6==null){_0x16e0x6=window[_0xe218[17]]};if(this[_0xe218[18]](_0x16e0x6)){return true};return _0x16e0x3[_0xe218[19]]()});if(this[_0xe218[1]]==document[_0xe218[21]]){this[_0xe218[23]][_0xe218[22]]=_0x16e0x5;this[_0xe218[23]][_0xe218[24]]=_0x16e0x5;this[_0xe218[25]][_0xe218[22]]=_0x16e0x5;this[_0xe218[25]][_0xe218[24]]=_0x16e0x5;this[_0xe218[26]][_0xe218[22]]=_0x16e0x5;this[_0xe218[26]][_0xe218[24]]=_0x16e0x5;this[_0xe218[27]][_0xe218[22]]=_0x16e0x5;this[_0xe218[27]][_0xe218[24]]=_0x16e0x5;this[_0xe218[28]][_0xe218[22]]=_0x16e0x5;this[_0xe218[28]][_0xe218[24]]=_0x16e0x5};if(mxClient[_0xe218[29]]&&( typeof (document[_0xe218[30]])===_0xe218[31]||document[_0xe218[30]]<9)){mxEvent[_0xe218[33]](this[_0xe218[26]],_0xe218[32],_0x16e0x5);mxEvent[_0xe218[33]](this[_0xe218[27]],_0xe218[32],_0x16e0x5)}else {this[_0xe218[26]][_0xe218[34]]=_0x16e0x5;this[_0xe218[27]][_0xe218[34]]=_0x16e0x5};_0x16e0x3[_0xe218[35]](this[_0xe218[26]]);_0x16e0x3[_0xe218[15]]();_0x16e0x3[_0xe218[1]][_0xe218[38]](_0xe218[36],_0xe218[37]);_0x16e0x3[_0xe218[1]][_0xe218[6]][_0xe218[39]]=_0xe218[40];_0x16e0x3[_0xe218[1]][_0xe218[6]][_0xe218[41]]=_0xe218[42]+_0x16e0x1[_0xe218[43]]+_0xe218[44];_0x16e0x3[_0xe218[1]][_0xe218[6]][_0xe218[45]]=_0xe218[46];_0x16e0x3[_0xe218[1]][_0xe218[47]]();var _0x16e0x7=_0x16e0x3[_0xe218[48]];_0x16e0x3[_0xe218[48]]=function(_0x16e0x8,_0x16e0x9,_0x16e0xa){if(_0x16e0x8==mxEvent[_0xe218[49]]){this[_0xe218[1]][_0xe218[47]]()};_0x16e0x7[_0xe218[50]](this,arguments)};this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[52],_0xe218[53],_0xe218[54]],[[1,1],[1,1],[0,0]],[[0,0],[0,0],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[57],_0xe218[58],_0xe218[59],_0xe218[60],_0xe218[61],_0xe218[62],_0xe218[63]],[[1,1],[0,0],[0,1],[0,1],[0,1],[1,1],[0,1]],[[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[64],_0xe218[65]],[[1,1],[1,1]],[[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[66],_0xe218[67],_0xe218[68],_0xe218[69],_0xe218[70],_0xe218[71],_0xe218[72],_0xe218[73],_0xe218[74]],[[1,_0xe218[55]],[1,1],[1,_0xe218[55]],[1,1],[1,1],[1,1],[1,1],[1,1],[1,_0xe218[55]]],[[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[75]],[[1,1]],[[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[76],_0xe218[77]],[[1,1],[1,1]],[[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[78],_0xe218[79],_0xe218[80],_0xe218[81],_0xe218[82]],[[0,0],[1,2],[1,2],[1,2],[1,_0xe218[55]]],[[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[83],_0xe218[84]],[[1,1],[1,1]],[[1,_0xe218[55]],[1,_0xe218[55]]]);this[_0xe218[56]](_0x16e0x3[_0xe218[51]],[_0xe218[85],_0xe218[86],_0xe218[87],_0xe218[88],_0xe218[89]],[[1,1],[1,1],[0,1],[0,1],[0,1]],[[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]],[1,_0xe218[55]]]);_0x16e0x3[_0xe218[90]]=function(_0x16e0x6,_0x16e0xb){var _0x16e0xc=[_0xe218[66],_0xe218[79],_0xe218[80],_0xe218[68],_0xe218[74],_0xe218[82]];var _0x16e0xd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0xe218[17],_0x16e0x6,_0xe218[91],_0x16e0xb);this[_0xe218[92]](_0x16e0xd);if(this[_0xe218[93]]()&&!mxEvent[_0xe218[94]](_0x16e0x6)&&!_0x16e0xd[_0xe218[94]]()){if(this[_0xe218[96]]()[_0xe218[95]](_0x16e0xb)){if(_0x16e0xc[_0xe218[100]](_0x16e0xb[_0xe218[99]][_0xe218[98]][_0xe218[97]])>=0){this[_0xe218[101]](_0x16e0xb)}}else {if(this[_0xe218[96]]()[_0xe218[102]](_0x16e0xb)){console[_0xe218[103]](_0x16e0x4);console[_0xe218[103]](_0x16e0xb);_0x16e0x4[_0xe218[104]]( new GeneralDialog(_0x16e0x4,_0x16e0xb)[_0xe218[1]],320,280,true,true)}};_0x16e0xd[_0xe218[105]]()}};_0x16e0x3[_0xe218[107]][_0xe218[106]]=true;_0x16e0x3[_0xe218[107]][_0xe218[108]]=mxUtils[_0xe218[20]](this,function(_0x16e0xe,_0x16e0xb,_0x16e0x6){this[_0xe218[13]][_0xe218[109]](_0x16e0xe,_0x16e0xb,_0x16e0x6)});_0x16e0x1[_0xe218[111]][_0xe218[35]](this[_0xe218[110]]);mxEvent[_0xe218[113]](document,mxUtils[_0xe218[20]](this,function(_0x16e0x6){_0x16e0x3[_0xe218[107]][_0xe218[112]]()}));if(mxClient[_0xe218[114]]){mxEvent[_0xe218[33]](_0x16e0x3[_0xe218[1]],_0xe218[115],mxUtils[_0xe218[20]](this,function(_0x16e0x6){_0x16e0x3[_0xe218[120]][_0xe218[119]]()[_0xe218[38]](_0xe218[116],_0xe218[117]+_0x16e0x6[_0xe218[118]]+_0xe218[44]);_0x16e0x3[_0xe218[120]][_0xe218[122]]()[_0xe218[6]][_0xe218[121]]=_0xe218[7]}));mxEvent[_0xe218[33]](_0x16e0x3[_0xe218[1]],_0xe218[123],mxUtils[_0xe218[20]](this,function(_0x16e0x6){_0x16e0x3[_0xe218[120]][_0xe218[119]]()[_0xe218[124]](_0xe218[116]);_0x16e0x3[_0xe218[125]]=true;_0x16e0x3[_0xe218[126]](_0x16e0x6[_0xe218[118]]);_0x16e0x3[_0xe218[120]][_0xe218[122]]()[_0xe218[6]][_0xe218[121]]=_0xe218[127]}))};var _0x16e0xf=this[_0xe218[128]](_0x16e0x1);this[_0xe218[129]]=function(){return _0x16e0xf};mxEvent[_0xe218[33]](window,_0xe218[130],mxUtils[_0xe218[20]](this,function(){this[_0xe218[15]]();_0x16e0x3[_0xe218[131]]();this[_0xe218[0]][_0xe218[111]][_0xe218[132]](false);this[_0xe218[0]][_0xe218[111]][_0xe218[111]][_0xe218[131]]()}));this[_0xe218[35]]();this[_0xe218[133]]()};EditorUi[_0xe218[10]][_0xe218[134]]=(mxClient[_0xe218[114]])?16:8;EditorUi[_0xe218[10]][_0xe218[135]]=33;EditorUi[_0xe218[10]][_0xe218[136]]=36;EditorUi[_0xe218[10]][_0xe218[137]]=28;EditorUi[_0xe218[10]][_0xe218[138]]=204;EditorUi[_0xe218[10]][_0xe218[139]]=190;EditorUi[_0xe218[10]][_0xe218[35]]=function(){this[_0xe218[140]]();this[_0xe218[141]]();var _0x16e0x10=this[_0xe218[12]][_0xe218[143]](_0xe218[142]);var _0x16e0x11=function(){_0x16e0x10[_0xe218[145]](!mxClipboard[_0xe218[144]]())};var _0x16e0x12=mxClipboard[_0xe218[146]];mxClipboard[_0xe218[146]]=function(){_0x16e0x12[_0xe218[50]](this,arguments);_0x16e0x11()};var _0x16e0x13=mxClipboard[_0xe218[147]];mxClipboard[_0xe218[147]]=function(){_0x16e0x13[_0xe218[50]](this,arguments);_0x16e0x11()}};EditorUi[_0xe218[10]][_0xe218[18]]=function(_0x16e0x6){return false};EditorUi[_0xe218[10]][_0xe218[133]]=function(){try{if(window[_0xe218[148]]!=null&&window[_0xe218[148]][_0xe218[149]]!=null){window[_0xe218[148]][_0xe218[149]][_0xe218[161]](mxUtils[_0xe218[20]](this,function(_0x16e0x14,_0x16e0x15){try{var _0x16e0x16=mxUtils[_0xe218[150]](_0x16e0x14);this[_0xe218[0]][_0xe218[152]](_0x16e0x16[_0xe218[151]]);this[_0xe218[0]][_0xe218[153]]=false;this[_0xe218[0]][_0xe218[155]][_0xe218[154]]();if(_0x16e0x15!=null){this[_0xe218[0]][_0xe218[156]]=_0x16e0x15}}catch(e){mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[157])+_0xe218[158]+e[_0xe218[159]])}}))}}catch(e){}};EditorUi[_0xe218[10]][_0xe218[162]]=function(_0x16e0x14,_0x16e0x15,_0x16e0x17){try{var _0x16e0x16=mxUtils[_0xe218[150]](_0x16e0x14);this[_0xe218[0]][_0xe218[152]](_0x16e0x16[_0xe218[151]]);this[_0xe218[0]][_0xe218[153]]=false;this[_0xe218[0]][_0xe218[155]][_0xe218[154]]();if(_0x16e0x15!=null){this[_0xe218[0]][_0xe218[156]]=_0x16e0x15};if(_0x16e0x17!=null){this[_0xe218[0]][_0xe218[163]]=_0x16e0x17}}catch(e){mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[157])+_0xe218[158]+e[_0xe218[159]])}};EditorUi[_0xe218[10]][_0xe218[164]]=function(_0x16e0x18){var _0x16e0x1=this[_0xe218[0]];if(_0x16e0x18!=null){var _0x16e0x14=mxUtils[_0xe218[166]](this[_0xe218[0]][_0xe218[165]]());try{if(useLocalStorage){if(localStorage[_0xe218[167]](_0x16e0x18)!=null&&!mxUtils[_0xe218[169]](mxResources[_0xe218[143]](_0xe218[168],[_0x16e0x18]))){return};localStorage[_0xe218[170]](_0x16e0x18,_0x16e0x14);this[_0xe218[0]][_0xe218[173]](mxResources[_0xe218[143]](_0xe218[171])+_0xe218[172]+ new Date())}else {console[_0xe218[103]](_0x16e0x14[_0xe218[174]]);console[_0xe218[103]](MAX_REQUEST_SIZE);if(_0x16e0x14[_0xe218[174]]<MAX_REQUEST_SIZE){_0x16e0x14=encodeURIComponent(_0x16e0x14);_0x16e0x18=encodeURIComponent(_0x16e0x18);var _0x16e0x19= new XMLHttpRequest();_0x16e0x19[_0xe218[133]](_0xe218[175],SAVE_URL,true);_0x16e0x19[_0xe218[178]](_0xe218[176],_0xe218[177]);_0x16e0x19[_0xe218[178]](_0xe218[179],_0xe218[180]+_0x16e0x1[_0xe218[163]][_0xe218[181]]);_0x16e0x19[_0xe218[182]]=function(_0x16e0x1a){if(_0x16e0x19[_0xe218[183]]===4){if(_0x16e0x19[_0xe218[184]]===201){_0x16e0x1[_0xe218[173]](_0xe218[185]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[186]]+_0xe218[189]);setTimeout(function(){window[_0xe218[133]](_0xe218[190]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[191]],_0xe218[192])},1500)}else {_0x16e0x1[_0xe218[173]](_0xe218[193]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[194]][0][_0xe218[159]])}}};_0x16e0x19[_0xe218[195]]=function(_0x16e0x1a){mxUtils[_0xe218[160]](_0x16e0x19[_0xe218[196]])};_0x16e0x19[_0xe218[198]](_0xe218[197]+_0x16e0x18)}else {mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[199]));mxUtils[_0xe218[200]](_0x16e0x14);return}};this[_0xe218[0]][_0xe218[156]]=_0x16e0x18;this[_0xe218[0]][_0xe218[153]]=false}catch(e){this[_0xe218[0]][_0xe218[173]](_0xe218[201])}}else {this[_0xe218[0]][_0xe218[173]](_0xe218[201])}};EditorUi[_0xe218[10]][_0xe218[202]]=function(_0x16e0x18){var _0x16e0x1=this[_0xe218[0]];if(_0x16e0x18!=null){var _0x16e0x14=mxUtils[_0xe218[166]](this[_0xe218[0]][_0xe218[165]]());try{if(useLocalStorage){if(localStorage[_0xe218[167]](_0x16e0x18)!=null&&!mxUtils[_0xe218[169]](mxResources[_0xe218[143]](_0xe218[168],[_0x16e0x18]))){return};localStorage[_0xe218[170]](_0x16e0x18,_0x16e0x14);this[_0xe218[0]][_0xe218[173]](mxResources[_0xe218[143]](_0xe218[171])+_0xe218[172]+ new Date())}else {console[_0xe218[103]](_0x16e0x14[_0xe218[174]]);console[_0xe218[103]](MAX_REQUEST_SIZE);if(_0x16e0x14[_0xe218[174]]<MAX_REQUEST_SIZE){_0x16e0x14=encodeURIComponent(_0x16e0x14);var _0x16e0x19= new XMLHttpRequest();_0x16e0x19[_0xe218[133]](_0xe218[203],SAVE_URL+this[_0xe218[0]][_0xe218[163]][_0xe218[191]],true);_0x16e0x19[_0xe218[178]](_0xe218[176],_0xe218[177]);_0x16e0x19[_0xe218[178]](_0xe218[179],_0xe218[180]+_0x16e0x1[_0xe218[163]][_0xe218[181]]);_0x16e0x19[_0xe218[182]]=function(_0x16e0x1a){if(_0x16e0x19[_0xe218[183]]===4){if(_0x16e0x19[_0xe218[184]]===200){_0x16e0x1[_0xe218[173]](_0xe218[204]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[205]]+_0xe218[206]+_0x16e0x19[_0xe218[184]]+_0xe218[172]+_0x16e0x19[_0xe218[196]]+_0xe218[44])}else {_0x16e0x1[_0xe218[173]](_0xe218[207]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[194]][0][_0xe218[159]])}}};_0x16e0x19[_0xe218[195]]=function(_0x16e0x1a){mxUtils[_0xe218[160]](_0x16e0x19[_0xe218[196]])};_0x16e0x19[_0xe218[198]](_0xe218[208]+_0x16e0x14)}else {mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[199]));mxUtils[_0xe218[200]](_0x16e0x14);return}};this[_0xe218[0]][_0xe218[156]]=_0x16e0x18;this[_0xe218[0]][_0xe218[153]]=false}catch(e){this[_0xe218[0]][_0xe218[173]](_0xe218[209])}}else {this[_0xe218[0]][_0xe218[173]](_0xe218[209])}};EditorUi[_0xe218[10]][_0xe218[210]]=function(_0x16e0x18){var _0x16e0x1=this[_0xe218[0]];if(_0x16e0x18!=null){var _0x16e0x14=mxUtils[_0xe218[166]](this[_0xe218[0]][_0xe218[165]]());try{if(useLocalStorage){if(localStorage[_0xe218[167]](_0x16e0x18)!=null&&!mxUtils[_0xe218[169]](mxResources[_0xe218[143]](_0xe218[168],[_0x16e0x18]))){return};localStorage[_0xe218[170]](_0x16e0x18,_0x16e0x14);this[_0xe218[0]][_0xe218[173]](mxResources[_0xe218[143]](_0xe218[171])+_0xe218[172]+ new Date())}else {console[_0xe218[103]](_0x16e0x14[_0xe218[174]]);console[_0xe218[103]](MAX_REQUEST_SIZE);if(_0x16e0x14[_0xe218[174]]<MAX_REQUEST_SIZE){_0x16e0x14=encodeURIComponent(_0x16e0x14);_0x16e0x18=encodeURIComponent(_0x16e0x18);var _0x16e0x19= new XMLHttpRequest();_0x16e0x19[_0xe218[133]](_0xe218[175],SAVE_URL,true);_0x16e0x19[_0xe218[178]](_0xe218[176],_0xe218[177]);_0x16e0x19[_0xe218[178]](_0xe218[179],_0xe218[180]+_0x16e0x1[_0xe218[163]][_0xe218[181]]);_0x16e0x19[_0xe218[182]]=function(_0x16e0x1a){if(_0x16e0x19[_0xe218[183]]===4){if(_0x16e0x19[_0xe218[184]]===201){_0x16e0x1[_0xe218[173]](_0xe218[185]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[186]]+_0xe218[189]);setTimeout(function(){window[_0xe218[133]](_0xe218[211]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[191]],_0xe218[192])},1500)}else {_0x16e0x1[_0xe218[173]](_0xe218[212]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[194]][0][_0xe218[159]])}}};_0x16e0x19[_0xe218[195]]=function(_0x16e0x1a){mxUtils[_0xe218[160]](_0x16e0x19[_0xe218[196]])};_0x16e0x19[_0xe218[198]](_0xe218[213]+_0x16e0x18+_0xe218[214]+_0x16e0x14+_0xe218[215]+_0x16e0x14)}else {mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[199]));mxUtils[_0xe218[200]](_0x16e0x14);return}};this[_0xe218[0]][_0xe218[156]]=_0x16e0x18;this[_0xe218[0]][_0xe218[153]]=false}catch(e){this[_0xe218[0]][_0xe218[173]](_0xe218[209])}}else {this[_0xe218[0]][_0xe218[173]](_0xe218[209])}};EditorUi[_0xe218[10]][_0xe218[216]]=function(_0x16e0x1b,_0x16e0x1c){var _0x16e0x3=this[_0xe218[0]][_0xe218[4]];for(var _0x16e0x1b=_0x16e0x1b!=null?_0x16e0x1b:_0x16e0x3[_0xe218[218]][_0xe218[217]](),_0x16e0x1c=_0x16e0x1c!=null?_0x16e0x1c:{},_0x16e0x1d=true,_0x16e0x1e=_0x16e0x3[_0xe218[218]][_0xe218[219]](_0x16e0x1b),_0x16e0x1a=0;_0x16e0x1a<_0x16e0x1e;_0x16e0x1a++){var _0x16e0x1f=_0x16e0x3[_0xe218[218]][_0xe218[220]](_0x16e0x1b,_0x16e0x1a),_0x16e0x20=_0x16e0x1c;_0x16e0x3[_0xe218[221]](_0x16e0x1f)&&(_0x16e0x20={});_0x16e0x20=this[_0xe218[216]](_0x16e0x1f,_0x16e0x20);_0x16e0x20!=null?_0x16e0x3[_0xe218[223]](_0x16e0x1f,_0x16e0x20[_0xe218[168]](/\n/g,_0xe218[222])):_0x16e0x3[_0xe218[223]](_0x16e0x1f,null);_0x16e0x1d=_0x16e0x1d&&_0x16e0x20==null};_0x16e0x1e=_0xe218[224];if(_0x16e0x3[_0xe218[218]][_0xe218[102]](_0x16e0x1b)){switch(_0x16e0x1b[_0xe218[98]][_0xe218[280]]){case _0xe218[52]:_0x16e0x1e=this[_0xe218[225]](_0xe218[52])?_0xe218[224]:_0xe218[226]+_0xe218[227];break;case _0xe218[53]:_0x16e0x1e=this[_0xe218[225]](_0xe218[53])?_0xe218[224]:_0xe218[228]+_0xe218[227];break;case _0xe218[67]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[229])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[231])+_0xe218[227];break;case _0xe218[66]:;case _0xe218[68]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[229])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[231])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[232])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[233])+_0xe218[227];break;case _0xe218[74]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[229])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[231])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[234])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[235])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[236])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[237])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[238])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[233])+_0xe218[227];break;case _0xe218[82]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[239])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[235])+_0xe218[227];break;case _0xe218[76]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[240])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[241])+_0xe218[227];break;case _0xe218[60]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[242])!==_0xe218[243])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[244])+_0xe218[227];break;case _0xe218[64]:;case _0xe218[65]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[234])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[235])+_0xe218[227];break;case _0xe218[78]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[245])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[246])+_0xe218[227];break;case _0xe218[86]:;case _0xe218[87]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[247])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[248])+_0xe218[227];break;case _0xe218[79]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[249])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[250])+_0xe218[227];break;case _0xe218[69]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[251])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[252])+_0xe218[227];break;case _0xe218[70]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[253])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[254])+_0xe218[227];break;case _0xe218[71]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[255])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[256])+_0xe218[227];break;case _0xe218[75]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[257])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[258])+_0xe218[227];break;case _0xe218[84]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[259])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[260])+_0xe218[227];break;case _0xe218[60]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[261])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[262])+_0xe218[227];break;case _0xe218[59]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[263])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[262])+_0xe218[227];break;case _0xe218[61]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[264])!==_0xe218[243])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[265])+_0xe218[227];break;case _0xe218[63]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[266])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[267])+_0xe218[227];break;case _0xe218[80]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[268])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[269])+_0xe218[227];break;case _0xe218[81]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[268])!=_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[269])+_0xe218[227];break;case _0xe218[62]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[270])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[271])+_0xe218[227];break;case _0xe218[88]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[272])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[273])+_0xe218[227];break;case _0xe218[277]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[274])>0)?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[275])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[276])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[254])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[255])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[256])+_0xe218[227];break;case _0xe218[72]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[255])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[256])+_0xe218[227];break;case _0xe218[73]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[255])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[256])+_0xe218[227];_0x16e0x1e+=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[278])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[279])+_0xe218[227];break;case _0xe218[77]:_0x16e0x1e=(_0x16e0x1b[_0xe218[98]][_0xe218[230]](_0xe218[278])!==_0xe218[224])?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[279])+_0xe218[227];break}};if(_0x16e0x3[_0xe218[218]][_0xe218[95]](_0x16e0x1b)){var _0x16e0x21=_0x16e0x3[_0xe218[218]][_0xe218[282]](_0x16e0x1b[_0xe218[99]][_0xe218[281]]());switch(_0x16e0x21[_0xe218[98]][_0xe218[280]]){case _0xe218[66]:var _0x16e0x22=/^[0-9]{1,45}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;_0x16e0x1e=_0x16e0x1e+((_0x16e0x22[_0xe218[284]](String(_0x16e0x1b[_0xe218[283]]())))?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[285])+_0xe218[227]);break;case _0xe218[68]:var _0x16e0x22=/^[0-9]{1,45}$|^[-]{1}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;var _0x16e0x23=String(_0x16e0x1b[_0xe218[283]]());var _0x16e0x24=_0x16e0x23[_0xe218[287]](_0xe218[286]);_0x16e0x24[_0xe218[289]](function(_0x16e0x25){_0x16e0x1e=_0x16e0x1e+((_0x16e0x22[_0xe218[284]](_0x16e0x25))?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[288])+_0xe218[227])});break;case _0xe218[74]:var _0x16e0x22=/^(x|i|-)$/;var _0x16e0x23=String(_0x16e0x1b[_0xe218[283]]());_0x16e0x1e=_0x16e0x1e+((_0x16e0x22[_0xe218[284]](_0x16e0x23))?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[290])+_0xe218[227]);break;case _0xe218[79]:;case _0xe218[80]:;case _0xe218[81]:var _0x16e0x22=/^(true){1}$|^(false){1}$/;_0x16e0x1e=_0x16e0x1e+((_0x16e0x22[_0xe218[284]](String(_0x16e0x1b[_0xe218[283]]())))?_0xe218[224]:mxResources[_0xe218[143]](_0xe218[291])+_0xe218[227]);break}};_0x16e0x3[_0xe218[292]](_0x16e0x1b)&&!_0x16e0x1d&&(_0x16e0x1e=_0x16e0x1e+((mxResources[_0xe218[143]](_0x16e0x3[_0xe218[293]])||_0x16e0x3[_0xe218[293]])+_0xe218[227]));_0x16e0x1e=_0x16e0x3[_0xe218[218]][_0xe218[95]](_0x16e0x1b)?_0x16e0x1e+(_0x16e0x3[_0xe218[295]](_0x16e0x1b,_0x16e0x3[_0xe218[218]][_0xe218[294]](_0x16e0x1b,true),_0x16e0x3[_0xe218[218]][_0xe218[294]](_0x16e0x1b,false))||_0xe218[224]):_0x16e0x1e+(_0x16e0x3[_0xe218[296]](_0x16e0x1b)||_0xe218[224]);_0x16e0x1a=_0x16e0x3[_0xe218[297]](_0x16e0x1b,_0x16e0x1c);_0x16e0x1a!=null&&(_0x16e0x1e=_0x16e0x1e+_0x16e0x1a);_0x16e0x3[_0xe218[218]][_0xe218[298]](_0x16e0x1b)==null&&_0x16e0x3[_0xe218[120]][_0xe218[216]]();return _0x16e0x1e[_0xe218[174]]>0||!_0x16e0x1d?_0x16e0x1e:null};EditorUi[_0xe218[10]][_0xe218[225]]=function(_0x16e0x26){var _0x16e0x3=this[_0xe218[0]][_0xe218[4]];var _0x16e0x27=_0x16e0x3[_0xe218[299]]();var _0x16e0x28=0;_0x16e0x27[_0xe218[300]][_0xe218[289]](function(_0x16e0x29){if(_0x16e0x3[_0xe218[218]][_0xe218[102]](_0x16e0x29)&&_0x16e0x29[_0xe218[98]][_0xe218[280]]==_0x16e0x26){_0x16e0x28++}});return _0x16e0x28>1?false:true};EditorUi[_0xe218[10]][_0xe218[301]]=function(_0x16e0x18){var _0x16e0x1=this[_0xe218[0]];if(_0x16e0x18!=null){var _0x16e0x2a=this[_0xe218[216]]();if(_0x16e0x2a===null){var _0x16e0x14=mxUtils[_0xe218[166]](this[_0xe218[0]][_0xe218[165]]());try{if(useLocalStorage){if(localStorage[_0xe218[167]](_0x16e0x18)!=null&&!mxUtils[_0xe218[169]](mxResources[_0xe218[143]](_0xe218[168],[_0x16e0x18]))){return};localStorage[_0xe218[170]](_0x16e0x18,_0x16e0x14);this[_0xe218[0]][_0xe218[173]](mxResources[_0xe218[143]](_0xe218[171])+_0xe218[172]+ new Date())}else {console[_0xe218[103]](_0x16e0x14[_0xe218[174]]);console[_0xe218[103]](MAX_REQUEST_SIZE);if(_0x16e0x14[_0xe218[174]]<MAX_REQUEST_SIZE){_0x16e0x14=encodeURIComponent(_0x16e0x14);var _0x16e0x19= new XMLHttpRequest();_0x16e0x19[_0xe218[133]](_0xe218[203],SAVE_URL+this[_0xe218[0]][_0xe218[163]][_0xe218[191]],true);_0x16e0x19[_0xe218[178]](_0xe218[176],_0xe218[177]);_0x16e0x19[_0xe218[178]](_0xe218[179],_0xe218[180]+_0x16e0x1[_0xe218[163]][_0xe218[181]]);_0x16e0x19[_0xe218[182]]=function(_0x16e0x1a){if(_0x16e0x19[_0xe218[183]]===4){if(_0x16e0x19[_0xe218[184]]===200){_0x16e0x1[_0xe218[173]](_0xe218[302]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[205]]+_0xe218[206]+_0x16e0x19[_0xe218[184]]+_0xe218[172]+_0x16e0x19[_0xe218[196]]+_0xe218[44])}else {_0x16e0x1[_0xe218[173]](_0xe218[207]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[194]][0][_0xe218[159]])}}};_0x16e0x19[_0xe218[195]]=function(_0x16e0x1a){mxUtils[_0xe218[160]](_0x16e0x19[_0xe218[196]])};_0x16e0x19[_0xe218[198]](_0xe218[208]+_0x16e0x14+_0xe218[215]+_0x16e0x14)}else {mxUtils[_0xe218[160]](mxResources[_0xe218[143]](_0xe218[199]));mxUtils[_0xe218[200]](_0x16e0x14);return}};this[_0xe218[0]][_0xe218[156]]=_0x16e0x18;this[_0xe218[0]][_0xe218[153]]=false}catch(e){this[_0xe218[0]][_0xe218[173]](_0xe218[303])}}else {_0x16e0x1[_0xe218[173]](_0xe218[304])}}else {this[_0xe218[0]][_0xe218[173]](_0xe218[303])}};EditorUi[_0xe218[10]][_0xe218[239]]=function(_0x16e0x18){var _0x16e0x1=this[_0xe218[0]];if(_0x16e0x18!=null){try{var _0x16e0x19= new XMLHttpRequest();_0x16e0x19[_0xe218[133]](_0xe218[175],VARIABLE_URL,true);_0x16e0x19[_0xe218[178]](_0xe218[176],_0xe218[177]);_0x16e0x19[_0xe218[178]](_0xe218[179],_0xe218[180]+_0x16e0x1[_0xe218[163]][_0xe218[181]]);_0x16e0x19[_0xe218[182]]=function(_0x16e0x1a){if(_0x16e0x19[_0xe218[183]]===4){if(_0x16e0x19[_0xe218[184]]===201){_0x16e0x1[_0xe218[173]](_0xe218[305]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[306]]+_0xe218[206]+_0x16e0x19[_0xe218[184]]+_0xe218[172]+_0x16e0x19[_0xe218[196]]+_0xe218[44])}else {_0x16e0x1[_0xe218[173]](_0xe218[307]+JSON[_0xe218[188]](_0x16e0x19[_0xe218[187]])[_0xe218[194]][0][_0xe218[159]])}}};_0x16e0x19[_0xe218[195]]=function(_0x16e0x1a){mxUtils[_0xe218[160]](_0x16e0x19[_0xe218[196]])};_0x16e0x19[_0xe218[198]](_0xe218[308]+_0x16e0x18)}catch(e){this[_0xe218[0]][_0xe218[173]](_0xe218[309])}}else {this[_0xe218[0]][_0xe218[173]](_0xe218[309])}};EditorUi[_0xe218[10]][_0xe218[310]]=function(_0x16e0x2b){var _0x16e0x2c=(_0x16e0x2b!=null)?_0x16e0x2b:window[_0xe218[312]][_0xe218[311]];var _0x16e0x2d=(_0x16e0x2c[_0xe218[100]](_0xe218[313])>0)?1:0;for(var _0x16e0x2e in urlParams){if(_0x16e0x2d==0){_0x16e0x2c+=_0xe218[313]}else {_0x16e0x2c+=_0xe218[314]};_0x16e0x2c+=_0x16e0x2e+_0xe218[315]+urlParams[_0x16e0x2e];_0x16e0x2d++};return _0x16e0x2c};EditorUi[_0xe218[10]][_0xe218[140]]=function(){var _0x16e0x2f=this[_0xe218[12]][_0xe218[143]](_0xe218[316]);var _0x16e0x30=this[_0xe218[12]][_0xe218[143]](_0xe218[317]);var _0x16e0x31=this[_0xe218[0]][_0xe218[155]];var _0x16e0x32=function(){_0x16e0x2f[_0xe218[145]](_0x16e0x31[_0xe218[318]]());_0x16e0x30[_0xe218[145]](_0x16e0x31[_0xe218[319]]())};_0x16e0x31[_0xe218[33]](mxEvent.ADD,_0x16e0x32);_0x16e0x31[_0xe218[33]](mxEvent.UNDO,_0x16e0x32);_0x16e0x31[_0xe218[33]](mxEvent.REDO,_0x16e0x32);_0x16e0x31[_0xe218[33]](mxEvent.CLEAR,_0x16e0x32);_0x16e0x32()};EditorUi[_0xe218[10]][_0xe218[141]]=function(){var _0x16e0x33=mxUtils[_0xe218[20]](this,function(){var _0x16e0x3=this[_0xe218[0]][_0xe218[4]];var _0x16e0x34=!_0x16e0x3[_0xe218[320]]();var _0x16e0x35=false;var _0x16e0x36=false;var _0x16e0x37=_0x16e0x3[_0xe218[321]]();if(_0x16e0x37!=null){for(var _0x16e0x38=0;_0x16e0x38<_0x16e0x37[_0xe218[174]];_0x16e0x38++){var _0x16e0xb=_0x16e0x37[_0x16e0x38];if(_0x16e0x3[_0xe218[96]]()[_0xe218[95]](_0x16e0xb)){_0x16e0x36=true};if(_0x16e0x3[_0xe218[96]]()[_0xe218[102]](_0x16e0xb)){_0x16e0x35=true};if(_0x16e0x36&&_0x16e0x35){break}}};var _0x16e0x39=[_0xe218[146],_0xe218[147],_0xe218[322],_0xe218[323],_0xe218[324],_0xe218[325],_0xe218[6],_0xe218[326],_0xe218[327],_0xe218[328],_0xe218[329],_0xe218[330],_0xe218[331],_0xe218[332],_0xe218[333]];for(var _0x16e0x38=0;_0x16e0x38<_0x16e0x39[_0xe218[174]];_0x16e0x38++){this[_0xe218[12]][_0xe218[143]](_0x16e0x39[_0x16e0x38])[_0xe218[145]](_0x16e0x34)};this[_0xe218[12]][_0xe218[143]](_0xe218[334])[_0xe218[145]](_0x16e0x36);this[_0xe218[12]][_0xe218[143]](_0xe218[335])[_0xe218[145]](_0x16e0x35);this[_0xe218[12]][_0xe218[143]](_0xe218[336])[_0xe218[145]](_0x16e0x35);this[_0xe218[12]][_0xe218[143]](_0xe218[338])[_0xe218[145]](_0x16e0x3[_0xe218[337]]()>1);this[_0xe218[12]][_0xe218[143]](_0xe218[340])[_0xe218[145]](_0x16e0x3[_0xe218[337]]()==1&&_0x16e0x3[_0xe218[96]]()[_0xe218[219]](_0x16e0x3[_0xe218[339]]())>0);var _0x16e0x3a=_0x16e0x35&&_0x16e0x3[_0xe218[337]]()==1;this[_0xe218[12]][_0xe218[143]](_0xe218[341])[_0xe218[145]](_0x16e0x3a&&_0x16e0x3[_0xe218[96]]()[_0xe218[102]](_0x16e0x3[_0xe218[96]]()[_0xe218[298]](_0x16e0x3[_0xe218[339]]())));var _0x16e0x3b=[_0xe218[342],_0xe218[343],_0xe218[344],_0xe218[345],_0xe218[255],_0xe218[346],_0xe218[347],_0xe218[348],_0xe218[349]];for(var _0x16e0x38=0;_0x16e0x38<_0x16e0x3b[_0xe218[174]];_0x16e0x38++){this[_0xe218[13]][_0xe218[143]](_0x16e0x3b[_0x16e0x38])[_0xe218[145]](_0x16e0x34)};_0x16e0x3b=[_0xe218[350],_0xe218[351],_0xe218[352]];for(var _0x16e0x38=0;_0x16e0x38<_0x16e0x3b[_0xe218[174]];_0x16e0x38++){this[_0xe218[13]][_0xe218[143]](_0x16e0x3b[_0x16e0x38])[_0xe218[145]](_0x16e0x36)};this[_0xe218[12]][_0xe218[143]](_0xe218[353])[_0xe218[145]](_0x16e0x36);this[_0xe218[13]][_0xe218[143]](_0xe218[354])[_0xe218[145]](_0x16e0x3[_0xe218[337]]()>1);this[_0xe218[13]][_0xe218[143]](_0xe218[357])[_0xe218[145]](_0x16e0x35||(_0x16e0x36&&_0x16e0x3[_0xe218[356]](_0x16e0x3[_0xe218[120]][_0xe218[355]](_0x16e0x3[_0xe218[339]]()))));this[_0xe218[13]][_0xe218[143]](_0xe218[360])[_0xe218[145]](_0x16e0x3[_0xe218[358]]&&((_0x16e0x3[_0xe218[120]][_0xe218[359]]!=null)||(_0x16e0x3[_0xe218[337]]()==1&&_0x16e0x3[_0xe218[221]](_0x16e0x3[_0xe218[339]]()))));this[_0xe218[12]][_0xe218[143]](_0xe218[361])[_0xe218[145]](_0x16e0x3[_0xe218[120]][_0xe218[359]]!=null);this[_0xe218[12]][_0xe218[143]](_0xe218[362])[_0xe218[145]](_0x16e0x3[_0xe218[120]][_0xe218[359]]!=null);var _0x16e0x3c=_0x16e0x3[_0xe218[337]]()==1&&_0x16e0x3[_0xe218[221]](_0x16e0x3[_0xe218[339]]());this[_0xe218[12]][_0xe218[143]](_0xe218[363])[_0xe218[145]](_0x16e0x3c);this[_0xe218[12]][_0xe218[143]](_0xe218[364])[_0xe218[145]](_0x16e0x3c);this[_0xe218[12]][_0xe218[143]](_0xe218[365])[_0xe218[145]](_0x16e0x3c);this[_0xe218[12]][_0xe218[143]](_0xe218[366])[_0xe218[145]](_0x16e0x3[_0xe218[337]]()==1);this[_0xe218[12]][_0xe218[143]](_0xe218[368])[_0xe218[145]](_0x16e0x3[_0xe218[337]]()==1&&_0x16e0x3[_0xe218[367]](_0x16e0x3[_0xe218[339]]())!=null)});this[_0xe218[0]][_0xe218[4]][_0xe218[369]]()[_0xe218[33]](mxEvent.CHANGE,_0x16e0x33);_0x16e0x33()};EditorUi[_0xe218[10]][_0xe218[15]]=function(){var _0x16e0x3d=mxClient[_0xe218[29]]&&(document[_0xe218[30]]==null||document[_0xe218[30]]==5);var _0x16e0x3e=this[_0xe218[1]][_0xe218[370]];var _0x16e0x3f=this[_0xe218[1]][_0xe218[371]];if(this[_0xe218[1]]==document[_0xe218[21]]){_0x16e0x3e=document[_0xe218[21]][_0xe218[370]]||document[_0xe218[151]][_0xe218[370]];_0x16e0x3f=(_0x16e0x3d)?document[_0xe218[21]][_0xe218[371]]||document[_0xe218[151]][_0xe218[371]]:document[_0xe218[151]][_0xe218[371]]};var _0x16e0x40=Math[_0xe218[373]](0,Math[_0xe218[372]](this[_0xe218[138]],_0x16e0x3e-this[_0xe218[134]]-20));var _0x16e0x41=Math[_0xe218[373]](0,Math[_0xe218[372]](this[_0xe218[139]],_0x16e0x3f-this[_0xe218[135]]-this[_0xe218[136]]-this[_0xe218[137]]-this[_0xe218[134]]-1));this[_0xe218[23]][_0xe218[6]][_0xe218[374]]=this[_0xe218[135]]+_0xe218[375];this[_0xe218[25]][_0xe218[6]][_0xe218[376]]=this[_0xe218[135]]+_0xe218[375];this[_0xe218[25]][_0xe218[6]][_0xe218[374]]=this[_0xe218[136]]+_0xe218[375];var _0x16e0x42=this[_0xe218[135]]+this[_0xe218[136]];if(!mxClient[_0xe218[377]]){_0x16e0x42+=1};this[_0xe218[27]][_0xe218[6]][_0xe218[376]]=_0x16e0x42+_0xe218[375];this[_0xe218[27]][_0xe218[6]][_0xe218[378]]=_0x16e0x40+_0xe218[375];this[_0xe218[110]][_0xe218[6]][_0xe218[378]]=_0x16e0x40+_0xe218[375];this[_0xe218[110]][_0xe218[6]][_0xe218[374]]=_0x16e0x41+_0xe218[375];this[_0xe218[110]][_0xe218[6]][_0xe218[379]]=this[_0xe218[137]]+_0xe218[375];this[_0xe218[26]][_0xe218[6]][_0xe218[380]]=(_0x16e0x40+this[_0xe218[134]])+_0xe218[375];this[_0xe218[26]][_0xe218[6]][_0xe218[376]]=this[_0xe218[27]][_0xe218[6]][_0xe218[376]];this[_0xe218[28]][_0xe218[6]][_0xe218[374]]=this[_0xe218[137]]+_0xe218[375];this[_0xe218[28]][_0xe218[6]][_0xe218[381]]=_0xe218[382];this[_0xe218[383]][_0xe218[6]][_0xe218[376]]=this[_0xe218[27]][_0xe218[6]][_0xe218[376]];this[_0xe218[383]][_0xe218[6]][_0xe218[379]]=this[_0xe218[110]][_0xe218[6]][_0xe218[379]];this[_0xe218[383]][_0xe218[6]][_0xe218[380]]=_0x16e0x40+_0xe218[375];this[_0xe218[384]][_0xe218[6]][_0xe218[378]]=this[_0xe218[27]][_0xe218[6]][_0xe218[378]];this[_0xe218[384]][_0xe218[6]][_0xe218[379]]=(_0x16e0x41+this[_0xe218[137]])+_0xe218[375];if(_0x16e0x3d){this[_0xe218[23]][_0xe218[6]][_0xe218[378]]=_0x16e0x3e+_0xe218[375];this[_0xe218[25]][_0xe218[6]][_0xe218[378]]=this[_0xe218[23]][_0xe218[6]][_0xe218[378]];var _0x16e0x43=(_0x16e0x3f-_0x16e0x41-this[_0xe218[134]]-this[_0xe218[137]]-this[_0xe218[135]]-this[_0xe218[136]]);this[_0xe218[27]][_0xe218[6]][_0xe218[374]]=_0x16e0x43+_0xe218[375];this[_0xe218[26]][_0xe218[6]][_0xe218[378]]=(_0x16e0x3e-_0x16e0x40-this[_0xe218[134]])+_0xe218[375];var _0x16e0x44=(_0x16e0x3f-this[_0xe218[137]]-this[_0xe218[135]]-this[_0xe218[136]]);this[_0xe218[26]][_0xe218[6]][_0xe218[374]]=_0x16e0x44+_0xe218[375];this[_0xe218[28]][_0xe218[6]][_0xe218[378]]=this[_0xe218[23]][_0xe218[6]][_0xe218[378]];this[_0xe218[383]][_0xe218[6]][_0xe218[374]]=_0x16e0x44+_0xe218[375]}else {this[_0xe218[27]][_0xe218[6]][_0xe218[379]]=(_0x16e0x41+this[_0xe218[134]]+this[_0xe218[137]])+_0xe218[375];this[_0xe218[26]][_0xe218[6]][_0xe218[379]]=this[_0xe218[110]][_0xe218[6]][_0xe218[379]]}};EditorUi[_0xe218[10]][_0xe218[14]]=function(){this[_0xe218[23]]=this[_0xe218[386]](_0xe218[385]);this[_0xe218[25]]=this[_0xe218[386]](_0xe218[387]);this[_0xe218[27]]=this[_0xe218[386]](_0xe218[388]);this[_0xe218[110]]=this[_0xe218[386]](_0xe218[389]);this[_0xe218[26]]=this[_0xe218[386]](_0xe218[390]);this[_0xe218[28]]=this[_0xe218[386]](_0xe218[391]);this[_0xe218[383]]=this[_0xe218[386]](_0xe218[392]);this[_0xe218[384]]=this[_0xe218[386]](_0xe218[393]);this[_0xe218[23]][_0xe218[6]][_0xe218[376]]=_0xe218[394];this[_0xe218[23]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[23]][_0xe218[6]][_0xe218[395]]=_0xe218[394];this[_0xe218[25]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[25]][_0xe218[6]][_0xe218[395]]=_0xe218[394];this[_0xe218[27]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[110]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[26]][_0xe218[6]][_0xe218[395]]=_0xe218[394];this[_0xe218[28]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[28]][_0xe218[6]][_0xe218[395]]=_0xe218[394];this[_0xe218[28]][_0xe218[6]][_0xe218[379]]=_0xe218[394];this[_0xe218[384]][_0xe218[6]][_0xe218[380]]=_0xe218[394];this[_0xe218[384]][_0xe218[6]][_0xe218[374]]=this[_0xe218[134]]+_0xe218[375];this[_0xe218[383]][_0xe218[6]][_0xe218[378]]=this[_0xe218[134]]+_0xe218[375]};EditorUi[_0xe218[10]][_0xe218[16]]=function(){this[_0xe218[396]]=this[_0xe218[13]][_0xe218[398]](this[_0xe218[386]](_0xe218[397]));this[_0xe218[23]][_0xe218[399]](this[_0xe218[396]][_0xe218[1]]);this[_0xe218[400]]=this[_0xe218[402]](this[_0xe218[386]](_0xe218[401]));this[_0xe218[25]][_0xe218[399]](this[_0xe218[400]][_0xe218[1]]);this[_0xe218[403]]=this[_0xe218[404]](this[_0xe218[27]]);this[_0xe218[28]][_0xe218[399]](this[_0xe218[405]]());this[_0xe218[406]]=this[_0xe218[407]]();this[_0xe218[0]][_0xe218[33]](_0xe218[408],mxUtils[_0xe218[20]](this,function(){this[_0xe218[410]](this[_0xe218[0]][_0xe218[409]]())}));this[_0xe218[410]](this[_0xe218[0]][_0xe218[409]]());this[_0xe218[396]][_0xe218[1]][_0xe218[399]](this[_0xe218[406]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[23]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[25]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[27]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[110]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[26]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[28]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[383]]);this[_0xe218[1]][_0xe218[399]](this[_0xe218[384]]);this[_0xe218[411]](this[_0xe218[383]],true,0,mxUtils[_0xe218[20]](this,function(_0x16e0x45){this[_0xe218[138]]=_0x16e0x45;this[_0xe218[15]]();this[_0xe218[0]][_0xe218[4]][_0xe218[131]]();this[_0xe218[0]][_0xe218[111]][_0xe218[132]](false);this[_0xe218[0]][_0xe218[111]][_0xe218[111]][_0xe218[131]]()}));this[_0xe218[411]](this[_0xe218[384]],false,this[_0xe218[137]],mxUtils[_0xe218[20]](this,function(_0x16e0x45){this[_0xe218[139]]=_0x16e0x45;this[_0xe218[15]]();this[_0xe218[0]][_0xe218[111]][_0xe218[132]](false);this[_0xe218[0]][_0xe218[111]][_0xe218[111]][_0xe218[131]]()}))};EditorUi[_0xe218[10]][_0xe218[407]]=function(){var _0x16e0x2=document[_0xe218[413]](_0xe218[412]);_0x16e0x2[_0xe218[414]]=_0xe218[415];return _0x16e0x2};EditorUi[_0xe218[10]][_0xe218[407]]=function(){var _0x16e0x2=document[_0xe218[413]](_0xe218[412]);_0x16e0x2[_0xe218[414]]=_0xe218[415];return _0x16e0x2};EditorUi[_0xe218[10]][_0xe218[410]]=function(_0x16e0x45){this[_0xe218[406]][_0xe218[416]]=_0x16e0x45};EditorUi[_0xe218[10]][_0xe218[402]]=function(_0x16e0x2){return new Toolbar(this,_0x16e0x2)};EditorUi[_0xe218[10]][_0xe218[404]]=function(_0x16e0x2){return new Sidebar(this,_0x16e0x2)};EditorUi[_0xe218[10]][_0xe218[405]]=function(){return this[_0xe218[386]](_0xe218[417])};EditorUi[_0xe218[10]][_0xe218[386]]=function(_0x16e0x46){var _0x16e0x47=document[_0xe218[413]](_0xe218[418]);_0x16e0x47[_0xe218[414]]=_0x16e0x46;return _0x16e0x47};EditorUi[_0xe218[10]][_0xe218[419]]=function(_0x16e0x46){var _0x16e0x47=document[_0xe218[413]](_0x16e0x46);return _0x16e0x47};EditorUi[_0xe218[10]][_0xe218[420]]=function(_0x16e0x46){var _0x16e0x47=document[_0xe218[413]](_0xe218[421]);_0x16e0x47[_0xe218[414]]=_0x16e0x46;return _0x16e0x47};EditorUi[_0xe218[10]][_0xe218[411]]=function(_0x16e0x47,_0x16e0x48,_0x16e0x49,_0x16e0x4a){var _0x16e0x4b=null;var _0x16e0x4c=null;function _0x16e0x4d(){return parseInt(((_0x16e0x48)?_0x16e0x47[_0xe218[6]][_0xe218[380]]:_0x16e0x47[_0xe218[6]][_0xe218[379]]))}function _0x16e0x4e(_0x16e0x6){if(_0x16e0x4b!=null){var _0x16e0x4f= new mxPoint(mxEvent[_0xe218[422]](_0x16e0x6),mxEvent[_0xe218[423]](_0x16e0x6));_0x16e0x4a(Math[_0xe218[373]](0,_0x16e0x4c+((_0x16e0x48)?(_0x16e0x4f[_0xe218[424]]-_0x16e0x4b[_0xe218[424]]):(_0x16e0x4b[_0xe218[425]]-_0x16e0x4f[_0xe218[425]]))-_0x16e0x49));mxEvent[_0xe218[105]](_0x16e0x6)}}function _0x16e0x50(_0x16e0x6){_0x16e0x4e(_0x16e0x6);_0x16e0x4b=null;_0x16e0x4c=null}mxEvent[_0xe218[113]](_0x16e0x47,function(_0x16e0x6){_0x16e0x4b= new mxPoint(mxEvent[_0xe218[422]](_0x16e0x6),mxEvent[_0xe218[423]](_0x16e0x6));_0x16e0x4c=_0x16e0x4d();mxEvent[_0xe218[105]](_0x16e0x6)});mxEvent[_0xe218[33]](document,_0xe218[426],_0x16e0x4e);mxEvent[_0xe218[33]](document,_0xe218[427],_0x16e0x4e);mxEvent[_0xe218[33]](document,_0xe218[428],_0x16e0x50);mxEvent[_0xe218[33]](document,_0xe218[429],_0x16e0x50)};EditorUi[_0xe218[10]][_0xe218[104]]=function(_0x16e0x47,_0x16e0x3e,_0x16e0x3f,_0x16e0x51,_0x16e0x52,_0x16e0x53){this[_0xe218[430]]();this[_0xe218[431]]= new Dialog(this,_0x16e0x47,_0x16e0x3e,(mxClient[_0xe218[432]])?_0x16e0x3f-12:_0x16e0x3f,_0x16e0x51,_0x16e0x52,_0x16e0x53)};EditorUi[_0xe218[10]][_0xe218[430]]=function(){if(this[_0xe218[431]]!=null){this[_0xe218[431]][_0xe218[433]]();this[_0xe218[431]]=null;this[_0xe218[0]][_0xe218[4]][_0xe218[1]][_0xe218[47]]()}};EditorUi[_0xe218[10]][_0xe218[434]]=function(_0x16e0x54){if(!_0x16e0x54&&this[_0xe218[0]][_0xe218[156]]!=null){this[_0xe218[202]](this[_0xe218[0]][_0xe218[435]]())}else {this[_0xe218[104]]( new SaveDialog(this)[_0xe218[1]],300,100,true,true)}};EditorUi[_0xe218[10]][_0xe218[436]]=function(_0x16e0x54){if(!_0x16e0x54&&this[_0xe218[0]][_0xe218[156]]!=null){this[_0xe218[301]](this[_0xe218[0]][_0xe218[435]]())}else {}};EditorUi[_0xe218[10]][_0xe218[437]]=function(_0x16e0x55,_0x16e0x56,_0x16e0x57){var _0x16e0x3=this[_0xe218[0]][_0xe218[4]];var _0x16e0xb=_0x16e0x3[_0xe218[339]]();_0x16e0x56=this[_0xe218[438]]!=null?this[_0xe218[438]]:_0x16e0x56;_0x16e0x3[_0xe218[96]]()[_0xe218[439]]();try{_0x16e0x55[_0xe218[440]](_0x16e0x3[_0xe218[299]](),_0x16e0xb)}catch(e){throw e}finally{if(_0x16e0x56&&navigator[_0xe218[442]][_0xe218[100]](_0xe218[441])<0){var _0x16e0x58= new mxMorphing(_0x16e0x3);_0x16e0x58[_0xe218[33]](mxEvent.DONE,mxUtils[_0xe218[20]](this,function(){_0x16e0x3[_0xe218[96]]()[_0xe218[443]]()}));_0x16e0x58[_0xe218[444]]()}else {_0x16e0x3[_0xe218[96]]()[_0xe218[443]]()}}};EditorUi[_0xe218[10]][_0xe218[128]]=function(_0x16e0x1){var _0x16e0x3=this[_0xe218[0]][_0xe218[4]];var _0x16e0xf= new mxKeyHandler(_0x16e0x3);_0x16e0xf[_0xe218[445]]=function(_0x16e0x6){return mxEvent[_0xe218[445]](_0x16e0x6)||(mxClient[_0xe218[446]]&&_0x16e0x6[_0xe218[447]])};function _0x16e0x59(_0x16e0x5a){if(!_0x16e0x3[_0xe218[320]]()){var _0x16e0x49=0;var _0x16e0x5b=0;if(_0x16e0x5a==37){_0x16e0x49= -1}else {if(_0x16e0x5a==38){_0x16e0x5b= -1}else {if(_0x16e0x5a==39){_0x16e0x49=1}else {if(_0x16e0x5a==40){_0x16e0x5b=1}}}};_0x16e0x3[_0xe218[448]](_0x16e0x3[_0xe218[321]](),_0x16e0x49,_0x16e0x5b);_0x16e0x3[_0xe218[449]](_0x16e0x3[_0xe218[339]]())}}var _0x16e0x5c=mxUtils[_0xe218[20]](this,function(_0x16e0x5d,_0x16e0x5e,_0x16e0x2e,_0x16e0x5f){var _0x16e0x60=this[_0xe218[12]][_0xe218[143]](_0x16e0x2e);if(_0x16e0x60!=null){var _0x16e0x1f=function(){if(_0x16e0x60[_0xe218[450]]){_0x16e0x60[_0xe218[451]]()}};if(_0x16e0x5e){if(_0x16e0x5f){_0x16e0xf[_0xe218[452]](_0x16e0x5d,_0x16e0x1f)}else {_0x16e0xf[_0xe218[453]](_0x16e0x5d,_0x16e0x1f)}}else {if(_0x16e0x5f){_0x16e0xf[_0xe218[454]](_0x16e0x5d,_0x16e0x1f)}else {_0x16e0xf[_0xe218[455]](_0x16e0x5d,_0x16e0x1f)}}}});var _0x16e0x61=this;var _0x16e0x62=_0x16e0xf[_0xe218[456]];_0x16e0xf[_0xe218[456]]=function(_0x16e0x6){_0x16e0x61[_0xe218[430]]();_0x16e0x62[_0xe218[50]](this,arguments)};_0x16e0xf[_0xe218[457]]=function(){};_0x16e0xf[_0xe218[455]](8,function(){_0x16e0x3[_0xe218[458]](true)});_0x16e0xf[_0xe218[455]](13,function(){_0x16e0x3[_0xe218[458]](false)});_0x16e0xf[_0xe218[455]](33,function(){_0x16e0x3[_0xe218[362]]()});_0x16e0xf[_0xe218[455]](34,function(){_0x16e0x3[_0xe218[363]]()});_0x16e0xf[_0xe218[455]](36,function(){_0x16e0x3[_0xe218[361]]()});_0x16e0xf[_0xe218[455]](35,function(){_0x16e0x3[_0xe218[15]]()});_0x16e0xf[_0xe218[455]](37,function(){_0x16e0x59(37)});_0x16e0xf[_0xe218[455]](38,function(){_0x16e0x59(38)});_0x16e0xf[_0xe218[455]](39,function(){_0x16e0x59(39)});_0x16e0xf[_0xe218[455]](40,function(){_0x16e0x59(40)});_0x16e0xf[_0xe218[455]](113,function(){_0x16e0x3[_0xe218[101]]()});_0x16e0x5c(46,false,_0xe218[322]);_0x16e0x5c(82,true,_0xe218[332]);_0x16e0x5c(83,true,_0xe218[202]);_0x16e0x5c(83,true,_0xe218[210],true);_0x16e0x5c(107,false,_0xe218[459]);_0x16e0x5c(109,false,_0xe218[460]);_0x16e0x5c(65,true,_0xe218[461]);_0x16e0x5c(86,true,_0xe218[462],true);_0x16e0x5c(69,true,_0xe218[463],true);_0x16e0x5c(69,true,_0xe218[464]);_0x16e0x5c(66,true,_0xe218[328]);_0x16e0x5c(70,true,_0xe218[327]);_0x16e0x5c(68,true,_0xe218[323]);_0x16e0x5c(90,true,_0xe218[316]);_0x16e0x5c(89,true,_0xe218[317]);_0x16e0x5c(88,true,_0xe218[146]);_0x16e0x5c(67,true,_0xe218[147]);_0x16e0x5c(81,true,_0xe218[465]);_0x16e0x5c(86,true,_0xe218[142]);_0x16e0x5c(71,true,_0xe218[338]);_0x16e0x5c(71,true,_0xe218[466],true);_0x16e0x5c(85,true,_0xe218[340]);_0x16e0x5c(112,false,_0xe218[467]);_0x16e0x5c(80,true,_0xe218[301],true);return _0x16e0xf};EditorUi[_0xe218[10]][_0xe218[56]]=function(_0x16e0x3,_0x16e0x37,_0x16e0x63,_0x16e0x64){for(var _0x16e0x38=0;_0x16e0x38<_0x16e0x37[_0xe218[174]];_0x16e0x38++){_0x16e0x3[_0xe218[470]]( new mxMultiplicity(true,_0x16e0x37[_0x16e0x38],null,null,_0x16e0x63[_0x16e0x38][0],_0x16e0x63[_0x16e0x38][1],null,mxResources[_0xe218[143]](_0x16e0x37[_0x16e0x38])+mxResources[_0xe218[143]](_0xe218[468])+_0x16e0x63[_0x16e0x38][0]+mxResources[_0xe218[143]](_0xe218[469]),null));_0x16e0x3[_0xe218[470]]( new mxMultiplicity(false,_0x16e0x37[_0x16e0x38],null,null,_0x16e0x64[_0x16e0x38][0],_0x16e0x64[_0x16e0x38][1],null,mxResources[_0xe218[143]](_0x16e0x37[_0x16e0x38])+mxResources[_0xe218[143]](_0xe218[468])+_0x16e0x64[_0x16e0x38][0]+mxResources[_0xe218[143]](_0xe218[471]),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 8dbf92b..08351fe 100644 --- a/public/assets/plugins/square/js/Graph.js +++ b/public/assets/plugins/square/js/Graph.js @@ -1 +1 @@ -var _0xc791=["\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(_0x17f3x1,_0x17f3x2,_0x17f3x3,_0x17f3x4){mxGraph[_0xc791[0]](this,_0x17f3x1,_0x17f3x2,_0x17f3x3,_0x17f3x4);this[_0xc791[1]](true);this[_0xc791[2]](false);this[_0xc791[3]](true);this[_0xc791[4]](!mxClient.IS_TOUCH);this[_0xc791[5]](false);this[_0xc791[6]](false);this[_0xc791[7]]=true;this[_0xc791[8]]=false;this[_0xc791[9]]=false;this[_0xc791[11]][_0xc791[10]]=true;this[_0xc791[12]](false);this[_0xc791[11]][_0xc791[13]](false);this[_0xc791[11]][_0xc791[14]]=function(){return mxConnectionHandler[_0xc791[16]][_0xc791[14]][_0xc791[15]](this,arguments)&&urlParams[_0xc791[17]]!=_0xc791[18]};this[_0xc791[19]]=_0xc791[20];if(_0x17f3x4==null){this[_0xc791[21]]()};var _0x17f3x5= new mxRubberband(this);this[_0xc791[22]]=function(){return _0x17f3x5};this[_0xc791[29]][_0xc791[28]](mxEvent.PAN_START,mxUtils[_0xc791[27]](this,function(){this[_0xc791[25]][_0xc791[24]][_0xc791[23]]=_0xc791[26]}));this[_0xc791[29]][_0xc791[28]](mxEvent.PAN_END,mxUtils[_0xc791[27]](this,function(){this[_0xc791[25]][_0xc791[24]][_0xc791[23]]=_0xc791[30]}));this[_0xc791[31]]=function(_0x17f3x6){var _0x17f3x7=this[_0xc791[33]][_0xc791[32]](_0x17f3x6);var _0x17f3x8=(_0x17f3x7!=null)?_0x17f3x7[_0xc791[24]]:this[_0xc791[34]](_0x17f3x6);return _0x17f3x8[_0xc791[35]]==_0xc791[36]||_0x17f3x8[_0xc791[37]]==_0xc791[38]};this[_0xc791[40]][_0xc791[39]]=function(_0x17f3x7){var _0x17f3x9=mxCellRenderer[_0xc791[16]][_0xc791[39]][_0xc791[15]](this,arguments);if(_0x17f3x7[_0xc791[24]][_0xc791[37]]==_0xc791[38]&&_0x17f3x7[_0xc791[24]][_0xc791[35]]!=1){_0x17f3x9=mxUtils[_0xc791[41]](_0x17f3x9,false)};return _0x17f3x9};this[_0xc791[42]]=function(_0x17f3x6){return false};this[_0xc791[11]][_0xc791[43]]=16;var _0x17f3xa=this[_0xc791[11]][_0xc791[44]];this[_0xc791[11]][_0xc791[44]]=function(_0x17f3xb,_0x17f3x7){if(_0x17f3x7==null){if(!this[_0xc791[46]][_0xc791[29]][_0xc791[45]]){_0x17f3x5[_0xc791[49]](_0x17f3xb[_0xc791[47]](),_0x17f3xb[_0xc791[48]]());this[_0xc791[46]][_0xc791[29]][_0xc791[50]]=false}}else {if(tapAndHoldStartsConnection){_0x17f3xa[_0xc791[15]](this,arguments)}else {if(this[_0xc791[46]][_0xc791[52]](_0x17f3x7[_0xc791[51]])&&this[_0xc791[46]][_0xc791[53]]()>1){this[_0xc791[46]][_0xc791[54]](_0x17f3x7[_0xc791[51]])}}}};if(touchStyle){this[_0xc791[55]]()}};mxUtils[_0xc791[56]](Graph,mxGraph);Graph[_0xc791[16]][_0xc791[57]]=null;Graph[_0xc791[16]][_0xc791[58]]=null;Graph[_0xc791[16]][_0xc791[21]]=function(){var _0x17f3xc=mxUtils[_0xc791[61]](STYLE_PATH+_0xc791[60])[_0xc791[59]]();var _0x17f3xd= new mxCodec(_0x17f3xc[_0xc791[62]]);_0x17f3xd[_0xc791[64]](_0x17f3xc,this[_0xc791[63]]())};Graph[_0xc791[16]][_0xc791[65]]=function(_0x17f3xe){if(_0x17f3xe!=null){var _0x17f3x7=this[_0xc791[33]][_0xc791[32]](_0x17f3xe);var _0x17f3x8=(_0x17f3x7!=null)?_0x17f3x7[_0xc791[24]]:this[_0xc791[34]](_0x17f3xe);if(_0x17f3x8!=null){var _0x17f3xf=mxUtils[_0xc791[66]](_0x17f3x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x17f3x10=(_0x17f3xf==mxConstants[_0xc791[67]])?mxConstants[_0xc791[68]]:mxConstants[_0xc791[67]];this[_0xc791[69]](mxConstants.STYLE_ELBOW,_0x17f3x10,[_0x17f3xe])}}};Graph[_0xc791[16]][_0xc791[70]]=function(_0x17f3x6){if(_0x17f3x6!=null&&this[_0xc791[72]]()[_0xc791[71]](_0x17f3x6)){var _0x17f3x11=this[_0xc791[72]]()[_0xc791[73]]([_0x17f3x6])[0];if(_0x17f3x11[_0xc791[74]]!=null){_0x17f3x11[_0xc791[74]][_0xc791[75]]=null};var _0x17f3x8=_0x17f3x11[_0xc791[76]]();_0x17f3x8=mxUtils[_0xc791[77]](_0x17f3x8,mxConstants.STYLE_ENTRY_X,null);_0x17f3x8=mxUtils[_0xc791[77]](_0x17f3x8,mxConstants.STYLE_ENTRY_Y,null);_0x17f3x8=mxUtils[_0xc791[77]](_0x17f3x8,mxConstants.STYLE_EXIT_X,null);_0x17f3x8=mxUtils[_0xc791[77]](_0x17f3x8,mxConstants.STYLE_EXIT_Y,null);_0x17f3x11[_0xc791[77]](_0x17f3x8);this[_0xc791[11]][_0xc791[78]]=function(_0x17f3xb){return this[_0xc791[46]][_0xc791[33]][_0xc791[79]](_0x17f3x11)};this[_0xc791[11]][_0xc791[80]]=function(){return this[_0xc791[46]][_0xc791[73]]([_0x17f3x11])[0]}}};Graph[_0xc791[16]][_0xc791[81]]=function(_0x17f3x6){return this[_0xc791[82]]&&this[_0xc791[83]](_0x17f3x6)};Graph[_0xc791[16]][_0xc791[84]]=function(_0x17f3x6){return this[_0xc791[83]](_0x17f3x6)};Graph[_0xc791[16]][_0xc791[85]]=function(){var _0x17f3x12=mxGraph[_0xc791[16]][_0xc791[85]][_0xc791[15]](this,arguments);_0x17f3x12[_0xc791[77]](_0xc791[86]);return _0x17f3x12};Graph[_0xc791[16]][_0xc791[87]]=function(_0x17f3x6){var _0x17f3x13=_0xc791[88];if(this[_0xc791[72]]()[_0xc791[89]](_0x17f3x6)){_0x17f3x13+=mxResources[_0xc791[93]](_0xc791[90]+_0x17f3x6[_0xc791[92]][_0xc791[91]])||_0xc791[88]}else {if(this[_0xc791[72]]()[_0xc791[71]](_0x17f3x6)){_0x17f3x13=mxGraph[_0xc791[16]][_0xc791[87]][_0xc791[15]](this,arguments)}};return _0x17f3x13};Graph[_0xc791[16]][_0xc791[94]]=function(_0x17f3x6){if(_0x17f3x6[_0xc791[92]]!=null&& typeof (_0x17f3x6[_0xc791[92]])==_0xc791[95]){return _0x17f3x6[_0xc791[92]][_0xc791[97]](_0xc791[96])};return mxGraph[_0xc791[16]][_0xc791[94]][_0xc791[15]](this,arguments)};Graph[_0xc791[16]][_0xc791[98]]=function(_0x17f3x6,_0x17f3x10,_0x17f3x14){if(_0x17f3x6[_0xc791[92]]!=null&& typeof (_0x17f3x6[_0xc791[92]])==_0xc791[95]){var _0x17f3x15=_0x17f3x6[_0xc791[92]][_0xc791[99]](true);_0x17f3x15[_0xc791[100]](_0xc791[96],_0x17f3x10);_0x17f3x10=_0x17f3x15};mxGraph[_0xc791[16]][_0xc791[98]][_0xc791[15]](this,arguments)};Graph[_0xc791[16]][_0xc791[101]]=function(_0x17f3x6,_0x17f3x16){var _0x17f3x10=null;if(_0x17f3x6[_0xc791[92]]!=null&& typeof (_0x17f3x6[_0xc791[92]])==_0xc791[95]){_0x17f3x10=_0x17f3x6[_0xc791[92]][_0xc791[99]](true)}else {var _0x17f3x17=mxUtils[_0xc791[102]]();_0x17f3x10=_0x17f3x17[_0xc791[104]](_0xc791[103]);_0x17f3x10[_0xc791[100]](_0xc791[96],_0x17f3x6[_0xc791[92]])};if(_0x17f3x16!=null&&_0x17f3x16[_0xc791[105]]>0){_0x17f3x10[_0xc791[100]](_0xc791[106],_0x17f3x16)}else {_0x17f3x10[_0xc791[107]](_0xc791[106])};this[_0xc791[109]][_0xc791[108]](_0x17f3x6,_0x17f3x10)};Graph[_0xc791[16]][_0xc791[110]]=function(_0x17f3x6){if(_0x17f3x6[_0xc791[92]]!=null&& typeof (_0x17f3x6[_0xc791[92]])==_0xc791[95]){return _0x17f3x6[_0xc791[92]][_0xc791[97]](_0xc791[106])};return null};Graph[_0xc791[16]][_0xc791[55]]=function(){this[_0xc791[11]][_0xc791[112]][_0xc791[111]]=function(){return this[_0xc791[46]][_0xc791[11]][_0xc791[113]]!=null};this[_0xc791[28]](mxEvent.START_EDITING,function(_0x17f3x18,_0x17f3x19){this[_0xc791[29]][_0xc791[114]]()});var _0x17f3x1a=false;var _0x17f3x1b=null;this[_0xc791[115]]=function(_0x17f3xb){mxGraph[_0xc791[16]][_0xc791[115]][_0xc791[15]](this,arguments);if(_0x17f3xb[_0xc791[32]]()==null){var _0x17f3x6=this[_0xc791[118]](_0x17f3xb[_0xc791[116]],_0x17f3xb[_0xc791[117]]);if(this[_0xc791[72]]()[_0xc791[71]](_0x17f3x6)){_0x17f3xb[_0xc791[119]]=this[_0xc791[33]][_0xc791[32]](_0x17f3x6);if(_0x17f3xb[_0xc791[119]]!=null&&_0x17f3xb[_0xc791[119]][_0xc791[120]]!=null){this[_0xc791[25]][_0xc791[24]][_0xc791[23]]=_0x17f3xb[_0xc791[119]][_0xc791[120]][_0xc791[121]][_0xc791[24]][_0xc791[23]]}}};if(_0x17f3xb[_0xc791[32]]()==null){this[_0xc791[25]][_0xc791[24]][_0xc791[23]]=_0xc791[30]}};this[_0xc791[122]]=function(_0x17f3x1c,_0x17f3xb,_0x17f3x18){if(_0x17f3x1c==mxEvent[_0xc791[123]]){if(!this[_0xc791[29]][_0xc791[124]]()){_0x17f3x1b=_0x17f3xb[_0xc791[125]]();_0x17f3x1a=(_0x17f3x1b!=null)?this[_0xc791[52]](_0x17f3x1b):this[_0xc791[126]]()}else {_0x17f3x1a=false;_0x17f3x1b=null}}else {if(_0x17f3x1c==mxEvent[_0xc791[127]]){if(_0x17f3x1a&&!this[_0xc791[128]]()){if(!this[_0xc791[29]][_0xc791[124]]()){var _0x17f3x1d=mxEvent[_0xc791[130]](_0x17f3xb[_0xc791[129]]());var _0x17f3x1e=mxEvent[_0xc791[131]](_0x17f3xb[_0xc791[129]]());this[_0xc791[29]][_0xc791[132]](_0x17f3x1d+16,_0x17f3x1e,_0x17f3x1b,_0x17f3xb[_0xc791[129]]())};_0x17f3x1a=false;_0x17f3x1b=null;_0x17f3xb[_0xc791[133]]();return};_0x17f3x1a=false;_0x17f3x1b=null}};mxGraph[_0xc791[16]][_0xc791[122]][_0xc791[15]](this,arguments);if(_0x17f3x1c==mxEvent[_0xc791[134]]&&_0x17f3xb[_0xc791[135]]()){_0x17f3x1a=false;_0x17f3x1b=null}}};(function(){mxVertexHandler[_0xc791[16]][_0xc791[136]]=true;mxText[_0xc791[16]][_0xc791[137]]=5;mxText[_0xc791[16]][_0xc791[138]]=1;if(touchStyle){mxConstants[_0xc791[139]]=16;mxConstants[_0xc791[140]]=7;if(mxClient[_0xc791[141]]){mxVertexHandler[_0xc791[16]][_0xc791[142]]=4;mxEdgeHandler[_0xc791[16]][_0xc791[142]]=6;Graph[_0xc791[16]][_0xc791[142]]=14;Graph[_0xc791[16]][_0xc791[143]]=20;mxPanningHandler[_0xc791[16]][_0xc791[144]]=false;mxPanningHandler[_0xc791[16]][_0xc791[145]]=true;mxPanningHandler[_0xc791[16]][_0xc791[146]]=function(_0x17f3xb){var _0x17f3x19=_0x17f3xb[_0xc791[129]]();return (this[_0xc791[145]]&&(this[_0xc791[147]]||_0x17f3xb[_0xc791[32]]()==null))||(mxEvent[_0xc791[148]](_0x17f3x19)&&mxEvent[_0xc791[149]](_0x17f3x19))||(this[_0xc791[150]]&&mxEvent[_0xc791[151]](_0x17f3x19))}};var _0x17f3x1f=mxGraphHandler[_0xc791[16]][_0xc791[152]];mxGraphHandler[_0xc791[16]][_0xc791[152]]=function(_0x17f3x18,_0x17f3xb){_0x17f3x1f[_0xc791[15]](this,arguments);if(this[_0xc791[46]][_0xc791[52]](_0x17f3xb[_0xc791[125]]())&&this[_0xc791[46]][_0xc791[53]]()>1){this[_0xc791[153]]=false}};Graph[_0xc791[16]][_0xc791[154]]=function(_0x17f3x1){this[_0xc791[155]]= new mxTooltipHandler(this);this[_0xc791[155]][_0xc791[156]](false);this[_0xc791[157]]= new mxSelectionCellsHandler(this);this[_0xc791[29]]= new mxPanningHandler(this);this[_0xc791[29]][_0xc791[158]]=false;this[_0xc791[11]]= new mxConnectionHandler(this);this[_0xc791[11]][_0xc791[156]](false);this[_0xc791[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0xc791[16]][_0xc791[160]]=function(_0x17f3xe,_0x17f3x20){if(touchStyle&&_0x17f3x20!=null){this[_0xc791[46]][_0xc791[161]](_0x17f3x20)}else {this[_0xc791[46]][_0xc791[161]](_0x17f3xe)}};var _0x17f3x21=mxGraph[_0xc791[16]][_0xc791[162]];Graph[_0xc791[16]][_0xc791[162]]=function(_0x17f3x19,_0x17f3x6){if(_0x17f3x6==null){var _0x17f3x22=mxUtils[_0xc791[163]](this[_0xc791[25]],mxEvent[_0xc791[130]](_0x17f3x19),mxEvent[_0xc791[131]](_0x17f3x19));_0x17f3x6=this[_0xc791[118]](_0x17f3x22[_0xc791[164]],_0x17f3x22[_0xc791[165]])};_0x17f3x21[_0xc791[0]](this,_0x17f3x19,_0x17f3x6)};var _0x17f3x23= new mxImage(IMAGE_PATH+_0xc791[166],16,16);mxVertexHandler[_0xc791[16]][_0xc791[167]]=_0x17f3x23;mxEdgeHandler[_0xc791[16]][_0xc791[167]]=_0x17f3x23;mxOutline[_0xc791[16]][_0xc791[168]]=_0x17f3x23; new Image()[_0xc791[169]]=_0x17f3x23[_0xc791[169]];var _0x17f3x24=IMAGE_PATH+_0xc791[170];var _0x17f3x25=mxVertexHandler[_0xc791[16]][_0xc791[171]];mxVertexHandler[_0xc791[16]][_0xc791[171]]=function(){_0x17f3x25[_0xc791[15]](this,arguments);if(showConnectorImg&&this[_0xc791[46]][_0xc791[11]][_0xc791[111]]()&&this[_0xc791[46]][_0xc791[172]](this[_0xc791[119]][_0xc791[51]])&&!this[_0xc791[46]][_0xc791[84]](this[_0xc791[119]][_0xc791[51]])&&this[_0xc791[46]][_0xc791[53]]()==1){this[_0xc791[173]]=mxUtils[_0xc791[174]](_0x17f3x24);this[_0xc791[173]][_0xc791[24]][_0xc791[23]]=_0xc791[26];this[_0xc791[173]][_0xc791[24]][_0xc791[175]]=_0xc791[176];this[_0xc791[173]][_0xc791[24]][_0xc791[177]]=_0xc791[176];this[_0xc791[173]][_0xc791[24]][_0xc791[178]]=_0xc791[179];if(!mxClient[_0xc791[141]]){this[_0xc791[173]][_0xc791[100]](_0xc791[180],mxResources[_0xc791[93]](_0xc791[17]));mxEvent[_0xc791[181]](this[_0xc791[173]],this[_0xc791[46]],this[_0xc791[119]])};this[_0xc791[173]][_0xc791[24]][_0xc791[182]]=_0xc791[183];mxEvent[_0xc791[185]](this[_0xc791[173]],mxUtils[_0xc791[27]](this,function(_0x17f3x19){this[_0xc791[46]][_0xc791[29]][_0xc791[114]]();var _0x17f3x22=mxUtils[_0xc791[163]](this[_0xc791[46]][_0xc791[25]],mxEvent[_0xc791[130]](_0x17f3x19),mxEvent[_0xc791[131]](_0x17f3x19));this[_0xc791[46]][_0xc791[11]][_0xc791[49]](this[_0xc791[119]],_0x17f3x22[_0xc791[164]],_0x17f3x22[_0xc791[165]]);this[_0xc791[46]][_0xc791[184]]=true;mxEvent[_0xc791[133]](_0x17f3x19)}));this[_0xc791[46]][_0xc791[25]][_0xc791[186]](this[_0xc791[173]])};this[_0xc791[187]]()};var _0x17f3x26=mxVertexHandler[_0xc791[16]][_0xc791[188]];mxVertexHandler[_0xc791[16]][_0xc791[188]]=function(){_0x17f3x26[_0xc791[15]](this);this[_0xc791[187]]()};mxVertexHandler[_0xc791[16]][_0xc791[187]]=function(){if(this[_0xc791[119]]!=null&&this[_0xc791[173]]!=null){if(mxVertexHandler[_0xc791[16]][_0xc791[189]]){this[_0xc791[173]][_0xc791[24]][_0xc791[190]]=(this[_0xc791[119]][_0xc791[164]]+this[_0xc791[119]][_0xc791[175]]-this[_0xc791[173]][_0xc791[191]]/2)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[193]]=(this[_0xc791[119]][_0xc791[165]]-this[_0xc791[173]][_0xc791[194]]/2)+_0xc791[192]}else {this[_0xc791[173]][_0xc791[24]][_0xc791[190]]=(this[_0xc791[119]][_0xc791[164]]+this[_0xc791[119]][_0xc791[175]]+mxConstants[_0xc791[139]]/2+4)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[193]]=(this[_0xc791[119]][_0xc791[165]]+(this[_0xc791[119]][_0xc791[177]]-this[_0xc791[173]][_0xc791[194]])/2)+_0xc791[192]}}};var _0x17f3x27=mxVertexHandler[_0xc791[16]][_0xc791[195]];mxVertexHandler[_0xc791[16]][_0xc791[195]]=function(_0x17f3x18,_0x17f3xb){_0x17f3x27[_0xc791[15]](this,arguments);if(this[_0xc791[173]]!=null){this[_0xc791[173]][_0xc791[197]][_0xc791[196]](this[_0xc791[173]]);this[_0xc791[173]]=null}}; new Image()[_0xc791[169]]=_0x17f3x24}else {var _0x17f3x28= new mxImage(IMAGE_PATH+_0xc791[198],15,15);mxConnectionHandler[_0xc791[16]][_0xc791[199]]=_0x17f3x28; new Image()[_0xc791[169]]=_0x17f3x28[_0xc791[169]];if(urlParams[_0xc791[17]]==_0xc791[18]){var _0x17f3x28= new mxImage(IMAGE_PATH+_0xc791[198],15,15);var _0x17f3x25=mxVertexHandler[_0xc791[16]][_0xc791[171]];mxVertexHandler[_0xc791[16]][_0xc791[171]]=function(){_0x17f3x25[_0xc791[15]](this,arguments);if(showConnectorImg&&this[_0xc791[46]][_0xc791[11]][_0xc791[111]]()&&this[_0xc791[46]][_0xc791[172]](this[_0xc791[119]][_0xc791[51]])&&!this[_0xc791[46]][_0xc791[84]](this[_0xc791[119]][_0xc791[51]])&&this[_0xc791[46]][_0xc791[53]]()==1){if(mxClient[_0xc791[200]]&&!mxClient[_0xc791[201]]){this[_0xc791[173]]=document[_0xc791[104]](_0xc791[202]);this[_0xc791[173]][_0xc791[24]][_0xc791[203]]=_0xc791[204]+_0x17f3x28[_0xc791[169]]+_0xc791[205];this[_0xc791[173]][_0xc791[24]][_0xc791[206]]=_0xc791[207];this[_0xc791[173]][_0xc791[24]][_0xc791[208]]=_0xc791[209];this[_0xc791[173]][_0xc791[24]][_0xc791[175]]=(_0x17f3x28[_0xc791[175]]+4)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[177]]=(_0x17f3x28[_0xc791[177]]+4)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[210]]=(mxClient[_0xc791[211]])?_0xc791[212]:_0xc791[213]}else {this[_0xc791[173]]=mxUtils[_0xc791[174]](_0x17f3x28[_0xc791[169]]);this[_0xc791[173]][_0xc791[24]][_0xc791[175]]=_0x17f3x28[_0xc791[175]]+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[177]]=_0x17f3x28[_0xc791[177]]+_0xc791[192]};this[_0xc791[173]][_0xc791[24]][_0xc791[23]]=_0xc791[26];this[_0xc791[173]][_0xc791[24]][_0xc791[178]]=_0xc791[179];this[_0xc791[173]][_0xc791[100]](_0xc791[180],mxResources[_0xc791[93]](_0xc791[17]));mxEvent[_0xc791[181]](this[_0xc791[173]],this[_0xc791[46]],this[_0xc791[119]]);this[_0xc791[173]][_0xc791[24]][_0xc791[182]]=_0xc791[183];mxEvent[_0xc791[28]](this[_0xc791[173]],_0xc791[214],mxUtils[_0xc791[27]](this,function(_0x17f3x19){this[_0xc791[46]][_0xc791[29]][_0xc791[114]]();var _0x17f3x22=mxUtils[_0xc791[163]](this[_0xc791[46]][_0xc791[25]],mxEvent[_0xc791[130]](_0x17f3x19),mxEvent[_0xc791[131]](_0x17f3x19));this[_0xc791[46]][_0xc791[11]][_0xc791[49]](this[_0xc791[119]],_0x17f3x22[_0xc791[164]],_0x17f3x22[_0xc791[165]]);this[_0xc791[46]][_0xc791[184]]=true;mxEvent[_0xc791[133]](_0x17f3x19)}));this[_0xc791[46]][_0xc791[25]][_0xc791[186]](this[_0xc791[173]])};this[_0xc791[187]]()};var _0x17f3x26=mxVertexHandler[_0xc791[16]][_0xc791[188]];mxVertexHandler[_0xc791[16]][_0xc791[188]]=function(){_0x17f3x26[_0xc791[15]](this);this[_0xc791[187]]()};mxVertexHandler[_0xc791[16]][_0xc791[187]]=function(){if(this[_0xc791[119]]!=null&&this[_0xc791[173]]!=null){if(mxVertexHandler[_0xc791[16]][_0xc791[189]]){this[_0xc791[173]][_0xc791[24]][_0xc791[190]]=(this[_0xc791[119]][_0xc791[164]]+this[_0xc791[119]][_0xc791[175]]-this[_0xc791[173]][_0xc791[191]]/2)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[193]]=(this[_0xc791[119]][_0xc791[165]]-this[_0xc791[173]][_0xc791[194]]/2)+_0xc791[192]}else {this[_0xc791[173]][_0xc791[24]][_0xc791[190]]=(this[_0xc791[119]][_0xc791[164]]+this[_0xc791[119]][_0xc791[175]]+mxConstants[_0xc791[139]]/2+2)+_0xc791[192];this[_0xc791[173]][_0xc791[24]][_0xc791[193]]=(this[_0xc791[119]][_0xc791[165]]+(this[_0xc791[119]][_0xc791[177]]-this[_0xc791[173]][_0xc791[194]])/2)+_0xc791[192]}}};var _0x17f3x27=mxVertexHandler[_0xc791[16]][_0xc791[195]];mxVertexHandler[_0xc791[16]][_0xc791[195]]=function(_0x17f3x18,_0x17f3xb){_0x17f3x27[_0xc791[15]](this,arguments);if(this[_0xc791[173]]!=null){this[_0xc791[173]][_0xc791[197]][_0xc791[196]](this[_0xc791[173]]);this[_0xc791[173]]=null}}}}})() \ No newline at end of file +var _0x516b=["\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(_0x17d3x1,_0x17d3x2,_0x17d3x3,_0x17d3x4){mxGraph[_0x516b[0]](this,_0x17d3x1,_0x17d3x2,_0x17d3x3,_0x17d3x4);this[_0x516b[1]](true);this[_0x516b[2]](false);this[_0x516b[3]](true);this[_0x516b[4]](!mxClient.IS_TOUCH);this[_0x516b[5]](false);this[_0x516b[6]](false);this[_0x516b[7]]=true;this[_0x516b[8]]=false;this[_0x516b[9]]=false;this[_0x516b[11]][_0x516b[10]]=true;this[_0x516b[12]](false);this[_0x516b[11]][_0x516b[13]](false);this[_0x516b[11]][_0x516b[14]]=function(){return mxConnectionHandler[_0x516b[16]][_0x516b[14]][_0x516b[15]](this,arguments)&&urlParams[_0x516b[17]]!=_0x516b[18]};this[_0x516b[19]]=_0x516b[20];if(_0x17d3x4==null){this[_0x516b[21]]()};var _0x17d3x5= new mxRubberband(this);this[_0x516b[22]]=function(){return _0x17d3x5};this[_0x516b[29]][_0x516b[28]](mxEvent.PAN_START,mxUtils[_0x516b[27]](this,function(){this[_0x516b[25]][_0x516b[24]][_0x516b[23]]=_0x516b[26]}));this[_0x516b[29]][_0x516b[28]](mxEvent.PAN_END,mxUtils[_0x516b[27]](this,function(){this[_0x516b[25]][_0x516b[24]][_0x516b[23]]=_0x516b[30]}));this[_0x516b[31]]=function(_0x17d3x6){var _0x17d3x7=this[_0x516b[33]][_0x516b[32]](_0x17d3x6);var _0x17d3x8=(_0x17d3x7!=null)?_0x17d3x7[_0x516b[24]]:this[_0x516b[34]](_0x17d3x6);return _0x17d3x8[_0x516b[35]]==_0x516b[36]||_0x17d3x8[_0x516b[37]]==_0x516b[38]};this[_0x516b[40]][_0x516b[39]]=function(_0x17d3x7){var _0x17d3x9=mxCellRenderer[_0x516b[16]][_0x516b[39]][_0x516b[15]](this,arguments);if(_0x17d3x7[_0x516b[24]][_0x516b[37]]==_0x516b[38]&&_0x17d3x7[_0x516b[24]][_0x516b[35]]!=1){_0x17d3x9=mxUtils[_0x516b[41]](_0x17d3x9,false)};return _0x17d3x9};this[_0x516b[42]]=function(_0x17d3x6){return false};this[_0x516b[11]][_0x516b[43]]=16;var _0x17d3xa=this[_0x516b[11]][_0x516b[44]];this[_0x516b[11]][_0x516b[44]]=function(_0x17d3xb,_0x17d3x7){if(_0x17d3x7==null){if(!this[_0x516b[46]][_0x516b[29]][_0x516b[45]]){_0x17d3x5[_0x516b[49]](_0x17d3xb[_0x516b[47]](),_0x17d3xb[_0x516b[48]]());this[_0x516b[46]][_0x516b[29]][_0x516b[50]]=false}}else {if(tapAndHoldStartsConnection){_0x17d3xa[_0x516b[15]](this,arguments)}else {if(this[_0x516b[46]][_0x516b[52]](_0x17d3x7[_0x516b[51]])&&this[_0x516b[46]][_0x516b[53]]()>1){this[_0x516b[46]][_0x516b[54]](_0x17d3x7[_0x516b[51]])}}}};if(touchStyle){this[_0x516b[55]]()}};mxUtils[_0x516b[56]](Graph,mxGraph);Graph[_0x516b[16]][_0x516b[57]]=null;Graph[_0x516b[16]][_0x516b[58]]=null;Graph[_0x516b[16]][_0x516b[21]]=function(){var _0x17d3xc=mxUtils[_0x516b[61]](STYLE_PATH+_0x516b[60])[_0x516b[59]]();var _0x17d3xd= new mxCodec(_0x17d3xc[_0x516b[62]]);_0x17d3xd[_0x516b[64]](_0x17d3xc,this[_0x516b[63]]())};Graph[_0x516b[16]][_0x516b[65]]=function(_0x17d3xe){if(_0x17d3xe!=null){var _0x17d3x7=this[_0x516b[33]][_0x516b[32]](_0x17d3xe);var _0x17d3x8=(_0x17d3x7!=null)?_0x17d3x7[_0x516b[24]]:this[_0x516b[34]](_0x17d3xe);if(_0x17d3x8!=null){var _0x17d3xf=mxUtils[_0x516b[66]](_0x17d3x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x17d3x10=(_0x17d3xf==mxConstants[_0x516b[67]])?mxConstants[_0x516b[68]]:mxConstants[_0x516b[67]];this[_0x516b[69]](mxConstants.STYLE_ELBOW,_0x17d3x10,[_0x17d3xe])}}};Graph[_0x516b[16]][_0x516b[70]]=function(_0x17d3x6){if(_0x17d3x6!=null&&this[_0x516b[72]]()[_0x516b[71]](_0x17d3x6)){var _0x17d3x11=this[_0x516b[72]]()[_0x516b[73]]([_0x17d3x6])[0];if(_0x17d3x11[_0x516b[74]]!=null){_0x17d3x11[_0x516b[74]][_0x516b[75]]=null};var _0x17d3x8=_0x17d3x11[_0x516b[76]]();_0x17d3x8=mxUtils[_0x516b[77]](_0x17d3x8,mxConstants.STYLE_ENTRY_X,null);_0x17d3x8=mxUtils[_0x516b[77]](_0x17d3x8,mxConstants.STYLE_ENTRY_Y,null);_0x17d3x8=mxUtils[_0x516b[77]](_0x17d3x8,mxConstants.STYLE_EXIT_X,null);_0x17d3x8=mxUtils[_0x516b[77]](_0x17d3x8,mxConstants.STYLE_EXIT_Y,null);_0x17d3x11[_0x516b[77]](_0x17d3x8);this[_0x516b[11]][_0x516b[78]]=function(_0x17d3xb){return this[_0x516b[46]][_0x516b[33]][_0x516b[79]](_0x17d3x11)};this[_0x516b[11]][_0x516b[80]]=function(){return this[_0x516b[46]][_0x516b[73]]([_0x17d3x11])[0]}}};Graph[_0x516b[16]][_0x516b[81]]=function(_0x17d3x6){return this[_0x516b[82]]&&this[_0x516b[83]](_0x17d3x6)};Graph[_0x516b[16]][_0x516b[84]]=function(_0x17d3x6){return this[_0x516b[83]](_0x17d3x6)};Graph[_0x516b[16]][_0x516b[85]]=function(){var _0x17d3x12=mxGraph[_0x516b[16]][_0x516b[85]][_0x516b[15]](this,arguments);_0x17d3x12[_0x516b[77]](_0x516b[86]);return _0x17d3x12};Graph[_0x516b[16]][_0x516b[87]]=function(_0x17d3x6){var _0x17d3x13=_0x516b[88];if(this[_0x516b[72]]()[_0x516b[89]](_0x17d3x6)){_0x17d3x13+=mxResources[_0x516b[93]](_0x516b[90]+_0x17d3x6[_0x516b[92]][_0x516b[91]])||_0x516b[88]}else {if(this[_0x516b[72]]()[_0x516b[71]](_0x17d3x6)){_0x17d3x13=mxGraph[_0x516b[16]][_0x516b[87]][_0x516b[15]](this,arguments)}};return _0x17d3x13};Graph[_0x516b[16]][_0x516b[94]]=function(_0x17d3x6){if(_0x17d3x6[_0x516b[92]]!=null&& typeof (_0x17d3x6[_0x516b[92]])==_0x516b[95]){return _0x17d3x6[_0x516b[92]][_0x516b[97]](_0x516b[96])};return mxGraph[_0x516b[16]][_0x516b[94]][_0x516b[15]](this,arguments)};Graph[_0x516b[16]][_0x516b[98]]=function(_0x17d3x6,_0x17d3x10,_0x17d3x14){if(_0x17d3x6[_0x516b[92]]!=null&& typeof (_0x17d3x6[_0x516b[92]])==_0x516b[95]){var _0x17d3x15=_0x17d3x6[_0x516b[92]][_0x516b[99]](true);_0x17d3x15[_0x516b[100]](_0x516b[96],_0x17d3x10);_0x17d3x10=_0x17d3x15};mxGraph[_0x516b[16]][_0x516b[98]][_0x516b[15]](this,arguments)};Graph[_0x516b[16]][_0x516b[101]]=function(_0x17d3x6,_0x17d3x16){var _0x17d3x10=null;if(_0x17d3x6[_0x516b[92]]!=null&& typeof (_0x17d3x6[_0x516b[92]])==_0x516b[95]){_0x17d3x10=_0x17d3x6[_0x516b[92]][_0x516b[99]](true)}else {var _0x17d3x17=mxUtils[_0x516b[102]]();_0x17d3x10=_0x17d3x17[_0x516b[104]](_0x516b[103]);_0x17d3x10[_0x516b[100]](_0x516b[96],_0x17d3x6[_0x516b[92]])};if(_0x17d3x16!=null&&_0x17d3x16[_0x516b[105]]>0){_0x17d3x10[_0x516b[100]](_0x516b[106],_0x17d3x16)}else {_0x17d3x10[_0x516b[107]](_0x516b[106])};this[_0x516b[109]][_0x516b[108]](_0x17d3x6,_0x17d3x10)};Graph[_0x516b[16]][_0x516b[110]]=function(_0x17d3x6){if(_0x17d3x6[_0x516b[92]]!=null&& typeof (_0x17d3x6[_0x516b[92]])==_0x516b[95]){return _0x17d3x6[_0x516b[92]][_0x516b[97]](_0x516b[106])};return null};Graph[_0x516b[16]][_0x516b[55]]=function(){this[_0x516b[11]][_0x516b[112]][_0x516b[111]]=function(){return this[_0x516b[46]][_0x516b[11]][_0x516b[113]]!=null};this[_0x516b[28]](mxEvent.START_EDITING,function(_0x17d3x18,_0x17d3x19){this[_0x516b[29]][_0x516b[114]]()});var _0x17d3x1a=false;var _0x17d3x1b=null;this[_0x516b[115]]=function(_0x17d3xb){mxGraph[_0x516b[16]][_0x516b[115]][_0x516b[15]](this,arguments);if(_0x17d3xb[_0x516b[32]]()==null){var _0x17d3x6=this[_0x516b[118]](_0x17d3xb[_0x516b[116]],_0x17d3xb[_0x516b[117]]);if(this[_0x516b[72]]()[_0x516b[71]](_0x17d3x6)){_0x17d3xb[_0x516b[119]]=this[_0x516b[33]][_0x516b[32]](_0x17d3x6);if(_0x17d3xb[_0x516b[119]]!=null&&_0x17d3xb[_0x516b[119]][_0x516b[120]]!=null){this[_0x516b[25]][_0x516b[24]][_0x516b[23]]=_0x17d3xb[_0x516b[119]][_0x516b[120]][_0x516b[121]][_0x516b[24]][_0x516b[23]]}}};if(_0x17d3xb[_0x516b[32]]()==null){this[_0x516b[25]][_0x516b[24]][_0x516b[23]]=_0x516b[30]}};this[_0x516b[122]]=function(_0x17d3x1c,_0x17d3xb,_0x17d3x18){if(_0x17d3x1c==mxEvent[_0x516b[123]]){if(!this[_0x516b[29]][_0x516b[124]]()){_0x17d3x1b=_0x17d3xb[_0x516b[125]]();_0x17d3x1a=(_0x17d3x1b!=null)?this[_0x516b[52]](_0x17d3x1b):this[_0x516b[126]]()}else {_0x17d3x1a=false;_0x17d3x1b=null}}else {if(_0x17d3x1c==mxEvent[_0x516b[127]]){if(_0x17d3x1a&&!this[_0x516b[128]]()){if(!this[_0x516b[29]][_0x516b[124]]()){var _0x17d3x1d=mxEvent[_0x516b[130]](_0x17d3xb[_0x516b[129]]());var _0x17d3x1e=mxEvent[_0x516b[131]](_0x17d3xb[_0x516b[129]]());this[_0x516b[29]][_0x516b[132]](_0x17d3x1d+16,_0x17d3x1e,_0x17d3x1b,_0x17d3xb[_0x516b[129]]())};_0x17d3x1a=false;_0x17d3x1b=null;_0x17d3xb[_0x516b[133]]();return};_0x17d3x1a=false;_0x17d3x1b=null}};mxGraph[_0x516b[16]][_0x516b[122]][_0x516b[15]](this,arguments);if(_0x17d3x1c==mxEvent[_0x516b[134]]&&_0x17d3xb[_0x516b[135]]()){_0x17d3x1a=false;_0x17d3x1b=null}}};(function(){mxVertexHandler[_0x516b[16]][_0x516b[136]]=true;mxText[_0x516b[16]][_0x516b[137]]=5;mxText[_0x516b[16]][_0x516b[138]]=1;if(touchStyle){mxConstants[_0x516b[139]]=16;mxConstants[_0x516b[140]]=7;if(mxClient[_0x516b[141]]){mxVertexHandler[_0x516b[16]][_0x516b[142]]=4;mxEdgeHandler[_0x516b[16]][_0x516b[142]]=6;Graph[_0x516b[16]][_0x516b[142]]=14;Graph[_0x516b[16]][_0x516b[143]]=20;mxPanningHandler[_0x516b[16]][_0x516b[144]]=false;mxPanningHandler[_0x516b[16]][_0x516b[145]]=true;mxPanningHandler[_0x516b[16]][_0x516b[146]]=function(_0x17d3xb){var _0x17d3x19=_0x17d3xb[_0x516b[129]]();return (this[_0x516b[145]]&&(this[_0x516b[147]]||_0x17d3xb[_0x516b[32]]()==null))||(mxEvent[_0x516b[148]](_0x17d3x19)&&mxEvent[_0x516b[149]](_0x17d3x19))||(this[_0x516b[150]]&&mxEvent[_0x516b[151]](_0x17d3x19))}};var _0x17d3x1f=mxGraphHandler[_0x516b[16]][_0x516b[152]];mxGraphHandler[_0x516b[16]][_0x516b[152]]=function(_0x17d3x18,_0x17d3xb){_0x17d3x1f[_0x516b[15]](this,arguments);if(this[_0x516b[46]][_0x516b[52]](_0x17d3xb[_0x516b[125]]())&&this[_0x516b[46]][_0x516b[53]]()>1){this[_0x516b[153]]=false}};Graph[_0x516b[16]][_0x516b[154]]=function(_0x17d3x1){this[_0x516b[155]]= new mxTooltipHandler(this);this[_0x516b[155]][_0x516b[156]](false);this[_0x516b[157]]= new mxSelectionCellsHandler(this);this[_0x516b[29]]= new mxPanningHandler(this);this[_0x516b[29]][_0x516b[158]]=false;this[_0x516b[11]]= new mxConnectionHandler(this);this[_0x516b[11]][_0x516b[156]](false);this[_0x516b[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0x516b[16]][_0x516b[160]]=function(_0x17d3xe,_0x17d3x20){if(touchStyle&&_0x17d3x20!=null){this[_0x516b[46]][_0x516b[161]](_0x17d3x20)}else {this[_0x516b[46]][_0x516b[161]](_0x17d3xe)}};var _0x17d3x21=mxGraph[_0x516b[16]][_0x516b[162]];Graph[_0x516b[16]][_0x516b[162]]=function(_0x17d3x19,_0x17d3x6){if(_0x17d3x6==null){var _0x17d3x22=mxUtils[_0x516b[163]](this[_0x516b[25]],mxEvent[_0x516b[130]](_0x17d3x19),mxEvent[_0x516b[131]](_0x17d3x19));_0x17d3x6=this[_0x516b[118]](_0x17d3x22[_0x516b[164]],_0x17d3x22[_0x516b[165]])};_0x17d3x21[_0x516b[0]](this,_0x17d3x19,_0x17d3x6)};var _0x17d3x23= new mxImage(IMAGE_PATH+_0x516b[166],16,16);mxVertexHandler[_0x516b[16]][_0x516b[167]]=_0x17d3x23;mxEdgeHandler[_0x516b[16]][_0x516b[167]]=_0x17d3x23;mxOutline[_0x516b[16]][_0x516b[168]]=_0x17d3x23; new Image()[_0x516b[169]]=_0x17d3x23[_0x516b[169]];var _0x17d3x24=IMAGE_PATH+_0x516b[170];var _0x17d3x25=mxVertexHandler[_0x516b[16]][_0x516b[171]];mxVertexHandler[_0x516b[16]][_0x516b[171]]=function(){_0x17d3x25[_0x516b[15]](this,arguments);if(showConnectorImg&&this[_0x516b[46]][_0x516b[11]][_0x516b[111]]()&&this[_0x516b[46]][_0x516b[172]](this[_0x516b[119]][_0x516b[51]])&&!this[_0x516b[46]][_0x516b[84]](this[_0x516b[119]][_0x516b[51]])&&this[_0x516b[46]][_0x516b[53]]()==1){this[_0x516b[173]]=mxUtils[_0x516b[174]](_0x17d3x24);this[_0x516b[173]][_0x516b[24]][_0x516b[23]]=_0x516b[26];this[_0x516b[173]][_0x516b[24]][_0x516b[175]]=_0x516b[176];this[_0x516b[173]][_0x516b[24]][_0x516b[177]]=_0x516b[176];this[_0x516b[173]][_0x516b[24]][_0x516b[178]]=_0x516b[179];if(!mxClient[_0x516b[141]]){this[_0x516b[173]][_0x516b[100]](_0x516b[180],mxResources[_0x516b[93]](_0x516b[17]));mxEvent[_0x516b[181]](this[_0x516b[173]],this[_0x516b[46]],this[_0x516b[119]])};this[_0x516b[173]][_0x516b[24]][_0x516b[182]]=_0x516b[183];mxEvent[_0x516b[185]](this[_0x516b[173]],mxUtils[_0x516b[27]](this,function(_0x17d3x19){this[_0x516b[46]][_0x516b[29]][_0x516b[114]]();var _0x17d3x22=mxUtils[_0x516b[163]](this[_0x516b[46]][_0x516b[25]],mxEvent[_0x516b[130]](_0x17d3x19),mxEvent[_0x516b[131]](_0x17d3x19));this[_0x516b[46]][_0x516b[11]][_0x516b[49]](this[_0x516b[119]],_0x17d3x22[_0x516b[164]],_0x17d3x22[_0x516b[165]]);this[_0x516b[46]][_0x516b[184]]=true;mxEvent[_0x516b[133]](_0x17d3x19)}));this[_0x516b[46]][_0x516b[25]][_0x516b[186]](this[_0x516b[173]])};this[_0x516b[187]]()};var _0x17d3x26=mxVertexHandler[_0x516b[16]][_0x516b[188]];mxVertexHandler[_0x516b[16]][_0x516b[188]]=function(){_0x17d3x26[_0x516b[15]](this);this[_0x516b[187]]()};mxVertexHandler[_0x516b[16]][_0x516b[187]]=function(){if(this[_0x516b[119]]!=null&&this[_0x516b[173]]!=null){if(mxVertexHandler[_0x516b[16]][_0x516b[189]]){this[_0x516b[173]][_0x516b[24]][_0x516b[190]]=(this[_0x516b[119]][_0x516b[164]]+this[_0x516b[119]][_0x516b[175]]-this[_0x516b[173]][_0x516b[191]]/2)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[193]]=(this[_0x516b[119]][_0x516b[165]]-this[_0x516b[173]][_0x516b[194]]/2)+_0x516b[192]}else {this[_0x516b[173]][_0x516b[24]][_0x516b[190]]=(this[_0x516b[119]][_0x516b[164]]+this[_0x516b[119]][_0x516b[175]]+mxConstants[_0x516b[139]]/2+4)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[193]]=(this[_0x516b[119]][_0x516b[165]]+(this[_0x516b[119]][_0x516b[177]]-this[_0x516b[173]][_0x516b[194]])/2)+_0x516b[192]}}};var _0x17d3x27=mxVertexHandler[_0x516b[16]][_0x516b[195]];mxVertexHandler[_0x516b[16]][_0x516b[195]]=function(_0x17d3x18,_0x17d3xb){_0x17d3x27[_0x516b[15]](this,arguments);if(this[_0x516b[173]]!=null){this[_0x516b[173]][_0x516b[197]][_0x516b[196]](this[_0x516b[173]]);this[_0x516b[173]]=null}}; new Image()[_0x516b[169]]=_0x17d3x24}else {var _0x17d3x28= new mxImage(IMAGE_PATH+_0x516b[198],15,15);mxConnectionHandler[_0x516b[16]][_0x516b[199]]=_0x17d3x28; new Image()[_0x516b[169]]=_0x17d3x28[_0x516b[169]];if(urlParams[_0x516b[17]]==_0x516b[18]){var _0x17d3x28= new mxImage(IMAGE_PATH+_0x516b[198],15,15);var _0x17d3x25=mxVertexHandler[_0x516b[16]][_0x516b[171]];mxVertexHandler[_0x516b[16]][_0x516b[171]]=function(){_0x17d3x25[_0x516b[15]](this,arguments);if(showConnectorImg&&this[_0x516b[46]][_0x516b[11]][_0x516b[111]]()&&this[_0x516b[46]][_0x516b[172]](this[_0x516b[119]][_0x516b[51]])&&!this[_0x516b[46]][_0x516b[84]](this[_0x516b[119]][_0x516b[51]])&&this[_0x516b[46]][_0x516b[53]]()==1){if(mxClient[_0x516b[200]]&&!mxClient[_0x516b[201]]){this[_0x516b[173]]=document[_0x516b[104]](_0x516b[202]);this[_0x516b[173]][_0x516b[24]][_0x516b[203]]=_0x516b[204]+_0x17d3x28[_0x516b[169]]+_0x516b[205];this[_0x516b[173]][_0x516b[24]][_0x516b[206]]=_0x516b[207];this[_0x516b[173]][_0x516b[24]][_0x516b[208]]=_0x516b[209];this[_0x516b[173]][_0x516b[24]][_0x516b[175]]=(_0x17d3x28[_0x516b[175]]+4)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[177]]=(_0x17d3x28[_0x516b[177]]+4)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[210]]=(mxClient[_0x516b[211]])?_0x516b[212]:_0x516b[213]}else {this[_0x516b[173]]=mxUtils[_0x516b[174]](_0x17d3x28[_0x516b[169]]);this[_0x516b[173]][_0x516b[24]][_0x516b[175]]=_0x17d3x28[_0x516b[175]]+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[177]]=_0x17d3x28[_0x516b[177]]+_0x516b[192]};this[_0x516b[173]][_0x516b[24]][_0x516b[23]]=_0x516b[26];this[_0x516b[173]][_0x516b[24]][_0x516b[178]]=_0x516b[179];this[_0x516b[173]][_0x516b[100]](_0x516b[180],mxResources[_0x516b[93]](_0x516b[17]));mxEvent[_0x516b[181]](this[_0x516b[173]],this[_0x516b[46]],this[_0x516b[119]]);this[_0x516b[173]][_0x516b[24]][_0x516b[182]]=_0x516b[183];mxEvent[_0x516b[28]](this[_0x516b[173]],_0x516b[214],mxUtils[_0x516b[27]](this,function(_0x17d3x19){this[_0x516b[46]][_0x516b[29]][_0x516b[114]]();var _0x17d3x22=mxUtils[_0x516b[163]](this[_0x516b[46]][_0x516b[25]],mxEvent[_0x516b[130]](_0x17d3x19),mxEvent[_0x516b[131]](_0x17d3x19));this[_0x516b[46]][_0x516b[11]][_0x516b[49]](this[_0x516b[119]],_0x17d3x22[_0x516b[164]],_0x17d3x22[_0x516b[165]]);this[_0x516b[46]][_0x516b[184]]=true;mxEvent[_0x516b[133]](_0x17d3x19)}));this[_0x516b[46]][_0x516b[25]][_0x516b[186]](this[_0x516b[173]])};this[_0x516b[187]]()};var _0x17d3x26=mxVertexHandler[_0x516b[16]][_0x516b[188]];mxVertexHandler[_0x516b[16]][_0x516b[188]]=function(){_0x17d3x26[_0x516b[15]](this);this[_0x516b[187]]()};mxVertexHandler[_0x516b[16]][_0x516b[187]]=function(){if(this[_0x516b[119]]!=null&&this[_0x516b[173]]!=null){if(mxVertexHandler[_0x516b[16]][_0x516b[189]]){this[_0x516b[173]][_0x516b[24]][_0x516b[190]]=(this[_0x516b[119]][_0x516b[164]]+this[_0x516b[119]][_0x516b[175]]-this[_0x516b[173]][_0x516b[191]]/2)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[193]]=(this[_0x516b[119]][_0x516b[165]]-this[_0x516b[173]][_0x516b[194]]/2)+_0x516b[192]}else {this[_0x516b[173]][_0x516b[24]][_0x516b[190]]=(this[_0x516b[119]][_0x516b[164]]+this[_0x516b[119]][_0x516b[175]]+mxConstants[_0x516b[139]]/2+2)+_0x516b[192];this[_0x516b[173]][_0x516b[24]][_0x516b[193]]=(this[_0x516b[119]][_0x516b[165]]+(this[_0x516b[119]][_0x516b[177]]-this[_0x516b[173]][_0x516b[194]])/2)+_0x516b[192]}}};var _0x17d3x27=mxVertexHandler[_0x516b[16]][_0x516b[195]];mxVertexHandler[_0x516b[16]][_0x516b[195]]=function(_0x17d3x18,_0x17d3xb){_0x17d3x27[_0x516b[15]](this,arguments);if(this[_0x516b[173]]!=null){this[_0x516b[173]][_0x516b[197]][_0x516b[196]](this[_0x516b[173]]);this[_0x516b[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 b467940..35fe59c 100644 --- a/public/assets/plugins/square/js/Menus.js +++ b/public/assets/plugins/square/js/Menus.js @@ -1 +1 @@ -var _0x84a4=["\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(_0xd116x1){this[_0x84a4[0]]=_0xd116x1;this[_0x84a4[1]]= new Object();this[_0x84a4[2]](); new Image()[_0x84a4[3]]=IMAGE_PATH+_0x84a4[4]};Menus[_0x84a4[5]][_0x84a4[2]]=function(){var _0xd116x2=this[_0x84a4[0]][_0x84a4[7]][_0x84a4[6]];this[_0x84a4[30]](_0x84a4[8], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){var _0xd116x5=[_0x84a4[9],_0x84a4[10],_0x84a4[11],_0x84a4[12],_0x84a4[13],_0x84a4[14],_0x84a4[15],_0x84a4[16],_0x84a4[17]];for(var _0xd116x6=0;_0xd116x6<_0xd116x5[_0x84a4[18]];_0xd116x6++){var _0xd116x7=this[_0x84a4[20]](_0xd116x3,_0xd116x5[_0xd116x6],[mxConstants[_0x84a4[19]]],[_0xd116x5[_0xd116x6]],null,_0xd116x4);_0xd116x7[_0x84a4[23]][_0x84a4[22]][_0x84a4[21]][_0x84a4[8]]=_0xd116x5[_0xd116x6]};_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[25]),_0x84a4[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[31], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){var _0xd116x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0xd116x6=0;_0xd116x6<_0xd116x8[_0x84a4[18]];_0xd116x6++){this[_0x84a4[20]](_0xd116x3,_0xd116x8[_0xd116x6],[mxConstants[_0x84a4[32]]],[_0xd116x8[_0xd116x6]],null,_0xd116x4)};_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[25]),_0x84a4[33],_0x84a4[34],mxConstants.STYLE_FONTSIZE,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[35], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){var _0xd116x8=[1,2,3,4,8,12,16,24];for(var _0xd116x6=0;_0xd116x6<_0xd116x8[_0x84a4[18]];_0xd116x6++){this[_0x84a4[20]](_0xd116x3,_0xd116x8[_0xd116x6]+_0x84a4[36],[mxConstants[_0x84a4[37]]],[_0xd116x8[_0xd116x6]],null,_0xd116x4)};_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[25]),_0x84a4[38],_0x84a4[39],mxConstants.STYLE_STROKEWIDTH,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[40], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[41]),[mxConstants[_0x84a4[42]]],[null],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[43]),[mxConstants[_0x84a4[42]]],[_0x84a4[44]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[45]),[mxConstants[_0x84a4[42]],mxConstants[_0x84a4[46]]],[_0x84a4[47],_0x84a4[45]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[48]),[mxConstants[_0x84a4[42]],mxConstants[_0x84a4[46]]],[_0x84a4[47],_0x84a4[48]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[49]),[mxConstants[_0x84a4[42]]],[_0x84a4[50]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[51]),[mxConstants[_0x84a4[42]]],[_0x84a4[52]],null,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[53], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[54]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[56]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[57]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[58]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[59]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[60]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[61]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[62]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[63]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[64]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[65]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[66]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[67]),[mxConstants[_0x84a4[55]]],[mxConstants[_0x84a4[68]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[69]),null,function(){_0xd116x2[_0x84a4[71]](_0x84a4[70],true)},_0xd116x4,null,true);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[73]),_0x84a4[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[74], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[54]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[56]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[57]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[58]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[59]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[60]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[61]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[62]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[63]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[64]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[65]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[66]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[67]),[mxConstants[_0x84a4[75]]],[mxConstants[_0x84a4[68]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[69]),null,function(){_0xd116x2[_0x84a4[71]](_0x84a4[76],true)},_0xd116x4,null,true);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[73]),_0x84a4[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[77], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){var _0xd116x9=this[_0x84a4[0]][_0x84a4[80]][_0x84a4[26]](_0x84a4[79])[_0x84a4[78]];var _0xd116xa=this[_0x84a4[26]](_0x84a4[40])[_0x84a4[78]];if(_0xd116x9||_0xd116x3[_0x84a4[81]]){this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[82]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SPACING_TOP,_0xd116x4,_0xd116x9);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[84]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SPACING_RIGHT,_0xd116x4,_0xd116x9);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[85]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SPACING_BOTTOM,_0xd116x4,_0xd116x9);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[86]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SPACING_LEFT,_0xd116x4,_0xd116x9);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[87]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SPACING,_0xd116x4,_0xd116x9);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[88]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_PERIMETER_SPACING,_0xd116x4,_0xd116x9)};if(_0xd116xa||_0xd116x3[_0x84a4[81]]){_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[89]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0xd116x4,_0xd116xa);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[90]),_0x84a4[38],_0x84a4[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0xd116x4,_0xd116xa)}})));this[_0x84a4[30]](_0x84a4[91], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[92]](_0xd116x3,_0x84a4[21],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[93], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){var _0xd116xb=this[_0x84a4[26]](_0x84a4[93])[_0x84a4[78]];_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[94]](_0x84a4[8],_0xd116x3,_0xd116x4);this[_0x84a4[94]](_0x84a4[31],_0xd116x3,_0xd116x4);this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],_0x84a4[96],_0x84a4[97],_0x84a4[98],_0x84a4[95]],_0xd116x4);this[_0x84a4[94]](_0x84a4[100],_0xd116x3,_0xd116x4);this[_0x84a4[92]](_0xd116x3,_0x84a4[101],_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[28]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[102]),_0x84a4[103],_0x84a4[104],mxConstants.STYLE_TEXT_OPACITY,_0xd116x4,_0xd116xb);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[105]),null,function(){_0xd116x2[_0x84a4[71]](mxConstants.STYLE_NOLABEL,false)},_0xd116x4,null,_0xd116xb)})));this[_0x84a4[30]](_0x84a4[100], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[106]),[mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[108]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[109]),[mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[110]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[111]),[mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[112]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[113]),[mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[115]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[116]),[mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[117]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[118]),[mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[119]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[94]](_0x84a4[120],_0xd116x3,_0xd116x4);this[_0x84a4[94]](_0x84a4[77],_0xd116x3,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);var _0xd116xb=this[_0x84a4[26]](_0x84a4[93])[_0x84a4[78]];_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[48]),null,function(){_0xd116x2[_0x84a4[71]](mxConstants.STYLE_HORIZONTAL,true)},_0xd116x4,null,_0xd116xb)})));this[_0x84a4[30]](_0x84a4[120], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[86]),[mxConstants[_0x84a4[121]],mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[108]],mxConstants[_0x84a4[112]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[109]),[mxConstants[_0x84a4[121]],mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[110]],mxConstants[_0x84a4[110]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[84]),[mxConstants[_0x84a4[121]],mxConstants[_0x84a4[107]]],[mxConstants[_0x84a4[112]],mxConstants[_0x84a4[108]]],null,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[82]),[mxConstants[_0x84a4[122]],mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[115]],mxConstants[_0x84a4[119]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[116]),[mxConstants[_0x84a4[122]],mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[117]],mxConstants[_0x84a4[117]]],null,_0xd116x4);this[_0x84a4[20]](_0xd116x3,mxResources[_0x84a4[26]](_0x84a4[85]),[mxConstants[_0x84a4[122]],mxConstants[_0x84a4[114]]],[mxConstants[_0x84a4[119]],mxConstants[_0x84a4[115]]],null,_0xd116x4)})));this[_0x84a4[30]](_0x84a4[123], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[124]),null,function(){_0xd116x2[_0x84a4[71]](mxConstants.STYLE_FLIPH,false)},_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[125]),null,function(){_0xd116x2[_0x84a4[71]](mxConstants.STYLE_FLIPV,false)},_0xd116x4);this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],_0x84a4[126],_0x84a4[127]],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[128], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[106]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_LEFT)},_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[109]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_CENTER)},_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[111]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_RIGHT)},_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[113]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_TOP)},_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[116]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_MIDDLE)},_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[118]),null,function(){_0xd116x2[_0x84a4[129]](mxConstants.ALIGN_BOTTOM)},_0xd116x4)})));this[_0x84a4[30]](_0x84a4[130], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[131]),null,mxUtils[_0x84a4[29]](this,function(){var _0xd116xc= new mxHierarchicalLayout(_0xd116x2,mxConstants.DIRECTION_WEST);this[_0x84a4[0]][_0x84a4[132]](_0xd116xc,true,true)}),_0xd116x4);_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0x84a4[133]),null,mxUtils[_0x84a4[29]](this,function(){var _0xd116xc= new mxHierarchicalLayout(_0xd116x2,mxConstants.DIRECTION_NORTH);this[_0x84a4[0]][_0x84a4[132]](_0xd116xc,true,true)}),_0xd116x4)})));this[_0x84a4[30]](_0x84a4[134], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[135],_0x84a4[95],_0x84a4[136],_0x84a4[137],_0x84a4[95],_0x84a4[138],_0x84a4[139]],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[140], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[141],_0x84a4[142],_0x84a4[95]],_0xd116x4);this[_0x84a4[94]](_0x84a4[130],_0xd116x3,_0xd116x4);_0xd116x3[_0x84a4[24]](_0xd116x4);this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],_0x84a4[143],_0x84a4[144],_0x84a4[145]],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[146], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[147]],_0xd116x4);_0xd116x3[_0x84a4[24]]();var _0xd116xd=[0.25,0.5,0.75,1,2,4];for(var _0xd116x6=0;_0xd116x6<_0xd116xd[_0x84a4[18]];_0xd116x6++){(function(_0xd116xe){_0xd116x3[_0x84a4[72]]((_0xd116xe*100)+_0x84a4[148],null,function(){_0xd116x2[_0x84a4[149]](_0xd116xe)},_0xd116x4)})(_0xd116xd[_0xd116x6])};this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],_0x84a4[150],_0x84a4[151],_0x84a4[95],_0x84a4[152],_0x84a4[153],_0x84a4[95],_0x84a4[154],_0x84a4[155]],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[156], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[157],_0x84a4[158],_0x84a4[95],_0x84a4[159],_0x84a4[160],_0x84a4[161],_0x84a4[95],_0x84a4[162],_0x84a4[95],_0x84a4[163],_0x84a4[164],_0x84a4[95],_0x84a4[165],_0x84a4[166],_0x84a4[95],_0x84a4[167]],_0xd116x4)})));this[_0x84a4[30]](_0x84a4[168], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[169],_0x84a4[170],_0x84a4[95],_0x84a4[171],_0x84a4[172],_0x84a4[173],_0x84a4[174],_0x84a4[95],_0x84a4[175],_0x84a4[95],_0x84a4[176],_0x84a4[177],_0x84a4[178]])})));this[_0x84a4[30]](_0x84a4[179], new Menu(mxUtils[_0x84a4[29]](this,function(_0xd116x3,_0xd116x4){this[_0x84a4[99]](_0xd116x3,[_0x84a4[179],_0x84a4[95],_0x84a4[180]])})))};Menus[_0x84a4[5]][_0x84a4[30]]=function(_0xd116xf,_0xd116x3){this[_0x84a4[1]][_0xd116xf]=_0xd116x3};Menus[_0x84a4[5]][_0x84a4[26]]=function(_0xd116xf){return this[_0x84a4[1]][_0xd116xf]};Menus[_0x84a4[5]][_0x84a4[94]]=function(_0xd116xf,_0xd116x3,_0xd116x4){var _0xd116xb=this[_0x84a4[26]](_0xd116xf)[_0x84a4[78]];if(_0xd116x3[_0x84a4[81]]||_0xd116xb){var _0xd116x10=_0xd116x3[_0x84a4[72]](mxResources[_0x84a4[26]](_0xd116xf),null,null,_0xd116x4,null,_0xd116xb);this[_0x84a4[181]](_0xd116xf,_0xd116x3,_0xd116x10)}};Menus[_0x84a4[5]][_0x84a4[181]]=function(_0xd116xf,_0xd116x11,_0xd116x4){var _0xd116x3=this[_0x84a4[26]](_0xd116xf);if(_0xd116x3!=null&&(_0xd116x11[_0x84a4[81]]||_0xd116x3[_0x84a4[78]])){this[_0x84a4[26]](_0xd116xf)[_0x84a4[182]](_0xd116x11,_0xd116x4)}};Menus[_0x84a4[5]][_0x84a4[20]]=function(_0xd116x3,_0xd116x12,_0xd116x13,_0xd116x14,_0xd116x15,_0xd116x4){return _0xd116x3[_0x84a4[72]](_0xd116x12,null,mxUtils[_0x84a4[29]](this,function(){var _0xd116x2=this[_0x84a4[0]][_0x84a4[7]][_0x84a4[6]];_0xd116x2[_0x84a4[184]]()[_0x84a4[183]]();try{for(var _0xd116x6=0;_0xd116x6<_0xd116x13[_0x84a4[18]];_0xd116x6++){_0xd116x2[_0x84a4[185]](_0xd116x13[_0xd116x6],_0xd116x14[_0xd116x6])}}finally{_0xd116x2[_0x84a4[184]]()[_0x84a4[186]]()}}),_0xd116x4,_0xd116x15)};Menus[_0x84a4[5]][_0x84a4[28]]=function(_0xd116x3,_0xd116x12,_0xd116x16,_0xd116x17,_0xd116x18,_0xd116x4,_0xd116xb){return _0xd116x3[_0x84a4[72]](_0xd116x12,null,mxUtils[_0x84a4[29]](this,function(){var _0xd116x2=this[_0x84a4[0]][_0x84a4[7]][_0x84a4[6]];var _0xd116x19=_0xd116x17;var _0xd116x1a=_0xd116x2[_0x84a4[189]]()[_0x84a4[188]](_0xd116x2[_0x84a4[187]]());if(_0xd116x1a!=null){_0xd116x19=_0xd116x1a[_0x84a4[21]][_0xd116x18]||_0xd116x19};_0xd116x19=mxUtils[_0x84a4[192]](mxResources[_0x84a4[26]](_0x84a4[190])+((_0xd116x16[_0x84a4[18]]>0)?(_0x84a4[191]+_0xd116x16):_0x84a4[27]),_0xd116x19);if(_0xd116x19!=null&&_0xd116x19[_0x84a4[18]]>0){_0xd116x2[_0x84a4[185]](_0xd116x18,_0xd116x19)}}),_0xd116x4,null,_0xd116xb)};Menus[_0x84a4[5]][_0x84a4[92]]=function(_0xd116x3,_0xd116x18,_0xd116x4){var _0xd116x1b=this[_0x84a4[0]][_0x84a4[80]][_0x84a4[26]](_0xd116x18);if(_0xd116x1b!=null&&(_0xd116x3[_0x84a4[81]]||_0xd116x1b[_0x84a4[78]])){var _0xd116x1c=_0xd116x3[_0x84a4[72]](_0xd116x1b[_0x84a4[193]],null,_0xd116x1b[_0x84a4[194]],_0xd116x4,null,_0xd116x1b[_0x84a4[78]]);if(_0xd116x1b[_0x84a4[195]]&&_0xd116x1b[_0x84a4[196]]()){this[_0x84a4[197]](_0xd116x1c)};this[_0x84a4[198]](_0xd116x1c,_0xd116x1b);return _0xd116x1c};return null};Menus[_0x84a4[5]][_0x84a4[198]]=function(_0xd116x1c,_0xd116x1b){if(_0xd116x1b[_0x84a4[199]]!=null){var _0xd116x1d=_0xd116x1c[_0x84a4[23]][_0x84a4[22]][_0x84a4[22]];var _0xd116x1e=document[_0x84a4[201]](_0x84a4[200]);_0xd116x1e[_0x84a4[21]][_0x84a4[202]]=_0x84a4[203];mxUtils[_0x84a4[204]](_0xd116x1e,_0xd116x1b[_0x84a4[199]]);_0xd116x1d[_0x84a4[205]](_0xd116x1e)}};Menus[_0x84a4[5]][_0x84a4[197]]=function(_0xd116x1c){var _0xd116x1d=_0xd116x1c[_0x84a4[23]][_0x84a4[22]];_0xd116x1d[_0x84a4[21]][_0x84a4[206]]=_0x84a4[207]+IMAGE_PATH+_0x84a4[208];_0xd116x1d[_0x84a4[21]][_0x84a4[209]]=_0x84a4[210];_0xd116x1d[_0x84a4[21]][_0x84a4[211]]=_0x84a4[212]};Menus[_0x84a4[5]][_0x84a4[99]]=function(_0xd116x3,_0xd116x13,_0xd116x4){for(var _0xd116x6=0;_0xd116x6<_0xd116x13[_0x84a4[18]];_0xd116x6++){if(_0xd116x13[_0xd116x6]==_0x84a4[95]){_0xd116x3[_0x84a4[24]](_0xd116x4)}else {this[_0x84a4[92]](_0xd116x3,_0xd116x13[_0xd116x6],_0xd116x4)}}};Menus[_0x84a4[5]][_0x84a4[213]]=function(_0xd116x3,_0xd116x1f,_0xd116x20){var _0xd116x2=this[_0x84a4[0]][_0x84a4[7]][_0x84a4[6]];_0xd116x3[_0x84a4[214]]=true;if(_0xd116x2[_0x84a4[215]]()){this[_0x84a4[99]](_0xd116x3,[_0x84a4[169],_0x84a4[170],_0x84a4[95],_0x84a4[173],_0x84a4[95]])}else {this[_0x84a4[99]](_0xd116x3,[_0x84a4[174],_0x84a4[95],_0x84a4[171],_0x84a4[172],_0x84a4[95],_0x84a4[175]]);if(_0xd116x2[_0x84a4[216]]()==1&&_0xd116x2[_0x84a4[184]]()[_0x84a4[217]](_0xd116x2[_0x84a4[187]]())){this[_0x84a4[99]](_0xd116x3,[_0x84a4[218]])};_0xd116x3[_0x84a4[24]]()};if(_0xd116x2[_0x84a4[216]]()>0){this[_0x84a4[99]](_0xd116x3,[_0x84a4[141],_0x84a4[142],_0x84a4[95]]);if(_0xd116x2[_0x84a4[184]]()[_0x84a4[217]](_0xd116x2[_0x84a4[187]]())){var _0xd116x21=false;var _0xd116x1f=_0xd116x2[_0x84a4[187]]();if(_0xd116x1f!=null&&_0xd116x2[_0x84a4[184]]()[_0x84a4[217]](_0xd116x1f)){var _0xd116x22=_0xd116x2[_0x84a4[220]][_0x84a4[219]](_0xd116x1f);if(_0xd116x22 instanceof mxEdgeHandler&&_0xd116x22[_0x84a4[221]]!=null&&_0xd116x22[_0x84a4[221]][_0x84a4[18]]>2){var _0xd116x23=_0xd116x22[_0x84a4[222]]( new mxMouseEvent(_0xd116x20));var _0xd116x24=this[_0x84a4[0]][_0x84a4[80]][_0x84a4[26]](_0x84a4[223]);_0xd116x24[_0x84a4[224]]=_0xd116x22;_0xd116x24[_0x84a4[225]]=_0xd116x23;_0xd116x21=_0xd116x23>0&&_0xd116x23<_0xd116x22[_0x84a4[221]][_0x84a4[18]]}};this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],(_0xd116x21)?_0x84a4[223]:_0x84a4[226]])}else {if(_0xd116x2[_0x84a4[216]]()>1){_0xd116x3[_0x84a4[24]]();this[_0x84a4[99]](_0xd116x3,[_0x84a4[143]])}};_0xd116x3[_0x84a4[24]]();if(_0xd116x2[_0x84a4[216]]()==1){var _0xd116x25=_0xd116x2[_0x84a4[227]](_0xd116x2[_0x84a4[187]]());if(_0xd116x25!=null){this[_0x84a4[99]](_0xd116x3,[_0x84a4[228]])}}}else {this[_0x84a4[99]](_0xd116x3,[_0x84a4[95],_0x84a4[176],_0x84a4[177],_0x84a4[95],_0x84a4[178]])}};Menus[_0x84a4[5]][_0x84a4[229]]=function(_0xd116x26){var _0xd116x27= new Menubar(this[_0x84a4[0]],_0xd116x26);var _0xd116x28=[_0x84a4[156],_0x84a4[168],_0x84a4[146],_0x84a4[91],_0x84a4[93],_0x84a4[140],_0x84a4[179]];for(var _0xd116x6=0;_0xd116x6<_0xd116x28[_0x84a4[18]];_0xd116x6++){_0xd116x27[_0x84a4[181]](mxResources[_0x84a4[26]](_0xd116x28[_0xd116x6]),this[_0x84a4[26]](_0xd116x28[_0xd116x6])[_0x84a4[194]])};return _0xd116x27};function Menubar(_0xd116x1,_0xd116x26){this[_0x84a4[0]]=_0xd116x1;this[_0x84a4[230]]=_0xd116x26;mxEvent[_0x84a4[232]](document,mxUtils[_0x84a4[29]](this,function(_0xd116x20){this[_0x84a4[231]]()}))}Menubar[_0x84a4[5]][_0x84a4[231]]=function(){if(this[_0x84a4[233]]!=null){this[_0x84a4[233]][_0x84a4[231]]()}};Menubar[_0x84a4[5]][_0x84a4[181]]=function(_0xd116x12,_0xd116x2a){var _0xd116x2b=document[_0x84a4[201]](_0x84a4[234]);_0xd116x2b[_0x84a4[237]](_0x84a4[235],_0x84a4[236]);_0xd116x2b[_0x84a4[238]]=_0x84a4[239];mxUtils[_0x84a4[204]](_0xd116x2b,_0xd116x12);this[_0x84a4[240]](_0xd116x2b,_0xd116x2a);this[_0x84a4[230]][_0x84a4[205]](_0xd116x2b);return _0xd116x2b};Menubar[_0x84a4[5]][_0x84a4[240]]=function(_0xd116x2b,_0xd116x2a){if(_0xd116x2a!=null){var _0xd116x2c=true;var _0xd116x2d=mxUtils[_0x84a4[29]](this,function(_0xd116x20){if(_0xd116x2c&&_0xd116x2b[_0x84a4[78]]==null||_0xd116x2b[_0x84a4[78]]){this[_0x84a4[0]][_0x84a4[7]][_0x84a4[6]][_0x84a4[241]][_0x84a4[231]]();var _0xd116x3= new mxPopupMenu(_0xd116x2a);_0xd116x3[_0x84a4[242]][_0x84a4[238]]+=_0x84a4[243];_0xd116x3[_0x84a4[214]]=true;_0xd116x3[_0x84a4[81]]=true;_0xd116x3[_0x84a4[244]]=true;_0xd116x3[_0x84a4[231]]=mxUtils[_0x84a4[29]](this,function(){mxPopupMenu[_0x84a4[5]][_0x84a4[231]][_0x84a4[245]](_0xd116x3,arguments);_0xd116x3[_0x84a4[246]]();this[_0x84a4[233]]=null;this[_0x84a4[247]]=null});var _0xd116x2e=_0xd116x2b[_0x84a4[248]]+document[_0x84a4[251]](_0x84a4[250])[_0x84a4[249]]+22;var _0xd116x2f=_0xd116x2b[_0x84a4[252]]+_0xd116x2b[_0x84a4[253]]+140;_0xd116x3[_0x84a4[254]](_0xd116x2e,_0xd116x2f,null,_0xd116x20);this[_0x84a4[233]]=_0xd116x3;this[_0x84a4[247]]=_0xd116x2b};_0xd116x2c=true;mxEvent[_0x84a4[255]](_0xd116x20)});mxEvent[_0x84a4[257]](_0xd116x2b,_0x84a4[256],mxUtils[_0x84a4[29]](this,function(_0xd116x20){if(this[_0x84a4[233]]!=null&&this[_0x84a4[247]]!=_0xd116x2b){this[_0x84a4[231]]();_0xd116x2d(_0xd116x20)}}));mxEvent[_0x84a4[257]](_0xd116x2b,_0x84a4[258],mxUtils[_0x84a4[29]](this,function(){_0xd116x2c=this[_0x84a4[247]]!=_0xd116x2b}));mxEvent[_0x84a4[257]](_0xd116x2b,_0x84a4[259],_0xd116x2d)}};function Menu(_0xd116x2a,_0xd116xb){mxEventSource[_0x84a4[260]](this);this[_0x84a4[194]]=_0xd116x2a;this[_0x84a4[78]]=(_0xd116xb!=null)?_0xd116xb:true}mxUtils[_0x84a4[261]](Menu,mxEventSource);Menu[_0x84a4[5]][_0x84a4[262]]=function(_0xd116x19){if(this[_0x84a4[78]]!=_0xd116x19){this[_0x84a4[78]]=_0xd116x19;this[_0x84a4[264]]( new mxEventObject(_0x84a4[263]))}};Menu[_0x84a4[5]][_0x84a4[182]]=function(_0xd116x3,_0xd116x4){this[_0x84a4[194]](_0xd116x3,_0xd116x4)} \ No newline at end of file +var _0x582a=["\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(_0x48a3x1){this[_0x582a[0]]=_0x48a3x1;this[_0x582a[1]]= new Object();this[_0x582a[2]](); new Image()[_0x582a[3]]=IMAGE_PATH+_0x582a[4]};Menus[_0x582a[5]][_0x582a[2]]=function(){var _0x48a3x2=this[_0x582a[0]][_0x582a[7]][_0x582a[6]];this[_0x582a[30]](_0x582a[8], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){var _0x48a3x5=[_0x582a[9],_0x582a[10],_0x582a[11],_0x582a[12],_0x582a[13],_0x582a[14],_0x582a[15],_0x582a[16],_0x582a[17]];for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x5[_0x582a[18]];_0x48a3x6++){var _0x48a3x7=this[_0x582a[20]](_0x48a3x3,_0x48a3x5[_0x48a3x6],[mxConstants[_0x582a[19]]],[_0x48a3x5[_0x48a3x6]],null,_0x48a3x4);_0x48a3x7[_0x582a[23]][_0x582a[22]][_0x582a[21]][_0x582a[8]]=_0x48a3x5[_0x48a3x6]};_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[25]),_0x582a[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0x48a3x4)})));this[_0x582a[30]](_0x582a[31], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){var _0x48a3x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x8[_0x582a[18]];_0x48a3x6++){this[_0x582a[20]](_0x48a3x3,_0x48a3x8[_0x48a3x6],[mxConstants[_0x582a[32]]],[_0x48a3x8[_0x48a3x6]],null,_0x48a3x4)};_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[25]),_0x582a[33],_0x582a[34],mxConstants.STYLE_FONTSIZE,_0x48a3x4)})));this[_0x582a[30]](_0x582a[35], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){var _0x48a3x8=[1,2,3,4,8,12,16,24];for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x8[_0x582a[18]];_0x48a3x6++){this[_0x582a[20]](_0x48a3x3,_0x48a3x8[_0x48a3x6]+_0x582a[36],[mxConstants[_0x582a[37]]],[_0x48a3x8[_0x48a3x6]],null,_0x48a3x4)};_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[25]),_0x582a[38],_0x582a[39],mxConstants.STYLE_STROKEWIDTH,_0x48a3x4)})));this[_0x582a[30]](_0x582a[40], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[41]),[mxConstants[_0x582a[42]]],[null],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[43]),[mxConstants[_0x582a[42]]],[_0x582a[44]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[45]),[mxConstants[_0x582a[42]],mxConstants[_0x582a[46]]],[_0x582a[47],_0x582a[45]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[48]),[mxConstants[_0x582a[42]],mxConstants[_0x582a[46]]],[_0x582a[47],_0x582a[48]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[49]),[mxConstants[_0x582a[42]]],[_0x582a[50]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[51]),[mxConstants[_0x582a[42]]],[_0x582a[52]],null,_0x48a3x4)})));this[_0x582a[30]](_0x582a[53], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[54]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[56]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[57]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[58]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[59]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[60]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[61]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[62]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[63]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[64]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[65]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[66]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[67]),[mxConstants[_0x582a[55]]],[mxConstants[_0x582a[68]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[69]),null,function(){_0x48a3x2[_0x582a[71]](_0x582a[70],true)},_0x48a3x4,null,true);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[73]),_0x582a[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0x48a3x4)})));this[_0x582a[30]](_0x582a[74], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[54]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[56]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[57]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[58]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[59]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[60]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[61]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[62]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[63]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[64]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[65]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[66]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[67]),[mxConstants[_0x582a[75]]],[mxConstants[_0x582a[68]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[69]),null,function(){_0x48a3x2[_0x582a[71]](_0x582a[76],true)},_0x48a3x4,null,true);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[73]),_0x582a[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0x48a3x4)})));this[_0x582a[30]](_0x582a[77], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){var _0x48a3x9=this[_0x582a[0]][_0x582a[80]][_0x582a[26]](_0x582a[79])[_0x582a[78]];var _0x48a3xa=this[_0x582a[26]](_0x582a[40])[_0x582a[78]];if(_0x48a3x9||_0x48a3x3[_0x582a[81]]){this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[82]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SPACING_TOP,_0x48a3x4,_0x48a3x9);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[84]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SPACING_RIGHT,_0x48a3x4,_0x48a3x9);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[85]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SPACING_BOTTOM,_0x48a3x4,_0x48a3x9);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[86]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SPACING_LEFT,_0x48a3x4,_0x48a3x9);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[87]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SPACING,_0x48a3x4,_0x48a3x9);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[88]),_0x582a[38],_0x582a[83],mxConstants.STYLE_PERIMETER_SPACING,_0x48a3x4,_0x48a3x9)};if(_0x48a3xa||_0x48a3x3[_0x582a[81]]){_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[89]),_0x582a[38],_0x582a[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0x48a3x4,_0x48a3xa);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[90]),_0x582a[38],_0x582a[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0x48a3x4,_0x48a3xa)}})));this[_0x582a[30]](_0x582a[91], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[92]](_0x48a3x3,_0x582a[21],_0x48a3x4)})));this[_0x582a[30]](_0x582a[93], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){var _0x48a3xb=this[_0x582a[26]](_0x582a[93])[_0x582a[78]];_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[94]](_0x582a[8],_0x48a3x3,_0x48a3x4);this[_0x582a[94]](_0x582a[31],_0x48a3x3,_0x48a3x4);this[_0x582a[99]](_0x48a3x3,[_0x582a[95],_0x582a[96],_0x582a[97],_0x582a[98],_0x582a[95]],_0x48a3x4);this[_0x582a[94]](_0x582a[100],_0x48a3x3,_0x48a3x4);this[_0x582a[92]](_0x48a3x3,_0x582a[101],_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[28]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[102]),_0x582a[103],_0x582a[104],mxConstants.STYLE_TEXT_OPACITY,_0x48a3x4,_0x48a3xb);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[105]),null,function(){_0x48a3x2[_0x582a[71]](mxConstants.STYLE_NOLABEL,false)},_0x48a3x4,null,_0x48a3xb)})));this[_0x582a[30]](_0x582a[100], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[106]),[mxConstants[_0x582a[107]]],[mxConstants[_0x582a[108]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[109]),[mxConstants[_0x582a[107]]],[mxConstants[_0x582a[110]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[111]),[mxConstants[_0x582a[107]]],[mxConstants[_0x582a[112]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[113]),[mxConstants[_0x582a[114]]],[mxConstants[_0x582a[115]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[116]),[mxConstants[_0x582a[114]]],[mxConstants[_0x582a[117]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[118]),[mxConstants[_0x582a[114]]],[mxConstants[_0x582a[119]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[94]](_0x582a[120],_0x48a3x3,_0x48a3x4);this[_0x582a[94]](_0x582a[77],_0x48a3x3,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);var _0x48a3xb=this[_0x582a[26]](_0x582a[93])[_0x582a[78]];_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[48]),null,function(){_0x48a3x2[_0x582a[71]](mxConstants.STYLE_HORIZONTAL,true)},_0x48a3x4,null,_0x48a3xb)})));this[_0x582a[30]](_0x582a[120], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[86]),[mxConstants[_0x582a[121]],mxConstants[_0x582a[107]]],[mxConstants[_0x582a[108]],mxConstants[_0x582a[112]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[109]),[mxConstants[_0x582a[121]],mxConstants[_0x582a[107]]],[mxConstants[_0x582a[110]],mxConstants[_0x582a[110]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[84]),[mxConstants[_0x582a[121]],mxConstants[_0x582a[107]]],[mxConstants[_0x582a[112]],mxConstants[_0x582a[108]]],null,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[82]),[mxConstants[_0x582a[122]],mxConstants[_0x582a[114]]],[mxConstants[_0x582a[115]],mxConstants[_0x582a[119]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[116]),[mxConstants[_0x582a[122]],mxConstants[_0x582a[114]]],[mxConstants[_0x582a[117]],mxConstants[_0x582a[117]]],null,_0x48a3x4);this[_0x582a[20]](_0x48a3x3,mxResources[_0x582a[26]](_0x582a[85]),[mxConstants[_0x582a[122]],mxConstants[_0x582a[114]]],[mxConstants[_0x582a[119]],mxConstants[_0x582a[115]]],null,_0x48a3x4)})));this[_0x582a[30]](_0x582a[123], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[124]),null,function(){_0x48a3x2[_0x582a[71]](mxConstants.STYLE_FLIPH,false)},_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[125]),null,function(){_0x48a3x2[_0x582a[71]](mxConstants.STYLE_FLIPV,false)},_0x48a3x4);this[_0x582a[99]](_0x48a3x3,[_0x582a[95],_0x582a[126],_0x582a[127]],_0x48a3x4)})));this[_0x582a[30]](_0x582a[128], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[106]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_LEFT)},_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[109]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_CENTER)},_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[111]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_RIGHT)},_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[113]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_TOP)},_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[116]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_MIDDLE)},_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[118]),null,function(){_0x48a3x2[_0x582a[129]](mxConstants.ALIGN_BOTTOM)},_0x48a3x4)})));this[_0x582a[30]](_0x582a[130], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[131]),null,mxUtils[_0x582a[29]](this,function(){var _0x48a3xc= new mxHierarchicalLayout(_0x48a3x2,mxConstants.DIRECTION_WEST);this[_0x582a[0]][_0x582a[132]](_0x48a3xc,true,true)}),_0x48a3x4);_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x582a[133]),null,mxUtils[_0x582a[29]](this,function(){var _0x48a3xc= new mxHierarchicalLayout(_0x48a3x2,mxConstants.DIRECTION_NORTH);this[_0x582a[0]][_0x582a[132]](_0x48a3xc,true,true)}),_0x48a3x4)})));this[_0x582a[30]](_0x582a[134], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[135],_0x582a[95],_0x582a[136],_0x582a[137],_0x582a[95],_0x582a[138],_0x582a[139]],_0x48a3x4)})));this[_0x582a[30]](_0x582a[140], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[141],_0x582a[142],_0x582a[95]],_0x48a3x4);this[_0x582a[94]](_0x582a[130],_0x48a3x3,_0x48a3x4);_0x48a3x3[_0x582a[24]](_0x48a3x4);this[_0x582a[99]](_0x48a3x3,[_0x582a[95],_0x582a[143],_0x582a[144],_0x582a[145]],_0x48a3x4)})));this[_0x582a[30]](_0x582a[146], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[147]],_0x48a3x4);_0x48a3x3[_0x582a[24]]();var _0x48a3xd=[0.25,0.5,0.75,1,2,4];for(var _0x48a3x6=0;_0x48a3x6<_0x48a3xd[_0x582a[18]];_0x48a3x6++){(function(_0x48a3xe){_0x48a3x3[_0x582a[72]]((_0x48a3xe*100)+_0x582a[148],null,function(){_0x48a3x2[_0x582a[149]](_0x48a3xe)},_0x48a3x4)})(_0x48a3xd[_0x48a3x6])};this[_0x582a[99]](_0x48a3x3,[_0x582a[95],_0x582a[150],_0x582a[151],_0x582a[95],_0x582a[152],_0x582a[153],_0x582a[95],_0x582a[154],_0x582a[155]],_0x48a3x4)})));this[_0x582a[30]](_0x582a[156], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[157],_0x582a[158],_0x582a[95],_0x582a[159],_0x582a[160],_0x582a[161],_0x582a[95],_0x582a[162],_0x582a[95],_0x582a[163],_0x582a[164],_0x582a[95],_0x582a[165],_0x582a[166],_0x582a[95],_0x582a[167]],_0x48a3x4)})));this[_0x582a[30]](_0x582a[168], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[169],_0x582a[170],_0x582a[95],_0x582a[171],_0x582a[172],_0x582a[173],_0x582a[174],_0x582a[95],_0x582a[175],_0x582a[95],_0x582a[176],_0x582a[177],_0x582a[178]])})));this[_0x582a[30]](_0x582a[179], new Menu(mxUtils[_0x582a[29]](this,function(_0x48a3x3,_0x48a3x4){this[_0x582a[99]](_0x48a3x3,[_0x582a[179],_0x582a[95],_0x582a[180]])})))};Menus[_0x582a[5]][_0x582a[30]]=function(_0x48a3xf,_0x48a3x3){this[_0x582a[1]][_0x48a3xf]=_0x48a3x3};Menus[_0x582a[5]][_0x582a[26]]=function(_0x48a3xf){return this[_0x582a[1]][_0x48a3xf]};Menus[_0x582a[5]][_0x582a[94]]=function(_0x48a3xf,_0x48a3x3,_0x48a3x4){var _0x48a3xb=this[_0x582a[26]](_0x48a3xf)[_0x582a[78]];if(_0x48a3x3[_0x582a[81]]||_0x48a3xb){var _0x48a3x10=_0x48a3x3[_0x582a[72]](mxResources[_0x582a[26]](_0x48a3xf),null,null,_0x48a3x4,null,_0x48a3xb);this[_0x582a[181]](_0x48a3xf,_0x48a3x3,_0x48a3x10)}};Menus[_0x582a[5]][_0x582a[181]]=function(_0x48a3xf,_0x48a3x11,_0x48a3x4){var _0x48a3x3=this[_0x582a[26]](_0x48a3xf);if(_0x48a3x3!=null&&(_0x48a3x11[_0x582a[81]]||_0x48a3x3[_0x582a[78]])){this[_0x582a[26]](_0x48a3xf)[_0x582a[182]](_0x48a3x11,_0x48a3x4)}};Menus[_0x582a[5]][_0x582a[20]]=function(_0x48a3x3,_0x48a3x12,_0x48a3x13,_0x48a3x14,_0x48a3x15,_0x48a3x4){return _0x48a3x3[_0x582a[72]](_0x48a3x12,null,mxUtils[_0x582a[29]](this,function(){var _0x48a3x2=this[_0x582a[0]][_0x582a[7]][_0x582a[6]];_0x48a3x2[_0x582a[184]]()[_0x582a[183]]();try{for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x13[_0x582a[18]];_0x48a3x6++){_0x48a3x2[_0x582a[185]](_0x48a3x13[_0x48a3x6],_0x48a3x14[_0x48a3x6])}}finally{_0x48a3x2[_0x582a[184]]()[_0x582a[186]]()}}),_0x48a3x4,_0x48a3x15)};Menus[_0x582a[5]][_0x582a[28]]=function(_0x48a3x3,_0x48a3x12,_0x48a3x16,_0x48a3x17,_0x48a3x18,_0x48a3x4,_0x48a3xb){return _0x48a3x3[_0x582a[72]](_0x48a3x12,null,mxUtils[_0x582a[29]](this,function(){var _0x48a3x2=this[_0x582a[0]][_0x582a[7]][_0x582a[6]];var _0x48a3x19=_0x48a3x17;var _0x48a3x1a=_0x48a3x2[_0x582a[189]]()[_0x582a[188]](_0x48a3x2[_0x582a[187]]());if(_0x48a3x1a!=null){_0x48a3x19=_0x48a3x1a[_0x582a[21]][_0x48a3x18]||_0x48a3x19};_0x48a3x19=mxUtils[_0x582a[192]](mxResources[_0x582a[26]](_0x582a[190])+((_0x48a3x16[_0x582a[18]]>0)?(_0x582a[191]+_0x48a3x16):_0x582a[27]),_0x48a3x19);if(_0x48a3x19!=null&&_0x48a3x19[_0x582a[18]]>0){_0x48a3x2[_0x582a[185]](_0x48a3x18,_0x48a3x19)}}),_0x48a3x4,null,_0x48a3xb)};Menus[_0x582a[5]][_0x582a[92]]=function(_0x48a3x3,_0x48a3x18,_0x48a3x4){var _0x48a3x1b=this[_0x582a[0]][_0x582a[80]][_0x582a[26]](_0x48a3x18);if(_0x48a3x1b!=null&&(_0x48a3x3[_0x582a[81]]||_0x48a3x1b[_0x582a[78]])){var _0x48a3x1c=_0x48a3x3[_0x582a[72]](_0x48a3x1b[_0x582a[193]],null,_0x48a3x1b[_0x582a[194]],_0x48a3x4,null,_0x48a3x1b[_0x582a[78]]);if(_0x48a3x1b[_0x582a[195]]&&_0x48a3x1b[_0x582a[196]]()){this[_0x582a[197]](_0x48a3x1c)};this[_0x582a[198]](_0x48a3x1c,_0x48a3x1b);return _0x48a3x1c};return null};Menus[_0x582a[5]][_0x582a[198]]=function(_0x48a3x1c,_0x48a3x1b){if(_0x48a3x1b[_0x582a[199]]!=null){var _0x48a3x1d=_0x48a3x1c[_0x582a[23]][_0x582a[22]][_0x582a[22]];var _0x48a3x1e=document[_0x582a[201]](_0x582a[200]);_0x48a3x1e[_0x582a[21]][_0x582a[202]]=_0x582a[203];mxUtils[_0x582a[204]](_0x48a3x1e,_0x48a3x1b[_0x582a[199]]);_0x48a3x1d[_0x582a[205]](_0x48a3x1e)}};Menus[_0x582a[5]][_0x582a[197]]=function(_0x48a3x1c){var _0x48a3x1d=_0x48a3x1c[_0x582a[23]][_0x582a[22]];_0x48a3x1d[_0x582a[21]][_0x582a[206]]=_0x582a[207]+IMAGE_PATH+_0x582a[208];_0x48a3x1d[_0x582a[21]][_0x582a[209]]=_0x582a[210];_0x48a3x1d[_0x582a[21]][_0x582a[211]]=_0x582a[212]};Menus[_0x582a[5]][_0x582a[99]]=function(_0x48a3x3,_0x48a3x13,_0x48a3x4){for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x13[_0x582a[18]];_0x48a3x6++){if(_0x48a3x13[_0x48a3x6]==_0x582a[95]){_0x48a3x3[_0x582a[24]](_0x48a3x4)}else {this[_0x582a[92]](_0x48a3x3,_0x48a3x13[_0x48a3x6],_0x48a3x4)}}};Menus[_0x582a[5]][_0x582a[213]]=function(_0x48a3x3,_0x48a3x1f,_0x48a3x20){var _0x48a3x2=this[_0x582a[0]][_0x582a[7]][_0x582a[6]];_0x48a3x3[_0x582a[214]]=true;if(_0x48a3x2[_0x582a[215]]()){this[_0x582a[99]](_0x48a3x3,[_0x582a[169],_0x582a[170],_0x582a[95],_0x582a[173],_0x582a[95]])}else {this[_0x582a[99]](_0x48a3x3,[_0x582a[174],_0x582a[95],_0x582a[171],_0x582a[172],_0x582a[95],_0x582a[175]]);if(_0x48a3x2[_0x582a[216]]()==1&&_0x48a3x2[_0x582a[184]]()[_0x582a[217]](_0x48a3x2[_0x582a[187]]())){this[_0x582a[99]](_0x48a3x3,[_0x582a[218]])};_0x48a3x3[_0x582a[24]]()};if(_0x48a3x2[_0x582a[216]]()>0){this[_0x582a[99]](_0x48a3x3,[_0x582a[141],_0x582a[142],_0x582a[95]]);if(_0x48a3x2[_0x582a[184]]()[_0x582a[217]](_0x48a3x2[_0x582a[187]]())){var _0x48a3x21=false;var _0x48a3x1f=_0x48a3x2[_0x582a[187]]();if(_0x48a3x1f!=null&&_0x48a3x2[_0x582a[184]]()[_0x582a[217]](_0x48a3x1f)){var _0x48a3x22=_0x48a3x2[_0x582a[220]][_0x582a[219]](_0x48a3x1f);if(_0x48a3x22 instanceof mxEdgeHandler&&_0x48a3x22[_0x582a[221]]!=null&&_0x48a3x22[_0x582a[221]][_0x582a[18]]>2){var _0x48a3x23=_0x48a3x22[_0x582a[222]]( new mxMouseEvent(_0x48a3x20));var _0x48a3x24=this[_0x582a[0]][_0x582a[80]][_0x582a[26]](_0x582a[223]);_0x48a3x24[_0x582a[224]]=_0x48a3x22;_0x48a3x24[_0x582a[225]]=_0x48a3x23;_0x48a3x21=_0x48a3x23>0&&_0x48a3x23<_0x48a3x22[_0x582a[221]][_0x582a[18]]}};this[_0x582a[99]](_0x48a3x3,[_0x582a[95],(_0x48a3x21)?_0x582a[223]:_0x582a[226]])}else {if(_0x48a3x2[_0x582a[216]]()>1){_0x48a3x3[_0x582a[24]]();this[_0x582a[99]](_0x48a3x3,[_0x582a[143]])}};_0x48a3x3[_0x582a[24]]();if(_0x48a3x2[_0x582a[216]]()==1){var _0x48a3x25=_0x48a3x2[_0x582a[227]](_0x48a3x2[_0x582a[187]]());if(_0x48a3x25!=null){this[_0x582a[99]](_0x48a3x3,[_0x582a[228]])}}}else {this[_0x582a[99]](_0x48a3x3,[_0x582a[95],_0x582a[176],_0x582a[177],_0x582a[95],_0x582a[178]])}};Menus[_0x582a[5]][_0x582a[229]]=function(_0x48a3x26){var _0x48a3x27= new Menubar(this[_0x582a[0]],_0x48a3x26);var _0x48a3x28=[_0x582a[156],_0x582a[168],_0x582a[146],_0x582a[91],_0x582a[93],_0x582a[140],_0x582a[179]];for(var _0x48a3x6=0;_0x48a3x6<_0x48a3x28[_0x582a[18]];_0x48a3x6++){_0x48a3x27[_0x582a[181]](mxResources[_0x582a[26]](_0x48a3x28[_0x48a3x6]),this[_0x582a[26]](_0x48a3x28[_0x48a3x6])[_0x582a[194]])};return _0x48a3x27};function Menubar(_0x48a3x1,_0x48a3x26){this[_0x582a[0]]=_0x48a3x1;this[_0x582a[230]]=_0x48a3x26;mxEvent[_0x582a[232]](document,mxUtils[_0x582a[29]](this,function(_0x48a3x20){this[_0x582a[231]]()}))}Menubar[_0x582a[5]][_0x582a[231]]=function(){if(this[_0x582a[233]]!=null){this[_0x582a[233]][_0x582a[231]]()}};Menubar[_0x582a[5]][_0x582a[181]]=function(_0x48a3x12,_0x48a3x2a){var _0x48a3x2b=document[_0x582a[201]](_0x582a[234]);_0x48a3x2b[_0x582a[237]](_0x582a[235],_0x582a[236]);_0x48a3x2b[_0x582a[238]]=_0x582a[239];mxUtils[_0x582a[204]](_0x48a3x2b,_0x48a3x12);this[_0x582a[240]](_0x48a3x2b,_0x48a3x2a);this[_0x582a[230]][_0x582a[205]](_0x48a3x2b);return _0x48a3x2b};Menubar[_0x582a[5]][_0x582a[240]]=function(_0x48a3x2b,_0x48a3x2a){if(_0x48a3x2a!=null){var _0x48a3x2c=true;var _0x48a3x2d=mxUtils[_0x582a[29]](this,function(_0x48a3x20){if(_0x48a3x2c&&_0x48a3x2b[_0x582a[78]]==null||_0x48a3x2b[_0x582a[78]]){this[_0x582a[0]][_0x582a[7]][_0x582a[6]][_0x582a[241]][_0x582a[231]]();var _0x48a3x3= new mxPopupMenu(_0x48a3x2a);_0x48a3x3[_0x582a[242]][_0x582a[238]]+=_0x582a[243];_0x48a3x3[_0x582a[214]]=true;_0x48a3x3[_0x582a[81]]=true;_0x48a3x3[_0x582a[244]]=true;_0x48a3x3[_0x582a[231]]=mxUtils[_0x582a[29]](this,function(){mxPopupMenu[_0x582a[5]][_0x582a[231]][_0x582a[245]](_0x48a3x3,arguments);_0x48a3x3[_0x582a[246]]();this[_0x582a[233]]=null;this[_0x582a[247]]=null});var _0x48a3x2e=_0x48a3x2b[_0x582a[248]]+document[_0x582a[251]](_0x582a[250])[_0x582a[249]]+22;var _0x48a3x2f=_0x48a3x2b[_0x582a[252]]+_0x48a3x2b[_0x582a[253]]+140;_0x48a3x3[_0x582a[254]](_0x48a3x2e,_0x48a3x2f,null,_0x48a3x20);this[_0x582a[233]]=_0x48a3x3;this[_0x582a[247]]=_0x48a3x2b};_0x48a3x2c=true;mxEvent[_0x582a[255]](_0x48a3x20)});mxEvent[_0x582a[257]](_0x48a3x2b,_0x582a[256],mxUtils[_0x582a[29]](this,function(_0x48a3x20){if(this[_0x582a[233]]!=null&&this[_0x582a[247]]!=_0x48a3x2b){this[_0x582a[231]]();_0x48a3x2d(_0x48a3x20)}}));mxEvent[_0x582a[257]](_0x48a3x2b,_0x582a[258],mxUtils[_0x582a[29]](this,function(){_0x48a3x2c=this[_0x582a[247]]!=_0x48a3x2b}));mxEvent[_0x582a[257]](_0x48a3x2b,_0x582a[259],_0x48a3x2d)}};function Menu(_0x48a3x2a,_0x48a3xb){mxEventSource[_0x582a[260]](this);this[_0x582a[194]]=_0x48a3x2a;this[_0x582a[78]]=(_0x48a3xb!=null)?_0x48a3xb:true}mxUtils[_0x582a[261]](Menu,mxEventSource);Menu[_0x582a[5]][_0x582a[262]]=function(_0x48a3x19){if(this[_0x582a[78]]!=_0x48a3x19){this[_0x582a[78]]=_0x48a3x19;this[_0x582a[264]]( new mxEventObject(_0x582a[263]))}};Menu[_0x582a[5]][_0x582a[182]]=function(_0x48a3x3,_0x48a3x4){this[_0x582a[194]](_0x48a3x3,_0x48a3x4)} \ 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 c39d34f..d5be0cb 100644 --- a/public/assets/plugins/square/js/Shapes.js +++ b/public/assets/plugins/square/js/Shapes.js @@ -1 +1 @@ -var _0xdc2b=["\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 _0x33dbx1(){}_0x33dbx1[_0xdc2b[0]]= new mxCylinder();_0x33dbx1[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx1;_0x33dbx1[_0xdc2b[0]][_0xdc2b[2]]=20;_0x33dbx1[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx8=Math[_0xdc2b[6]](_0x33dbx5,Math[_0xdc2b[6]](_0x33dbx6,mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]])));if(_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx8,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](_0x33dbx8,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](0,0);_0x33dbx2[_0xdc2b[7]](_0x33dbx8,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx8);_0x33dbx2[_0xdc2b[9]]()}else {_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbx8,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](_0x33dbx8,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6-_0x33dbx8);_0x33dbx2[_0xdc2b[8]](0,0);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[11]]=_0x33dbx1;function _0x33dbx9(){}_0x33dbx9[_0xdc2b[0]]= new mxCylinder();_0x33dbx9[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx9;_0x33dbx9[_0xdc2b[0]][_0xdc2b[2]]=30;_0x33dbx9[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx8=Math[_0xdc2b[6]](_0x33dbx5,Math[_0xdc2b[6]](_0x33dbx6,mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]])));if(_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx5-_0x33dbx8,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbx8,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx8);_0x33dbx2[_0xdc2b[9]]()}else {_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbx8,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,0);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[13]]=_0x33dbx9;function _0x33dbxa(){}_0x33dbxa[_0xdc2b[0]]= new mxCylinder();_0x33dbxa[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbxa;_0x33dbxa[_0xdc2b[0]][_0xdc2b[14]]=60;_0x33dbxa[_0xdc2b[0]][_0xdc2b[15]]=20;_0x33dbxa[_0xdc2b[0]][_0xdc2b[16]]=_0xdc2b[17];_0x33dbxa[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbxb=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[14],this[_0xdc2b[14]]);var _0x33dbxc=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[15],this[_0xdc2b[15]]);var _0x33dbxd=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[16],this[_0xdc2b[16]]);var _0x33dbxe=Math[_0xdc2b[6]](_0x33dbx5,_0x33dbxb);var _0x33dbxf=Math[_0xdc2b[6]](_0x33dbx6,_0x33dbxc);if(_0x33dbx7){if(_0x33dbxd==_0xdc2b[18]){_0x33dbx2[_0xdc2b[7]](0,_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbxe,_0x33dbxf)}else {_0x33dbx2[_0xdc2b[7]](_0x33dbx5-_0x33dbxe,_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbxf)};_0x33dbx2[_0xdc2b[9]]()}else {if(_0x33dbxd==_0xdc2b[18]){_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbxe,0);_0x33dbx2[_0xdc2b[8]](_0x33dbxe,_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbxf)}else {_0x33dbx2[_0xdc2b[7]](0,_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbxe,_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbxe,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,0)};_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbxf);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[19]]=_0x33dbxa;function _0x33dbx10(){}_0x33dbx10[_0xdc2b[0]]= new mxCylinder();_0x33dbx10[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx10;_0x33dbx10[_0xdc2b[0]][_0xdc2b[2]]=30;_0x33dbx10[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx8=Math[_0xdc2b[6]](_0x33dbx5,Math[_0xdc2b[6]](_0x33dbx6,mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]])));if(!_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx8,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx8);_0x33dbx2[_0xdc2b[8]](_0x33dbx8,0);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[20]]=_0x33dbx10;function _0x33dbx11(){}_0x33dbx11[_0xdc2b[0]]= new mxCylinder();_0x33dbx11[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx11;_0x33dbx11[_0xdc2b[0]][_0xdc2b[2]]=0.4;_0x33dbx11[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx8=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]]);var _0x33dbxf=_0x33dbx6*_0x33dbx8;var _0x33dbx12=1.4;if(!_0x33dbx7){_0x33dbx2[_0xdc2b[7]](0,_0x33dbxf/2);_0x33dbx2[_0xdc2b[21]](_0x33dbx5/4,_0x33dbxf*_0x33dbx12,_0x33dbx5/2,_0x33dbxf/2);_0x33dbx2[_0xdc2b[21]](_0x33dbx5*3/4,_0x33dbxf*(1-_0x33dbx12),_0x33dbx5,_0x33dbxf/2);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6-_0x33dbxf/2);_0x33dbx2[_0xdc2b[21]](_0x33dbx5*3/4,_0x33dbx6-_0x33dbxf*_0x33dbx12,_0x33dbx5/2,_0x33dbx6-_0x33dbxf/2);_0x33dbx2[_0xdc2b[21]](_0x33dbx5/4,_0x33dbx6-_0x33dbxf*(1-_0x33dbx12),0,_0x33dbx6-_0x33dbxf/2);_0x33dbx2[_0xdc2b[8]](0,_0x33dbxf/2);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[22]]=_0x33dbx11;function _0x33dbx13(){}_0x33dbx13[_0xdc2b[0]]= new mxCylinder();_0x33dbx13[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx13;_0x33dbx13[_0xdc2b[0]][_0xdc2b[2]]=0.2;_0x33dbx13[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx8=_0x33dbx5*mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]]);if(!_0x33dbx7){_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbx8,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6/2);_0x33dbx2[_0xdc2b[8]](_0x33dbx5-_0x33dbx8,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](_0x33dbx8,_0x33dbx6/2);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[23]]=_0x33dbx13;function _0x33dbx14(){mxRectangleShape[_0xdc2b[24]](this)}mxUtils[_0xdc2b[25]](_0x33dbx14,mxRectangleShape);_0x33dbx14[_0xdc2b[0]][_0xdc2b[26]]=function(){return false};_0x33dbx14[_0xdc2b[0]][_0xdc2b[27]]=function(_0x33dbx15,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6){var _0x33dbx16=Math[_0xdc2b[6]](_0x33dbx5/5,_0x33dbx6/5)+1;_0x33dbx15[_0xdc2b[28]]();_0x33dbx15[_0xdc2b[7]](_0x33dbx3+_0x33dbx5/2,_0x33dbx4+_0x33dbx16);_0x33dbx15[_0xdc2b[8]](_0x33dbx3+_0x33dbx5/2,_0x33dbx4+_0x33dbx6-_0x33dbx16);_0x33dbx15[_0xdc2b[7]](_0x33dbx3+_0x33dbx16,_0x33dbx4+_0x33dbx6/2);_0x33dbx15[_0xdc2b[8]](_0x33dbx3+_0x33dbx5-_0x33dbx16,_0x33dbx4+_0x33dbx6/2);_0x33dbx15[_0xdc2b[9]]();_0x33dbx15[_0xdc2b[29]]();mxRectangleShape[_0xdc2b[0]][_0xdc2b[27]][_0xdc2b[30]](this,arguments)};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[31]]=_0x33dbx14;function _0x33dbx17(){mxRectangleShape[_0xdc2b[24]](this)}mxUtils[_0xdc2b[25]](_0x33dbx17,mxRectangleShape);_0x33dbx17[_0xdc2b[0]][_0xdc2b[26]]=function(){return false};_0x33dbx17[_0xdc2b[0]][_0xdc2b[27]]=function(_0x33dbx15,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6){if(this[_0xdc2b[4]]!=null){if(this[_0xdc2b[4]][_0xdc2b[32]]==1){var _0x33dbx18=Math[_0xdc2b[34]](2,this[_0xdc2b[33]]+1);mxRectangleShape[_0xdc2b[0]][_0xdc2b[35]][_0xdc2b[24]](this,_0x33dbx15,_0x33dbx3+_0x33dbx18,_0x33dbx4+_0x33dbx18,_0x33dbx5-2*_0x33dbx18,_0x33dbx6-2*_0x33dbx18);mxRectangleShape[_0xdc2b[0]][_0xdc2b[27]][_0xdc2b[30]](this,arguments);_0x33dbx3+=_0x33dbx18;_0x33dbx4+=_0x33dbx18;_0x33dbx5-=2*_0x33dbx18;_0x33dbx6-=2*_0x33dbx18};_0x33dbx15[_0xdc2b[36]](false);var _0x33dbx19=0;var _0x33dbx1a=null;do{_0x33dbx1a=mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19]];if(_0x33dbx1a!=null){var _0x33dbx1b=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[38]];var _0x33dbx1c=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[39]];var _0x33dbx1d=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[40]];var _0x33dbx1e=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[41]];var _0x33dbx1f=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[42]]||0;var _0x33dbx20=this[_0xdc2b[4]][_0xdc2b[37]+_0x33dbx19+_0xdc2b[43]];if(_0x33dbx20!=null){_0x33dbx1f+=this[_0xdc2b[44]](_0x33dbx5+this[_0xdc2b[33]],_0x33dbx6+this[_0xdc2b[33]])*_0x33dbx20};var _0x33dbx21=_0x33dbx3;var _0x33dbx22=_0x33dbx4;if(_0x33dbx1b==mxConstants[_0xdc2b[45]]){_0x33dbx21+=(_0x33dbx5-_0x33dbx1d)/2}else {if(_0x33dbx1b==mxConstants[_0xdc2b[46]]){_0x33dbx21+=_0x33dbx5-_0x33dbx1d-_0x33dbx1f}else {_0x33dbx21+=_0x33dbx1f}};if(_0x33dbx1c==mxConstants[_0xdc2b[47]]){_0x33dbx22+=(_0x33dbx6-_0x33dbx1e)/2}else {if(_0x33dbx1c==mxConstants[_0xdc2b[48]]){_0x33dbx22+=_0x33dbx6-_0x33dbx1e-_0x33dbx1f}else {_0x33dbx22+=_0x33dbx1f}};_0x33dbx15[_0xdc2b[49]]();var _0x33dbx23= new _0x33dbx1a();_0x33dbx23[_0xdc2b[4]]=this[_0xdc2b[4]];_0x33dbx1a[_0xdc2b[0]][_0xdc2b[50]][_0xdc2b[24]](_0x33dbx23,_0x33dbx15,_0x33dbx21,_0x33dbx22,_0x33dbx1d,_0x33dbx1e);_0x33dbx15[_0xdc2b[51]]()};_0x33dbx19++}while(_0x33dbx1a!=null);}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[52]]=_0x33dbx17;function _0x33dbx24(){}_0x33dbx24[_0xdc2b[0]]= new mxCylinder();_0x33dbx24[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx24;_0x33dbx24[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){if(_0x33dbx7){_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5/2,_0x33dbx6/2);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,0);_0x33dbx2[_0xdc2b[9]]()}else {_0x33dbx2[_0xdc2b[7]](0,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[10]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[53]]=_0x33dbx24;function _0x33dbx25(){}_0x33dbx25[_0xdc2b[0]]= new mxCylinder();_0x33dbx25[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx25;_0x33dbx25[_0xdc2b[0]][_0xdc2b[54]]=true;_0x33dbx25[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx1d=_0x33dbx5/3;var _0x33dbx1e=_0x33dbx6/4;if(!_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[55]](_0x33dbx5/2-_0x33dbx1d,_0x33dbx1e,_0x33dbx5/2-_0x33dbx1d,0,_0x33dbx5/2,0);_0x33dbx2[_0xdc2b[55]](_0x33dbx5/2+_0x33dbx1d,0,_0x33dbx5/2+_0x33dbx1d,_0x33dbx1e,_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[8]](_0x33dbx5/2,2*_0x33dbx6/3);_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx6/3);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6/3);_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx6/3);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6/3);_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,2*_0x33dbx6/3);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx6);_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,2*_0x33dbx6/3);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[56]]=_0x33dbx25;function _0x33dbx26(){}_0x33dbx26[_0xdc2b[0]]= new mxCylinder();_0x33dbx26[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx26;_0x33dbx26[_0xdc2b[0]][_0xdc2b[2]]=10;_0x33dbx26[_0xdc2b[0]][_0xdc2b[54]]=true;_0x33dbx26[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbx27=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[2]]);var _0x33dbx1d=_0x33dbx27*2/3;var _0x33dbx1e=_0x33dbx27;if(!_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[55]](_0x33dbx5/2-_0x33dbx1d,_0x33dbx1e,_0x33dbx5/2-_0x33dbx1d,0,_0x33dbx5/2,0);_0x33dbx2[_0xdc2b[55]](_0x33dbx5/2+_0x33dbx1d,0,_0x33dbx5/2+_0x33dbx1d,_0x33dbx1e,_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[7]](_0x33dbx5/2,_0x33dbx1e);_0x33dbx2[_0xdc2b[8]](_0x33dbx5/2,_0x33dbx6);_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[57]]=_0x33dbx26;function _0x33dbx28(){}_0x33dbx28[_0xdc2b[0]]= new mxCylinder();_0x33dbx28[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx28;_0x33dbx28[_0xdc2b[0]][_0xdc2b[58]]=32;_0x33dbx28[_0xdc2b[0]][_0xdc2b[59]]=12;_0x33dbx28[_0xdc2b[0]][_0xdc2b[3]]=function(_0x33dbx2,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6,_0x33dbx7){var _0x33dbxe=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[58],this[_0xdc2b[58]]);var _0x33dbxf=mxUtils[_0xdc2b[5]](this[_0xdc2b[4]],_0xdc2b[59],this[_0xdc2b[59]]);var _0x33dbx29=_0x33dbxe/2;var _0x33dbx2a=_0x33dbx29+_0x33dbxe/2;var _0x33dbx2b=0.3*_0x33dbx6-_0x33dbxf/2;var _0x33dbx2c=0.7*_0x33dbx6-_0x33dbxf/2;if(_0x33dbx7){_0x33dbx2[_0xdc2b[7]](_0x33dbx29,_0x33dbx2b);_0x33dbx2[_0xdc2b[8]](_0x33dbx2a,_0x33dbx2b);_0x33dbx2[_0xdc2b[8]](_0x33dbx2a,_0x33dbx2b+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2b+_0x33dbxf);_0x33dbx2[_0xdc2b[7]](_0x33dbx29,_0x33dbx2c);_0x33dbx2[_0xdc2b[8]](_0x33dbx2a,_0x33dbx2c);_0x33dbx2[_0xdc2b[8]](_0x33dbx2a,_0x33dbx2c+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2c+_0x33dbxf);_0x33dbx2[_0xdc2b[9]]()}else {_0x33dbx2[_0xdc2b[7]](_0x33dbx29,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,0);_0x33dbx2[_0xdc2b[8]](_0x33dbx5,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx6);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2c+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx2c+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx2c);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2c);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2b+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx2b+_0x33dbxf);_0x33dbx2[_0xdc2b[8]](0,_0x33dbx2b);_0x33dbx2[_0xdc2b[8]](_0x33dbx29,_0x33dbx2b);_0x33dbx2[_0xdc2b[10]]();_0x33dbx2[_0xdc2b[9]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[60]]=_0x33dbx28;function _0x33dbx2d(){}_0x33dbx2d[_0xdc2b[0]]= new mxDoubleEllipse();_0x33dbx2d[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx2d;_0x33dbx2d[_0xdc2b[0]][_0xdc2b[61]]=true;_0x33dbx2d[_0xdc2b[0]][_0xdc2b[50]]=function(_0x33dbx15,_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6){var _0x33dbx18=Math[_0xdc2b[6]](4,Math[_0xdc2b[6]](_0x33dbx5/5,_0x33dbx6/5));if(_0x33dbx5>0&&_0x33dbx6>0){_0x33dbx15[_0xdc2b[62]](_0x33dbx3+_0x33dbx18,_0x33dbx4+_0x33dbx18,_0x33dbx5-2*_0x33dbx18,_0x33dbx6-2*_0x33dbx18);_0x33dbx15[_0xdc2b[63]]()};_0x33dbx15[_0xdc2b[64]](false);if(this[_0xdc2b[61]]){_0x33dbx15[_0xdc2b[62]](_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6);_0x33dbx15[_0xdc2b[29]]()}};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[65]]=_0x33dbx2d;function _0x33dbx2e(){}_0x33dbx2e[_0xdc2b[0]]= new _0x33dbx2d();_0x33dbx2e[_0xdc2b[0]][_0xdc2b[1]]=_0x33dbx2e;_0x33dbx2e[_0xdc2b[0]][_0xdc2b[61]]=false;mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[66]]=_0x33dbx2e;var _0x33dbx2f=mxImageExport[_0xdc2b[0]][_0xdc2b[67]];mxImageExport[_0xdc2b[0]][_0xdc2b[67]]=function(){_0x33dbx2f[_0xdc2b[30]](this,arguments);function _0x33dbx30(_0x33dbx31){return {drawShape:function(_0x33dbx32,_0x33dbx33,_0x33dbx34,_0x33dbx35){var _0x33dbx3=_0x33dbx34[_0xdc2b[68]];var _0x33dbx4=_0x33dbx34[_0xdc2b[69]];var _0x33dbx5=_0x33dbx34[_0xdc2b[70]];var _0x33dbx6=_0x33dbx34[_0xdc2b[71]];if(_0x33dbx35){var _0x33dbx18=Math[_0xdc2b[6]](4,Math[_0xdc2b[6]](_0x33dbx5/5,_0x33dbx6/5));_0x33dbx3+=_0x33dbx18;_0x33dbx4+=_0x33dbx18;_0x33dbx5-=2*_0x33dbx18;_0x33dbx6-=2*_0x33dbx18;if(_0x33dbx5>0&&_0x33dbx6>0){_0x33dbx32[_0xdc2b[62]](_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6)};return true}else {_0x33dbx32[_0xdc2b[63]]();if(_0x33dbx31){_0x33dbx32[_0xdc2b[62]](_0x33dbx3,_0x33dbx4,_0x33dbx5,_0x33dbx6);_0x33dbx32[_0xdc2b[29]]()}}}}}this[_0xdc2b[72]][_0xdc2b[65]]=_0x33dbx30(true);this[_0xdc2b[72]][_0xdc2b[66]]=_0x33dbx30(false)};function _0x33dbx36(){mxArrow[_0xdc2b[24]](this)}mxUtils[_0xdc2b[25]](_0x33dbx36,mxArrow);_0x33dbx36[_0xdc2b[0]][_0xdc2b[73]]=function(_0x33dbx15,_0x33dbx37){var _0x33dbx1d=10;var _0x33dbx38=_0x33dbx37[0];var _0x33dbx39=_0x33dbx37[_0x33dbx37[_0xdc2b[74]]-1];var _0x33dbxe=_0x33dbx39[_0xdc2b[68]]-_0x33dbx38[_0xdc2b[68]];var _0x33dbxf=_0x33dbx39[_0xdc2b[69]]-_0x33dbx38[_0xdc2b[69]];var _0x33dbx3a=Math[_0xdc2b[75]](_0x33dbxe*_0x33dbxe+_0x33dbxf*_0x33dbxf);var _0x33dbx3b=_0x33dbx3a;var _0x33dbx3c=_0x33dbxe/_0x33dbx3a;var _0x33dbx3d=_0x33dbxf/_0x33dbx3a;var _0x33dbx3e=_0x33dbx3b*_0x33dbx3c;var _0x33dbx3f=_0x33dbx3b*_0x33dbx3d;var _0x33dbx40=_0x33dbx1d*_0x33dbx3d/3;var _0x33dbx41=-_0x33dbx1d*_0x33dbx3c/3;var _0x33dbx42=_0x33dbx38[_0xdc2b[68]]-_0x33dbx40/2;var _0x33dbx43=_0x33dbx38[_0xdc2b[69]]-_0x33dbx41/2;var _0x33dbx44=_0x33dbx42+_0x33dbx40;var _0x33dbx45=_0x33dbx43+_0x33dbx41;var _0x33dbx46=_0x33dbx44+_0x33dbx3e;var _0x33dbx47=_0x33dbx45+_0x33dbx3f;var _0x33dbx48=_0x33dbx46+_0x33dbx40;var _0x33dbx49=_0x33dbx47+_0x33dbx41;var _0x33dbx4a=_0x33dbx48-3*_0x33dbx40;var _0x33dbx4b=_0x33dbx49-3*_0x33dbx41;_0x33dbx15[_0xdc2b[28]]();_0x33dbx15[_0xdc2b[7]](_0x33dbx44,_0x33dbx45);_0x33dbx15[_0xdc2b[8]](_0x33dbx46,_0x33dbx47);_0x33dbx15[_0xdc2b[7]](_0x33dbx4a+_0x33dbx40,_0x33dbx4b+_0x33dbx41);_0x33dbx15[_0xdc2b[8]](_0x33dbx42,_0x33dbx43);_0x33dbx15[_0xdc2b[29]]()};mxCellRenderer[_0xdc2b[0]][_0xdc2b[12]][_0xdc2b[76]]=_0x33dbx36;mxMarker[_0xdc2b[78]](_0xdc2b[77],function(_0x33dbx32,_0x33dbx1a,_0x33dbx4c,_0x33dbx39,_0x33dbx4d,_0x33dbx4e,_0x33dbx4f,_0x33dbx50,_0x33dbx51,_0x33dbx52){var _0x33dbx3c=_0x33dbx4d*(_0x33dbx4f+_0x33dbx51+1);var _0x33dbx3d=_0x33dbx4e*(_0x33dbx4f+_0x33dbx51+1);return function(){_0x33dbx32[_0xdc2b[28]]();_0x33dbx32[_0xdc2b[7]](_0x33dbx39[_0xdc2b[68]]-_0x33dbx3c/2-_0x33dbx3d/2,_0x33dbx39[_0xdc2b[69]]-_0x33dbx3d/2+_0x33dbx3c/2);_0x33dbx32[_0xdc2b[8]](_0x33dbx39[_0xdc2b[68]]+_0x33dbx3d/2-3*_0x33dbx3c/2,_0x33dbx39[_0xdc2b[69]]-3*_0x33dbx3d/2-_0x33dbx3c/2);_0x33dbx32[_0xdc2b[29]]()}});var _0x33dbx53=-99;if( typeof (mxVertexHandler)!=_0xdc2b[79]){function _0x33dbx54(_0x33dbx33){mxVertexHandler[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx54,mxVertexHandler);_0x33dbx54[_0xdc2b[0]][_0xdc2b[80]]=false;_0x33dbx54[_0xdc2b[0]][_0xdc2b[81]]=function(){this[_0xdc2b[82]]=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],mxConstants.STYLE_HORIZONTAL,true);var _0x33dbx55=this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]];if(this[_0xdc2b[86]]!=null){var _0x33dbx34= new mxRectangle(0,0,this[_0xdc2b[86]][_0xdc2b[70]],this[_0xdc2b[86]][_0xdc2b[71]]);this[_0xdc2b[87]]= new mxImageShape(_0x33dbx34,this[_0xdc2b[86]][_0xdc2b[88]])}else {var _0x33dbx4f=10;var _0x33dbx34= new mxRectangle(0,0,_0x33dbx4f,_0x33dbx4f);this[_0xdc2b[87]]= new mxRhombus(_0x33dbx34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0xdc2b[87]][_0xdc2b[89]]=(_0x33dbx55[_0xdc2b[89]]!=mxConstants[_0xdc2b[90]])?mxConstants[_0xdc2b[91]]:mxConstants[_0xdc2b[90]];this[_0xdc2b[87]][_0xdc2b[81]](_0x33dbx55[_0xdc2b[93]]()[_0xdc2b[92]]());this[_0xdc2b[87]][_0xdc2b[95]][_0xdc2b[4]][_0xdc2b[94]]=this[_0xdc2b[96]]();mxEvent[_0xdc2b[97]](this[_0xdc2b[87]][_0xdc2b[95]],_0x33dbx55,this[_0xdc2b[83]]);mxVertexHandler[_0xdc2b[0]][_0xdc2b[81]][_0xdc2b[30]](this,arguments)};_0x33dbx54[_0xdc2b[0]][_0xdc2b[96]]=function(){return _0xdc2b[98]};_0x33dbx54[_0xdc2b[0]][_0xdc2b[99]]=function(){mxVertexHandler[_0xdc2b[0]][_0xdc2b[99]][_0xdc2b[30]](this,arguments);var _0x33dbx4f=this[_0xdc2b[87]][_0xdc2b[100]][_0xdc2b[70]];this[_0xdc2b[87]][_0xdc2b[100]]=this[_0xdc2b[101]](_0x33dbx4f);this[_0xdc2b[87]][_0xdc2b[99]]()};_0x33dbx54[_0xdc2b[0]][_0xdc2b[102]]=function(){mxVertexHandler[_0xdc2b[0]][_0xdc2b[102]][_0xdc2b[30]](this,arguments);if(this[_0xdc2b[87]]!=null){this[_0xdc2b[87]][_0xdc2b[102]]();this[_0xdc2b[87]]=null}};_0x33dbx54[_0xdc2b[0]][_0xdc2b[103]]=function(_0x33dbx56){if(_0x33dbx56[_0xdc2b[104]](this[_0xdc2b[87]])){return _0x33dbx53};return mxVertexHandler[_0xdc2b[0]][_0xdc2b[103]][_0xdc2b[30]](this,arguments)};_0x33dbx54[_0xdc2b[0]][_0xdc2b[105]]=function(_0x33dbx57,_0x33dbx56){if(!_0x33dbx56[_0xdc2b[106]]()&&this[_0xdc2b[107]]==_0x33dbx53){var _0x33dbx58= new mxPoint(_0x33dbx56[_0xdc2b[108]](),_0x33dbx56[_0xdc2b[109]]());this[_0xdc2b[110]](_0x33dbx58);var _0x33dbx59=this[_0xdc2b[84]][_0xdc2b[112]](_0x33dbx56[_0xdc2b[111]]());var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];if(_0x33dbx59&&this[_0xdc2b[80]]){_0x33dbx58[_0xdc2b[68]]=this[_0xdc2b[84]][_0xdc2b[114]](_0x33dbx58[_0xdc2b[68]]/_0x33dbx5a)*_0x33dbx5a;_0x33dbx58[_0xdc2b[69]]=this[_0xdc2b[84]][_0xdc2b[114]](_0x33dbx58[_0xdc2b[69]]/_0x33dbx5a)*_0x33dbx5a};this[_0xdc2b[115]](_0x33dbx58);this[_0xdc2b[116]](this[_0xdc2b[87]],_0x33dbx58[_0xdc2b[68]],_0x33dbx58[_0xdc2b[69]]);this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]][_0xdc2b[117]][_0xdc2b[99]](this[_0xdc2b[83]],true);_0x33dbx56[_0xdc2b[118]]()}else {mxVertexHandler[_0xdc2b[0]][_0xdc2b[105]][_0xdc2b[30]](this,arguments)}};_0x33dbx54[_0xdc2b[0]][_0xdc2b[119]]=function(_0x33dbx57,_0x33dbx56){if(!_0x33dbx56[_0xdc2b[106]]()&&this[_0xdc2b[107]]==_0x33dbx53){this[_0xdc2b[120]]();this[_0xdc2b[121]]();_0x33dbx56[_0xdc2b[118]]()}else {mxVertexHandler[_0xdc2b[0]][_0xdc2b[119]][_0xdc2b[30]](this,arguments)}};_0x33dbx54[_0xdc2b[0]][_0xdc2b[101]]=function(_0x33dbx4f){var _0x33dbx5b=this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[122]]();var _0x33dbx5c=mxUtils[_0xdc2b[124]](_0x33dbx5b);var _0x33dbx5d=Math[_0xdc2b[125]](_0x33dbx5c);var _0x33dbx5e=Math[_0xdc2b[126]](_0x33dbx5c);var _0x33dbx34= new mxRectangle(this[_0xdc2b[83]][_0xdc2b[68]],this[_0xdc2b[83]][_0xdc2b[69]],this[_0xdc2b[83]][_0xdc2b[70]],this[_0xdc2b[83]][_0xdc2b[71]]);if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[127]]()){var _0x33dbx5f=(_0x33dbx34[_0xdc2b[70]]-_0x33dbx34[_0xdc2b[71]])/2;_0x33dbx34[_0xdc2b[68]]+=_0x33dbx5f;_0x33dbx34[_0xdc2b[69]]-=_0x33dbx5f;var _0x33dbx23=_0x33dbx34[_0xdc2b[70]];_0x33dbx34[_0xdc2b[70]]=_0x33dbx34[_0xdc2b[71]];_0x33dbx34[_0xdc2b[71]]=_0x33dbx23};var _0x33dbx60=this[_0xdc2b[128]](_0x33dbx34);if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[129]]){_0x33dbx60[_0xdc2b[68]]=2*_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx60[_0xdc2b[68]]};if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[130]]){_0x33dbx60[_0xdc2b[69]]=2*_0x33dbx34[_0xdc2b[69]]+_0x33dbx34[_0xdc2b[71]]-_0x33dbx60[_0xdc2b[69]]};_0x33dbx60=mxUtils[_0xdc2b[133]](_0x33dbx60,_0x33dbx5d,_0x33dbx5e, new mxPoint(this[_0xdc2b[83]][_0xdc2b[131]](),this[_0xdc2b[83]][_0xdc2b[132]]()));return new mxRectangle(_0x33dbx60[_0xdc2b[68]]-_0x33dbx4f/2,_0x33dbx60[_0xdc2b[69]]-_0x33dbx4f/2,_0x33dbx4f,_0x33dbx4f)};_0x33dbx54[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){return null};_0x33dbx54[_0xdc2b[0]][_0xdc2b[115]]=function(_0x33dbx58){};_0x33dbx54[_0xdc2b[0]][_0xdc2b[110]]=function(_0x33dbx58){_0x33dbx58[_0xdc2b[68]]=Math[_0xdc2b[34]](this[_0xdc2b[83]][_0xdc2b[68]],Math[_0xdc2b[6]](this[_0xdc2b[83]][_0xdc2b[68]]+this[_0xdc2b[83]][_0xdc2b[70]],_0x33dbx58[_0xdc2b[68]]));_0x33dbx58[_0xdc2b[69]]=Math[_0xdc2b[34]](this[_0xdc2b[83]][_0xdc2b[69]],Math[_0xdc2b[6]](this[_0xdc2b[83]][_0xdc2b[69]]+this[_0xdc2b[83]][_0xdc2b[71]],_0x33dbx58[_0xdc2b[69]]))};_0x33dbx54[_0xdc2b[0]][_0xdc2b[120]]=function(){};function _0x33dbx61(_0x33dbx33){_0x33dbx54[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx61,_0x33dbx54);_0x33dbx61[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];var _0x33dbxb=Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[70]],mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[14],60)*_0x33dbx5a);var _0x33dbxc=Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]],mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[15],20)*_0x33dbx5a);var _0x33dbxd=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[16],_0xdc2b[17]);var _0x33dbx3=(_0x33dbxd==_0xdc2b[18])?_0x33dbx34[_0xdc2b[68]]+_0x33dbxb:_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbxb;return new mxPoint(_0x33dbx3,_0x33dbx34[_0xdc2b[69]]+_0x33dbxc)};_0x33dbx61[_0xdc2b[0]][_0xdc2b[115]]=function(_0x33dbx58){var _0x33dbx5b=this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[122]]();var _0x33dbx5c=mxUtils[_0xdc2b[124]](_0x33dbx5b);var _0x33dbx5d=Math[_0xdc2b[125]](-_0x33dbx5c);var _0x33dbx5e=Math[_0xdc2b[126]](-_0x33dbx5c);var _0x33dbx34= new mxRectangle(this[_0xdc2b[83]][_0xdc2b[68]],this[_0xdc2b[83]][_0xdc2b[69]],this[_0xdc2b[83]][_0xdc2b[70]],this[_0xdc2b[83]][_0xdc2b[71]]);if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[127]]()){var _0x33dbx5f=(_0x33dbx34[_0xdc2b[70]]-_0x33dbx34[_0xdc2b[71]])/2;_0x33dbx34[_0xdc2b[68]]+=_0x33dbx5f;_0x33dbx34[_0xdc2b[69]]-=_0x33dbx5f;var _0x33dbx23=_0x33dbx34[_0xdc2b[70]];_0x33dbx34[_0xdc2b[70]]=_0x33dbx34[_0xdc2b[71]];_0x33dbx34[_0xdc2b[71]]=_0x33dbx23};var _0x33dbx60= new mxPoint(_0x33dbx58[_0xdc2b[68]],_0x33dbx58[_0xdc2b[69]]);_0x33dbx60=mxUtils[_0xdc2b[133]](_0x33dbx60,_0x33dbx5d,_0x33dbx5e, new mxPoint(this[_0xdc2b[83]][_0xdc2b[131]](),this[_0xdc2b[83]][_0xdc2b[132]]()));if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[129]]){_0x33dbx60[_0xdc2b[68]]=2*_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx60[_0xdc2b[68]]};if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[130]]){_0x33dbx60[_0xdc2b[69]]=2*_0x33dbx34[_0xdc2b[69]]+_0x33dbx34[_0xdc2b[71]]-_0x33dbx60[_0xdc2b[69]]};var _0x33dbx62=this[_0xdc2b[134]](_0x33dbx60,_0x33dbx34);if(_0x33dbx62!=null){if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[129]]){_0x33dbx62[_0xdc2b[68]]=2*_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx62[_0xdc2b[68]]};if(this[_0xdc2b[83]][_0xdc2b[123]][_0xdc2b[130]]){_0x33dbx62[_0xdc2b[69]]=2*_0x33dbx34[_0xdc2b[69]]+_0x33dbx34[_0xdc2b[71]]-_0x33dbx62[_0xdc2b[69]]};_0x33dbx5d=Math[_0xdc2b[125]](_0x33dbx5c);_0x33dbx5e=Math[_0xdc2b[126]](_0x33dbx5c);_0x33dbx62=mxUtils[_0xdc2b[133]](_0x33dbx62,_0x33dbx5d,_0x33dbx5e, new mxPoint(this[_0xdc2b[83]][_0xdc2b[131]](),this[_0xdc2b[83]][_0xdc2b[132]]()));_0x33dbx58[_0xdc2b[68]]=_0x33dbx62[_0xdc2b[68]];_0x33dbx58[_0xdc2b[69]]=_0x33dbx62[_0xdc2b[69]]}};_0x33dbx61[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx60,_0x33dbx34){var _0x33dbxd=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[16],_0xdc2b[17]);var _0x33dbxb=(_0x33dbxd==_0xdc2b[18])?_0x33dbx60[_0xdc2b[68]]-_0x33dbx34[_0xdc2b[68]]:_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx60[_0xdc2b[68]];var _0x33dbxc=_0x33dbx60[_0xdc2b[69]]-_0x33dbx34[_0xdc2b[69]];var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[14]]=Math[_0xdc2b[135]](Math[_0xdc2b[34]](1,_0x33dbxb)/_0x33dbx5a);this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[15]]=Math[_0xdc2b[135]](Math[_0xdc2b[34]](1,_0x33dbxc)/_0x33dbx5a)};_0x33dbx61[_0xdc2b[0]][_0xdc2b[120]]=function(){var _0x33dbx63=this[_0xdc2b[84]][_0xdc2b[136]]();_0x33dbx63[_0xdc2b[137]]();try{this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]][_0xdc2b[139]](_0xdc2b[14],this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[14]],[this[_0xdc2b[83]][_0xdc2b[138]]]);this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]][_0xdc2b[139]](_0xdc2b[15],this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[15]],[this[_0xdc2b[83]][_0xdc2b[138]]])}finally{_0x33dbx63[_0xdc2b[140]]()}};function _0x33dbx64(_0x33dbx33){_0x33dbx61[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx64,_0x33dbx61);_0x33dbx64[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];var _0x33dbx65=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]/2,_0x33dbx34[_0xdc2b[69]]+Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]],_0x33dbx65*_0x33dbx5a))};_0x33dbx64[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx58,_0x33dbx34){_0x33dbx58[_0xdc2b[68]]=_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]/2;startSize=_0x33dbx58[_0xdc2b[69]]-_0x33dbx34[_0xdc2b[69]];var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[141]]=Math[_0xdc2b[135]](Math[_0xdc2b[34]](1,startSize)/_0x33dbx5a);return _0x33dbx58};_0x33dbx64[_0xdc2b[0]][_0xdc2b[120]]=function(){this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]][_0xdc2b[139]](_0xdc2b[141],this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[141]],[this[_0xdc2b[83]][_0xdc2b[138]]])};function _0x33dbx66(_0x33dbx33){_0x33dbx61[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx66,_0x33dbx61);_0x33dbx66[_0xdc2b[0]][_0xdc2b[142]]=20;_0x33dbx66[_0xdc2b[0]][_0xdc2b[143]]=1;_0x33dbx66[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];var _0x33dbx67=Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[70]],Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]],mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[142]])*_0x33dbx5a/this[_0xdc2b[143]]));return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx67,_0x33dbx34[_0xdc2b[69]]+_0x33dbx67)};_0x33dbx66[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx60,_0x33dbx34){var _0x33dbx4f=Math[_0xdc2b[34]](0,Math[_0xdc2b[6]](Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[70]]/this[_0xdc2b[143]],_0x33dbx60[_0xdc2b[68]]-_0x33dbx34[_0xdc2b[68]]),Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]]/this[_0xdc2b[143]],_0x33dbx60[_0xdc2b[69]]-_0x33dbx34[_0xdc2b[69]])));var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[2]]=Math[_0xdc2b[135]](Math[_0xdc2b[34]](1,_0x33dbx4f)/_0x33dbx5a)*this[_0xdc2b[143]];return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx4f,_0x33dbx34[_0xdc2b[69]]+_0x33dbx4f)};_0x33dbx66[_0xdc2b[0]][_0xdc2b[120]]=function(){this[_0xdc2b[83]][_0xdc2b[85]][_0xdc2b[84]][_0xdc2b[139]](_0xdc2b[2],this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[2]],[this[_0xdc2b[83]][_0xdc2b[138]]])};function _0x33dbx68(_0x33dbx33){_0x33dbx66[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx68,_0x33dbx66);_0x33dbx68[_0xdc2b[0]][_0xdc2b[142]]=30;_0x33dbx68[_0xdc2b[0]][_0xdc2b[143]]=2;function _0x33dbx69(_0x33dbx33){_0x33dbx66[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx69,_0x33dbx66);_0x33dbx69[_0xdc2b[0]][_0xdc2b[142]]=30;_0x33dbx69[_0xdc2b[0]][_0xdc2b[143]]=1;_0x33dbx69[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];var _0x33dbx67=Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[70]],Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]],mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[142]])*_0x33dbx5a/this[_0xdc2b[143]]));return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx67,_0x33dbx34[_0xdc2b[69]]+_0x33dbx67)};_0x33dbx69[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx60,_0x33dbx34){var _0x33dbx4f=Math[_0xdc2b[34]](0,Math[_0xdc2b[6]](Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[70]]/this[_0xdc2b[143]],_0x33dbx60[_0xdc2b[68]]-_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]),Math[_0xdc2b[6]](_0x33dbx34[_0xdc2b[71]]/this[_0xdc2b[143]],_0x33dbx60[_0xdc2b[69]]-_0x33dbx34[_0xdc2b[69]])));var _0x33dbx5a=this[_0xdc2b[84]][_0xdc2b[93]]()[_0xdc2b[113]];this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[2]]=Math[_0xdc2b[135]](Math[_0xdc2b[34]](1,_0x33dbx4f)/_0x33dbx5a)*this[_0xdc2b[143]];return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]-_0x33dbx4f,_0x33dbx34[_0xdc2b[69]]+_0x33dbx4f)};function _0x33dbx6a(_0x33dbx33){_0x33dbx66[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx6a,_0x33dbx66);_0x33dbx6a[_0xdc2b[0]][_0xdc2b[142]]=0.2;_0x33dbx6a[_0xdc2b[0]][_0xdc2b[143]]=1;_0x33dbx6a[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx67=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[142]]);return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]*_0x33dbx67,_0x33dbx34[_0xdc2b[69]]+_0x33dbx34[_0xdc2b[71]]/2)};_0x33dbx6a[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx60,_0x33dbx34){var _0x33dbx4f=Math[_0xdc2b[6]](1,(_0x33dbx60[_0xdc2b[68]]-_0x33dbx34[_0xdc2b[68]])/_0x33dbx34[_0xdc2b[70]]);this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[2]]=_0x33dbx4f;return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx4f*_0x33dbx34[_0xdc2b[70]],_0x33dbx34[_0xdc2b[69]]+_0x33dbx34[_0xdc2b[71]]/2)};function _0x33dbx6b(_0x33dbx33){_0x33dbx66[_0xdc2b[24]](this,_0x33dbx33)}mxUtils[_0xdc2b[25]](_0x33dbx6b,_0x33dbx66);_0x33dbx6b[_0xdc2b[0]][_0xdc2b[142]]=0.4;_0x33dbx6b[_0xdc2b[0]][_0xdc2b[143]]=1;_0x33dbx6b[_0xdc2b[0]][_0xdc2b[128]]=function(_0x33dbx34){var _0x33dbx67=mxUtils[_0xdc2b[5]](this[_0xdc2b[83]][_0xdc2b[4]],_0xdc2b[2],this[_0xdc2b[142]]);return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]/2,_0x33dbx34[_0xdc2b[69]]+_0x33dbx67*_0x33dbx34[_0xdc2b[71]]/2)};_0x33dbx6b[_0xdc2b[0]][_0xdc2b[134]]=function(_0x33dbx60,_0x33dbx34){var _0x33dbx4f=Math[_0xdc2b[34]](0,Math[_0xdc2b[6]](1,((_0x33dbx60[_0xdc2b[69]]-_0x33dbx34[_0xdc2b[69]])/_0x33dbx34[_0xdc2b[71]])*2));this[_0xdc2b[83]][_0xdc2b[4]][_0xdc2b[2]]=_0x33dbx4f;return new mxPoint(_0x33dbx34[_0xdc2b[68]]+_0x33dbx34[_0xdc2b[70]]/2,_0x33dbx34[_0xdc2b[69]]+_0x33dbx4f*_0x33dbx34[_0xdc2b[71]]/2)};var _0x33dbx6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0x33dbx64,"\x66\x6F\x6C\x64\x65\x72":_0x33dbx61,"\x63\x75\x62\x65":_0x33dbx66,"\x63\x61\x72\x64":_0x33dbx68,"\x6E\x6F\x74\x65":_0x33dbx69,"\x73\x74\x65\x70":_0x33dbx6a,"\x74\x61\x70\x65":_0x33dbx6b};var _0x33dbx6d=mxGraph[_0xdc2b[0]][_0xdc2b[144]];mxGraph[_0xdc2b[0]][_0xdc2b[144]]=function(_0x33dbx33){if(_0x33dbx33!=null){var _0x33dbx6e=_0x33dbx6c[_0x33dbx33[_0xdc2b[4]][_0xdc2b[123]]];if(_0x33dbx6e!=null){return new _0x33dbx6e(_0x33dbx33)}};return _0x33dbx6d[_0xdc2b[30]](this,arguments)}};mxGraph[_0xdc2b[0]][_0xdc2b[145]]=function(_0x33dbx6f,_0x33dbx50){if(_0x33dbx6f!=null&&_0x33dbx6f[_0xdc2b[123]]!=null){if(_0x33dbx6f[_0xdc2b[123]][_0xdc2b[146]]!=null){if(_0x33dbx6f[_0xdc2b[123]][_0xdc2b[146]]!=null){return _0x33dbx6f[_0xdc2b[123]][_0xdc2b[146]][_0xdc2b[147]]}}else {if(_0x33dbx6f[_0xdc2b[123]][_0xdc2b[147]]!=null){return _0x33dbx6f[_0xdc2b[123]][_0xdc2b[147]]}}};return null};mxRectangleShape[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];mxImageShape[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];mxSwimlane[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];_0x33dbx14[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];_0x33dbx9[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];_0x33dbx10[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];_0x33dbx1[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];_0x33dbxa[_0xdc2b[0]][_0xdc2b[147]]=mxRectangleShape[_0xdc2b[0]][_0xdc2b[147]];mxCylinder[_0xdc2b[0]][_0xdc2b[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)];_0x33dbx25[_0xdc2b[0]][_0xdc2b[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)];_0x33dbx28[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[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)];_0x33dbx11[_0xdc2b[0]][_0xdc2b[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)];_0x33dbx13[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[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)];_0x33dbx26[_0xdc2b[0]][_0xdc2b[147]]=[ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[147]]=mxEllipse[_0xdc2b[0]][_0xdc2b[147]];mxRhombus[_0xdc2b[0]][_0xdc2b[147]]=mxEllipse[_0xdc2b[0]][_0xdc2b[147]];mxTriangle[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[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[_0xdc2b[0]][_0xdc2b[147]]=null})() \ No newline at end of file +var _0x4032=["\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 _0xf578x1(){}_0xf578x1[_0x4032[0]]= new mxCylinder();_0xf578x1[_0x4032[0]][_0x4032[1]]=_0xf578x1;_0xf578x1[_0x4032[0]][_0x4032[2]]=20;_0xf578x1[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x8=Math[_0x4032[6]](_0xf578x5,Math[_0x4032[6]](_0xf578x6,mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]])));if(_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x8,_0xf578x6);_0xf578x2[_0x4032[8]](_0xf578x8,_0xf578x8);_0xf578x2[_0x4032[8]](0,0);_0xf578x2[_0x4032[7]](_0xf578x8,_0xf578x8);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x8);_0xf578x2[_0x4032[9]]()}else {_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578x8,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x8);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](_0xf578x8,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6-_0xf578x8);_0xf578x2[_0x4032[8]](0,0);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[11]]=_0xf578x1;function _0xf578x9(){}_0xf578x9[_0x4032[0]]= new mxCylinder();_0xf578x9[_0x4032[0]][_0x4032[1]]=_0xf578x9;_0xf578x9[_0x4032[0]][_0x4032[2]]=30;_0xf578x9[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x8=Math[_0x4032[6]](_0xf578x5,Math[_0x4032[6]](_0xf578x6,mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]])));if(_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x5-_0xf578x8,0);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578x8,_0xf578x8);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x8);_0xf578x2[_0x4032[9]]()}else {_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578x8,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x8);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[8]](0,0);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[13]]=_0xf578x9;function _0xf578xa(){}_0xf578xa[_0x4032[0]]= new mxCylinder();_0xf578xa[_0x4032[0]][_0x4032[1]]=_0xf578xa;_0xf578xa[_0x4032[0]][_0x4032[14]]=60;_0xf578xa[_0x4032[0]][_0x4032[15]]=20;_0xf578xa[_0x4032[0]][_0x4032[16]]=_0x4032[17];_0xf578xa[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578xb=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[14],this[_0x4032[14]]);var _0xf578xc=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[15],this[_0x4032[15]]);var _0xf578xd=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[16],this[_0x4032[16]]);var _0xf578xe=Math[_0x4032[6]](_0xf578x5,_0xf578xb);var _0xf578xf=Math[_0x4032[6]](_0xf578x6,_0xf578xc);if(_0xf578x7){if(_0xf578xd==_0x4032[18]){_0xf578x2[_0x4032[7]](0,_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578xe,_0xf578xf)}else {_0xf578x2[_0x4032[7]](_0xf578x5-_0xf578xe,_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578xf)};_0xf578x2[_0x4032[9]]()}else {if(_0xf578xd==_0x4032[18]){_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578xe,0);_0xf578x2[_0x4032[8]](_0xf578xe,_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578xf)}else {_0xf578x2[_0x4032[7]](0,_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578xe,_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578xe,0);_0xf578x2[_0x4032[8]](_0xf578x5,0)};_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578xf);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[19]]=_0xf578xa;function _0xf578x10(){}_0xf578x10[_0x4032[0]]= new mxCylinder();_0xf578x10[_0x4032[0]][_0x4032[1]]=_0xf578x10;_0xf578x10[_0x4032[0]][_0x4032[2]]=30;_0xf578x10[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x8=Math[_0x4032[6]](_0xf578x5,Math[_0x4032[6]](_0xf578x6,mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]])));if(!_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x8,0);_0xf578x2[_0x4032[8]](_0xf578x5,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x8);_0xf578x2[_0x4032[8]](_0xf578x8,0);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[20]]=_0xf578x10;function _0xf578x11(){}_0xf578x11[_0x4032[0]]= new mxCylinder();_0xf578x11[_0x4032[0]][_0x4032[1]]=_0xf578x11;_0xf578x11[_0x4032[0]][_0x4032[2]]=0.4;_0xf578x11[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x8=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]]);var _0xf578xf=_0xf578x6*_0xf578x8;var _0xf578x12=1.4;if(!_0xf578x7){_0xf578x2[_0x4032[7]](0,_0xf578xf/2);_0xf578x2[_0x4032[21]](_0xf578x5/4,_0xf578xf*_0xf578x12,_0xf578x5/2,_0xf578xf/2);_0xf578x2[_0x4032[21]](_0xf578x5*3/4,_0xf578xf*(1-_0xf578x12),_0xf578x5,_0xf578xf/2);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6-_0xf578xf/2);_0xf578x2[_0x4032[21]](_0xf578x5*3/4,_0xf578x6-_0xf578xf*_0xf578x12,_0xf578x5/2,_0xf578x6-_0xf578xf/2);_0xf578x2[_0x4032[21]](_0xf578x5/4,_0xf578x6-_0xf578xf*(1-_0xf578x12),0,_0xf578x6-_0xf578xf/2);_0xf578x2[_0x4032[8]](0,_0xf578xf/2);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[22]]=_0xf578x11;function _0xf578x13(){}_0xf578x13[_0x4032[0]]= new mxCylinder();_0xf578x13[_0x4032[0]][_0x4032[1]]=_0xf578x13;_0xf578x13[_0x4032[0]][_0x4032[2]]=0.2;_0xf578x13[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x8=_0xf578x5*mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]]);if(!_0xf578x7){_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578x8,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6/2);_0xf578x2[_0x4032[8]](_0xf578x5-_0xf578x8,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[8]](_0xf578x8,_0xf578x6/2);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[23]]=_0xf578x13;function _0xf578x14(){mxRectangleShape[_0x4032[24]](this)}mxUtils[_0x4032[25]](_0xf578x14,mxRectangleShape);_0xf578x14[_0x4032[0]][_0x4032[26]]=function(){return false};_0xf578x14[_0x4032[0]][_0x4032[27]]=function(_0xf578x15,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6){var _0xf578x16=Math[_0x4032[6]](_0xf578x5/5,_0xf578x6/5)+1;_0xf578x15[_0x4032[28]]();_0xf578x15[_0x4032[7]](_0xf578x3+_0xf578x5/2,_0xf578x4+_0xf578x16);_0xf578x15[_0x4032[8]](_0xf578x3+_0xf578x5/2,_0xf578x4+_0xf578x6-_0xf578x16);_0xf578x15[_0x4032[7]](_0xf578x3+_0xf578x16,_0xf578x4+_0xf578x6/2);_0xf578x15[_0x4032[8]](_0xf578x3+_0xf578x5-_0xf578x16,_0xf578x4+_0xf578x6/2);_0xf578x15[_0x4032[9]]();_0xf578x15[_0x4032[29]]();mxRectangleShape[_0x4032[0]][_0x4032[27]][_0x4032[30]](this,arguments)};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[31]]=_0xf578x14;function _0xf578x17(){mxRectangleShape[_0x4032[24]](this)}mxUtils[_0x4032[25]](_0xf578x17,mxRectangleShape);_0xf578x17[_0x4032[0]][_0x4032[26]]=function(){return false};_0xf578x17[_0x4032[0]][_0x4032[27]]=function(_0xf578x15,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6){if(this[_0x4032[4]]!=null){if(this[_0x4032[4]][_0x4032[32]]==1){var _0xf578x18=Math[_0x4032[34]](2,this[_0x4032[33]]+1);mxRectangleShape[_0x4032[0]][_0x4032[35]][_0x4032[24]](this,_0xf578x15,_0xf578x3+_0xf578x18,_0xf578x4+_0xf578x18,_0xf578x5-2*_0xf578x18,_0xf578x6-2*_0xf578x18);mxRectangleShape[_0x4032[0]][_0x4032[27]][_0x4032[30]](this,arguments);_0xf578x3+=_0xf578x18;_0xf578x4+=_0xf578x18;_0xf578x5-=2*_0xf578x18;_0xf578x6-=2*_0xf578x18};_0xf578x15[_0x4032[36]](false);var _0xf578x19=0;var _0xf578x1a=null;do{_0xf578x1a=mxCellRenderer[_0x4032[0]][_0x4032[12]][this[_0x4032[4]][_0x4032[37]+_0xf578x19]];if(_0xf578x1a!=null){var _0xf578x1b=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[38]];var _0xf578x1c=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[39]];var _0xf578x1d=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[40]];var _0xf578x1e=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[41]];var _0xf578x1f=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[42]]||0;var _0xf578x20=this[_0x4032[4]][_0x4032[37]+_0xf578x19+_0x4032[43]];if(_0xf578x20!=null){_0xf578x1f+=this[_0x4032[44]](_0xf578x5+this[_0x4032[33]],_0xf578x6+this[_0x4032[33]])*_0xf578x20};var _0xf578x21=_0xf578x3;var _0xf578x22=_0xf578x4;if(_0xf578x1b==mxConstants[_0x4032[45]]){_0xf578x21+=(_0xf578x5-_0xf578x1d)/2}else {if(_0xf578x1b==mxConstants[_0x4032[46]]){_0xf578x21+=_0xf578x5-_0xf578x1d-_0xf578x1f}else {_0xf578x21+=_0xf578x1f}};if(_0xf578x1c==mxConstants[_0x4032[47]]){_0xf578x22+=(_0xf578x6-_0xf578x1e)/2}else {if(_0xf578x1c==mxConstants[_0x4032[48]]){_0xf578x22+=_0xf578x6-_0xf578x1e-_0xf578x1f}else {_0xf578x22+=_0xf578x1f}};_0xf578x15[_0x4032[49]]();var _0xf578x23= new _0xf578x1a();_0xf578x23[_0x4032[4]]=this[_0x4032[4]];_0xf578x1a[_0x4032[0]][_0x4032[50]][_0x4032[24]](_0xf578x23,_0xf578x15,_0xf578x21,_0xf578x22,_0xf578x1d,_0xf578x1e);_0xf578x15[_0x4032[51]]()};_0xf578x19++}while(_0xf578x1a!=null);}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[52]]=_0xf578x17;function _0xf578x24(){}_0xf578x24[_0x4032[0]]= new mxCylinder();_0xf578x24[_0x4032[0]][_0x4032[1]]=_0xf578x24;_0xf578x24[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){if(_0xf578x7){_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578x5/2,_0xf578x6/2);_0xf578x2[_0x4032[8]](_0xf578x5,0);_0xf578x2[_0x4032[9]]()}else {_0xf578x2[_0x4032[7]](0,0);_0xf578x2[_0x4032[8]](_0xf578x5,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[10]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[53]]=_0xf578x24;function _0xf578x25(){}_0xf578x25[_0x4032[0]]= new mxCylinder();_0xf578x25[_0x4032[0]][_0x4032[1]]=_0xf578x25;_0xf578x25[_0x4032[0]][_0x4032[54]]=true;_0xf578x25[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x1d=_0xf578x5/3;var _0xf578x1e=_0xf578x6/4;if(!_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[55]](_0xf578x5/2-_0xf578x1d,_0xf578x1e,_0xf578x5/2-_0xf578x1d,0,_0xf578x5/2,0);_0xf578x2[_0x4032[55]](_0xf578x5/2+_0xf578x1d,0,_0xf578x5/2+_0xf578x1d,_0xf578x1e,_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[8]](_0xf578x5/2,2*_0xf578x6/3);_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x6/3);_0xf578x2[_0x4032[8]](0,_0xf578x6/3);_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x6/3);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6/3);_0xf578x2[_0x4032[7]](_0xf578x5/2,2*_0xf578x6/3);_0xf578x2[_0x4032[8]](0,_0xf578x6);_0xf578x2[_0x4032[7]](_0xf578x5/2,2*_0xf578x6/3);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[56]]=_0xf578x25;function _0xf578x26(){}_0xf578x26[_0x4032[0]]= new mxCylinder();_0xf578x26[_0x4032[0]][_0x4032[1]]=_0xf578x26;_0xf578x26[_0x4032[0]][_0x4032[2]]=10;_0xf578x26[_0x4032[0]][_0x4032[54]]=true;_0xf578x26[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578x27=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[2],this[_0x4032[2]]);var _0xf578x1d=_0xf578x27*2/3;var _0xf578x1e=_0xf578x27;if(!_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[55]](_0xf578x5/2-_0xf578x1d,_0xf578x1e,_0xf578x5/2-_0xf578x1d,0,_0xf578x5/2,0);_0xf578x2[_0x4032[55]](_0xf578x5/2+_0xf578x1d,0,_0xf578x5/2+_0xf578x1d,_0xf578x1e,_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[7]](_0xf578x5/2,_0xf578x1e);_0xf578x2[_0x4032[8]](_0xf578x5/2,_0xf578x6);_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[57]]=_0xf578x26;function _0xf578x28(){}_0xf578x28[_0x4032[0]]= new mxCylinder();_0xf578x28[_0x4032[0]][_0x4032[1]]=_0xf578x28;_0xf578x28[_0x4032[0]][_0x4032[58]]=32;_0xf578x28[_0x4032[0]][_0x4032[59]]=12;_0xf578x28[_0x4032[0]][_0x4032[3]]=function(_0xf578x2,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6,_0xf578x7){var _0xf578xe=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[58],this[_0x4032[58]]);var _0xf578xf=mxUtils[_0x4032[5]](this[_0x4032[4]],_0x4032[59],this[_0x4032[59]]);var _0xf578x29=_0xf578xe/2;var _0xf578x2a=_0xf578x29+_0xf578xe/2;var _0xf578x2b=0.3*_0xf578x6-_0xf578xf/2;var _0xf578x2c=0.7*_0xf578x6-_0xf578xf/2;if(_0xf578x7){_0xf578x2[_0x4032[7]](_0xf578x29,_0xf578x2b);_0xf578x2[_0x4032[8]](_0xf578x2a,_0xf578x2b);_0xf578x2[_0x4032[8]](_0xf578x2a,_0xf578x2b+_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2b+_0xf578xf);_0xf578x2[_0x4032[7]](_0xf578x29,_0xf578x2c);_0xf578x2[_0x4032[8]](_0xf578x2a,_0xf578x2c);_0xf578x2[_0x4032[8]](_0xf578x2a,_0xf578x2c+_0xf578xf);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2c+_0xf578xf);_0xf578x2[_0x4032[9]]()}else {_0xf578x2[_0x4032[7]](_0xf578x29,0);_0xf578x2[_0x4032[8]](_0xf578x5,0);_0xf578x2[_0x4032[8]](_0xf578x5,_0xf578x6);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x6);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2c+_0xf578xf);_0xf578x2[_0x4032[8]](0,_0xf578x2c+_0xf578xf);_0xf578x2[_0x4032[8]](0,_0xf578x2c);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2c);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2b+_0xf578xf);_0xf578x2[_0x4032[8]](0,_0xf578x2b+_0xf578xf);_0xf578x2[_0x4032[8]](0,_0xf578x2b);_0xf578x2[_0x4032[8]](_0xf578x29,_0xf578x2b);_0xf578x2[_0x4032[10]]();_0xf578x2[_0x4032[9]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[60]]=_0xf578x28;function _0xf578x2d(){}_0xf578x2d[_0x4032[0]]= new mxDoubleEllipse();_0xf578x2d[_0x4032[0]][_0x4032[1]]=_0xf578x2d;_0xf578x2d[_0x4032[0]][_0x4032[61]]=true;_0xf578x2d[_0x4032[0]][_0x4032[50]]=function(_0xf578x15,_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6){var _0xf578x18=Math[_0x4032[6]](4,Math[_0x4032[6]](_0xf578x5/5,_0xf578x6/5));if(_0xf578x5>0&&_0xf578x6>0){_0xf578x15[_0x4032[62]](_0xf578x3+_0xf578x18,_0xf578x4+_0xf578x18,_0xf578x5-2*_0xf578x18,_0xf578x6-2*_0xf578x18);_0xf578x15[_0x4032[63]]()};_0xf578x15[_0x4032[64]](false);if(this[_0x4032[61]]){_0xf578x15[_0x4032[62]](_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6);_0xf578x15[_0x4032[29]]()}};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[65]]=_0xf578x2d;function _0xf578x2e(){}_0xf578x2e[_0x4032[0]]= new _0xf578x2d();_0xf578x2e[_0x4032[0]][_0x4032[1]]=_0xf578x2e;_0xf578x2e[_0x4032[0]][_0x4032[61]]=false;mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[66]]=_0xf578x2e;var _0xf578x2f=mxImageExport[_0x4032[0]][_0x4032[67]];mxImageExport[_0x4032[0]][_0x4032[67]]=function(){_0xf578x2f[_0x4032[30]](this,arguments);function _0xf578x30(_0xf578x31){return {drawShape:function(_0xf578x32,_0xf578x33,_0xf578x34,_0xf578x35){var _0xf578x3=_0xf578x34[_0x4032[68]];var _0xf578x4=_0xf578x34[_0x4032[69]];var _0xf578x5=_0xf578x34[_0x4032[70]];var _0xf578x6=_0xf578x34[_0x4032[71]];if(_0xf578x35){var _0xf578x18=Math[_0x4032[6]](4,Math[_0x4032[6]](_0xf578x5/5,_0xf578x6/5));_0xf578x3+=_0xf578x18;_0xf578x4+=_0xf578x18;_0xf578x5-=2*_0xf578x18;_0xf578x6-=2*_0xf578x18;if(_0xf578x5>0&&_0xf578x6>0){_0xf578x32[_0x4032[62]](_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6)};return true}else {_0xf578x32[_0x4032[63]]();if(_0xf578x31){_0xf578x32[_0x4032[62]](_0xf578x3,_0xf578x4,_0xf578x5,_0xf578x6);_0xf578x32[_0x4032[29]]()}}}}}this[_0x4032[72]][_0x4032[65]]=_0xf578x30(true);this[_0x4032[72]][_0x4032[66]]=_0xf578x30(false)};function _0xf578x36(){mxArrow[_0x4032[24]](this)}mxUtils[_0x4032[25]](_0xf578x36,mxArrow);_0xf578x36[_0x4032[0]][_0x4032[73]]=function(_0xf578x15,_0xf578x37){var _0xf578x1d=10;var _0xf578x38=_0xf578x37[0];var _0xf578x39=_0xf578x37[_0xf578x37[_0x4032[74]]-1];var _0xf578xe=_0xf578x39[_0x4032[68]]-_0xf578x38[_0x4032[68]];var _0xf578xf=_0xf578x39[_0x4032[69]]-_0xf578x38[_0x4032[69]];var _0xf578x3a=Math[_0x4032[75]](_0xf578xe*_0xf578xe+_0xf578xf*_0xf578xf);var _0xf578x3b=_0xf578x3a;var _0xf578x3c=_0xf578xe/_0xf578x3a;var _0xf578x3d=_0xf578xf/_0xf578x3a;var _0xf578x3e=_0xf578x3b*_0xf578x3c;var _0xf578x3f=_0xf578x3b*_0xf578x3d;var _0xf578x40=_0xf578x1d*_0xf578x3d/3;var _0xf578x41=-_0xf578x1d*_0xf578x3c/3;var _0xf578x42=_0xf578x38[_0x4032[68]]-_0xf578x40/2;var _0xf578x43=_0xf578x38[_0x4032[69]]-_0xf578x41/2;var _0xf578x44=_0xf578x42+_0xf578x40;var _0xf578x45=_0xf578x43+_0xf578x41;var _0xf578x46=_0xf578x44+_0xf578x3e;var _0xf578x47=_0xf578x45+_0xf578x3f;var _0xf578x48=_0xf578x46+_0xf578x40;var _0xf578x49=_0xf578x47+_0xf578x41;var _0xf578x4a=_0xf578x48-3*_0xf578x40;var _0xf578x4b=_0xf578x49-3*_0xf578x41;_0xf578x15[_0x4032[28]]();_0xf578x15[_0x4032[7]](_0xf578x44,_0xf578x45);_0xf578x15[_0x4032[8]](_0xf578x46,_0xf578x47);_0xf578x15[_0x4032[7]](_0xf578x4a+_0xf578x40,_0xf578x4b+_0xf578x41);_0xf578x15[_0x4032[8]](_0xf578x42,_0xf578x43);_0xf578x15[_0x4032[29]]()};mxCellRenderer[_0x4032[0]][_0x4032[12]][_0x4032[76]]=_0xf578x36;mxMarker[_0x4032[78]](_0x4032[77],function(_0xf578x32,_0xf578x1a,_0xf578x4c,_0xf578x39,_0xf578x4d,_0xf578x4e,_0xf578x4f,_0xf578x50,_0xf578x51,_0xf578x52){var _0xf578x3c=_0xf578x4d*(_0xf578x4f+_0xf578x51+1);var _0xf578x3d=_0xf578x4e*(_0xf578x4f+_0xf578x51+1);return function(){_0xf578x32[_0x4032[28]]();_0xf578x32[_0x4032[7]](_0xf578x39[_0x4032[68]]-_0xf578x3c/2-_0xf578x3d/2,_0xf578x39[_0x4032[69]]-_0xf578x3d/2+_0xf578x3c/2);_0xf578x32[_0x4032[8]](_0xf578x39[_0x4032[68]]+_0xf578x3d/2-3*_0xf578x3c/2,_0xf578x39[_0x4032[69]]-3*_0xf578x3d/2-_0xf578x3c/2);_0xf578x32[_0x4032[29]]()}});var _0xf578x53=-99;if( typeof (mxVertexHandler)!=_0x4032[79]){function _0xf578x54(_0xf578x33){mxVertexHandler[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x54,mxVertexHandler);_0xf578x54[_0x4032[0]][_0x4032[80]]=false;_0xf578x54[_0x4032[0]][_0x4032[81]]=function(){this[_0x4032[82]]=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],mxConstants.STYLE_HORIZONTAL,true);var _0xf578x55=this[_0x4032[83]][_0x4032[85]][_0x4032[84]];if(this[_0x4032[86]]!=null){var _0xf578x34= new mxRectangle(0,0,this[_0x4032[86]][_0x4032[70]],this[_0x4032[86]][_0x4032[71]]);this[_0x4032[87]]= new mxImageShape(_0xf578x34,this[_0x4032[86]][_0x4032[88]])}else {var _0xf578x4f=10;var _0xf578x34= new mxRectangle(0,0,_0xf578x4f,_0xf578x4f);this[_0x4032[87]]= new mxRhombus(_0xf578x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0x4032[87]][_0x4032[89]]=(_0xf578x55[_0x4032[89]]!=mxConstants[_0x4032[90]])?mxConstants[_0x4032[91]]:mxConstants[_0x4032[90]];this[_0x4032[87]][_0x4032[81]](_0xf578x55[_0x4032[93]]()[_0x4032[92]]());this[_0x4032[87]][_0x4032[95]][_0x4032[4]][_0x4032[94]]=this[_0x4032[96]]();mxEvent[_0x4032[97]](this[_0x4032[87]][_0x4032[95]],_0xf578x55,this[_0x4032[83]]);mxVertexHandler[_0x4032[0]][_0x4032[81]][_0x4032[30]](this,arguments)};_0xf578x54[_0x4032[0]][_0x4032[96]]=function(){return _0x4032[98]};_0xf578x54[_0x4032[0]][_0x4032[99]]=function(){mxVertexHandler[_0x4032[0]][_0x4032[99]][_0x4032[30]](this,arguments);var _0xf578x4f=this[_0x4032[87]][_0x4032[100]][_0x4032[70]];this[_0x4032[87]][_0x4032[100]]=this[_0x4032[101]](_0xf578x4f);this[_0x4032[87]][_0x4032[99]]()};_0xf578x54[_0x4032[0]][_0x4032[102]]=function(){mxVertexHandler[_0x4032[0]][_0x4032[102]][_0x4032[30]](this,arguments);if(this[_0x4032[87]]!=null){this[_0x4032[87]][_0x4032[102]]();this[_0x4032[87]]=null}};_0xf578x54[_0x4032[0]][_0x4032[103]]=function(_0xf578x56){if(_0xf578x56[_0x4032[104]](this[_0x4032[87]])){return _0xf578x53};return mxVertexHandler[_0x4032[0]][_0x4032[103]][_0x4032[30]](this,arguments)};_0xf578x54[_0x4032[0]][_0x4032[105]]=function(_0xf578x57,_0xf578x56){if(!_0xf578x56[_0x4032[106]]()&&this[_0x4032[107]]==_0xf578x53){var _0xf578x58= new mxPoint(_0xf578x56[_0x4032[108]](),_0xf578x56[_0x4032[109]]());this[_0x4032[110]](_0xf578x58);var _0xf578x59=this[_0x4032[84]][_0x4032[112]](_0xf578x56[_0x4032[111]]());var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];if(_0xf578x59&&this[_0x4032[80]]){_0xf578x58[_0x4032[68]]=this[_0x4032[84]][_0x4032[114]](_0xf578x58[_0x4032[68]]/_0xf578x5a)*_0xf578x5a;_0xf578x58[_0x4032[69]]=this[_0x4032[84]][_0x4032[114]](_0xf578x58[_0x4032[69]]/_0xf578x5a)*_0xf578x5a};this[_0x4032[115]](_0xf578x58);this[_0x4032[116]](this[_0x4032[87]],_0xf578x58[_0x4032[68]],_0xf578x58[_0x4032[69]]);this[_0x4032[83]][_0x4032[85]][_0x4032[84]][_0x4032[117]][_0x4032[99]](this[_0x4032[83]],true);_0xf578x56[_0x4032[118]]()}else {mxVertexHandler[_0x4032[0]][_0x4032[105]][_0x4032[30]](this,arguments)}};_0xf578x54[_0x4032[0]][_0x4032[119]]=function(_0xf578x57,_0xf578x56){if(!_0xf578x56[_0x4032[106]]()&&this[_0x4032[107]]==_0xf578x53){this[_0x4032[120]]();this[_0x4032[121]]();_0xf578x56[_0x4032[118]]()}else {mxVertexHandler[_0x4032[0]][_0x4032[119]][_0x4032[30]](this,arguments)}};_0xf578x54[_0x4032[0]][_0x4032[101]]=function(_0xf578x4f){var _0xf578x5b=this[_0x4032[83]][_0x4032[123]][_0x4032[122]]();var _0xf578x5c=mxUtils[_0x4032[124]](_0xf578x5b);var _0xf578x5d=Math[_0x4032[125]](_0xf578x5c);var _0xf578x5e=Math[_0x4032[126]](_0xf578x5c);var _0xf578x34= new mxRectangle(this[_0x4032[83]][_0x4032[68]],this[_0x4032[83]][_0x4032[69]],this[_0x4032[83]][_0x4032[70]],this[_0x4032[83]][_0x4032[71]]);if(this[_0x4032[83]][_0x4032[123]][_0x4032[127]]()){var _0xf578x5f=(_0xf578x34[_0x4032[70]]-_0xf578x34[_0x4032[71]])/2;_0xf578x34[_0x4032[68]]+=_0xf578x5f;_0xf578x34[_0x4032[69]]-=_0xf578x5f;var _0xf578x23=_0xf578x34[_0x4032[70]];_0xf578x34[_0x4032[70]]=_0xf578x34[_0x4032[71]];_0xf578x34[_0x4032[71]]=_0xf578x23};var _0xf578x60=this[_0x4032[128]](_0xf578x34);if(this[_0x4032[83]][_0x4032[123]][_0x4032[129]]){_0xf578x60[_0x4032[68]]=2*_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x60[_0x4032[68]]};if(this[_0x4032[83]][_0x4032[123]][_0x4032[130]]){_0xf578x60[_0x4032[69]]=2*_0xf578x34[_0x4032[69]]+_0xf578x34[_0x4032[71]]-_0xf578x60[_0x4032[69]]};_0xf578x60=mxUtils[_0x4032[133]](_0xf578x60,_0xf578x5d,_0xf578x5e, new mxPoint(this[_0x4032[83]][_0x4032[131]](),this[_0x4032[83]][_0x4032[132]]()));return new mxRectangle(_0xf578x60[_0x4032[68]]-_0xf578x4f/2,_0xf578x60[_0x4032[69]]-_0xf578x4f/2,_0xf578x4f,_0xf578x4f)};_0xf578x54[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){return null};_0xf578x54[_0x4032[0]][_0x4032[115]]=function(_0xf578x58){};_0xf578x54[_0x4032[0]][_0x4032[110]]=function(_0xf578x58){_0xf578x58[_0x4032[68]]=Math[_0x4032[34]](this[_0x4032[83]][_0x4032[68]],Math[_0x4032[6]](this[_0x4032[83]][_0x4032[68]]+this[_0x4032[83]][_0x4032[70]],_0xf578x58[_0x4032[68]]));_0xf578x58[_0x4032[69]]=Math[_0x4032[34]](this[_0x4032[83]][_0x4032[69]],Math[_0x4032[6]](this[_0x4032[83]][_0x4032[69]]+this[_0x4032[83]][_0x4032[71]],_0xf578x58[_0x4032[69]]))};_0xf578x54[_0x4032[0]][_0x4032[120]]=function(){};function _0xf578x61(_0xf578x33){_0xf578x54[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x61,_0xf578x54);_0xf578x61[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];var _0xf578xb=Math[_0x4032[6]](_0xf578x34[_0x4032[70]],mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[14],60)*_0xf578x5a);var _0xf578xc=Math[_0x4032[6]](_0xf578x34[_0x4032[71]],mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[15],20)*_0xf578x5a);var _0xf578xd=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[16],_0x4032[17]);var _0xf578x3=(_0xf578xd==_0x4032[18])?_0xf578x34[_0x4032[68]]+_0xf578xb:_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578xb;return new mxPoint(_0xf578x3,_0xf578x34[_0x4032[69]]+_0xf578xc)};_0xf578x61[_0x4032[0]][_0x4032[115]]=function(_0xf578x58){var _0xf578x5b=this[_0x4032[83]][_0x4032[123]][_0x4032[122]]();var _0xf578x5c=mxUtils[_0x4032[124]](_0xf578x5b);var _0xf578x5d=Math[_0x4032[125]](-_0xf578x5c);var _0xf578x5e=Math[_0x4032[126]](-_0xf578x5c);var _0xf578x34= new mxRectangle(this[_0x4032[83]][_0x4032[68]],this[_0x4032[83]][_0x4032[69]],this[_0x4032[83]][_0x4032[70]],this[_0x4032[83]][_0x4032[71]]);if(this[_0x4032[83]][_0x4032[123]][_0x4032[127]]()){var _0xf578x5f=(_0xf578x34[_0x4032[70]]-_0xf578x34[_0x4032[71]])/2;_0xf578x34[_0x4032[68]]+=_0xf578x5f;_0xf578x34[_0x4032[69]]-=_0xf578x5f;var _0xf578x23=_0xf578x34[_0x4032[70]];_0xf578x34[_0x4032[70]]=_0xf578x34[_0x4032[71]];_0xf578x34[_0x4032[71]]=_0xf578x23};var _0xf578x60= new mxPoint(_0xf578x58[_0x4032[68]],_0xf578x58[_0x4032[69]]);_0xf578x60=mxUtils[_0x4032[133]](_0xf578x60,_0xf578x5d,_0xf578x5e, new mxPoint(this[_0x4032[83]][_0x4032[131]](),this[_0x4032[83]][_0x4032[132]]()));if(this[_0x4032[83]][_0x4032[123]][_0x4032[129]]){_0xf578x60[_0x4032[68]]=2*_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x60[_0x4032[68]]};if(this[_0x4032[83]][_0x4032[123]][_0x4032[130]]){_0xf578x60[_0x4032[69]]=2*_0xf578x34[_0x4032[69]]+_0xf578x34[_0x4032[71]]-_0xf578x60[_0x4032[69]]};var _0xf578x62=this[_0x4032[134]](_0xf578x60,_0xf578x34);if(_0xf578x62!=null){if(this[_0x4032[83]][_0x4032[123]][_0x4032[129]]){_0xf578x62[_0x4032[68]]=2*_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x62[_0x4032[68]]};if(this[_0x4032[83]][_0x4032[123]][_0x4032[130]]){_0xf578x62[_0x4032[69]]=2*_0xf578x34[_0x4032[69]]+_0xf578x34[_0x4032[71]]-_0xf578x62[_0x4032[69]]};_0xf578x5d=Math[_0x4032[125]](_0xf578x5c);_0xf578x5e=Math[_0x4032[126]](_0xf578x5c);_0xf578x62=mxUtils[_0x4032[133]](_0xf578x62,_0xf578x5d,_0xf578x5e, new mxPoint(this[_0x4032[83]][_0x4032[131]](),this[_0x4032[83]][_0x4032[132]]()));_0xf578x58[_0x4032[68]]=_0xf578x62[_0x4032[68]];_0xf578x58[_0x4032[69]]=_0xf578x62[_0x4032[69]]}};_0xf578x61[_0x4032[0]][_0x4032[134]]=function(_0xf578x60,_0xf578x34){var _0xf578xd=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[16],_0x4032[17]);var _0xf578xb=(_0xf578xd==_0x4032[18])?_0xf578x60[_0x4032[68]]-_0xf578x34[_0x4032[68]]:_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x60[_0x4032[68]];var _0xf578xc=_0xf578x60[_0x4032[69]]-_0xf578x34[_0x4032[69]];var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];this[_0x4032[83]][_0x4032[4]][_0x4032[14]]=Math[_0x4032[135]](Math[_0x4032[34]](1,_0xf578xb)/_0xf578x5a);this[_0x4032[83]][_0x4032[4]][_0x4032[15]]=Math[_0x4032[135]](Math[_0x4032[34]](1,_0xf578xc)/_0xf578x5a)};_0xf578x61[_0x4032[0]][_0x4032[120]]=function(){var _0xf578x63=this[_0x4032[84]][_0x4032[136]]();_0xf578x63[_0x4032[137]]();try{this[_0x4032[83]][_0x4032[85]][_0x4032[84]][_0x4032[139]](_0x4032[14],this[_0x4032[83]][_0x4032[4]][_0x4032[14]],[this[_0x4032[83]][_0x4032[138]]]);this[_0x4032[83]][_0x4032[85]][_0x4032[84]][_0x4032[139]](_0x4032[15],this[_0x4032[83]][_0x4032[4]][_0x4032[15]],[this[_0x4032[83]][_0x4032[138]]])}finally{_0xf578x63[_0x4032[140]]()}};function _0xf578x64(_0xf578x33){_0xf578x61[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x64,_0xf578x61);_0xf578x64[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];var _0xf578x65=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]/2,_0xf578x34[_0x4032[69]]+Math[_0x4032[6]](_0xf578x34[_0x4032[71]],_0xf578x65*_0xf578x5a))};_0xf578x64[_0x4032[0]][_0x4032[134]]=function(_0xf578x58,_0xf578x34){_0xf578x58[_0x4032[68]]=_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]/2;startSize=_0xf578x58[_0x4032[69]]-_0xf578x34[_0x4032[69]];var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];this[_0x4032[83]][_0x4032[4]][_0x4032[141]]=Math[_0x4032[135]](Math[_0x4032[34]](1,startSize)/_0xf578x5a);return _0xf578x58};_0xf578x64[_0x4032[0]][_0x4032[120]]=function(){this[_0x4032[83]][_0x4032[85]][_0x4032[84]][_0x4032[139]](_0x4032[141],this[_0x4032[83]][_0x4032[4]][_0x4032[141]],[this[_0x4032[83]][_0x4032[138]]])};function _0xf578x66(_0xf578x33){_0xf578x61[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x66,_0xf578x61);_0xf578x66[_0x4032[0]][_0x4032[142]]=20;_0xf578x66[_0x4032[0]][_0x4032[143]]=1;_0xf578x66[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];var _0xf578x67=Math[_0x4032[6]](_0xf578x34[_0x4032[70]],Math[_0x4032[6]](_0xf578x34[_0x4032[71]],mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[2],this[_0x4032[142]])*_0xf578x5a/this[_0x4032[143]]));return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x67,_0xf578x34[_0x4032[69]]+_0xf578x67)};_0xf578x66[_0x4032[0]][_0x4032[134]]=function(_0xf578x60,_0xf578x34){var _0xf578x4f=Math[_0x4032[34]](0,Math[_0x4032[6]](Math[_0x4032[6]](_0xf578x34[_0x4032[70]]/this[_0x4032[143]],_0xf578x60[_0x4032[68]]-_0xf578x34[_0x4032[68]]),Math[_0x4032[6]](_0xf578x34[_0x4032[71]]/this[_0x4032[143]],_0xf578x60[_0x4032[69]]-_0xf578x34[_0x4032[69]])));var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];this[_0x4032[83]][_0x4032[4]][_0x4032[2]]=Math[_0x4032[135]](Math[_0x4032[34]](1,_0xf578x4f)/_0xf578x5a)*this[_0x4032[143]];return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x4f,_0xf578x34[_0x4032[69]]+_0xf578x4f)};_0xf578x66[_0x4032[0]][_0x4032[120]]=function(){this[_0x4032[83]][_0x4032[85]][_0x4032[84]][_0x4032[139]](_0x4032[2],this[_0x4032[83]][_0x4032[4]][_0x4032[2]],[this[_0x4032[83]][_0x4032[138]]])};function _0xf578x68(_0xf578x33){_0xf578x66[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x68,_0xf578x66);_0xf578x68[_0x4032[0]][_0x4032[142]]=30;_0xf578x68[_0x4032[0]][_0x4032[143]]=2;function _0xf578x69(_0xf578x33){_0xf578x66[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x69,_0xf578x66);_0xf578x69[_0x4032[0]][_0x4032[142]]=30;_0xf578x69[_0x4032[0]][_0x4032[143]]=1;_0xf578x69[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];var _0xf578x67=Math[_0x4032[6]](_0xf578x34[_0x4032[70]],Math[_0x4032[6]](_0xf578x34[_0x4032[71]],mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[2],this[_0x4032[142]])*_0xf578x5a/this[_0x4032[143]]));return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x67,_0xf578x34[_0x4032[69]]+_0xf578x67)};_0xf578x69[_0x4032[0]][_0x4032[134]]=function(_0xf578x60,_0xf578x34){var _0xf578x4f=Math[_0x4032[34]](0,Math[_0x4032[6]](Math[_0x4032[6]](_0xf578x34[_0x4032[70]]/this[_0x4032[143]],_0xf578x60[_0x4032[68]]-_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]),Math[_0x4032[6]](_0xf578x34[_0x4032[71]]/this[_0x4032[143]],_0xf578x60[_0x4032[69]]-_0xf578x34[_0x4032[69]])));var _0xf578x5a=this[_0x4032[84]][_0x4032[93]]()[_0x4032[113]];this[_0x4032[83]][_0x4032[4]][_0x4032[2]]=Math[_0x4032[135]](Math[_0x4032[34]](1,_0xf578x4f)/_0xf578x5a)*this[_0x4032[143]];return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]-_0xf578x4f,_0xf578x34[_0x4032[69]]+_0xf578x4f)};function _0xf578x6a(_0xf578x33){_0xf578x66[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x6a,_0xf578x66);_0xf578x6a[_0x4032[0]][_0x4032[142]]=0.2;_0xf578x6a[_0x4032[0]][_0x4032[143]]=1;_0xf578x6a[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x67=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[2],this[_0x4032[142]]);return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]*_0xf578x67,_0xf578x34[_0x4032[69]]+_0xf578x34[_0x4032[71]]/2)};_0xf578x6a[_0x4032[0]][_0x4032[134]]=function(_0xf578x60,_0xf578x34){var _0xf578x4f=Math[_0x4032[6]](1,(_0xf578x60[_0x4032[68]]-_0xf578x34[_0x4032[68]])/_0xf578x34[_0x4032[70]]);this[_0x4032[83]][_0x4032[4]][_0x4032[2]]=_0xf578x4f;return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x4f*_0xf578x34[_0x4032[70]],_0xf578x34[_0x4032[69]]+_0xf578x34[_0x4032[71]]/2)};function _0xf578x6b(_0xf578x33){_0xf578x66[_0x4032[24]](this,_0xf578x33)}mxUtils[_0x4032[25]](_0xf578x6b,_0xf578x66);_0xf578x6b[_0x4032[0]][_0x4032[142]]=0.4;_0xf578x6b[_0x4032[0]][_0x4032[143]]=1;_0xf578x6b[_0x4032[0]][_0x4032[128]]=function(_0xf578x34){var _0xf578x67=mxUtils[_0x4032[5]](this[_0x4032[83]][_0x4032[4]],_0x4032[2],this[_0x4032[142]]);return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]/2,_0xf578x34[_0x4032[69]]+_0xf578x67*_0xf578x34[_0x4032[71]]/2)};_0xf578x6b[_0x4032[0]][_0x4032[134]]=function(_0xf578x60,_0xf578x34){var _0xf578x4f=Math[_0x4032[34]](0,Math[_0x4032[6]](1,((_0xf578x60[_0x4032[69]]-_0xf578x34[_0x4032[69]])/_0xf578x34[_0x4032[71]])*2));this[_0x4032[83]][_0x4032[4]][_0x4032[2]]=_0xf578x4f;return new mxPoint(_0xf578x34[_0x4032[68]]+_0xf578x34[_0x4032[70]]/2,_0xf578x34[_0x4032[69]]+_0xf578x4f*_0xf578x34[_0x4032[71]]/2)};var _0xf578x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0xf578x64,"\x66\x6F\x6C\x64\x65\x72":_0xf578x61,"\x63\x75\x62\x65":_0xf578x66,"\x63\x61\x72\x64":_0xf578x68,"\x6E\x6F\x74\x65":_0xf578x69,"\x73\x74\x65\x70":_0xf578x6a,"\x74\x61\x70\x65":_0xf578x6b};var _0xf578x6d=mxGraph[_0x4032[0]][_0x4032[144]];mxGraph[_0x4032[0]][_0x4032[144]]=function(_0xf578x33){if(_0xf578x33!=null){var _0xf578x6e=_0xf578x6c[_0xf578x33[_0x4032[4]][_0x4032[123]]];if(_0xf578x6e!=null){return new _0xf578x6e(_0xf578x33)}};return _0xf578x6d[_0x4032[30]](this,arguments)}};mxGraph[_0x4032[0]][_0x4032[145]]=function(_0xf578x6f,_0xf578x50){if(_0xf578x6f!=null&&_0xf578x6f[_0x4032[123]]!=null){if(_0xf578x6f[_0x4032[123]][_0x4032[146]]!=null){if(_0xf578x6f[_0x4032[123]][_0x4032[146]]!=null){return _0xf578x6f[_0x4032[123]][_0x4032[146]][_0x4032[147]]}}else {if(_0xf578x6f[_0x4032[123]][_0x4032[147]]!=null){return _0xf578x6f[_0x4032[123]][_0x4032[147]]}}};return null};mxRectangleShape[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];mxImageShape[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];mxSwimlane[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];_0xf578x14[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];_0xf578x9[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];_0xf578x10[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];_0xf578x1[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];_0xf578xa[_0x4032[0]][_0x4032[147]]=mxRectangleShape[_0x4032[0]][_0x4032[147]];mxCylinder[_0x4032[0]][_0x4032[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)];_0xf578x25[_0x4032[0]][_0x4032[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)];_0xf578x28[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[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)];_0xf578x11[_0x4032[0]][_0x4032[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)];_0xf578x13[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[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)];_0xf578x26[_0x4032[0]][_0x4032[147]]=[ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[147]]=mxEllipse[_0x4032[0]][_0x4032[147]];mxRhombus[_0x4032[0]][_0x4032[147]]=mxEllipse[_0x4032[0]][_0x4032[147]];mxTriangle[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[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[_0x4032[0]][_0x4032[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 ae28341..2ae2021 100644 --- a/public/assets/plugins/square/js/Sidebar.js +++ b/public/assets/plugins/square/js/Sidebar.js @@ -1 +1 @@ -var _0x5195=["\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\x6D\x73","\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","\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"];_0x5195[0];function Sidebar(_0x663fx2,_0x663fx3){this[_0x5195[1]]=_0x663fx2;this[_0x5195[2]]=_0x663fx3;this[_0x5195[3]]= new Object();this[_0x5195[4]]=true;this[_0x5195[5]]= new Graph(document[_0x5195[7]](_0x5195[6]),null,null,this[_0x5195[1]][_0x5195[9]][_0x5195[5]][_0x5195[8]]());this[_0x5195[5]][_0x5195[10]]=false;this[_0x5195[5]][_0x5195[11]]=false;this[_0x5195[5]][_0x5195[12]](false);this[_0x5195[5]][_0x5195[13]]=false;this[_0x5195[5]][_0x5195[14]](false);this[_0x5195[5]][_0x5195[15]](false);this[_0x5195[5]][_0x5195[2]][_0x5195[17]][_0x5195[16]]=_0x5195[18];this[_0x5195[5]][_0x5195[2]][_0x5195[17]][_0x5195[19]]=_0x5195[20];document[_0x5195[22]][_0x5195[21]](this[_0x5195[5]][_0x5195[2]]);if(!mxClient[_0x5195[23]]){mxEvent[_0x5195[26]](document,_0x5195[24],mxUtils[_0x5195[25]](this,function(){this[_0x5195[4]]=true}));mxEvent[_0x5195[26]](_0x663fx3,_0x5195[27],mxUtils[_0x5195[25]](this,function(){this[_0x5195[4]]=true}));mxEvent[_0x5195[26]](document,_0x5195[28],mxUtils[_0x5195[25]](this,function(){this[_0x5195[4]]=false;this[_0x5195[29]]()}));mxEvent[_0x5195[26]](document,_0x5195[30],mxUtils[_0x5195[25]](this,function(_0x663fx4){var _0x663fx5=mxEvent[_0x5195[31]](_0x663fx4);while(_0x663fx5!=null){if(_0x663fx5==this[_0x5195[32]]){return};_0x663fx5=_0x663fx5[_0x5195[33]]};this[_0x5195[29]]()}));mxEvent[_0x5195[26]](document,_0x5195[34],mxUtils[_0x5195[25]](this,function(_0x663fx4){if(_0x663fx4[_0x5195[35]]==null&&_0x663fx4[_0x5195[36]]==null){this[_0x5195[29]]()}}))};this[_0x5195[37]](); new Image()[_0x5195[38]]=IMAGE_PATH+_0x5195[39]}Sidebar[_0x5195[40]][_0x5195[37]]=function(){var _0x663fx6=STENCIL_PATH;console[_0x5195[41]](_0x663fx6);this[_0x5195[49]](_0x5195[42],mxResources[_0x5195[43]](_0x5195[42]),_0x663fx6+_0x5195[44],_0x5195[45],[_0x5195[46],_0x5195[47],_0x5195[48]],[mxResources[_0x5195[43]](_0x5195[46]),mxResources[_0x5195[43]](_0x5195[47]),mxResources[_0x5195[43]](_0x5195[48])]);this[_0x5195[49]](_0x5195[50],mxResources[_0x5195[43]](_0x5195[50]),_0x663fx6+_0x5195[51],_0x5195[45],[_0x5195[52],_0x5195[53],_0x5195[54],_0x5195[55],_0x5195[56],_0x5195[57],_0x5195[58]],[mxResources[_0x5195[43]](_0x5195[52]),mxResources[_0x5195[43]](_0x5195[53]),mxResources[_0x5195[43]](_0x5195[54]),mxResources[_0x5195[43]](_0x5195[55]),mxResources[_0x5195[43]](_0x5195[56]),mxResources[_0x5195[43]](_0x5195[57]),mxResources[_0x5195[43]](_0x5195[58])]);this[_0x5195[49]](_0x5195[59],mxResources[_0x5195[43]](_0x5195[59]),_0x663fx6+_0x5195[60],_0x5195[45],[_0x5195[61],_0x5195[62]],[mxResources[_0x5195[43]](_0x5195[61]),mxResources[_0x5195[43]](_0x5195[62])]);this[_0x5195[49]](_0x5195[63],mxResources[_0x5195[43]](_0x5195[63]),_0x663fx6+_0x5195[64],_0x5195[45],[_0x5195[63],_0x5195[65],_0x5195[66],_0x5195[67],_0x5195[68],_0x5195[69],_0x5195[70],_0x5195[71]],[mxResources[_0x5195[43]](_0x5195[63]),mxResources[_0x5195[43]](_0x5195[65]),mxResources[_0x5195[43]](_0x5195[66]),mxResources[_0x5195[43]](_0x5195[67]),mxResources[_0x5195[43]](_0x5195[68]),mxResources[_0x5195[43]](_0x5195[69]),mxResources[_0x5195[43]](_0x5195[70]),mxResources[_0x5195[43]](_0x5195[71])]);this[_0x5195[49]](_0x5195[72],mxResources[_0x5195[43]](_0x5195[72]),_0x663fx6+_0x5195[73],_0x5195[45],[_0x5195[74]],[mxResources[_0x5195[43]](_0x5195[74])]);this[_0x5195[49]](_0x5195[75],mxResources[_0x5195[43]](_0x5195[75]),_0x663fx6+_0x5195[76],_0x5195[45],[_0x5195[77],_0x5195[78],_0x5195[79]],[mxResources[_0x5195[43]](_0x5195[77]),mxResources[_0x5195[43]](_0x5195[78]),mxResources[_0x5195[43]](_0x5195[79])]);this[_0x5195[49]](_0x5195[80],mxResources[_0x5195[43]](_0x5195[80]),_0x663fx6+_0x5195[81],_0x5195[45],[_0x5195[82],_0x5195[83],_0x5195[84],_0x5195[85]],[mxResources[_0x5195[43]](_0x5195[82]),mxResources[_0x5195[43]](_0x5195[83]),mxResources[_0x5195[43]](_0x5195[84]),mxResources[_0x5195[43]](_0x5195[85])]);this[_0x5195[49]](_0x5195[86],mxResources[_0x5195[43]](_0x5195[86]),_0x663fx6+_0x5195[87],_0x5195[45],[_0x5195[88]],[mxResources[_0x5195[43]](_0x5195[88])]);this[_0x5195[49]](_0x5195[89],mxResources[_0x5195[43]](_0x5195[89]),_0x663fx6+_0x5195[90],_0x5195[45],[_0x5195[91],_0x5195[92],_0x5195[93],_0x5195[94],_0x5195[95]],[mxResources[_0x5195[43]](_0x5195[91]),mxResources[_0x5195[43]](_0x5195[92]),mxResources[_0x5195[43]](_0x5195[93]),mxResources[_0x5195[43]](_0x5195[94]),mxResources[_0x5195[43]](_0x5195[95])])};Sidebar[_0x5195[40]][_0x5195[96]]=!mxClient[_0x5195[23]];Sidebar[_0x5195[40]][_0x5195[97]]=16;Sidebar[_0x5195[40]][_0x5195[98]]=3;Sidebar[_0x5195[40]][_0x5195[99]]=300;Sidebar[_0x5195[40]][_0x5195[100]]=true;Sidebar[_0x5195[40]][_0x5195[101]]=STENCIL_PATH+_0x5195[102];Sidebar[_0x5195[40]][_0x5195[103]]=34;Sidebar[_0x5195[40]][_0x5195[104]]=34;Sidebar[_0x5195[40]][_0x5195[105]]=2;Sidebar[_0x5195[40]][_0x5195[106]]=9;Sidebar[_0x5195[40]][_0x5195[107]]=false;Sidebar[_0x5195[40]][_0x5195[108]]=false;Sidebar[_0x5195[40]][_0x5195[109]]=function(_0x663fx7,_0x663fx8,_0x663fx9,_0x663fxa){if(this[_0x5195[96]]&&this[_0x5195[4]]){if(this[_0x5195[32]]!=_0x663fx7){if(this[_0x5195[110]]!=null){window[_0x5195[111]](this[_0x5195[110]]);this[_0x5195[110]]=null};var _0x663fxb=mxUtils[_0x5195[25]](this,function(){if(this[_0x5195[112]]==null){this[_0x5195[112]]=document[_0x5195[7]](_0x5195[6]);this[_0x5195[112]][_0x5195[113]]=_0x5195[114];document[_0x5195[22]][_0x5195[21]](this[_0x5195[112]]);this[_0x5195[115]]= new Graph(this[_0x5195[112]],null,null,this[_0x5195[1]][_0x5195[9]][_0x5195[5]][_0x5195[8]]());this[_0x5195[115]][_0x5195[117]][_0x5195[116]](this[_0x5195[97]],this[_0x5195[97]]);this[_0x5195[115]][_0x5195[10]]=false;this[_0x5195[115]][_0x5195[11]]=false;this[_0x5195[115]][_0x5195[13]]=false;this[_0x5195[115]][_0x5195[14]](false);this[_0x5195[115]][_0x5195[12]](false);this[_0x5195[115]][_0x5195[15]](false);if(!mxClient[_0x5195[118]]){this[_0x5195[115]][_0x5195[117]][_0x5195[119]][_0x5195[17]][_0x5195[19]]=_0x5195[120]};this[_0x5195[121]]=mxUtils[_0x5195[122]](IMAGE_PATH+_0x5195[39]);this[_0x5195[121]][_0x5195[17]][_0x5195[19]]=_0x5195[20];this[_0x5195[121]][_0x5195[17]][_0x5195[123]]=_0x5195[124];this[_0x5195[121]][_0x5195[17]][_0x5195[125]]=_0x5195[126];document[_0x5195[22]][_0x5195[21]](this[_0x5195[121]])};this[_0x5195[112]][_0x5195[17]][_0x5195[127]]=_0x5195[128];this[_0x5195[115]][_0x5195[129]]=(_0x663fxa==null||_0x663fxa);this[_0x5195[115]][_0x5195[131]][_0x5195[130]]();this[_0x5195[115]][_0x5195[132]](_0x663fx8);var _0x663fxc=this[_0x5195[115]][_0x5195[133]]();var _0x663fxd=_0x663fxc[_0x5195[123]]+2*this[_0x5195[97]];var _0x663fxe=_0x663fxc[_0x5195[125]]+2*this[_0x5195[97]];if(mxClient[_0x5195[134]]){_0x663fxd+=4;_0x663fxe+=4;this[_0x5195[112]][_0x5195[17]][_0x5195[135]]=_0x5195[18]}else {this[_0x5195[112]][_0x5195[17]][_0x5195[135]]=_0x5195[136]};this[_0x5195[121]][_0x5195[17]][_0x5195[16]]=_0x5195[136];this[_0x5195[112]][_0x5195[17]][_0x5195[123]]=_0x663fxd+_0x5195[137];if(this[_0x5195[108]]&&_0x663fx9!=null&&_0x663fx9[_0x5195[138]]>0){if(this[_0x5195[139]]==null){this[_0x5195[139]]=document[_0x5195[7]](_0x5195[6]);this[_0x5195[139]][_0x5195[17]][_0x5195[140]]=_0x5195[141];this[_0x5195[139]][_0x5195[17]][_0x5195[142]]=_0x5195[143];this[_0x5195[139]][_0x5195[17]][_0x5195[123]]=_0x5195[144];this[_0x5195[139]][_0x5195[17]][_0x5195[135]]=_0x5195[18];if(mxClient[_0x5195[118]]){this[_0x5195[139]][_0x5195[17]][_0x5195[145]]=_0x5195[146]}else {this[_0x5195[139]][_0x5195[17]][_0x5195[19]]=_0x5195[20];this[_0x5195[139]][_0x5195[17]][_0x5195[145]]=_0x5195[147]};this[_0x5195[112]][_0x5195[21]](this[_0x5195[139]])}else {this[_0x5195[139]][_0x5195[148]]=_0x5195[149]};this[_0x5195[139]][_0x5195[17]][_0x5195[127]]=_0x5195[149];mxUtils[_0x5195[150]](this[_0x5195[139]],_0x663fx9);var _0x663fxf=this[_0x5195[139]][_0x5195[151]]+10;_0x663fxe+=_0x663fxf;if(mxClient[_0x5195[118]]){this[_0x5195[139]][_0x5195[17]][_0x5195[152]]=(-_0x663fxf)+_0x5195[137]}else {_0x663fxe-=6;this[_0x5195[139]][_0x5195[17]][_0x5195[153]]=(_0x663fxe-_0x663fxf)+_0x5195[137]}}else {if(this[_0x5195[139]]!=null&&this[_0x5195[139]][_0x5195[33]]!=null){this[_0x5195[139]][_0x5195[17]][_0x5195[127]]=_0x5195[154]}};this[_0x5195[112]][_0x5195[17]][_0x5195[125]]=_0x663fxe+_0x5195[137];var _0x663fx10=-Math[_0x5195[156]](0,_0x663fxc[_0x5195[155]]-this[_0x5195[97]]);var _0x663fx11=-Math[_0x5195[156]](0,_0x663fxc[_0x5195[157]]-this[_0x5195[97]]);var _0x663fx12=this[_0x5195[2]][_0x5195[158]]+this[_0x5195[1]][_0x5195[159]]+3;var _0x663fx13=Math[_0x5195[162]](0,(this[_0x5195[2]][_0x5195[160]]+_0x663fx7[_0x5195[160]]-this[_0x5195[2]][_0x5195[161]]-_0x663fxe/2+16));if(mxClient[_0x5195[118]]){this[_0x5195[115]][_0x5195[117]][_0x5195[119]][_0x5195[167]](_0x5195[163],_0x5195[164]+_0x663fx10+_0x5195[165]+_0x663fx11+_0x5195[166])}else {this[_0x5195[115]][_0x5195[117]][_0x5195[169]][_0x5195[17]][_0x5195[168]]=_0x663fx10+_0x5195[137];this[_0x5195[115]][_0x5195[117]][_0x5195[169]][_0x5195[17]][_0x5195[153]]=_0x663fx11+_0x5195[137]};_0x663fx12+=document[_0x5195[172]](_0x5195[171])[_0x5195[170]];_0x663fx13+=90;this[_0x5195[112]][_0x5195[17]][_0x5195[19]]=_0x5195[20];this[_0x5195[112]][_0x5195[17]][_0x5195[168]]=_0x663fx12+_0x5195[137];this[_0x5195[112]][_0x5195[17]][_0x5195[153]]=_0x663fx13+_0x5195[137];this[_0x5195[121]][_0x5195[17]][_0x5195[168]]=(_0x663fx12-13)+_0x5195[137];this[_0x5195[121]][_0x5195[17]][_0x5195[153]]=(_0x663fx13+_0x663fxe/2-13)+_0x5195[137]});if(this[_0x5195[112]]!=null&&this[_0x5195[112]][_0x5195[17]][_0x5195[127]]!=_0x5195[154]){_0x663fxb()}else {this[_0x5195[110]]=window[_0x5195[173]](_0x663fxb,this[_0x5195[99]])};this[_0x5195[32]]=_0x663fx7}}};Sidebar[_0x5195[40]][_0x5195[29]]=function(){if(this[_0x5195[110]]!=null){window[_0x5195[111]](this[_0x5195[110]]);this[_0x5195[110]]=null};if(this[_0x5195[112]]!=null){this[_0x5195[112]][_0x5195[17]][_0x5195[127]]=_0x5195[154];this[_0x5195[121]][_0x5195[17]][_0x5195[16]]=_0x5195[18];this[_0x5195[32]]=null}};Sidebar[_0x5195[40]][_0x5195[174]]=function(_0x663fx14){var _0x663fx7=document[_0x5195[7]](_0x5195[175]);_0x663fx7[_0x5195[167]](_0x5195[176],_0x5195[177]);_0x663fx7[_0x5195[113]]=_0x5195[178];mxUtils[_0x5195[150]](_0x663fx7,_0x663fx14);return _0x663fx7};Sidebar[_0x5195[40]][_0x5195[179]]=function(_0x663fx8,_0x663fxd,_0x663fxe,_0x663fx15,_0x663fx9,_0x663fxa){this[_0x5195[5]][_0x5195[129]]=(_0x663fxa==null||_0x663fxa);this[_0x5195[5]][_0x5195[117]][_0x5195[180]](1,0,0);this[_0x5195[5]][_0x5195[132]](_0x663fx8);var _0x663fxc=this[_0x5195[5]][_0x5195[133]]();var _0x663fx16=this[_0x5195[98]];var _0x663fx17=Math[_0x5195[156]]((_0x663fxd-2)/(_0x663fxc[_0x5195[123]]-_0x663fxc[_0x5195[155]]+_0x663fx16),(_0x663fxe-2)/(_0x663fxc[_0x5195[125]]-_0x663fxc[_0x5195[157]]+_0x663fx16));var _0x663fx10=-Math[_0x5195[156]](_0x663fxc[_0x5195[155]],0);var _0x663fx11=-Math[_0x5195[156]](_0x663fxc[_0x5195[157]],0);this[_0x5195[5]][_0x5195[117]][_0x5195[180]](_0x663fx17,_0x663fx10,_0x663fx11);_0x663fxc=this[_0x5195[5]][_0x5195[133]]();var _0x663fx18=Math[_0x5195[162]](0,Math[_0x5195[181]]((_0x663fxd-_0x663fxc[_0x5195[123]]-_0x663fxc[_0x5195[155]])/2));var _0x663fxf=Math[_0x5195[162]](0,Math[_0x5195[181]]((_0x663fxe-_0x663fxc[_0x5195[125]]-_0x663fxc[_0x5195[157]])/2));var _0x663fx19=null;if(this[_0x5195[5]][_0x5195[182]]==mxConstants[_0x5195[183]]&&!mxClient[_0x5195[184]]){_0x663fx19=this[_0x5195[5]][_0x5195[117]][_0x5195[187]]()[_0x5195[186]][_0x5195[185]](true)}else {_0x663fx19=this[_0x5195[5]][_0x5195[2]][_0x5195[185]](false);_0x663fx19[_0x5195[148]]=this[_0x5195[5]][_0x5195[2]][_0x5195[148]]};this[_0x5195[5]][_0x5195[188]]()[_0x5195[130]]();if(mxClient[_0x5195[189]]){_0x663fx15[_0x5195[17]][_0x5195[190]]=_0x5195[191]+this[_0x5195[1]][_0x5195[9]][_0x5195[192]]+_0x5195[166]};var _0x663fx1a=3;_0x663fx19[_0x5195[17]][_0x5195[19]]=_0x5195[120];_0x663fx19[_0x5195[17]][_0x5195[135]]=_0x5195[18];_0x663fx19[_0x5195[17]][_0x5195[193]]=_0x5195[194];_0x663fx19[_0x5195[17]][_0x5195[168]]=(_0x663fx18+_0x663fx1a)+_0x5195[137];_0x663fx19[_0x5195[17]][_0x5195[153]]=(_0x663fxf+_0x663fx1a)+_0x5195[137];_0x663fx19[_0x5195[17]][_0x5195[123]]=_0x663fxd+_0x5195[137];_0x663fx19[_0x5195[17]][_0x5195[125]]=_0x663fxe+_0x5195[137];_0x663fx19[_0x5195[17]][_0x5195[16]]=_0x5195[149];_0x663fx19[_0x5195[17]][_0x5195[195]]=_0x5195[149];_0x663fx19[_0x5195[17]][_0x5195[196]]=_0x5195[149];_0x663fx15[_0x5195[21]](_0x663fx19);if(this[_0x5195[107]]&&_0x663fx9!=null){var _0x663fx1b=(mxClient[_0x5195[134]])?2*this[_0x5195[105]]+2:0;_0x663fx15[_0x5195[17]][_0x5195[125]]=(this[_0x5195[104]]+_0x663fx1b+this[_0x5195[106]]+8)+_0x5195[137];var _0x663fx1c=document[_0x5195[7]](_0x5195[6]);_0x663fx1c[_0x5195[17]][_0x5195[197]]=this[_0x5195[106]]+_0x5195[137];_0x663fx1c[_0x5195[17]][_0x5195[142]]=_0x5195[143];_0x663fx1c[_0x5195[17]][_0x5195[198]]=_0x5195[199];if(mxClient[_0x5195[200]]){_0x663fx1c[_0x5195[17]][_0x5195[125]]=(this[_0x5195[106]]+12)+_0x5195[137]};_0x663fx1c[_0x5195[17]][_0x5195[145]]=_0x5195[201];mxUtils[_0x5195[150]](_0x663fx1c,_0x663fx9);_0x663fx15[_0x5195[21]](_0x663fx1c)}};Sidebar[_0x5195[40]][_0x5195[202]]=function(_0x663fx8,_0x663fx9,_0x663fxa){var _0x663fx7=document[_0x5195[7]](_0x5195[175]);_0x663fx7[_0x5195[167]](_0x5195[176],_0x5195[177]);_0x663fx7[_0x5195[113]]=_0x5195[203];_0x663fx7[_0x5195[17]][_0x5195[135]]=_0x5195[18];var _0x663fx1b=(mxClient[_0x5195[134]])?8+2*this[_0x5195[105]]:6;_0x663fx7[_0x5195[17]][_0x5195[123]]=(this[_0x5195[103]]+_0x663fx1b)+_0x5195[137];_0x663fx7[_0x5195[17]][_0x5195[125]]=(this[_0x5195[104]]+_0x663fx1b)+_0x5195[137];_0x663fx7[_0x5195[17]][_0x5195[204]]=this[_0x5195[105]]+_0x5195[137];mxEvent[_0x5195[26]](_0x663fx7,_0x5195[205],function(_0x663fx4){mxEvent[_0x5195[206]](_0x663fx4)});this[_0x5195[179]](_0x663fx8,this[_0x5195[103]],this[_0x5195[104]],_0x663fx7,_0x663fx9,_0x663fxa);return _0x663fx7};Sidebar[_0x5195[40]][_0x5195[207]]=function(_0x663fx8,_0x663fx1d){return function(_0x663fx1e,_0x663fx4,_0x663fx1f,_0x663fx20,_0x663fx21){if(_0x663fx1e[_0x5195[208]]()){_0x663fx8=_0x663fx1e[_0x5195[209]](_0x663fx8);if(_0x663fx8[_0x5195[138]]>0){var _0x663fx22=(_0x663fx1f!=null)?_0x663fx1e[_0x5195[210]](_0x663fx1f,_0x663fx8,_0x663fx4):false;var _0x663fx23=null;if(_0x663fx1f!=null&& !_0x663fx22){_0x663fx1f=null};if(_0x663fx1d&&_0x663fx1e[_0x5195[211]]()&&_0x663fx1e[_0x5195[212]](_0x663fx1f,_0x663fx8,_0x663fx4)){_0x663fx1e[_0x5195[213]](_0x663fx1f,_0x663fx8,null,_0x663fx20,_0x663fx21);_0x663fx23=_0x663fx8}else {if(_0x663fx8[_0x5195[138]]>0){_0x663fx23=_0x663fx1e[_0x5195[214]](_0x663fx8,_0x663fx20,_0x663fx21,_0x663fx1f)}};if(_0x663fx23!=null&&_0x663fx23[_0x5195[138]]>0){_0x663fx1e[_0x5195[215]](_0x663fx23[0]);_0x663fx1e[_0x5195[216]](_0x663fx23)}}}}};Sidebar[_0x5195[40]][_0x5195[217]]=function(_0x663fxd,_0x663fxe){var _0x663fx7=document[_0x5195[7]](_0x5195[6]);_0x663fx7[_0x5195[17]][_0x5195[218]]=_0x5195[219];_0x663fx7[_0x5195[17]][_0x5195[123]]=_0x663fxd+_0x5195[137];_0x663fx7[_0x5195[17]][_0x5195[125]]=_0x663fxe+_0x5195[137];return _0x663fx7};Sidebar[_0x5195[40]][_0x5195[220]]=function(_0x663fx7,_0x663fx24,_0x663fx25){var _0x663fx26=mxUtils[_0x5195[222]](_0x663fx7,this[_0x5195[1]][_0x5195[9]][_0x5195[5]],_0x663fx24,_0x663fx25,0,0,this[_0x5195[1]][_0x5195[9]][_0x5195[5]][_0x5195[221]],true,true);_0x663fx26[_0x5195[223]]=function(_0x663fx1e,_0x663fx20,_0x663fx21){var _0x663fx1f=mxDragSource[_0x5195[40]][_0x5195[223]][_0x5195[224]](this,arguments);if(!_0x663fx1e[_0x5195[225]](_0x663fx1f)){_0x663fx1f=null};return _0x663fx1f};return _0x663fx26};Sidebar[_0x5195[40]][_0x5195[226]]=function(_0x663fx7,_0x663fx27){var _0x663fx1e=this[_0x5195[1]][_0x5195[9]][_0x5195[5]];var _0x663fx28=null;mxEvent[_0x5195[229]](_0x663fx7,function(_0x663fx4){_0x663fx28= new mxPoint(mxEvent[_0x5195[227]](_0x663fx4),mxEvent[_0x5195[228]](_0x663fx4))});var _0x663fx29=_0x663fx27[_0x5195[230]];_0x663fx27[_0x5195[230]]=function(_0x663fx4){if(!mxEvent[_0x5195[231]](_0x663fx4)&&this[_0x5195[232]]==null&&_0x663fx28!=null){var _0x663fx2a=_0x663fx1e[_0x5195[233]];if(Math[_0x5195[234]](_0x663fx28[_0x5195[155]]-mxEvent[_0x5195[227]](_0x663fx4))<=_0x663fx2a&&Math[_0x5195[234]](_0x663fx28[_0x5195[157]]-mxEvent[_0x5195[228]](_0x663fx4))<=_0x663fx2a){var _0x663fx2b=_0x663fx1e[_0x5195[235]]();_0x663fx27[_0x5195[236]](_0x663fx1e,_0x663fx4,null,_0x663fx2b,_0x663fx2b)}};_0x663fx29[_0x5195[224]](this,arguments);_0x663fx28=null}};Sidebar[_0x5195[40]][_0x5195[237]]=function(_0x663fx2c,_0x663fx14,_0x663fx2d,_0x663fx2e){var _0x663fx2f=mxUtils[_0x5195[237]]();var _0x663fx19=_0x663fx2f[_0x5195[7]](_0x663fx2c);_0x663fx19[_0x5195[167]](_0x5195[238],_0x663fx14);_0x663fx2d[_0x5195[239]](function(_0x663fx30,_0x663fx31){_0x663fx19[_0x5195[167]](_0x663fx30,_0x663fx2e[_0x663fx31]?_0x663fx2e[_0x663fx31]:_0x5195[149])});return _0x663fx19};Sidebar[_0x5195[40]][_0x5195[240]]=function(_0x663fx32,_0x663fxd,_0x663fxe,_0x663fx33,_0x663fx9,_0x663fxa){var _0x663fx2d=[];var _0x663fx2e=[];switch(_0x663fx33){case _0x5195[52]:break;case _0x5195[78]:_0x663fx2d=[_0x5195[241],_0x5195[131],_0x5195[242],_0x5195[243],_0x5195[244],_0x5195[245]];_0x663fx2e=[_0x5195[149],0,_0x5195[246],1,_0x5195[247],true];break;case _0x5195[63]:_0x663fx2d=[_0x5195[248],_0x5195[249]];_0x663fx2e=[_0x5195[250]];break;case _0x5195[255]:_0x663fx2d=[_0x5195[248],_0x5195[251],_0x5195[252]];_0x663fx2e=[_0x5195[250],_0x5195[253],_0x5195[254]];break;case _0x5195[65]:_0x663fx2d=[_0x5195[248],_0x5195[251],_0x5195[252],_0x5195[256],_0x5195[257]];_0x663fx2e=[_0x5195[250],_0x5195[253],_0x5195[254],_0x5195[254],_0x5195[250]];break;case _0x5195[71]:_0x663fx2d=[_0x5195[248],_0x5195[251],_0x5195[258],_0x5195[259],_0x5195[256],_0x5195[257]];_0x663fx2e=[_0x5195[250],_0x5195[253],_0x5195[254],_0x5195[260],_0x5195[254],_0x5195[250]];break;case _0x5195[95]:_0x663fx2d=[_0x5195[261],_0x5195[262]];_0x663fx2e=[_0x5195[149],_0x5195[149]];break;case _0x5195[61]:_0x663fx2d=[_0x5195[257],_0x5195[263]];_0x663fx2e=[_0x5195[250],_0x5195[149]];break;case _0x5195[77]:_0x663fx2d=[_0x5195[264],_0x5195[265],_0x5195[257]];_0x663fx2e=[_0x5195[250],_0x5195[149],_0x5195[250]];break;case _0x5195[91]:_0x663fx2d=[_0x5195[266]];_0x663fx2e=[];break;case _0x5195[82]:_0x663fx2d=[_0x5195[267],_0x5195[268]];_0x663fx2e=[];break;case _0x5195[92]:_0x663fx2d=[_0x5195[257],_0x5195[269]];_0x663fx2e=[];break;case _0x5195[93]:_0x663fx2d=[_0x5195[270],_0x5195[269]];_0x663fx2e=[];break;case _0x5195[83]:_0x663fx2d=[_0x5195[271]];_0x663fx2e=[];break;case _0x5195[84]:_0x663fx2d=[_0x5195[272]];_0x663fx2e=[_0x5195[250]];break;case _0x5195[273]:_0x663fx2d=[_0x5195[272]];_0x663fx2e=[_0x5195[250]];break;case _0x5195[85]:_0x663fx2d=[_0x5195[257]];_0x663fx2e=[_0x5195[250]];break;case _0x5195[66]:_0x663fx2d=[_0x5195[274],_0x5195[275]];_0x663fx2e=[_0x5195[149],_0x5195[247]];break;case _0x5195[67]:_0x663fx2d=[_0x5195[276],_0x5195[275]];_0x663fx2e=[_0x5195[149],_0x5195[247]];break;case _0x5195[68]:_0x663fx2d=[_0x5195[277],_0x5195[275]];_0x663fx2e=[_0x5195[149],_0x5195[247]];break;case _0x5195[74]:_0x663fx2d=[_0x5195[278],_0x5195[243],_0x5195[275]];_0x663fx2e=[_0x5195[149],_0x5195[279],_0x5195[247]];break;case _0x5195[54]:_0x663fx2d=[_0x5195[280],_0x5195[243],_0x5195[95],_0x5195[281]];_0x663fx2e=[_0x5195[250],_0x5195[282]];break;case _0x5195[55]:_0x663fx2d=[_0x5195[283],_0x5195[284],_0x5195[243],_0x5195[249],_0x5195[281]];_0x663fx2e=[_0x5195[149],_0x5195[279],_0x5195[282]];break;case _0x5195[69]:_0x663fx2d=[_0x5195[277],_0x5195[285]];_0x663fx2e=[_0x5195[149],_0x5195[286]];break;case _0x5195[70]:_0x663fx2d=[_0x5195[277],_0x5195[241],_0x5195[287],_0x5195[288],_0x5195[244]];_0x663fx2e=[_0x5195[149],_0x5195[149],_0x5195[289],_0x5195[250],_0x5195[247]];break;case _0x5195[56]:_0x663fx2d=[_0x5195[290],_0x5195[249],_0x5195[281],_0x5195[248],_0x5195[243],_0x5195[93],_0x5195[291],_0x5195[292],_0x5195[19]];_0x663fx2e=[_0x5195[279],_0x5195[149],_0x5195[149],_0x5195[250],_0x5195[293]];break;case _0x5195[57]:_0x663fx2d=[_0x5195[294],_0x5195[262]];_0x663fx2e=[_0x5195[149],_0x5195[149]];break;case _0x5195[94]:_0x663fx2d=[_0x5195[295]];_0x663fx2e=[_0x5195[250]];break;case _0x5195[62]:_0x663fx2d=[_0x5195[296],_0x5195[257]];_0x663fx2e=[_0x5195[149],_0x5195[250]];break;case _0x5195[305]:_0x663fx2d=[_0x5195[297],_0x5195[298],_0x5195[299],_0x5195[300],_0x5195[301],_0x5195[302],_0x5195[303],_0x5195[304]];_0x663fx2e=[];break;case _0x5195[88]:_0x663fx2d=[_0x5195[306]];_0x663fx2e=[];break;case _0x5195[58]:_0x663fx2d=[_0x5195[307],_0x5195[283],_0x5195[308],_0x5195[309]];_0x663fx2e=[_0x5195[149],_0x5195[310],_0x5195[250],_0x5195[253]];break;case _0x5195[79]:_0x663fx2d=[_0x5195[311],_0x5195[312],_0x5195[313]];_0x663fx2e=[_0x5195[250]];break;default:_0x663fx2d=[];_0x663fx2e=[];break};var _0x663fx19=this[_0x5195[237]](_0x663fx33,_0x663fx9,_0x663fx2d,_0x663fx2e);var _0x663fx8=[ new mxCell(_0x663fx19, new mxGeometry(0,0,_0x663fxd,_0x663fxe),_0x663fx32)];_0x663fx8[0][_0x5195[314]]=true;return this[_0x5195[315]](_0x663fx8,_0x663fxd,_0x663fxe,_0x663fx9,_0x663fxa)};Sidebar[_0x5195[40]][_0x5195[315]]=function(_0x663fx8,_0x663fxd,_0x663fxe,_0x663fx9,_0x663fxa){var _0x663fx7=this[_0x5195[202]](_0x663fx8,_0x663fx9,_0x663fxa);var _0x663fx27=this[_0x5195[220]](_0x663fx7,this[_0x5195[207]](_0x663fx8,true),this[_0x5195[217]](_0x663fxd,_0x663fxe));this[_0x5195[226]](_0x663fx7,_0x663fx27);_0x663fx27[_0x5195[316]]=mxUtils[_0x5195[25]](this,function(){return this[_0x5195[1]][_0x5195[9]][_0x5195[5]][_0x5195[318]][_0x5195[317]]});if(!touchStyle){mxEvent[_0x5195[26]](_0x663fx7,_0x5195[30],mxUtils[_0x5195[25]](this,function(_0x663fx4){this[_0x5195[109]](_0x663fx7,_0x663fx8,_0x663fx9,_0x663fxa)}))};return _0x663fx7};Sidebar[_0x5195[40]][_0x5195[319]]=function(_0x663fx32,_0x663fxd,_0x663fxe,_0x663fx33,_0x663fx9,_0x663fxa){var _0x663fx8=[ new mxCell((_0x663fx33!=null)?_0x663fx33:_0x5195[149], new mxGeometry(0,0,_0x663fxd,_0x663fxe),_0x663fx32)];_0x663fx8[0][_0x5195[321]][_0x5195[320]]( new mxPoint(0,_0x663fxe),true);_0x663fx8[0][_0x5195[321]][_0x5195[320]]( new mxPoint(_0x663fxd,0),false);_0x663fx8[0][_0x5195[321]][_0x5195[120]]=true;_0x663fx8[0][_0x5195[322]]=true;return this[_0x5195[323]](_0x663fx8,_0x663fxd,_0x663fxe,_0x663fx9,_0x663fxa)};Sidebar[_0x5195[40]][_0x5195[323]]=function(_0x663fx8,_0x663fxd,_0x663fxe,_0x663fx9,_0x663fxa){var _0x663fx7=this[_0x5195[202]](_0x663fx8,_0x663fx9,_0x663fxa);this[_0x5195[220]](_0x663fx7,this[_0x5195[207]](_0x663fx8,false),this[_0x5195[217]](_0x663fxd,_0x663fxe));var _0x663fx1e=this[_0x5195[1]][_0x5195[9]][_0x5195[5]];mxEvent[_0x5195[26]](_0x663fx7,_0x5195[205],mxUtils[_0x5195[25]](this,function(_0x663fx4){if(this[_0x5195[100]]){_0x663fx1e[_0x5195[324]](_0x663fx8[0])};_0x663fx7[_0x5195[17]][_0x5195[325]]=_0x5195[326];window[_0x5195[173]](function(){_0x663fx7[_0x5195[17]][_0x5195[325]]=_0x5195[149]},300);mxEvent[_0x5195[206]](_0x663fx4)}));if(!touchStyle){mxEvent[_0x5195[26]](_0x663fx7,_0x5195[30],mxUtils[_0x5195[25]](this,function(_0x663fx4){this[_0x5195[109]](_0x663fx7,_0x663fx8,_0x663fx9,_0x663fxa)}))};return _0x663fx7};Sidebar[_0x5195[40]][_0x5195[327]]=function(_0x663fx34,_0x663fx9,_0x663fx35,_0x663fx36){var _0x663fx7=this[_0x5195[174]](_0x663fx9);this[_0x5195[2]][_0x5195[21]](_0x663fx7);var _0x663fx1c=document[_0x5195[7]](_0x5195[6]);_0x663fx1c[_0x5195[113]]=_0x5195[328];if(_0x663fx35){_0x663fx36(_0x663fx1c);_0x663fx36=null}else {_0x663fx1c[_0x5195[17]][_0x5195[127]]=_0x5195[154]};this[_0x5195[329]](_0x663fx7,_0x663fx1c,_0x663fx36);var _0x663fx37=document[_0x5195[7]](_0x5195[6]);_0x663fx37[_0x5195[21]](_0x663fx1c);this[_0x5195[2]][_0x5195[21]](_0x663fx37);if(_0x663fx34!=null){this[_0x5195[3]][_0x663fx34]=[_0x663fx7,_0x663fx37]}};Sidebar[_0x5195[40]][_0x5195[329]]=function(_0x663fx9,_0x663fx38,_0x663fx39){var _0x663fx3a=false;_0x663fx9[_0x5195[17]][_0x5195[190]]=(_0x663fx38[_0x5195[17]][_0x5195[127]]==_0x5195[154])?_0x5195[191]+IMAGE_PATH+_0x5195[330]:_0x5195[191]+IMAGE_PATH+_0x5195[331];_0x663fx9[_0x5195[17]][_0x5195[332]]=_0x5195[333];_0x663fx9[_0x5195[17]][_0x5195[334]]=_0x5195[335];mxEvent[_0x5195[26]](_0x663fx9,_0x5195[205],function(_0x663fx4){if(_0x663fx38[_0x5195[17]][_0x5195[127]]==_0x5195[154]){if(!_0x663fx3a){_0x663fx3a=true;if(_0x663fx39!=null){_0x663fx9[_0x5195[17]][_0x5195[193]]=_0x5195[336];window[_0x5195[173]](function(){_0x663fx39(_0x663fx38);_0x663fx9[_0x5195[17]][_0x5195[193]]=_0x5195[149]},0)}};_0x663fx9[_0x5195[17]][_0x5195[190]]=_0x5195[191]+IMAGE_PATH+_0x5195[331];_0x663fx38[_0x5195[17]][_0x5195[127]]=_0x5195[128]}else {_0x663fx9[_0x5195[17]][_0x5195[190]]=_0x5195[191]+IMAGE_PATH+_0x5195[330];_0x663fx38[_0x5195[17]][_0x5195[127]]=_0x5195[154]};mxEvent[_0x5195[206]](_0x663fx4)})};Sidebar[_0x5195[40]][_0x5195[337]]=function(_0x663fx34){var _0x663fx3b=this[_0x5195[3]][_0x663fx34];if(_0x663fx3b!=null){this[_0x5195[3]][_0x663fx34]=null;for(var _0x663fx3c=0;_0x663fx3c<_0x663fx3b[_0x5195[138]];_0x663fx3c++){this[_0x5195[2]][_0x5195[338]](_0x663fx3b[_0x663fx3c])};return true};return false};Sidebar[_0x5195[40]][_0x5195[49]]=function(_0x663fx34,_0x663fx9,_0x663fx3d,_0x663fx3e,_0x663fx3f,_0x663fx40){this[_0x5195[327]](_0x663fx34,_0x663fx9,(_0x663fx34===_0x5195[42]),mxUtils[_0x5195[25]](this,function(_0x663fx38){var _0x663fx41=_0x663fx40!=null;for(var _0x663fx3c=0;_0x663fx3c<_0x663fx3f[_0x5195[138]];_0x663fx3c++){var _0x663fx42=_0x663fx3d+_0x663fx3f[_0x663fx3c]+_0x663fx3e;_0x663fx38[_0x5195[21]](this[_0x5195[240]](_0x5195[339]+_0x663fx42,80,80,_0x663fx3f[_0x663fx3c],(_0x663fx41)?_0x663fx40[_0x663fx3c]:null,_0x663fx41))}}))} \ No newline at end of file +var _0x784f=["\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\x6D\x73","\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","\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"];_0x784f[0];function Sidebar(_0x4f5ex2,_0x4f5ex3){this[_0x784f[1]]=_0x4f5ex2;this[_0x784f[2]]=_0x4f5ex3;this[_0x784f[3]]= new Object();this[_0x784f[4]]=true;this[_0x784f[5]]= new Graph(document[_0x784f[7]](_0x784f[6]),null,null,this[_0x784f[1]][_0x784f[9]][_0x784f[5]][_0x784f[8]]());this[_0x784f[5]][_0x784f[10]]=false;this[_0x784f[5]][_0x784f[11]]=false;this[_0x784f[5]][_0x784f[12]](false);this[_0x784f[5]][_0x784f[13]]=false;this[_0x784f[5]][_0x784f[14]](false);this[_0x784f[5]][_0x784f[15]](false);this[_0x784f[5]][_0x784f[2]][_0x784f[17]][_0x784f[16]]=_0x784f[18];this[_0x784f[5]][_0x784f[2]][_0x784f[17]][_0x784f[19]]=_0x784f[20];document[_0x784f[22]][_0x784f[21]](this[_0x784f[5]][_0x784f[2]]);if(!mxClient[_0x784f[23]]){mxEvent[_0x784f[26]](document,_0x784f[24],mxUtils[_0x784f[25]](this,function(){this[_0x784f[4]]=true}));mxEvent[_0x784f[26]](_0x4f5ex3,_0x784f[27],mxUtils[_0x784f[25]](this,function(){this[_0x784f[4]]=true}));mxEvent[_0x784f[26]](document,_0x784f[28],mxUtils[_0x784f[25]](this,function(){this[_0x784f[4]]=false;this[_0x784f[29]]()}));mxEvent[_0x784f[26]](document,_0x784f[30],mxUtils[_0x784f[25]](this,function(_0x4f5ex4){var _0x4f5ex5=mxEvent[_0x784f[31]](_0x4f5ex4);while(_0x4f5ex5!=null){if(_0x4f5ex5==this[_0x784f[32]]){return};_0x4f5ex5=_0x4f5ex5[_0x784f[33]]};this[_0x784f[29]]()}));mxEvent[_0x784f[26]](document,_0x784f[34],mxUtils[_0x784f[25]](this,function(_0x4f5ex4){if(_0x4f5ex4[_0x784f[35]]==null&&_0x4f5ex4[_0x784f[36]]==null){this[_0x784f[29]]()}}))};this[_0x784f[37]](); new Image()[_0x784f[38]]=IMAGE_PATH+_0x784f[39]}Sidebar[_0x784f[40]][_0x784f[37]]=function(){var _0x4f5ex6=STENCIL_PATH;console[_0x784f[41]](_0x4f5ex6);this[_0x784f[49]](_0x784f[42],mxResources[_0x784f[43]](_0x784f[42]),_0x4f5ex6+_0x784f[44],_0x784f[45],[_0x784f[46],_0x784f[47],_0x784f[48]],[mxResources[_0x784f[43]](_0x784f[46]),mxResources[_0x784f[43]](_0x784f[47]),mxResources[_0x784f[43]](_0x784f[48])]);this[_0x784f[49]](_0x784f[50],mxResources[_0x784f[43]](_0x784f[50]),_0x4f5ex6+_0x784f[51],_0x784f[45],[_0x784f[52],_0x784f[53],_0x784f[54],_0x784f[55],_0x784f[56],_0x784f[57],_0x784f[58]],[mxResources[_0x784f[43]](_0x784f[52]),mxResources[_0x784f[43]](_0x784f[53]),mxResources[_0x784f[43]](_0x784f[54]),mxResources[_0x784f[43]](_0x784f[55]),mxResources[_0x784f[43]](_0x784f[56]),mxResources[_0x784f[43]](_0x784f[57]),mxResources[_0x784f[43]](_0x784f[58])]);this[_0x784f[49]](_0x784f[59],mxResources[_0x784f[43]](_0x784f[59]),_0x4f5ex6+_0x784f[60],_0x784f[45],[_0x784f[61],_0x784f[62]],[mxResources[_0x784f[43]](_0x784f[61]),mxResources[_0x784f[43]](_0x784f[62])]);this[_0x784f[49]](_0x784f[63],mxResources[_0x784f[43]](_0x784f[63]),_0x4f5ex6+_0x784f[64],_0x784f[45],[_0x784f[63],_0x784f[65],_0x784f[66],_0x784f[67],_0x784f[68],_0x784f[69],_0x784f[70],_0x784f[71]],[mxResources[_0x784f[43]](_0x784f[63]),mxResources[_0x784f[43]](_0x784f[65]),mxResources[_0x784f[43]](_0x784f[66]),mxResources[_0x784f[43]](_0x784f[67]),mxResources[_0x784f[43]](_0x784f[68]),mxResources[_0x784f[43]](_0x784f[69]),mxResources[_0x784f[43]](_0x784f[70]),mxResources[_0x784f[43]](_0x784f[71])]);this[_0x784f[49]](_0x784f[72],mxResources[_0x784f[43]](_0x784f[72]),_0x4f5ex6+_0x784f[73],_0x784f[45],[_0x784f[74]],[mxResources[_0x784f[43]](_0x784f[74])]);this[_0x784f[49]](_0x784f[75],mxResources[_0x784f[43]](_0x784f[75]),_0x4f5ex6+_0x784f[76],_0x784f[45],[_0x784f[77],_0x784f[78],_0x784f[79]],[mxResources[_0x784f[43]](_0x784f[77]),mxResources[_0x784f[43]](_0x784f[78]),mxResources[_0x784f[43]](_0x784f[79])]);this[_0x784f[49]](_0x784f[80],mxResources[_0x784f[43]](_0x784f[80]),_0x4f5ex6+_0x784f[81],_0x784f[45],[_0x784f[82],_0x784f[83],_0x784f[84],_0x784f[85]],[mxResources[_0x784f[43]](_0x784f[82]),mxResources[_0x784f[43]](_0x784f[83]),mxResources[_0x784f[43]](_0x784f[84]),mxResources[_0x784f[43]](_0x784f[85])]);this[_0x784f[49]](_0x784f[86],mxResources[_0x784f[43]](_0x784f[86]),_0x4f5ex6+_0x784f[87],_0x784f[45],[_0x784f[88]],[mxResources[_0x784f[43]](_0x784f[88])]);this[_0x784f[49]](_0x784f[89],mxResources[_0x784f[43]](_0x784f[89]),_0x4f5ex6+_0x784f[90],_0x784f[45],[_0x784f[91],_0x784f[92],_0x784f[93],_0x784f[94],_0x784f[95]],[mxResources[_0x784f[43]](_0x784f[91]),mxResources[_0x784f[43]](_0x784f[92]),mxResources[_0x784f[43]](_0x784f[93]),mxResources[_0x784f[43]](_0x784f[94]),mxResources[_0x784f[43]](_0x784f[95])])};Sidebar[_0x784f[40]][_0x784f[96]]=!mxClient[_0x784f[23]];Sidebar[_0x784f[40]][_0x784f[97]]=16;Sidebar[_0x784f[40]][_0x784f[98]]=3;Sidebar[_0x784f[40]][_0x784f[99]]=300;Sidebar[_0x784f[40]][_0x784f[100]]=true;Sidebar[_0x784f[40]][_0x784f[101]]=STENCIL_PATH+_0x784f[102];Sidebar[_0x784f[40]][_0x784f[103]]=34;Sidebar[_0x784f[40]][_0x784f[104]]=34;Sidebar[_0x784f[40]][_0x784f[105]]=2;Sidebar[_0x784f[40]][_0x784f[106]]=9;Sidebar[_0x784f[40]][_0x784f[107]]=false;Sidebar[_0x784f[40]][_0x784f[108]]=false;Sidebar[_0x784f[40]][_0x784f[109]]=function(_0x4f5ex7,_0x4f5ex8,_0x4f5ex9,_0x4f5exa){if(this[_0x784f[96]]&&this[_0x784f[4]]){if(this[_0x784f[32]]!=_0x4f5ex7){if(this[_0x784f[110]]!=null){window[_0x784f[111]](this[_0x784f[110]]);this[_0x784f[110]]=null};var _0x4f5exb=mxUtils[_0x784f[25]](this,function(){if(this[_0x784f[112]]==null){this[_0x784f[112]]=document[_0x784f[7]](_0x784f[6]);this[_0x784f[112]][_0x784f[113]]=_0x784f[114];document[_0x784f[22]][_0x784f[21]](this[_0x784f[112]]);this[_0x784f[115]]= new Graph(this[_0x784f[112]],null,null,this[_0x784f[1]][_0x784f[9]][_0x784f[5]][_0x784f[8]]());this[_0x784f[115]][_0x784f[117]][_0x784f[116]](this[_0x784f[97]],this[_0x784f[97]]);this[_0x784f[115]][_0x784f[10]]=false;this[_0x784f[115]][_0x784f[11]]=false;this[_0x784f[115]][_0x784f[13]]=false;this[_0x784f[115]][_0x784f[14]](false);this[_0x784f[115]][_0x784f[12]](false);this[_0x784f[115]][_0x784f[15]](false);if(!mxClient[_0x784f[118]]){this[_0x784f[115]][_0x784f[117]][_0x784f[119]][_0x784f[17]][_0x784f[19]]=_0x784f[120]};this[_0x784f[121]]=mxUtils[_0x784f[122]](IMAGE_PATH+_0x784f[39]);this[_0x784f[121]][_0x784f[17]][_0x784f[19]]=_0x784f[20];this[_0x784f[121]][_0x784f[17]][_0x784f[123]]=_0x784f[124];this[_0x784f[121]][_0x784f[17]][_0x784f[125]]=_0x784f[126];document[_0x784f[22]][_0x784f[21]](this[_0x784f[121]])};this[_0x784f[112]][_0x784f[17]][_0x784f[127]]=_0x784f[128];this[_0x784f[115]][_0x784f[129]]=(_0x4f5exa==null||_0x4f5exa);this[_0x784f[115]][_0x784f[131]][_0x784f[130]]();this[_0x784f[115]][_0x784f[132]](_0x4f5ex8);var _0x4f5exc=this[_0x784f[115]][_0x784f[133]]();var _0x4f5exd=_0x4f5exc[_0x784f[123]]+2*this[_0x784f[97]];var _0x4f5exe=_0x4f5exc[_0x784f[125]]+2*this[_0x784f[97]];if(mxClient[_0x784f[134]]){_0x4f5exd+=4;_0x4f5exe+=4;this[_0x784f[112]][_0x784f[17]][_0x784f[135]]=_0x784f[18]}else {this[_0x784f[112]][_0x784f[17]][_0x784f[135]]=_0x784f[136]};this[_0x784f[121]][_0x784f[17]][_0x784f[16]]=_0x784f[136];this[_0x784f[112]][_0x784f[17]][_0x784f[123]]=_0x4f5exd+_0x784f[137];if(this[_0x784f[108]]&&_0x4f5ex9!=null&&_0x4f5ex9[_0x784f[138]]>0){if(this[_0x784f[139]]==null){this[_0x784f[139]]=document[_0x784f[7]](_0x784f[6]);this[_0x784f[139]][_0x784f[17]][_0x784f[140]]=_0x784f[141];this[_0x784f[139]][_0x784f[17]][_0x784f[142]]=_0x784f[143];this[_0x784f[139]][_0x784f[17]][_0x784f[123]]=_0x784f[144];this[_0x784f[139]][_0x784f[17]][_0x784f[135]]=_0x784f[18];if(mxClient[_0x784f[118]]){this[_0x784f[139]][_0x784f[17]][_0x784f[145]]=_0x784f[146]}else {this[_0x784f[139]][_0x784f[17]][_0x784f[19]]=_0x784f[20];this[_0x784f[139]][_0x784f[17]][_0x784f[145]]=_0x784f[147]};this[_0x784f[112]][_0x784f[21]](this[_0x784f[139]])}else {this[_0x784f[139]][_0x784f[148]]=_0x784f[149]};this[_0x784f[139]][_0x784f[17]][_0x784f[127]]=_0x784f[149];mxUtils[_0x784f[150]](this[_0x784f[139]],_0x4f5ex9);var _0x4f5exf=this[_0x784f[139]][_0x784f[151]]+10;_0x4f5exe+=_0x4f5exf;if(mxClient[_0x784f[118]]){this[_0x784f[139]][_0x784f[17]][_0x784f[152]]=(-_0x4f5exf)+_0x784f[137]}else {_0x4f5exe-=6;this[_0x784f[139]][_0x784f[17]][_0x784f[153]]=(_0x4f5exe-_0x4f5exf)+_0x784f[137]}}else {if(this[_0x784f[139]]!=null&&this[_0x784f[139]][_0x784f[33]]!=null){this[_0x784f[139]][_0x784f[17]][_0x784f[127]]=_0x784f[154]}};this[_0x784f[112]][_0x784f[17]][_0x784f[125]]=_0x4f5exe+_0x784f[137];var _0x4f5ex10=-Math[_0x784f[156]](0,_0x4f5exc[_0x784f[155]]-this[_0x784f[97]]);var _0x4f5ex11=-Math[_0x784f[156]](0,_0x4f5exc[_0x784f[157]]-this[_0x784f[97]]);var _0x4f5ex12=this[_0x784f[2]][_0x784f[158]]+this[_0x784f[1]][_0x784f[159]]+3;var _0x4f5ex13=Math[_0x784f[162]](0,(this[_0x784f[2]][_0x784f[160]]+_0x4f5ex7[_0x784f[160]]-this[_0x784f[2]][_0x784f[161]]-_0x4f5exe/2+16));if(mxClient[_0x784f[118]]){this[_0x784f[115]][_0x784f[117]][_0x784f[119]][_0x784f[167]](_0x784f[163],_0x784f[164]+_0x4f5ex10+_0x784f[165]+_0x4f5ex11+_0x784f[166])}else {this[_0x784f[115]][_0x784f[117]][_0x784f[169]][_0x784f[17]][_0x784f[168]]=_0x4f5ex10+_0x784f[137];this[_0x784f[115]][_0x784f[117]][_0x784f[169]][_0x784f[17]][_0x784f[153]]=_0x4f5ex11+_0x784f[137]};_0x4f5ex12+=document[_0x784f[172]](_0x784f[171])[_0x784f[170]];_0x4f5ex13+=90;this[_0x784f[112]][_0x784f[17]][_0x784f[19]]=_0x784f[20];this[_0x784f[112]][_0x784f[17]][_0x784f[168]]=_0x4f5ex12+_0x784f[137];this[_0x784f[112]][_0x784f[17]][_0x784f[153]]=_0x4f5ex13+_0x784f[137];this[_0x784f[121]][_0x784f[17]][_0x784f[168]]=(_0x4f5ex12-13)+_0x784f[137];this[_0x784f[121]][_0x784f[17]][_0x784f[153]]=(_0x4f5ex13+_0x4f5exe/2-13)+_0x784f[137]});if(this[_0x784f[112]]!=null&&this[_0x784f[112]][_0x784f[17]][_0x784f[127]]!=_0x784f[154]){_0x4f5exb()}else {this[_0x784f[110]]=window[_0x784f[173]](_0x4f5exb,this[_0x784f[99]])};this[_0x784f[32]]=_0x4f5ex7}}};Sidebar[_0x784f[40]][_0x784f[29]]=function(){if(this[_0x784f[110]]!=null){window[_0x784f[111]](this[_0x784f[110]]);this[_0x784f[110]]=null};if(this[_0x784f[112]]!=null){this[_0x784f[112]][_0x784f[17]][_0x784f[127]]=_0x784f[154];this[_0x784f[121]][_0x784f[17]][_0x784f[16]]=_0x784f[18];this[_0x784f[32]]=null}};Sidebar[_0x784f[40]][_0x784f[174]]=function(_0x4f5ex14){var _0x4f5ex7=document[_0x784f[7]](_0x784f[175]);_0x4f5ex7[_0x784f[167]](_0x784f[176],_0x784f[177]);_0x4f5ex7[_0x784f[113]]=_0x784f[178];mxUtils[_0x784f[150]](_0x4f5ex7,_0x4f5ex14);return _0x4f5ex7};Sidebar[_0x784f[40]][_0x784f[179]]=function(_0x4f5ex8,_0x4f5exd,_0x4f5exe,_0x4f5ex15,_0x4f5ex9,_0x4f5exa){this[_0x784f[5]][_0x784f[129]]=(_0x4f5exa==null||_0x4f5exa);this[_0x784f[5]][_0x784f[117]][_0x784f[180]](1,0,0);this[_0x784f[5]][_0x784f[132]](_0x4f5ex8);var _0x4f5exc=this[_0x784f[5]][_0x784f[133]]();var _0x4f5ex16=this[_0x784f[98]];var _0x4f5ex17=Math[_0x784f[156]]((_0x4f5exd-2)/(_0x4f5exc[_0x784f[123]]-_0x4f5exc[_0x784f[155]]+_0x4f5ex16),(_0x4f5exe-2)/(_0x4f5exc[_0x784f[125]]-_0x4f5exc[_0x784f[157]]+_0x4f5ex16));var _0x4f5ex10=-Math[_0x784f[156]](_0x4f5exc[_0x784f[155]],0);var _0x4f5ex11=-Math[_0x784f[156]](_0x4f5exc[_0x784f[157]],0);this[_0x784f[5]][_0x784f[117]][_0x784f[180]](_0x4f5ex17,_0x4f5ex10,_0x4f5ex11);_0x4f5exc=this[_0x784f[5]][_0x784f[133]]();var _0x4f5ex18=Math[_0x784f[162]](0,Math[_0x784f[181]]((_0x4f5exd-_0x4f5exc[_0x784f[123]]-_0x4f5exc[_0x784f[155]])/2));var _0x4f5exf=Math[_0x784f[162]](0,Math[_0x784f[181]]((_0x4f5exe-_0x4f5exc[_0x784f[125]]-_0x4f5exc[_0x784f[157]])/2));var _0x4f5ex19=null;if(this[_0x784f[5]][_0x784f[182]]==mxConstants[_0x784f[183]]&&!mxClient[_0x784f[184]]){_0x4f5ex19=this[_0x784f[5]][_0x784f[117]][_0x784f[187]]()[_0x784f[186]][_0x784f[185]](true)}else {_0x4f5ex19=this[_0x784f[5]][_0x784f[2]][_0x784f[185]](false);_0x4f5ex19[_0x784f[148]]=this[_0x784f[5]][_0x784f[2]][_0x784f[148]]};this[_0x784f[5]][_0x784f[188]]()[_0x784f[130]]();if(mxClient[_0x784f[189]]){_0x4f5ex15[_0x784f[17]][_0x784f[190]]=_0x784f[191]+this[_0x784f[1]][_0x784f[9]][_0x784f[192]]+_0x784f[166]};var _0x4f5ex1a=3;_0x4f5ex19[_0x784f[17]][_0x784f[19]]=_0x784f[120];_0x4f5ex19[_0x784f[17]][_0x784f[135]]=_0x784f[18];_0x4f5ex19[_0x784f[17]][_0x784f[193]]=_0x784f[194];_0x4f5ex19[_0x784f[17]][_0x784f[168]]=(_0x4f5ex18+_0x4f5ex1a)+_0x784f[137];_0x4f5ex19[_0x784f[17]][_0x784f[153]]=(_0x4f5exf+_0x4f5ex1a)+_0x784f[137];_0x4f5ex19[_0x784f[17]][_0x784f[123]]=_0x4f5exd+_0x784f[137];_0x4f5ex19[_0x784f[17]][_0x784f[125]]=_0x4f5exe+_0x784f[137];_0x4f5ex19[_0x784f[17]][_0x784f[16]]=_0x784f[149];_0x4f5ex19[_0x784f[17]][_0x784f[195]]=_0x784f[149];_0x4f5ex19[_0x784f[17]][_0x784f[196]]=_0x784f[149];_0x4f5ex15[_0x784f[21]](_0x4f5ex19);if(this[_0x784f[107]]&&_0x4f5ex9!=null){var _0x4f5ex1b=(mxClient[_0x784f[134]])?2*this[_0x784f[105]]+2:0;_0x4f5ex15[_0x784f[17]][_0x784f[125]]=(this[_0x784f[104]]+_0x4f5ex1b+this[_0x784f[106]]+8)+_0x784f[137];var _0x4f5ex1c=document[_0x784f[7]](_0x784f[6]);_0x4f5ex1c[_0x784f[17]][_0x784f[197]]=this[_0x784f[106]]+_0x784f[137];_0x4f5ex1c[_0x784f[17]][_0x784f[142]]=_0x784f[143];_0x4f5ex1c[_0x784f[17]][_0x784f[198]]=_0x784f[199];if(mxClient[_0x784f[200]]){_0x4f5ex1c[_0x784f[17]][_0x784f[125]]=(this[_0x784f[106]]+12)+_0x784f[137]};_0x4f5ex1c[_0x784f[17]][_0x784f[145]]=_0x784f[201];mxUtils[_0x784f[150]](_0x4f5ex1c,_0x4f5ex9);_0x4f5ex15[_0x784f[21]](_0x4f5ex1c)}};Sidebar[_0x784f[40]][_0x784f[202]]=function(_0x4f5ex8,_0x4f5ex9,_0x4f5exa){var _0x4f5ex7=document[_0x784f[7]](_0x784f[175]);_0x4f5ex7[_0x784f[167]](_0x784f[176],_0x784f[177]);_0x4f5ex7[_0x784f[113]]=_0x784f[203];_0x4f5ex7[_0x784f[17]][_0x784f[135]]=_0x784f[18];var _0x4f5ex1b=(mxClient[_0x784f[134]])?8+2*this[_0x784f[105]]:6;_0x4f5ex7[_0x784f[17]][_0x784f[123]]=(this[_0x784f[103]]+_0x4f5ex1b)+_0x784f[137];_0x4f5ex7[_0x784f[17]][_0x784f[125]]=(this[_0x784f[104]]+_0x4f5ex1b)+_0x784f[137];_0x4f5ex7[_0x784f[17]][_0x784f[204]]=this[_0x784f[105]]+_0x784f[137];mxEvent[_0x784f[26]](_0x4f5ex7,_0x784f[205],function(_0x4f5ex4){mxEvent[_0x784f[206]](_0x4f5ex4)});this[_0x784f[179]](_0x4f5ex8,this[_0x784f[103]],this[_0x784f[104]],_0x4f5ex7,_0x4f5ex9,_0x4f5exa);return _0x4f5ex7};Sidebar[_0x784f[40]][_0x784f[207]]=function(_0x4f5ex8,_0x4f5ex1d){return function(_0x4f5ex1e,_0x4f5ex4,_0x4f5ex1f,_0x4f5ex20,_0x4f5ex21){if(_0x4f5ex1e[_0x784f[208]]()){_0x4f5ex8=_0x4f5ex1e[_0x784f[209]](_0x4f5ex8);if(_0x4f5ex8[_0x784f[138]]>0){var _0x4f5ex22=(_0x4f5ex1f!=null)?_0x4f5ex1e[_0x784f[210]](_0x4f5ex1f,_0x4f5ex8,_0x4f5ex4):false;var _0x4f5ex23=null;if(_0x4f5ex1f!=null&& !_0x4f5ex22){_0x4f5ex1f=null};if(_0x4f5ex1d&&_0x4f5ex1e[_0x784f[211]]()&&_0x4f5ex1e[_0x784f[212]](_0x4f5ex1f,_0x4f5ex8,_0x4f5ex4)){_0x4f5ex1e[_0x784f[213]](_0x4f5ex1f,_0x4f5ex8,null,_0x4f5ex20,_0x4f5ex21);_0x4f5ex23=_0x4f5ex8}else {if(_0x4f5ex8[_0x784f[138]]>0){_0x4f5ex23=_0x4f5ex1e[_0x784f[214]](_0x4f5ex8,_0x4f5ex20,_0x4f5ex21,_0x4f5ex1f)}};if(_0x4f5ex23!=null&&_0x4f5ex23[_0x784f[138]]>0){_0x4f5ex1e[_0x784f[215]](_0x4f5ex23[0]);_0x4f5ex1e[_0x784f[216]](_0x4f5ex23)}}}}};Sidebar[_0x784f[40]][_0x784f[217]]=function(_0x4f5exd,_0x4f5exe){var _0x4f5ex7=document[_0x784f[7]](_0x784f[6]);_0x4f5ex7[_0x784f[17]][_0x784f[218]]=_0x784f[219];_0x4f5ex7[_0x784f[17]][_0x784f[123]]=_0x4f5exd+_0x784f[137];_0x4f5ex7[_0x784f[17]][_0x784f[125]]=_0x4f5exe+_0x784f[137];return _0x4f5ex7};Sidebar[_0x784f[40]][_0x784f[220]]=function(_0x4f5ex7,_0x4f5ex24,_0x4f5ex25){var _0x4f5ex26=mxUtils[_0x784f[222]](_0x4f5ex7,this[_0x784f[1]][_0x784f[9]][_0x784f[5]],_0x4f5ex24,_0x4f5ex25,0,0,this[_0x784f[1]][_0x784f[9]][_0x784f[5]][_0x784f[221]],true,true);_0x4f5ex26[_0x784f[223]]=function(_0x4f5ex1e,_0x4f5ex20,_0x4f5ex21){var _0x4f5ex1f=mxDragSource[_0x784f[40]][_0x784f[223]][_0x784f[224]](this,arguments);if(!_0x4f5ex1e[_0x784f[225]](_0x4f5ex1f)){_0x4f5ex1f=null};return _0x4f5ex1f};return _0x4f5ex26};Sidebar[_0x784f[40]][_0x784f[226]]=function(_0x4f5ex7,_0x4f5ex27){var _0x4f5ex1e=this[_0x784f[1]][_0x784f[9]][_0x784f[5]];var _0x4f5ex28=null;mxEvent[_0x784f[229]](_0x4f5ex7,function(_0x4f5ex4){_0x4f5ex28= new mxPoint(mxEvent[_0x784f[227]](_0x4f5ex4),mxEvent[_0x784f[228]](_0x4f5ex4))});var _0x4f5ex29=_0x4f5ex27[_0x784f[230]];_0x4f5ex27[_0x784f[230]]=function(_0x4f5ex4){if(!mxEvent[_0x784f[231]](_0x4f5ex4)&&this[_0x784f[232]]==null&&_0x4f5ex28!=null){var _0x4f5ex2a=_0x4f5ex1e[_0x784f[233]];if(Math[_0x784f[234]](_0x4f5ex28[_0x784f[155]]-mxEvent[_0x784f[227]](_0x4f5ex4))<=_0x4f5ex2a&&Math[_0x784f[234]](_0x4f5ex28[_0x784f[157]]-mxEvent[_0x784f[228]](_0x4f5ex4))<=_0x4f5ex2a){var _0x4f5ex2b=_0x4f5ex1e[_0x784f[235]]();_0x4f5ex27[_0x784f[236]](_0x4f5ex1e,_0x4f5ex4,null,_0x4f5ex2b,_0x4f5ex2b)}};_0x4f5ex29[_0x784f[224]](this,arguments);_0x4f5ex28=null}};Sidebar[_0x784f[40]][_0x784f[237]]=function(_0x4f5ex2c,_0x4f5ex14,_0x4f5ex2d,_0x4f5ex2e){var _0x4f5ex2f=mxUtils[_0x784f[237]]();var _0x4f5ex19=_0x4f5ex2f[_0x784f[7]](_0x4f5ex2c);_0x4f5ex19[_0x784f[167]](_0x784f[238],_0x4f5ex14);_0x4f5ex2d[_0x784f[239]](function(_0x4f5ex30,_0x4f5ex31){_0x4f5ex19[_0x784f[167]](_0x4f5ex30,_0x4f5ex2e[_0x4f5ex31]?_0x4f5ex2e[_0x4f5ex31]:_0x784f[149])});return _0x4f5ex19};Sidebar[_0x784f[40]][_0x784f[240]]=function(_0x4f5ex32,_0x4f5exd,_0x4f5exe,_0x4f5ex33,_0x4f5ex9,_0x4f5exa){var _0x4f5ex2d=[];var _0x4f5ex2e=[];switch(_0x4f5ex33){case _0x784f[52]:break;case _0x784f[78]:_0x4f5ex2d=[_0x784f[241],_0x784f[131],_0x784f[242],_0x784f[243],_0x784f[244],_0x784f[245]];_0x4f5ex2e=[_0x784f[149],0,_0x784f[246],1,_0x784f[247],true];break;case _0x784f[63]:_0x4f5ex2d=[_0x784f[248],_0x784f[249]];_0x4f5ex2e=[_0x784f[250]];break;case _0x784f[255]:_0x4f5ex2d=[_0x784f[248],_0x784f[251],_0x784f[252]];_0x4f5ex2e=[_0x784f[250],_0x784f[253],_0x784f[254]];break;case _0x784f[65]:_0x4f5ex2d=[_0x784f[248],_0x784f[251],_0x784f[252],_0x784f[256],_0x784f[257]];_0x4f5ex2e=[_0x784f[250],_0x784f[253],_0x784f[254],_0x784f[254],_0x784f[250]];break;case _0x784f[71]:_0x4f5ex2d=[_0x784f[248],_0x784f[251],_0x784f[258],_0x784f[259],_0x784f[256],_0x784f[257]];_0x4f5ex2e=[_0x784f[250],_0x784f[253],_0x784f[254],_0x784f[260],_0x784f[254],_0x784f[250]];break;case _0x784f[95]:_0x4f5ex2d=[_0x784f[261],_0x784f[262]];_0x4f5ex2e=[_0x784f[149],_0x784f[149]];break;case _0x784f[61]:_0x4f5ex2d=[_0x784f[257],_0x784f[263]];_0x4f5ex2e=[_0x784f[250],_0x784f[149]];break;case _0x784f[77]:_0x4f5ex2d=[_0x784f[264],_0x784f[265],_0x784f[257]];_0x4f5ex2e=[_0x784f[250],_0x784f[149],_0x784f[250]];break;case _0x784f[91]:_0x4f5ex2d=[_0x784f[266]];_0x4f5ex2e=[];break;case _0x784f[82]:_0x4f5ex2d=[_0x784f[267],_0x784f[268]];_0x4f5ex2e=[];break;case _0x784f[92]:_0x4f5ex2d=[_0x784f[257],_0x784f[269]];_0x4f5ex2e=[];break;case _0x784f[93]:_0x4f5ex2d=[_0x784f[270],_0x784f[269]];_0x4f5ex2e=[];break;case _0x784f[83]:_0x4f5ex2d=[_0x784f[271]];_0x4f5ex2e=[];break;case _0x784f[84]:_0x4f5ex2d=[_0x784f[272]];_0x4f5ex2e=[_0x784f[250]];break;case _0x784f[273]:_0x4f5ex2d=[_0x784f[272]];_0x4f5ex2e=[_0x784f[250]];break;case _0x784f[85]:_0x4f5ex2d=[_0x784f[257]];_0x4f5ex2e=[_0x784f[250]];break;case _0x784f[66]:_0x4f5ex2d=[_0x784f[274],_0x784f[275]];_0x4f5ex2e=[_0x784f[149],_0x784f[247]];break;case _0x784f[67]:_0x4f5ex2d=[_0x784f[276],_0x784f[275]];_0x4f5ex2e=[_0x784f[149],_0x784f[247]];break;case _0x784f[68]:_0x4f5ex2d=[_0x784f[277],_0x784f[275]];_0x4f5ex2e=[_0x784f[149],_0x784f[247]];break;case _0x784f[74]:_0x4f5ex2d=[_0x784f[278],_0x784f[243],_0x784f[275]];_0x4f5ex2e=[_0x784f[149],_0x784f[279],_0x784f[247]];break;case _0x784f[54]:_0x4f5ex2d=[_0x784f[280],_0x784f[243],_0x784f[95],_0x784f[281]];_0x4f5ex2e=[_0x784f[250],_0x784f[282]];break;case _0x784f[55]:_0x4f5ex2d=[_0x784f[283],_0x784f[284],_0x784f[243],_0x784f[249],_0x784f[281]];_0x4f5ex2e=[_0x784f[149],_0x784f[279],_0x784f[282]];break;case _0x784f[69]:_0x4f5ex2d=[_0x784f[277],_0x784f[285]];_0x4f5ex2e=[_0x784f[149],_0x784f[286]];break;case _0x784f[70]:_0x4f5ex2d=[_0x784f[277],_0x784f[241],_0x784f[287],_0x784f[288],_0x784f[244]];_0x4f5ex2e=[_0x784f[149],_0x784f[149],_0x784f[289],_0x784f[250],_0x784f[247]];break;case _0x784f[56]:_0x4f5ex2d=[_0x784f[290],_0x784f[249],_0x784f[281],_0x784f[248],_0x784f[243],_0x784f[93],_0x784f[291],_0x784f[292],_0x784f[19]];_0x4f5ex2e=[_0x784f[279],_0x784f[149],_0x784f[149],_0x784f[250],_0x784f[293]];break;case _0x784f[57]:_0x4f5ex2d=[_0x784f[294],_0x784f[262]];_0x4f5ex2e=[_0x784f[149],_0x784f[149]];break;case _0x784f[94]:_0x4f5ex2d=[_0x784f[295]];_0x4f5ex2e=[_0x784f[250]];break;case _0x784f[62]:_0x4f5ex2d=[_0x784f[296],_0x784f[257]];_0x4f5ex2e=[_0x784f[149],_0x784f[250]];break;case _0x784f[305]:_0x4f5ex2d=[_0x784f[297],_0x784f[298],_0x784f[299],_0x784f[300],_0x784f[301],_0x784f[302],_0x784f[303],_0x784f[304]];_0x4f5ex2e=[];break;case _0x784f[88]:_0x4f5ex2d=[_0x784f[306]];_0x4f5ex2e=[];break;case _0x784f[58]:_0x4f5ex2d=[_0x784f[307],_0x784f[283],_0x784f[308],_0x784f[309]];_0x4f5ex2e=[_0x784f[149],_0x784f[310],_0x784f[250],_0x784f[253]];break;case _0x784f[79]:_0x4f5ex2d=[_0x784f[311],_0x784f[312],_0x784f[313]];_0x4f5ex2e=[_0x784f[250]];break;default:_0x4f5ex2d=[];_0x4f5ex2e=[];break};var _0x4f5ex19=this[_0x784f[237]](_0x4f5ex33,_0x4f5ex9,_0x4f5ex2d,_0x4f5ex2e);var _0x4f5ex8=[ new mxCell(_0x4f5ex19, new mxGeometry(0,0,_0x4f5exd,_0x4f5exe),_0x4f5ex32)];_0x4f5ex8[0][_0x784f[314]]=true;return this[_0x784f[315]](_0x4f5ex8,_0x4f5exd,_0x4f5exe,_0x4f5ex9,_0x4f5exa)};Sidebar[_0x784f[40]][_0x784f[315]]=function(_0x4f5ex8,_0x4f5exd,_0x4f5exe,_0x4f5ex9,_0x4f5exa){var _0x4f5ex7=this[_0x784f[202]](_0x4f5ex8,_0x4f5ex9,_0x4f5exa);var _0x4f5ex27=this[_0x784f[220]](_0x4f5ex7,this[_0x784f[207]](_0x4f5ex8,true),this[_0x784f[217]](_0x4f5exd,_0x4f5exe));this[_0x784f[226]](_0x4f5ex7,_0x4f5ex27);_0x4f5ex27[_0x784f[316]]=mxUtils[_0x784f[25]](this,function(){return this[_0x784f[1]][_0x784f[9]][_0x784f[5]][_0x784f[318]][_0x784f[317]]});if(!touchStyle){mxEvent[_0x784f[26]](_0x4f5ex7,_0x784f[30],mxUtils[_0x784f[25]](this,function(_0x4f5ex4){this[_0x784f[109]](_0x4f5ex7,_0x4f5ex8,_0x4f5ex9,_0x4f5exa)}))};return _0x4f5ex7};Sidebar[_0x784f[40]][_0x784f[319]]=function(_0x4f5ex32,_0x4f5exd,_0x4f5exe,_0x4f5ex33,_0x4f5ex9,_0x4f5exa){var _0x4f5ex8=[ new mxCell((_0x4f5ex33!=null)?_0x4f5ex33:_0x784f[149], new mxGeometry(0,0,_0x4f5exd,_0x4f5exe),_0x4f5ex32)];_0x4f5ex8[0][_0x784f[321]][_0x784f[320]]( new mxPoint(0,_0x4f5exe),true);_0x4f5ex8[0][_0x784f[321]][_0x784f[320]]( new mxPoint(_0x4f5exd,0),false);_0x4f5ex8[0][_0x784f[321]][_0x784f[120]]=true;_0x4f5ex8[0][_0x784f[322]]=true;return this[_0x784f[323]](_0x4f5ex8,_0x4f5exd,_0x4f5exe,_0x4f5ex9,_0x4f5exa)};Sidebar[_0x784f[40]][_0x784f[323]]=function(_0x4f5ex8,_0x4f5exd,_0x4f5exe,_0x4f5ex9,_0x4f5exa){var _0x4f5ex7=this[_0x784f[202]](_0x4f5ex8,_0x4f5ex9,_0x4f5exa);this[_0x784f[220]](_0x4f5ex7,this[_0x784f[207]](_0x4f5ex8,false),this[_0x784f[217]](_0x4f5exd,_0x4f5exe));var _0x4f5ex1e=this[_0x784f[1]][_0x784f[9]][_0x784f[5]];mxEvent[_0x784f[26]](_0x4f5ex7,_0x784f[205],mxUtils[_0x784f[25]](this,function(_0x4f5ex4){if(this[_0x784f[100]]){_0x4f5ex1e[_0x784f[324]](_0x4f5ex8[0])};_0x4f5ex7[_0x784f[17]][_0x784f[325]]=_0x784f[326];window[_0x784f[173]](function(){_0x4f5ex7[_0x784f[17]][_0x784f[325]]=_0x784f[149]},300);mxEvent[_0x784f[206]](_0x4f5ex4)}));if(!touchStyle){mxEvent[_0x784f[26]](_0x4f5ex7,_0x784f[30],mxUtils[_0x784f[25]](this,function(_0x4f5ex4){this[_0x784f[109]](_0x4f5ex7,_0x4f5ex8,_0x4f5ex9,_0x4f5exa)}))};return _0x4f5ex7};Sidebar[_0x784f[40]][_0x784f[327]]=function(_0x4f5ex34,_0x4f5ex9,_0x4f5ex35,_0x4f5ex36){var _0x4f5ex7=this[_0x784f[174]](_0x4f5ex9);this[_0x784f[2]][_0x784f[21]](_0x4f5ex7);var _0x4f5ex1c=document[_0x784f[7]](_0x784f[6]);_0x4f5ex1c[_0x784f[113]]=_0x784f[328];if(_0x4f5ex35){_0x4f5ex36(_0x4f5ex1c);_0x4f5ex36=null}else {_0x4f5ex1c[_0x784f[17]][_0x784f[127]]=_0x784f[154]};this[_0x784f[329]](_0x4f5ex7,_0x4f5ex1c,_0x4f5ex36);var _0x4f5ex37=document[_0x784f[7]](_0x784f[6]);_0x4f5ex37[_0x784f[21]](_0x4f5ex1c);this[_0x784f[2]][_0x784f[21]](_0x4f5ex37);if(_0x4f5ex34!=null){this[_0x784f[3]][_0x4f5ex34]=[_0x4f5ex7,_0x4f5ex37]}};Sidebar[_0x784f[40]][_0x784f[329]]=function(_0x4f5ex9,_0x4f5ex38,_0x4f5ex39){var _0x4f5ex3a=false;_0x4f5ex9[_0x784f[17]][_0x784f[190]]=(_0x4f5ex38[_0x784f[17]][_0x784f[127]]==_0x784f[154])?_0x784f[191]+IMAGE_PATH+_0x784f[330]:_0x784f[191]+IMAGE_PATH+_0x784f[331];_0x4f5ex9[_0x784f[17]][_0x784f[332]]=_0x784f[333];_0x4f5ex9[_0x784f[17]][_0x784f[334]]=_0x784f[335];mxEvent[_0x784f[26]](_0x4f5ex9,_0x784f[205],function(_0x4f5ex4){if(_0x4f5ex38[_0x784f[17]][_0x784f[127]]==_0x784f[154]){if(!_0x4f5ex3a){_0x4f5ex3a=true;if(_0x4f5ex39!=null){_0x4f5ex9[_0x784f[17]][_0x784f[193]]=_0x784f[336];window[_0x784f[173]](function(){_0x4f5ex39(_0x4f5ex38);_0x4f5ex9[_0x784f[17]][_0x784f[193]]=_0x784f[149]},0)}};_0x4f5ex9[_0x784f[17]][_0x784f[190]]=_0x784f[191]+IMAGE_PATH+_0x784f[331];_0x4f5ex38[_0x784f[17]][_0x784f[127]]=_0x784f[128]}else {_0x4f5ex9[_0x784f[17]][_0x784f[190]]=_0x784f[191]+IMAGE_PATH+_0x784f[330];_0x4f5ex38[_0x784f[17]][_0x784f[127]]=_0x784f[154]};mxEvent[_0x784f[206]](_0x4f5ex4)})};Sidebar[_0x784f[40]][_0x784f[337]]=function(_0x4f5ex34){var _0x4f5ex3b=this[_0x784f[3]][_0x4f5ex34];if(_0x4f5ex3b!=null){this[_0x784f[3]][_0x4f5ex34]=null;for(var _0x4f5ex3c=0;_0x4f5ex3c<_0x4f5ex3b[_0x784f[138]];_0x4f5ex3c++){this[_0x784f[2]][_0x784f[338]](_0x4f5ex3b[_0x4f5ex3c])};return true};return false};Sidebar[_0x784f[40]][_0x784f[49]]=function(_0x4f5ex34,_0x4f5ex9,_0x4f5ex3d,_0x4f5ex3e,_0x4f5ex3f,_0x4f5ex40){this[_0x784f[327]](_0x4f5ex34,_0x4f5ex9,(_0x4f5ex34===_0x784f[42]),mxUtils[_0x784f[25]](this,function(_0x4f5ex38){var _0x4f5ex41=_0x4f5ex40!=null;for(var _0x4f5ex3c=0;_0x4f5ex3c<_0x4f5ex3f[_0x784f[138]];_0x4f5ex3c++){var _0x4f5ex42=_0x4f5ex3d+_0x4f5ex3f[_0x4f5ex3c]+_0x4f5ex3e;_0x4f5ex38[_0x784f[21]](this[_0x784f[240]](_0x784f[339]+_0x4f5ex42,80,80,_0x4f5ex3f[_0x4f5ex3c],(_0x4f5ex41)?_0x4f5ex40[_0x4f5ex3c]:null,_0x4f5ex41))}}))} \ 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 339092d..2285d6d 100644 --- a/public/assets/plugins/square/js/Toolbar.js +++ b/public/assets/plugins/square/js/Toolbar.js @@ -1 +1 @@ -var _0x2526=["\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(_0xd6b2x2,_0xd6b2x3){this[_0x2526[0]]=_0xd6b2x2;this[_0x2526[1]]=_0xd6b2x3;this[_0x2526[2]]();mxEvent[_0x2526[5]](document,mxUtils[_0x2526[4]](this,function(_0xd6b2x4){this[_0x2526[3]]()}))}Toolbar[_0x2526[6]][_0x2526[2]]=function(){this[_0x2526[21]]([_0x2526[7],_0x2526[8],_0x2526[9],_0x2526[10],_0x2526[11],_0x2526[12],_0x2526[9],_0x2526[13],_0x2526[14],_0x2526[15],_0x2526[16],_0x2526[9],_0x2526[17],_0x2526[9],_0x2526[18],_0x2526[19],_0x2526[20],_0x2526[9]]);var _0xd6b2x5=this[_0x2526[25]](_0x2526[22],mxResources[_0x2526[24]](_0x2526[23]),true,_0x2526[23]);_0xd6b2x5[_0x2526[27]][_0x2526[26]]=_0x2526[28];_0xd6b2x5[_0x2526[27]][_0x2526[29]]=_0x2526[30];_0xd6b2x5[_0x2526[27]][_0x2526[31]]=_0x2526[32];this[_0x2526[33]]();var _0xd6b2x6=this[_0x2526[25]](_0x2526[34],mxResources[_0x2526[24]](_0x2526[35]),true,_0x2526[35]);_0xd6b2x6[_0x2526[27]][_0x2526[26]]=_0x2526[28];_0xd6b2x6[_0x2526[27]][_0x2526[29]]=_0x2526[30];_0xd6b2x6[_0x2526[27]][_0x2526[31]]=_0x2526[36];this[_0x2526[21]]([_0x2526[9],_0x2526[37],_0x2526[38],_0x2526[39]]);var _0xd6b2x7=this[_0x2526[0]][_0x2526[41]][_0x2526[40]];var _0xd6b2x8=mxUtils[_0x2526[4]](this,function(){var _0xd6b2x9=_0x2526[22];var _0xd6b2xa=_0x2526[34];var _0xd6b2xb=_0xd6b2x7[_0x2526[44]]()[_0x2526[43]](_0xd6b2x7[_0x2526[42]]());if(_0xd6b2xb!=null){_0xd6b2x9=_0xd6b2xb[_0x2526[27]][mxConstants[_0x2526[45]]]||_0xd6b2x9;_0xd6b2xa=_0xd6b2xb[_0x2526[27]][mxConstants[_0x2526[46]]]||_0xd6b2xa;if(_0xd6b2x9[_0x2526[47]]>10){_0xd6b2x9=_0xd6b2x9[_0x2526[48]](0,8)+_0x2526[49]};_0xd6b2x5[_0x2526[50]]=_0xd6b2x9;_0xd6b2x6[_0x2526[50]]=_0xd6b2xa}});_0xd6b2x7[_0x2526[52]]()[_0x2526[51]](mxEvent.CHANGE,_0xd6b2x8);_0xd6b2x7[_0x2526[53]]()[_0x2526[51]](mxEvent.CHANGE,_0xd6b2x8)};Toolbar[_0x2526[6]][_0x2526[3]]=function(){if(this[_0x2526[54]]!=null){this[_0x2526[54]][_0x2526[3]]();this[_0x2526[54]][_0x2526[55]]();this[_0x2526[54]]=null}};Toolbar[_0x2526[6]][_0x2526[25]]=function(_0xd6b2xc,_0xd6b2xd,_0xd6b2xe,_0xd6b2xf){var _0xd6b2x10=this[_0x2526[0]][_0x2526[56]][_0x2526[24]](_0xd6b2xf);var _0xd6b2x11=this[_0x2526[58]](_0xd6b2xc,_0xd6b2xd,_0xd6b2xe,_0xd6b2x10[_0x2526[57]]);_0xd6b2x10[_0x2526[51]](_0x2526[59],function(){_0xd6b2x11[_0x2526[61]](_0xd6b2x10[_0x2526[60]])});return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[58]]=function(_0xd6b2xc,_0xd6b2xd,_0xd6b2xe,_0xd6b2x12){var _0xd6b2x11=(_0xd6b2xe)?this[_0x2526[62]](_0xd6b2xc):this[_0x2526[63]](_0xd6b2xc);this[_0x2526[64]](_0xd6b2x11,_0xd6b2xd);this[_0x2526[65]](_0xd6b2x11,_0xd6b2xe,_0xd6b2x12);this[_0x2526[1]][_0x2526[66]](_0xd6b2x11);return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[33]]=function(){var _0xd6b2x11=document[_0x2526[68]](_0x2526[67]);_0xd6b2x11[_0x2526[69]]=_0x2526[70];this[_0x2526[1]][_0x2526[66]](_0xd6b2x11);return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[21]]=function(_0xd6b2x13){for(var _0xd6b2x14=0;_0xd6b2x14<_0xd6b2x13[_0x2526[47]];_0xd6b2x14++){var _0xd6b2x15=_0xd6b2x13[_0xd6b2x14];if(_0xd6b2x15==_0x2526[9]){this[_0x2526[33]]()}else {this[_0x2526[73]](_0x2526[71]+_0xd6b2x15[_0x2526[72]](),_0xd6b2x15)}}};Toolbar[_0x2526[6]][_0x2526[73]]=function(_0xd6b2x16,_0xd6b2x15){var _0xd6b2x17=this[_0x2526[0]][_0x2526[74]][_0x2526[24]](_0xd6b2x15);var _0xd6b2x11=null;if(_0xd6b2x17!=null){_0xd6b2x11=this[_0x2526[76]](_0xd6b2x16,_0xd6b2x17[_0x2526[75]],_0xd6b2x17[_0x2526[57]]);_0xd6b2x11[_0x2526[61]](_0xd6b2x17[_0x2526[60]]);_0xd6b2x17[_0x2526[51]](_0x2526[59],function(){_0xd6b2x11[_0x2526[61]](_0xd6b2x17[_0x2526[60]])})};return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[76]]=function(_0xd6b2x18,_0xd6b2xd,_0xd6b2x12){var _0xd6b2x11=this[_0x2526[63]](_0xd6b2x18);this[_0x2526[64]](_0xd6b2x11,_0xd6b2xd);this[_0x2526[77]](_0xd6b2x11,_0xd6b2x12);this[_0x2526[1]][_0x2526[66]](_0xd6b2x11);return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[78]]=function(_0xd6b2x19){var _0xd6b2x7=this[_0x2526[0]][_0x2526[41]][_0x2526[40]];var _0xd6b2x1a=function(){var _0xd6b2x1b=!_0xd6b2x7[_0x2526[79]]();for(var _0xd6b2x14=0;_0xd6b2x14<_0xd6b2x19[_0x2526[47]];_0xd6b2x14++){_0xd6b2x19[_0xd6b2x14][_0x2526[61]](_0xd6b2x1b)}};_0xd6b2x7[_0x2526[52]]()[_0x2526[51]](mxEvent.CHANGE,_0xd6b2x1a);_0xd6b2x1a()};Toolbar[_0x2526[6]][_0x2526[80]]=function(_0xd6b2x19){var _0xd6b2x7=this[_0x2526[0]][_0x2526[41]][_0x2526[40]];var _0xd6b2x1a=function(){var _0xd6b2x1c=false;if(!_0xd6b2x7[_0x2526[79]]()){var _0xd6b2x1d=_0xd6b2x7[_0x2526[81]]();for(var _0xd6b2x14=0;_0xd6b2x14<_0xd6b2x1d[_0x2526[47]];_0xd6b2x14++){if(_0xd6b2x7[_0x2526[53]]()[_0x2526[82]](_0xd6b2x1d[_0xd6b2x14])){_0xd6b2x1c=true;break}}};for(var _0xd6b2x14=0;_0xd6b2x14<_0xd6b2x19[_0x2526[47]];_0xd6b2x14++){_0xd6b2x19[_0xd6b2x14][_0x2526[61]](_0xd6b2x1c)}};_0xd6b2x7[_0x2526[52]]()[_0x2526[51]](mxEvent.CHANGE,_0xd6b2x1a);_0xd6b2x1a()};Toolbar[_0x2526[6]][_0x2526[64]]=function(_0xd6b2x11,_0xd6b2xd){_0xd6b2x11[_0x2526[85]](_0x2526[83],_0x2526[84]);if(_0xd6b2xd!=null){_0xd6b2x11[_0x2526[85]](_0x2526[86],_0xd6b2xd)};this[_0x2526[87]](_0xd6b2x11)};Toolbar[_0x2526[6]][_0x2526[87]]=function(_0xd6b2x11){var _0xd6b2x18=_0xd6b2x11[_0x2526[69]];_0xd6b2x11[_0x2526[61]]=function(_0xd6b2x1e){_0xd6b2x11[_0x2526[60]]=_0xd6b2x1e;if(_0xd6b2x1e){_0xd6b2x11[_0x2526[69]]=_0xd6b2x18}else {_0xd6b2x11[_0x2526[69]]=_0xd6b2x18+_0x2526[88]}};_0xd6b2x11[_0x2526[61]](true)};Toolbar[_0x2526[6]][_0x2526[77]]=function(_0xd6b2x11,_0xd6b2x12){if(_0xd6b2x12!=null){mxEvent[_0x2526[51]](_0xd6b2x11,_0x2526[89],function(_0xd6b2x4){if(_0xd6b2x11[_0x2526[60]]){_0xd6b2x12(_0xd6b2x4)};mxEvent[_0x2526[90]](_0xd6b2x4)})}};Toolbar[_0x2526[6]][_0x2526[63]]=function(_0xd6b2x18){var _0xd6b2x11=document[_0x2526[68]](_0x2526[91]);_0xd6b2x11[_0x2526[85]](_0x2526[92],_0x2526[93]);_0xd6b2x11[_0x2526[69]]=_0x2526[94];var _0xd6b2x1f=document[_0x2526[68]](_0x2526[67]);_0xd6b2x1f[_0x2526[69]]=_0x2526[95]+_0xd6b2x18;_0xd6b2x11[_0x2526[66]](_0xd6b2x1f);return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[62]]=function(_0xd6b2xc,_0xd6b2xd){var _0xd6b2x11=document[_0x2526[68]](_0x2526[91]);_0xd6b2x11[_0x2526[85]](_0x2526[92],_0x2526[93]);_0xd6b2x11[_0x2526[69]]=_0x2526[96];mxUtils[_0x2526[97]](_0xd6b2x11,_0xd6b2xc);return _0xd6b2x11};Toolbar[_0x2526[6]][_0x2526[65]]=function(_0xd6b2x11,_0xd6b2xe,_0xd6b2x12,_0xd6b2x20){if(_0xd6b2x12!=null){var _0xd6b2x7=this[_0x2526[0]][_0x2526[41]][_0x2526[40]];var _0xd6b2x10=null;mxEvent[_0x2526[51]](_0xd6b2x11,_0x2526[89],mxUtils[_0x2526[4]](this,function(_0xd6b2x4){if(_0xd6b2x11[_0x2526[60]]==null||_0xd6b2x11[_0x2526[60]]){_0xd6b2x7[_0x2526[98]][_0x2526[3]]();_0xd6b2x10= new mxPopupMenu(_0xd6b2x12);_0xd6b2x10[_0x2526[67]][_0x2526[69]]+=_0x2526[99];_0xd6b2x10[_0x2526[100]]=_0xd6b2x20;_0xd6b2x10[_0x2526[101]]=_0xd6b2xe;_0xd6b2x10[_0x2526[102]]=true;_0xd6b2x10[_0x2526[106]](_0xd6b2x11[_0x2526[103]],_0xd6b2x11[_0x2526[104]]+_0xd6b2x11[_0x2526[105]]+34,null,_0xd6b2x4);this[_0x2526[54]]=_0xd6b2x10};mxEvent[_0x2526[90]](_0xd6b2x4)}))}} \ No newline at end of file +var _0x24f1=["\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(_0x7dacx2,_0x7dacx3){this[_0x24f1[0]]=_0x7dacx2;this[_0x24f1[1]]=_0x7dacx3;this[_0x24f1[2]]();mxEvent[_0x24f1[5]](document,mxUtils[_0x24f1[4]](this,function(_0x7dacx4){this[_0x24f1[3]]()}))}Toolbar[_0x24f1[6]][_0x24f1[2]]=function(){this[_0x24f1[21]]([_0x24f1[7],_0x24f1[8],_0x24f1[9],_0x24f1[10],_0x24f1[11],_0x24f1[12],_0x24f1[9],_0x24f1[13],_0x24f1[14],_0x24f1[15],_0x24f1[16],_0x24f1[9],_0x24f1[17],_0x24f1[9],_0x24f1[18],_0x24f1[19],_0x24f1[20],_0x24f1[9]]);var _0x7dacx5=this[_0x24f1[25]](_0x24f1[22],mxResources[_0x24f1[24]](_0x24f1[23]),true,_0x24f1[23]);_0x7dacx5[_0x24f1[27]][_0x24f1[26]]=_0x24f1[28];_0x7dacx5[_0x24f1[27]][_0x24f1[29]]=_0x24f1[30];_0x7dacx5[_0x24f1[27]][_0x24f1[31]]=_0x24f1[32];this[_0x24f1[33]]();var _0x7dacx6=this[_0x24f1[25]](_0x24f1[34],mxResources[_0x24f1[24]](_0x24f1[35]),true,_0x24f1[35]);_0x7dacx6[_0x24f1[27]][_0x24f1[26]]=_0x24f1[28];_0x7dacx6[_0x24f1[27]][_0x24f1[29]]=_0x24f1[30];_0x7dacx6[_0x24f1[27]][_0x24f1[31]]=_0x24f1[36];this[_0x24f1[21]]([_0x24f1[9],_0x24f1[37],_0x24f1[38],_0x24f1[39]]);var _0x7dacx7=this[_0x24f1[0]][_0x24f1[41]][_0x24f1[40]];var _0x7dacx8=mxUtils[_0x24f1[4]](this,function(){var _0x7dacx9=_0x24f1[22];var _0x7dacxa=_0x24f1[34];var _0x7dacxb=_0x7dacx7[_0x24f1[44]]()[_0x24f1[43]](_0x7dacx7[_0x24f1[42]]());if(_0x7dacxb!=null){_0x7dacx9=_0x7dacxb[_0x24f1[27]][mxConstants[_0x24f1[45]]]||_0x7dacx9;_0x7dacxa=_0x7dacxb[_0x24f1[27]][mxConstants[_0x24f1[46]]]||_0x7dacxa;if(_0x7dacx9[_0x24f1[47]]>10){_0x7dacx9=_0x7dacx9[_0x24f1[48]](0,8)+_0x24f1[49]};_0x7dacx5[_0x24f1[50]]=_0x7dacx9;_0x7dacx6[_0x24f1[50]]=_0x7dacxa}});_0x7dacx7[_0x24f1[52]]()[_0x24f1[51]](mxEvent.CHANGE,_0x7dacx8);_0x7dacx7[_0x24f1[53]]()[_0x24f1[51]](mxEvent.CHANGE,_0x7dacx8)};Toolbar[_0x24f1[6]][_0x24f1[3]]=function(){if(this[_0x24f1[54]]!=null){this[_0x24f1[54]][_0x24f1[3]]();this[_0x24f1[54]][_0x24f1[55]]();this[_0x24f1[54]]=null}};Toolbar[_0x24f1[6]][_0x24f1[25]]=function(_0x7dacxc,_0x7dacxd,_0x7dacxe,_0x7dacxf){var _0x7dacx10=this[_0x24f1[0]][_0x24f1[56]][_0x24f1[24]](_0x7dacxf);var _0x7dacx11=this[_0x24f1[58]](_0x7dacxc,_0x7dacxd,_0x7dacxe,_0x7dacx10[_0x24f1[57]]);_0x7dacx10[_0x24f1[51]](_0x24f1[59],function(){_0x7dacx11[_0x24f1[61]](_0x7dacx10[_0x24f1[60]])});return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[58]]=function(_0x7dacxc,_0x7dacxd,_0x7dacxe,_0x7dacx12){var _0x7dacx11=(_0x7dacxe)?this[_0x24f1[62]](_0x7dacxc):this[_0x24f1[63]](_0x7dacxc);this[_0x24f1[64]](_0x7dacx11,_0x7dacxd);this[_0x24f1[65]](_0x7dacx11,_0x7dacxe,_0x7dacx12);this[_0x24f1[1]][_0x24f1[66]](_0x7dacx11);return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[33]]=function(){var _0x7dacx11=document[_0x24f1[68]](_0x24f1[67]);_0x7dacx11[_0x24f1[69]]=_0x24f1[70];this[_0x24f1[1]][_0x24f1[66]](_0x7dacx11);return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[21]]=function(_0x7dacx13){for(var _0x7dacx14=0;_0x7dacx14<_0x7dacx13[_0x24f1[47]];_0x7dacx14++){var _0x7dacx15=_0x7dacx13[_0x7dacx14];if(_0x7dacx15==_0x24f1[9]){this[_0x24f1[33]]()}else {this[_0x24f1[73]](_0x24f1[71]+_0x7dacx15[_0x24f1[72]](),_0x7dacx15)}}};Toolbar[_0x24f1[6]][_0x24f1[73]]=function(_0x7dacx16,_0x7dacx15){var _0x7dacx17=this[_0x24f1[0]][_0x24f1[74]][_0x24f1[24]](_0x7dacx15);var _0x7dacx11=null;if(_0x7dacx17!=null){_0x7dacx11=this[_0x24f1[76]](_0x7dacx16,_0x7dacx17[_0x24f1[75]],_0x7dacx17[_0x24f1[57]]);_0x7dacx11[_0x24f1[61]](_0x7dacx17[_0x24f1[60]]);_0x7dacx17[_0x24f1[51]](_0x24f1[59],function(){_0x7dacx11[_0x24f1[61]](_0x7dacx17[_0x24f1[60]])})};return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[76]]=function(_0x7dacx18,_0x7dacxd,_0x7dacx12){var _0x7dacx11=this[_0x24f1[63]](_0x7dacx18);this[_0x24f1[64]](_0x7dacx11,_0x7dacxd);this[_0x24f1[77]](_0x7dacx11,_0x7dacx12);this[_0x24f1[1]][_0x24f1[66]](_0x7dacx11);return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[78]]=function(_0x7dacx19){var _0x7dacx7=this[_0x24f1[0]][_0x24f1[41]][_0x24f1[40]];var _0x7dacx1a=function(){var _0x7dacx1b=!_0x7dacx7[_0x24f1[79]]();for(var _0x7dacx14=0;_0x7dacx14<_0x7dacx19[_0x24f1[47]];_0x7dacx14++){_0x7dacx19[_0x7dacx14][_0x24f1[61]](_0x7dacx1b)}};_0x7dacx7[_0x24f1[52]]()[_0x24f1[51]](mxEvent.CHANGE,_0x7dacx1a);_0x7dacx1a()};Toolbar[_0x24f1[6]][_0x24f1[80]]=function(_0x7dacx19){var _0x7dacx7=this[_0x24f1[0]][_0x24f1[41]][_0x24f1[40]];var _0x7dacx1a=function(){var _0x7dacx1c=false;if(!_0x7dacx7[_0x24f1[79]]()){var _0x7dacx1d=_0x7dacx7[_0x24f1[81]]();for(var _0x7dacx14=0;_0x7dacx14<_0x7dacx1d[_0x24f1[47]];_0x7dacx14++){if(_0x7dacx7[_0x24f1[53]]()[_0x24f1[82]](_0x7dacx1d[_0x7dacx14])){_0x7dacx1c=true;break}}};for(var _0x7dacx14=0;_0x7dacx14<_0x7dacx19[_0x24f1[47]];_0x7dacx14++){_0x7dacx19[_0x7dacx14][_0x24f1[61]](_0x7dacx1c)}};_0x7dacx7[_0x24f1[52]]()[_0x24f1[51]](mxEvent.CHANGE,_0x7dacx1a);_0x7dacx1a()};Toolbar[_0x24f1[6]][_0x24f1[64]]=function(_0x7dacx11,_0x7dacxd){_0x7dacx11[_0x24f1[85]](_0x24f1[83],_0x24f1[84]);if(_0x7dacxd!=null){_0x7dacx11[_0x24f1[85]](_0x24f1[86],_0x7dacxd)};this[_0x24f1[87]](_0x7dacx11)};Toolbar[_0x24f1[6]][_0x24f1[87]]=function(_0x7dacx11){var _0x7dacx18=_0x7dacx11[_0x24f1[69]];_0x7dacx11[_0x24f1[61]]=function(_0x7dacx1e){_0x7dacx11[_0x24f1[60]]=_0x7dacx1e;if(_0x7dacx1e){_0x7dacx11[_0x24f1[69]]=_0x7dacx18}else {_0x7dacx11[_0x24f1[69]]=_0x7dacx18+_0x24f1[88]}};_0x7dacx11[_0x24f1[61]](true)};Toolbar[_0x24f1[6]][_0x24f1[77]]=function(_0x7dacx11,_0x7dacx12){if(_0x7dacx12!=null){mxEvent[_0x24f1[51]](_0x7dacx11,_0x24f1[89],function(_0x7dacx4){if(_0x7dacx11[_0x24f1[60]]){_0x7dacx12(_0x7dacx4)};mxEvent[_0x24f1[90]](_0x7dacx4)})}};Toolbar[_0x24f1[6]][_0x24f1[63]]=function(_0x7dacx18){var _0x7dacx11=document[_0x24f1[68]](_0x24f1[91]);_0x7dacx11[_0x24f1[85]](_0x24f1[92],_0x24f1[93]);_0x7dacx11[_0x24f1[69]]=_0x24f1[94];var _0x7dacx1f=document[_0x24f1[68]](_0x24f1[67]);_0x7dacx1f[_0x24f1[69]]=_0x24f1[95]+_0x7dacx18;_0x7dacx11[_0x24f1[66]](_0x7dacx1f);return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[62]]=function(_0x7dacxc,_0x7dacxd){var _0x7dacx11=document[_0x24f1[68]](_0x24f1[91]);_0x7dacx11[_0x24f1[85]](_0x24f1[92],_0x24f1[93]);_0x7dacx11[_0x24f1[69]]=_0x24f1[96];mxUtils[_0x24f1[97]](_0x7dacx11,_0x7dacxc);return _0x7dacx11};Toolbar[_0x24f1[6]][_0x24f1[65]]=function(_0x7dacx11,_0x7dacxe,_0x7dacx12,_0x7dacx20){if(_0x7dacx12!=null){var _0x7dacx7=this[_0x24f1[0]][_0x24f1[41]][_0x24f1[40]];var _0x7dacx10=null;mxEvent[_0x24f1[51]](_0x7dacx11,_0x24f1[89],mxUtils[_0x24f1[4]](this,function(_0x7dacx4){if(_0x7dacx11[_0x24f1[60]]==null||_0x7dacx11[_0x24f1[60]]){_0x7dacx7[_0x24f1[98]][_0x24f1[3]]();_0x7dacx10= new mxPopupMenu(_0x7dacx12);_0x7dacx10[_0x24f1[67]][_0x24f1[69]]+=_0x24f1[99];_0x7dacx10[_0x24f1[100]]=_0x7dacx20;_0x7dacx10[_0x24f1[101]]=_0x7dacxe;_0x7dacx10[_0x24f1[102]]=true;_0x7dacx10[_0x24f1[106]](_0x7dacx11[_0x24f1[103]],_0x7dacx11[_0x24f1[104]]+_0x7dacx11[_0x24f1[105]]+34,null,_0x7dacx4);this[_0x24f1[54]]=_0x7dacx10};mxEvent[_0x24f1[90]](_0x7dacx4)}))}} \ 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 0908bb3..13672cd 100644 --- a/public/assets/plugins/square/js/custom.js +++ b/public/assets/plugins/square/js/custom.js @@ -1 +1 @@ -var _0x4af5=["\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","\x50\x4F\x53\x54","\x2F\x61\x70\x69\x2F\x72\x65\x73\x74\x2F\x6C\x69\x73\x74\x2F\x6C\x69\x73\x74","\x6F\x70\x65\x6E","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x72\x6F\x77\x73","\x52\x4D\x49","\x69\x64","\x6E\x61\x6D\x65","\x6C\x6F\x67","\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","\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","\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(_0x5e97x2){var _0x5e97x3= new Object();var _0x5e97x4=_0x5e97x2[_0x4af5[3]](_0x4af5[2]);if(_0x5e97x4>0){var _0x5e97x5=_0x5e97x2[_0x4af5[6]](_0x5e97x4+1)[_0x4af5[5]](_0x4af5[4]);for(var _0x5e97x6=0;_0x5e97x6<_0x5e97x5[_0x4af5[7]];_0x5e97x6++){_0x5e97x4=_0x5e97x5[_0x5e97x6][_0x4af5[9]](_0x4af5[8]);if(_0x5e97x4>0){_0x5e97x3[_0x5e97x5[_0x5e97x6][_0x4af5[6]](0,_0x5e97x4)]=_0x5e97x5[_0x5e97x6][_0x4af5[6]](_0x5e97x4+1)}}};return _0x5e97x3})(window[_0x4af5[1]][_0x4af5[0]]);var TDLIST=(function(){var _0x5e97x8=[];var _0x5e97x9= new XMLHttpRequest();try{_0x5e97x9[_0x4af5[12]](_0x4af5[10],_0x4af5[11],false);_0x5e97x9[_0x4af5[14]](JSON[_0x4af5[13]]({page:1,size:600000}));if(_0x5e97x9[_0x4af5[15]]===200){var _0x5e97xa=JSON[_0x4af5[17]](_0x5e97x9[_0x4af5[16]]);if(_0x5e97xa[_0x4af5[15]]>0){var _0x5e97xb=_0x5e97xa[_0x4af5[16]][_0x4af5[19]][_0x4af5[18]];for(var _0x5e97xc in _0x5e97xb){_0x5e97x8[_0x5e97xb[_0x5e97xc][_0x4af5[20]]]=_0x5e97xb[_0x5e97xc][_0x4af5[21]]}}}}catch(e){console[_0x4af5[22]](e)};return _0x5e97x8})();var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0x4af5[23];var SHARE_HOST=_0x4af5[24];var SAVE_URL=_0x4af5[25];var VARIABLE_URL=_0x4af5[26];var STENCIL_PATH=_0x4af5[27];var SHAPES_PATH=_0x4af5[28];var IMAGE_PATH=_0x4af5[29];var STYLE_PATH=_0x4af5[30];var CSS_PATH=_0x4af5[30];var OPEN_FORM=_0x4af5[31];var TEMPLATE_PATH=_0x4af5[32];var RESOURCES_PATH=_0x4af5[33];var RESOURCE_BASE=RESOURCES_PATH+_0x4af5[34];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;var mxLanguage=_0x4af5[35];console[_0x4af5[22]](_0x4af5[36],localStorage[_0x4af5[38]](_0x4af5[37]));switch(localStorage[_0x4af5[38]](_0x4af5[37])){case _0x4af5[39]:mxLanguage=_0x4af5[35];break;case _0x4af5[40]:mxLanguage=_0x4af5[40];break;default:mxLanguage=_0x4af5[35]};console[_0x4af5[22]](_0x4af5[41],mxLanguage);var mxLanguages=[_0x4af5[42],_0x4af5[43],_0x4af5[44],_0x4af5[45],_0x4af5[46],_0x4af5[47],_0x4af5[48],_0x4af5[49],_0x4af5[50],_0x4af5[51],_0x4af5[20],_0x4af5[40],_0x4af5[52],_0x4af5[53],_0x4af5[54],_0x4af5[55],_0x4af5[56],_0x4af5[57],_0x4af5[58],_0x4af5[59],_0x4af5[60],_0x4af5[61],_0x4af5[62],_0x4af5[63],_0x4af5[64],_0x4af5[65],_0x4af5[66]];var mxBasePath=_0x4af5[67];var geBasePath=_0x4af5[68];var ISPEECHLANG={usenglishfemale:_0x4af5[69],usenglishmale:_0x4af5[70],ukenglishfemale:_0x4af5[71],ukenglishmale:_0x4af5[72],auenglishfemale:_0x4af5[73],usspanishfemale:_0x4af5[74],usspanishmale:_0x4af5[75],chchinesefemale:_0x4af5[76],chchinesemale:_0x4af5[77],hkchinesefemale:_0x4af5[78],twchinesefemale:_0x4af5[79],jpjapanesefemale:_0x4af5[80],jpjapanesemale:_0x4af5[81],krkoreanfemale:_0x4af5[82],krkoreanmale:_0x4af5[83],caenglishfemale:_0x4af5[84],huhungarianfemale:_0x4af5[85],brportuguesefemale:_0x4af5[86],eurportuguesefemale:_0x4af5[87],eurportuguesemale:_0x4af5[88],eurspanishfemale:_0x4af5[89],eurspanishmale:_0x4af5[90],eurcatalanfemale:_0x4af5[91],eurczechfemale:_0x4af5[92],eurdanishfemale:_0x4af5[93],eurfinnishfemale:_0x4af5[94],eurfrenchfemale:_0x4af5[95],eurfrenchmale:_0x4af5[96],eurnorwegianfemale:_0x4af5[97],eurdutchfemale:_0x4af5[98],eurpolishfemale:_0x4af5[99],euritalianfemale:_0x4af5[100],eurturkishfemale:_0x4af5[101],eurturkishmale:_0x4af5[102],eurgermanfemale:_0x4af5[103],eurgermanmale:_0x4af5[104],rurussianfemale:_0x4af5[105],rurussianmale:_0x4af5[106],swswedishfemale:_0x4af5[107],cafrenchfemale:_0x4af5[108],cafrenchmale:_0x4af5[109]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0x4af5[110],"\x65\x6E\x2D\x43\x41":_0x4af5[111],"\x65\x6E\x2D\x47\x42":_0x4af5[112],"\x65\x6E\x2D\x41\x55":_0x4af5[113],"\x65\x73\x2D\x45\x53":_0x4af5[114],"\x65\x73\x2D\x4D\x58":_0x4af5[115],"\x69\x74\x2D\x49\x54":_0x4af5[116],"\x66\x72\x2D\x46\x52":_0x4af5[117],"\x66\x72\x2D\x43\x41":_0x4af5[118],"\x70\x6C\x2D\x50\x4C":_0x4af5[119],"\x70\x74\x2D\x50\x54":_0x4af5[120],"\x63\x61\x2D\x45\x53":_0x4af5[121],"\x7A\x68\x2D\x54\x57":_0x4af5[122],"\x64\x61\x2D\x44\x4B":_0x4af5[123],"\x66\x72\x2D\x46\x52":_0x4af5[124],"\x6A\x61\x2D\x4A\x50":_0x4af5[125],"\x6B\x6F\x2D\x4B\x52":_0x4af5[126],"\x6E\x6C\x2D\x4E\x4C":_0x4af5[127],"\x6E\x62\x2D\x4E\x4F":_0x4af5[128],"\x70\x74\x2D\x42\x52":_0x4af5[129],"\x72\x75\x2D\x52\x55":_0x4af5[130],"\x73\x76\x2D\x53\x45":_0x4af5[131],"\x7A\x68\x2D\x43\x4E":_0x4af5[132],"\x7A\x68\x2D\x48\x4B":_0x4af5[133]};var ISPEECHASRMODEL={0:_0x4af5[134],date:_0x4af5[135],usmoney:_0x4af5[136],numbersto9:_0x4af5[137],numbersto99:_0x4af5[138],numbersto999:_0x4af5[139],time:_0x4af5[140],phonenumber:_0x4af5[141],streets:_0x4af5[142],citystate:_0x4af5[143]};var ISPEECHBEEP={"\x42\x45\x45\x50":_0x4af5[144],"\x4E\x4F\x42\x45\x45\x50":_0x4af5[145]};var GOOGLETTSLANG={"\x61\x66":_0x4af5[146],"\x73\x71":_0x4af5[147],"\x61\x6D":_0x4af5[148],"\x61\x72":_0x4af5[149],"\x68\x79":_0x4af5[150],"\x61\x7A":_0x4af5[151],"\x65\x75":_0x4af5[152],"\x62\x65":_0x4af5[153],"\x62\x6E":_0x4af5[154],"\x62\x68":_0x4af5[155],"\x62\x73":_0x4af5[156],"\x62\x72":_0x4af5[157],"\x62\x67":_0x4af5[158],"\x6B\x6D":_0x4af5[159],"\x63\x61":_0x4af5[160],"\x7A\x68\x2D\x43\x4E":_0x4af5[161],"\x7A\x68\x2D\x54\x57":_0x4af5[162],"\x63\x6F":_0x4af5[163],"\x68\x72":_0x4af5[164],"\x63\x73":_0x4af5[165],"\x64\x61":_0x4af5[166],"\x6E\x6C":_0x4af5[167],"\x65\x6E":_0x4af5[168],"\x65\x6F":_0x4af5[169],"\x65\x74":_0x4af5[170],"\x66\x6F":_0x4af5[171],"\x74\x6C":_0x4af5[172],"\x66\x69":_0x4af5[173],"\x66\x72":_0x4af5[174],"\x66\x79":_0x4af5[175],"\x67\x6C":_0x4af5[176],"\x6B\x61":_0x4af5[177],"\x64\x65":_0x4af5[178],"\x65\x6C":_0x4af5[179],"\x67\x6E":_0x4af5[180],"\x67\x75":_0x4af5[181],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0x4af5[182],"\x68\x61":_0x4af5[183],"\x69\x77":_0x4af5[184],"\x68\x69":_0x4af5[185],"\x68\x75":_0x4af5[186],"\x69\x73":_0x4af5[187],"\x69\x64":_0x4af5[188],"\x69\x61":_0x4af5[189],"\x67\x61":_0x4af5[190],"\x69\x74":_0x4af5[191],"\x6A\x77":_0x4af5[192],"\x6A\x61":_0x4af5[193],"\x6B\x6E":_0x4af5[194],"\x6B\x6B":_0x4af5[195],"\x72\x77":_0x4af5[196],"\x72\x6E":_0x4af5[197],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0x4af5[198],"\x6B\x75":_0x4af5[199],"\x6B\x6F":_0x4af5[200],"\x6B\x79":_0x4af5[201],"\x6C\x6F":_0x4af5[202],"\x6C\x61":_0x4af5[203],"\x6C\x76":_0x4af5[204],"\x6C\x6E":_0x4af5[205],"\x6C\x74":_0x4af5[206],"\x6D\x6B":_0x4af5[207],"\x6D\x67":_0x4af5[208],"\x6D\x73":_0x4af5[209],"\x6D\x6C":_0x4af5[210],"\x6D\x74":_0x4af5[211],"\x6D\x69":_0x4af5[212],"\x6D\x72":_0x4af5[213],"\x6D\x6F":_0x4af5[214],"\x6D\x6E":_0x4af5[215],"\x73\x72\x2D\x4D\x45":_0x4af5[216],"\x6E\x65":_0x4af5[217],"\x6E\x6F":_0x4af5[218],"\x6E\x6E":_0x4af5[219],"\x6F\x63":_0x4af5[220],"\x6F\x72":_0x4af5[221],"\x6F\x6D":_0x4af5[222],"\x70\x73":_0x4af5[223],"\x66\x61":_0x4af5[224],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0x4af5[225],"\x70\x6C":_0x4af5[226],"\x70\x74\x2D\x42\x52":_0x4af5[129],"\x70\x74\x2D\x50\x54":_0x4af5[120],"\x70\x61":_0x4af5[227],"\x71\x75":_0x4af5[228],"\x72\x6F":_0x4af5[229],"\x72\x6D":_0x4af5[230],"\x72\x75":_0x4af5[231],"\x67\x64":_0x4af5[232],"\x73\x72":_0x4af5[233],"\x73\x68":_0x4af5[234],"\x73\x74":_0x4af5[235],"\x73\x6E":_0x4af5[236],"\x73\x64":_0x4af5[237],"\x73\x69":_0x4af5[238],"\x73\x6B":_0x4af5[239],"\x73\x6C":_0x4af5[240],"\x73\x6F":_0x4af5[241],"\x65\x73":_0x4af5[242],"\x73\x75":_0x4af5[243],"\x73\x77":_0x4af5[244],"\x73\x76":_0x4af5[245],"\x74\x67":_0x4af5[246],"\x74\x61":_0x4af5[247],"\x74\x74":_0x4af5[248],"\x74\x65":_0x4af5[249],"\x74\x68":_0x4af5[250],"\x74\x69":_0x4af5[251],"\x74\x6F":_0x4af5[252],"\x74\x72":_0x4af5[253],"\x74\x6B":_0x4af5[254],"\x74\x77":_0x4af5[255],"\x75\x67":_0x4af5[256],"\x75\x6B":_0x4af5[257],"\x75\x72":_0x4af5[258],"\x75\x7A":_0x4af5[259],"\x76\x69":_0x4af5[260],"\x63\x79":_0x4af5[261],"\x78\x68":_0x4af5[262],"\x79\x69":_0x4af5[263],"\x79\x6F":_0x4af5[264],"\x7A\x75":_0x4af5[265]} \ No newline at end of file +var _0x857f=["\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(_0x4f47x2){var _0x4f47x3= new Object();var _0x4f47x4=_0x4f47x2[_0x857f[3]](_0x857f[2]);if(_0x4f47x4>0){var _0x4f47x5=_0x4f47x2[_0x857f[6]](_0x4f47x4+1)[_0x857f[5]](_0x857f[4]);for(var _0x4f47x6=0;_0x4f47x6<_0x4f47x5[_0x857f[7]];_0x4f47x6++){_0x4f47x4=_0x4f47x5[_0x4f47x6][_0x857f[9]](_0x857f[8]);if(_0x4f47x4>0){_0x4f47x3[_0x4f47x5[_0x4f47x6][_0x857f[6]](0,_0x4f47x4)]=_0x4f47x5[_0x4f47x6][_0x857f[6]](_0x4f47x4+1)}}};return _0x4f47x3})(window[_0x857f[1]][_0x857f[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0x857f[10];var SHARE_HOST=_0x857f[11];var SAVE_URL=_0x857f[12];var VARIABLE_URL=_0x857f[13];var STENCIL_PATH=_0x857f[14];var SHAPES_PATH=_0x857f[15];var IMAGE_PATH=_0x857f[16];var STYLE_PATH=_0x857f[17];var CSS_PATH=_0x857f[17];var OPEN_FORM=_0x857f[18];var TEMPLATE_PATH=_0x857f[19];var RESOURCES_PATH=_0x857f[20];var RESOURCE_BASE=RESOURCES_PATH+_0x857f[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;var mxLanguage=_0x857f[22];console[_0x857f[26]](_0x857f[23],localStorage[_0x857f[25]](_0x857f[24]));switch(localStorage[_0x857f[25]](_0x857f[24])){case _0x857f[27]:mxLanguage=_0x857f[22];break;case _0x857f[28]:mxLanguage=_0x857f[28];break;default:mxLanguage=_0x857f[22]};console[_0x857f[26]](_0x857f[29],mxLanguage);var mxLanguages=[_0x857f[30],_0x857f[31],_0x857f[32],_0x857f[33],_0x857f[34],_0x857f[35],_0x857f[36],_0x857f[37],_0x857f[38],_0x857f[39],_0x857f[40],_0x857f[28],_0x857f[41],_0x857f[42],_0x857f[43],_0x857f[44],_0x857f[45],_0x857f[46],_0x857f[47],_0x857f[48],_0x857f[49],_0x857f[50],_0x857f[51],_0x857f[52],_0x857f[53],_0x857f[54],_0x857f[55]];var mxBasePath=_0x857f[56];var geBasePath=_0x857f[57];var ISPEECHLANG={usenglishfemale:_0x857f[58],usenglishmale:_0x857f[59],ukenglishfemale:_0x857f[60],ukenglishmale:_0x857f[61],auenglishfemale:_0x857f[62],usspanishfemale:_0x857f[63],usspanishmale:_0x857f[64],chchinesefemale:_0x857f[65],chchinesemale:_0x857f[66],hkchinesefemale:_0x857f[67],twchinesefemale:_0x857f[68],jpjapanesefemale:_0x857f[69],jpjapanesemale:_0x857f[70],krkoreanfemale:_0x857f[71],krkoreanmale:_0x857f[72],caenglishfemale:_0x857f[73],huhungarianfemale:_0x857f[74],brportuguesefemale:_0x857f[75],eurportuguesefemale:_0x857f[76],eurportuguesemale:_0x857f[77],eurspanishfemale:_0x857f[78],eurspanishmale:_0x857f[79],eurcatalanfemale:_0x857f[80],eurczechfemale:_0x857f[81],eurdanishfemale:_0x857f[82],eurfinnishfemale:_0x857f[83],eurfrenchfemale:_0x857f[84],eurfrenchmale:_0x857f[85],eurnorwegianfemale:_0x857f[86],eurdutchfemale:_0x857f[87],eurpolishfemale:_0x857f[88],euritalianfemale:_0x857f[89],eurturkishfemale:_0x857f[90],eurturkishmale:_0x857f[91],eurgermanfemale:_0x857f[92],eurgermanmale:_0x857f[93],rurussianfemale:_0x857f[94],rurussianmale:_0x857f[95],swswedishfemale:_0x857f[96],cafrenchfemale:_0x857f[97],cafrenchmale:_0x857f[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0x857f[99],"\x65\x6E\x2D\x43\x41":_0x857f[100],"\x65\x6E\x2D\x47\x42":_0x857f[101],"\x65\x6E\x2D\x41\x55":_0x857f[102],"\x65\x73\x2D\x45\x53":_0x857f[103],"\x65\x73\x2D\x4D\x58":_0x857f[104],"\x69\x74\x2D\x49\x54":_0x857f[105],"\x66\x72\x2D\x46\x52":_0x857f[106],"\x66\x72\x2D\x43\x41":_0x857f[107],"\x70\x6C\x2D\x50\x4C":_0x857f[108],"\x70\x74\x2D\x50\x54":_0x857f[109],"\x63\x61\x2D\x45\x53":_0x857f[110],"\x7A\x68\x2D\x54\x57":_0x857f[111],"\x64\x61\x2D\x44\x4B":_0x857f[112],"\x66\x72\x2D\x46\x52":_0x857f[113],"\x6A\x61\x2D\x4A\x50":_0x857f[114],"\x6B\x6F\x2D\x4B\x52":_0x857f[115],"\x6E\x6C\x2D\x4E\x4C":_0x857f[116],"\x6E\x62\x2D\x4E\x4F":_0x857f[117],"\x70\x74\x2D\x42\x52":_0x857f[118],"\x72\x75\x2D\x52\x55":_0x857f[119],"\x73\x76\x2D\x53\x45":_0x857f[120],"\x7A\x68\x2D\x43\x4E":_0x857f[121],"\x7A\x68\x2D\x48\x4B":_0x857f[122]};var ISPEECHASRMODEL={0:_0x857f[123],date:_0x857f[124],usmoney:_0x857f[125],numbersto9:_0x857f[126],numbersto99:_0x857f[127],numbersto999:_0x857f[128],time:_0x857f[129],phonenumber:_0x857f[130],streets:_0x857f[131],citystate:_0x857f[132]};var ISPEECHBEEP={"\x42\x45\x45\x50":_0x857f[133],"\x4E\x4F\x42\x45\x45\x50":_0x857f[134]};var GOOGLETTSLANG={"\x61\x66":_0x857f[135],"\x73\x71":_0x857f[136],"\x61\x6D":_0x857f[137],"\x61\x72":_0x857f[138],"\x68\x79":_0x857f[139],"\x61\x7A":_0x857f[140],"\x65\x75":_0x857f[141],"\x62\x65":_0x857f[142],"\x62\x6E":_0x857f[143],"\x62\x68":_0x857f[144],"\x62\x73":_0x857f[145],"\x62\x72":_0x857f[146],"\x62\x67":_0x857f[147],"\x6B\x6D":_0x857f[148],"\x63\x61":_0x857f[149],"\x7A\x68\x2D\x43\x4E":_0x857f[150],"\x7A\x68\x2D\x54\x57":_0x857f[151],"\x63\x6F":_0x857f[152],"\x68\x72":_0x857f[153],"\x63\x73":_0x857f[154],"\x64\x61":_0x857f[155],"\x6E\x6C":_0x857f[156],"\x65\x6E":_0x857f[157],"\x65\x6F":_0x857f[158],"\x65\x74":_0x857f[159],"\x66\x6F":_0x857f[160],"\x74\x6C":_0x857f[161],"\x66\x69":_0x857f[162],"\x66\x72":_0x857f[163],"\x66\x79":_0x857f[164],"\x67\x6C":_0x857f[165],"\x6B\x61":_0x857f[166],"\x64\x65":_0x857f[167],"\x65\x6C":_0x857f[168],"\x67\x6E":_0x857f[169],"\x67\x75":_0x857f[170],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0x857f[171],"\x68\x61":_0x857f[172],"\x69\x77":_0x857f[173],"\x68\x69":_0x857f[174],"\x68\x75":_0x857f[175],"\x69\x73":_0x857f[176],"\x69\x64":_0x857f[177],"\x69\x61":_0x857f[178],"\x67\x61":_0x857f[179],"\x69\x74":_0x857f[180],"\x6A\x77":_0x857f[181],"\x6A\x61":_0x857f[182],"\x6B\x6E":_0x857f[183],"\x6B\x6B":_0x857f[184],"\x72\x77":_0x857f[185],"\x72\x6E":_0x857f[186],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0x857f[187],"\x6B\x75":_0x857f[188],"\x6B\x6F":_0x857f[189],"\x6B\x79":_0x857f[190],"\x6C\x6F":_0x857f[191],"\x6C\x61":_0x857f[192],"\x6C\x76":_0x857f[193],"\x6C\x6E":_0x857f[194],"\x6C\x74":_0x857f[195],"\x6D\x6B":_0x857f[196],"\x6D\x67":_0x857f[197],"\x6D\x73":_0x857f[198],"\x6D\x6C":_0x857f[199],"\x6D\x74":_0x857f[200],"\x6D\x69":_0x857f[201],"\x6D\x72":_0x857f[202],"\x6D\x6F":_0x857f[203],"\x6D\x6E":_0x857f[204],"\x73\x72\x2D\x4D\x45":_0x857f[205],"\x6E\x65":_0x857f[206],"\x6E\x6F":_0x857f[207],"\x6E\x6E":_0x857f[208],"\x6F\x63":_0x857f[209],"\x6F\x72":_0x857f[210],"\x6F\x6D":_0x857f[211],"\x70\x73":_0x857f[212],"\x66\x61":_0x857f[213],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0x857f[214],"\x70\x6C":_0x857f[215],"\x70\x74\x2D\x42\x52":_0x857f[118],"\x70\x74\x2D\x50\x54":_0x857f[109],"\x70\x61":_0x857f[216],"\x71\x75":_0x857f[217],"\x72\x6F":_0x857f[218],"\x72\x6D":_0x857f[219],"\x72\x75":_0x857f[220],"\x67\x64":_0x857f[221],"\x73\x72":_0x857f[222],"\x73\x68":_0x857f[223],"\x73\x74":_0x857f[224],"\x73\x6E":_0x857f[225],"\x73\x64":_0x857f[226],"\x73\x69":_0x857f[227],"\x73\x6B":_0x857f[228],"\x73\x6C":_0x857f[229],"\x73\x6F":_0x857f[230],"\x65\x73":_0x857f[231],"\x73\x75":_0x857f[232],"\x73\x77":_0x857f[233],"\x73\x76":_0x857f[234],"\x74\x67":_0x857f[235],"\x74\x61":_0x857f[236],"\x74\x74":_0x857f[237],"\x74\x65":_0x857f[238],"\x74\x68":_0x857f[239],"\x74\x69":_0x857f[240],"\x74\x6F":_0x857f[241],"\x74\x72":_0x857f[242],"\x74\x6B":_0x857f[243],"\x74\x77":_0x857f[244],"\x75\x67":_0x857f[245],"\x75\x6B":_0x857f[246],"\x75\x72":_0x857f[247],"\x75\x7A":_0x857f[248],"\x76\x69":_0x857f[249],"\x63\x79":_0x857f[250],"\x78\x68":_0x857f[251],"\x79\x69":_0x857f[252],"\x79\x6F":_0x857f[253],"\x7A\x75":_0x857f[254]} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 2a73b1a..7e2a9de 100644 --- a/public/index.html +++ b/public/index.html @@ -50,7 +50,7 @@ <![endif]--> <script src="app/f3d4fdf6.vendor.js"></script> - <script src="app/316e37bb.app.js"></script> + <script src="app/2707b071.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.100.txt b/release-notes/changelog_0.0.100.txt index fdd0a23..e308ea9 100644 --- a/release-notes/changelog_0.0.100.txt +++ b/release-notes/changelog_0.0.100.txt @@ -1,5 +1,18 @@ # xCALLY MOTION Changelog +- * b2fe40f - 2016-05-25: fixed integrations list in the sidebar +- * c43dfd1 - 2016-05-25: Switch to landscape if pdf report has more than 5 columns +- * 0c97ace - 2016-05-25: Fixed header content fo pdf +- * 8fdd7af - 2016-05-25: Fixed pdf extraction +- * e155ad4 - 2016-05-25: fix dialog tigerdial list +- * 1e0a9a2 - 2016-05-25: fix xml for firefox +- * 910e79a - 2016-05-25: client app channel chat room directive notification message fixed +- * b00ada3 - 2016-05-25: Fixed chat +- * 78f59fd - 2016-05-25: client side app channels chat room directive emoticons +- * dfb717f - 2016-05-25: client side mail inbox disposition modal removed + agents add control +- * d1ab3d1 - 2016-05-25: Auto add new agents to default cm list; Removed agent association interface for default cm lists; +- * a5ff964 - 2016-05-25: Fixed agents extensions update +- * 6e87964 - 2016-05-25: Fixed dials for agents - * 0347dd7 - 2016-05-25: add pdftoimage - * 4a41e8e - 2016-05-25: remove logger - * b83380e - 2016-05-25: new version @@ -73,22 +86,4 @@ - * 47177c2 - 2016-05-19: client assets languages - * 25ce3cf - 2016-05-19: server side api - * 9998678 - 2016-05-19: client app channels chat room -- * dfbed21 - 2016-05-18: client side app channel chat room notification enabled -- * 3de2f78 - 2016-05-18: assets css chat box -- * d000ffd - 2016-05-18: app channels chat room room directive -- * d83bc27 - 2016-05-18: scroll chat box directive -- * 3055d4f - 2016-05-18: fixed fax open room -- * edf4e9d - 2016-05-18: update constructor of express-mysql-session -- * 927d9db - 2016-05-18: update fax inbox -- * f195540 - 2016-05-18: client app channels mail inbox update -- * c829766 - 2016-05-18: Changed contacts log column -- * 1b3aafa - 2016-05-18: client side components disbar integration factory get call fixed -- * be1792d - 2016-05-18: Fixed cm breadcrumbs; Fixed default list delete on cm -- * cbf8bae - 2016-05-18: fixed angular-ui-select version -- * 62d818d - 2016-05-18: client side app.js review -- * 903c13f - 2016-05-18: bower.json -- * e8e468c - 2016-05-18: server sode api tags forbidden get fixed -- * 3a8dc15 - 2016-05-18: client side components -- * c89189d - 2016-05-18: client side main -- * a1fb69a - 2016-05-18: client side app dashboard diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js index 9c5490f..3750652 100644 --- a/server/api/action/action.controller.js +++ b/server/api/action/action.controller.js @@ -1 +1 @@ -var _0xca0f=["\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"];_0xca0f[0];var _=require(_0xca0f[1]);var Action=require(_0xca0f[3])[_0xca0f[2]];var sequelize=require(_0xca0f[3])[_0xca0f[4]];function handleError(_0xfd8dx5,_0xfd8dx6){return _0xfd8dx5[_0xca0f[6]](500)[_0xca0f[5]](_0xfd8dx6)}function responseWithResult(_0xfd8dx5,_0xfd8dx8){_0xfd8dx8=_0xfd8dx8||200;return function(_0xfd8dx9){if(_0xfd8dx9){_0xfd8dx5[_0xca0f[6]](_0xfd8dx8)[_0xca0f[7]](_0xfd8dx9)}}}function handleEntityNotFound(_0xfd8dx5){return function(_0xfd8dx9){if(!_0xfd8dx9){_0xfd8dx5[_0xca0f[6]](404)[_0xca0f[8]]();return null};return _0xfd8dx9}}function saveUpdates(_0xfd8dxc){return function(_0xfd8dx9){return _0xfd8dx9[_0xca0f[10]](_0xfd8dxc)[_0xca0f[9]](function(_0xfd8dxd){return _0xfd8dxd})}}function removeEntity(_0xfd8dx5){return function(_0xfd8dx9){if(_0xfd8dx9){return _0xfd8dx9[_0xca0f[11]]()[_0xca0f[9]](function(){_0xfd8dx5[_0xca0f[6]](204)[_0xca0f[8]]()})}}}exports[_0xca0f[12]]=function(_0xfd8dxf,_0xfd8dx5){return Action[_0xca0f[14]]()[_0xca0f[9]](responseWithResult(_0xfd8dx5))[_0xca0f[13]](handleError(_0xfd8dx5))};exports[_0xca0f[15]]=function(_0xfd8dxf,_0xfd8dx5,_0xfd8dx10){_0xfd8dxf[_0xca0f[17]][_0xca0f[16]]=_0xfd8dxf[_0xca0f[19]][_0xca0f[18]];return sequelize[_0xca0f[28]](function(_0xfd8dx12){return Action[_0xca0f[15]](_[_0xca0f[27]](_0xfd8dxf[_0xca0f[17]],_0xfd8dxf[_0xca0f[26]]),{transaction:_0xfd8dx12,body:_0xfd8dxf[_0xca0f[17]]})})[_0xca0f[9]](function(_0xfd8dx11){return _0xfd8dx5[_0xca0f[6]](201)[_0xca0f[5]](_0xfd8dx11)})[_0xca0f[13]](function(_0xfd8dx6){console[_0xca0f[20]](_0xfd8dx6);if(_0xfd8dx6[_0xca0f[21]]===_0xca0f[22]){_0xfd8dx6[_0xca0f[21]]=_0xca0f[23];_0xfd8dx6[_0xca0f[24]]=_0xca0f[25]};return handleError(_0xfd8dx5,_0xfd8dx6)})} \ No newline at end of file +var _0x1b16=["\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"];_0x1b16[0];var _=require(_0x1b16[1]);var Action=require(_0x1b16[3])[_0x1b16[2]];var sequelize=require(_0x1b16[3])[_0x1b16[4]];function handleError(_0x64ffx5,_0x64ffx6){return _0x64ffx5[_0x1b16[6]](500)[_0x1b16[5]](_0x64ffx6)}function responseWithResult(_0x64ffx5,_0x64ffx8){_0x64ffx8=_0x64ffx8||200;return function(_0x64ffx9){if(_0x64ffx9){_0x64ffx5[_0x1b16[6]](_0x64ffx8)[_0x1b16[7]](_0x64ffx9)}}}function handleEntityNotFound(_0x64ffx5){return function(_0x64ffx9){if(!_0x64ffx9){_0x64ffx5[_0x1b16[6]](404)[_0x1b16[8]]();return null};return _0x64ffx9}}function saveUpdates(_0x64ffxc){return function(_0x64ffx9){return _0x64ffx9[_0x1b16[10]](_0x64ffxc)[_0x1b16[9]](function(_0x64ffxd){return _0x64ffxd})}}function removeEntity(_0x64ffx5){return function(_0x64ffx9){if(_0x64ffx9){return _0x64ffx9[_0x1b16[11]]()[_0x1b16[9]](function(){_0x64ffx5[_0x1b16[6]](204)[_0x1b16[8]]()})}}}exports[_0x1b16[12]]=function(_0x64ffxf,_0x64ffx5){return Action[_0x1b16[14]]()[_0x1b16[9]](responseWithResult(_0x64ffx5))[_0x1b16[13]](handleError(_0x64ffx5))};exports[_0x1b16[15]]=function(_0x64ffxf,_0x64ffx5,_0x64ffx10){_0x64ffxf[_0x1b16[17]][_0x1b16[16]]=_0x64ffxf[_0x1b16[19]][_0x1b16[18]];return sequelize[_0x1b16[28]](function(_0x64ffx12){return Action[_0x1b16[15]](_[_0x1b16[27]](_0x64ffxf[_0x1b16[17]],_0x64ffxf[_0x1b16[26]]),{transaction:_0x64ffx12,body:_0x64ffxf[_0x1b16[17]]})})[_0x1b16[9]](function(_0x64ffx11){return _0x64ffx5[_0x1b16[6]](201)[_0x1b16[5]](_0x64ffx11)})[_0x1b16[13]](function(_0x64ffx6){console[_0x1b16[20]](_0x64ffx6);if(_0x64ffx6[_0x1b16[21]]===_0x1b16[22]){_0x64ffx6[_0x1b16[21]]=_0x1b16[23];_0x64ffx6[_0x1b16[24]]=_0x1b16[25]};return handleError(_0x64ffx5,_0x64ffx6)})} \ No newline at end of file diff --git a/server/api/action/action.socket.js b/server/api/action/action.socket.js index 95a2020..4bc95b5 100644 --- a/server/api/action/action.socket.js +++ b/server/api/action/action.socket.js @@ -1 +1 @@ -var _0xdcdd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x41\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdcdd[0];var Action=require(_0xdcdd[2])[_0xdcdd[1]];exports[_0xdcdd[3]]=function(_0xef89x2){Action[_0xdcdd[4]](function(_0xef89x3){onSave(_0xef89x2,_0xef89x3)});Action[_0xdcdd[5]](function(_0xef89x3){onSave(_0xef89x2,_0xef89x3)})};function onSave(_0xef89x2,_0xef89x3,_0xef89x5){_0xef89x2[_0xdcdd[7]](_0xdcdd[6],_0xef89x3)}function onRemove(_0xef89x2,_0xef89x3,_0xef89x5){_0xef89x2[_0xdcdd[7]](_0xdcdd[8],_0xef89x3)} \ No newline at end of file +var _0x2aee=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x41\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2aee[0];var Action=require(_0x2aee[2])[_0x2aee[1]];exports[_0x2aee[3]]=function(_0x1d19x2){Action[_0x2aee[4]](function(_0x1d19x3){onSave(_0x1d19x2,_0x1d19x3)});Action[_0x2aee[5]](function(_0x1d19x3){onSave(_0x1d19x2,_0x1d19x3)})};function onSave(_0x1d19x2,_0x1d19x3,_0x1d19x5){_0x1d19x2[_0x2aee[7]](_0x2aee[6],_0x1d19x3)}function onRemove(_0x1d19x2,_0x1d19x3,_0x1d19x5){_0x1d19x2[_0x2aee[7]](_0x2aee[8],_0x1d19x3)} \ No newline at end of file diff --git a/server/api/action/index.js b/server/api/action/index.js index ebfeb4c..6ad56ca 100644 --- a/server/api/action/index.js +++ b/server/api/action/index.js @@ -1 +1 @@ -var _0xaab3=["\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"];_0xaab3[0];var express=require(_0xaab3[1]);var auth=require(_0xaab3[2]);var controller=require(_0xaab3[3]);var router=express.Router();router[_0xaab3[7]](_0xaab3[4],auth[_0xaab3[5]](),controller[_0xaab3[6]]);router[_0xaab3[10]](_0xaab3[8],auth[_0xaab3[5]](),controller[_0xaab3[9]]);module[_0xaab3[11]]=router \ No newline at end of file +var _0x1fda=["\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"];_0x1fda[0];var express=require(_0x1fda[1]);var auth=require(_0x1fda[2]);var controller=require(_0x1fda[3]);var router=express.Router();router[_0x1fda[7]](_0x1fda[4],auth[_0x1fda[5]](),controller[_0x1fda[6]]);router[_0x1fda[10]](_0x1fda[8],auth[_0x1fda[5]](),controller[_0x1fda[9]]);module[_0x1fda[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 576788a..c6e283f 100644 --- a/server/api/agent/agent.controller.js +++ b/server/api/agent/agent.controller.js @@ -1 +1 @@ -var _0x83ce=["\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","\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"];_0x83ce[0];var _=require(_0x83ce[1]);var sequelize=require(_0x83ce[3])[_0x83ce[2]];var Util=require(_0x83ce[4]);var Agent=require(_0x83ce[3])[_0x83ce[5]];var VoiceQueue=require(_0x83ce[3])[_0x83ce[6]];var ChatQueue=require(_0x83ce[3])[_0x83ce[7]];var MailQueue=require(_0x83ce[3])[_0x83ce[8]];var FaxQueue=require(_0x83ce[3])[_0x83ce[9]];var SmsQueue=require(_0x83ce[3])[_0x83ce[10]];var User=require(_0x83ce[3])[_0x83ce[5]];var Team=require(_0x83ce[3])[_0x83ce[11]];var MailRoom=require(_0x83ce[3])[_0x83ce[12]];exports[_0x83ce[13]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[20]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[14]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[29]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[20]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[36]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:var _0xc160x12=[];return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[43]]({},{attributes:[_0x83ce[38]],include:[{raw:true,model:User,attributes:[_0x83ce[21]]}]}))[_0x83ce[18]](function(_0xc160x13){var _0xc160x14=_[_0x83ce[39]](_0xc160x13[_0x83ce[37]],_0x83ce[38]);_0xc160x13[_0x83ce[37]][_0x83ce[41]](function(_0xc160x15){_0xc160x12=_[_0x83ce[40]](_0xc160x12,_[_0x83ce[39]](_0xc160x15.Users,_0x83ce[21]))});return User[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]})[_0x83ce[25]](_[_0x83ce[42]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]],{id:{$in:_0xc160x12}}),{include:[{model:VoiceQueue,where:{name:{$in:_0xc160x14}},required:false}]}))})[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[44]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:var _0xc160x12=[];return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[45]]({},{attributes:[_0x83ce[21]],include:[{raw:true,model:User,attributes:[_0x83ce[21]]}]}))[_0x83ce[18]](function(_0xc160x13){var _0xc160x16=_[_0x83ce[39]](_0xc160x13[_0x83ce[37]],_0x83ce[21]);_0xc160x13[_0x83ce[37]][_0x83ce[41]](function(_0xc160x15){_0xc160x12=_[_0x83ce[40]](_0xc160x12,_[_0x83ce[39]](_0xc160x15.Users,_0x83ce[21]))});return User[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]})[_0x83ce[25]](_[_0x83ce[42]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]],{id:{$in:_0xc160x12}}),{include:[{model:ChatQueue,where:{id:{$in:_0xc160x16}},required:false}]}))})[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[46]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:var _0xc160x12=[];return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[47]]({},{attributes:[_0x83ce[21]],include:[{raw:true,model:User,attributes:[_0x83ce[21]]}]}))[_0x83ce[18]](function(_0xc160x13){var _0xc160x17=_[_0x83ce[39]](_0xc160x13[_0x83ce[37]],_0x83ce[21]);_0xc160x13[_0x83ce[37]][_0x83ce[41]](function(_0xc160x15){_0xc160x12=_[_0x83ce[40]](_0xc160x12,_[_0x83ce[39]](_0xc160x15.Users,_0x83ce[21]))});return User[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]})[_0x83ce[25]](_[_0x83ce[42]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]],{id:{$in:_0xc160x12}}),{include:[{model:MailQueue,where:{id:{$in:_0xc160x17}},required:false}]}))})[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[48]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:var _0xc160x12=[];return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[49]]({},{attributes:[_0x83ce[21]],include:[{raw:true,model:User,attributes:[_0x83ce[21]]}]}))[_0x83ce[18]](function(_0xc160x13){var _0xc160x18=_[_0x83ce[39]](_0xc160x13[_0x83ce[37]],_0x83ce[21]);_0xc160x13[_0x83ce[37]][_0x83ce[41]](function(_0xc160x15){_0xc160x12=_[_0x83ce[40]](_0xc160x12,_[_0x83ce[39]](_0xc160x15.Users,_0x83ce[21]))});return User[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]})[_0x83ce[25]](_[_0x83ce[42]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]],{id:{$in:_0xc160x12}}),{include:[{model:FaxQueue,where:{id:{$in:_0xc160x18}},required:false}]}))})[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[50]]=function(_0xc160xd,_0xc160xe,_0xc160xf){switch(_0xc160xd[_0x83ce[22]][_0x83ce[28]]){case _0x83ce[22]:var _0xc160x12=[];return User[_0x83ce[23]](_0xc160xd[_0x83ce[22]][_0x83ce[21]],{attributes:[_0x83ce[21]]})[_0x83ce[18]](Util[_0x83ce[51]]({},{attributes:[_0x83ce[21]],include:[{raw:true,model:User,attributes:[_0x83ce[21]]}]}))[_0x83ce[18]](function(_0xc160x13){var _0xc160x19=_[_0x83ce[39]](_0xc160x13[_0x83ce[37]],_0x83ce[21]);_0xc160x13[_0x83ce[37]][_0x83ce[41]](function(_0xc160x15){_0xc160x12=_[_0x83ce[40]](_0xc160x12,_[_0x83ce[39]](_0xc160x15.Users,_0x83ce[21]))});return User[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]})[_0x83ce[25]](_[_0x83ce[42]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]],{id:{$in:_0xc160x12}}),{include:[{model:SmsQueue,where:{id:{$in:_0xc160x19}},required:false}]}))})[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)});default:return Agent[_0x83ce[27]](_0x83ce[26],{method:[_0x83ce[31],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[32],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[33],_0xc160xd[_0x83ce[19]]]},{method:[_0x83ce[34],_0xc160xd[_0x83ce[19]]]},_0x83ce[35])[_0x83ce[25]](Util[_0x83ce[24]](_0xc160xd[_0x83ce[19]]))[_0x83ce[18]](function(_0xc160x11){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x11)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})}};exports[_0x83ce[52]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160xe[_0x83ce[16]](_0xc160x1a)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[55]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[57]]({attributes:[_0x83ce[38]]})})[_0x83ce[18]](function(_0xc160x14){return _0xc160xe[_0x83ce[16]]({count:_0xc160x14[_0x83ce[56]],rows:_0xc160x14})})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[58]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[59]]({attributes:[_0x83ce[21]]})})[_0x83ce[18]](function(_0xc160x16){return _0xc160xe[_0x83ce[16]]({count:_0xc160x16[_0x83ce[56]],rows:_0xc160x16})})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[60]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[61]]({attributes:[_0x83ce[21]]})})[_0x83ce[18]](function(_0xc160x17){return _0xc160xe[_0x83ce[16]]({count:_0xc160x17[_0x83ce[56]],rows:_0xc160x17})})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[62]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[63]]({attributes:[_0x83ce[21]]})})[_0x83ce[18]](function(_0xc160x18){return _0xc160xe[_0x83ce[16]]({count:_0xc160x18[_0x83ce[56]],rows:_0xc160x18})})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[64]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[65]]({attributes:[_0x83ce[21]]})})[_0x83ce[18]](function(_0xc160x19){return _0xc160xe[_0x83ce[16]]({count:_0xc160x19[_0x83ce[56]],rows:_0xc160x19})})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[66]]=function(_0xc160xd,_0xc160xe){var _0xc160x1b;_0xc160xd[_0x83ce[67]][_0x83ce[28]]=_0x83ce[26];return sequelize[_0x83ce[72]](function(_0xc160x1c){return Agent[_0x83ce[27]](_0x83ce[26])[_0x83ce[66]](_0xc160xd[_0x83ce[67]],{transaction:_0xc160x1c})[_0x83ce[18]](function(_0xc160x1a){_0xc160x1b=_0xc160x1a;return Team[_0x83ce[71]]({where:{defaultEntry:true}})})[_0x83ce[18]](function(_0xc160x1d){return _0xc160x1d[_0x83ce[70]](_0xc160x1b[_0x83ce[21]],{transaction:_0xc160x1c})})})[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[17]](201)[_0x83ce[16]](_0xc160x1b)})[_0x83ce[15]](sequelize.UniqueConstraintError,function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return Util[_0x83ce[69]][_0x83ce[68]](_0xc160xe,_0xc160x10)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[73]]=function(_0xc160xd,_0xc160xe){var _0xc160x1e;if(_0xc160xd[_0x83ce[67]]&&_0xc160xd[_0x83ce[67]][_0x83ce[56]]){_0xc160xd[_0x83ce[67]][_0x83ce[41]](function(_0xc160x1a){_0xc160x1a[_0x83ce[28]]=_0x83ce[26]})};return sequelize[_0x83ce[72]](function(_0xc160x1c){return Agent[_0x83ce[73]](_0xc160xd[_0x83ce[67]],{transaction:_0xc160x1c,individualHooks:true})[_0x83ce[18]](function(_0xc160x1f){_0xc160x1e=_0xc160x1f;return Team[_0x83ce[71]]({where:{defaultEntry:true}})})[_0x83ce[18]](function(_0xc160x1d){return _0xc160x1d[_0x83ce[74]](_[_0x83ce[39]](_0xc160x1e,_0x83ce[21]),{transaction:_0xc160x1c})})})[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[53]](201)})[_0x83ce[15]](sequelize.UniqueConstraintError,function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return Util[_0x83ce[69]][_0x83ce[68]](_0xc160xe,_0xc160x10)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[75]]=function(_0xc160xd,_0xc160xe){if(_0xc160xd[_0x83ce[67]][_0x83ce[21]]){delete _0xc160xd[_0x83ce[67]][_0x83ce[21]];delete _0xc160xd[_0x83ce[67]][_0x83ce[28]]};return sequelize[_0x83ce[72]](function(_0xc160x1c){return Agent[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};var _0xc160x20=_[_0x83ce[42]](_0xc160x1a,_0xc160xd[_0x83ce[67]]);return _0xc160x20[_0x83ce[76]]({transaction:_0xc160x1c})})[_0x83ce[18]](function(_0xc160x1a){return _0xc160xe[_0x83ce[17]](200)[_0x83ce[16]](_0xc160x1a)})})[_0x83ce[15]](sequelize.UniqueConstraintError,function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return Util[_0x83ce[69]][_0x83ce[68]](_0xc160xe,_0xc160x10)})[_0x83ce[15]](function(_0xc160x10){console[_0x83ce[30]](_0xc160x10);return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[77]]=function(_0xc160xd,_0xc160xe){var _0xc160x1b;return Agent[_0x83ce[23]](_0xc160xd[_0x83ce[54]][_0x83ce[21]])[_0x83ce[18]](function(_0xc160x1a){_0xc160x1b=_0xc160x1a;if(!_0xc160x1a){return _0xc160xe[_0x83ce[53]](404)};return _0xc160x1a[_0x83ce[77]]()})[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[53]](204)})[_0x83ce[15]](sequelize.ForeignKeyConstraintError,function(_0xc160x10){return Util[_0x83ce[69]][_0x83ce[78]](_0xc160xe,_0x83ce[26],_0xc160x1b[_0x83ce[38]],_0xc160x10)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[79]]=function(_0xc160xd,_0xc160xe){return Agent[_0x83ce[77]]({where:{id:_0xc160xd[_0x83ce[19]][_0x83ce[80]]},individualHooks:true})[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[53]](204)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};exports[_0x83ce[81]]=function(_0xc160xd,_0xc160xe,_0xc160xf){var _0xc160x21=_0xc160xd[_0x83ce[22]][_0x83ce[21]];var _0xc160x22=String(_0xc160xd[_0x83ce[67]][_0x83ce[82]]);var _0xc160x23=String(_0xc160xd[_0x83ce[67]][_0x83ce[83]]);return Agent[_0x83ce[23]](_0xc160x21)[_0x83ce[18]](function(_0xc160x24){if(_0xc160x24[_0x83ce[84]](_0xc160x22)){_0xc160x24[_0x83ce[85]]=_0xc160x23;_0xc160x24[_0x83ce[76]]()[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[53]](200)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})}else {return _0xc160xe[_0x83ce[53]](403)}})};exports[_0x83ce[86]]=function(_0xc160xd,_0xc160xe,_0xc160xf){var _0xc160x21=_0xc160xd[_0x83ce[54]][_0x83ce[21]];var _0xc160x23=String(_0xc160xd[_0x83ce[67]][_0x83ce[83]]);return Agent[_0x83ce[23]](_0xc160x21)[_0x83ce[18]](function(_0xc160x24){_0xc160x24[_0x83ce[85]]=_0xc160x23;return _0xc160x24[_0x83ce[76]]()})[_0x83ce[18]](function(){return _0xc160xe[_0x83ce[53]](200)})[_0x83ce[15]](function(_0xc160x10){return handleError(_0xc160xe,_0xc160x10)})};function handleError(_0xc160xe,_0xc160x10){return _0xc160xe[_0x83ce[17]](500)[_0x83ce[16]](_0xc160x10)} \ No newline at end of file +var _0xa47d=["\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"];_0xa47d[0];var _=require(_0xa47d[1]);var sequelize=require(_0xa47d[3])[_0xa47d[2]];var Util=require(_0xa47d[4]);var Agent=require(_0xa47d[3])[_0xa47d[5]];var VoiceQueue=require(_0xa47d[3])[_0xa47d[6]];var ChatQueue=require(_0xa47d[3])[_0xa47d[7]];var MailQueue=require(_0xa47d[3])[_0xa47d[8]];var FaxQueue=require(_0xa47d[3])[_0xa47d[9]];var SmsQueue=require(_0xa47d[3])[_0xa47d[10]];var User=require(_0xa47d[3])[_0xa47d[5]];var Team=require(_0xa47d[3])[_0xa47d[11]];var MailRoom=require(_0xa47d[3])[_0xa47d[12]];var List=require(_0xa47d[3])[_0xa47d[13]];exports[_0xa47d[14]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[21]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[15]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[30]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[21]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[37]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:var _0x15c3x13=[];return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[44]]({},{attributes:[_0xa47d[39]],include:[{raw:true,model:User,attributes:[_0xa47d[22]]}]}))[_0xa47d[19]](function(_0x15c3x14){var _0x15c3x15=_[_0xa47d[40]](_0x15c3x14[_0xa47d[38]],_0xa47d[39]);_0x15c3x14[_0xa47d[38]][_0xa47d[42]](function(_0x15c3x16){_0x15c3x13=_[_0xa47d[41]](_0x15c3x13,_[_0xa47d[40]](_0x15c3x16.Users,_0xa47d[22]))});return User[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]})[_0xa47d[26]](_[_0xa47d[43]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]],{id:{$in:_0x15c3x13}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x15c3x15}},required:false}]}))})[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[45]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:var _0x15c3x13=[];return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[46]]({},{attributes:[_0xa47d[22]],include:[{raw:true,model:User,attributes:[_0xa47d[22]]}]}))[_0xa47d[19]](function(_0x15c3x14){var _0x15c3x17=_[_0xa47d[40]](_0x15c3x14[_0xa47d[38]],_0xa47d[22]);_0x15c3x14[_0xa47d[38]][_0xa47d[42]](function(_0x15c3x16){_0x15c3x13=_[_0xa47d[41]](_0x15c3x13,_[_0xa47d[40]](_0x15c3x16.Users,_0xa47d[22]))});return User[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]})[_0xa47d[26]](_[_0xa47d[43]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]],{id:{$in:_0x15c3x13}}),{include:[{model:ChatQueue,where:{id:{$in:_0x15c3x17}},required:false}]}))})[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[47]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:var _0x15c3x13=[];return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[48]]({},{attributes:[_0xa47d[22]],include:[{raw:true,model:User,attributes:[_0xa47d[22]]}]}))[_0xa47d[19]](function(_0x15c3x14){var _0x15c3x18=_[_0xa47d[40]](_0x15c3x14[_0xa47d[38]],_0xa47d[22]);_0x15c3x14[_0xa47d[38]][_0xa47d[42]](function(_0x15c3x16){_0x15c3x13=_[_0xa47d[41]](_0x15c3x13,_[_0xa47d[40]](_0x15c3x16.Users,_0xa47d[22]))});return User[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]})[_0xa47d[26]](_[_0xa47d[43]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]],{id:{$in:_0x15c3x13}}),{include:[{model:MailQueue,where:{id:{$in:_0x15c3x18}},required:false}]}))})[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[49]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:var _0x15c3x13=[];return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[50]]({},{attributes:[_0xa47d[22]],include:[{raw:true,model:User,attributes:[_0xa47d[22]]}]}))[_0xa47d[19]](function(_0x15c3x14){var _0x15c3x19=_[_0xa47d[40]](_0x15c3x14[_0xa47d[38]],_0xa47d[22]);_0x15c3x14[_0xa47d[38]][_0xa47d[42]](function(_0x15c3x16){_0x15c3x13=_[_0xa47d[41]](_0x15c3x13,_[_0xa47d[40]](_0x15c3x16.Users,_0xa47d[22]))});return User[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]})[_0xa47d[26]](_[_0xa47d[43]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]],{id:{$in:_0x15c3x13}}),{include:[{model:FaxQueue,where:{id:{$in:_0x15c3x19}},required:false}]}))})[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[51]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){switch(_0x15c3xe[_0xa47d[23]][_0xa47d[29]]){case _0xa47d[23]:var _0x15c3x13=[];return User[_0xa47d[24]](_0x15c3xe[_0xa47d[23]][_0xa47d[22]],{attributes:[_0xa47d[22]]})[_0xa47d[19]](Util[_0xa47d[52]]({},{attributes:[_0xa47d[22]],include:[{raw:true,model:User,attributes:[_0xa47d[22]]}]}))[_0xa47d[19]](function(_0x15c3x14){var _0x15c3x1a=_[_0xa47d[40]](_0x15c3x14[_0xa47d[38]],_0xa47d[22]);_0x15c3x14[_0xa47d[38]][_0xa47d[42]](function(_0x15c3x16){_0x15c3x13=_[_0xa47d[41]](_0x15c3x13,_[_0xa47d[40]](_0x15c3x16.Users,_0xa47d[22]))});return User[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]})[_0xa47d[26]](_[_0xa47d[43]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]],{id:{$in:_0x15c3x13}}),{include:[{model:SmsQueue,where:{id:{$in:_0x15c3x1a}},required:false}]}))})[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)});default:return Agent[_0xa47d[28]](_0xa47d[27],{method:[_0xa47d[32],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[33],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[34],_0x15c3xe[_0xa47d[20]]]},{method:[_0xa47d[35],_0x15c3xe[_0xa47d[20]]]},_0xa47d[36])[_0xa47d[26]](Util[_0xa47d[25]](_0x15c3xe[_0xa47d[20]]))[_0xa47d[19]](function(_0x15c3x12){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x12)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})}};exports[_0xa47d[53]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3xf[_0xa47d[17]](_0x15c3x1b)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[56]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[58]]({attributes:[_0xa47d[39]]})})[_0xa47d[19]](function(_0x15c3x15){return _0x15c3xf[_0xa47d[17]]({count:_0x15c3x15[_0xa47d[57]],rows:_0x15c3x15})})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[59]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[60]]({attributes:[_0xa47d[22]]})})[_0xa47d[19]](function(_0x15c3x17){return _0x15c3xf[_0xa47d[17]]({count:_0x15c3x17[_0xa47d[57]],rows:_0x15c3x17})})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[61]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[62]]({attributes:[_0xa47d[22]]})})[_0xa47d[19]](function(_0x15c3x18){return _0x15c3xf[_0xa47d[17]]({count:_0x15c3x18[_0xa47d[57]],rows:_0x15c3x18})})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[63]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[64]]({attributes:[_0xa47d[22]]})})[_0xa47d[19]](function(_0x15c3x19){return _0x15c3xf[_0xa47d[17]]({count:_0x15c3x19[_0xa47d[57]],rows:_0x15c3x19})})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[65]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[66]]({attributes:[_0xa47d[22]]})})[_0xa47d[19]](function(_0x15c3x1a){return _0x15c3xf[_0xa47d[17]]({count:_0x15c3x1a[_0xa47d[57]],rows:_0x15c3x1a})})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[67]]=function(_0x15c3xe,_0x15c3xf){var _0x15c3x1c;_0x15c3xe[_0xa47d[68]][_0xa47d[29]]=_0xa47d[27];return sequelize[_0xa47d[73]](function(_0x15c3x1d){return Agent[_0xa47d[28]](_0xa47d[27])[_0xa47d[67]](_0x15c3xe[_0xa47d[68]],{transaction:_0x15c3x1d})[_0xa47d[19]](function(_0x15c3x1b){_0x15c3x1c=_0x15c3x1b;return Team[_0xa47d[72]]({where:{defaultEntry:true}})})[_0xa47d[19]](function(_0x15c3x1f){return _0x15c3x1f[_0xa47d[71]](_0x15c3x1c[_0xa47d[22]],{transaction:_0x15c3x1d})})[_0xa47d[19]](function(){return List[_0xa47d[72]]({where:{defaultEntry:true}})})[_0xa47d[19]](function(_0x15c3x1e){return _0x15c3x1e[_0xa47d[71]](_0x15c3x1c[_0xa47d[22]],{transaction:_0x15c3x1d})})})[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[18]](201)[_0xa47d[17]](_0x15c3x1c)})[_0xa47d[16]](sequelize.UniqueConstraintError,function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return Util[_0xa47d[70]][_0xa47d[69]](_0x15c3xf,_0x15c3x11)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[74]]=function(_0x15c3xe,_0x15c3xf){var _0x15c3x20;if(_0x15c3xe[_0xa47d[68]]&&_0x15c3xe[_0xa47d[68]][_0xa47d[57]]){_0x15c3xe[_0xa47d[68]][_0xa47d[42]](function(_0x15c3x1b){_0x15c3x1b[_0xa47d[29]]=_0xa47d[27]})};return sequelize[_0xa47d[73]](function(_0x15c3x1d){return Agent[_0xa47d[74]](_0x15c3xe[_0xa47d[68]],{transaction:_0x15c3x1d,individualHooks:true})[_0xa47d[19]](function(_0x15c3x21){_0x15c3x20=_0x15c3x21;return Team[_0xa47d[72]]({where:{defaultEntry:true}})})[_0xa47d[19]](function(_0x15c3x1f){return _0x15c3x1f[_0xa47d[75]](_[_0xa47d[40]](_0x15c3x20,_0xa47d[22]),{transaction:_0x15c3x1d})})})[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[54]](201)})[_0xa47d[16]](sequelize.UniqueConstraintError,function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return Util[_0xa47d[70]][_0xa47d[69]](_0x15c3xf,_0x15c3x11)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[76]]=function(_0x15c3xe,_0x15c3xf){if(_0x15c3xe[_0xa47d[68]][_0xa47d[22]]){delete _0x15c3xe[_0xa47d[68]][_0xa47d[22]];delete _0x15c3xe[_0xa47d[68]][_0xa47d[29]]};return sequelize[_0xa47d[73]](function(_0x15c3x1d){return Agent[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};var _0x15c3x22=_[_0xa47d[43]](_0x15c3x1b,_0x15c3xe[_0xa47d[68]]);return _0x15c3x22[_0xa47d[77]]({transaction:_0x15c3x1d})})[_0xa47d[19]](function(_0x15c3x1b){return _0x15c3xf[_0xa47d[18]](200)[_0xa47d[17]](_0x15c3x1b)})})[_0xa47d[16]](sequelize.UniqueConstraintError,function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return Util[_0xa47d[70]][_0xa47d[69]](_0x15c3xf,_0x15c3x11)})[_0xa47d[16]](function(_0x15c3x11){console[_0xa47d[31]](_0x15c3x11);return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[78]]=function(_0x15c3xe,_0x15c3xf){var _0x15c3x1c;return Agent[_0xa47d[24]](_0x15c3xe[_0xa47d[55]][_0xa47d[22]])[_0xa47d[19]](function(_0x15c3x1b){_0x15c3x1c=_0x15c3x1b;if(!_0x15c3x1b){return _0x15c3xf[_0xa47d[54]](404)};return _0x15c3x1b[_0xa47d[78]]()})[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[54]](204)})[_0xa47d[16]](sequelize.ForeignKeyConstraintError,function(_0x15c3x11){return Util[_0xa47d[70]][_0xa47d[79]](_0x15c3xf,_0xa47d[27],_0x15c3x1c[_0xa47d[39]],_0x15c3x11)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[80]]=function(_0x15c3xe,_0x15c3xf){return Agent[_0xa47d[78]]({where:{id:_0x15c3xe[_0xa47d[20]][_0xa47d[81]]},individualHooks:true})[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[54]](204)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};exports[_0xa47d[82]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){var _0x15c3x23=_0x15c3xe[_0xa47d[23]][_0xa47d[22]];var _0x15c3x24=String(_0x15c3xe[_0xa47d[68]][_0xa47d[83]]);var _0x15c3x25=String(_0x15c3xe[_0xa47d[68]][_0xa47d[84]]);return Agent[_0xa47d[24]](_0x15c3x23)[_0xa47d[19]](function(_0x15c3x26){if(_0x15c3x26[_0xa47d[85]](_0x15c3x24)){_0x15c3x26[_0xa47d[86]]=_0x15c3x25;_0x15c3x26[_0xa47d[77]]()[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[54]](200)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})}else {return _0x15c3xf[_0xa47d[54]](403)}})};exports[_0xa47d[87]]=function(_0x15c3xe,_0x15c3xf,_0x15c3x10){var _0x15c3x23=_0x15c3xe[_0xa47d[55]][_0xa47d[22]];var _0x15c3x25=String(_0x15c3xe[_0xa47d[68]][_0xa47d[84]]);return Agent[_0xa47d[24]](_0x15c3x23)[_0xa47d[19]](function(_0x15c3x26){_0x15c3x26[_0xa47d[86]]=_0x15c3x25;return _0x15c3x26[_0xa47d[77]]()})[_0xa47d[19]](function(){return _0x15c3xf[_0xa47d[54]](200)})[_0xa47d[16]](function(_0x15c3x11){return handleError(_0x15c3xf,_0x15c3x11)})};function handleError(_0x15c3xf,_0x15c3x11){return _0x15c3xf[_0xa47d[18]](500)[_0xa47d[17]](_0x15c3x11)} \ No newline at end of file diff --git a/server/api/agent/agent.socket.js b/server/api/agent/agent.socket.js index b83af46..4ed0621 100644 --- a/server/api/agent/agent.socket.js +++ b/server/api/agent/agent.socket.js @@ -1 +1 @@ -var _0xc465=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\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","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc465[0];var agent=require(_0xc465[2])[_0xc465[1]];exports[_0xc465[3]]=function(_0xb6f8x2){agent[_0xc465[4]](function(_0xb6f8x3){onSave(_0xb6f8x2,_0xb6f8x3)});agent[_0xc465[5]](function(_0xb6f8x3){onSave(_0xb6f8x2,_0xb6f8x3)});agent[_0xc465[6]](function(_0xb6f8x3){onRemove(_0xb6f8x2,_0xb6f8x3)})};function onSave(_0xb6f8x2,_0xb6f8x3,_0xb6f8x5){if(_0xb6f8x3[_0xc465[7]]===_0xc465[8]&&(_0xb6f8x2[_0xc465[7]]!==_0xc465[8]||_0xb6f8x2[_0xc465[9]]==_0xb6f8x3[_0xc465[10]]||_0xb6f8x3[_0xc465[12]](_0xc465[11]))){_0xb6f8x2[_0xc465[14]](_0xc465[13],_0xb6f8x3)}}function onRemove(_0xb6f8x2,_0xb6f8x3,_0xb6f8x5){if(_0xb6f8x3[_0xc465[7]]===_0xc465[8]&&(_0xb6f8x2[_0xc465[7]]!==_0xc465[8]||_0xb6f8x2[_0xc465[9]]==_0xb6f8x3[_0xc465[10]])){_0xb6f8x2[_0xc465[14]](_0xc465[15],_0xb6f8x3)}} \ No newline at end of file +var _0xce25=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\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","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xce25[0];var agent=require(_0xce25[2])[_0xce25[1]];exports[_0xce25[3]]=function(_0xc623x2){agent[_0xce25[4]](function(_0xc623x3){onSave(_0xc623x2,_0xc623x3)});agent[_0xce25[5]](function(_0xc623x3){onSave(_0xc623x2,_0xc623x3)});agent[_0xce25[6]](function(_0xc623x3){onRemove(_0xc623x2,_0xc623x3)})};function onSave(_0xc623x2,_0xc623x3,_0xc623x5){if(_0xc623x3[_0xce25[7]]===_0xce25[8]&&(_0xc623x2[_0xce25[7]]!==_0xce25[8]||_0xc623x2[_0xce25[9]]==_0xc623x3[_0xce25[10]]||_0xc623x3[_0xce25[12]](_0xce25[11]))){_0xc623x2[_0xce25[14]](_0xce25[13],_0xc623x3)}}function onRemove(_0xc623x2,_0xc623x3,_0xc623x5){if(_0xc623x3[_0xce25[7]]===_0xce25[8]&&(_0xc623x2[_0xce25[7]]!==_0xce25[8]||_0xc623x2[_0xce25[9]]==_0xc623x3[_0xce25[10]])){_0xc623x2[_0xce25[14]](_0xce25[15],_0xc623x3)}} \ No newline at end of file diff --git a/server/api/agent/index.js b/server/api/agent/index.js index a0f3f58..fa63ab1 100644 --- a/server/api/agent/index.js +++ b/server/api/agent/index.js @@ -1 +1 @@ -var _0xfd9b=["\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"];_0xfd9b[0];var express=require(_0xfd9b[1]);var controller=require(_0xfd9b[2]);var auth=require(_0xfd9b[3]);var license=require(_0xfd9b[4]);var router=express.Router();router[_0xfd9b[11]](_0xfd9b[5],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[10]]);router[_0xfd9b[11]](_0xfd9b[12],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([12],[_0xfd9b[7]]),controller[_0xfd9b[13]]);router[_0xfd9b[11]](_0xfd9b[14],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([7],[_0xfd9b[7]]),controller[_0xfd9b[15]]);router[_0xfd9b[11]](_0xfd9b[16],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([9],[_0xfd9b[7]]),controller[_0xfd9b[17]]);router[_0xfd9b[11]](_0xfd9b[18],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([8],[_0xfd9b[7]]),controller[_0xfd9b[19]]);router[_0xfd9b[11]](_0xfd9b[20],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([10],[_0xfd9b[7]]),controller[_0xfd9b[21]]);router[_0xfd9b[11]](_0xfd9b[22],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([10],[_0xfd9b[7]]),controller[_0xfd9b[23]]);router[_0xfd9b[11]](_0xfd9b[24],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[25],_0xfd9b[8]]),controller[_0xfd9b[26]]);router[_0xfd9b[28]](_0xfd9b[5],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[27]]);router[_0xfd9b[28]](_0xfd9b[29],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[30]]);router[_0xfd9b[32]](_0xfd9b[24],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[31]]);router[_0xfd9b[34]](_0xfd9b[5],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[33]]);router[_0xfd9b[34]](_0xfd9b[24],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[35]]);router[_0xfd9b[32]](_0xfd9b[36],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[37]]);router[_0xfd9b[32]](_0xfd9b[38],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7]]),controller[_0xfd9b[39]]);router[_0xfd9b[11]](_0xfd9b[40],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[41]]);router[_0xfd9b[11]](_0xfd9b[42],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[43]]);router[_0xfd9b[11]](_0xfd9b[44],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[45]]);router[_0xfd9b[11]](_0xfd9b[46],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[47]]);router[_0xfd9b[11]](_0xfd9b[48],auth[_0xfd9b[6]](),auth[_0xfd9b[9]]([4],[_0xfd9b[7],_0xfd9b[8]]),controller[_0xfd9b[49]]);module[_0xfd9b[50]]=router \ No newline at end of file +var _0xd70a=["\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"];_0xd70a[0];var express=require(_0xd70a[1]);var controller=require(_0xd70a[2]);var auth=require(_0xd70a[3]);var license=require(_0xd70a[4]);var router=express.Router();router[_0xd70a[11]](_0xd70a[5],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[10]]);router[_0xd70a[11]](_0xd70a[12],auth[_0xd70a[6]](),auth[_0xd70a[9]]([12],[_0xd70a[7]]),controller[_0xd70a[13]]);router[_0xd70a[11]](_0xd70a[14],auth[_0xd70a[6]](),auth[_0xd70a[9]]([7],[_0xd70a[7]]),controller[_0xd70a[15]]);router[_0xd70a[11]](_0xd70a[16],auth[_0xd70a[6]](),auth[_0xd70a[9]]([9],[_0xd70a[7]]),controller[_0xd70a[17]]);router[_0xd70a[11]](_0xd70a[18],auth[_0xd70a[6]](),auth[_0xd70a[9]]([8],[_0xd70a[7]]),controller[_0xd70a[19]]);router[_0xd70a[11]](_0xd70a[20],auth[_0xd70a[6]](),auth[_0xd70a[9]]([10],[_0xd70a[7]]),controller[_0xd70a[21]]);router[_0xd70a[11]](_0xd70a[22],auth[_0xd70a[6]](),auth[_0xd70a[9]]([10],[_0xd70a[7]]),controller[_0xd70a[23]]);router[_0xd70a[11]](_0xd70a[24],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[25],_0xd70a[8]]),controller[_0xd70a[26]]);router[_0xd70a[28]](_0xd70a[5],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[27]]);router[_0xd70a[28]](_0xd70a[29],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[30]]);router[_0xd70a[32]](_0xd70a[24],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[31]]);router[_0xd70a[34]](_0xd70a[5],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[33]]);router[_0xd70a[34]](_0xd70a[24],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[35]]);router[_0xd70a[32]](_0xd70a[36],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[37]]);router[_0xd70a[32]](_0xd70a[38],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7]]),controller[_0xd70a[39]]);router[_0xd70a[11]](_0xd70a[40],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[41]]);router[_0xd70a[11]](_0xd70a[42],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[43]]);router[_0xd70a[11]](_0xd70a[44],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[45]]);router[_0xd70a[11]](_0xd70a[46],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[47]]);router[_0xd70a[11]](_0xd70a[48],auth[_0xd70a[6]](),auth[_0xd70a[9]]([4],[_0xd70a[7],_0xd70a[8]]),controller[_0xd70a[49]]);module[_0xd70a[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 0457621..b07c6a4 100644 --- a/server/api/ami/ami.ami.js +++ b/server/api/ami/ami.ami.js @@ -1 +1 @@ -var _0xa459=["\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"];_0xa459[0];var Ami=require(_0xa459[2])[_0xa459[1]];var async=require(_0xa459[3]);var _=require(_0xa459[4]);var ami=null;exports[_0xa459[5]]=function(ami){this[_0xa459[6]]=ami};exports[_0xa459[7]]=function(_0x21dax5,_0x21dax6){if(this[_0xa459[6]]&&this[_0xa459[6]][_0xa459[8]]()){this[_0xa459[6]][_0xa459[7]](_0x21dax5,function(_0x21dax7,_0x21dax8){if(_0x21dax7){_0x21dax6(_0x21dax7)};var _0x21dax9=_[_0xa459[9]](_0x21dax8,_0x21dax5);Ami[_0xa459[12]](_0x21dax9)[_0xa459[11]](function(ami){_0x21dax6(null,ami)})[_0xa459[10]](function(_0x21dax7){return _0x21dax6(_0x21dax7)})})}else {_0x21dax6( new Error(_0xa459[13]))}} \ No newline at end of file +var _0xd590=["\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"];_0xd590[0];var Ami=require(_0xd590[2])[_0xd590[1]];var async=require(_0xd590[3]);var _=require(_0xd590[4]);var ami=null;exports[_0xd590[5]]=function(ami){this[_0xd590[6]]=ami};exports[_0xd590[7]]=function(_0x2b12x5,_0x2b12x6){if(this[_0xd590[6]]&&this[_0xd590[6]][_0xd590[8]]()){this[_0xd590[6]][_0xd590[7]](_0x2b12x5,function(_0x2b12x7,_0x2b12x8){if(_0x2b12x7){_0x2b12x6(_0x2b12x7)};var _0x2b12x9=_[_0xd590[9]](_0x2b12x8,_0x2b12x5);Ami[_0xd590[12]](_0x2b12x9)[_0xd590[11]](function(ami){_0x2b12x6(null,ami)})[_0xd590[10]](function(_0x2b12x7){return _0x2b12x6(_0x2b12x7)})})}else {_0x2b12x6( new Error(_0xd590[13]))}} \ No newline at end of file diff --git a/server/api/ami/ami.controller.js b/server/api/ami/ami.controller.js index 4b9e462..184c51a 100644 --- a/server/api/ami/ami.controller.js +++ b/server/api/ami/ami.controller.js @@ -1 +1 @@ -var _0xd982=["\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"];_0xd982[0];var _=require(_0xd982[1]);var Ami=require(_0xd982[3])[_0xd982[2]];var Util=require(_0xd982[4]);exports[_0xd982[5]]=function(_0xb783x4,_0xb783x5,_0xb783x6){return Ami[_0xd982[12]](Util[_0xd982[11]](_0xb783x4[_0xd982[10]]))[_0xd982[9]](function(_0xb783x8){return _0xb783x5[_0xd982[8]](200)[_0xd982[7]](_0xb783x8)})[_0xd982[6]](function(_0xb783x7){return handleError(_0xb783x5,_0xb783x7)})};exports[_0xd982[13]]=function(_0xb783x4,_0xb783x5){_0xb783x4[_0xd982[15]][_0xd982[14]]=JSON[_0xd982[16]](_0xb783x4[_0xd982[15]]);_0xb783x4[_0xd982[15]][_0xd982[17]]=_0xb783x4[_0xd982[19]][_0xd982[18]];require(_0xd982[21])[_0xd982[20]](_0xb783x4[_0xd982[15]],function(_0xb783x7,_0xb783x8){if(_0xb783x7){handleError(_0xb783x5,_0xb783x7)}else {return _0xb783x5[_0xd982[8]](201)[_0xd982[7]](_0xb783x8)}})};function handleError(_0xb783x5,_0xb783x7){return _0xb783x5[_0xd982[8]](500)[_0xd982[7]](_0xb783x7)} \ No newline at end of file +var _0xb4e3=["\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"];_0xb4e3[0];var _=require(_0xb4e3[1]);var Ami=require(_0xb4e3[3])[_0xb4e3[2]];var Util=require(_0xb4e3[4]);exports[_0xb4e3[5]]=function(_0x848fx4,_0x848fx5,_0x848fx6){return Ami[_0xb4e3[12]](Util[_0xb4e3[11]](_0x848fx4[_0xb4e3[10]]))[_0xb4e3[9]](function(_0x848fx8){return _0x848fx5[_0xb4e3[8]](200)[_0xb4e3[7]](_0x848fx8)})[_0xb4e3[6]](function(_0x848fx7){return handleError(_0x848fx5,_0x848fx7)})};exports[_0xb4e3[13]]=function(_0x848fx4,_0x848fx5){_0x848fx4[_0xb4e3[15]][_0xb4e3[14]]=JSON[_0xb4e3[16]](_0x848fx4[_0xb4e3[15]]);_0x848fx4[_0xb4e3[15]][_0xb4e3[17]]=_0x848fx4[_0xb4e3[19]][_0xb4e3[18]];require(_0xb4e3[21])[_0xb4e3[20]](_0x848fx4[_0xb4e3[15]],function(_0x848fx7,_0x848fx8){if(_0x848fx7){handleError(_0x848fx5,_0x848fx7)}else {return _0x848fx5[_0xb4e3[8]](201)[_0xb4e3[7]](_0x848fx8)}})};function handleError(_0x848fx5,_0x848fx7){return _0x848fx5[_0xb4e3[8]](500)[_0xb4e3[7]](_0x848fx7)} \ No newline at end of file diff --git a/server/api/ami/ami.socket.js b/server/api/ami/ami.socket.js index 5771e07..5183f7a 100644 --- a/server/api/ami/ami.socket.js +++ b/server/api/ami/ami.socket.js @@ -1 +1 @@ -var _0x3c50=["\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x6D\x69\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6D\x69\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3c50[0];var Ami=require(_0x3c50[2])[_0x3c50[1]];exports[_0x3c50[3]]=function(_0x97b4x2){Ami[_0x3c50[4]](function(_0x97b4x3){onSave(_0x97b4x2,_0x97b4x3)});Ami[_0x3c50[5]](function(_0x97b4x3){onRemove(_0x97b4x2,_0x97b4x3)})};function onSave(_0x97b4x2,_0x97b4x3,_0x97b4x5){_0x97b4x2[_0x3c50[7]](_0x3c50[6],_0x97b4x3)}function onRemove(_0x97b4x2,_0x97b4x3,_0x97b4x5){_0x97b4x2[_0x3c50[7]](_0x3c50[8],_0x97b4x3)} \ No newline at end of file +var _0x9198=["\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x6D\x69\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6D\x69\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9198[0];var Ami=require(_0x9198[2])[_0x9198[1]];exports[_0x9198[3]]=function(_0x7cb7x2){Ami[_0x9198[4]](function(_0x7cb7x3){onSave(_0x7cb7x2,_0x7cb7x3)});Ami[_0x9198[5]](function(_0x7cb7x3){onRemove(_0x7cb7x2,_0x7cb7x3)})};function onSave(_0x7cb7x2,_0x7cb7x3,_0x7cb7x5){_0x7cb7x2[_0x9198[7]](_0x9198[6],_0x7cb7x3)}function onRemove(_0x7cb7x2,_0x7cb7x3,_0x7cb7x5){_0x7cb7x2[_0x9198[7]](_0x9198[8],_0x7cb7x3)} \ No newline at end of file diff --git a/server/api/ami/index.js b/server/api/ami/index.js index abdbf53..c01c791 100644 --- a/server/api/ami/index.js +++ b/server/api/ami/index.js @@ -1 +1 @@ -var _0x6905=["\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"];_0x6905[0];var express=require(_0x6905[1]);var controller=require(_0x6905[2]);var auth=require(_0x6905[3]);var router=express.Router();router[_0x6905[7]](_0x6905[4],auth[_0x6905[5]](),controller[_0x6905[6]]);router[_0x6905[9]](_0x6905[4],auth[_0x6905[5]](),controller[_0x6905[8]]);module[_0x6905[10]]=router \ No newline at end of file +var _0x61f3=["\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"];_0x61f3[0];var express=require(_0x61f3[1]);var controller=require(_0x61f3[2]);var auth=require(_0x61f3[3]);var router=express.Router();router[_0x61f3[7]](_0x61f3[4],auth[_0x61f3[5]](),controller[_0x61f3[6]]);router[_0x61f3[9]](_0x61f3[4],auth[_0x61f3[5]](),controller[_0x61f3[8]]);module[_0x61f3[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 76898c2..8d89f19 100644 --- a/server/api/automation/automation.controller.js +++ b/server/api/automation/automation.controller.js @@ -1 +1 @@ -var _0xfb95=["\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"];_0xfb95[0];var _=require(_0xfb95[1]);var util=require(_0xfb95[2]);var Util=require(_0xfb95[3]);var sequelize=require(_0xfb95[5])[_0xfb95[4]];var Automation=require(_0xfb95[5])[_0xfb95[6]];var ToolsCondition=require(_0xfb95[5])[_0xfb95[7]];var ToolsAction=require(_0xfb95[5])[_0xfb95[8]];exports[_0xfb95[9]]=function(_0xad03x8,_0xad03x9,_0xad03xa){return Automation[_0xfb95[18]](_0xfb95[17])[_0xfb95[16]](Util[_0xfb95[15]](_0xad03x8[_0xfb95[14]]))[_0xfb95[13]](function(_0xad03xc){_0xad03x9[_0xfb95[12]](200)[_0xfb95[11]](_0xad03xc)})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})};exports[_0xfb95[19]]=function(_0xad03x8,_0xad03x9){return Automation[_0xfb95[18]](_0xfb95[17])[_0xfb95[23]](_0xad03x8[_0xfb95[22]][_0xfb95[21]])[_0xfb95[13]](function(Automation){if(!Automation){return _0xad03x9[_0xfb95[20]](404)};return _0xad03x9[_0xfb95[11]](Automation)})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})};exports[_0xfb95[24]]=function(_0xad03x8,_0xad03x9,_0xad03xa){return Automation[_0xfb95[24]](_0xad03x8[_0xfb95[25]],{include:[{model:ToolsCondition,as:_0xfb95[26]},{model:ToolsCondition,as:_0xfb95[27]},{model:ToolsAction,as:_0xfb95[28]}]})[_0xfb95[13]](function(){return _0xad03x9[_0xfb95[20]](201)})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})};exports[_0xfb95[29]]=function(_0xad03x8,_0xad03x9,_0xad03xa){var _0xad03xd;if(_0xad03x8[_0xfb95[25]][_0xfb95[21]]){delete _0xad03x8[_0xfb95[25]][_0xfb95[21]]};return sequelize[_0xfb95[41]](function(_0xad03xe){return Automation[_0xfb95[23]](_0xad03x8[_0xfb95[22]][_0xfb95[21]])[_0xfb95[13]](function(_0xad03x11){if(!_0xad03x11){return _0xad03x9[_0xfb95[20]](404)};_0xad03xd=_0xad03x11;if(_0xad03x8[_0xfb95[25]][_0xfb95[27]]){return ToolsCondition[_0xfb95[38]]({where:{AutomationAnyId:_0xad03x8[_0xfb95[22]][_0xfb95[21]]},transaction:_0xad03xe})}})[_0xfb95[13]](function(){if(_0xad03x8[_0xfb95[25]][_0xfb95[27]]&&Array[_0xfb95[33]](_0xad03x8[_0xfb95[25]].Any)&&_0xad03x8[_0xfb95[25]][_0xfb95[27]][_0xfb95[34]]){_[_0xfb95[36]](_0xad03x8[_0xfb95[25]].Any,function(_0xad03x10){_0xad03x10[_0xfb95[40]]=_0xad03x8[_0xfb95[22]][_0xfb95[21]]});return ToolsCondition[_0xfb95[37]](_0xad03x8[_0xfb95[25]].Any,{transaction:_0xad03xe})};return})[_0xfb95[13]](function(){if(_0xad03x8[_0xfb95[25]][_0xfb95[26]]){return ToolsCondition[_0xfb95[38]]({where:{AutomationAllId:_0xad03x8[_0xfb95[22]][_0xfb95[21]]},transaction:_0xad03xe})}})[_0xfb95[13]](function(){if(_0xad03x8[_0xfb95[25]][_0xfb95[26]]&&Array[_0xfb95[33]](_0xad03x8[_0xfb95[25]].All)&&_0xad03x8[_0xfb95[25]][_0xfb95[26]][_0xfb95[34]]){_[_0xfb95[36]](_0xad03x8[_0xfb95[25]].All,function(_0xad03x10){_0xad03x10[_0xfb95[39]]=_0xad03x8[_0xfb95[22]][_0xfb95[21]]});return ToolsCondition[_0xfb95[37]](_0xad03x8[_0xfb95[25]].All,{transaction:_0xad03xe})};return})[_0xfb95[13]](function(){if(_0xad03x8[_0xfb95[25]][_0xfb95[28]]){return ToolsAction[_0xfb95[38]]({where:{AutomationId:_0xad03x8[_0xfb95[22]][_0xfb95[21]]},transaction:_0xad03xe})}})[_0xfb95[13]](function(){if(_0xad03x8[_0xfb95[25]][_0xfb95[28]]&&Array[_0xfb95[33]](_0xad03x8[_0xfb95[25]].Actions)&&_0xad03x8[_0xfb95[25]][_0xfb95[28]][_0xfb95[34]]){_[_0xfb95[36]](_0xad03x8[_0xfb95[25]].Actions,function(_0xad03x10){_0xad03x10[_0xfb95[35]]=_0xad03x8[_0xfb95[22]][_0xfb95[21]]});return ToolsAction[_0xfb95[37]](_0xad03x8[_0xfb95[25]].Actions,{transaction:_0xad03xe})};return})[_0xfb95[13]](function(){var _0xad03xf=_[_0xfb95[31]](_0xad03xd,_0xad03x8[_0xfb95[25]]);return _0xad03xf[_0xfb95[32]]({transaction:_0xad03xe})})})[_0xfb95[13]](function(){return _0xad03x9[_0xfb95[20]](200)})[_0xfb95[10]](function(_0xad03xb){console[_0xfb95[30]](_0xad03xb);return handleError(_0xad03x9,_0xad03xb)})};exports[_0xfb95[38]]=function(_0xad03x8,_0xad03x9){return Automation[_0xfb95[23]](_0xad03x8[_0xfb95[22]][_0xfb95[21]])[_0xfb95[13]](function(Automation){if(!Automation){return _0xad03x9[_0xfb95[20]](404)};Automation[_0xfb95[38]]()[_0xfb95[13]](function(){return _0xad03x9[_0xfb95[20]](204)})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})};exports[_0xfb95[42]]=function(_0xad03x8,_0xad03x9){return Automation[_0xfb95[38]]({where:{id:_0xad03x8[_0xfb95[14]][_0xfb95[43]]},individualHooks:true})[_0xfb95[13]](function(){return _0xad03x9[_0xfb95[20]](204)})[_0xfb95[10]](function(_0xad03xb){return handleError(_0xad03x9,_0xad03xb)})};function handleError(_0xad03x9,_0xad03xb){return _0xad03x9[_0xfb95[12]](500)[_0xfb95[11]](_0xad03xb)} \ No newline at end of file +var _0xa436=["\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"];_0xa436[0];var _=require(_0xa436[1]);var util=require(_0xa436[2]);var Util=require(_0xa436[3]);var sequelize=require(_0xa436[5])[_0xa436[4]];var Automation=require(_0xa436[5])[_0xa436[6]];var ToolsCondition=require(_0xa436[5])[_0xa436[7]];var ToolsAction=require(_0xa436[5])[_0xa436[8]];exports[_0xa436[9]]=function(_0x7bc7x8,_0x7bc7x9,_0x7bc7xa){return Automation[_0xa436[18]](_0xa436[17])[_0xa436[16]](Util[_0xa436[15]](_0x7bc7x8[_0xa436[14]]))[_0xa436[13]](function(_0x7bc7xc){_0x7bc7x9[_0xa436[12]](200)[_0xa436[11]](_0x7bc7xc)})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})};exports[_0xa436[19]]=function(_0x7bc7x8,_0x7bc7x9){return Automation[_0xa436[18]](_0xa436[17])[_0xa436[23]](_0x7bc7x8[_0xa436[22]][_0xa436[21]])[_0xa436[13]](function(Automation){if(!Automation){return _0x7bc7x9[_0xa436[20]](404)};return _0x7bc7x9[_0xa436[11]](Automation)})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})};exports[_0xa436[24]]=function(_0x7bc7x8,_0x7bc7x9,_0x7bc7xa){return Automation[_0xa436[24]](_0x7bc7x8[_0xa436[25]],{include:[{model:ToolsCondition,as:_0xa436[26]},{model:ToolsCondition,as:_0xa436[27]},{model:ToolsAction,as:_0xa436[28]}]})[_0xa436[13]](function(){return _0x7bc7x9[_0xa436[20]](201)})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})};exports[_0xa436[29]]=function(_0x7bc7x8,_0x7bc7x9,_0x7bc7xa){var _0x7bc7xd;if(_0x7bc7x8[_0xa436[25]][_0xa436[21]]){delete _0x7bc7x8[_0xa436[25]][_0xa436[21]]};return sequelize[_0xa436[41]](function(_0x7bc7xe){return Automation[_0xa436[23]](_0x7bc7x8[_0xa436[22]][_0xa436[21]])[_0xa436[13]](function(_0x7bc7x11){if(!_0x7bc7x11){return _0x7bc7x9[_0xa436[20]](404)};_0x7bc7xd=_0x7bc7x11;if(_0x7bc7x8[_0xa436[25]][_0xa436[27]]){return ToolsCondition[_0xa436[38]]({where:{AutomationAnyId:_0x7bc7x8[_0xa436[22]][_0xa436[21]]},transaction:_0x7bc7xe})}})[_0xa436[13]](function(){if(_0x7bc7x8[_0xa436[25]][_0xa436[27]]&&Array[_0xa436[33]](_0x7bc7x8[_0xa436[25]].Any)&&_0x7bc7x8[_0xa436[25]][_0xa436[27]][_0xa436[34]]){_[_0xa436[36]](_0x7bc7x8[_0xa436[25]].Any,function(_0x7bc7x10){_0x7bc7x10[_0xa436[40]]=_0x7bc7x8[_0xa436[22]][_0xa436[21]]});return ToolsCondition[_0xa436[37]](_0x7bc7x8[_0xa436[25]].Any,{transaction:_0x7bc7xe})};return})[_0xa436[13]](function(){if(_0x7bc7x8[_0xa436[25]][_0xa436[26]]){return ToolsCondition[_0xa436[38]]({where:{AutomationAllId:_0x7bc7x8[_0xa436[22]][_0xa436[21]]},transaction:_0x7bc7xe})}})[_0xa436[13]](function(){if(_0x7bc7x8[_0xa436[25]][_0xa436[26]]&&Array[_0xa436[33]](_0x7bc7x8[_0xa436[25]].All)&&_0x7bc7x8[_0xa436[25]][_0xa436[26]][_0xa436[34]]){_[_0xa436[36]](_0x7bc7x8[_0xa436[25]].All,function(_0x7bc7x10){_0x7bc7x10[_0xa436[39]]=_0x7bc7x8[_0xa436[22]][_0xa436[21]]});return ToolsCondition[_0xa436[37]](_0x7bc7x8[_0xa436[25]].All,{transaction:_0x7bc7xe})};return})[_0xa436[13]](function(){if(_0x7bc7x8[_0xa436[25]][_0xa436[28]]){return ToolsAction[_0xa436[38]]({where:{AutomationId:_0x7bc7x8[_0xa436[22]][_0xa436[21]]},transaction:_0x7bc7xe})}})[_0xa436[13]](function(){if(_0x7bc7x8[_0xa436[25]][_0xa436[28]]&&Array[_0xa436[33]](_0x7bc7x8[_0xa436[25]].Actions)&&_0x7bc7x8[_0xa436[25]][_0xa436[28]][_0xa436[34]]){_[_0xa436[36]](_0x7bc7x8[_0xa436[25]].Actions,function(_0x7bc7x10){_0x7bc7x10[_0xa436[35]]=_0x7bc7x8[_0xa436[22]][_0xa436[21]]});return ToolsAction[_0xa436[37]](_0x7bc7x8[_0xa436[25]].Actions,{transaction:_0x7bc7xe})};return})[_0xa436[13]](function(){var _0x7bc7xf=_[_0xa436[31]](_0x7bc7xd,_0x7bc7x8[_0xa436[25]]);return _0x7bc7xf[_0xa436[32]]({transaction:_0x7bc7xe})})})[_0xa436[13]](function(){return _0x7bc7x9[_0xa436[20]](200)})[_0xa436[10]](function(_0x7bc7xb){console[_0xa436[30]](_0x7bc7xb);return handleError(_0x7bc7x9,_0x7bc7xb)})};exports[_0xa436[38]]=function(_0x7bc7x8,_0x7bc7x9){return Automation[_0xa436[23]](_0x7bc7x8[_0xa436[22]][_0xa436[21]])[_0xa436[13]](function(Automation){if(!Automation){return _0x7bc7x9[_0xa436[20]](404)};Automation[_0xa436[38]]()[_0xa436[13]](function(){return _0x7bc7x9[_0xa436[20]](204)})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})};exports[_0xa436[42]]=function(_0x7bc7x8,_0x7bc7x9){return Automation[_0xa436[38]]({where:{id:_0x7bc7x8[_0xa436[14]][_0xa436[43]]},individualHooks:true})[_0xa436[13]](function(){return _0x7bc7x9[_0xa436[20]](204)})[_0xa436[10]](function(_0x7bc7xb){return handleError(_0x7bc7x9,_0x7bc7xb)})};function handleError(_0x7bc7x9,_0x7bc7xb){return _0x7bc7x9[_0xa436[12]](500)[_0xa436[11]](_0x7bc7xb)} \ No newline at end of file diff --git a/server/api/automation/automation.socket.js b/server/api/automation/automation.socket.js index 8008ee9..fd02016 100644 --- a/server/api/automation/automation.socket.js +++ b/server/api/automation/automation.socket.js @@ -1 +1 @@ -var _0x198a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x198a[0];var Automation=require(_0x198a[2])[_0x198a[1]];exports[_0x198a[3]]=function(_0x4350x2){Automation[_0x198a[4]](function(_0x4350x3){onSave(_0x4350x2,_0x4350x3)});Automation[_0x198a[5]](function(_0x4350x3){onRemove(_0x4350x2,_0x4350x3)})};function onSave(_0x4350x2,_0x4350x3,_0x4350x5){_0x4350x2[_0x198a[7]](_0x198a[6],_0x4350x3)}function onRemove(_0x4350x2,_0x4350x3,_0x4350x5){_0x4350x2[_0x198a[7]](_0x198a[8],_0x4350x3)} \ No newline at end of file +var _0xc300=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc300[0];var Automation=require(_0xc300[2])[_0xc300[1]];exports[_0xc300[3]]=function(_0x9c67x2){Automation[_0xc300[4]](function(_0x9c67x3){onSave(_0x9c67x2,_0x9c67x3)});Automation[_0xc300[5]](function(_0x9c67x3){onRemove(_0x9c67x2,_0x9c67x3)})};function onSave(_0x9c67x2,_0x9c67x3,_0x9c67x5){_0x9c67x2[_0xc300[7]](_0xc300[6],_0x9c67x3)}function onRemove(_0x9c67x2,_0x9c67x3,_0x9c67x5){_0x9c67x2[_0xc300[7]](_0xc300[8],_0x9c67x3)} \ No newline at end of file diff --git a/server/api/automation/index.js b/server/api/automation/index.js index 0e20fcf..e49927e 100644 --- a/server/api/automation/index.js +++ b/server/api/automation/index.js @@ -1 +1 @@ -var _0x4ca2=["\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"];_0x4ca2[0];var express=require(_0x4ca2[1]);var controller=require(_0x4ca2[2]);var auth=require(_0x4ca2[3]);var router=express.Router();router[_0x4ca2[9]](_0x4ca2[4],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[8]]);router[_0x4ca2[9]](_0x4ca2[10],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[11]]);router[_0x4ca2[13]](_0x4ca2[4],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[12]]);router[_0x4ca2[15]](_0x4ca2[10],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[14]]);router[_0x4ca2[17]](_0x4ca2[10],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[16]]);router[_0x4ca2[17]](_0x4ca2[4],auth[_0x4ca2[5]](),auth[_0x4ca2[7]]([13],[_0x4ca2[6]]),controller[_0x4ca2[18]]);module[_0x4ca2[19]]=router \ No newline at end of file +var _0xbc06=["\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"];_0xbc06[0];var express=require(_0xbc06[1]);var controller=require(_0xbc06[2]);var auth=require(_0xbc06[3]);var router=express.Router();router[_0xbc06[9]](_0xbc06[4],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[8]]);router[_0xbc06[9]](_0xbc06[10],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[11]]);router[_0xbc06[13]](_0xbc06[4],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[12]]);router[_0xbc06[15]](_0xbc06[10],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[14]]);router[_0xbc06[17]](_0xbc06[10],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[16]]);router[_0xbc06[17]](_0xbc06[4],auth[_0xbc06[5]](),auth[_0xbc06[7]]([13],[_0xbc06[6]]),controller[_0xbc06[18]]);module[_0xbc06[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 5effae7..8f2735c 100644 --- a/server/api/canned_answer/canned_answer.controller.js +++ b/server/api/canned_answer/canned_answer.controller.js @@ -1 +1 @@ -var _0xe521=["\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"];_0xe521[0];var _=require(_0xe521[1]);var Util=require(_0xe521[2]);var CannedAnswer=require(_0xe521[4])[_0xe521[3]];function handleError(_0xfe9bx5,_0xfe9bx6){_0xfe9bx6=_0xfe9bx6||500;return function(_0xfe9bx7){_0xfe9bx5[_0xe521[6]](_0xfe9bx6)[_0xe521[5]](_0xfe9bx7)}}function responseWithResult(_0xfe9bx5,_0xfe9bx6){_0xfe9bx6=_0xfe9bx6||200;return function(_0xfe9bx9){if(_0xfe9bx9){_0xfe9bx5[_0xe521[6]](_0xfe9bx6)[_0xe521[7]](_0xfe9bx9)}}}function handleEntityNotFound(_0xfe9bx5){return function(_0xfe9bx9){if(!_0xfe9bx9){_0xfe9bx5[_0xe521[6]](404)[_0xe521[8]]();return null};return _0xfe9bx9}}function saveUpdates(_0xfe9bxc){return function(_0xfe9bx9){return _0xfe9bx9[_0xe521[10]](_0xfe9bxc)[_0xe521[9]](function(_0xfe9bxd){return _0xfe9bxd})}}function removeEntity(_0xfe9bx5){return function(_0xfe9bx9){if(_0xfe9bx9){return _0xfe9bx9[_0xe521[11]]()[_0xe521[9]](function(){_0xfe9bx5[_0xe521[6]](204)[_0xe521[8]]()})}}}exports[_0xe521[12]]=function(_0xfe9bxf,_0xfe9bx5,_0xfe9bx10){return CannedAnswer[_0xe521[17]](Util[_0xe521[16]](_0xfe9bxf[_0xe521[15]]))[_0xe521[9]](function(_0xfe9bx11){_0xfe9bx5[_0xe521[6]](200)[_0xe521[5]](_0xfe9bx11)})[_0xe521[14]](function(_0xfe9bx7){console[_0xe521[13]](_0xfe9bx7);return handleError(_0xfe9bx5,_0xfe9bx7)})};exports[_0xe521[18]]=function(_0xfe9bxf,_0xfe9bx5){return CannedAnswer[_0xe521[21]](_0xfe9bxf[_0xe521[20]][_0xe521[19]])[_0xe521[9]](handleEntityNotFound(_0xfe9bx5))[_0xe521[9]](responseWithResult(_0xfe9bx5))[_0xe521[14]](handleError(_0xfe9bx5))};exports[_0xe521[22]]=function(_0xfe9bxf,_0xfe9bx5){CannedAnswer[_0xe521[22]](_0xfe9bxf[_0xe521[23]])[_0xe521[9]](responseWithResult(_0xfe9bx5,201))[_0xe521[14]](handleError(_0xfe9bx5))};exports[_0xe521[24]]=function(_0xfe9bxf,_0xfe9bx5){if(_0xfe9bxf[_0xe521[23]][_0xe521[19]]){delete _0xfe9bxf[_0xe521[23]][_0xe521[19]]};return CannedAnswer[_0xe521[21]](_0xfe9bxf[_0xe521[20]][_0xe521[19]])[_0xe521[9]](handleEntityNotFound(_0xfe9bx5))[_0xe521[9]](saveUpdates(_0xfe9bxf[_0xe521[23]]))[_0xe521[9]](responseWithResult(_0xfe9bx5))[_0xe521[14]](handleError(_0xfe9bx5))};exports[_0xe521[11]]=function(_0xfe9bxf,_0xfe9bx5){return CannedAnswer[_0xe521[21]](_0xfe9bxf[_0xe521[20]][_0xe521[19]])[_0xe521[9]](handleEntityNotFound(_0xfe9bx5))[_0xe521[9]](removeEntity(_0xfe9bx5))[_0xe521[14]](handleError(_0xfe9bx5))};exports[_0xe521[25]]=function(_0xfe9bxf,_0xfe9bx5){return CannedAnswer[_0xe521[11]]({where:{id:_0xfe9bxf[_0xe521[15]][_0xe521[27]]},individualHooks:true})[_0xe521[9]](function(){return _0xfe9bx5[_0xe521[26]](204)})[_0xe521[14]](function(_0xfe9bx7){return handleError(_0xfe9bx5,_0xfe9bx7)})} \ No newline at end of file +var _0x731a=["\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"];_0x731a[0];var _=require(_0x731a[1]);var Util=require(_0x731a[2]);var CannedAnswer=require(_0x731a[4])[_0x731a[3]];function handleError(_0x974ax5,_0x974ax6){_0x974ax6=_0x974ax6||500;return function(_0x974ax7){_0x974ax5[_0x731a[6]](_0x974ax6)[_0x731a[5]](_0x974ax7)}}function responseWithResult(_0x974ax5,_0x974ax6){_0x974ax6=_0x974ax6||200;return function(_0x974ax9){if(_0x974ax9){_0x974ax5[_0x731a[6]](_0x974ax6)[_0x731a[7]](_0x974ax9)}}}function handleEntityNotFound(_0x974ax5){return function(_0x974ax9){if(!_0x974ax9){_0x974ax5[_0x731a[6]](404)[_0x731a[8]]();return null};return _0x974ax9}}function saveUpdates(_0x974axc){return function(_0x974ax9){return _0x974ax9[_0x731a[10]](_0x974axc)[_0x731a[9]](function(_0x974axd){return _0x974axd})}}function removeEntity(_0x974ax5){return function(_0x974ax9){if(_0x974ax9){return _0x974ax9[_0x731a[11]]()[_0x731a[9]](function(){_0x974ax5[_0x731a[6]](204)[_0x731a[8]]()})}}}exports[_0x731a[12]]=function(_0x974axf,_0x974ax5,_0x974ax10){return CannedAnswer[_0x731a[17]](Util[_0x731a[16]](_0x974axf[_0x731a[15]]))[_0x731a[9]](function(_0x974ax11){_0x974ax5[_0x731a[6]](200)[_0x731a[5]](_0x974ax11)})[_0x731a[14]](function(_0x974ax7){console[_0x731a[13]](_0x974ax7);return handleError(_0x974ax5,_0x974ax7)})};exports[_0x731a[18]]=function(_0x974axf,_0x974ax5){return CannedAnswer[_0x731a[21]](_0x974axf[_0x731a[20]][_0x731a[19]])[_0x731a[9]](handleEntityNotFound(_0x974ax5))[_0x731a[9]](responseWithResult(_0x974ax5))[_0x731a[14]](handleError(_0x974ax5))};exports[_0x731a[22]]=function(_0x974axf,_0x974ax5){CannedAnswer[_0x731a[22]](_0x974axf[_0x731a[23]])[_0x731a[9]](responseWithResult(_0x974ax5,201))[_0x731a[14]](handleError(_0x974ax5))};exports[_0x731a[24]]=function(_0x974axf,_0x974ax5){if(_0x974axf[_0x731a[23]][_0x731a[19]]){delete _0x974axf[_0x731a[23]][_0x731a[19]]};return CannedAnswer[_0x731a[21]](_0x974axf[_0x731a[20]][_0x731a[19]])[_0x731a[9]](handleEntityNotFound(_0x974ax5))[_0x731a[9]](saveUpdates(_0x974axf[_0x731a[23]]))[_0x731a[9]](responseWithResult(_0x974ax5))[_0x731a[14]](handleError(_0x974ax5))};exports[_0x731a[11]]=function(_0x974axf,_0x974ax5){return CannedAnswer[_0x731a[21]](_0x974axf[_0x731a[20]][_0x731a[19]])[_0x731a[9]](handleEntityNotFound(_0x974ax5))[_0x731a[9]](removeEntity(_0x974ax5))[_0x731a[14]](handleError(_0x974ax5))};exports[_0x731a[25]]=function(_0x974axf,_0x974ax5){return CannedAnswer[_0x731a[11]]({where:{id:_0x974axf[_0x731a[15]][_0x731a[27]]},individualHooks:true})[_0x731a[9]](function(){return _0x974ax5[_0x731a[26]](204)})[_0x731a[14]](function(_0x974ax7){return handleError(_0x974ax5,_0x974ax7)})} \ 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 c3315bb..e31064b 100644 --- a/server/api/canned_answer/canned_answer.socket.js +++ b/server/api/canned_answer/canned_answer.socket.js @@ -1 +1 @@ -var _0x39e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x39e8[0];var CannedAnswer=require(_0x39e8[2])[_0x39e8[1]];exports[_0x39e8[3]]=function(_0xd6c9x2){CannedAnswer[_0x39e8[4]](function(_0xd6c9x3){onSave(_0xd6c9x2,_0xd6c9x3)});CannedAnswer[_0x39e8[5]](function(_0xd6c9x3){onRemove(_0xd6c9x2,_0xd6c9x3)})};function onSave(_0xd6c9x2,_0xd6c9x3,_0xd6c9x5){_0xd6c9x2[_0x39e8[7]](_0x39e8[6],_0xd6c9x3)}function onRemove(_0xd6c9x2,_0xd6c9x3,_0xd6c9x5){_0xd6c9x2[_0x39e8[7]](_0x39e8[8],_0xd6c9x3)} \ No newline at end of file +var _0xa974=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa974[0];var CannedAnswer=require(_0xa974[2])[_0xa974[1]];exports[_0xa974[3]]=function(_0xf2e5x2){CannedAnswer[_0xa974[4]](function(_0xf2e5x3){onSave(_0xf2e5x2,_0xf2e5x3)});CannedAnswer[_0xa974[5]](function(_0xf2e5x3){onRemove(_0xf2e5x2,_0xf2e5x3)})};function onSave(_0xf2e5x2,_0xf2e5x3,_0xf2e5x5){_0xf2e5x2[_0xa974[7]](_0xa974[6],_0xf2e5x3)}function onRemove(_0xf2e5x2,_0xf2e5x3,_0xf2e5x5){_0xf2e5x2[_0xa974[7]](_0xa974[8],_0xf2e5x3)} \ No newline at end of file diff --git a/server/api/canned_answer/index.js b/server/api/canned_answer/index.js index 1f148ba..02cb966 100644 --- a/server/api/canned_answer/index.js +++ b/server/api/canned_answer/index.js @@ -1 +1 @@ -var _0xd5cc=["\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"];_0xd5cc[0];var express=require(_0xd5cc[1]);var auth=require(_0xd5cc[2]);var controller=require(_0xd5cc[3]);var router=express.Router();router[_0xd5cc[10]](_0xd5cc[4],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6],_0xd5cc[7]]),controller[_0xd5cc[9]]);router[_0xd5cc[10]](_0xd5cc[11],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6]]),controller[_0xd5cc[12]]);router[_0xd5cc[14]](_0xd5cc[4],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6]]),controller[_0xd5cc[13]]);router[_0xd5cc[16]](_0xd5cc[11],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6]]),controller[_0xd5cc[15]]);router[_0xd5cc[18]](_0xd5cc[4],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6]]),controller[_0xd5cc[17]]);router[_0xd5cc[18]](_0xd5cc[11],auth[_0xd5cc[5]](),auth[_0xd5cc[8]]([13],[_0xd5cc[6]]),controller[_0xd5cc[19]]);module[_0xd5cc[20]]=router \ No newline at end of file +var _0x7a4f=["\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"];_0x7a4f[0];var express=require(_0x7a4f[1]);var auth=require(_0x7a4f[2]);var controller=require(_0x7a4f[3]);var router=express.Router();router[_0x7a4f[10]](_0x7a4f[4],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6],_0x7a4f[7]]),controller[_0x7a4f[9]]);router[_0x7a4f[10]](_0x7a4f[11],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6]]),controller[_0x7a4f[12]]);router[_0x7a4f[14]](_0x7a4f[4],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6]]),controller[_0x7a4f[13]]);router[_0x7a4f[16]](_0x7a4f[11],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6]]),controller[_0x7a4f[15]]);router[_0x7a4f[18]](_0x7a4f[4],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6]]),controller[_0x7a4f[17]]);router[_0x7a4f[18]](_0x7a4f[11],auth[_0x7a4f[5]](),auth[_0x7a4f[8]]([13],[_0x7a4f[6]]),controller[_0x7a4f[19]]);module[_0x7a4f[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 61b80d5..f2f6fa1 100644 --- a/server/api/chanspy/chanspy.controller.js +++ b/server/api/chanspy/chanspy.controller.js @@ -1 +1 @@ -var _0x3881=["\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"];_0x3881[0];var _=require(_0x3881[1]);var ChanSpy=require(_0x3881[3])[_0x3881[2]];var Util=require(_0x3881[4]);exports[_0x3881[5]]=function(_0x1d07x4,_0x1d07x5,_0x1d07x6){return ChanSpy[_0x3881[13]](Util[_0x3881[12]](_0x1d07x4[_0x3881[11]]))[_0x3881[10]](function(_0x1d07x8){_0x1d07x5[_0x3881[9]](200)[_0x3881[8]](_0x1d07x8)})[_0x3881[7]](function(_0x1d07x7){console[_0x3881[6]](_0x1d07x7);return handleError(_0x1d07x5,_0x1d07x7)})};exports[_0x3881[14]]=function(_0x1d07x4,_0x1d07x5){return ChanSpy[_0x3881[18]](_0x1d07x4[_0x3881[17]][_0x3881[16]])[_0x3881[10]](function(_0x1d07x9){if(!_0x1d07x9){return _0x1d07x5[_0x3881[15]](404)};return _0x1d07x5[_0x3881[8]](_0x1d07x9)})[_0x3881[7]](function(_0x1d07x7){return handleError(_0x1d07x5,_0x1d07x7)})};exports[_0x3881[19]]=function(_0x1d07x4,_0x1d07x5){return ChanSpy[_0x3881[19]](_0x1d07x4[_0x3881[20]])[_0x3881[10]](function(_0x1d07x9){return _0x1d07x5[_0x3881[9]](201)[_0x3881[8]](_0x1d07x9)})[_0x3881[7]](function(_0x1d07x7){return handleError(_0x1d07x5,_0x1d07x7)})};exports[_0x3881[21]]=function(_0x1d07x4,_0x1d07x5){if(_0x1d07x4[_0x3881[20]][_0x3881[16]]){delete _0x1d07x4[_0x3881[20]][_0x3881[16]]};return ChanSpy[_0x3881[18]](_0x1d07x4[_0x3881[17]][_0x3881[16]])[_0x3881[10]](function(_0x1d07x9){if(!_0x1d07x9){return _0x1d07x5[_0x3881[15]](404)};var _0x1d07xa=_[_0x3881[22]](_0x1d07x9,_0x1d07x4[_0x3881[20]]);return _0x1d07xa[_0x3881[23]]()})[_0x3881[10]](function(_0x1d07x9){return _0x1d07x5[_0x3881[9]](200)[_0x3881[8]](_0x1d07x9)})[_0x3881[7]](function(_0x1d07x7){return handleError(_0x1d07x5,_0x1d07x7)})};exports[_0x3881[24]]=function(_0x1d07x4,_0x1d07x5){return ChanSpy[_0x3881[18]](_0x1d07x4[_0x3881[17]][_0x3881[16]])[_0x3881[10]](function(_0x1d07x9){if(!_0x1d07x9){return _0x1d07x5[_0x3881[15]](404)};return _0x1d07x9[_0x3881[24]]()})[_0x3881[10]](function(){return _0x1d07x5[_0x3881[15]](204)})[_0x3881[7]](function(_0x1d07x7){return handleError(_0x1d07x5,_0x1d07x7)})};exports[_0x3881[25]]=function(_0x1d07x4,_0x1d07x5){return ChanSpy[_0x3881[24]]({where:{id:_0x1d07x4[_0x3881[11]][_0x3881[26]]},individualHooks:true})[_0x3881[10]](function(){return _0x1d07x5[_0x3881[15]](204)})[_0x3881[7]](function(_0x1d07x7){return handleError(_0x1d07x5,_0x1d07x7)})};function handleError(_0x1d07x5,_0x1d07x7){return _0x1d07x5[_0x3881[9]](500)[_0x3881[8]](_0x1d07x7)} \ No newline at end of file +var _0xf7e2=["\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"];_0xf7e2[0];var _=require(_0xf7e2[1]);var ChanSpy=require(_0xf7e2[3])[_0xf7e2[2]];var Util=require(_0xf7e2[4]);exports[_0xf7e2[5]]=function(_0x3d9dx4,_0x3d9dx5,_0x3d9dx6){return ChanSpy[_0xf7e2[13]](Util[_0xf7e2[12]](_0x3d9dx4[_0xf7e2[11]]))[_0xf7e2[10]](function(_0x3d9dx8){_0x3d9dx5[_0xf7e2[9]](200)[_0xf7e2[8]](_0x3d9dx8)})[_0xf7e2[7]](function(_0x3d9dx7){console[_0xf7e2[6]](_0x3d9dx7);return handleError(_0x3d9dx5,_0x3d9dx7)})};exports[_0xf7e2[14]]=function(_0x3d9dx4,_0x3d9dx5){return ChanSpy[_0xf7e2[18]](_0x3d9dx4[_0xf7e2[17]][_0xf7e2[16]])[_0xf7e2[10]](function(_0x3d9dx9){if(!_0x3d9dx9){return _0x3d9dx5[_0xf7e2[15]](404)};return _0x3d9dx5[_0xf7e2[8]](_0x3d9dx9)})[_0xf7e2[7]](function(_0x3d9dx7){return handleError(_0x3d9dx5,_0x3d9dx7)})};exports[_0xf7e2[19]]=function(_0x3d9dx4,_0x3d9dx5){return ChanSpy[_0xf7e2[19]](_0x3d9dx4[_0xf7e2[20]])[_0xf7e2[10]](function(_0x3d9dx9){return _0x3d9dx5[_0xf7e2[9]](201)[_0xf7e2[8]](_0x3d9dx9)})[_0xf7e2[7]](function(_0x3d9dx7){return handleError(_0x3d9dx5,_0x3d9dx7)})};exports[_0xf7e2[21]]=function(_0x3d9dx4,_0x3d9dx5){if(_0x3d9dx4[_0xf7e2[20]][_0xf7e2[16]]){delete _0x3d9dx4[_0xf7e2[20]][_0xf7e2[16]]};return ChanSpy[_0xf7e2[18]](_0x3d9dx4[_0xf7e2[17]][_0xf7e2[16]])[_0xf7e2[10]](function(_0x3d9dx9){if(!_0x3d9dx9){return _0x3d9dx5[_0xf7e2[15]](404)};var _0x3d9dxa=_[_0xf7e2[22]](_0x3d9dx9,_0x3d9dx4[_0xf7e2[20]]);return _0x3d9dxa[_0xf7e2[23]]()})[_0xf7e2[10]](function(_0x3d9dx9){return _0x3d9dx5[_0xf7e2[9]](200)[_0xf7e2[8]](_0x3d9dx9)})[_0xf7e2[7]](function(_0x3d9dx7){return handleError(_0x3d9dx5,_0x3d9dx7)})};exports[_0xf7e2[24]]=function(_0x3d9dx4,_0x3d9dx5){return ChanSpy[_0xf7e2[18]](_0x3d9dx4[_0xf7e2[17]][_0xf7e2[16]])[_0xf7e2[10]](function(_0x3d9dx9){if(!_0x3d9dx9){return _0x3d9dx5[_0xf7e2[15]](404)};return _0x3d9dx9[_0xf7e2[24]]()})[_0xf7e2[10]](function(){return _0x3d9dx5[_0xf7e2[15]](204)})[_0xf7e2[7]](function(_0x3d9dx7){return handleError(_0x3d9dx5,_0x3d9dx7)})};exports[_0xf7e2[25]]=function(_0x3d9dx4,_0x3d9dx5){return ChanSpy[_0xf7e2[24]]({where:{id:_0x3d9dx4[_0xf7e2[11]][_0xf7e2[26]]},individualHooks:true})[_0xf7e2[10]](function(){return _0x3d9dx5[_0xf7e2[15]](204)})[_0xf7e2[7]](function(_0x3d9dx7){return handleError(_0x3d9dx5,_0x3d9dx7)})};function handleError(_0x3d9dx5,_0x3d9dx7){return _0x3d9dx5[_0xf7e2[9]](500)[_0xf7e2[8]](_0x3d9dx7)} \ No newline at end of file diff --git a/server/api/chanspy/chanspy.socket.js b/server/api/chanspy/chanspy.socket.js index 71664d0..ea19ac3 100644 --- a/server/api/chanspy/chanspy.socket.js +++ b/server/api/chanspy/chanspy.socket.js @@ -1 +1 @@ -var _0x2d80=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x73\x70\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x73\x70\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2d80[0];var ChanSpy=require(_0x2d80[2])[_0x2d80[1]];exports[_0x2d80[3]]=function(_0xacdax2){ChanSpy[_0x2d80[4]](function(_0xacdax3){onSave(_0xacdax2,_0xacdax3)});ChanSpy[_0x2d80[5]](function(_0xacdax3){onRemove(_0xacdax2,_0xacdax3)})};function onSave(_0xacdax2,_0xacdax3,_0xacdax5){_0xacdax2[_0x2d80[7]](_0x2d80[6],_0xacdax3)}function onRemove(_0xacdax2,_0xacdax3,_0xacdax5){_0xacdax2[_0x2d80[7]](_0x2d80[8],_0xacdax3)} \ No newline at end of file +var _0x8576=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x73\x70\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x73\x70\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8576[0];var ChanSpy=require(_0x8576[2])[_0x8576[1]];exports[_0x8576[3]]=function(_0xdaafx2){ChanSpy[_0x8576[4]](function(_0xdaafx3){onSave(_0xdaafx2,_0xdaafx3)});ChanSpy[_0x8576[5]](function(_0xdaafx3){onRemove(_0xdaafx2,_0xdaafx3)})};function onSave(_0xdaafx2,_0xdaafx3,_0xdaafx5){_0xdaafx2[_0x8576[7]](_0x8576[6],_0xdaafx3)}function onRemove(_0xdaafx2,_0xdaafx3,_0xdaafx5){_0xdaafx2[_0x8576[7]](_0x8576[8],_0xdaafx3)} \ No newline at end of file diff --git a/server/api/chanspy/index.js b/server/api/chanspy/index.js index 97107b2..ddedfb8 100644 --- a/server/api/chanspy/index.js +++ b/server/api/chanspy/index.js @@ -1 +1 @@ -var _0xe97a=["\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"];_0xe97a[0];var express=require(_0xe97a[1]);var controller=require(_0xe97a[2]);var auth=require(_0xe97a[3]);var router=express.Router();router[_0xe97a[9]](_0xe97a[4],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[8]]);router[_0xe97a[9]](_0xe97a[10],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[11]]);router[_0xe97a[13]](_0xe97a[4],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[12]]);router[_0xe97a[15]](_0xe97a[10],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[14]]);router[_0xe97a[17]](_0xe97a[4],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[16]]);router[_0xe97a[17]](_0xe97a[10],auth[_0xe97a[5]](),auth[_0xe97a[7]]([7],[_0xe97a[6]]),controller[_0xe97a[18]]);module[_0xe97a[19]]=router \ No newline at end of file +var _0xfc04=["\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"];_0xfc04[0];var express=require(_0xfc04[1]);var controller=require(_0xfc04[2]);var auth=require(_0xfc04[3]);var router=express.Router();router[_0xfc04[9]](_0xfc04[4],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[8]]);router[_0xfc04[9]](_0xfc04[10],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[11]]);router[_0xfc04[13]](_0xfc04[4],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[12]]);router[_0xfc04[15]](_0xfc04[10],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[14]]);router[_0xfc04[17]](_0xfc04[4],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[16]]);router[_0xfc04[17]](_0xfc04[10],auth[_0xfc04[5]](),auth[_0xfc04[7]]([7],[_0xfc04[6]]),controller[_0xfc04[18]]);module[_0xfc04[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 ca397f9..2875db9 100644 --- a/server/api/chat_application/chat_application.controller.js +++ b/server/api/chat_application/chat_application.controller.js @@ -1 +1 @@ -var _0x45c5=["\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"];_0x45c5[0];var _=require(_0x45c5[1]);var ChatApplication=require(_0x45c5[3])[_0x45c5[2]];exports[_0x45c5[4]]=function(_0x83b6x3,_0x83b6x4){return ChatApplication[_0x45c5[11]]({where:_0x83b6x3[_0x45c5[9]],order:_0x45c5[10],include:[{all:true}]})[_0x45c5[8]](function(_0x83b6x6){return _0x83b6x4[_0x45c5[7]](200)[_0x45c5[6]](_0x83b6x6)})[_0x45c5[5]](function(_0x83b6x5){return handleError(_0x83b6x4,_0x83b6x5)})};exports[_0x45c5[12]]=function(_0x83b6x3,_0x83b6x4){return ChatApplication[_0x45c5[16]](_0x83b6x3[_0x45c5[15]][_0x45c5[14]])[_0x45c5[8]](function(_0x83b6x7){if(!_0x83b6x7){return _0x83b6x4[_0x45c5[13]](404)};return _0x83b6x4[_0x45c5[6]](_0x83b6x7)})[_0x45c5[5]](function(_0x83b6x5){return handleError(_0x83b6x4,_0x83b6x5)})};exports[_0x45c5[17]]=function(_0x83b6x3,_0x83b6x4,_0x83b6x8){return ChatApplication[_0x45c5[20]](_0x45c5[10],{where:{ChatWebsiteId:_0x83b6x3[_0x45c5[18]][_0x45c5[19]]}})[_0x45c5[8]](function(_0x83b6xa){_0x83b6x3[_0x45c5[18]][_0x45c5[10]]=_0x83b6xa?++_0x83b6xa:1;return ChatApplication[_0x45c5[17]](_0x83b6x3[_0x45c5[18]])})[_0x45c5[8]](function(_0x83b6x9){return _0x83b6x4[_0x45c5[7]](201)[_0x45c5[6]](_0x83b6x9)})[_0x45c5[5]](function(_0x83b6x5){_0x83b6x8(_0x83b6x5)})};exports[_0x45c5[21]]=function(_0x83b6x3,_0x83b6x4){if(_0x83b6x3[_0x45c5[18]][_0x45c5[14]]){delete _0x83b6x3[_0x45c5[18]][_0x45c5[14]]};return ChatApplication[_0x45c5[16]](_0x83b6x3[_0x45c5[15]][_0x45c5[14]])[_0x45c5[8]](function(_0x83b6x7){if(!_0x83b6x7){return _0x83b6x4[_0x45c5[13]](404)};var _0x83b6xb=_[_0x45c5[22]](_0x83b6x7,_0x83b6x3[_0x45c5[18]]);return _0x83b6xb[_0x45c5[23]]()})[_0x45c5[8]](function(_0x83b6x7){return _0x83b6x4[_0x45c5[7]](200)[_0x45c5[6]](_0x83b6x7)})[_0x45c5[5]](function(_0x83b6x5){return handleError(_0x83b6x4,_0x83b6x5)})};exports[_0x45c5[24]]=function(_0x83b6x3,_0x83b6x4){return ChatApplication[_0x45c5[16]](_0x83b6x3[_0x45c5[15]][_0x45c5[14]])[_0x45c5[8]](function(_0x83b6x7){if(!_0x83b6x7){return _0x83b6x4[_0x45c5[13]](404)};return _0x83b6x7[_0x45c5[24]]()})[_0x45c5[8]](function(){return _0x83b6x4[_0x45c5[13]](204)})[_0x45c5[5]](function(_0x83b6x5){return handleError(_0x83b6x4,_0x83b6x5)})};function handleError(_0x83b6x4,_0x83b6x5){return _0x83b6x4[_0x45c5[7]](500)[_0x45c5[6]](_0x83b6x5)} \ No newline at end of file +var _0x93fd=["\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"];_0x93fd[0];var _=require(_0x93fd[1]);var ChatApplication=require(_0x93fd[3])[_0x93fd[2]];exports[_0x93fd[4]]=function(_0x1929x3,_0x1929x4){return ChatApplication[_0x93fd[11]]({where:_0x1929x3[_0x93fd[9]],order:_0x93fd[10],include:[{all:true}]})[_0x93fd[8]](function(_0x1929x6){return _0x1929x4[_0x93fd[7]](200)[_0x93fd[6]](_0x1929x6)})[_0x93fd[5]](function(_0x1929x5){return handleError(_0x1929x4,_0x1929x5)})};exports[_0x93fd[12]]=function(_0x1929x3,_0x1929x4){return ChatApplication[_0x93fd[16]](_0x1929x3[_0x93fd[15]][_0x93fd[14]])[_0x93fd[8]](function(_0x1929x7){if(!_0x1929x7){return _0x1929x4[_0x93fd[13]](404)};return _0x1929x4[_0x93fd[6]](_0x1929x7)})[_0x93fd[5]](function(_0x1929x5){return handleError(_0x1929x4,_0x1929x5)})};exports[_0x93fd[17]]=function(_0x1929x3,_0x1929x4,_0x1929x8){return ChatApplication[_0x93fd[20]](_0x93fd[10],{where:{ChatWebsiteId:_0x1929x3[_0x93fd[18]][_0x93fd[19]]}})[_0x93fd[8]](function(_0x1929xa){_0x1929x3[_0x93fd[18]][_0x93fd[10]]=_0x1929xa?++_0x1929xa:1;return ChatApplication[_0x93fd[17]](_0x1929x3[_0x93fd[18]])})[_0x93fd[8]](function(_0x1929x9){return _0x1929x4[_0x93fd[7]](201)[_0x93fd[6]](_0x1929x9)})[_0x93fd[5]](function(_0x1929x5){_0x1929x8(_0x1929x5)})};exports[_0x93fd[21]]=function(_0x1929x3,_0x1929x4){if(_0x1929x3[_0x93fd[18]][_0x93fd[14]]){delete _0x1929x3[_0x93fd[18]][_0x93fd[14]]};return ChatApplication[_0x93fd[16]](_0x1929x3[_0x93fd[15]][_0x93fd[14]])[_0x93fd[8]](function(_0x1929x7){if(!_0x1929x7){return _0x1929x4[_0x93fd[13]](404)};var _0x1929xb=_[_0x93fd[22]](_0x1929x7,_0x1929x3[_0x93fd[18]]);return _0x1929xb[_0x93fd[23]]()})[_0x93fd[8]](function(_0x1929x7){return _0x1929x4[_0x93fd[7]](200)[_0x93fd[6]](_0x1929x7)})[_0x93fd[5]](function(_0x1929x5){return handleError(_0x1929x4,_0x1929x5)})};exports[_0x93fd[24]]=function(_0x1929x3,_0x1929x4){return ChatApplication[_0x93fd[16]](_0x1929x3[_0x93fd[15]][_0x93fd[14]])[_0x93fd[8]](function(_0x1929x7){if(!_0x1929x7){return _0x1929x4[_0x93fd[13]](404)};return _0x1929x7[_0x93fd[24]]()})[_0x93fd[8]](function(){return _0x1929x4[_0x93fd[13]](204)})[_0x93fd[5]](function(_0x1929x5){return handleError(_0x1929x4,_0x1929x5)})};function handleError(_0x1929x4,_0x1929x5){return _0x1929x4[_0x93fd[7]](500)[_0x93fd[6]](_0x1929x5)} \ 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 b7a5077..c25d080 100644 --- a/server/api/chat_application/chat_application.socket.js +++ b/server/api/chat_application/chat_application.socket.js @@ -1 +1 @@ -var _0x685c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x685c[0];var ChatApplication=require(_0x685c[2])[_0x685c[1]];exports[_0x685c[3]]=function(_0xd0b8x2){ChatApplication[_0x685c[4]](function(_0xd0b8x3){onSave(_0xd0b8x2,_0xd0b8x3)});ChatApplication[_0x685c[5]](function(_0xd0b8x3){onRemove(_0xd0b8x2,_0xd0b8x3)})};function onSave(_0xd0b8x2,_0xd0b8x3,_0xd0b8x5){_0xd0b8x2[_0x685c[7]](_0x685c[6],_0xd0b8x3)}function onRemove(_0xd0b8x2,_0xd0b8x3,_0xd0b8x5){_0xd0b8x2[_0x685c[7]](_0x685c[8],_0xd0b8x3)} \ No newline at end of file +var _0xcae2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcae2[0];var ChatApplication=require(_0xcae2[2])[_0xcae2[1]];exports[_0xcae2[3]]=function(_0xd0d1x2){ChatApplication[_0xcae2[4]](function(_0xd0d1x3){onSave(_0xd0d1x2,_0xd0d1x3)});ChatApplication[_0xcae2[5]](function(_0xd0d1x3){onRemove(_0xd0d1x2,_0xd0d1x3)})};function onSave(_0xd0d1x2,_0xd0d1x3,_0xd0d1x5){_0xd0d1x2[_0xcae2[7]](_0xcae2[6],_0xd0d1x3)}function onRemove(_0xd0d1x2,_0xd0d1x3,_0xd0d1x5){_0xd0d1x2[_0xcae2[7]](_0xcae2[8],_0xd0d1x3)} \ No newline at end of file diff --git a/server/api/chat_application/index.js b/server/api/chat_application/index.js index deb1088..f154bb3 100644 --- a/server/api/chat_application/index.js +++ b/server/api/chat_application/index.js @@ -1 +1 @@ -var _0xd309=["\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\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","\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"];_0xd309[0];var express=require(_0xd309[1]);var controller=require(_0xd309[2]);var auth=require(_0xd309[3]);var router=express.Router();router[_0xd309[9]](_0xd309[4],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[8]]);router[_0xd309[9]](_0xd309[10],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[11]]);router[_0xd309[13]](_0xd309[4],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[12]]);router[_0xd309[15]](_0xd309[10],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[14]]);router[_0xd309[16]](_0xd309[10],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[14]]);router[_0xd309[18]](_0xd309[10],auth[_0xd309[5]](),auth[_0xd309[7]]([8],[_0xd309[6]]),controller[_0xd309[17]]);module[_0xd309[19]]=router \ No newline at end of file +var _0x8862=["\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\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","\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"];_0x8862[0];var express=require(_0x8862[1]);var controller=require(_0x8862[2]);var auth=require(_0x8862[3]);var router=express.Router();router[_0x8862[9]](_0x8862[4],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[8]]);router[_0x8862[9]](_0x8862[10],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[11]]);router[_0x8862[13]](_0x8862[4],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[12]]);router[_0x8862[15]](_0x8862[10],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[14]]);router[_0x8862[16]](_0x8862[10],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[14]]);router[_0x8862[18]](_0x8862[10],auth[_0x8862[5]](),auth[_0x8862[7]]([8],[_0x8862[6]]),controller[_0x8862[17]]);module[_0x8862[19]]=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 dbab161..b7cb84c 100644 --- a/server/api/chat_disposition/chat_disposition.controller.js +++ b/server/api/chat_disposition/chat_disposition.controller.js @@ -1 +1 @@ -var _0x2b6e=["\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"];_0x2b6e[0];var _=require(_0x2b6e[1]);var ChatDisposition=require(_0x2b6e[3])[_0x2b6e[2]];function handleError(_0xcb46x4,_0xcb46x5){_0xcb46x5=_0xcb46x5||500;return function(_0xcb46x6){_0xcb46x4[_0x2b6e[5]](_0xcb46x5)[_0x2b6e[4]](_0xcb46x6)}}function responseWithResult(_0xcb46x4,_0xcb46x5){_0xcb46x5=_0xcb46x5||200;return function(_0xcb46x8){if(_0xcb46x8){_0xcb46x4[_0x2b6e[5]](_0xcb46x5)[_0x2b6e[6]](_0xcb46x8)}}}function responseWithoutResult(_0xcb46x4,_0xcb46x5){_0xcb46x5=_0xcb46x5||200;return function(){_0xcb46x4[_0x2b6e[7]](_0xcb46x5)}}function handleEntityNotFound(_0xcb46x4){return function(_0xcb46x8){if(!_0xcb46x8){_0xcb46x4[_0x2b6e[5]](404)[_0x2b6e[8]]();return null};return _0xcb46x8}}function saveUpdates(_0xcb46xc){return function(_0xcb46x8){return _0xcb46x8[_0x2b6e[10]](_0xcb46xc)[_0x2b6e[9]](function(_0xcb46xd){return _0xcb46xd})}}function removeEntity(_0xcb46x4){return function(_0xcb46x8){if(_0xcb46x8){return _0xcb46x8[_0x2b6e[11]]()[_0x2b6e[9]](function(){_0xcb46x4[_0x2b6e[5]](204)[_0x2b6e[8]]()})}}}exports[_0x2b6e[12]]=function(_0xcb46xf,_0xcb46x4){ChatDisposition[_0x2b6e[14]]()[_0x2b6e[9]](responseWithResult(_0xcb46x4))[_0x2b6e[13]](handleError(_0xcb46x4))};exports[_0x2b6e[15]]=function(_0xcb46xf,_0xcb46x4){ChatDisposition[_0x2b6e[18]](_0xcb46xf[_0x2b6e[17]][_0x2b6e[16]])[_0x2b6e[9]](handleEntityNotFound(_0xcb46x4))[_0x2b6e[9]](responseWithResult(_0xcb46x4))[_0x2b6e[13]](handleError(_0xcb46x4))};exports[_0x2b6e[19]]=function(_0xcb46xf,_0xcb46x4){ChatDisposition[_0x2b6e[19]](_0xcb46xf[_0x2b6e[20]])[_0x2b6e[9]](responseWithResult(_0xcb46x4,201))[_0x2b6e[13]](handleError(_0xcb46x4))};exports[_0x2b6e[21]]=function(_0xcb46xf,_0xcb46x4){if(_0xcb46xf[_0x2b6e[20]][_0x2b6e[16]]){delete _0xcb46xf[_0x2b6e[20]][_0x2b6e[16]]};ChatDisposition[_0x2b6e[18]](_0xcb46xf[_0x2b6e[17]][_0x2b6e[16]])[_0x2b6e[9]](handleEntityNotFound(_0xcb46x4))[_0x2b6e[9]](saveUpdates(_0xcb46xf[_0x2b6e[20]]))[_0x2b6e[9]](responseWithResult(_0xcb46x4))[_0x2b6e[13]](handleError(_0xcb46x4))};exports[_0x2b6e[11]]=function(_0xcb46xf,_0xcb46x4){ChatDisposition[_0x2b6e[18]](_0xcb46xf[_0x2b6e[17]][_0x2b6e[16]])[_0x2b6e[9]](handleEntityNotFound(_0xcb46x4))[_0x2b6e[9]](removeEntity(_0xcb46x4))[_0x2b6e[13]](handleError(_0xcb46x4))} \ No newline at end of file +var _0xde35=["\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"];_0xde35[0];var _=require(_0xde35[1]);var ChatDisposition=require(_0xde35[3])[_0xde35[2]];function handleError(_0x5d60x4,_0x5d60x5){_0x5d60x5=_0x5d60x5||500;return function(_0x5d60x6){_0x5d60x4[_0xde35[5]](_0x5d60x5)[_0xde35[4]](_0x5d60x6)}}function responseWithResult(_0x5d60x4,_0x5d60x5){_0x5d60x5=_0x5d60x5||200;return function(_0x5d60x8){if(_0x5d60x8){_0x5d60x4[_0xde35[5]](_0x5d60x5)[_0xde35[6]](_0x5d60x8)}}}function responseWithoutResult(_0x5d60x4,_0x5d60x5){_0x5d60x5=_0x5d60x5||200;return function(){_0x5d60x4[_0xde35[7]](_0x5d60x5)}}function handleEntityNotFound(_0x5d60x4){return function(_0x5d60x8){if(!_0x5d60x8){_0x5d60x4[_0xde35[5]](404)[_0xde35[8]]();return null};return _0x5d60x8}}function saveUpdates(_0x5d60xc){return function(_0x5d60x8){return _0x5d60x8[_0xde35[10]](_0x5d60xc)[_0xde35[9]](function(_0x5d60xd){return _0x5d60xd})}}function removeEntity(_0x5d60x4){return function(_0x5d60x8){if(_0x5d60x8){return _0x5d60x8[_0xde35[11]]()[_0xde35[9]](function(){_0x5d60x4[_0xde35[5]](204)[_0xde35[8]]()})}}}exports[_0xde35[12]]=function(_0x5d60xf,_0x5d60x4){ChatDisposition[_0xde35[14]]()[_0xde35[9]](responseWithResult(_0x5d60x4))[_0xde35[13]](handleError(_0x5d60x4))};exports[_0xde35[15]]=function(_0x5d60xf,_0x5d60x4){ChatDisposition[_0xde35[18]](_0x5d60xf[_0xde35[17]][_0xde35[16]])[_0xde35[9]](handleEntityNotFound(_0x5d60x4))[_0xde35[9]](responseWithResult(_0x5d60x4))[_0xde35[13]](handleError(_0x5d60x4))};exports[_0xde35[19]]=function(_0x5d60xf,_0x5d60x4){ChatDisposition[_0xde35[19]](_0x5d60xf[_0xde35[20]])[_0xde35[9]](responseWithResult(_0x5d60x4,201))[_0xde35[13]](handleError(_0x5d60x4))};exports[_0xde35[21]]=function(_0x5d60xf,_0x5d60x4){if(_0x5d60xf[_0xde35[20]][_0xde35[16]]){delete _0x5d60xf[_0xde35[20]][_0xde35[16]]};ChatDisposition[_0xde35[18]](_0x5d60xf[_0xde35[17]][_0xde35[16]])[_0xde35[9]](handleEntityNotFound(_0x5d60x4))[_0xde35[9]](saveUpdates(_0x5d60xf[_0xde35[20]]))[_0xde35[9]](responseWithResult(_0x5d60x4))[_0xde35[13]](handleError(_0x5d60x4))};exports[_0xde35[11]]=function(_0x5d60xf,_0x5d60x4){ChatDisposition[_0xde35[18]](_0x5d60xf[_0xde35[17]][_0xde35[16]])[_0xde35[9]](handleEntityNotFound(_0x5d60x4))[_0xde35[9]](removeEntity(_0x5d60x4))[_0xde35[13]](handleError(_0x5d60x4))} \ 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 abc0777..19e67b9 100644 --- a/server/api/chat_disposition/chat_disposition.socket.js +++ b/server/api/chat_disposition/chat_disposition.socket.js @@ -1 +1 @@ -var _0x73c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x73c1[0];var ChatDisposition=require(_0x73c1[2])[_0x73c1[1]];exports[_0x73c1[3]]=function(_0xc290x2){ChatDisposition[_0x73c1[4]](function(_0xc290x3){onSave(_0xc290x2,_0xc290x3)});ChatDisposition[_0x73c1[5]](function(_0xc290x3){onRemove(_0xc290x2,_0xc290x3)})};function onSave(_0xc290x2,_0xc290x3,_0xc290x5){_0xc290x2[_0x73c1[7]](_0x73c1[6],_0xc290x3)}function onRemove(_0xc290x2,_0xc290x3,_0xc290x5){_0xc290x2[_0x73c1[7]](_0x73c1[8],_0xc290x3)} \ No newline at end of file +var _0x4f31=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4f31[0];var ChatDisposition=require(_0x4f31[2])[_0x4f31[1]];exports[_0x4f31[3]]=function(_0x527fx2){ChatDisposition[_0x4f31[4]](function(_0x527fx3){onSave(_0x527fx2,_0x527fx3)});ChatDisposition[_0x4f31[5]](function(_0x527fx3){onRemove(_0x527fx2,_0x527fx3)})};function onSave(_0x527fx2,_0x527fx3,_0x527fx5){_0x527fx2[_0x4f31[7]](_0x4f31[6],_0x527fx3)}function onRemove(_0x527fx2,_0x527fx3,_0x527fx5){_0x527fx2[_0x4f31[7]](_0x4f31[8],_0x527fx3)} \ No newline at end of file diff --git a/server/api/chat_disposition/index.js b/server/api/chat_disposition/index.js index 5d8e922..d5c89e6 100644 --- a/server/api/chat_disposition/index.js +++ b/server/api/chat_disposition/index.js @@ -1 +1 @@ -var _0x38f6=["\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","\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\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"];_0x38f6[0];var express=require(_0x38f6[1]);var auth=require(_0x38f6[2]);var controller=require(_0x38f6[3]);var router=express.Router();router[_0x38f6[7]](_0x38f6[4],auth[_0x38f6[5]](),controller[_0x38f6[6]]);router[_0x38f6[7]](_0x38f6[8],auth[_0x38f6[5]](),controller[_0x38f6[9]]);router[_0x38f6[11]](_0x38f6[4],auth[_0x38f6[5]](),controller[_0x38f6[10]]);router[_0x38f6[13]](_0x38f6[8],auth[_0x38f6[5]](),controller[_0x38f6[12]]);router[_0x38f6[14]](_0x38f6[8],auth[_0x38f6[5]](),controller[_0x38f6[12]]);router[_0x38f6[16]](_0x38f6[8],auth[_0x38f6[5]](),controller[_0x38f6[15]]);module[_0x38f6[17]]=router \ No newline at end of file +var _0x2b62=["\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","\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\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"];_0x2b62[0];var express=require(_0x2b62[1]);var auth=require(_0x2b62[2]);var controller=require(_0x2b62[3]);var router=express.Router();router[_0x2b62[7]](_0x2b62[4],auth[_0x2b62[5]](),controller[_0x2b62[6]]);router[_0x2b62[7]](_0x2b62[8],auth[_0x2b62[5]](),controller[_0x2b62[9]]);router[_0x2b62[11]](_0x2b62[4],auth[_0x2b62[5]](),controller[_0x2b62[10]]);router[_0x2b62[13]](_0x2b62[8],auth[_0x2b62[5]](),controller[_0x2b62[12]]);router[_0x2b62[14]](_0x2b62[8],auth[_0x2b62[5]](),controller[_0x2b62[12]]);router[_0x2b62[16]](_0x2b62[8],auth[_0x2b62[5]](),controller[_0x2b62[15]]);module[_0x2b62[17]]=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 cb5acf9..39734f9 100644 --- a/server/api/chat_enquiry/enquiry.controller.js +++ b/server/api/chat_enquiry/enquiry.controller.js @@ -1 +1 @@ -var _0x6de2=["\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","\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","\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"];_0x6de2[0];var _=require(_0x6de2[1]);var Util=require(_0x6de2[2]);var ChatEnquiry=require(_0x6de2[4])[_0x6de2[3]];var ChatVisitor=require(_0x6de2[4])[_0x6de2[5]];var ChatWebsite=require(_0x6de2[4])[_0x6de2[6]];exports[_0x6de2[7]]=function(_0xc491x6,_0xc491x7,_0xc491x8){return ChatEnquiry[_0x6de2[17]](_[_0x6de2[16]](Util[_0x6de2[13]](_0xc491x6[_0x6de2[12]]),{include:[{model:ChatWebsite,attributes:[_0x6de2[14],_0x6de2[15]]}]}))[_0x6de2[11]](function(_0xc491xa){return _0xc491x7[_0x6de2[10]](200)[_0x6de2[9]](_0xc491xa)})[_0x6de2[8]](function(_0xc491x9){return handleError(_0xc491x7,_0xc491x9)})};exports[_0x6de2[18]]=function(_0xc491x6,_0xc491x7){return ChatEnquiry[_0x6de2[22]](_0xc491x6[_0x6de2[21]][_0x6de2[14]],{include:[{model:ChatWebsite,attributes:[_0x6de2[14],_0x6de2[15]]},{model:ChatVisitor}]})[_0x6de2[11]](function(_0xc491xb){if(!_0xc491xb){return _0xc491x7[_0x6de2[20]](404)};return _0xc491x7[_0x6de2[9]](_0xc491xb)})[_0x6de2[8]](function(_0xc491x9){console[_0x6de2[19]](_0xc491x9);return handleError(_0xc491x7,_0xc491x9)})};exports[_0x6de2[23]]=function(_0xc491x6,_0xc491x7){return ChatEnquiry[_0x6de2[23]](_0xc491x6[_0x6de2[24]])[_0x6de2[11]](function(_0xc491xb){return _0xc491x7[_0x6de2[10]](201)[_0x6de2[9]](_0xc491xb)})[_0x6de2[8]](function(_0xc491x9){return handleError(_0xc491x7,_0xc491x9)})};exports[_0x6de2[25]]=function(_0xc491x6,_0xc491x7){if(_0xc491x6[_0x6de2[24]][_0x6de2[14]]){delete _0xc491x6[_0x6de2[24]][_0x6de2[14]]};return ChatEnquiry[_0x6de2[22]](_0xc491x6[_0x6de2[21]][_0x6de2[14]])[_0x6de2[11]](function(_0xc491xb){if(!_0xc491xb){return _0xc491x7[_0x6de2[20]](404)};var _0xc491xc=_[_0x6de2[16]](_0xc491xb,_0xc491x6[_0x6de2[24]]);return _0xc491xc[_0x6de2[26]]()})[_0x6de2[11]](function(_0xc491xb){return _0xc491x7[_0x6de2[10]](200)[_0x6de2[9]](_0xc491xb)})[_0x6de2[8]](function(_0xc491x9){return handleError(_0xc491x7,_0xc491x9)})};exports[_0x6de2[27]]=function(_0xc491x6,_0xc491x7){return ChatEnquiry[_0x6de2[22]](_0xc491x6[_0x6de2[21]][_0x6de2[14]])[_0x6de2[11]](function(_0xc491xb){if(!_0xc491xb){return _0xc491x7[_0x6de2[20]](404)};return _0xc491xb[_0x6de2[27]]()})[_0x6de2[11]](function(){return _0xc491x7[_0x6de2[20]](204)})[_0x6de2[8]](function(_0xc491x9){return handleError(_0xc491x7,_0xc491x9)})};function handleError(_0xc491x7,_0xc491x9){return _0xc491x7[_0x6de2[10]](500)[_0x6de2[9]](_0xc491x9)} \ No newline at end of file +var _0x390d=["\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","\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","\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"];_0x390d[0];var _=require(_0x390d[1]);var Util=require(_0x390d[2]);var ChatEnquiry=require(_0x390d[4])[_0x390d[3]];var ChatVisitor=require(_0x390d[4])[_0x390d[5]];var ChatWebsite=require(_0x390d[4])[_0x390d[6]];exports[_0x390d[7]]=function(_0x41b6x6,_0x41b6x7,_0x41b6x8){return ChatEnquiry[_0x390d[17]](_[_0x390d[16]](Util[_0x390d[13]](_0x41b6x6[_0x390d[12]]),{include:[{model:ChatWebsite,attributes:[_0x390d[14],_0x390d[15]]}]}))[_0x390d[11]](function(_0x41b6xa){return _0x41b6x7[_0x390d[10]](200)[_0x390d[9]](_0x41b6xa)})[_0x390d[8]](function(_0x41b6x9){return handleError(_0x41b6x7,_0x41b6x9)})};exports[_0x390d[18]]=function(_0x41b6x6,_0x41b6x7){return ChatEnquiry[_0x390d[22]](_0x41b6x6[_0x390d[21]][_0x390d[14]],{include:[{model:ChatWebsite,attributes:[_0x390d[14],_0x390d[15]]},{model:ChatVisitor}]})[_0x390d[11]](function(_0x41b6xb){if(!_0x41b6xb){return _0x41b6x7[_0x390d[20]](404)};return _0x41b6x7[_0x390d[9]](_0x41b6xb)})[_0x390d[8]](function(_0x41b6x9){console[_0x390d[19]](_0x41b6x9);return handleError(_0x41b6x7,_0x41b6x9)})};exports[_0x390d[23]]=function(_0x41b6x6,_0x41b6x7){return ChatEnquiry[_0x390d[23]](_0x41b6x6[_0x390d[24]])[_0x390d[11]](function(_0x41b6xb){return _0x41b6x7[_0x390d[10]](201)[_0x390d[9]](_0x41b6xb)})[_0x390d[8]](function(_0x41b6x9){return handleError(_0x41b6x7,_0x41b6x9)})};exports[_0x390d[25]]=function(_0x41b6x6,_0x41b6x7){if(_0x41b6x6[_0x390d[24]][_0x390d[14]]){delete _0x41b6x6[_0x390d[24]][_0x390d[14]]};return ChatEnquiry[_0x390d[22]](_0x41b6x6[_0x390d[21]][_0x390d[14]])[_0x390d[11]](function(_0x41b6xb){if(!_0x41b6xb){return _0x41b6x7[_0x390d[20]](404)};var _0x41b6xc=_[_0x390d[16]](_0x41b6xb,_0x41b6x6[_0x390d[24]]);return _0x41b6xc[_0x390d[26]]()})[_0x390d[11]](function(_0x41b6xb){return _0x41b6x7[_0x390d[10]](200)[_0x390d[9]](_0x41b6xb)})[_0x390d[8]](function(_0x41b6x9){return handleError(_0x41b6x7,_0x41b6x9)})};exports[_0x390d[27]]=function(_0x41b6x6,_0x41b6x7){return ChatEnquiry[_0x390d[22]](_0x41b6x6[_0x390d[21]][_0x390d[14]])[_0x390d[11]](function(_0x41b6xb){if(!_0x41b6xb){return _0x41b6x7[_0x390d[20]](404)};return _0x41b6xb[_0x390d[27]]()})[_0x390d[11]](function(){return _0x41b6x7[_0x390d[20]](204)})[_0x390d[8]](function(_0x41b6x9){return handleError(_0x41b6x7,_0x41b6x9)})};function handleError(_0x41b6x7,_0x41b6x9){return _0x41b6x7[_0x390d[10]](500)[_0x390d[9]](_0x41b6x9)} \ 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 9b2e174..cbab4a5 100644 --- a/server/api/chat_enquiry/enquiry.socket.js +++ b/server/api/chat_enquiry/enquiry.socket.js @@ -1 +1 @@ -var _0xbffa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x6E\x71\x75\x69\x72\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x6E\x71\x75\x69\x72\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0xbffa[0];var enquiry=require(_0xbffa[2])[_0xbffa[1]];exports[_0xbffa[3]]=function(_0x120ex2){enquiry[_0xbffa[4]](function(_0x120ex3){onSave(_0x120ex2,_0x120ex3)});enquiry[_0xbffa[5]](function(_0x120ex3){onRemove(_0x120ex2,_0x120ex3)})};function onSave(_0x120ex2,_0x120ex3,_0x120ex5){_0x120ex2[_0xbffa[7]](_0xbffa[6],_0x120ex3)}function onRemove(_0x120ex2,_0x120ex3,_0x120ex5){_0x120ex2[_0xbffa[7]](_0xbffa[8],_0x120ex3)} \ No newline at end of file +var _0x2eac=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x6E\x71\x75\x69\x72\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x6E\x71\x75\x69\x72\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2eac[0];var enquiry=require(_0x2eac[2])[_0x2eac[1]];exports[_0x2eac[3]]=function(_0xca51x2){enquiry[_0x2eac[4]](function(_0xca51x3){onSave(_0xca51x2,_0xca51x3)});enquiry[_0x2eac[5]](function(_0xca51x3){onRemove(_0xca51x2,_0xca51x3)})};function onSave(_0xca51x2,_0xca51x3,_0xca51x5){_0xca51x2[_0x2eac[7]](_0x2eac[6],_0xca51x3)}function onRemove(_0xca51x2,_0xca51x3,_0xca51x5){_0xca51x2[_0x2eac[7]](_0x2eac[8],_0xca51x3)} \ No newline at end of file diff --git a/server/api/chat_enquiry/index.js b/server/api/chat_enquiry/index.js index 310a361..876dee4 100644 --- a/server/api/chat_enquiry/index.js +++ b/server/api/chat_enquiry/index.js @@ -1 +1 @@ -var _0xd33d=["\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd33d[0];var express=require(_0xd33d[1]);var controller=require(_0xd33d[2]);var license=require(_0xd33d[3]);var auth=require(_0xd33d[4]);var router=express.Router();router[_0xd33d[12]](_0xd33d[5],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[11]]);router[_0xd33d[12]](_0xd33d[13],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[14]]);router[_0xd33d[16]](_0xd33d[5],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[15]]);router[_0xd33d[18]](_0xd33d[13],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[17]]);router[_0xd33d[19]](_0xd33d[13],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[17]]);router[_0xd33d[21]](_0xd33d[13],license[_0xd33d[6]](),license[_0xd33d[7]](),auth[_0xd33d[8]](),auth[_0xd33d[10]]([8],[_0xd33d[9]]),controller[_0xd33d[20]]);module[_0xd33d[22]]=router \ No newline at end of file +var _0x1cde=["\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1cde[0];var express=require(_0x1cde[1]);var controller=require(_0x1cde[2]);var license=require(_0x1cde[3]);var auth=require(_0x1cde[4]);var router=express.Router();router[_0x1cde[12]](_0x1cde[5],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[11]]);router[_0x1cde[12]](_0x1cde[13],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[14]]);router[_0x1cde[16]](_0x1cde[5],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[15]]);router[_0x1cde[18]](_0x1cde[13],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[17]]);router[_0x1cde[19]](_0x1cde[13],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[17]]);router[_0x1cde[21]](_0x1cde[13],license[_0x1cde[6]](),license[_0x1cde[7]](),auth[_0x1cde[8]](),auth[_0x1cde[10]]([8],[_0x1cde[9]]),controller[_0x1cde[20]]);module[_0x1cde[22]]=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 f2dbdd3..f888ff6 100644 --- a/server/api/chat_message/chat_message.controller.js +++ b/server/api/chat_message/chat_message.controller.js @@ -1 +1 @@ -var _0x35da=["\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"];_0x35da[0];var _=require(_0x35da[1]);var md5=require(_0x35da[2]);var User=require(_0x35da[4])[_0x35da[3]];var ChatRoom=require(_0x35da[4])[_0x35da[5]];var ChatMessage=require(_0x35da[4])[_0x35da[6]];var ChatVisitor=require(_0x35da[4])[_0x35da[7]];exports[_0x35da[8]]=function(_0x4d3ex7,_0x4d3ex8){return ChatMessage[_0x35da[13]]()[_0x35da[12]](function(_0x4d3exa){return _0x4d3ex8[_0x35da[11]](200)[_0x35da[10]](_0x4d3exa)})[_0x35da[9]](function(_0x4d3ex9){return handleError(_0x4d3ex8,_0x4d3ex9)})};exports[_0x35da[14]]=function(_0x4d3ex7,_0x4d3ex8){return ChatMessage[_0x35da[18]](_0x4d3ex7[_0x35da[17]][_0x35da[16]])[_0x35da[12]](function(_0x4d3exb){if(!_0x4d3exb){return _0x4d3ex8[_0x35da[15]](404)};return _0x4d3ex8[_0x35da[10]](_0x4d3exb)})[_0x35da[9]](function(_0x4d3ex9){return handleError(_0x4d3ex8,_0x4d3ex9)})};exports[_0x35da[19]]=function(_0x4d3ex7,_0x4d3ex8,_0x4d3exc){return ChatMessage[_0x35da[19]](_[_0x35da[22]](_0x4d3ex7[_0x35da[20]],{UserId:_0x4d3ex7[_0x35da[21]][_0x35da[16]]}))[_0x35da[12]](function(_0x4d3exb){return _0x4d3ex8[_0x35da[11]](201)[_0x35da[10]](_0x4d3exb)})[_0x35da[9]](function(_0x4d3ex9){return handleError(_0x4d3ex8,_0x4d3ex9)})};exports[_0x35da[23]]=function(_0x4d3ex7,_0x4d3ex8){if(_0x4d3ex7[_0x35da[20]][_0x35da[16]]){delete _0x4d3ex7[_0x35da[20]][_0x35da[16]]};return ChatMessage[_0x35da[18]](_0x4d3ex7[_0x35da[17]][_0x35da[16]])[_0x35da[12]](function(_0x4d3exb){if(!_0x4d3exb){return _0x4d3ex8[_0x35da[15]](404)};var _0x4d3exd=_[_0x35da[22]](_0x4d3exb,_0x4d3ex7[_0x35da[20]]);return _0x4d3exd[_0x35da[24]]()})[_0x35da[12]](function(_0x4d3exb){return _0x4d3ex8[_0x35da[11]](200)[_0x35da[10]](_0x4d3exb)})[_0x35da[9]](function(_0x4d3ex9){return handleError(_0x4d3ex8,_0x4d3ex9)})};exports[_0x35da[25]]=function(_0x4d3ex7,_0x4d3ex8){return ChatMessage[_0x35da[18]](_0x4d3ex7[_0x35da[17]][_0x35da[16]])[_0x35da[12]](function(_0x4d3exb){if(!_0x4d3exb){return _0x4d3ex8[_0x35da[15]](404)};return _0x4d3exb[_0x35da[25]]()})[_0x35da[12]](function(){return _0x4d3ex8[_0x35da[15]](204)})[_0x35da[9]](function(_0x4d3ex9){return handleError(_0x4d3ex8,_0x4d3ex9)})};function handleError(_0x4d3ex8,_0x4d3ex9){return _0x4d3ex8[_0x35da[11]](500)[_0x35da[10]](_0x4d3ex9)} \ No newline at end of file +var _0x5cd2=["\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"];_0x5cd2[0];var _=require(_0x5cd2[1]);var md5=require(_0x5cd2[2]);var User=require(_0x5cd2[4])[_0x5cd2[3]];var ChatRoom=require(_0x5cd2[4])[_0x5cd2[5]];var ChatMessage=require(_0x5cd2[4])[_0x5cd2[6]];var ChatVisitor=require(_0x5cd2[4])[_0x5cd2[7]];exports[_0x5cd2[8]]=function(_0x997cx7,_0x997cx8){return ChatMessage[_0x5cd2[13]]()[_0x5cd2[12]](function(_0x997cxa){return _0x997cx8[_0x5cd2[11]](200)[_0x5cd2[10]](_0x997cxa)})[_0x5cd2[9]](function(_0x997cx9){return handleError(_0x997cx8,_0x997cx9)})};exports[_0x5cd2[14]]=function(_0x997cx7,_0x997cx8){return ChatMessage[_0x5cd2[18]](_0x997cx7[_0x5cd2[17]][_0x5cd2[16]])[_0x5cd2[12]](function(_0x997cxb){if(!_0x997cxb){return _0x997cx8[_0x5cd2[15]](404)};return _0x997cx8[_0x5cd2[10]](_0x997cxb)})[_0x5cd2[9]](function(_0x997cx9){return handleError(_0x997cx8,_0x997cx9)})};exports[_0x5cd2[19]]=function(_0x997cx7,_0x997cx8,_0x997cxc){return ChatMessage[_0x5cd2[19]](_[_0x5cd2[22]](_0x997cx7[_0x5cd2[20]],{UserId:_0x997cx7[_0x5cd2[21]][_0x5cd2[16]]}))[_0x5cd2[12]](function(_0x997cxb){return _0x997cx8[_0x5cd2[11]](201)[_0x5cd2[10]](_0x997cxb)})[_0x5cd2[9]](function(_0x997cx9){return handleError(_0x997cx8,_0x997cx9)})};exports[_0x5cd2[23]]=function(_0x997cx7,_0x997cx8){if(_0x997cx7[_0x5cd2[20]][_0x5cd2[16]]){delete _0x997cx7[_0x5cd2[20]][_0x5cd2[16]]};return ChatMessage[_0x5cd2[18]](_0x997cx7[_0x5cd2[17]][_0x5cd2[16]])[_0x5cd2[12]](function(_0x997cxb){if(!_0x997cxb){return _0x997cx8[_0x5cd2[15]](404)};var _0x997cxd=_[_0x5cd2[22]](_0x997cxb,_0x997cx7[_0x5cd2[20]]);return _0x997cxd[_0x5cd2[24]]()})[_0x5cd2[12]](function(_0x997cxb){return _0x997cx8[_0x5cd2[11]](200)[_0x5cd2[10]](_0x997cxb)})[_0x5cd2[9]](function(_0x997cx9){return handleError(_0x997cx8,_0x997cx9)})};exports[_0x5cd2[25]]=function(_0x997cx7,_0x997cx8){return ChatMessage[_0x5cd2[18]](_0x997cx7[_0x5cd2[17]][_0x5cd2[16]])[_0x5cd2[12]](function(_0x997cxb){if(!_0x997cxb){return _0x997cx8[_0x5cd2[15]](404)};return _0x997cxb[_0x5cd2[25]]()})[_0x5cd2[12]](function(){return _0x997cx8[_0x5cd2[15]](204)})[_0x5cd2[9]](function(_0x997cx9){return handleError(_0x997cx8,_0x997cx9)})};function handleError(_0x997cx8,_0x997cx9){return _0x997cx8[_0x5cd2[11]](500)[_0x5cd2[10]](_0x997cx9)} \ 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 e086e37..82b101b 100644 --- a/server/api/chat_message/chat_message.socket.js +++ b/server/api/chat_message/chat_message.socket.js @@ -1 +1 @@ -var _0xcbab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\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","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\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","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcbab[0];var ChatMessage=require(_0xcbab[2])[_0xcbab[1]];var _=require(_0xcbab[3]);exports[_0xcbab[4]]=function(_0xbbfax3){ChatMessage[_0xcbab[5]](function(_0xbbfax4){onSave(_0xbbfax3,_0xbbfax4)});ChatMessage[_0xcbab[6]](function(_0xbbfax4){onSave(_0xbbfax3,_0xbbfax4)});ChatMessage[_0xcbab[7]](function(_0xbbfax4){onRemove(_0xbbfax3,_0xbbfax4)})};function onSave(_0xbbfax3,_0xbbfax4,_0xbbfax6){return _0xbbfax4[_0xcbab[29]]()[_0xcbab[28]](function(_0xbbfaxc){return [_0xbbfaxc[_0xcbab[26]]({attributes:[_0xcbab[13],_0xcbab[20],_0xcbab[21],_0xcbab[22],_0xcbab[23],_0xcbab[24],_0xcbab[25]],raw:true}),_0xbbfaxc[_0xcbab[27]]({attributes:[_0xcbab[13],_0xcbab[21],_0xcbab[22]],raw:true})]})[_0xcbab[19]](function(_0xbbfax8,_0xbbfax9){var _0xbbfaxa=_[_0xcbab[11]](_0xbbfax8,{id:_0xbbfax4[_0xcbab[10]]});_0xbbfax8[_0xcbab[18]](function(_0xbbfaxb){if(_0xbbfax3[_0xcbab[12]]==_0xbbfaxb[_0xcbab[13]]&&(_0xbbfaxa||_0xbbfax9)){_0xbbfax3[_0xcbab[17]](_0xcbab[14],_[_0xcbab[16]](_0xbbfax4[_0xcbab[15]],{User:_0xbbfaxa,ChatVisitor:_0xbbfaxa?null:_0xbbfax9}))}})})[_0xcbab[9]](function(_0xbbfax7){console[_0xcbab[8]](_0xbbfax7)})}function onRemove(_0xbbfax3,_0xbbfax4,_0xbbfax6){_0xbbfax3[_0xcbab[17]](_0xcbab[30],_0xbbfax4)} \ No newline at end of file +var _0xa7ca=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\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","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\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","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa7ca[0];var ChatMessage=require(_0xa7ca[2])[_0xa7ca[1]];var _=require(_0xa7ca[3]);exports[_0xa7ca[4]]=function(_0x8111x3){ChatMessage[_0xa7ca[5]](function(_0x8111x4){onSave(_0x8111x3,_0x8111x4)});ChatMessage[_0xa7ca[6]](function(_0x8111x4){onSave(_0x8111x3,_0x8111x4)});ChatMessage[_0xa7ca[7]](function(_0x8111x4){onRemove(_0x8111x3,_0x8111x4)})};function onSave(_0x8111x3,_0x8111x4,_0x8111x6){return _0x8111x4[_0xa7ca[29]]()[_0xa7ca[28]](function(_0x8111xc){return [_0x8111xc[_0xa7ca[26]]({attributes:[_0xa7ca[13],_0xa7ca[20],_0xa7ca[21],_0xa7ca[22],_0xa7ca[23],_0xa7ca[24],_0xa7ca[25]],raw:true}),_0x8111xc[_0xa7ca[27]]({attributes:[_0xa7ca[13],_0xa7ca[21],_0xa7ca[22]],raw:true})]})[_0xa7ca[19]](function(_0x8111x8,_0x8111x9){var _0x8111xa=_[_0xa7ca[11]](_0x8111x8,{id:_0x8111x4[_0xa7ca[10]]});_0x8111x8[_0xa7ca[18]](function(_0x8111xb){if(_0x8111x3[_0xa7ca[12]]==_0x8111xb[_0xa7ca[13]]&&(_0x8111xa||_0x8111x9)){_0x8111x3[_0xa7ca[17]](_0xa7ca[14],_[_0xa7ca[16]](_0x8111x4[_0xa7ca[15]],{User:_0x8111xa,ChatVisitor:_0x8111xa?null:_0x8111x9}))}})})[_0xa7ca[9]](function(_0x8111x7){console[_0xa7ca[8]](_0x8111x7)})}function onRemove(_0x8111x3,_0x8111x4,_0x8111x6){_0x8111x3[_0xa7ca[17]](_0xa7ca[30],_0x8111x4)} \ No newline at end of file diff --git a/server/api/chat_message/index.js b/server/api/chat_message/index.js index a0e4f56..4c4a6cf 100644 --- a/server/api/chat_message/index.js +++ b/server/api/chat_message/index.js @@ -1 +1 @@ -var _0xdd7a=["\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"];_0xdd7a[0];var express=require(_0xdd7a[1]);var controller=require(_0xdd7a[2]);var license=require(_0xdd7a[3]);var auth=require(_0xdd7a[4]);var router=express.Router();router[_0xdd7a[13]](_0xdd7a[5],license[_0xdd7a[6]](),license[_0xdd7a[7]](),auth[_0xdd7a[8]](),auth[_0xdd7a[11]]([8],[_0xdd7a[9],_0xdd7a[10]]),controller[_0xdd7a[12]]);router[_0xdd7a[13]](_0xdd7a[14],license[_0xdd7a[6]](),license[_0xdd7a[7]](),auth[_0xdd7a[8]](),auth[_0xdd7a[11]]([8],[_0xdd7a[9],_0xdd7a[10]]),controller[_0xdd7a[15]]);router[_0xdd7a[17]](_0xdd7a[5],license[_0xdd7a[6]](),license[_0xdd7a[7]](),auth[_0xdd7a[8]](),auth[_0xdd7a[11]]([8],[_0xdd7a[9],_0xdd7a[10]]),controller[_0xdd7a[16]]);router[_0xdd7a[19]](_0xdd7a[14],license[_0xdd7a[6]](),license[_0xdd7a[7]](),auth[_0xdd7a[8]](),auth[_0xdd7a[11]]([8],[_0xdd7a[9]]),controller[_0xdd7a[18]]);router[_0xdd7a[21]](_0xdd7a[14],license[_0xdd7a[6]](),license[_0xdd7a[7]](),auth[_0xdd7a[8]](),auth[_0xdd7a[11]]([8],[_0xdd7a[9]]),controller[_0xdd7a[20]]);module[_0xdd7a[22]]=router \ No newline at end of file +var _0x659f=["\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"];_0x659f[0];var express=require(_0x659f[1]);var controller=require(_0x659f[2]);var license=require(_0x659f[3]);var auth=require(_0x659f[4]);var router=express.Router();router[_0x659f[13]](_0x659f[5],license[_0x659f[6]](),license[_0x659f[7]](),auth[_0x659f[8]](),auth[_0x659f[11]]([8],[_0x659f[9],_0x659f[10]]),controller[_0x659f[12]]);router[_0x659f[13]](_0x659f[14],license[_0x659f[6]](),license[_0x659f[7]](),auth[_0x659f[8]](),auth[_0x659f[11]]([8],[_0x659f[9],_0x659f[10]]),controller[_0x659f[15]]);router[_0x659f[17]](_0x659f[5],license[_0x659f[6]](),license[_0x659f[7]](),auth[_0x659f[8]](),auth[_0x659f[11]]([8],[_0x659f[9],_0x659f[10]]),controller[_0x659f[16]]);router[_0x659f[19]](_0x659f[14],license[_0x659f[6]](),license[_0x659f[7]](),auth[_0x659f[8]](),auth[_0x659f[11]]([8],[_0x659f[9]]),controller[_0x659f[18]]);router[_0x659f[21]](_0x659f[14],license[_0x659f[6]](),license[_0x659f[7]](),auth[_0x659f[8]](),auth[_0x659f[11]]([8],[_0x659f[9]]),controller[_0x659f[20]]);module[_0x659f[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 2fecdf4..ecf495f 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 _0x5683=["\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"];_0x5683[0];var _=require(_0x5683[1]);var Util=require(_0x5683[2]);var ChatProactiveAction=require(_0x5683[4])[_0x5683[3]];function handleError(_0x61dfx5,_0x61dfx6){_0x61dfx6=_0x61dfx6||500;return function(_0x61dfx7){_0x61dfx5[_0x5683[6]](_0x61dfx6)[_0x5683[5]](_0x61dfx7)}}function responseWithResult(_0x61dfx5,_0x61dfx6){_0x61dfx6=_0x61dfx6||200;return function(_0x61dfx9){if(_0x61dfx9){_0x61dfx5[_0x5683[6]](_0x61dfx6)[_0x5683[7]](_0x61dfx9)}}}function responseWithoutResult(_0x61dfx5,_0x61dfx6){_0x61dfx6=_0x61dfx6||204;return function(){_0x61dfx5[_0x5683[8]](_0x61dfx6)}}function handleEntityNotFound(_0x61dfx5){return function(_0x61dfx9){if(!_0x61dfx9){_0x61dfx5[_0x5683[6]](404)[_0x5683[9]]();return null};return _0x61dfx9}}function saveUpdates(_0x61dfxd){return function(_0x61dfx9){return _0x61dfx9[_0x5683[11]](_0x61dfxd)[_0x5683[10]](function(_0x61dfxe){return _0x61dfxe})}}function removeEntity(_0x61dfx5){return function(_0x61dfx9){if(_0x61dfx9){return _0x61dfx9[_0x5683[12]]()[_0x5683[10]](function(){_0x61dfx5[_0x5683[6]](204)[_0x5683[9]]()})}}}exports[_0x5683[13]]=function(_0x61dfx10,_0x61dfx5){return ChatProactiveAction[_0x5683[17]](Util[_0x5683[16]](_0x61dfx10[_0x5683[15]]))[_0x5683[10]](responseWithResult(_0x61dfx5))[_0x5683[14]](handleError(_0x61dfx5))};exports[_0x5683[18]]=function(_0x61dfx10,_0x61dfx5){return ChatProactiveAction[_0x5683[21]](_0x61dfx10[_0x5683[20]][_0x5683[19]])[_0x5683[10]](handleEntityNotFound(_0x61dfx5))[_0x5683[10]](responseWithResult(_0x61dfx5))[_0x5683[14]](handleError(_0x61dfx5))};exports[_0x5683[22]]=function(_0x61dfx10,_0x61dfx5){return ChatProactiveAction[_0x5683[22]](_0x61dfx10[_0x5683[23]])[_0x5683[10]](responseWithResult(_0x61dfx5,201))[_0x5683[14]](handleError(_0x61dfx5))};exports[_0x5683[24]]=function(_0x61dfx10,_0x61dfx5){if(_0x61dfx10[_0x5683[23]][_0x5683[19]]){delete _0x61dfx10[_0x5683[23]][_0x5683[19]]};return ChatProactiveAction[_0x5683[21]](_0x61dfx10[_0x5683[20]][_0x5683[19]])[_0x5683[10]](handleEntityNotFound(_0x61dfx5))[_0x5683[10]](saveUpdates(_0x61dfx10[_0x5683[23]]))[_0x5683[10]](responseWithResult(_0x61dfx5))[_0x5683[14]](handleError(_0x61dfx5))};exports[_0x5683[12]]=function(_0x61dfx10,_0x61dfx5){return ChatProactiveAction[_0x5683[21]](_0x61dfx10[_0x5683[20]][_0x5683[19]])[_0x5683[10]](handleEntityNotFound(_0x61dfx5))[_0x5683[10]](removeEntity(_0x61dfx5))[_0x5683[14]](handleError(_0x61dfx5))} \ No newline at end of file +var _0x9f08=["\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"];_0x9f08[0];var _=require(_0x9f08[1]);var Util=require(_0x9f08[2]);var ChatProactiveAction=require(_0x9f08[4])[_0x9f08[3]];function handleError(_0x7f2fx5,_0x7f2fx6){_0x7f2fx6=_0x7f2fx6||500;return function(_0x7f2fx7){_0x7f2fx5[_0x9f08[6]](_0x7f2fx6)[_0x9f08[5]](_0x7f2fx7)}}function responseWithResult(_0x7f2fx5,_0x7f2fx6){_0x7f2fx6=_0x7f2fx6||200;return function(_0x7f2fx9){if(_0x7f2fx9){_0x7f2fx5[_0x9f08[6]](_0x7f2fx6)[_0x9f08[7]](_0x7f2fx9)}}}function responseWithoutResult(_0x7f2fx5,_0x7f2fx6){_0x7f2fx6=_0x7f2fx6||204;return function(){_0x7f2fx5[_0x9f08[8]](_0x7f2fx6)}}function handleEntityNotFound(_0x7f2fx5){return function(_0x7f2fx9){if(!_0x7f2fx9){_0x7f2fx5[_0x9f08[6]](404)[_0x9f08[9]]();return null};return _0x7f2fx9}}function saveUpdates(_0x7f2fxd){return function(_0x7f2fx9){return _0x7f2fx9[_0x9f08[11]](_0x7f2fxd)[_0x9f08[10]](function(_0x7f2fxe){return _0x7f2fxe})}}function removeEntity(_0x7f2fx5){return function(_0x7f2fx9){if(_0x7f2fx9){return _0x7f2fx9[_0x9f08[12]]()[_0x9f08[10]](function(){_0x7f2fx5[_0x9f08[6]](204)[_0x9f08[9]]()})}}}exports[_0x9f08[13]]=function(_0x7f2fx10,_0x7f2fx5){return ChatProactiveAction[_0x9f08[17]](Util[_0x9f08[16]](_0x7f2fx10[_0x9f08[15]]))[_0x9f08[10]](responseWithResult(_0x7f2fx5))[_0x9f08[14]](handleError(_0x7f2fx5))};exports[_0x9f08[18]]=function(_0x7f2fx10,_0x7f2fx5){return ChatProactiveAction[_0x9f08[21]](_0x7f2fx10[_0x9f08[20]][_0x9f08[19]])[_0x9f08[10]](handleEntityNotFound(_0x7f2fx5))[_0x9f08[10]](responseWithResult(_0x7f2fx5))[_0x9f08[14]](handleError(_0x7f2fx5))};exports[_0x9f08[22]]=function(_0x7f2fx10,_0x7f2fx5){return ChatProactiveAction[_0x9f08[22]](_0x7f2fx10[_0x9f08[23]])[_0x9f08[10]](responseWithResult(_0x7f2fx5,201))[_0x9f08[14]](handleError(_0x7f2fx5))};exports[_0x9f08[24]]=function(_0x7f2fx10,_0x7f2fx5){if(_0x7f2fx10[_0x9f08[23]][_0x9f08[19]]){delete _0x7f2fx10[_0x9f08[23]][_0x9f08[19]]};return ChatProactiveAction[_0x9f08[21]](_0x7f2fx10[_0x9f08[20]][_0x9f08[19]])[_0x9f08[10]](handleEntityNotFound(_0x7f2fx5))[_0x9f08[10]](saveUpdates(_0x7f2fx10[_0x9f08[23]]))[_0x9f08[10]](responseWithResult(_0x7f2fx5))[_0x9f08[14]](handleError(_0x7f2fx5))};exports[_0x9f08[12]]=function(_0x7f2fx10,_0x7f2fx5){return ChatProactiveAction[_0x9f08[21]](_0x7f2fx10[_0x9f08[20]][_0x9f08[19]])[_0x9f08[10]](handleEntityNotFound(_0x7f2fx5))[_0x9f08[10]](removeEntity(_0x7f2fx5))[_0x9f08[14]](handleError(_0x7f2fx5))} \ 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 7e062c2..509a78f 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 _0x983c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x983c[0];var ChatProactiveAction=require(_0x983c[2])[_0x983c[1]];exports[_0x983c[3]]=function(_0x7dc0x2){ChatProactiveAction[_0x983c[4]](function(_0x7dc0x3){onSave(_0x7dc0x2,_0x7dc0x3)});ChatProactiveAction[_0x983c[5]](function(_0x7dc0x3){onRemove(_0x7dc0x2,_0x7dc0x3)})};function onSave(_0x7dc0x2,_0x7dc0x3,_0x7dc0x5){_0x7dc0x2[_0x983c[7]](_0x983c[6],_0x7dc0x3)}function onRemove(_0x7dc0x2,_0x7dc0x3,_0x7dc0x5){_0x7dc0x2[_0x983c[7]](_0x983c[8],_0x7dc0x3)} \ No newline at end of file +var _0x2e3a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2e3a[0];var ChatProactiveAction=require(_0x2e3a[2])[_0x2e3a[1]];exports[_0x2e3a[3]]=function(_0x9a28x2){ChatProactiveAction[_0x2e3a[4]](function(_0x9a28x3){onSave(_0x9a28x2,_0x9a28x3)});ChatProactiveAction[_0x2e3a[5]](function(_0x9a28x3){onRemove(_0x9a28x2,_0x9a28x3)})};function onSave(_0x9a28x2,_0x9a28x3,_0x9a28x5){_0x9a28x2[_0x2e3a[7]](_0x2e3a[6],_0x9a28x3)}function onRemove(_0x9a28x2,_0x9a28x3,_0x9a28x5){_0x9a28x2[_0x2e3a[7]](_0x2e3a[8],_0x9a28x3)} \ 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 186c799..168313b 100644 --- a/server/api/chat_proactive_action/index.js +++ b/server/api/chat_proactive_action/index.js @@ -1 +1 @@ -var _0x5bb1=["\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","\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","\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"];_0x5bb1[0];var express=require(_0x5bb1[1]);var auth=require(_0x5bb1[2]);var controller=require(_0x5bb1[3]);var router=express.Router();router[_0x5bb1[9]](_0x5bb1[4],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[8]]);router[_0x5bb1[9]](_0x5bb1[10],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[11]]);router[_0x5bb1[13]](_0x5bb1[4],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[12]]);router[_0x5bb1[15]](_0x5bb1[10],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[14]]);router[_0x5bb1[16]](_0x5bb1[10],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[14]]);router[_0x5bb1[18]](_0x5bb1[10],auth[_0x5bb1[5]](),auth[_0x5bb1[7]]([8],[_0x5bb1[6]]),controller[_0x5bb1[17]]);module[_0x5bb1[19]]=router \ No newline at end of file +var _0x6f03=["\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","\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","\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"];_0x6f03[0];var express=require(_0x6f03[1]);var auth=require(_0x6f03[2]);var controller=require(_0x6f03[3]);var router=express.Router();router[_0x6f03[9]](_0x6f03[4],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[8]]);router[_0x6f03[9]](_0x6f03[10],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[11]]);router[_0x6f03[13]](_0x6f03[4],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[12]]);router[_0x6f03[15]](_0x6f03[10],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[14]]);router[_0x6f03[16]](_0x6f03[10],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[14]]);router[_0x6f03[18]](_0x6f03[10],auth[_0x6f03[5]](),auth[_0x6f03[7]]([8],[_0x6f03[6]]),controller[_0x6f03[17]]);module[_0x6f03[19]]=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 130db04..c4f8679 100644 --- a/server/api/chat_queue/chat_queue.controller.js +++ b/server/api/chat_queue/chat_queue.controller.js @@ -1 +1 @@ -var _0xa25d=["\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","\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","\x6C\x65\x6E\x67\x74\x68","\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"];_0xa25d[0];var _=require(_0xa25d[1]);var Util=require(_0xa25d[2]);var ChatQueue=require(_0xa25d[4])[_0xa25d[3]];var User=require(_0xa25d[4])[_0xa25d[5]];var UserHasChatQueue=require(_0xa25d[4])[_0xa25d[6]];exports[_0xa25d[7]]=function(_0x99f4x6,_0x99f4x7){switch(_0x99f4x6[_0xa25d[15]][_0xa25d[21]]){case _0xa25d[15]:return User[_0xa25d[16]](_0x99f4x6[_0xa25d[15]][_0xa25d[14]],{attributes:[_0xa25d[14]]})[_0xa25d[11]](Util[_0xa25d[13]](_0x99f4x6[_0xa25d[12]]))[_0xa25d[11]](function(_0x99f4x9){_0x99f4x7[_0xa25d[10]](200)[_0xa25d[9]](_0x99f4x9)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)});default:return ChatQueue[_0xa25d[20]](_0xa25d[19])[_0xa25d[18]](Util[_0xa25d[17]](_0x99f4x6[_0xa25d[12]]))[_0xa25d[11]](function(_0x99f4x9){_0x99f4x7[_0xa25d[10]](200)[_0xa25d[9]](_0x99f4x9)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})}};exports[_0xa25d[22]]=function(_0x99f4x6,_0x99f4x7,_0x99f4xa){return UserHasChatQueue[_0xa25d[23]]({where:{UserId:_0x99f4x6[_0xa25d[15]][_0xa25d[14]]}})[_0xa25d[11]](function(_0x99f4xb){return _0x99f4x7[_0xa25d[10]](200)[_0xa25d[9]](_0x99f4xb)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[24]]=function(_0x99f4x6,_0x99f4x7){return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4xc){if(!_0x99f4xc){return _0x99f4x7[_0xa25d[25]](404)};return _0x99f4x7[_0xa25d[9]](_0x99f4xc)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[27]]=function(_0x99f4x6,_0x99f4x7){return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4xe){if(!_0x99f4xe){return _0x99f4x7[_0xa25d[25]](404)};return _0x99f4xe[_0xa25d[33]]({where:{role:_0xa25d[29]},attributes:[_0xa25d[14],_0xa25d[30],_0xa25d[31],_0xa25d[32]]})})[_0xa25d[11]](function(_0x99f4xd){return _0x99f4x7[_0xa25d[10]](200)[_0xa25d[9]]({rows:_0x99f4xd,count:_0x99f4xd[_0xa25d[28]]})})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[34]]=function(_0x99f4x6,_0x99f4x7){return ChatQueue[_0xa25d[34]](_0x99f4x6[_0xa25d[35]])[_0xa25d[11]](function(_0x99f4xc){return _0x99f4x7[_0xa25d[10]](201)[_0xa25d[9]](_0x99f4xc)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[36]]=function(_0x99f4x6,_0x99f4x7){if(_0x99f4x6[_0xa25d[35]][_0xa25d[14]]){delete _0x99f4x6[_0xa25d[35]][_0xa25d[14]]};return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4xc){if(!_0x99f4xc){return _0x99f4x7[_0xa25d[25]](404)};var _0x99f4xf=_[_0xa25d[37]](_0x99f4xc,_0x99f4x6[_0xa25d[35]]);return _0x99f4xf[_0xa25d[38]]()})[_0xa25d[11]](function(_0x99f4xc){return _0x99f4x7[_0xa25d[10]](200)[_0xa25d[9]](_0x99f4xc)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[39]]=function(_0x99f4x6,_0x99f4x7,_0x99f4xa){return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4x10){if(!_0x99f4x10){return _0x99f4x7[_0xa25d[25]](404)};var _0x99f4xb=_[_0xa25d[42]](_0x99f4x6[_0xa25d[35]][_0xa25d[40]],function(_0x99f4x11){return {UserId:_0x99f4x11,penalty:_0x99f4x6[_0xa25d[35]][_0xa25d[41]],ChatQueueId:_0x99f4x10[_0xa25d[14]],queue:_0x99f4x10[_0xa25d[30]]}});return UserHasChatQueue[_0xa25d[43]](_0x99f4xb,{individualHooks:true})})[_0xa25d[11]](function(){return _0x99f4x7[_0xa25d[25]](200)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[44]]=function(_0x99f4x6,_0x99f4x7,_0x99f4xa){return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4x10){if(!_0x99f4x10){return _0x99f4x7[_0xa25d[25]](404)};return _0x99f4x10[_0xa25d[45]](_0x99f4x6[_0xa25d[12]][_0xa25d[40]],{individualHooks:true})})[_0xa25d[11]](function(){return _0x99f4x7[_0xa25d[25]](200)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[46]]=function(_0x99f4x6,_0x99f4x7){return ChatQueue[_0xa25d[16]](_0x99f4x6[_0xa25d[26]][_0xa25d[14]])[_0xa25d[11]](function(_0x99f4xc){if(!_0x99f4xc){return _0x99f4x7[_0xa25d[25]](404)};return _0x99f4xc[_0xa25d[46]]()})[_0xa25d[11]](function(){return _0x99f4x7[_0xa25d[25]](204)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};exports[_0xa25d[47]]=function(_0x99f4x6,_0x99f4x7){return ChatQueue[_0xa25d[46]]({where:{id:_0x99f4x6[_0xa25d[12]][_0xa25d[48]]},individualHooks:true})[_0xa25d[11]](function(){return _0x99f4x7[_0xa25d[25]](204)})[_0xa25d[8]](function(_0x99f4x8){return handleError(_0x99f4x7,_0x99f4x8)})};function handleError(_0x99f4x7,_0x99f4x8){return _0x99f4x7[_0xa25d[10]](500)[_0xa25d[9]](_0x99f4x8)} \ No newline at end of file +var _0x5d67=["\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","\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","\x6C\x65\x6E\x67\x74\x68","\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"];_0x5d67[0];var _=require(_0x5d67[1]);var Util=require(_0x5d67[2]);var ChatQueue=require(_0x5d67[4])[_0x5d67[3]];var User=require(_0x5d67[4])[_0x5d67[5]];var UserHasChatQueue=require(_0x5d67[4])[_0x5d67[6]];exports[_0x5d67[7]]=function(_0x6c5fx6,_0x6c5fx7){switch(_0x6c5fx6[_0x5d67[15]][_0x5d67[21]]){case _0x5d67[15]:return User[_0x5d67[16]](_0x6c5fx6[_0x5d67[15]][_0x5d67[14]],{attributes:[_0x5d67[14]]})[_0x5d67[11]](Util[_0x5d67[13]](_0x6c5fx6[_0x5d67[12]]))[_0x5d67[11]](function(_0x6c5fx9){_0x6c5fx7[_0x5d67[10]](200)[_0x5d67[9]](_0x6c5fx9)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)});default:return ChatQueue[_0x5d67[20]](_0x5d67[19])[_0x5d67[18]](Util[_0x5d67[17]](_0x6c5fx6[_0x5d67[12]]))[_0x5d67[11]](function(_0x6c5fx9){_0x6c5fx7[_0x5d67[10]](200)[_0x5d67[9]](_0x6c5fx9)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})}};exports[_0x5d67[22]]=function(_0x6c5fx6,_0x6c5fx7,_0x6c5fxa){return UserHasChatQueue[_0x5d67[23]]({where:{UserId:_0x6c5fx6[_0x5d67[15]][_0x5d67[14]]}})[_0x5d67[11]](function(_0x6c5fxb){return _0x6c5fx7[_0x5d67[10]](200)[_0x5d67[9]](_0x6c5fxb)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[24]]=function(_0x6c5fx6,_0x6c5fx7){return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fxc){if(!_0x6c5fxc){return _0x6c5fx7[_0x5d67[25]](404)};return _0x6c5fx7[_0x5d67[9]](_0x6c5fxc)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[27]]=function(_0x6c5fx6,_0x6c5fx7){return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fxe){if(!_0x6c5fxe){return _0x6c5fx7[_0x5d67[25]](404)};return _0x6c5fxe[_0x5d67[33]]({where:{role:_0x5d67[29]},attributes:[_0x5d67[14],_0x5d67[30],_0x5d67[31],_0x5d67[32]]})})[_0x5d67[11]](function(_0x6c5fxd){return _0x6c5fx7[_0x5d67[10]](200)[_0x5d67[9]]({rows:_0x6c5fxd,count:_0x6c5fxd[_0x5d67[28]]})})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[34]]=function(_0x6c5fx6,_0x6c5fx7){return ChatQueue[_0x5d67[34]](_0x6c5fx6[_0x5d67[35]])[_0x5d67[11]](function(_0x6c5fxc){return _0x6c5fx7[_0x5d67[10]](201)[_0x5d67[9]](_0x6c5fxc)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[36]]=function(_0x6c5fx6,_0x6c5fx7){if(_0x6c5fx6[_0x5d67[35]][_0x5d67[14]]){delete _0x6c5fx6[_0x5d67[35]][_0x5d67[14]]};return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fxc){if(!_0x6c5fxc){return _0x6c5fx7[_0x5d67[25]](404)};var _0x6c5fxf=_[_0x5d67[37]](_0x6c5fxc,_0x6c5fx6[_0x5d67[35]]);return _0x6c5fxf[_0x5d67[38]]()})[_0x5d67[11]](function(_0x6c5fxc){return _0x6c5fx7[_0x5d67[10]](200)[_0x5d67[9]](_0x6c5fxc)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[39]]=function(_0x6c5fx6,_0x6c5fx7,_0x6c5fxa){return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fx10){if(!_0x6c5fx10){return _0x6c5fx7[_0x5d67[25]](404)};var _0x6c5fxb=_[_0x5d67[42]](_0x6c5fx6[_0x5d67[35]][_0x5d67[40]],function(_0x6c5fx11){return {UserId:_0x6c5fx11,penalty:_0x6c5fx6[_0x5d67[35]][_0x5d67[41]],ChatQueueId:_0x6c5fx10[_0x5d67[14]],queue:_0x6c5fx10[_0x5d67[30]]}});return UserHasChatQueue[_0x5d67[43]](_0x6c5fxb,{individualHooks:true})})[_0x5d67[11]](function(){return _0x6c5fx7[_0x5d67[25]](200)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[44]]=function(_0x6c5fx6,_0x6c5fx7,_0x6c5fxa){return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fx10){if(!_0x6c5fx10){return _0x6c5fx7[_0x5d67[25]](404)};return _0x6c5fx10[_0x5d67[45]](_0x6c5fx6[_0x5d67[12]][_0x5d67[40]],{individualHooks:true})})[_0x5d67[11]](function(){return _0x6c5fx7[_0x5d67[25]](200)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[46]]=function(_0x6c5fx6,_0x6c5fx7){return ChatQueue[_0x5d67[16]](_0x6c5fx6[_0x5d67[26]][_0x5d67[14]])[_0x5d67[11]](function(_0x6c5fxc){if(!_0x6c5fxc){return _0x6c5fx7[_0x5d67[25]](404)};return _0x6c5fxc[_0x5d67[46]]()})[_0x5d67[11]](function(){return _0x6c5fx7[_0x5d67[25]](204)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};exports[_0x5d67[47]]=function(_0x6c5fx6,_0x6c5fx7){return ChatQueue[_0x5d67[46]]({where:{id:_0x6c5fx6[_0x5d67[12]][_0x5d67[48]]},individualHooks:true})[_0x5d67[11]](function(){return _0x6c5fx7[_0x5d67[25]](204)})[_0x5d67[8]](function(_0x6c5fx8){return handleError(_0x6c5fx7,_0x6c5fx8)})};function handleError(_0x6c5fx7,_0x6c5fx8){return _0x6c5fx7[_0x5d67[10]](500)[_0x5d67[9]](_0x6c5fx8)} \ 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 d08bc44..fd5bf8b 100644 --- a/server/api/chat_queue/chat_queue.socket.js +++ b/server/api/chat_queue/chat_queue.socket.js @@ -1 +1 @@ -var _0xe5fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe5fd[0];var chatQueue=require(_0xe5fd[2])[_0xe5fd[1]];exports[_0xe5fd[3]]=function(_0x4c38x2){chatQueue[_0xe5fd[4]](function(_0x4c38x3){onSave(_0x4c38x2,_0x4c38x3)});chatQueue[_0xe5fd[5]](function(_0x4c38x3){onRemove(_0x4c38x2,_0x4c38x3)})};function onSave(_0x4c38x2,_0x4c38x3,_0x4c38x5){_0x4c38x2[_0xe5fd[7]](_0xe5fd[6],_0x4c38x3)}function onRemove(_0x4c38x2,_0x4c38x3,_0x4c38x5){_0x4c38x2[_0xe5fd[7]](_0xe5fd[8],_0x4c38x3)} \ No newline at end of file +var _0xe30c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe30c[0];var chatQueue=require(_0xe30c[2])[_0xe30c[1]];exports[_0xe30c[3]]=function(_0xf5dex2){chatQueue[_0xe30c[4]](function(_0xf5dex3){onSave(_0xf5dex2,_0xf5dex3)});chatQueue[_0xe30c[5]](function(_0xf5dex3){onRemove(_0xf5dex2,_0xf5dex3)})};function onSave(_0xf5dex2,_0xf5dex3,_0xf5dex5){_0xf5dex2[_0xe30c[7]](_0xe30c[6],_0xf5dex3)}function onRemove(_0xf5dex2,_0xf5dex3,_0xf5dex5){_0xf5dex2[_0xe30c[7]](_0xe30c[8],_0xf5dex3)} \ No newline at end of file diff --git a/server/api/chat_queue/index.js b/server/api/chat_queue/index.js index 5d0c76d..48149cc 100644 --- a/server/api/chat_queue/index.js +++ b/server/api/chat_queue/index.js @@ -1 +1 @@ -var _0xea16=["\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"];_0xea16[0];var express=require(_0xea16[1]);var controller=require(_0xea16[2]);var auth=require(_0xea16[3]);var license=require(_0xea16[4]);var router=express.Router();router[_0xea16[12]](_0xea16[5],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[11]]);router[_0xea16[12]](_0xea16[13],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[14]]);router[_0xea16[12]](_0xea16[15],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[16]]);router[_0xea16[12]](_0xea16[17],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[18]]);router[_0xea16[20]](_0xea16[5],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[19]]);router[_0xea16[20]](_0xea16[15],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[21]]);router[_0xea16[23]](_0xea16[17],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[22]]);router[_0xea16[25]](_0xea16[15],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[24]]);router[_0xea16[26]](_0xea16[17],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[22]]);router[_0xea16[25]](_0xea16[5],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[27]]);router[_0xea16[25]](_0xea16[17],license[_0xea16[6]](),license[_0xea16[7]](),auth[_0xea16[8]](),auth[_0xea16[10]]([8],[_0xea16[9]]),controller[_0xea16[28]]);module[_0xea16[29]]=router \ No newline at end of file +var _0xccef=["\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"];_0xccef[0];var express=require(_0xccef[1]);var controller=require(_0xccef[2]);var auth=require(_0xccef[3]);var license=require(_0xccef[4]);var router=express.Router();router[_0xccef[12]](_0xccef[5],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[11]]);router[_0xccef[12]](_0xccef[13],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[14]]);router[_0xccef[12]](_0xccef[15],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[16]]);router[_0xccef[12]](_0xccef[17],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[18]]);router[_0xccef[20]](_0xccef[5],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[19]]);router[_0xccef[20]](_0xccef[15],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[21]]);router[_0xccef[23]](_0xccef[17],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[22]]);router[_0xccef[25]](_0xccef[15],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[24]]);router[_0xccef[26]](_0xccef[17],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[22]]);router[_0xccef[25]](_0xccef[5],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[27]]);router[_0xccef[25]](_0xccef[17],license[_0xccef[6]](),license[_0xccef[7]](),auth[_0xccef[8]](),auth[_0xccef[10]]([8],[_0xccef[9]]),controller[_0xccef[28]]);module[_0xccef[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 ce47b80..eb3b5a7 100644 --- a/server/api/chat_room/chat_room.controller.js +++ b/server/api/chat_room/chat_room.controller.js @@ -1 +1 @@ -var _0x9870=["\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\x56\x69\x73\x69\x74\x6F\x72","\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","\x74\x61\x67\x73","\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","\x75\x73\x65\x72","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x6D\x61\x70","\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","\x70\x61\x72\x61\x6D\x73","\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","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x4F\x50\x45\x4E","\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","\x62\x6F\x64\x79","\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","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0x9870[0];var _=require(_0x9870[1]);var md5=require(_0x9870[2]);var moment=require(_0x9870[3]);var csv=require(_0x9870[4]);var Util=require(_0x9870[5]);var User=require(_0x9870[7])[_0x9870[6]];var Agent=require(_0x9870[7])[_0x9870[6]];var ChatRoom=require(_0x9870[7])[_0x9870[8]];var ChatMessage=require(_0x9870[7])[_0x9870[9]];var ChatWebsite=require(_0x9870[7])[_0x9870[10]];var ChatVisitor=require(_0x9870[7])[_0x9870[11]];var UserHasChatRoom=require(_0x9870[7])[_0x9870[12]];exports[_0x9870[13]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){return ChatRoom[_0x9870[28]](_[_0x9870[27]](Util[_0x9870[20]](_0x1fdaxd[_0x9870[19]]),{include:[{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x9870[18]](function(_0x1fdax11){_0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax11)})[_0x9870[15]](function(_0x1fdax10){console[_0x9870[14]](_0x1fdax10);return handleError(_0x1fdaxe,_0x1fdax10)})};function checkTags(_0x1fdax13){if(_0x1fdax13){if(_0x1fdax13[_0x9870[29]]){_0x1fdax13[_0x9870[30]]=[];if(_[_0x9870[31]](_0x1fdax13[_0x9870[29]])){for(var _0x1fdax14=0;_0x1fdax14<_0x1fdax13[_0x9870[29]][_0x9870[32]];_0x1fdax14++){_0x1fdax13[_0x9870[30]][_0x9870[35]]({tags:{$like:_0x9870[33]+_0x1fdax13[_0x9870[29]][_0x1fdax14]+_0x9870[34]}})}}else {_0x1fdax13[_0x9870[30]][_0x9870[35]]({tags:{$like:_0x9870[33]+_0x1fdax13[_0x9870[29]]+_0x9870[34]}})};delete _0x1fdax13[_0x9870[29]]}}}exports[_0x9870[36]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){switch(_0x1fdaxd[_0x9870[37]][_0x9870[25]]){case _0x9870[37]:return User[_0x9870[39]](_0x1fdaxd[_0x9870[37]][_0x9870[21]],{attributes:[_0x9870[21]],where:{id:{$ne:_0x1fdaxd[_0x9870[37]][_0x9870[21]]},online:true}})[_0x9870[18]](Util[_0x9870[38]](_[_0x9870[27]](_0x1fdaxd[_0x9870[19]],{id:{$ne:_0x1fdaxd[_0x9870[37]][_0x9870[21]]}})))[_0x9870[18]](function(_0x1fdax11){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax11)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)});default:return User[_0x9870[41]](_0x9870[40])[_0x9870[28]](_[_0x9870[27]](Util[_0x9870[20]](_0x1fdaxd[_0x9870[19]]),{where:{id:{$ne:_0x1fdaxd[_0x9870[37]][_0x9870[21]]},online:true}}))[_0x9870[18]](function(_0x1fdax11){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax11)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})}};exports[_0x9870[42]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){checkTags(_0x1fdaxd[_0x9870[19]]);var _0x1fdax15={where:_[_0x9870[27]]({type:_0x9870[43]},_0x1fdaxd[_0x9870[19]])};switch(_0x1fdaxd[_0x9870[37]][_0x9870[25]]){case _0x9870[44]:_[_0x9870[27]](_0x1fdax15,{include:[{model:User,attributes:[_0x9870[21]],where:{id:_0x1fdaxd[_0x9870[37]][_0x9870[21]]}}]});break;default:};return ChatRoom[_0x9870[47]](_0x1fdax15)[_0x9870[18]](function(_0x1fdax16){return ChatRoom[_0x9870[47]]({where:{id:{$in:_[_0x9870[45]](_0x1fdax16,_0x9870[21])}},include:[{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[25],_0x9870[46]]},{model:ChatVisitor}]})})[_0x9870[18]](function(_0x1fdax16){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]]({rows:_0x1fdax16,count:_0x1fdax16[_0x9870[32]]})})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[48]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){checkTags(_0x1fdaxd[_0x9870[19]]);var _0x1fdax15={where:_[_0x9870[27]]({type:_0x9870[49]},_0x1fdaxd[_0x9870[19]]),include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[23]]}]};switch(_0x1fdaxd[_0x9870[37]][_0x9870[25]]){case _0x9870[44]:_0x1fdax15[_0x9870[50]][_0x9870[35]]({model:User,attributes:[_0x9870[21]],where:{id:_0x1fdaxd[_0x9870[37]][_0x9870[21]]}});break;default:};return ChatRoom[_0x9870[47]](_0x1fdax15)[_0x9870[18]](function(_0x1fdax16){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]]({rows:_0x1fdax16,count:_0x1fdax16[_0x9870[32]]})})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[51]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){return User[_0x9870[41]](_0x9870[40])[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax11){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax11)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[53]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){return ChatRoom[_0x9870[41]](_0x9870[54])[_0x9870[28]](_[_0x9870[27]](Util[_0x9870[20]](_0x1fdaxd[_0x9870[19]]),{include:[{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x9870[18]](function(_0x1fdax11){_0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax11)})[_0x9870[15]](function(_0x1fdax10){console[_0x9870[14]](_0x1fdax10);return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[55]]=function(_0x1fdaxd,_0x1fdaxe){return User[_0x9870[39]](_0x1fdaxd[_0x9870[37]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax17){return _0x1fdax17[_0x9870[58]]({include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[23],_0x9870[24]]},{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]}]})})[_0x9870[18]](function(_0x1fdax16){if(!_0x1fdax16){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdaxe[_0x9870[16]](_0x1fdax16)})[_0x9870[15]](function(_0x1fdax10){console[_0x9870[56]](_0x1fdax10);return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[59]]=function(_0x1fdaxd,_0x1fdaxe){return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[24],_0x9870[23]]},{model:User,attributes:[_0x9870[21],_0x9870[24],_0x9870[22],_0x9870[23],_0x9870[46],_0x9870[25],_0x9870[26]]}]},{model:User,attributes:[_0x9870[21],_0x9870[24],_0x9870[22],_0x9870[23],_0x9870[46],_0x9870[25],_0x9870[26]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0x9870[21],_0x9870[22],_0x9870[60]]}]})[_0x9870[18]](function(_0x1fdax18){if(!_0x1fdax18){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdaxe[_0x9870[16]](_0x1fdax18)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[61]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){var _0x1fdax19;return ChatRoom[_0x9870[71]]({where:{token:md5(JSON[_0x9870[69]](_0x1fdaxd[_0x9870[19]][_0x9870[64]][_0x9870[68]]())).toString(_0x9870[67])},defaults:{type:_0x9870[26],token:md5(JSON[_0x9870[69]](_0x1fdaxd[_0x9870[19]][_0x9870[64]][_0x9870[68]]())).toString(_0x9870[67]),status:_0x9870[70]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[24],_0x9870[23]]},{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]}]},{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]}]})[_0x9870[66]](function(_0x1fdax18,_0x1fdax1b){_0x1fdax19=_0x1fdax18;if(_0x1fdax1b){return _0x1fdax19[_0x9870[65]](_0x1fdaxd[_0x9870[19]][_0x9870[64]])}})[_0x9870[18]](function(){return _0x1fdax19[_0x9870[63]]()})[_0x9870[18]](function(_0x1fdax1a){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_[_0x9870[27]](_0x1fdax19[_0x9870[62]],{Users:_0x1fdax1a}))})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[72]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){var _0x1fdax19;return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax18){_0x1fdax19=_0x1fdax18;if(!_0x1fdax19){return _0x1fdaxe[_0x9870[57]](404)}})[_0x9870[18]](function(){return ChatMessage[_0x9870[75]](_[_0x9870[27]](_0x1fdaxd[_0x9870[73]],{type:_0x1fdax19[_0x9870[74]],ChatRoomId:_0x1fdaxd[_0x9870[52]][_0x9870[21]],UserId:_0x1fdaxd[_0x9870[37]][_0x9870[21]]}))})[_0x9870[18]](function(_0x1fdax1c){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax1c)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[76]]=function(_0x1fdaxd,_0x1fdaxe,_0x1fdaxf){return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[23]]},{model:User,attributes:[_0x9870[21],_0x9870[23]]}]}]})[_0x9870[18]](function(_0x1fdax18){var _0x1fdax1d=[];_0x1fdax18[_0x9870[81]][_0x9870[80]](function(_0x1fdax1c){_0x1fdax1d[_0x9870[35]]({name:_0x1fdax1c[_0x9870[6]]?_0x1fdax1c[_0x9870[6]][_0x9870[23]]:_0x1fdax1c[_0x9870[11]][_0x9870[23]],text:_0x1fdax1c[_0x9870[73]][_0x9870[78]](/(\r\n|\n|\r)/gm,_0x9870[77]),date:_0x1fdax1c[_0x9870[79]]})});return _0x1fdaxe[_0x9870[74]](_0x9870[82])[_0x9870[17]](200)[_0x9870[16]](csv(_0x1fdax1d))})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[83]]=function(_0x1fdaxd,_0x1fdaxe){return User[_0x9870[39]](_0x1fdaxd[_0x9870[37]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax17){return _0x1fdax17[_0x9870[58]]({where:{type:_0x1fdaxd[_0x9870[52]][_0x9870[74]]},include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[23],_0x9870[24]]}]})})[_0x9870[18]](function(_0x1fdax16){if(!_0x1fdax16){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdaxe[_0x9870[16]](_0x1fdax16)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[84]]=function(_0x1fdaxd,_0x1fdaxe){return User[_0x9870[39]](_0x1fdaxd[_0x9870[37]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax17){return _0x1fdax17[_0x9870[58]]({include:[{model:ChatVisitor,attributes:[_0x9870[21],_0x9870[23],_0x9870[24]]},{model:User,attributes:[_0x9870[21],_0x9870[22],_0x9870[23],_0x9870[24],_0x9870[25],_0x9870[26]]}]})})[_0x9870[18]](function(_0x1fdax16){if(!_0x1fdax16){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdaxe[_0x9870[16]](_0x1fdax16)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[75]]=function(_0x1fdaxd,_0x1fdaxe){};exports[_0x9870[85]]=function(_0x1fdaxd,_0x1fdaxe){if(_0x1fdaxd[_0x9870[73]][_0x9870[21]]){delete _0x1fdaxd[_0x9870[73]][_0x9870[21]]};return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax18){if(!_0x1fdax18){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdax18[_0x9870[85]](_0x1fdaxd[_0x9870[73]])})[_0x9870[18]](function(_0x1fdax18){return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax18)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[86]]=function(_0x1fdaxd,_0x1fdaxe){var _0x1fdax19;if(_0x1fdaxd[_0x9870[73]][_0x9870[21]]){delete _0x1fdaxd[_0x9870[73]][_0x9870[21]]};return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax18){if(!_0x1fdax18||!_0x1fdaxd[_0x9870[73]][_0x9870[64]]){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdax18})[_0x9870[18]](function(_0x1fdax18){return _0x1fdax18[_0x9870[85]]({type:_0x9870[43],token:md5(JSON[_0x9870[69]](_0x1fdaxd[_0x9870[73]][_0x9870[64]][_0x9870[68]]())).toString(_0x9870[67])})})[_0x9870[18]](function(_0x1fdax18){_0x1fdax19=_0x1fdax18;return _0x1fdax18[_0x9870[65]](_0x1fdaxd[_0x9870[73]][_0x9870[64]][_0x9870[68]](),{individualHooks:true})})[_0x9870[18]](function(){return _0x1fdax19[_0x9870[63]]()})[_0x9870[18]](function(_0x1fdax1a){_[_0x9870[27]](_0x1fdax19[_0x9870[62]],{Users:_0x1fdax1a});return _0x1fdaxe[_0x9870[17]](200)[_0x9870[16]](_0x1fdax19)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};exports[_0x9870[87]]=function(_0x1fdaxd,_0x1fdaxe){return ChatRoom[_0x9870[39]](_0x1fdaxd[_0x9870[52]][_0x9870[21]])[_0x9870[18]](function(_0x1fdax18){if(!_0x1fdax18){return _0x1fdaxe[_0x9870[57]](404)};return _0x1fdax18[_0x9870[87]]()})[_0x9870[18]](function(){return _0x1fdaxe[_0x9870[57]](204)})[_0x9870[15]](function(_0x1fdax10){return handleError(_0x1fdaxe,_0x1fdax10)})};function handleError(_0x1fdaxe,_0x1fdax10){return _0x1fdaxe[_0x9870[17]](500)[_0x9870[16]](_0x1fdax10)} \ No newline at end of file +var _0xde04=["\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\x56\x69\x73\x69\x74\x6F\x72","\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","\x74\x61\x67\x73","\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","\x75\x73\x65\x72","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x6D\x61\x70","\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","\x70\x61\x72\x61\x6D\x73","\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","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x4F\x50\x45\x4E","\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","\x62\x6F\x64\x79","\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","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0xde04[0];var _=require(_0xde04[1]);var md5=require(_0xde04[2]);var moment=require(_0xde04[3]);var csv=require(_0xde04[4]);var Util=require(_0xde04[5]);var User=require(_0xde04[7])[_0xde04[6]];var Agent=require(_0xde04[7])[_0xde04[6]];var ChatRoom=require(_0xde04[7])[_0xde04[8]];var ChatMessage=require(_0xde04[7])[_0xde04[9]];var ChatWebsite=require(_0xde04[7])[_0xde04[10]];var ChatVisitor=require(_0xde04[7])[_0xde04[11]];var UserHasChatRoom=require(_0xde04[7])[_0xde04[12]];exports[_0xde04[13]]=function(_0x9374xd,_0x9374xe,_0x9374xf){return ChatRoom[_0xde04[28]](_[_0xde04[27]](Util[_0xde04[20]](_0x9374xd[_0xde04[19]]),{include:[{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0xde04[18]](function(_0x9374x11){_0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x11)})[_0xde04[15]](function(_0x9374x10){console[_0xde04[14]](_0x9374x10);return handleError(_0x9374xe,_0x9374x10)})};function checkTags(_0x9374x13){if(_0x9374x13){if(_0x9374x13[_0xde04[29]]){_0x9374x13[_0xde04[30]]=[];if(_[_0xde04[31]](_0x9374x13[_0xde04[29]])){for(var _0x9374x14=0;_0x9374x14<_0x9374x13[_0xde04[29]][_0xde04[32]];_0x9374x14++){_0x9374x13[_0xde04[30]][_0xde04[35]]({tags:{$like:_0xde04[33]+_0x9374x13[_0xde04[29]][_0x9374x14]+_0xde04[34]}})}}else {_0x9374x13[_0xde04[30]][_0xde04[35]]({tags:{$like:_0xde04[33]+_0x9374x13[_0xde04[29]]+_0xde04[34]}})};delete _0x9374x13[_0xde04[29]]}}}exports[_0xde04[36]]=function(_0x9374xd,_0x9374xe,_0x9374xf){switch(_0x9374xd[_0xde04[37]][_0xde04[25]]){case _0xde04[37]:return User[_0xde04[39]](_0x9374xd[_0xde04[37]][_0xde04[21]],{attributes:[_0xde04[21]],where:{id:{$ne:_0x9374xd[_0xde04[37]][_0xde04[21]]},online:true}})[_0xde04[18]](Util[_0xde04[38]](_[_0xde04[27]](_0x9374xd[_0xde04[19]],{id:{$ne:_0x9374xd[_0xde04[37]][_0xde04[21]]}})))[_0xde04[18]](function(_0x9374x11){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x11)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)});default:return User[_0xde04[41]](_0xde04[40])[_0xde04[28]](_[_0xde04[27]](Util[_0xde04[20]](_0x9374xd[_0xde04[19]]),{where:{id:{$ne:_0x9374xd[_0xde04[37]][_0xde04[21]]},online:true}}))[_0xde04[18]](function(_0x9374x11){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x11)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})}};exports[_0xde04[42]]=function(_0x9374xd,_0x9374xe,_0x9374xf){checkTags(_0x9374xd[_0xde04[19]]);var _0x9374x15={where:_[_0xde04[27]]({type:_0xde04[43]},_0x9374xd[_0xde04[19]])};switch(_0x9374xd[_0xde04[37]][_0xde04[25]]){case _0xde04[44]:_[_0xde04[27]](_0x9374x15,{include:[{model:User,attributes:[_0xde04[21]],where:{id:_0x9374xd[_0xde04[37]][_0xde04[21]]}}]});break;default:};return ChatRoom[_0xde04[47]](_0x9374x15)[_0xde04[18]](function(_0x9374x16){return ChatRoom[_0xde04[47]]({where:{id:{$in:_[_0xde04[45]](_0x9374x16,_0xde04[21])}},include:[{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[25],_0xde04[46]]},{model:ChatVisitor}]})})[_0xde04[18]](function(_0x9374x16){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]]({rows:_0x9374x16,count:_0x9374x16[_0xde04[32]]})})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[48]]=function(_0x9374xd,_0x9374xe,_0x9374xf){checkTags(_0x9374xd[_0xde04[19]]);var _0x9374x15={where:_[_0xde04[27]]({type:_0xde04[49]},_0x9374xd[_0xde04[19]]),include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[23]]}]};switch(_0x9374xd[_0xde04[37]][_0xde04[25]]){case _0xde04[44]:_0x9374x15[_0xde04[50]][_0xde04[35]]({model:User,attributes:[_0xde04[21]],where:{id:_0x9374xd[_0xde04[37]][_0xde04[21]]}});break;default:};return ChatRoom[_0xde04[47]](_0x9374x15)[_0xde04[18]](function(_0x9374x16){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]]({rows:_0x9374x16,count:_0x9374x16[_0xde04[32]]})})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[51]]=function(_0x9374xd,_0x9374xe,_0x9374xf){return User[_0xde04[41]](_0xde04[40])[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]])[_0xde04[18]](function(_0x9374x11){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x11)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[53]]=function(_0x9374xd,_0x9374xe,_0x9374xf){return ChatRoom[_0xde04[41]](_0xde04[54])[_0xde04[28]](_[_0xde04[27]](Util[_0xde04[20]](_0x9374xd[_0xde04[19]]),{include:[{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0xde04[18]](function(_0x9374x11){_0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x11)})[_0xde04[15]](function(_0x9374x10){console[_0xde04[14]](_0x9374x10);return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[55]]=function(_0x9374xd,_0x9374xe){return User[_0xde04[39]](_0x9374xd[_0xde04[37]][_0xde04[21]])[_0xde04[18]](function(_0x9374x17){return _0x9374x17[_0xde04[58]]({include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[23],_0xde04[24]]},{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]}]})})[_0xde04[18]](function(_0x9374x16){if(!_0x9374x16){return _0x9374xe[_0xde04[57]](404)};return _0x9374xe[_0xde04[16]](_0x9374x16)})[_0xde04[15]](function(_0x9374x10){console[_0xde04[56]](_0x9374x10);return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[59]]=function(_0x9374xd,_0x9374xe){return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[24],_0xde04[23]]},{model:User,attributes:[_0xde04[21],_0xde04[24],_0xde04[22],_0xde04[23],_0xde04[46],_0xde04[25],_0xde04[26]]}]},{model:User,attributes:[_0xde04[21],_0xde04[24],_0xde04[22],_0xde04[23],_0xde04[46],_0xde04[25],_0xde04[26]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0xde04[21],_0xde04[22],_0xde04[60]]}]})[_0xde04[18]](function(_0x9374x18){if(!_0x9374x18){return _0x9374xe[_0xde04[57]](404)};return _0x9374xe[_0xde04[16]](_0x9374x18)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[61]]=function(_0x9374xd,_0x9374xe,_0x9374xf){var _0x9374x19;return ChatRoom[_0xde04[71]]({where:{token:md5(JSON[_0xde04[69]](_0x9374xd[_0xde04[19]][_0xde04[64]][_0xde04[68]]())).toString(_0xde04[67])},defaults:{type:_0xde04[26],token:md5(JSON[_0xde04[69]](_0x9374xd[_0xde04[19]][_0xde04[64]][_0xde04[68]]())).toString(_0xde04[67]),status:_0xde04[70]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[24],_0xde04[23]]},{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]}]},{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]}]})[_0xde04[66]](function(_0x9374x18,_0x9374x1b){_0x9374x19=_0x9374x18;if(_0x9374x1b){return _0x9374x19[_0xde04[65]](_0x9374xd[_0xde04[19]][_0xde04[64]])}})[_0xde04[18]](function(){return _0x9374x19[_0xde04[63]]()})[_0xde04[18]](function(_0x9374x1a){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_[_0xde04[27]](_0x9374x19[_0xde04[62]],{Users:_0x9374x1a}))})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[72]]=function(_0x9374xd,_0x9374xe,_0x9374xf){var _0x9374x19;return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]])[_0xde04[18]](function(_0x9374x18){_0x9374x19=_0x9374x18;if(!_0x9374x19){return _0x9374xe[_0xde04[57]](404)}})[_0xde04[18]](function(){return ChatMessage[_0xde04[75]](_[_0xde04[27]](_0x9374xd[_0xde04[73]],{type:_0x9374x19[_0xde04[74]],ChatRoomId:_0x9374xd[_0xde04[52]][_0xde04[21]],UserId:_0x9374xd[_0xde04[37]][_0xde04[21]]}))})[_0xde04[18]](function(_0x9374x1c){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x1c)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[76]]=function(_0x9374xd,_0x9374xe,_0x9374xf){return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[23]]},{model:User,attributes:[_0xde04[21],_0xde04[23]]}]}]})[_0xde04[18]](function(_0x9374x18){var _0x9374x1d=[];_0x9374x18[_0xde04[81]][_0xde04[80]](function(_0x9374x1c){_0x9374x1d[_0xde04[35]]({name:_0x9374x1c[_0xde04[6]]?_0x9374x1c[_0xde04[6]][_0xde04[23]]:_0x9374x1c[_0xde04[11]][_0xde04[23]],text:_0x9374x1c[_0xde04[73]][_0xde04[78]](/(\r\n|\n|\r)/gm,_0xde04[77]),date:_0x9374x1c[_0xde04[79]]})});return _0x9374xe[_0xde04[74]](_0xde04[82])[_0xde04[17]](200)[_0xde04[16]](csv(_0x9374x1d))})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[83]]=function(_0x9374xd,_0x9374xe){return User[_0xde04[39]](_0x9374xd[_0xde04[37]][_0xde04[21]])[_0xde04[18]](function(_0x9374x17){return _0x9374x17[_0xde04[58]]({where:{type:_0x9374xd[_0xde04[52]][_0xde04[74]]},include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[23],_0xde04[24]]}]})})[_0xde04[18]](function(_0x9374x16){if(!_0x9374x16){return _0x9374xe[_0xde04[57]](404)};return _0x9374xe[_0xde04[16]](_0x9374x16)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[84]]=function(_0x9374xd,_0x9374xe){return User[_0xde04[39]](_0x9374xd[_0xde04[37]][_0xde04[21]])[_0xde04[18]](function(_0x9374x17){return _0x9374x17[_0xde04[58]]({include:[{model:ChatVisitor,attributes:[_0xde04[21],_0xde04[23],_0xde04[24]]},{model:User,attributes:[_0xde04[21],_0xde04[22],_0xde04[23],_0xde04[24],_0xde04[25],_0xde04[26]]}]})})[_0xde04[18]](function(_0x9374x16){if(!_0x9374x16){return _0x9374xe[_0xde04[57]](404)};return _0x9374xe[_0xde04[16]](_0x9374x16)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[75]]=function(_0x9374xd,_0x9374xe){};exports[_0xde04[85]]=function(_0x9374xd,_0x9374xe){if(_0x9374xd[_0xde04[73]][_0xde04[21]]){delete _0x9374xd[_0xde04[73]][_0xde04[21]]};return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]])[_0xde04[18]](function(_0x9374x18){if(!_0x9374x18){return _0x9374xe[_0xde04[57]](404)};return _0x9374x18[_0xde04[85]](_0x9374xd[_0xde04[73]])})[_0xde04[18]](function(_0x9374x18){return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x18)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[86]]=function(_0x9374xd,_0x9374xe){var _0x9374x19;if(_0x9374xd[_0xde04[73]][_0xde04[21]]){delete _0x9374xd[_0xde04[73]][_0xde04[21]]};return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]])[_0xde04[18]](function(_0x9374x18){if(!_0x9374x18||!_0x9374xd[_0xde04[73]][_0xde04[64]]){return _0x9374xe[_0xde04[57]](404)};return _0x9374x18})[_0xde04[18]](function(_0x9374x18){return _0x9374x18[_0xde04[85]]({type:_0xde04[43],token:md5(JSON[_0xde04[69]](_0x9374xd[_0xde04[73]][_0xde04[64]][_0xde04[68]]())).toString(_0xde04[67])})})[_0xde04[18]](function(_0x9374x18){_0x9374x19=_0x9374x18;return _0x9374x18[_0xde04[65]](_0x9374xd[_0xde04[73]][_0xde04[64]][_0xde04[68]](),{individualHooks:true})})[_0xde04[18]](function(){return _0x9374x19[_0xde04[63]]()})[_0xde04[18]](function(_0x9374x1a){_[_0xde04[27]](_0x9374x19[_0xde04[62]],{Users:_0x9374x1a});return _0x9374xe[_0xde04[17]](200)[_0xde04[16]](_0x9374x19)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};exports[_0xde04[87]]=function(_0x9374xd,_0x9374xe){return ChatRoom[_0xde04[39]](_0x9374xd[_0xde04[52]][_0xde04[21]])[_0xde04[18]](function(_0x9374x18){if(!_0x9374x18){return _0x9374xe[_0xde04[57]](404)};return _0x9374x18[_0xde04[87]]()})[_0xde04[18]](function(){return _0x9374xe[_0xde04[57]](204)})[_0xde04[15]](function(_0x9374x10){return handleError(_0x9374xe,_0x9374x10)})};function handleError(_0x9374xe,_0x9374x10){return _0x9374xe[_0xde04[17]](500)[_0xde04[16]](_0x9374x10)} \ 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 2f1bed0..a3d7618 100644 --- a/server/api/chat_room/chat_room.socket.js +++ b/server/api/chat_room/chat_room.socket.js @@ -1 +1 @@ -var _0x58b7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x58b7[0];var User=require(_0x58b7[2])[_0x58b7[1]];var ChatRoom=require(_0x58b7[2])[_0x58b7[3]];var ChatMessage=require(_0x58b7[2])[_0x58b7[4]];var ChatVisitor=require(_0x58b7[2])[_0x58b7[5]];exports[_0x58b7[6]]=function(_0x9c45x5){ChatRoom[_0x58b7[7]](function(_0x9c45x6){onSave(_0x9c45x5,_0x9c45x6)});ChatRoom[_0x58b7[8]](function(_0x9c45x6){onSave(_0x9c45x5,_0x9c45x6)});ChatRoom[_0x58b7[9]](function(_0x9c45x6){onRemove(_0x9c45x5,_0x9c45x6)})};function onSave(_0x9c45x5,_0x9c45x6,_0x9c45x8){_0x9c45x5[_0x58b7[11]](_0x58b7[10],_0x9c45x6)}function onRemove(_0x9c45x5,_0x9c45x6,_0x9c45x8){_0x9c45x5[_0x58b7[11]](_0x58b7[12],_0x9c45x6)} \ No newline at end of file +var _0xd42e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd42e[0];var User=require(_0xd42e[2])[_0xd42e[1]];var ChatRoom=require(_0xd42e[2])[_0xd42e[3]];var ChatMessage=require(_0xd42e[2])[_0xd42e[4]];var ChatVisitor=require(_0xd42e[2])[_0xd42e[5]];exports[_0xd42e[6]]=function(_0x2c19x5){ChatRoom[_0xd42e[7]](function(_0x2c19x6){onSave(_0x2c19x5,_0x2c19x6)});ChatRoom[_0xd42e[8]](function(_0x2c19x6){onSave(_0x2c19x5,_0x2c19x6)});ChatRoom[_0xd42e[9]](function(_0x2c19x6){onRemove(_0x2c19x5,_0x2c19x6)})};function onSave(_0x2c19x5,_0x2c19x6,_0x2c19x8){_0x2c19x5[_0xd42e[11]](_0xd42e[10],_0x2c19x6)}function onRemove(_0x2c19x5,_0x2c19x6,_0x2c19x8){_0x2c19x5[_0xd42e[11]](_0xd42e[12],_0x2c19x6)} \ No newline at end of file diff --git a/server/api/chat_room/index.js b/server/api/chat_room/index.js index f6f77dc..22abd88 100644 --- a/server/api/chat_room/index.js +++ b/server/api/chat_room/index.js @@ -1 +1 @@ -var _0xc70a=["\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\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","\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"];_0xc70a[0];var express=require(_0xc70a[1]);var controller=require(_0xc70a[2]);var auth=require(_0xc70a[3]);var license=require(_0xc70a[4]);var router=express.Router();router[_0xc70a[13]](_0xc70a[5],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[12]]);router[_0xc70a[13]](_0xc70a[14],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[15]]);router[_0xc70a[13]](_0xc70a[16],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[17],_0xc70a[10]]),controller[_0xc70a[18]]);router[_0xc70a[13]](_0xc70a[19],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[20]]);router[_0xc70a[13]](_0xc70a[21],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[22]]);router[_0xc70a[13]](_0xc70a[23],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[24]]);router[_0xc70a[13]](_0xc70a[25],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[26]]);router[_0xc70a[13]](_0xc70a[27],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[28]]);router[_0xc70a[13]](_0xc70a[29],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[30]]);router[_0xc70a[13]](_0xc70a[31],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[32]]);router[_0xc70a[13]](_0xc70a[33],controller[_0xc70a[34]]);router[_0xc70a[36]](_0xc70a[5],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[35]]);router[_0xc70a[36]](_0xc70a[37],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[38]]);router[_0xc70a[40]](_0xc70a[31],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[39]]);router[_0xc70a[40]](_0xc70a[41],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[42]]);router[_0xc70a[44]](_0xc70a[31],license[_0xc70a[6]](),license[_0xc70a[7]](),auth[_0xc70a[8]](),auth[_0xc70a[11]]([8],[_0xc70a[9],_0xc70a[10]]),controller[_0xc70a[43]]);module[_0xc70a[45]]=router \ No newline at end of file +var _0x385a=["\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\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","\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"];_0x385a[0];var express=require(_0x385a[1]);var controller=require(_0x385a[2]);var auth=require(_0x385a[3]);var license=require(_0x385a[4]);var router=express.Router();router[_0x385a[13]](_0x385a[5],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[12]]);router[_0x385a[13]](_0x385a[14],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[15]]);router[_0x385a[13]](_0x385a[16],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[17],_0x385a[10]]),controller[_0x385a[18]]);router[_0x385a[13]](_0x385a[19],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[20]]);router[_0x385a[13]](_0x385a[21],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[22]]);router[_0x385a[13]](_0x385a[23],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[24]]);router[_0x385a[13]](_0x385a[25],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[26]]);router[_0x385a[13]](_0x385a[27],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[28]]);router[_0x385a[13]](_0x385a[29],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[30]]);router[_0x385a[13]](_0x385a[31],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[32]]);router[_0x385a[13]](_0x385a[33],controller[_0x385a[34]]);router[_0x385a[36]](_0x385a[5],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[35]]);router[_0x385a[36]](_0x385a[37],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[38]]);router[_0x385a[40]](_0x385a[31],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[39]]);router[_0x385a[40]](_0x385a[41],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[42]]);router[_0x385a[44]](_0x385a[31],license[_0x385a[6]](),license[_0x385a[7]](),auth[_0x385a[8]](),auth[_0x385a[11]]([8],[_0x385a[9],_0x385a[10]]),controller[_0x385a[43]]);module[_0x385a[45]]=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 08e926b..2097232 100644 --- a/server/api/chat_visitor/chat_visitor.controller.js +++ b/server/api/chat_visitor/chat_visitor.controller.js @@ -1 +1 @@ -var _0x7bc7=["\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"];_0x7bc7[0];var _=require(_0x7bc7[1]);var Util=require(_0x7bc7[2]);var ChatVisitor=require(_0x7bc7[4])[_0x7bc7[3]];var ChatEnquiry=require(_0x7bc7[4])[_0x7bc7[5]];var ChatWebsite=require(_0x7bc7[4])[_0x7bc7[6]];exports[_0x7bc7[7]]=function(_0xf2f2x6,_0xf2f2x7,_0xf2f2x8){return ChatVisitor[_0x7bc7[16]](_[_0x7bc7[15]](Util[_0x7bc7[14]](_0xf2f2x6[_0x7bc7[13]]),{include:[{model:ChatWebsite}]}))[_0x7bc7[12]](function(_0xf2f2xa){_0xf2f2x7[_0x7bc7[11]](200)[_0x7bc7[10]](_0xf2f2xa)})[_0x7bc7[9]](function(_0xf2f2x9){console[_0x7bc7[8]](_0xf2f2x9);return handleError(_0xf2f2x7,_0xf2f2x9)})};exports[_0x7bc7[17]]=function(_0xf2f2x6,_0xf2f2x7){return ChatVisitor[_0x7bc7[21]](_0xf2f2x6[_0x7bc7[20]][_0x7bc7[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0x7bc7[12]](function(_0xf2f2xb){if(!_0xf2f2xb){return _0xf2f2x7[_0x7bc7[18]](404)};return _0xf2f2x7[_0x7bc7[10]](_0xf2f2xb)})[_0x7bc7[9]](function(_0xf2f2x9){return handleError(_0xf2f2x7,_0xf2f2x9)})};exports[_0x7bc7[22]]=function(_0xf2f2x6,_0xf2f2x7){return ChatVisitor[_0x7bc7[22]](_0xf2f2x6[_0x7bc7[23]])[_0x7bc7[12]](function(_0xf2f2xb){return _0xf2f2x7[_0x7bc7[11]](201)[_0x7bc7[10]](_0xf2f2xb)})[_0x7bc7[9]](function(_0xf2f2x9){return handleError(_0xf2f2x7,_0xf2f2x9)})};exports[_0x7bc7[24]]=function(_0xf2f2x6,_0xf2f2x7){if(_0xf2f2x6[_0x7bc7[23]][_0x7bc7[19]]){delete _0xf2f2x6[_0x7bc7[23]][_0x7bc7[19]]};return ChatVisitor[_0x7bc7[21]](_0xf2f2x6[_0x7bc7[20]][_0x7bc7[19]])[_0x7bc7[12]](function(_0xf2f2xb){if(!_0xf2f2xb){return _0xf2f2x7[_0x7bc7[18]](404)};var _0xf2f2xc=_[_0x7bc7[15]](_0xf2f2xb,_0xf2f2x6[_0x7bc7[23]]);return _0xf2f2xc[_0x7bc7[25]]()})[_0x7bc7[12]](function(_0xf2f2xb){return _0xf2f2x7[_0x7bc7[11]](200)[_0x7bc7[10]](_0xf2f2xb)})[_0x7bc7[9]](function(_0xf2f2x9){return handleError(_0xf2f2x7,_0xf2f2x9)})};exports[_0x7bc7[26]]=function(_0xf2f2x6,_0xf2f2x7){return ChatVisitor[_0x7bc7[21]](_0xf2f2x6[_0x7bc7[20]][_0x7bc7[19]])[_0x7bc7[12]](function(_0xf2f2xb){if(!_0xf2f2xb){return _0xf2f2x7[_0x7bc7[18]](404)};return _0xf2f2xb[_0x7bc7[26]]()})[_0x7bc7[12]](function(){return _0xf2f2x7[_0x7bc7[18]](204)})[_0x7bc7[9]](function(_0xf2f2x9){return handleError(_0xf2f2x7,_0xf2f2x9)})};function handleError(_0xf2f2x7,_0xf2f2x9){return _0xf2f2x7[_0x7bc7[11]](500)[_0x7bc7[10]](_0xf2f2x9)} \ No newline at end of file +var _0xd669=["\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"];_0xd669[0];var _=require(_0xd669[1]);var Util=require(_0xd669[2]);var ChatVisitor=require(_0xd669[4])[_0xd669[3]];var ChatEnquiry=require(_0xd669[4])[_0xd669[5]];var ChatWebsite=require(_0xd669[4])[_0xd669[6]];exports[_0xd669[7]]=function(_0xbc62x6,_0xbc62x7,_0xbc62x8){return ChatVisitor[_0xd669[16]](_[_0xd669[15]](Util[_0xd669[14]](_0xbc62x6[_0xd669[13]]),{include:[{model:ChatWebsite}]}))[_0xd669[12]](function(_0xbc62xa){_0xbc62x7[_0xd669[11]](200)[_0xd669[10]](_0xbc62xa)})[_0xd669[9]](function(_0xbc62x9){console[_0xd669[8]](_0xbc62x9);return handleError(_0xbc62x7,_0xbc62x9)})};exports[_0xd669[17]]=function(_0xbc62x6,_0xbc62x7){return ChatVisitor[_0xd669[21]](_0xbc62x6[_0xd669[20]][_0xd669[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0xd669[12]](function(_0xbc62xb){if(!_0xbc62xb){return _0xbc62x7[_0xd669[18]](404)};return _0xbc62x7[_0xd669[10]](_0xbc62xb)})[_0xd669[9]](function(_0xbc62x9){return handleError(_0xbc62x7,_0xbc62x9)})};exports[_0xd669[22]]=function(_0xbc62x6,_0xbc62x7){return ChatVisitor[_0xd669[22]](_0xbc62x6[_0xd669[23]])[_0xd669[12]](function(_0xbc62xb){return _0xbc62x7[_0xd669[11]](201)[_0xd669[10]](_0xbc62xb)})[_0xd669[9]](function(_0xbc62x9){return handleError(_0xbc62x7,_0xbc62x9)})};exports[_0xd669[24]]=function(_0xbc62x6,_0xbc62x7){if(_0xbc62x6[_0xd669[23]][_0xd669[19]]){delete _0xbc62x6[_0xd669[23]][_0xd669[19]]};return ChatVisitor[_0xd669[21]](_0xbc62x6[_0xd669[20]][_0xd669[19]])[_0xd669[12]](function(_0xbc62xb){if(!_0xbc62xb){return _0xbc62x7[_0xd669[18]](404)};var _0xbc62xc=_[_0xd669[15]](_0xbc62xb,_0xbc62x6[_0xd669[23]]);return _0xbc62xc[_0xd669[25]]()})[_0xd669[12]](function(_0xbc62xb){return _0xbc62x7[_0xd669[11]](200)[_0xd669[10]](_0xbc62xb)})[_0xd669[9]](function(_0xbc62x9){return handleError(_0xbc62x7,_0xbc62x9)})};exports[_0xd669[26]]=function(_0xbc62x6,_0xbc62x7){return ChatVisitor[_0xd669[21]](_0xbc62x6[_0xd669[20]][_0xd669[19]])[_0xd669[12]](function(_0xbc62xb){if(!_0xbc62xb){return _0xbc62x7[_0xd669[18]](404)};return _0xbc62xb[_0xd669[26]]()})[_0xd669[12]](function(){return _0xbc62x7[_0xd669[18]](204)})[_0xd669[9]](function(_0xbc62x9){return handleError(_0xbc62x7,_0xbc62x9)})};function handleError(_0xbc62x7,_0xbc62x9){return _0xbc62x7[_0xd669[11]](500)[_0xd669[10]](_0xbc62x9)} \ 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 14b7b46..c3117a7 100644 --- a/server/api/chat_visitor/chat_visitor.socket.js +++ b/server/api/chat_visitor/chat_visitor.socket.js @@ -1 +1 @@ -var _0xe16d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe16d[0];var chat_visitor=require(_0xe16d[2])[_0xe16d[1]];exports[_0xe16d[3]]=function(_0x7805x2){chat_visitor[_0xe16d[4]](function(_0x7805x3){onSave(_0x7805x2,_0x7805x3)});chat_visitor[_0xe16d[5]](function(_0x7805x3){onSave(_0x7805x2,_0x7805x3)});chat_visitor[_0xe16d[6]](function(_0x7805x3){onRemove(_0x7805x2,_0x7805x3)})};function onSave(_0x7805x2,_0x7805x3,_0x7805x5){_0x7805x2[_0xe16d[8]](_0xe16d[7],_0x7805x3)}function onRemove(_0x7805x2,_0x7805x3,_0x7805x5){_0x7805x2[_0xe16d[8]](_0xe16d[9],_0x7805x3)} \ No newline at end of file +var _0xeab2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeab2[0];var chat_visitor=require(_0xeab2[2])[_0xeab2[1]];exports[_0xeab2[3]]=function(_0xd3d4x2){chat_visitor[_0xeab2[4]](function(_0xd3d4x3){onSave(_0xd3d4x2,_0xd3d4x3)});chat_visitor[_0xeab2[5]](function(_0xd3d4x3){onSave(_0xd3d4x2,_0xd3d4x3)});chat_visitor[_0xeab2[6]](function(_0xd3d4x3){onRemove(_0xd3d4x2,_0xd3d4x3)})};function onSave(_0xd3d4x2,_0xd3d4x3,_0xd3d4x5){_0xd3d4x2[_0xeab2[8]](_0xeab2[7],_0xd3d4x3)}function onRemove(_0xd3d4x2,_0xd3d4x3,_0xd3d4x5){_0xd3d4x2[_0xeab2[8]](_0xeab2[9],_0xd3d4x3)} \ No newline at end of file diff --git a/server/api/chat_visitor/index.js b/server/api/chat_visitor/index.js index bb35875..512d0b0 100644 --- a/server/api/chat_visitor/index.js +++ b/server/api/chat_visitor/index.js @@ -1 +1 @@ -var _0xc0f3=["\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"];_0xc0f3[0];var express=require(_0xc0f3[1]);var controller=require(_0xc0f3[2]);var auth=require(_0xc0f3[3]);var license=require(_0xc0f3[4]);var router=express.Router();router[_0xc0f3[12]](_0xc0f3[5],license[_0xc0f3[6]](),license[_0xc0f3[7]](),auth[_0xc0f3[8]](),auth[_0xc0f3[10]]([8],[_0xc0f3[9]]),controller[_0xc0f3[11]]);router[_0xc0f3[12]](_0xc0f3[13],license[_0xc0f3[6]](),license[_0xc0f3[7]](),auth[_0xc0f3[8]](),auth[_0xc0f3[10]]([8],[_0xc0f3[9]]),controller[_0xc0f3[14]]);router[_0xc0f3[16]](_0xc0f3[5],license[_0xc0f3[6]](),license[_0xc0f3[7]](),auth[_0xc0f3[8]](),auth[_0xc0f3[10]]([8],[_0xc0f3[9]]),controller[_0xc0f3[15]]);router[_0xc0f3[18]](_0xc0f3[13],license[_0xc0f3[6]](),license[_0xc0f3[7]](),auth[_0xc0f3[8]](),auth[_0xc0f3[10]]([8],[_0xc0f3[9]]),controller[_0xc0f3[17]]);router[_0xc0f3[20]](_0xc0f3[13],license[_0xc0f3[6]](),license[_0xc0f3[7]](),auth[_0xc0f3[8]](),auth[_0xc0f3[10]]([8],[_0xc0f3[9]]),controller[_0xc0f3[19]]);module[_0xc0f3[21]]=router \ No newline at end of file +var _0x452c=["\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"];_0x452c[0];var express=require(_0x452c[1]);var controller=require(_0x452c[2]);var auth=require(_0x452c[3]);var license=require(_0x452c[4]);var router=express.Router();router[_0x452c[12]](_0x452c[5],license[_0x452c[6]](),license[_0x452c[7]](),auth[_0x452c[8]](),auth[_0x452c[10]]([8],[_0x452c[9]]),controller[_0x452c[11]]);router[_0x452c[12]](_0x452c[13],license[_0x452c[6]](),license[_0x452c[7]](),auth[_0x452c[8]](),auth[_0x452c[10]]([8],[_0x452c[9]]),controller[_0x452c[14]]);router[_0x452c[16]](_0x452c[5],license[_0x452c[6]](),license[_0x452c[7]](),auth[_0x452c[8]](),auth[_0x452c[10]]([8],[_0x452c[9]]),controller[_0x452c[15]]);router[_0x452c[18]](_0x452c[13],license[_0x452c[6]](),license[_0x452c[7]](),auth[_0x452c[8]](),auth[_0x452c[10]]([8],[_0x452c[9]]),controller[_0x452c[17]]);router[_0x452c[20]](_0x452c[13],license[_0x452c[6]](),license[_0x452c[7]](),auth[_0x452c[8]](),auth[_0x452c[10]]([8],[_0x452c[9]]),controller[_0x452c[19]]);module[_0x452c[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 77810dd..aa25f13 100644 --- a/server/api/chat_website/chat_website.controller.js +++ b/server/api/chat_website/chat_website.controller.js @@ -1 +1 @@ -var _0xbe78=["\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","\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","\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","\x6C\x6F\x67","\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","\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","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\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"];_0xbe78[0];var _=require(_0xbe78[1]);var util=require(_0xbe78[2]);var async=require(_0xbe78[3]);var Mustache=require(_0xbe78[4]);var Util=require(_0xbe78[5]);var sequelize=require(_0xbe78[7])[_0xbe78[6]];var ChatWebsite=require(_0xbe78[7])[_0xbe78[8]];var ChatQueue=require(_0xbe78[7])[_0xbe78[9]];var User=require(_0xbe78[7])[_0xbe78[10]];var ChatApplication=require(_0xbe78[7])[_0xbe78[11]];var ChatWebsitesField=require(_0xbe78[7])[_0xbe78[12]];var ChatProactiveAction=require(_0xbe78[7])[_0xbe78[13]];var ChatDisposition=require(_0xbe78[7])[_0xbe78[14]];var snippet=require(_0xbe78[16])[_0xbe78[15]];exports[_0xbe78[17]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsite[_0xbe78[24]](Util[_0xbe78[23]](_0x6e21xf[_0xbe78[22]]))[_0xbe78[21]](function(_0x6e21x13){_0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]](_0x6e21x13)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[25]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x14){if(!_0x6e21x14){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x10[_0xbe78[19]](_0x6e21x14)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[30]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x14){if(!_0x6e21x14){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x14[_0xbe78[32]]()})[_0xbe78[21]](function(_0x6e21x15){return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]]({rows:_0x6e21x15,count:_0x6e21x15[_0xbe78[31]]})})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[33]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){_0x6e21xf[_0xbe78[35]][_0xbe78[34]]=_0x6e21xf[_0xbe78[28]][_0xbe78[27]];return ChatDisposition[_0xbe78[36]](_0x6e21xf[_0xbe78[35]])[_0xbe78[21]](function(_0x6e21x16){return _0x6e21x10[_0xbe78[20]](201)[_0xbe78[19]](_0x6e21x16)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[37]]=function(_0x6e21xf,_0x6e21x10){if(_0x6e21xf[_0xbe78[35]][_0xbe78[27]]){delete _0x6e21xf[_0xbe78[35]][_0xbe78[27]]};return ChatDisposition[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[40]])[_0xbe78[21]](function(_0x6e21x16){if(!_0x6e21x16){return _0x6e21x10[_0xbe78[26]](404)};var _0x6e21x17=_[_0xbe78[38]](_0x6e21x16,_0x6e21xf[_0xbe78[35]]);return _0x6e21x17[_0xbe78[39]]()})[_0xbe78[21]](function(_0x6e21x14){return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]](_0x6e21x14)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[41]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatDisposition[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[40]])[_0xbe78[21]](function(_0x6e21x18){if(!_0x6e21x18){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x18[_0xbe78[42]]()})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[43]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x1a){if(!_0x6e21x1a){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x1a[_0xbe78[46]](_[_0xbe78[38]](Util[_0xbe78[23]](_0x6e21xf[_0xbe78[22]]),{include:[{model:ChatQueue,attributes:[_0xbe78[27],_0xbe78[45]]},{model:User,attributes:[_0xbe78[27],_0xbe78[45]]}]}))})[_0xbe78[21]](function(_0x6e21x19){return _0x6e21x10[_0xbe78[19]]({count:_0x6e21x19[_0xbe78[31]],rows:_0x6e21x19})})[_0xbe78[18]](function(_0x6e21x12){console[_0xbe78[44]](_0x6e21x12);return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[47]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x1a){if(!_0x6e21x1a){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x1a[_0xbe78[48]](Util[_0xbe78[23]](_0x6e21xf[_0xbe78[22]]))})[_0xbe78[21]](function(_0x6e21x1b){return _0x6e21x10[_0xbe78[19]]({count:_0x6e21x1b[_0xbe78[31]],rows:_0x6e21x1b})})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[49]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x14){var _0x6e21x1c={remote:_0x6e21x14[_0xbe78[50]],websiteId:_0x6e21xf[_0xbe78[28]][_0xbe78[27]]};var _0x6e21x1d=Mustache[_0xbe78[51]](snippet,_0x6e21x1c);return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]]({html:_0x6e21x1d})})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[36]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsite[_0xbe78[36]](_0x6e21xf[_0xbe78[35]])[_0xbe78[21]](function(_0x6e21x14){return _0x6e21x10[_0xbe78[20]](201)[_0xbe78[19]](_0x6e21x14)})[_0xbe78[18]](function(_0x6e21x12){console[_0xbe78[44]](_0x6e21x12);return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[52]]=function(_0x6e21xf,_0x6e21x10){if(_0x6e21xf[_0xbe78[35]][_0xbe78[27]]){delete _0x6e21xf[_0xbe78[35]][_0xbe78[27]]};return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x14){if(!_0x6e21x14){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x14[_0xbe78[52]](_0x6e21xf[_0xbe78[35]])})[_0xbe78[21]](function(_0x6e21x14){return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]](_0x6e21x14)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[53]]=function(_0x6e21xf,_0x6e21x10){var _0x6e21x1e=0;var _0x6e21x1f=_0x6e21xf[_0xbe78[35]];_0x6e21x1f[_0xbe78[57]](function(_0x6e21x20){delete _0x6e21x20[_0xbe78[27]];delete _0x6e21x20[_0xbe78[54]];delete _0x6e21x20[_0xbe78[55]];_0x6e21x20[_0xbe78[56]]= ++_0x6e21x1e});return sequelize[_0xbe78[59]](function(_0x6e21x21){return ChatApplication[_0xbe78[42]]({where:{ChatWebsiteId:_0x6e21xf[_0xbe78[28]][_0xbe78[27]]},individualHooks:true,transaction:_0x6e21x21})[_0xbe78[21]](function(){return ChatApplication[_0xbe78[58]](_0x6e21x1f,{individualHooks:true,transaction:_0x6e21x21})})})[_0xbe78[21]](function(_0x6e21x19){return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]]({count:_0x6e21x19[_0xbe78[31]],rows:_0x6e21x19})})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[42]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x14){if(!_0x6e21x14){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x14[_0xbe78[42]]()})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[60]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsite[_0xbe78[42]]({where:{id:_0x6e21xf[_0xbe78[22]][_0xbe78[61]]},individualHooks:true})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[62]]=function(_0x6e21xf,_0x6e21x10){return ChatApplication[_0xbe78[42]]({where:{id:_0x6e21xf[_0xbe78[22]][_0xbe78[63]]},individualHooks:true})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[64]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatApplication[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[65]])[_0xbe78[21]](function(_0x6e21x22){if(!_0x6e21x22){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x22[_0xbe78[42]]()})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[66]]=function(_0x6e21xf,_0x6e21x10){return ChatWebsitesField[_0xbe78[70]]({method:[_0x6e21xf[_0xbe78[28]][_0xbe78[69]],_0x6e21xf[_0xbe78[28]][_0xbe78[27]]]})[_0xbe78[68]]()[_0xbe78[21]](function(_0x6e21x23){return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[67]](_0x6e21x23)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[71]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsitesField[_0xbe78[42]]({where:_0x6e21xf[_0xbe78[28]][_0xbe78[69]]===_0xbe78[72]?{OnlineId:_0x6e21xf[_0xbe78[28]][_0xbe78[27]]}:{OfflineId:_0x6e21xf[_0xbe78[28]][_0xbe78[27]]}})[_0xbe78[21]](function(){_[_0xbe78[57]](_0x6e21xf[_0xbe78[35]],function(_0x6e21x25){if(_0x6e21xf[_0xbe78[28]][_0xbe78[69]]===_0xbe78[72]){_0x6e21x25[_0xbe78[73]]=_0x6e21xf[_0xbe78[28]][_0xbe78[27]]}else {if(_0x6e21xf[_0xbe78[28]][_0xbe78[69]]===_0xbe78[74]){_0x6e21x25[_0xbe78[75]]=_0x6e21xf[_0xbe78[28]][_0xbe78[27]]}}});return ChatWebsitesField[_0xbe78[58]](_0x6e21xf[_0xbe78[35]])})[_0xbe78[21]](function(_0x6e21x24){_0x6e21x10[_0xbe78[20]](201)[_0xbe78[67]](_0x6e21x24)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[76]]=function(_0x6e21xf,_0x6e21x10){return ChatProactiveAction[_0xbe78[42]]({where:{id:_0x6e21xf[_0xbe78[22]][_0xbe78[63]]},individualHooks:true})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[77]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatProactiveAction[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[78]])[_0xbe78[21]](function(_0x6e21x26){if(!_0x6e21x26){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x26[_0xbe78[42]]()})[_0xbe78[21]](function(){return _0x6e21x10[_0xbe78[26]](204)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[79]]=function(_0x6e21xf,_0x6e21x10,_0x6e21x11){return ChatWebsite[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[27]])[_0xbe78[21]](function(_0x6e21x1a){if(!_0x6e21x1a){return _0x6e21x10[_0xbe78[26]](404)};_0x6e21xf[_0xbe78[35]][_0xbe78[34]]=_0x6e21x1a[_0xbe78[27]];return ChatProactiveAction[_0xbe78[36]](_0x6e21xf[_0xbe78[35]])})[_0xbe78[21]](function(_0x6e21x26){return _0x6e21x10[_0xbe78[20]](201)[_0xbe78[19]](_0x6e21x26)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};exports[_0xbe78[80]]=function(_0x6e21xf,_0x6e21x10){if(_0x6e21xf[_0xbe78[35]][_0xbe78[27]]){delete _0x6e21xf[_0xbe78[35]][_0xbe78[27]]};return ChatProactiveAction[_0xbe78[29]](_0x6e21xf[_0xbe78[28]][_0xbe78[78]])[_0xbe78[21]](function(_0x6e21x26){if(!_0x6e21x26){return _0x6e21x10[_0xbe78[26]](404)};return _0x6e21x26[_0xbe78[52]](_0x6e21xf[_0xbe78[35]])})[_0xbe78[21]](function(_0x6e21x26){console[_0xbe78[44]](_0x6e21x26);return _0x6e21x10[_0xbe78[20]](200)[_0xbe78[19]](_0x6e21x26)})[_0xbe78[18]](function(_0x6e21x12){return handleError(_0x6e21x10,_0x6e21x12)})};function handleError(_0x6e21x10,_0x6e21x12){return _0x6e21x10[_0xbe78[20]](500)[_0xbe78[19]](_0x6e21x12)} \ No newline at end of file +var _0xa2cc=["\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","\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","\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","\x6C\x6F\x67","\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","\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","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\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"];_0xa2cc[0];var _=require(_0xa2cc[1]);var util=require(_0xa2cc[2]);var async=require(_0xa2cc[3]);var Mustache=require(_0xa2cc[4]);var Util=require(_0xa2cc[5]);var sequelize=require(_0xa2cc[7])[_0xa2cc[6]];var ChatWebsite=require(_0xa2cc[7])[_0xa2cc[8]];var ChatQueue=require(_0xa2cc[7])[_0xa2cc[9]];var User=require(_0xa2cc[7])[_0xa2cc[10]];var ChatApplication=require(_0xa2cc[7])[_0xa2cc[11]];var ChatWebsitesField=require(_0xa2cc[7])[_0xa2cc[12]];var ChatProactiveAction=require(_0xa2cc[7])[_0xa2cc[13]];var ChatDisposition=require(_0xa2cc[7])[_0xa2cc[14]];var snippet=require(_0xa2cc[16])[_0xa2cc[15]];exports[_0xa2cc[17]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsite[_0xa2cc[24]](Util[_0xa2cc[23]](_0x7644xf[_0xa2cc[22]]))[_0xa2cc[21]](function(_0x7644x13){_0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]](_0x7644x13)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[25]]=function(_0x7644xf,_0x7644x10){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x14){if(!_0x7644x14){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x10[_0xa2cc[19]](_0x7644x14)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[30]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x14){if(!_0x7644x14){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x14[_0xa2cc[32]]()})[_0xa2cc[21]](function(_0x7644x15){return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]]({rows:_0x7644x15,count:_0x7644x15[_0xa2cc[31]]})})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[33]]=function(_0x7644xf,_0x7644x10,_0x7644x11){_0x7644xf[_0xa2cc[35]][_0xa2cc[34]]=_0x7644xf[_0xa2cc[28]][_0xa2cc[27]];return ChatDisposition[_0xa2cc[36]](_0x7644xf[_0xa2cc[35]])[_0xa2cc[21]](function(_0x7644x16){return _0x7644x10[_0xa2cc[20]](201)[_0xa2cc[19]](_0x7644x16)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[37]]=function(_0x7644xf,_0x7644x10){if(_0x7644xf[_0xa2cc[35]][_0xa2cc[27]]){delete _0x7644xf[_0xa2cc[35]][_0xa2cc[27]]};return ChatDisposition[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[40]])[_0xa2cc[21]](function(_0x7644x16){if(!_0x7644x16){return _0x7644x10[_0xa2cc[26]](404)};var _0x7644x17=_[_0xa2cc[38]](_0x7644x16,_0x7644xf[_0xa2cc[35]]);return _0x7644x17[_0xa2cc[39]]()})[_0xa2cc[21]](function(_0x7644x14){return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]](_0x7644x14)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[41]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatDisposition[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[40]])[_0xa2cc[21]](function(_0x7644x18){if(!_0x7644x18){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x18[_0xa2cc[42]]()})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[43]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x1a){if(!_0x7644x1a){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x1a[_0xa2cc[46]](_[_0xa2cc[38]](Util[_0xa2cc[23]](_0x7644xf[_0xa2cc[22]]),{include:[{model:ChatQueue,attributes:[_0xa2cc[27],_0xa2cc[45]]},{model:User,attributes:[_0xa2cc[27],_0xa2cc[45]]}]}))})[_0xa2cc[21]](function(_0x7644x19){return _0x7644x10[_0xa2cc[19]]({count:_0x7644x19[_0xa2cc[31]],rows:_0x7644x19})})[_0xa2cc[18]](function(_0x7644x12){console[_0xa2cc[44]](_0x7644x12);return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[47]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x1a){if(!_0x7644x1a){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x1a[_0xa2cc[48]](Util[_0xa2cc[23]](_0x7644xf[_0xa2cc[22]]))})[_0xa2cc[21]](function(_0x7644x1b){return _0x7644x10[_0xa2cc[19]]({count:_0x7644x1b[_0xa2cc[31]],rows:_0x7644x1b})})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[49]]=function(_0x7644xf,_0x7644x10){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x14){var _0x7644x1c={remote:_0x7644x14[_0xa2cc[50]],websiteId:_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]};var _0x7644x1d=Mustache[_0xa2cc[51]](snippet,_0x7644x1c);return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]]({html:_0x7644x1d})})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[36]]=function(_0x7644xf,_0x7644x10){return ChatWebsite[_0xa2cc[36]](_0x7644xf[_0xa2cc[35]])[_0xa2cc[21]](function(_0x7644x14){return _0x7644x10[_0xa2cc[20]](201)[_0xa2cc[19]](_0x7644x14)})[_0xa2cc[18]](function(_0x7644x12){console[_0xa2cc[44]](_0x7644x12);return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[52]]=function(_0x7644xf,_0x7644x10){if(_0x7644xf[_0xa2cc[35]][_0xa2cc[27]]){delete _0x7644xf[_0xa2cc[35]][_0xa2cc[27]]};return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x14){if(!_0x7644x14){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x14[_0xa2cc[52]](_0x7644xf[_0xa2cc[35]])})[_0xa2cc[21]](function(_0x7644x14){return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]](_0x7644x14)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[53]]=function(_0x7644xf,_0x7644x10){var _0x7644x1e=0;var _0x7644x1f=_0x7644xf[_0xa2cc[35]];_0x7644x1f[_0xa2cc[57]](function(_0x7644x20){delete _0x7644x20[_0xa2cc[27]];delete _0x7644x20[_0xa2cc[54]];delete _0x7644x20[_0xa2cc[55]];_0x7644x20[_0xa2cc[56]]= ++_0x7644x1e});return sequelize[_0xa2cc[59]](function(_0x7644x21){return ChatApplication[_0xa2cc[42]]({where:{ChatWebsiteId:_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]},individualHooks:true,transaction:_0x7644x21})[_0xa2cc[21]](function(){return ChatApplication[_0xa2cc[58]](_0x7644x1f,{individualHooks:true,transaction:_0x7644x21})})})[_0xa2cc[21]](function(_0x7644x19){return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]]({count:_0x7644x19[_0xa2cc[31]],rows:_0x7644x19})})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[42]]=function(_0x7644xf,_0x7644x10){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x14){if(!_0x7644x14){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x14[_0xa2cc[42]]()})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[60]]=function(_0x7644xf,_0x7644x10){return ChatWebsite[_0xa2cc[42]]({where:{id:_0x7644xf[_0xa2cc[22]][_0xa2cc[61]]},individualHooks:true})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[62]]=function(_0x7644xf,_0x7644x10){return ChatApplication[_0xa2cc[42]]({where:{id:_0x7644xf[_0xa2cc[22]][_0xa2cc[63]]},individualHooks:true})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[64]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatApplication[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[65]])[_0xa2cc[21]](function(_0x7644x22){if(!_0x7644x22){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x22[_0xa2cc[42]]()})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[66]]=function(_0x7644xf,_0x7644x10){return ChatWebsitesField[_0xa2cc[70]]({method:[_0x7644xf[_0xa2cc[28]][_0xa2cc[69]],_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]]})[_0xa2cc[68]]()[_0xa2cc[21]](function(_0x7644x23){return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[67]](_0x7644x23)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[71]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsitesField[_0xa2cc[42]]({where:_0x7644xf[_0xa2cc[28]][_0xa2cc[69]]===_0xa2cc[72]?{OnlineId:_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]}:{OfflineId:_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]}})[_0xa2cc[21]](function(){_[_0xa2cc[57]](_0x7644xf[_0xa2cc[35]],function(_0x7644x25){if(_0x7644xf[_0xa2cc[28]][_0xa2cc[69]]===_0xa2cc[72]){_0x7644x25[_0xa2cc[73]]=_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]}else {if(_0x7644xf[_0xa2cc[28]][_0xa2cc[69]]===_0xa2cc[74]){_0x7644x25[_0xa2cc[75]]=_0x7644xf[_0xa2cc[28]][_0xa2cc[27]]}}});return ChatWebsitesField[_0xa2cc[58]](_0x7644xf[_0xa2cc[35]])})[_0xa2cc[21]](function(_0x7644x24){_0x7644x10[_0xa2cc[20]](201)[_0xa2cc[67]](_0x7644x24)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[76]]=function(_0x7644xf,_0x7644x10){return ChatProactiveAction[_0xa2cc[42]]({where:{id:_0x7644xf[_0xa2cc[22]][_0xa2cc[63]]},individualHooks:true})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[77]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatProactiveAction[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[78]])[_0xa2cc[21]](function(_0x7644x26){if(!_0x7644x26){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x26[_0xa2cc[42]]()})[_0xa2cc[21]](function(){return _0x7644x10[_0xa2cc[26]](204)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[79]]=function(_0x7644xf,_0x7644x10,_0x7644x11){return ChatWebsite[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[27]])[_0xa2cc[21]](function(_0x7644x1a){if(!_0x7644x1a){return _0x7644x10[_0xa2cc[26]](404)};_0x7644xf[_0xa2cc[35]][_0xa2cc[34]]=_0x7644x1a[_0xa2cc[27]];return ChatProactiveAction[_0xa2cc[36]](_0x7644xf[_0xa2cc[35]])})[_0xa2cc[21]](function(_0x7644x26){return _0x7644x10[_0xa2cc[20]](201)[_0xa2cc[19]](_0x7644x26)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};exports[_0xa2cc[80]]=function(_0x7644xf,_0x7644x10){if(_0x7644xf[_0xa2cc[35]][_0xa2cc[27]]){delete _0x7644xf[_0xa2cc[35]][_0xa2cc[27]]};return ChatProactiveAction[_0xa2cc[29]](_0x7644xf[_0xa2cc[28]][_0xa2cc[78]])[_0xa2cc[21]](function(_0x7644x26){if(!_0x7644x26){return _0x7644x10[_0xa2cc[26]](404)};return _0x7644x26[_0xa2cc[52]](_0x7644xf[_0xa2cc[35]])})[_0xa2cc[21]](function(_0x7644x26){console[_0xa2cc[44]](_0x7644x26);return _0x7644x10[_0xa2cc[20]](200)[_0xa2cc[19]](_0x7644x26)})[_0xa2cc[18]](function(_0x7644x12){return handleError(_0x7644x10,_0x7644x12)})};function handleError(_0x7644x10,_0x7644x12){return _0x7644x10[_0xa2cc[20]](500)[_0xa2cc[19]](_0x7644x12)} \ No newline at end of file diff --git a/server/api/chat_website/chat_website.socket.js b/server/api/chat_website/chat_website.socket.js index dd7cdd8..63a7d37 100644 --- a/server/api/chat_website/chat_website.socket.js +++ b/server/api/chat_website/chat_website.socket.js @@ -1 +1 @@ -var _0xe207=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe207[0];var chat_website=require(_0xe207[2])[_0xe207[1]];exports[_0xe207[3]]=function(_0xd42cx2){chat_website[_0xe207[4]](function(_0xd42cx3){onSave(_0xd42cx2,_0xd42cx3)});chat_website[_0xe207[5]](function(_0xd42cx3){onRemove(_0xd42cx2,_0xd42cx3)})};function onSave(_0xd42cx2,_0xd42cx3,_0xd42cx5){_0xd42cx2[_0xe207[7]](_0xe207[6],_0xd42cx3)}function onRemove(_0xd42cx2,_0xd42cx3,_0xd42cx5){_0xd42cx2[_0xe207[7]](_0xe207[8],_0xd42cx3)} \ No newline at end of file +var _0xafa0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xafa0[0];var chat_website=require(_0xafa0[2])[_0xafa0[1]];exports[_0xafa0[3]]=function(_0x634bx2){chat_website[_0xafa0[4]](function(_0x634bx3){onSave(_0x634bx2,_0x634bx3)});chat_website[_0xafa0[5]](function(_0x634bx3){onRemove(_0x634bx2,_0x634bx3)})};function onSave(_0x634bx2,_0x634bx3,_0x634bx5){_0x634bx2[_0xafa0[7]](_0xafa0[6],_0x634bx3)}function onRemove(_0x634bx2,_0x634bx3,_0x634bx5){_0x634bx2[_0xafa0[7]](_0xafa0[8],_0x634bx3)} \ No newline at end of file diff --git a/server/api/chat_website/index.js b/server/api/chat_website/index.js index f53b4c7..7ae70ed 100644 --- a/server/api/chat_website/index.js +++ b/server/api/chat_website/index.js @@ -1 +1 @@ -var _0xfecd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\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\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x2F\x3A\x69\x64\x2F\x73\x6E\x69\x70\x70\x65\x74","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x2F\x3A\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xfecd[0];var express=require(_0xfecd[1]);var controller=require(_0xfecd[2]);var auth=require(_0xfecd[3]);var license=require(_0xfecd[4]);var router=express.Router();router[_0xfecd[12]](_0xfecd[5],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[11]]);router[_0xfecd[12]](_0xfecd[13],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[14]]);router[_0xfecd[12]](_0xfecd[15],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[16]]);router[_0xfecd[12]](_0xfecd[17],license[_0xfecd[6]](),license[_0xfecd[18]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([9],[_0xfecd[9],_0xfecd[19]]),controller[_0xfecd[20]]);router[_0xfecd[12]](_0xfecd[21],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[22]]);router[_0xfecd[12]](_0xfecd[23],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[24]]);router[_0xfecd[12]](_0xfecd[25],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[26]]);router[_0xfecd[28]](_0xfecd[5],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[27]]);router[_0xfecd[28]](_0xfecd[17],license[_0xfecd[6]](),license[_0xfecd[18]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([9],[_0xfecd[9]]),controller[_0xfecd[29]]);router[_0xfecd[28]](_0xfecd[21],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[30]]);router[_0xfecd[32]](_0xfecd[13],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[31]]);router[_0xfecd[32]](_0xfecd[15],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[33]]);router[_0xfecd[32]](_0xfecd[34],license[_0xfecd[6]](),license[_0xfecd[18]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([9],[_0xfecd[9]]),controller[_0xfecd[35]]);router[_0xfecd[32]](_0xfecd[36],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[37]]);router[_0xfecd[32]](_0xfecd[23],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[38]]);router[_0xfecd[39]](_0xfecd[13],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[31]]);router[_0xfecd[41]](_0xfecd[5],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[40]]);router[_0xfecd[41]](_0xfecd[13],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[42]]);router[_0xfecd[41]](_0xfecd[15],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[43]]);router[_0xfecd[41]](_0xfecd[21],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[44]]);router[_0xfecd[41]](_0xfecd[45],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[46]]);router[_0xfecd[41]](_0xfecd[36],license[_0xfecd[6]](),license[_0xfecd[7]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([8],[_0xfecd[9]]),controller[_0xfecd[47]]);router[_0xfecd[41]](_0xfecd[34],license[_0xfecd[6]](),license[_0xfecd[18]](),auth[_0xfecd[8]](),auth[_0xfecd[10]]([9],[_0xfecd[9]]),controller[_0xfecd[48]]);module[_0xfecd[49]]=router \ No newline at end of file +var _0x9fa1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\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\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x2F\x3A\x69\x64\x2F\x73\x6E\x69\x70\x70\x65\x74","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x2F\x3A\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x9fa1[0];var express=require(_0x9fa1[1]);var controller=require(_0x9fa1[2]);var auth=require(_0x9fa1[3]);var license=require(_0x9fa1[4]);var router=express.Router();router[_0x9fa1[12]](_0x9fa1[5],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[11]]);router[_0x9fa1[12]](_0x9fa1[13],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[14]]);router[_0x9fa1[12]](_0x9fa1[15],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[16]]);router[_0x9fa1[12]](_0x9fa1[17],license[_0x9fa1[6]](),license[_0x9fa1[18]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([9],[_0x9fa1[9],_0x9fa1[19]]),controller[_0x9fa1[20]]);router[_0x9fa1[12]](_0x9fa1[21],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[22]]);router[_0x9fa1[12]](_0x9fa1[23],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[24]]);router[_0x9fa1[12]](_0x9fa1[25],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[26]]);router[_0x9fa1[28]](_0x9fa1[5],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[27]]);router[_0x9fa1[28]](_0x9fa1[17],license[_0x9fa1[6]](),license[_0x9fa1[18]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([9],[_0x9fa1[9]]),controller[_0x9fa1[29]]);router[_0x9fa1[28]](_0x9fa1[21],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[30]]);router[_0x9fa1[32]](_0x9fa1[13],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[31]]);router[_0x9fa1[32]](_0x9fa1[15],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[33]]);router[_0x9fa1[32]](_0x9fa1[34],license[_0x9fa1[6]](),license[_0x9fa1[18]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([9],[_0x9fa1[9]]),controller[_0x9fa1[35]]);router[_0x9fa1[32]](_0x9fa1[36],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[37]]);router[_0x9fa1[32]](_0x9fa1[23],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[38]]);router[_0x9fa1[39]](_0x9fa1[13],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[31]]);router[_0x9fa1[41]](_0x9fa1[5],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[40]]);router[_0x9fa1[41]](_0x9fa1[13],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[42]]);router[_0x9fa1[41]](_0x9fa1[15],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[43]]);router[_0x9fa1[41]](_0x9fa1[21],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[44]]);router[_0x9fa1[41]](_0x9fa1[45],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[46]]);router[_0x9fa1[41]](_0x9fa1[36],license[_0x9fa1[6]](),license[_0x9fa1[7]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([8],[_0x9fa1[9]]),controller[_0x9fa1[47]]);router[_0x9fa1[41]](_0x9fa1[34],license[_0x9fa1[6]](),license[_0x9fa1[18]](),auth[_0x9fa1[8]](),auth[_0x9fa1[10]]([9],[_0x9fa1[9]]),controller[_0x9fa1[48]]);module[_0x9fa1[49]]=router \ No newline at end of file diff --git a/server/api/chat_websites_field/chat_websites_field.controller.js b/server/api/chat_websites_field/chat_websites_field.controller.js index 3e6652a..408a8ed 100644 --- a/server/api/chat_websites_field/chat_websites_field.controller.js +++ b/server/api/chat_websites_field/chat_websites_field.controller.js @@ -1 +1 @@ -var _0x8f29=["\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\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\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"];_0x8f29[0];var _=require(_0x8f29[1]);var Util=require(_0x8f29[2]);var ChatWebsitesField=require(_0x8f29[4])[_0x8f29[3]];function handleError(_0x197ex5,_0x197ex6){_0x197ex6=_0x197ex6||500;return function(_0x197ex7){_0x197ex5[_0x8f29[6]](_0x197ex6)[_0x8f29[5]](_0x197ex7)}}function responseWithResult(_0x197ex5,_0x197ex6){_0x197ex6=_0x197ex6||200;return function(_0x197ex9){if(_0x197ex9){_0x197ex5[_0x8f29[6]](_0x197ex6)[_0x8f29[7]](_0x197ex9)}}}function responseWithoutResult(_0x197ex5,_0x197ex6){_0x197ex6=_0x197ex6||204;return function(){_0x197ex5[_0x8f29[8]](_0x197ex6)}}function handleEntityNotFound(_0x197ex5){return function(_0x197ex9){if(!_0x197ex9){_0x197ex5[_0x8f29[6]](404)[_0x8f29[9]]();return null};return _0x197ex9}}function saveUpdates(_0x197exd){return function(_0x197ex9){return _0x197ex9[_0x8f29[11]](_0x197exd)[_0x8f29[10]](function(_0x197exe){return _0x197exe})}}function removeEntity(_0x197ex5){return function(_0x197ex9){if(_0x197ex9){return _0x197ex9[_0x8f29[12]]()[_0x8f29[10]](function(){_0x197ex5[_0x8f29[6]](204)[_0x8f29[9]]()})}}}exports[_0x8f29[13]]=function(_0x197ex10,_0x197ex5){return ChatWebsitesField[_0x8f29[17]](Util[_0x8f29[16]](_0x197ex10[_0x8f29[15]]))[_0x8f29[10]](responseWithResult(_0x197ex5))[_0x8f29[14]](handleError(_0x197ex5))};exports[_0x8f29[18]]=function(_0x197ex10,_0x197ex5){return ChatWebsitesField[_0x8f29[21]](_0x197ex10[_0x8f29[20]][_0x8f29[19]])[_0x8f29[10]](handleEntityNotFound(_0x197ex5))[_0x8f29[10]](responseWithResult(_0x197ex5))[_0x8f29[14]](handleError(_0x197ex5))};exports[_0x8f29[22]]=function(_0x197ex10,_0x197ex5){return ChatWebsitesField[_0x8f29[22]](_0x197ex10[_0x8f29[23]])[_0x8f29[10]](responseWithResult(_0x197ex5,201))[_0x8f29[14]](handleError(_0x197ex5))};exports[_0x8f29[24]]=function(_0x197ex10,_0x197ex5){if(_0x197ex10[_0x8f29[23]][_0x8f29[19]]){delete _0x197ex10[_0x8f29[23]][_0x8f29[19]]};return ChatWebsitesField[_0x8f29[21]](_0x197ex10[_0x8f29[20]][_0x8f29[19]])[_0x8f29[10]](handleEntityNotFound(_0x197ex5))[_0x8f29[10]](saveUpdates(_0x197ex10[_0x8f29[23]]))[_0x8f29[10]](responseWithResult(_0x197ex5))[_0x8f29[14]](handleError(_0x197ex5))};exports[_0x8f29[12]]=function(_0x197ex10,_0x197ex5){return ChatWebsitesField[_0x8f29[21]](_0x197ex10[_0x8f29[20]][_0x8f29[19]])[_0x8f29[10]](handleEntityNotFound(_0x197ex5))[_0x8f29[10]](removeEntity(_0x197ex5))[_0x8f29[14]](handleError(_0x197ex5))} \ No newline at end of file +var _0xd3f1=["\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\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\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"];_0xd3f1[0];var _=require(_0xd3f1[1]);var Util=require(_0xd3f1[2]);var ChatWebsitesField=require(_0xd3f1[4])[_0xd3f1[3]];function handleError(_0x4650x5,_0x4650x6){_0x4650x6=_0x4650x6||500;return function(_0x4650x7){_0x4650x5[_0xd3f1[6]](_0x4650x6)[_0xd3f1[5]](_0x4650x7)}}function responseWithResult(_0x4650x5,_0x4650x6){_0x4650x6=_0x4650x6||200;return function(_0x4650x9){if(_0x4650x9){_0x4650x5[_0xd3f1[6]](_0x4650x6)[_0xd3f1[7]](_0x4650x9)}}}function responseWithoutResult(_0x4650x5,_0x4650x6){_0x4650x6=_0x4650x6||204;return function(){_0x4650x5[_0xd3f1[8]](_0x4650x6)}}function handleEntityNotFound(_0x4650x5){return function(_0x4650x9){if(!_0x4650x9){_0x4650x5[_0xd3f1[6]](404)[_0xd3f1[9]]();return null};return _0x4650x9}}function saveUpdates(_0x4650xd){return function(_0x4650x9){return _0x4650x9[_0xd3f1[11]](_0x4650xd)[_0xd3f1[10]](function(_0x4650xe){return _0x4650xe})}}function removeEntity(_0x4650x5){return function(_0x4650x9){if(_0x4650x9){return _0x4650x9[_0xd3f1[12]]()[_0xd3f1[10]](function(){_0x4650x5[_0xd3f1[6]](204)[_0xd3f1[9]]()})}}}exports[_0xd3f1[13]]=function(_0x4650x10,_0x4650x5){return ChatWebsitesField[_0xd3f1[17]](Util[_0xd3f1[16]](_0x4650x10[_0xd3f1[15]]))[_0xd3f1[10]](responseWithResult(_0x4650x5))[_0xd3f1[14]](handleError(_0x4650x5))};exports[_0xd3f1[18]]=function(_0x4650x10,_0x4650x5){return ChatWebsitesField[_0xd3f1[21]](_0x4650x10[_0xd3f1[20]][_0xd3f1[19]])[_0xd3f1[10]](handleEntityNotFound(_0x4650x5))[_0xd3f1[10]](responseWithResult(_0x4650x5))[_0xd3f1[14]](handleError(_0x4650x5))};exports[_0xd3f1[22]]=function(_0x4650x10,_0x4650x5){return ChatWebsitesField[_0xd3f1[22]](_0x4650x10[_0xd3f1[23]])[_0xd3f1[10]](responseWithResult(_0x4650x5,201))[_0xd3f1[14]](handleError(_0x4650x5))};exports[_0xd3f1[24]]=function(_0x4650x10,_0x4650x5){if(_0x4650x10[_0xd3f1[23]][_0xd3f1[19]]){delete _0x4650x10[_0xd3f1[23]][_0xd3f1[19]]};return ChatWebsitesField[_0xd3f1[21]](_0x4650x10[_0xd3f1[20]][_0xd3f1[19]])[_0xd3f1[10]](handleEntityNotFound(_0x4650x5))[_0xd3f1[10]](saveUpdates(_0x4650x10[_0xd3f1[23]]))[_0xd3f1[10]](responseWithResult(_0x4650x5))[_0xd3f1[14]](handleError(_0x4650x5))};exports[_0xd3f1[12]]=function(_0x4650x10,_0x4650x5){return ChatWebsitesField[_0xd3f1[21]](_0x4650x10[_0xd3f1[20]][_0xd3f1[19]])[_0xd3f1[10]](handleEntityNotFound(_0x4650x5))[_0xd3f1[10]](removeEntity(_0x4650x5))[_0xd3f1[14]](handleError(_0x4650x5))} \ No newline at end of file diff --git a/server/api/chat_websites_field/chat_websites_field.socket.js b/server/api/chat_websites_field/chat_websites_field.socket.js index 894b3ec..6bfe3ac 100644 --- a/server/api/chat_websites_field/chat_websites_field.socket.js +++ b/server/api/chat_websites_field/chat_websites_field.socket.js @@ -1 +1 @@ -var _0x4ac2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4ac2[0];var ChatWebsitesField=require(_0x4ac2[2])[_0x4ac2[1]];exports[_0x4ac2[3]]=function(_0x9a4bx2){ChatWebsitesField[_0x4ac2[4]](function(_0x9a4bx3){onSave(_0x9a4bx2,_0x9a4bx3)});ChatWebsitesField[_0x4ac2[5]](function(_0x9a4bx3){onRemove(_0x9a4bx2,_0x9a4bx3)})};function onSave(_0x9a4bx2,_0x9a4bx3,_0x9a4bx5){_0x9a4bx2[_0x4ac2[7]](_0x4ac2[6],_0x9a4bx3)}function onRemove(_0x9a4bx2,_0x9a4bx3,_0x9a4bx5){_0x9a4bx2[_0x4ac2[7]](_0x4ac2[8],_0x9a4bx3)} \ No newline at end of file +var _0x6a01=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6a01[0];var ChatWebsitesField=require(_0x6a01[2])[_0x6a01[1]];exports[_0x6a01[3]]=function(_0x261ex2){ChatWebsitesField[_0x6a01[4]](function(_0x261ex3){onSave(_0x261ex2,_0x261ex3)});ChatWebsitesField[_0x6a01[5]](function(_0x261ex3){onRemove(_0x261ex2,_0x261ex3)})};function onSave(_0x261ex2,_0x261ex3,_0x261ex5){_0x261ex2[_0x6a01[7]](_0x6a01[6],_0x261ex3)}function onRemove(_0x261ex2,_0x261ex3,_0x261ex5){_0x261ex2[_0x6a01[7]](_0x6a01[8],_0x261ex3)} \ No newline at end of file diff --git a/server/api/chat_websites_field/index.js b/server/api/chat_websites_field/index.js index f9d780d..0c73811 100644 --- a/server/api/chat_websites_field/index.js +++ b/server/api/chat_websites_field/index.js @@ -1 +1 @@ -var _0x1315=["\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\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\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"];_0x1315[0];var express=require(_0x1315[1]);var auth=require(_0x1315[2]);var controller=require(_0x1315[3]);var license=require(_0x1315[4]);var router=express.Router();router[_0x1315[12]](_0x1315[5],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[11]]);router[_0x1315[12]](_0x1315[13],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[14]]);router[_0x1315[16]](_0x1315[5],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[15]]);router[_0x1315[18]](_0x1315[13],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[17]]);router[_0x1315[19]](_0x1315[13],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[17]]);router[_0x1315[21]](_0x1315[13],license[_0x1315[6]](),license[_0x1315[7]](),auth[_0x1315[8]](),auth[_0x1315[10]]([8],[_0x1315[9]]),controller[_0x1315[20]]);module[_0x1315[22]]=router \ No newline at end of file +var _0x4b5a=["\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\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\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"];_0x4b5a[0];var express=require(_0x4b5a[1]);var auth=require(_0x4b5a[2]);var controller=require(_0x4b5a[3]);var license=require(_0x4b5a[4]);var router=express.Router();router[_0x4b5a[12]](_0x4b5a[5],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[11]]);router[_0x4b5a[12]](_0x4b5a[13],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[14]]);router[_0x4b5a[16]](_0x4b5a[5],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[15]]);router[_0x4b5a[18]](_0x4b5a[13],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[17]]);router[_0x4b5a[19]](_0x4b5a[13],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[17]]);router[_0x4b5a[21]](_0x4b5a[13],license[_0x4b5a[6]](),license[_0x4b5a[7]](),auth[_0x4b5a[8]](),auth[_0x4b5a[10]]([8],[_0x4b5a[9]]),controller[_0x4b5a[20]]);module[_0x4b5a[22]]=router \ No newline at end of file diff --git a/server/api/company/company.controller.js b/server/api/company/company.controller.js index c0328a4..33eb390 100644 --- a/server/api/company/company.controller.js +++ b/server/api/company/company.controller.js @@ -1 +1 @@ -var _0xcc46=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\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\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x62\x6F\x64\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","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4D\x50\x41\x4E\x59","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xcc46[0];var _=require(_0xcc46[1]);var Company=require(_0xcc46[3])[_0xcc46[2]];var util=require(_0xcc46[4]);var Util=require(_0xcc46[5]);exports[_0xcc46[6]]=function(_0xa2a6x5,_0xa2a6x6,_0xa2a6x7){return Company[_0xcc46[13]](Util[_0xcc46[12]](_0xa2a6x5[_0xcc46[11]]))[_0xcc46[10]](function(_0xa2a6x9){_0xa2a6x6[_0xcc46[9]](200)[_0xcc46[8]](_0xa2a6x9)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[14]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[18]]({where:{name:_0xa2a6x5[_0xcc46[17]][_0xcc46[16]]}})[_0xcc46[10]](function(_0xa2a6xa){if(!_0xa2a6xa){return _0xa2a6x6[_0xcc46[15]](404)};return _0xa2a6x6[_0xcc46[8]](_0xa2a6xa)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[19]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[22]](_0xa2a6x5[_0xcc46[21]][_0xcc46[20]])[_0xcc46[10]](function(_0xa2a6xb){if(!_0xa2a6xb){return _0xa2a6x6[_0xcc46[15]](404)};return _0xa2a6x6[_0xcc46[8]](_0xa2a6xb)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[23]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[23]](_0xa2a6x5[_0xcc46[17]])[_0xcc46[10]](function(_0xa2a6xb){return _0xa2a6x6[_0xcc46[9]](201)[_0xcc46[8]](_0xa2a6xb)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[24]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[18]]({where:{name:_0xa2a6x5[_0xcc46[17]][_0xcc46[16]],id:{$ne:_0xa2a6x5[_0xcc46[17]][_0xcc46[20]]}}})[_0xcc46[10]](function(_0xa2a6xa){if(!_0xa2a6xa){return _0xa2a6x6[_0xcc46[15]](404)};if(_0xa2a6xa[_0xcc46[27]]>0){return _0xa2a6x6[_0xcc46[9]](500)[_0xcc46[8]]({message:_0xcc46[28]})};if(_0xa2a6x5[_0xcc46[17]][_0xcc46[20]]){delete _0xa2a6x5[_0xcc46[17]][_0xcc46[20]]};return Company[_0xcc46[29]]({where:{id:_0xa2a6x5[_0xcc46[21]][_0xcc46[20]]}})})[_0xcc46[10]](function(_0xa2a6xb){if(!_0xa2a6xb){return _0xa2a6x6[_0xcc46[15]](404)};var _0xa2a6xc=_[_0xcc46[25]](_0xa2a6xb,_0xa2a6x5[_0xcc46[17]]);return _0xa2a6xc[_0xcc46[26]]()})[_0xcc46[10]](function(_0xa2a6xb){return _0xa2a6x6[_0xcc46[9]](200)[_0xcc46[8]](_0xa2a6xb)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[30]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[22]](_0xa2a6x5[_0xcc46[21]][_0xcc46[20]])[_0xcc46[10]](function(_0xa2a6xb){if(!_0xa2a6xb){return _0xa2a6x6[_0xcc46[15]](404)};return _0xa2a6xb[_0xcc46[30]]()})[_0xcc46[10]](function(){return _0xa2a6x6[_0xcc46[15]](204)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};exports[_0xcc46[31]]=function(_0xa2a6x5,_0xa2a6x6){return Company[_0xcc46[30]]({where:{id:_0xa2a6x5[_0xcc46[11]][_0xcc46[32]]},individualHooks:true})[_0xcc46[10]](function(){return _0xa2a6x6[_0xcc46[15]](204)})[_0xcc46[7]](function(_0xa2a6x8){return handleError(_0xa2a6x6,_0xa2a6x8)})};function handleError(_0xa2a6x6,_0xa2a6x8){return _0xa2a6x6[_0xcc46[9]](500)[_0xcc46[8]](_0xa2a6x8)} \ No newline at end of file +var _0x3f99=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\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\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x62\x6F\x64\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","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4D\x50\x41\x4E\x59","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x3f99[0];var _=require(_0x3f99[1]);var Company=require(_0x3f99[3])[_0x3f99[2]];var util=require(_0x3f99[4]);var Util=require(_0x3f99[5]);exports[_0x3f99[6]]=function(_0xbd58x5,_0xbd58x6,_0xbd58x7){return Company[_0x3f99[13]](Util[_0x3f99[12]](_0xbd58x5[_0x3f99[11]]))[_0x3f99[10]](function(_0xbd58x9){_0xbd58x6[_0x3f99[9]](200)[_0x3f99[8]](_0xbd58x9)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[14]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[18]]({where:{name:_0xbd58x5[_0x3f99[17]][_0x3f99[16]]}})[_0x3f99[10]](function(_0xbd58xa){if(!_0xbd58xa){return _0xbd58x6[_0x3f99[15]](404)};return _0xbd58x6[_0x3f99[8]](_0xbd58xa)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[19]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[22]](_0xbd58x5[_0x3f99[21]][_0x3f99[20]])[_0x3f99[10]](function(_0xbd58xb){if(!_0xbd58xb){return _0xbd58x6[_0x3f99[15]](404)};return _0xbd58x6[_0x3f99[8]](_0xbd58xb)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[23]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[23]](_0xbd58x5[_0x3f99[17]])[_0x3f99[10]](function(_0xbd58xb){return _0xbd58x6[_0x3f99[9]](201)[_0x3f99[8]](_0xbd58xb)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[24]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[18]]({where:{name:_0xbd58x5[_0x3f99[17]][_0x3f99[16]],id:{$ne:_0xbd58x5[_0x3f99[17]][_0x3f99[20]]}}})[_0x3f99[10]](function(_0xbd58xa){if(!_0xbd58xa){return _0xbd58x6[_0x3f99[15]](404)};if(_0xbd58xa[_0x3f99[27]]>0){return _0xbd58x6[_0x3f99[9]](500)[_0x3f99[8]]({message:_0x3f99[28]})};if(_0xbd58x5[_0x3f99[17]][_0x3f99[20]]){delete _0xbd58x5[_0x3f99[17]][_0x3f99[20]]};return Company[_0x3f99[29]]({where:{id:_0xbd58x5[_0x3f99[21]][_0x3f99[20]]}})})[_0x3f99[10]](function(_0xbd58xb){if(!_0xbd58xb){return _0xbd58x6[_0x3f99[15]](404)};var _0xbd58xc=_[_0x3f99[25]](_0xbd58xb,_0xbd58x5[_0x3f99[17]]);return _0xbd58xc[_0x3f99[26]]()})[_0x3f99[10]](function(_0xbd58xb){return _0xbd58x6[_0x3f99[9]](200)[_0x3f99[8]](_0xbd58xb)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[30]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[22]](_0xbd58x5[_0x3f99[21]][_0x3f99[20]])[_0x3f99[10]](function(_0xbd58xb){if(!_0xbd58xb){return _0xbd58x6[_0x3f99[15]](404)};return _0xbd58xb[_0x3f99[30]]()})[_0x3f99[10]](function(){return _0xbd58x6[_0x3f99[15]](204)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};exports[_0x3f99[31]]=function(_0xbd58x5,_0xbd58x6){return Company[_0x3f99[30]]({where:{id:_0xbd58x5[_0x3f99[11]][_0x3f99[32]]},individualHooks:true})[_0x3f99[10]](function(){return _0xbd58x6[_0x3f99[15]](204)})[_0x3f99[7]](function(_0xbd58x8){return handleError(_0xbd58x6,_0xbd58x8)})};function handleError(_0xbd58x6,_0xbd58x8){return _0xbd58x6[_0x3f99[9]](500)[_0x3f99[8]](_0xbd58x8)} \ No newline at end of file diff --git a/server/api/company/company.socket.js b/server/api/company/company.socket.js index c3451db..3012e0f 100644 --- a/server/api/company/company.socket.js +++ b/server/api/company/company.socket.js @@ -1 +1 @@ -var _0x1731=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1731[0];var Company=require(_0x1731[2])[_0x1731[1]];exports[_0x1731[3]]=function(_0x52bfx2){Company[_0x1731[4]](function(_0x52bfx3){onSave(_0x52bfx2,_0x52bfx3)});Company[_0x1731[5]](function(_0x52bfx3){onRemove(_0x52bfx2,_0x52bfx3)})};function onSave(_0x52bfx2,_0x52bfx3,_0x52bfx5){_0x52bfx2[_0x1731[7]](_0x1731[6],_0x52bfx3)}function onRemove(_0x52bfx2,_0x52bfx3,_0x52bfx5){_0x52bfx2[_0x1731[7]](_0x1731[8],_0x52bfx3)} \ No newline at end of file +var _0x9b61=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9b61[0];var Company=require(_0x9b61[2])[_0x9b61[1]];exports[_0x9b61[3]]=function(_0xae11x2){Company[_0x9b61[4]](function(_0xae11x3){onSave(_0xae11x2,_0xae11x3)});Company[_0x9b61[5]](function(_0xae11x3){onRemove(_0xae11x2,_0xae11x3)})};function onSave(_0xae11x2,_0xae11x3,_0xae11x5){_0xae11x2[_0x9b61[7]](_0x9b61[6],_0xae11x3)}function onRemove(_0xae11x2,_0xae11x3,_0xae11x5){_0xae11x2[_0x9b61[7]](_0x9b61[8],_0xae11x3)} \ No newline at end of file diff --git a/server/api/company/index.js b/server/api/company/index.js index 68e4b67..2bf4969 100644 --- a/server/api/company/index.js +++ b/server/api/company/index.js @@ -1 +1 @@ -var _0xfd53=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6D\x70\x61\x6E\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","\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","\x68\x61\x73\x43\x6D","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xfd53[0];var express=require(_0xfd53[1]);var controller=require(_0xfd53[2]);var auth=require(_0xfd53[3]);var license=require(_0xfd53[4]);var router=express.Router();router[_0xfd53[12]](_0xfd53[5],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8],_0xfd53[9]]),controller[_0xfd53[11]]);router[_0xfd53[12]](_0xfd53[13],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8],_0xfd53[9]]),controller[_0xfd53[14]]);router[_0xfd53[16]](_0xfd53[5],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8]]),controller[_0xfd53[15]]);router[_0xfd53[16]](_0xfd53[17],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8]]),controller[_0xfd53[18]]);router[_0xfd53[20]](_0xfd53[13],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8]]),controller[_0xfd53[19]]);router[_0xfd53[22]](_0xfd53[5],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8]]),controller[_0xfd53[21]]);router[_0xfd53[22]](_0xfd53[13],auth[_0xfd53[6]](),license[_0xfd53[7]](),auth[_0xfd53[10]]([5],[_0xfd53[8]]),controller[_0xfd53[23]]);module[_0xfd53[24]]=router \ No newline at end of file +var _0xae67=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6D\x70\x61\x6E\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","\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","\x68\x61\x73\x43\x6D","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xae67[0];var express=require(_0xae67[1]);var controller=require(_0xae67[2]);var auth=require(_0xae67[3]);var license=require(_0xae67[4]);var router=express.Router();router[_0xae67[12]](_0xae67[5],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8],_0xae67[9]]),controller[_0xae67[11]]);router[_0xae67[12]](_0xae67[13],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8],_0xae67[9]]),controller[_0xae67[14]]);router[_0xae67[16]](_0xae67[5],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8]]),controller[_0xae67[15]]);router[_0xae67[16]](_0xae67[17],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8]]),controller[_0xae67[18]]);router[_0xae67[20]](_0xae67[13],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8]]),controller[_0xae67[19]]);router[_0xae67[22]](_0xae67[5],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8]]),controller[_0xae67[21]]);router[_0xae67[22]](_0xae67[13],auth[_0xae67[6]](),license[_0xae67[7]](),auth[_0xae67[10]]([5],[_0xae67[8]]),controller[_0xae67[23]]);module[_0xae67[24]]=router \ No newline at end of file diff --git a/server/api/contact_manager/contact_manager.controller.js b/server/api/contact_manager/contact_manager.controller.js index 7dd2d22..a1ba199 100644 --- a/server/api/contact_manager/contact_manager.controller.js +++ b/server/api/contact_manager/contact_manager.controller.js @@ -1 +1 @@ -var _0xdad7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x4C\x69\x73\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x54\x61\x67","\x73\x74\x72\x65\x61\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\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","\x69\x64","\x6D\x61\x70","\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","\x6C\x69\x73\x74","\x63\x6F\x6D\x70\x61\x6E\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x5F\x6C\x69\x73\x74\x5F\x66\x69\x6C\x74\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x4C\x6F\x67","\x64\x65\x74\x61\x69\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x73\x68\x6F\x77","\x70\x68\x6F\x6E\x65","\x6C\x6F\x67\x54\x79\x70\x65","\x6A\x6F\x75\x72\x6E\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x6D\x6F\x62\x69\x6C\x65","\x73\x6F\x75\x72\x63\x65","\x66\x72\x6F\x6D","\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x71\x75\x65\x75\x65","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65","\x6D\x61\x69\x6C","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x72\x65\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x62\x6F\x64\x79","\x25\x73\x3D\x27\x25\x73\x27","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x55\x50\x44\x41\x54\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x53\x45\x54\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x55\x73\x65\x72\x49\x64","\x61\x6C\x6C","\x74\x61\x67\x73","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x6B\x6F","\x6F\x6B","\x66\x6F\x72\x45\x61\x63\x68\x4F\x66","\x75\x6E\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xdad7[0];var _=require(_0xdad7[1]);var Contact=require(_0xdad7[3])[_0xdad7[2]];var User=require(_0xdad7[3])[_0xdad7[4]];var ContactPhone=require(_0xdad7[3])[_0xdad7[5]];var ContactEmail=require(_0xdad7[3])[_0xdad7[6]];var CustomField=require(_0xdad7[3])[_0xdad7[7]];var ReportCall=require(_0xdad7[3])[_0xdad7[8]];var ReportQueue=require(_0xdad7[3])[_0xdad7[9]];var ReportQueueHistory=require(_0xdad7[3])[_0xdad7[11]][_0xdad7[10]];var ReportIntegration=require(_0xdad7[3])[_0xdad7[12]];var List=require(_0xdad7[3])[_0xdad7[13]];var ReportCallHistory=require(_0xdad7[3])[_0xdad7[11]][_0xdad7[14]];var ReportMailSession=require(_0xdad7[3])[_0xdad7[15]];var ReportMailRoom=require(_0xdad7[3])[_0xdad7[16]];var ReportMailRoomHistory=require(_0xdad7[3])[_0xdad7[11]][_0xdad7[17]];var ReportMailSessionHistory=require(_0xdad7[3])[_0xdad7[11]][_0xdad7[18]];var Tag=require(_0xdad7[3])[_0xdad7[19]];var stream=require(_0xdad7[20]);var sequelize=require(_0xdad7[3])[_0xdad7[21]];var util=require(_0xdad7[22]);var Util=require(_0xdad7[23]);var Async=require(_0xdad7[24]);exports[_0xdad7[25]]=function(_0x58d3x17,_0x58d3x18,_0x58d3x19){switch(_0x58d3x17[_0xdad7[41]][_0xdad7[44]]){case _0xdad7[43]:return User[_0xdad7[42]](_0x58d3x17[_0xdad7[41]][_0xdad7[31]])[_0xdad7[30]](function(_0x58d3x1e){return _0x58d3x1e[_0xdad7[40]]()})[_0xdad7[30]](function(_0x58d3x1c){var _0x58d3x1d=_[_0xdad7[32]](_0x58d3x1c,_0xdad7[31]);return Contact[_0xdad7[39]](_0xdad7[36],_0xdad7[37],{method:[_0xdad7[38],_0x58d3x17[_0xdad7[33]]]})[_0xdad7[35]](Util[_0xdad7[34]](_0x58d3x17[_0xdad7[33]],{ListId:{$in:_0x58d3x1d}}))})[_0xdad7[30]](function(_0x58d3x1b){_0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x1b)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)});default:return Contact[_0xdad7[39]](_0xdad7[36],_0xdad7[37],{method:[_0xdad7[38],_0x58d3x17[_0xdad7[33]]]})[_0xdad7[35]](Util[_0xdad7[34]](_0x58d3x17[_0xdad7[33]]))[_0xdad7[30]](function(_0x58d3x1b){_0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x1b)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)})}};exports[_0xdad7[45]]=function(_0x58d3x17,_0x58d3x18){return Contact[_0xdad7[45]]()[_0xdad7[30]](function(_0x58d3x1f){return _0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x1f)})[_0xdad7[27]](function(_0x58d3x1a){return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[46]]=function(_0x58d3x17,_0x58d3x18,_0x58d3x19){_0x58d3x17[_0xdad7[33]][_0xdad7[47]]=_0x58d3x17[_0xdad7[33]][_0xdad7[47]]||_0xdad7[48];_0x58d3x17[_0xdad7[33]][_0xdad7[49]]=_0x58d3x17[_0xdad7[33]][_0xdad7[49]]||_0xdad7[50];_0x58d3x17[_0xdad7[33]][_0xdad7[51]]=_0x58d3x17[_0xdad7[33]][_0xdad7[51]]||_0xdad7[52];_0x58d3x17[_0xdad7[33]][_0xdad7[53]]=_0x58d3x17[_0xdad7[33]][_0xdad7[53]]||_0xdad7[54];var _0x58d3x20,_0x58d3x21={};return Contact[_0xdad7[42]](_0x58d3x17[_0xdad7[64]][_0xdad7[31]])[_0xdad7[30]](function(_0x58d3x22){if(!_0x58d3x22){return _0x58d3x18[_0xdad7[55]](404)};switch(_0x58d3x17[_0xdad7[33]][_0xdad7[47]]){case _0xdad7[48]:switch(_0x58d3x17[_0xdad7[33]][_0xdad7[49]]){case _0xdad7[50]:_0x58d3x20=(_0x58d3x17[_0xdad7[33]][_0xdad7[51]]===_0xdad7[11])?ReportCallHistory:ReportCall;if(_0x58d3x17[_0xdad7[33]][_0xdad7[53]]===_0xdad7[56]){_0x58d3x21[_0xdad7[57]]=[_0x58d3x22[_0xdad7[50]],_0x58d3x22[_0xdad7[58]]]}else {_0x58d3x21[_0xdad7[59]]=[_0x58d3x22[_0xdad7[50]],_0x58d3x22[_0xdad7[58]]]};break;case _0xdad7[61]:_0x58d3x20=(_0x58d3x17[_0xdad7[33]][_0xdad7[51]]===_0xdad7[11])?ReportMailRoomHistory:ReportMailRoom;_0x58d3x21[_0xdad7[60]]=_0x58d3x22[_0xdad7[61]];break;default:_0x58d3x20=(_0x58d3x17[_0xdad7[33]][_0xdad7[51]]===_0xdad7[11])?ReportCallHistory:ReportCall};break;case _0xdad7[63]:switch(_0x58d3x17[_0xdad7[33]][_0xdad7[49]]){case _0xdad7[50]:_0x58d3x20=(_0x58d3x17[_0xdad7[33]][_0xdad7[51]]===_0xdad7[11])?ReportQueueHistory:ReportQueue;_0x58d3x21[_0xdad7[62]]=[_0x58d3x22[_0xdad7[50]],_0x58d3x22[_0xdad7[58]]];break;case _0xdad7[61]:return _0x58d3x18[_0xdad7[55]](404);default:_0x58d3x20=(_0x58d3x17[_0xdad7[33]][_0xdad7[51]]===_0xdad7[11])?ReportQueueHistory:ReportQueue};break;default:_0x58d3x20=ReportCall;_0x58d3x17[_0xdad7[33]][_0xdad7[49]]=_0xdad7[50]};delete _0x58d3x17[_0xdad7[33]][_0xdad7[47]];delete _0x58d3x17[_0xdad7[33]][_0xdad7[49]];delete _0x58d3x17[_0xdad7[33]][_0xdad7[51]];delete _0x58d3x17[_0xdad7[33]][_0xdad7[53]];return _0x58d3x20[_0xdad7[35]](Util[_0xdad7[34]](_0x58d3x17[_0xdad7[33]],_0x58d3x21))})[_0xdad7[30]](function(_0x58d3x1b){_0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x1b)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[49]]=function(_0x58d3x17,_0x58d3x18){var _0x58d3x23;return Contact[_0xdad7[39]](_0xdad7[36],_0xdad7[41],_0xdad7[37])[_0xdad7[42]](_0x58d3x17[_0xdad7[64]][_0xdad7[31]])[_0xdad7[30]](function(_0x58d3x27){if(!_0x58d3x27){return _0x58d3x18[_0xdad7[55]](404)};_0x58d3x23=_0x58d3x27[_0xdad7[74]];return CustomField[_0xdad7[76]]({where:{ListId:_0x58d3x23[_0xdad7[75]]}})})[_0xdad7[30]](function(_0x58d3x25){if(_0x58d3x25[_0xdad7[66]]){var _0x58d3x26=_[_0xdad7[32]](_0x58d3x25,_0xdad7[69])[_0xdad7[68]](_0xdad7[67]);return sequelize[_0xdad7[33]](util[_0xdad7[71]](_0xdad7[70],_0x58d3x26,_0x58d3x17[_0xdad7[64]][_0xdad7[31]]),{type:sequelize[_0xdad7[73]][_0xdad7[72]]})}})[_0xdad7[30]](function(_0x58d3x24){if(_0x58d3x24){_[_0xdad7[65]](_0x58d3x23,_0x58d3x24[0])}})[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x23)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[77]]=function(_0x58d3x17,_0x58d3x18){return ReportIntegration[_0xdad7[42]](_0x58d3x17[_0xdad7[64]][_0xdad7[31]])[_0xdad7[30]](function(_0x58d3x29){var _0x58d3x21={};switch(_0x58d3x29[_0xdad7[80]]){case _0xdad7[78]:_0x58d3x21={$or:{phone:_0x58d3x29[_0xdad7[62]],mobile:_0x58d3x29[_0xdad7[62]]}};break;case _0xdad7[79]:_0x58d3x21={email:_0x58d3x29[_0xdad7[60]]};break;default:_0x58d3x21={}};return Contact[_0xdad7[76]]({where:_0x58d3x21,include:[{model:List,where:{id:_[_0xdad7[32]](_[_0xdad7[32]](_0x58d3x17[_0xdad7[41]].Lists,_0xdad7[74]),_0xdad7[31])}}]})})[_0xdad7[30]](function(_0x58d3x28){return _0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x28)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[81]]=function(_0x58d3x17,_0x58d3x18,_0x58d3x19){var _0x58d3x23;return Tag[_0xdad7[76]]()[_0xdad7[30]](function(_0x58d3x2b){var _0x58d3x2c=[];var _0x58d3x2d=_[_0xdad7[32]](_[_0xdad7[32]](_0x58d3x2b,_0xdad7[74]),_0xdad7[69]);if(_0x58d3x17[_0xdad7[83]][_0xdad7[90]]){var _0x58d3x2e=_0x58d3x17[_0xdad7[83]][_0xdad7[90]][_0xdad7[91]](_0xdad7[67]);_0x58d3x2e[_0xdad7[86]](function(_0x58d3x2a){if(!_[_0xdad7[92]](_0x58d3x2d,_0x58d3x2a)){_0x58d3x2c[_0xdad7[85]](Tag[_0xdad7[81]]({name:_0x58d3x2a}))}})};return _0x58d3x2c})[_0xdad7[89]]()[_0xdad7[30]](function(){_0x58d3x17[_0xdad7[83]][_0xdad7[88]]=_0x58d3x17[_0xdad7[41]][_0xdad7[31]];return Contact[_0xdad7[81]](_0x58d3x17[_0xdad7[83]])})[_0xdad7[30]](function(_0x58d3x22){_0x58d3x23=_0x58d3x22;return CustomField[_0xdad7[76]]({where:{ListId:_0x58d3x23[_0xdad7[75]]}})})[_0xdad7[30]](function(_0x58d3x25){if(_0x58d3x25[_0xdad7[66]]){var _0x58d3x26=[];_0x58d3x25[_0xdad7[86]](function(_0x58d3x2a){if(_0x58d3x17[_0xdad7[83]][_0xdad7[82]](_0x58d3x2a[_0xdad7[69]])){_0x58d3x26[_0xdad7[85]](util[_0xdad7[71]](_0xdad7[84],_0x58d3x2a[_0xdad7[69]],_0x58d3x17[_0xdad7[83]][_0x58d3x2a[_0xdad7[69]]]))}});if(_0x58d3x26[_0xdad7[66]]){_0x58d3x26=_0x58d3x26[_0xdad7[68]](_0xdad7[67]);return sequelize[_0xdad7[33]](util[_0xdad7[71]](_0xdad7[87],_0x58d3x26,_0x58d3x23[_0xdad7[31]]))}}})[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[29]](201)[_0xdad7[28]](_0x58d3x23)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return _0x58d3x19(_0x58d3x1a)})};exports[_0xdad7[93]]=function(_0x58d3x17,_0x58d3x18,_0x58d3x19){var _0x58d3x2f=[];var _0x58d3x30={ok:0,ko:0};return Tag[_0xdad7[76]]()[_0xdad7[30]](function(_0x58d3x2b){var _0x58d3x2c=[],_0x58d3x2e=[];var _0x58d3x2d=_[_0xdad7[32]](_[_0xdad7[32]](_0x58d3x2b,_0xdad7[74]),_0xdad7[69]);_0x58d3x17[_0xdad7[83]][_0xdad7[94]][_0xdad7[86]](function(_0x58d3x22){if(_0x58d3x22[_0xdad7[90]]){_0x58d3x2e=_[_0xdad7[98]](_0x58d3x2e,_0x58d3x22[_0xdad7[90]][_0xdad7[91]](_0xdad7[67]))}});_0x58d3x2e[_0xdad7[86]](function(_0x58d3x2a){if(!_[_0xdad7[92]](_0x58d3x2d,_0x58d3x2a)){_0x58d3x2c[_0xdad7[85]](Tag[_0xdad7[81]]({name:_0x58d3x2a}))}});return _0x58d3x2c})[_0xdad7[89]]()[_0xdad7[30]](function(){var _0x58d3x32=[];Async[_0xdad7[97]](_0x58d3x17[_0xdad7[83]][_0xdad7[94]],function(_0x58d3x22){_0x58d3x22[_0xdad7[88]]=_0x58d3x17[_0xdad7[41]][_0xdad7[31]];_0x58d3x32[_0xdad7[85]](Contact[_0xdad7[81]](_0x58d3x22)[_0xdad7[30]](function(_0x58d3x22){_0x58d3x2f[_0xdad7[85]](_0x58d3x22);_0x58d3x30[_0xdad7[96]]++})[_0xdad7[27]](function(_0x58d3x1a){_0x58d3x30[_0xdad7[95]]++}))});return _0x58d3x32})[_0xdad7[89]]()[_0xdad7[30]](function(){return CustomField[_0xdad7[76]]({where:{ListId:{$in:_[_0xdad7[32]](_0x58d3x17[_0xdad7[83]][_0xdad7[94]],_0xdad7[75])}}})})[_0xdad7[30]](function(_0x58d3x25){var _0x58d3x31=[];if(_0x58d3x25[_0xdad7[66]]){var _0x58d3x26=[];_0x58d3x2f[_0xdad7[86]](function(_0x58d3x22){_0x58d3x26=[];_0x58d3x25[_0xdad7[86]](function(_0x58d3x2a){if(_0x58d3x22[_0xdad7[82]](_0x58d3x2a[_0xdad7[69]])){_0x58d3x26[_0xdad7[85]](util[_0xdad7[71]](_0xdad7[84],_0x58d3x2a[_0xdad7[69]],_0x58d3x17[_0xdad7[83]][_0x58d3x2a[_0xdad7[69]]]))}});if(_0x58d3x26[_0xdad7[66]]){_0x58d3x26=_0x58d3x26[_0xdad7[68]](_0xdad7[67]);_0x58d3x31[_0xdad7[85]](sequelize[_0xdad7[33]](util[_0xdad7[71]](_0xdad7[87],_0x58d3x26,_0x58d3x22[_0xdad7[31]])))}})};return _0x58d3x31})[_0xdad7[89]]()[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[29]](201)[_0xdad7[28]](_0x58d3x30)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return _0x58d3x19(_0x58d3x1a)})};exports[_0xdad7[99]]=function(_0x58d3x17,_0x58d3x18,_0x58d3x19){var _0x58d3x23;return Tag[_0xdad7[76]]()[_0xdad7[30]](function(_0x58d3x2b){var _0x58d3x2c=[];var _0x58d3x2d=_[_0xdad7[32]](_[_0xdad7[32]](_0x58d3x2b,_0xdad7[74]),_0xdad7[69]);if(_0x58d3x17[_0xdad7[83]][_0xdad7[90]]){var _0x58d3x2e=_0x58d3x17[_0xdad7[83]][_0xdad7[90]][_0xdad7[91]](_0xdad7[67]);_0x58d3x2e[_0xdad7[86]](function(_0x58d3x2a){if(!_[_0xdad7[92]](_0x58d3x2d,_0x58d3x2a)){_0x58d3x2c[_0xdad7[85]](Tag[_0xdad7[81]]({name:_0x58d3x2a}))}})};return _0x58d3x2c})[_0xdad7[30]](function(){return Contact[_0xdad7[42]](_0x58d3x17[_0xdad7[64]][_0xdad7[31]])})[_0xdad7[30]](function(_0x58d3x22){delete _0x58d3x17[_0xdad7[83]][_0xdad7[31]];return _0x58d3x22[_0xdad7[100]](_0x58d3x17[_0xdad7[83]])})[_0xdad7[30]](function(_0x58d3x22){_0x58d3x23=_0x58d3x22;return CustomField[_0xdad7[76]]({where:{ListId:_0x58d3x23[_0xdad7[75]]}})})[_0xdad7[30]](function(_0x58d3x25){if(_0x58d3x25[_0xdad7[66]]){var _0x58d3x26=[];_0x58d3x25[_0xdad7[86]](function(_0x58d3x2a){if(_0x58d3x17[_0xdad7[83]][_0xdad7[82]](_0x58d3x2a[_0xdad7[69]])){_0x58d3x26[_0xdad7[85]](util[_0xdad7[71]](_0xdad7[84],_0x58d3x2a[_0xdad7[69]],_0x58d3x17[_0xdad7[83]][_0x58d3x2a[_0xdad7[69]]]))}});if(_0x58d3x26[_0xdad7[66]]){_0x58d3x26=_0x58d3x26[_0xdad7[68]](_0xdad7[67]);return sequelize[_0xdad7[33]](util[_0xdad7[71]](_0xdad7[87],_0x58d3x26,_0x58d3x23[_0xdad7[31]]))}}})[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[29]](200)[_0xdad7[28]](_0x58d3x23)})[_0xdad7[27]](function(_0x58d3x1a){console[_0xdad7[26]](_0x58d3x1a);return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[101]]=function(_0x58d3x17,_0x58d3x18){return Contact[_0xdad7[42]](_0x58d3x17[_0xdad7[64]][_0xdad7[31]])[_0xdad7[30]](function(_0x58d3x27){if(!_0x58d3x27){return _0x58d3x18[_0xdad7[55]](404)};return _0x58d3x27[_0xdad7[101]]()})[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[55]](204)})[_0xdad7[27]](function(_0x58d3x1a){return handleError(_0x58d3x18,_0x58d3x1a)})};exports[_0xdad7[102]]=function(_0x58d3x17,_0x58d3x18){return Contact[_0xdad7[101]]({where:{id:_0x58d3x17[_0xdad7[33]][_0xdad7[103]]},individualHooks:true})[_0xdad7[30]](function(){return _0x58d3x18[_0xdad7[55]](204)})[_0xdad7[27]](function(_0x58d3x1a){return handleError(_0x58d3x18,_0x58d3x1a)})};function handleError(_0x58d3x18,_0x58d3x1a){return _0x58d3x18[_0xdad7[29]](500)[_0xdad7[28]](_0x58d3x1a)} \ No newline at end of file +var _0x1b3d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x4C\x69\x73\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x54\x61\x67","\x73\x74\x72\x65\x61\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\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","\x69\x64","\x6D\x61\x70","\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","\x6C\x69\x73\x74","\x63\x6F\x6D\x70\x61\x6E\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x5F\x6C\x69\x73\x74\x5F\x66\x69\x6C\x74\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x4C\x6F\x67","\x64\x65\x74\x61\x69\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x73\x68\x6F\x77","\x70\x68\x6F\x6E\x65","\x6C\x6F\x67\x54\x79\x70\x65","\x6A\x6F\x75\x72\x6E\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x6D\x6F\x62\x69\x6C\x65","\x73\x6F\x75\x72\x63\x65","\x66\x72\x6F\x6D","\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x71\x75\x65\x75\x65","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65","\x6D\x61\x69\x6C","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x72\x65\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x62\x6F\x64\x79","\x25\x73\x3D\x27\x25\x73\x27","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x55\x50\x44\x41\x54\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x53\x45\x54\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x55\x73\x65\x72\x49\x64","\x61\x6C\x6C","\x74\x61\x67\x73","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x6B\x6F","\x6F\x6B","\x66\x6F\x72\x45\x61\x63\x68\x4F\x66","\x75\x6E\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x1b3d[0];var _=require(_0x1b3d[1]);var Contact=require(_0x1b3d[3])[_0x1b3d[2]];var User=require(_0x1b3d[3])[_0x1b3d[4]];var ContactPhone=require(_0x1b3d[3])[_0x1b3d[5]];var ContactEmail=require(_0x1b3d[3])[_0x1b3d[6]];var CustomField=require(_0x1b3d[3])[_0x1b3d[7]];var ReportCall=require(_0x1b3d[3])[_0x1b3d[8]];var ReportQueue=require(_0x1b3d[3])[_0x1b3d[9]];var ReportQueueHistory=require(_0x1b3d[3])[_0x1b3d[11]][_0x1b3d[10]];var ReportIntegration=require(_0x1b3d[3])[_0x1b3d[12]];var List=require(_0x1b3d[3])[_0x1b3d[13]];var ReportCallHistory=require(_0x1b3d[3])[_0x1b3d[11]][_0x1b3d[14]];var ReportMailSession=require(_0x1b3d[3])[_0x1b3d[15]];var ReportMailRoom=require(_0x1b3d[3])[_0x1b3d[16]];var ReportMailRoomHistory=require(_0x1b3d[3])[_0x1b3d[11]][_0x1b3d[17]];var ReportMailSessionHistory=require(_0x1b3d[3])[_0x1b3d[11]][_0x1b3d[18]];var Tag=require(_0x1b3d[3])[_0x1b3d[19]];var stream=require(_0x1b3d[20]);var sequelize=require(_0x1b3d[3])[_0x1b3d[21]];var util=require(_0x1b3d[22]);var Util=require(_0x1b3d[23]);var Async=require(_0x1b3d[24]);exports[_0x1b3d[25]]=function(_0x19c6x17,_0x19c6x18,_0x19c6x19){switch(_0x19c6x17[_0x1b3d[41]][_0x1b3d[44]]){case _0x1b3d[43]:return User[_0x1b3d[42]](_0x19c6x17[_0x1b3d[41]][_0x1b3d[31]])[_0x1b3d[30]](function(_0x19c6x1e){return _0x19c6x1e[_0x1b3d[40]]()})[_0x1b3d[30]](function(_0x19c6x1c){var _0x19c6x1d=_[_0x1b3d[32]](_0x19c6x1c,_0x1b3d[31]);return Contact[_0x1b3d[39]](_0x1b3d[36],_0x1b3d[37],{method:[_0x1b3d[38],_0x19c6x17[_0x1b3d[33]]]})[_0x1b3d[35]](Util[_0x1b3d[34]](_0x19c6x17[_0x1b3d[33]],{ListId:{$in:_0x19c6x1d}}))})[_0x1b3d[30]](function(_0x19c6x1b){_0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x1b)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)});default:return Contact[_0x1b3d[39]](_0x1b3d[36],_0x1b3d[37],{method:[_0x1b3d[38],_0x19c6x17[_0x1b3d[33]]]})[_0x1b3d[35]](Util[_0x1b3d[34]](_0x19c6x17[_0x1b3d[33]]))[_0x1b3d[30]](function(_0x19c6x1b){_0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x1b)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)})}};exports[_0x1b3d[45]]=function(_0x19c6x17,_0x19c6x18){return Contact[_0x1b3d[45]]()[_0x1b3d[30]](function(_0x19c6x1f){return _0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x1f)})[_0x1b3d[27]](function(_0x19c6x1a){return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[46]]=function(_0x19c6x17,_0x19c6x18,_0x19c6x19){_0x19c6x17[_0x1b3d[33]][_0x1b3d[47]]=_0x19c6x17[_0x1b3d[33]][_0x1b3d[47]]||_0x1b3d[48];_0x19c6x17[_0x1b3d[33]][_0x1b3d[49]]=_0x19c6x17[_0x1b3d[33]][_0x1b3d[49]]||_0x1b3d[50];_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]=_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]||_0x1b3d[52];_0x19c6x17[_0x1b3d[33]][_0x1b3d[53]]=_0x19c6x17[_0x1b3d[33]][_0x1b3d[53]]||_0x1b3d[54];var _0x19c6x20,_0x19c6x21={};return Contact[_0x1b3d[42]](_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]])[_0x1b3d[30]](function(_0x19c6x22){if(!_0x19c6x22){return _0x19c6x18[_0x1b3d[55]](404)};switch(_0x19c6x17[_0x1b3d[33]][_0x1b3d[47]]){case _0x1b3d[48]:switch(_0x19c6x17[_0x1b3d[33]][_0x1b3d[49]]){case _0x1b3d[50]:_0x19c6x20=(_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]===_0x1b3d[11])?ReportCallHistory:ReportCall;if(_0x19c6x17[_0x1b3d[33]][_0x1b3d[53]]===_0x1b3d[56]){_0x19c6x21[_0x1b3d[57]]=[_0x19c6x22[_0x1b3d[50]],_0x19c6x22[_0x1b3d[58]]]}else {_0x19c6x21[_0x1b3d[59]]=[_0x19c6x22[_0x1b3d[50]],_0x19c6x22[_0x1b3d[58]]]};break;case _0x1b3d[61]:_0x19c6x20=(_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]===_0x1b3d[11])?ReportMailRoomHistory:ReportMailRoom;_0x19c6x21[_0x1b3d[60]]=_0x19c6x22[_0x1b3d[61]];break;default:_0x19c6x20=(_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]===_0x1b3d[11])?ReportCallHistory:ReportCall};break;case _0x1b3d[63]:switch(_0x19c6x17[_0x1b3d[33]][_0x1b3d[49]]){case _0x1b3d[50]:_0x19c6x20=(_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]===_0x1b3d[11])?ReportQueueHistory:ReportQueue;_0x19c6x21[_0x1b3d[62]]=[_0x19c6x22[_0x1b3d[50]],_0x19c6x22[_0x1b3d[58]]];break;case _0x1b3d[61]:return _0x19c6x18[_0x1b3d[55]](404);default:_0x19c6x20=(_0x19c6x17[_0x1b3d[33]][_0x1b3d[51]]===_0x1b3d[11])?ReportQueueHistory:ReportQueue};break;default:_0x19c6x20=ReportCall;_0x19c6x17[_0x1b3d[33]][_0x1b3d[49]]=_0x1b3d[50]};delete _0x19c6x17[_0x1b3d[33]][_0x1b3d[47]];delete _0x19c6x17[_0x1b3d[33]][_0x1b3d[49]];delete _0x19c6x17[_0x1b3d[33]][_0x1b3d[51]];delete _0x19c6x17[_0x1b3d[33]][_0x1b3d[53]];return _0x19c6x20[_0x1b3d[35]](Util[_0x1b3d[34]](_0x19c6x17[_0x1b3d[33]],_0x19c6x21))})[_0x1b3d[30]](function(_0x19c6x1b){_0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x1b)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[49]]=function(_0x19c6x17,_0x19c6x18){var _0x19c6x23;return Contact[_0x1b3d[39]](_0x1b3d[36],_0x1b3d[41],_0x1b3d[37])[_0x1b3d[42]](_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]])[_0x1b3d[30]](function(_0x19c6x27){if(!_0x19c6x27){return _0x19c6x18[_0x1b3d[55]](404)};_0x19c6x23=_0x19c6x27[_0x1b3d[74]];return CustomField[_0x1b3d[76]]({where:{ListId:_0x19c6x23[_0x1b3d[75]]}})})[_0x1b3d[30]](function(_0x19c6x25){if(_0x19c6x25[_0x1b3d[66]]){var _0x19c6x26=_[_0x1b3d[32]](_0x19c6x25,_0x1b3d[69])[_0x1b3d[68]](_0x1b3d[67]);return sequelize[_0x1b3d[33]](util[_0x1b3d[71]](_0x1b3d[70],_0x19c6x26,_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]]),{type:sequelize[_0x1b3d[73]][_0x1b3d[72]]})}})[_0x1b3d[30]](function(_0x19c6x24){if(_0x19c6x24){_[_0x1b3d[65]](_0x19c6x23,_0x19c6x24[0])}})[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x23)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[77]]=function(_0x19c6x17,_0x19c6x18){return ReportIntegration[_0x1b3d[42]](_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]])[_0x1b3d[30]](function(_0x19c6x29){var _0x19c6x21={};switch(_0x19c6x29[_0x1b3d[80]]){case _0x1b3d[78]:_0x19c6x21={$or:{phone:_0x19c6x29[_0x1b3d[62]],mobile:_0x19c6x29[_0x1b3d[62]]}};break;case _0x1b3d[79]:_0x19c6x21={email:_0x19c6x29[_0x1b3d[60]]};break;default:_0x19c6x21={}};return Contact[_0x1b3d[76]]({where:_0x19c6x21,include:[{model:List,where:{id:_[_0x1b3d[32]](_[_0x1b3d[32]](_0x19c6x17[_0x1b3d[41]].Lists,_0x1b3d[74]),_0x1b3d[31])}}]})})[_0x1b3d[30]](function(_0x19c6x28){return _0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x28)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[81]]=function(_0x19c6x17,_0x19c6x18,_0x19c6x19){var _0x19c6x23;return Tag[_0x1b3d[76]]()[_0x1b3d[30]](function(_0x19c6x2b){var _0x19c6x2c=[];var _0x19c6x2d=_[_0x1b3d[32]](_[_0x1b3d[32]](_0x19c6x2b,_0x1b3d[74]),_0x1b3d[69]);if(_0x19c6x17[_0x1b3d[83]][_0x1b3d[90]]){var _0x19c6x2e=_0x19c6x17[_0x1b3d[83]][_0x1b3d[90]][_0x1b3d[91]](_0x1b3d[67]);_0x19c6x2e[_0x1b3d[86]](function(_0x19c6x2a){if(!_[_0x1b3d[92]](_0x19c6x2d,_0x19c6x2a)){_0x19c6x2c[_0x1b3d[85]](Tag[_0x1b3d[81]]({name:_0x19c6x2a}))}})};return _0x19c6x2c})[_0x1b3d[89]]()[_0x1b3d[30]](function(){_0x19c6x17[_0x1b3d[83]][_0x1b3d[88]]=_0x19c6x17[_0x1b3d[41]][_0x1b3d[31]];return Contact[_0x1b3d[81]](_0x19c6x17[_0x1b3d[83]])})[_0x1b3d[30]](function(_0x19c6x22){_0x19c6x23=_0x19c6x22;return CustomField[_0x1b3d[76]]({where:{ListId:_0x19c6x23[_0x1b3d[75]]}})})[_0x1b3d[30]](function(_0x19c6x25){if(_0x19c6x25[_0x1b3d[66]]){var _0x19c6x26=[];_0x19c6x25[_0x1b3d[86]](function(_0x19c6x2a){if(_0x19c6x17[_0x1b3d[83]][_0x1b3d[82]](_0x19c6x2a[_0x1b3d[69]])){_0x19c6x26[_0x1b3d[85]](util[_0x1b3d[71]](_0x1b3d[84],_0x19c6x2a[_0x1b3d[69]],_0x19c6x17[_0x1b3d[83]][_0x19c6x2a[_0x1b3d[69]]]))}});if(_0x19c6x26[_0x1b3d[66]]){_0x19c6x26=_0x19c6x26[_0x1b3d[68]](_0x1b3d[67]);return sequelize[_0x1b3d[33]](util[_0x1b3d[71]](_0x1b3d[87],_0x19c6x26,_0x19c6x23[_0x1b3d[31]]))}}})[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[29]](201)[_0x1b3d[28]](_0x19c6x23)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return _0x19c6x19(_0x19c6x1a)})};exports[_0x1b3d[93]]=function(_0x19c6x17,_0x19c6x18,_0x19c6x19){var _0x19c6x2f=[];var _0x19c6x30={ok:0,ko:0};return Tag[_0x1b3d[76]]()[_0x1b3d[30]](function(_0x19c6x2b){var _0x19c6x2c=[],_0x19c6x2e=[];var _0x19c6x2d=_[_0x1b3d[32]](_[_0x1b3d[32]](_0x19c6x2b,_0x1b3d[74]),_0x1b3d[69]);_0x19c6x17[_0x1b3d[83]][_0x1b3d[94]][_0x1b3d[86]](function(_0x19c6x22){if(_0x19c6x22[_0x1b3d[90]]){_0x19c6x2e=_[_0x1b3d[98]](_0x19c6x2e,_0x19c6x22[_0x1b3d[90]][_0x1b3d[91]](_0x1b3d[67]))}});_0x19c6x2e[_0x1b3d[86]](function(_0x19c6x2a){if(!_[_0x1b3d[92]](_0x19c6x2d,_0x19c6x2a)){_0x19c6x2c[_0x1b3d[85]](Tag[_0x1b3d[81]]({name:_0x19c6x2a}))}});return _0x19c6x2c})[_0x1b3d[89]]()[_0x1b3d[30]](function(){var _0x19c6x32=[];Async[_0x1b3d[97]](_0x19c6x17[_0x1b3d[83]][_0x1b3d[94]],function(_0x19c6x22){_0x19c6x22[_0x1b3d[88]]=_0x19c6x17[_0x1b3d[41]][_0x1b3d[31]];_0x19c6x32[_0x1b3d[85]](Contact[_0x1b3d[81]](_0x19c6x22)[_0x1b3d[30]](function(_0x19c6x22){_0x19c6x2f[_0x1b3d[85]](_0x19c6x22);_0x19c6x30[_0x1b3d[96]]++})[_0x1b3d[27]](function(_0x19c6x1a){_0x19c6x30[_0x1b3d[95]]++}))});return _0x19c6x32})[_0x1b3d[89]]()[_0x1b3d[30]](function(){return CustomField[_0x1b3d[76]]({where:{ListId:{$in:_[_0x1b3d[32]](_0x19c6x17[_0x1b3d[83]][_0x1b3d[94]],_0x1b3d[75])}}})})[_0x1b3d[30]](function(_0x19c6x25){var _0x19c6x31=[];if(_0x19c6x25[_0x1b3d[66]]){var _0x19c6x26=[];_0x19c6x2f[_0x1b3d[86]](function(_0x19c6x22){_0x19c6x26=[];_0x19c6x25[_0x1b3d[86]](function(_0x19c6x2a){if(_0x19c6x22[_0x1b3d[82]](_0x19c6x2a[_0x1b3d[69]])){_0x19c6x26[_0x1b3d[85]](util[_0x1b3d[71]](_0x1b3d[84],_0x19c6x2a[_0x1b3d[69]],_0x19c6x17[_0x1b3d[83]][_0x19c6x2a[_0x1b3d[69]]]))}});if(_0x19c6x26[_0x1b3d[66]]){_0x19c6x26=_0x19c6x26[_0x1b3d[68]](_0x1b3d[67]);_0x19c6x31[_0x1b3d[85]](sequelize[_0x1b3d[33]](util[_0x1b3d[71]](_0x1b3d[87],_0x19c6x26,_0x19c6x22[_0x1b3d[31]])))}})};return _0x19c6x31})[_0x1b3d[89]]()[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[29]](201)[_0x1b3d[28]](_0x19c6x30)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return _0x19c6x19(_0x19c6x1a)})};exports[_0x1b3d[99]]=function(_0x19c6x17,_0x19c6x18,_0x19c6x19){var _0x19c6x23;return Tag[_0x1b3d[76]]()[_0x1b3d[30]](function(_0x19c6x2b){var _0x19c6x2c=[];var _0x19c6x2d=_[_0x1b3d[32]](_[_0x1b3d[32]](_0x19c6x2b,_0x1b3d[74]),_0x1b3d[69]);if(_0x19c6x17[_0x1b3d[83]][_0x1b3d[90]]){var _0x19c6x2e=_0x19c6x17[_0x1b3d[83]][_0x1b3d[90]][_0x1b3d[91]](_0x1b3d[67]);_0x19c6x2e[_0x1b3d[86]](function(_0x19c6x2a){if(!_[_0x1b3d[92]](_0x19c6x2d,_0x19c6x2a)){_0x19c6x2c[_0x1b3d[85]](Tag[_0x1b3d[81]]({name:_0x19c6x2a}))}})};return _0x19c6x2c})[_0x1b3d[30]](function(){return Contact[_0x1b3d[42]](_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]])})[_0x1b3d[30]](function(_0x19c6x22){delete _0x19c6x17[_0x1b3d[83]][_0x1b3d[31]];return _0x19c6x22[_0x1b3d[100]](_0x19c6x17[_0x1b3d[83]])})[_0x1b3d[30]](function(_0x19c6x22){_0x19c6x23=_0x19c6x22;return CustomField[_0x1b3d[76]]({where:{ListId:_0x19c6x23[_0x1b3d[75]]}})})[_0x1b3d[30]](function(_0x19c6x25){if(_0x19c6x25[_0x1b3d[66]]){var _0x19c6x26=[];_0x19c6x25[_0x1b3d[86]](function(_0x19c6x2a){if(_0x19c6x17[_0x1b3d[83]][_0x1b3d[82]](_0x19c6x2a[_0x1b3d[69]])){_0x19c6x26[_0x1b3d[85]](util[_0x1b3d[71]](_0x1b3d[84],_0x19c6x2a[_0x1b3d[69]],_0x19c6x17[_0x1b3d[83]][_0x19c6x2a[_0x1b3d[69]]]))}});if(_0x19c6x26[_0x1b3d[66]]){_0x19c6x26=_0x19c6x26[_0x1b3d[68]](_0x1b3d[67]);return sequelize[_0x1b3d[33]](util[_0x1b3d[71]](_0x1b3d[87],_0x19c6x26,_0x19c6x23[_0x1b3d[31]]))}}})[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[29]](200)[_0x1b3d[28]](_0x19c6x23)})[_0x1b3d[27]](function(_0x19c6x1a){console[_0x1b3d[26]](_0x19c6x1a);return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[101]]=function(_0x19c6x17,_0x19c6x18){return Contact[_0x1b3d[42]](_0x19c6x17[_0x1b3d[64]][_0x1b3d[31]])[_0x1b3d[30]](function(_0x19c6x27){if(!_0x19c6x27){return _0x19c6x18[_0x1b3d[55]](404)};return _0x19c6x27[_0x1b3d[101]]()})[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[55]](204)})[_0x1b3d[27]](function(_0x19c6x1a){return handleError(_0x19c6x18,_0x19c6x1a)})};exports[_0x1b3d[102]]=function(_0x19c6x17,_0x19c6x18){return Contact[_0x1b3d[101]]({where:{id:_0x19c6x17[_0x1b3d[33]][_0x1b3d[103]]},individualHooks:true})[_0x1b3d[30]](function(){return _0x19c6x18[_0x1b3d[55]](204)})[_0x1b3d[27]](function(_0x19c6x1a){return handleError(_0x19c6x18,_0x19c6x1a)})};function handleError(_0x19c6x18,_0x19c6x1a){return _0x19c6x18[_0x1b3d[29]](500)[_0x1b3d[28]](_0x19c6x1a)} \ No newline at end of file diff --git a/server/api/contact_manager/contact_manager.socket.js b/server/api/contact_manager/contact_manager.socket.js index ba7b5ab..40f1eb1 100644 --- a/server/api/contact_manager/contact_manager.socket.js +++ b/server/api/contact_manager/contact_manager.socket.js @@ -1 +1 @@ -var _0xdefe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdefe[0];var Contact=require(_0xdefe[2])[_0xdefe[1]];exports[_0xdefe[3]]=function(_0x9018x2){Contact[_0xdefe[4]](function(_0x9018x3){onSave(_0x9018x2,_0x9018x3)});Contact[_0xdefe[5]](function(_0x9018x3){onRemove(_0x9018x2,_0x9018x3)})};function onSave(_0x9018x2,_0x9018x3,_0x9018x5){_0x9018x2[_0xdefe[7]](_0xdefe[6],_0x9018x3)}function onRemove(_0x9018x2,_0x9018x3,_0x9018x5){_0x9018x2[_0xdefe[7]](_0xdefe[8],_0x9018x3)} \ No newline at end of file +var _0xbe76=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xbe76[0];var Contact=require(_0xbe76[2])[_0xbe76[1]];exports[_0xbe76[3]]=function(_0xde4bx2){Contact[_0xbe76[4]](function(_0xde4bx3){onSave(_0xde4bx2,_0xde4bx3)});Contact[_0xbe76[5]](function(_0xde4bx3){onRemove(_0xde4bx2,_0xde4bx3)})};function onSave(_0xde4bx2,_0xde4bx3,_0xde4bx5){_0xde4bx2[_0xbe76[7]](_0xbe76[6],_0xde4bx3)}function onRemove(_0xde4bx2,_0xde4bx3,_0xde4bx5){_0xde4bx2[_0xbe76[7]](_0xbe76[8],_0xde4bx3)} \ No newline at end of file diff --git a/server/api/contact_manager/index.js b/server/api/contact_manager/index.js index 9f1c8f4..b7fbd8f 100644 --- a/server/api/contact_manager/index.js +++ b/server/api/contact_manager/index.js @@ -1 +1 @@ -var _0xa16b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\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\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B\x65\x76\x65\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x6C\x6F\x67","\x67\x65\x74\x4C\x6F\x67","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xa16b[0];var express=require(_0xa16b[1]);var controller=require(_0xa16b[2]);var auth=require(_0xa16b[3]);var license=require(_0xa16b[4]);var router=express.Router();router[_0xa16b[12]](_0xa16b[5],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[11]]);router[_0xa16b[12]](_0xa16b[13],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8]]),controller[_0xa16b[14]]);router[_0xa16b[12]](_0xa16b[15],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[16]]);router[_0xa16b[12]](_0xa16b[17],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[18]]);router[_0xa16b[12]](_0xa16b[19],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[20]]);router[_0xa16b[22]](_0xa16b[5],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[21]]);router[_0xa16b[22]](_0xa16b[23],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8]]),controller[_0xa16b[24]]);router[_0xa16b[26]](_0xa16b[17],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8],_0xa16b[9]]),controller[_0xa16b[25]]);router[_0xa16b[28]](_0xa16b[5],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8]]),controller[_0xa16b[27]]);router[_0xa16b[28]](_0xa16b[17],auth[_0xa16b[6]](),license[_0xa16b[7]](),auth[_0xa16b[10]]([5],[_0xa16b[8]]),controller[_0xa16b[29]]);module[_0xa16b[30]]=router \ No newline at end of file +var _0x1ba3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\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\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B\x65\x76\x65\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x6C\x6F\x67","\x67\x65\x74\x4C\x6F\x67","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x1ba3[0];var express=require(_0x1ba3[1]);var controller=require(_0x1ba3[2]);var auth=require(_0x1ba3[3]);var license=require(_0x1ba3[4]);var router=express.Router();router[_0x1ba3[12]](_0x1ba3[5],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[11]]);router[_0x1ba3[12]](_0x1ba3[13],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8]]),controller[_0x1ba3[14]]);router[_0x1ba3[12]](_0x1ba3[15],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[16]]);router[_0x1ba3[12]](_0x1ba3[17],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[18]]);router[_0x1ba3[12]](_0x1ba3[19],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[20]]);router[_0x1ba3[22]](_0x1ba3[5],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[21]]);router[_0x1ba3[22]](_0x1ba3[23],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8]]),controller[_0x1ba3[24]]);router[_0x1ba3[26]](_0x1ba3[17],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8],_0x1ba3[9]]),controller[_0x1ba3[25]]);router[_0x1ba3[28]](_0x1ba3[5],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8]]),controller[_0x1ba3[27]]);router[_0x1ba3[28]](_0x1ba3[17],auth[_0x1ba3[6]](),license[_0x1ba3[7]](),auth[_0x1ba3[10]]([5],[_0x1ba3[8]]),controller[_0x1ba3[29]]);module[_0x1ba3[30]]=router \ No newline at end of file diff --git a/server/api/custom_report/custom_report.controller.js b/server/api/custom_report/custom_report.controller.js index 2f67120..929bd6a 100644 --- a/server/api/custom_report/custom_report.controller.js +++ b/server/api/custom_report/custom_report.controller.js @@ -1 +1 @@ -var _0x4ae1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x4D\x65\x74\x72\x69\x63","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x6D\x61\x70","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x73","\x69\x6D\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x4D\x65\x74\x72\x69\x63\x49\x64","\x66\x69\x6E\x64","\x66\x69\x65\x6C\x64","\x6D\x65\x74\x72\x69\x63","\x70\x75\x73\x68","\x54\x68\x65\x20\x6D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x69\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x54\x68\x65\x20\x66\x69\x65\x6C\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x59\x6F\x75\x20\x68\x61\x76\x65\x20\x6E\x6F\x74\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x6F\x72\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x67\x72\x6F\x75\x70\x42\x79","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6E\x75\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x5F","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x4ae1[0];var _=require(_0x4ae1[1]);var util=require(_0x4ae1[2]);var sequelize=require(_0x4ae1[4])[_0x4ae1[3]];var CustomReport=require(_0x4ae1[4])[_0x4ae1[5]];var ReportField=require(_0x4ae1[4])[_0x4ae1[6]];var Metric=require(_0x4ae1[4])[_0x4ae1[7]];var ExtractedReport=require(_0x4ae1[4])[_0x4ae1[8]];var extractUtils=require(_0x4ae1[9]);var reportBuildUtils=require(_0x4ae1[10]);var Util=require(_0x4ae1[11]);var sr=require(_0x4ae1[12]);var moment=require(_0x4ae1[13]);var cp=require(_0x4ae1[14]);exports[_0x4ae1[15]]=function(_0x24b1xe,_0x24b1xf,_0x24b1x10){return CustomReport[_0x4ae1[22]](Util[_0x4ae1[21]](_0x24b1xe[_0x4ae1[20]]))[_0x4ae1[19]](function(_0x24b1x12){_0x24b1xf[_0x4ae1[18]](200)[_0x4ae1[17]](_0x24b1x12)})[_0x4ae1[16]](function(_0x24b1x11){return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[23]]=function(_0x24b1xe,_0x24b1xf){return Promise[_0x4ae1[26]]([])[_0x4ae1[19]](getQuery(_0x24b1xe,_0x24b1xf))[_0x4ae1[19]](function(_0x24b1x13){_0x24b1xf[_0x4ae1[18]](200)[_0x4ae1[17]]({query:_0x24b1x13})})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x4ae1[24],_0x24b1x11)})};function getQuery(_0x24b1xe,_0x24b1xf){var _0x24b1x15;return function(){return CustomReport[_0x4ae1[48]](_0x4ae1[47])[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){console[_0x4ae1[25]](_0x4ae1[31]);if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};if(_0x24b1xe[_0x4ae1[20]][_0x4ae1[33]]&&_0x24b1xe[_0x4ae1[20]][_0x4ae1[33]]===_0x4ae1[34]){_0x24b1xe[_0x4ae1[20]][_0x4ae1[35]]=moment()[_0x4ae1[37]](_0x4ae1[36]);_0x24b1xe[_0x4ae1[20]][_0x4ae1[38]]=moment()[_0x4ae1[37]](_0x4ae1[36]);_0x24b1x17[_0x4ae1[40]][_0x4ae1[39]]=_0x24b1x17[_0x4ae1[40]][_0x4ae1[39]][_0x4ae1[43]](_0x4ae1[41],_0x4ae1[42])};delete _0x24b1xe[_0x4ae1[20]][_0x4ae1[33]];_0x24b1x15=_0x24b1x17[_0x4ae1[40]];return _0x24b1x15[_0x4ae1[39]]})[_0x4ae1[19]](reportBuildUtils[_0x4ae1[30]](_0x24b1xe[_0x4ae1[29]]))[_0x4ae1[19]](function(_0x24b1x16){return [_0x24b1x16,_0x24b1x15]})[_0x4ae1[28]](reportBuildUtils[_0x4ae1[27]](_0x24b1xe[_0x4ae1[20]]))}}exports[_0x4ae1[49]]=function(_0x24b1xe,_0x24b1xf){var _0x24b1x18;return Promise[_0x4ae1[26]]([])[_0x4ae1[19]](getQuery(_0x24b1xe,_0x24b1xf))[_0x4ae1[19]](function(_0x24b1x13){return _0x24b1x13?sequelize[_0x4ae1[20]](_0x24b1x13,{type:sequelize[_0x4ae1[60]][_0x4ae1[59]]}):[]})[_0x4ae1[19]](function(_0x24b1x19){_0x24b1x18=_0x24b1x19[_0x4ae1[50]];if(_0x24b1xe[_0x4ae1[20]][_0x4ae1[51]]){_0x24b1x19=_(_0x24b1x19)[_0x4ae1[55]](_0x24b1xe[_0x4ae1[20]][_0x4ae1[54]]||0)[_0x4ae1[53]](_0x24b1xe[_0x4ae1[20]][_0x4ae1[51]])[_0x4ae1[52]]()};_[_0x4ae1[58]](_0x24b1x19,function(_0x24b1x1a){_[_0x4ae1[57]](_0x24b1x1a,function(_0x24b1x1b,_0x24b1x1c){if(_0x24b1x1b instanceof Date){_0x24b1x1a[_0x24b1x1c]=moment(_0x24b1x1b)[_0x4ae1[37]](_0x4ae1[56]).toString()}})});_0x24b1xf[_0x4ae1[18]](200)[_0x4ae1[17]]({rows:_0x24b1x19,count:_0x24b1x18})})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[61]]=function(_0x24b1xe,_0x24b1xf){docExtract(_0x24b1xe,_0x24b1xf,_0x4ae1[62])};exports[_0x4ae1[63]]=function(_0x24b1xe,_0x24b1xf){docExtract(_0x24b1xe,_0x24b1xf,_0x4ae1[64])};function docExtract(_0x24b1xe,_0x24b1xf,_0x24b1x1e){CustomReport[_0x4ae1[48]](_0x4ae1[47])[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};if(_0x24b1xe[_0x4ae1[20]][_0x4ae1[33]]&&_0x24b1xe[_0x4ae1[20]][_0x4ae1[33]]===_0x4ae1[34]){_0x24b1xe[_0x4ae1[20]][_0x4ae1[35]]=moment()[_0x4ae1[37]](_0x4ae1[36]);_0x24b1xe[_0x4ae1[20]][_0x4ae1[38]]=moment()[_0x4ae1[37]](_0x4ae1[36]);_0x24b1x17[_0x4ae1[40]][_0x4ae1[39]]=_0x24b1x17[_0x4ae1[40]][_0x4ae1[39]][_0x4ae1[43]](_0x4ae1[41],_0x4ae1[42])};delete _0x24b1xe[_0x4ae1[20]][_0x4ae1[33]];return [_0x24b1x17,ExtractedReport[_0x4ae1[76]]({name:_0x24b1x17[_0x4ae1[75]],startDate:_0x24b1xe[_0x4ae1[20]][_0x4ae1[35]]||null,endDate:_0x24b1xe[_0x4ae1[20]][_0x4ae1[38]]||null,output:_0x24b1x1e,UserId:_0x24b1xe[_0x4ae1[29]][_0x4ae1[44]]})]})[_0x4ae1[28]](function(_0x24b1x17,_0x24b1x1f){var _0x24b1x20=cp[_0x4ae1[66]](__dirname+_0x4ae1[65]);_0x24b1x20[_0x4ae1[69]](_0x4ae1[72],function(_0x24b1x21){console[_0x4ae1[25]](_0x4ae1[73],_0x24b1x21);_0x24b1x20[_0x4ae1[74]]()})[_0x4ae1[69]](_0x4ae1[70],function(){console[_0x4ae1[25]](_0x4ae1[71])})[_0x4ae1[69]](_0x4ae1[67],function(_0x24b1x11){console[_0x4ae1[25]](_0x4ae1[68],_0x24b1x11)});_0x24b1x20[_0x4ae1[17]]({report:_0x24b1x17,query:_0x24b1xe[_0x4ae1[20]],extractedId:_0x24b1x1f[_0x4ae1[44]],user:_0x24b1xe[_0x4ae1[29]],type:_0x24b1x1e})})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)});return _0x24b1xf[_0x4ae1[32]](200)}exports[_0x4ae1[77]]=function(_0x24b1xe,_0x24b1xf){return CustomReport[_0x4ae1[48]](_0x4ae1[47])[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};return _0x24b1xf[_0x4ae1[17]](_0x24b1x17)})[_0x4ae1[16]](function(_0x24b1x11){return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[78]]=function(_0x24b1xe,_0x24b1xf){return CustomReport[_0x4ae1[48]]({method:[_0x4ae1[82],{CustomReportId:_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]]}]})[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]],{attributes:[_0x4ae1[79],_0x4ae1[80],_0x4ae1[75],_0x4ae1[81],_0x4ae1[39]]})[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};return _0x24b1xf[_0x4ae1[17]](_0x24b1x17)})[_0x4ae1[16]](function(_0x24b1x11){return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[83]]=function(_0x24b1xe,_0x24b1xf){var _0x24b1x22;return sequelize[_0x4ae1[88]](function(_0x24b1x23){return CustomReport[_0x4ae1[48]](_0x4ae1[47])[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};var _0x24b1x24=_0x24b1x17[_0x4ae1[40]];delete _0x24b1x24[_0x4ae1[44]];delete _0x24b1x24[_0x4ae1[84]];delete _0x24b1x24[_0x4ae1[85]];_0x24b1x24[_0x4ae1[81]]=_0x24b1xe[_0x4ae1[86]][_0x4ae1[81]];_0x24b1x22=_[_0x4ae1[87]](_0x24b1x24.Fields,_0x4ae1[40]);return CustomReport[_0x4ae1[76]](_0x24b1x24,{transaction:_0x24b1x23})})[_0x4ae1[19]](function(_0x24b1x17){return [_0x24b1x17,_0x24b1x22]})[_0x4ae1[28]](createFields(_0x24b1x23))})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[32]](201)})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[76]]=function(_0x24b1xe,_0x24b1xf){var _0x24b1x15;return sequelize[_0x4ae1[88]](function(_0x24b1x23){return CustomReport[_0x4ae1[76]](_0x24b1xe[_0x4ae1[86]],{transaction:_0x24b1x23})[_0x4ae1[19]](function(_0x24b1x17){_0x24b1x15=_0x24b1x17;return [_0x24b1x15,_0x24b1xe[_0x4ae1[86]][_0x4ae1[89]]]})[_0x4ae1[28]](createFields(_0x24b1x23))})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[18]](201)[_0x4ae1[17]](_0x24b1x15)})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[90]]=function(_0x24b1xe,_0x24b1xf){var _0x24b1x15;return sequelize[_0x4ae1[88]](function(_0x24b1x23){return CustomReport[_0x4ae1[76]](_0x24b1xe[_0x4ae1[86]],{transaction:_0x24b1x23})[_0x4ae1[19]](function(_0x24b1x17){_0x24b1x15=_0x24b1x17;return [_0x24b1x15,_0x24b1xe[_0x4ae1[86]][_0x4ae1[89]]]})[_0x4ae1[28]](createImportFields(_0x24b1x23))})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[18]](201)[_0x4ae1[17]](_0x24b1x15)})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[91]]=function(_0x24b1xe,_0x24b1xf,_0x24b1x10){if(_0x24b1xe[_0x4ae1[86]][_0x4ae1[44]]){delete _0x24b1xe[_0x4ae1[86]][_0x4ae1[44]]};var _0x24b1x15;return sequelize[_0x4ae1[88]](function(_0x24b1x23){return CustomReport[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};var _0x24b1x25=_[_0x4ae1[93]](_0x24b1x17,_0x24b1xe[_0x4ae1[86]]);return _0x24b1x17[_0x4ae1[94]]({transaction:_0x24b1x23})})[_0x4ae1[19]](function(_0x24b1x17){_0x24b1x15=_0x24b1x17;if(_0x24b1xe[_0x4ae1[86]][_0x4ae1[89]]){return ReportField[_0x4ae1[92]]({where:{CustomReportId:_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]]},transaction:_0x24b1x23})}})[_0x4ae1[19]](function(){return [_0x24b1x15,_0x24b1xe[_0x4ae1[86]][_0x4ae1[89]]]})[_0x4ae1[28]](createFields(_0x24b1x23))})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[32]](200)})[_0x4ae1[16]](function(_0x24b1x11){console[_0x4ae1[25]](_0x24b1x11);return handleError(_0x24b1xf,_0x24b1x11)})};function createFields(_0x24b1x23){return function(_0x24b1x17,_0x24b1x27){if(_0x24b1x27&&Array[_0x4ae1[95]](_0x24b1x27)&&_0x24b1x27[_0x4ae1[50]]){var _0x24b1x28=getTable(_0x24b1x17[_0x4ae1[39]]);if(_0x24b1x28){var _0x24b1x29;return _0x24b1x28[_0x4ae1[109]]()[_0x4ae1[19]](function(_0x24b1x2e){_0x24b1x29=_[_0x4ae1[107]](_0x24b1x2e);return Metric[_0x4ae1[108]]()})[_0x4ae1[19]](function(_0x24b1x2a){var _0x24b1x2b=[];_0x24b1x2a=_[_0x4ae1[87]](_0x24b1x2a,_0x4ae1[40]);_0x24b1x27[_0x4ae1[58]](function(_0x24b1x2c){_0x24b1x2c[_0x4ae1[96]]=_0x24b1x17[_0x4ae1[44]];if(_0x24b1x2c[_0x4ae1[97]]){var _0x24b1x2d=_[_0x4ae1[98]](_0x24b1x2a,{id:_0x24b1x2c[_0x4ae1[97]]});if(_0x24b1x2d){_0x24b1x2c[_0x4ae1[99]]=_0x24b1x2d[_0x4ae1[100]];_0x24b1x2b[_0x4ae1[101]](ReportField[_0x4ae1[76]](_0x24b1x2c,{transaction:_0x24b1x23}))}else {throw new sequelize.Error(_0x4ae1[102]+_0x24b1x2c[_0x4ae1[97]]+_0x4ae1[103])}}else {if(_[_0x4ae1[104]](_0x24b1x29,_0x24b1x2c[_0x4ae1[99]])){_0x24b1x2b[_0x4ae1[101]](ReportField[_0x4ae1[76]](_0x24b1x2c,{transaction:_0x24b1x23}))}else {throw new sequelize.Error(_0x4ae1[105]+_0x24b1x2c[_0x4ae1[99]]+_0x4ae1[106])}}});return _0x24b1x2b})[_0x4ae1[26]]()}else {throw new sequelize.Error(_0x4ae1[110])}}}}function createImportFields(_0x24b1x23){return function(_0x24b1x17,_0x24b1x27){if(_0x24b1x27&&Array[_0x4ae1[95]](_0x24b1x27)&&_0x24b1x27[_0x4ae1[50]]){var _0x24b1x28=getTable(_0x24b1x17[_0x4ae1[39]]);if(_0x24b1x28){var _0x24b1x29;return _0x24b1x28[_0x4ae1[109]]()[_0x4ae1[19]](function(_0x24b1x2e){_0x24b1x29=_[_0x4ae1[107]](_0x24b1x2e);return Metric[_0x4ae1[108]]()})[_0x4ae1[19]](function(_0x24b1x2a){var _0x24b1x2b=[];var _0x24b1x30=_[_0x4ae1[111]](_0x24b1x27,_0x4ae1[97]);_[_0x4ae1[57]](_0x24b1x30,function(_0x24b1x31,_0x24b1x1c){if(_0x24b1x1c!==_0x4ae1[112]&&_0x24b1x1c!==_0x4ae1[113]){_0x24b1x31[0][_0x4ae1[7]][_0x4ae1[114]][_0x4ae1[58]](function(_0x24b1x2c){_0x24b1x2c[_0x4ae1[96]]=_0x24b1x17[_0x4ae1[44]]});_0x24b1x31[0][_0x4ae1[7]][_0x4ae1[75]]+=_0x4ae1[115]+sr({length:5});console[_0x4ae1[25]](_0x4ae1[100],_0x24b1x31[0].Metric);_0x24b1x2b[_0x4ae1[101]](Metric[_0x4ae1[76]](_0x24b1x31[0].Metric,{include:[{model:ReportField,as:_0x4ae1[114]}],transaction:_0x24b1x23}))}else {_0x24b1x31[_0x4ae1[58]](function(_0x24b1x2c){if(_[_0x4ae1[104]](_0x24b1x29,_0x24b1x2c[_0x4ae1[99]])){_0x24b1x2c[_0x4ae1[96]]=_0x24b1x17[_0x4ae1[44]];_0x24b1x2b[_0x4ae1[101]](ReportField[_0x4ae1[76]](_0x24b1x2c,{transaction:_0x24b1x23}))}else {throw new sequelize.Error(_0x4ae1[105]+_0x24b1x2c[_0x4ae1[99]]+_0x4ae1[106])}})}});return _0x24b1x2b})[_0x4ae1[26]]()}else {throw new sequelize.Error(_0x4ae1[110])}}}}function getTable(_0x24b1x33){var _0x24b1x28;switch(_0x24b1x33){case _0x4ae1[118]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[116]];break;case _0x4ae1[120]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[119]];break;case _0x4ae1[122]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[121]];break;case _0x4ae1[124]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[123]];break;case _0x4ae1[126]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[125]];break;case _0x4ae1[128]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[127]];break;case _0x4ae1[130]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[129]];break;case _0x4ae1[132]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[117]][_0x4ae1[131]];break;case _0x4ae1[134]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[133]];break;case _0x4ae1[136]:_0x24b1x28=require(_0x4ae1[4])[_0x4ae1[135]];break;default:};return _0x24b1x28}exports[_0x4ae1[92]]=function(_0x24b1xe,_0x24b1xf){return CustomReport[_0x4ae1[46]](_0x24b1xe[_0x4ae1[45]][_0x4ae1[44]])[_0x4ae1[19]](function(_0x24b1x17){if(!_0x24b1x17){return _0x24b1xf[_0x4ae1[32]](404)};return _0x24b1x17[_0x4ae1[92]]()})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[32]](204)})[_0x4ae1[16]](function(_0x24b1x11){return handleError(_0x24b1xf,_0x24b1x11)})};exports[_0x4ae1[137]]=function(_0x24b1xe,_0x24b1xf){return CustomReport[_0x4ae1[92]]({where:{id:_0x24b1xe[_0x4ae1[20]][_0x4ae1[138]]},individualHooks:true})[_0x4ae1[19]](function(){return _0x24b1xf[_0x4ae1[32]](204)})[_0x4ae1[16]](function(_0x24b1x11){return handleError(_0x24b1xf,_0x24b1x11)})};function handleError(_0x24b1xf,_0x24b1x11){return _0x24b1xf[_0x4ae1[18]](500)[_0x4ae1[17]](_0x24b1x11)} \ No newline at end of file +var _0xbf81=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x4D\x65\x74\x72\x69\x63","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x6D\x61\x70","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x73","\x69\x6D\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x4D\x65\x74\x72\x69\x63\x49\x64","\x66\x69\x6E\x64","\x66\x69\x65\x6C\x64","\x6D\x65\x74\x72\x69\x63","\x70\x75\x73\x68","\x54\x68\x65\x20\x6D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x69\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x54\x68\x65\x20\x66\x69\x65\x6C\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x59\x6F\x75\x20\x68\x61\x76\x65\x20\x6E\x6F\x74\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x6F\x72\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x67\x72\x6F\x75\x70\x42\x79","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6E\x75\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x5F","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xbf81[0];var _=require(_0xbf81[1]);var util=require(_0xbf81[2]);var sequelize=require(_0xbf81[4])[_0xbf81[3]];var CustomReport=require(_0xbf81[4])[_0xbf81[5]];var ReportField=require(_0xbf81[4])[_0xbf81[6]];var Metric=require(_0xbf81[4])[_0xbf81[7]];var ExtractedReport=require(_0xbf81[4])[_0xbf81[8]];var extractUtils=require(_0xbf81[9]);var reportBuildUtils=require(_0xbf81[10]);var Util=require(_0xbf81[11]);var sr=require(_0xbf81[12]);var moment=require(_0xbf81[13]);var cp=require(_0xbf81[14]);exports[_0xbf81[15]]=function(_0x98c1xe,_0x98c1xf,_0x98c1x10){return CustomReport[_0xbf81[22]](Util[_0xbf81[21]](_0x98c1xe[_0xbf81[20]]))[_0xbf81[19]](function(_0x98c1x12){_0x98c1xf[_0xbf81[18]](200)[_0xbf81[17]](_0x98c1x12)})[_0xbf81[16]](function(_0x98c1x11){return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[23]]=function(_0x98c1xe,_0x98c1xf){return Promise[_0xbf81[26]]([])[_0xbf81[19]](getQuery(_0x98c1xe,_0x98c1xf))[_0xbf81[19]](function(_0x98c1x13){_0x98c1xf[_0xbf81[18]](200)[_0xbf81[17]]({query:_0x98c1x13})})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0xbf81[24],_0x98c1x11)})};function getQuery(_0x98c1xe,_0x98c1xf){var _0x98c1x15;return function(){return CustomReport[_0xbf81[48]](_0xbf81[47])[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){console[_0xbf81[25]](_0xbf81[31]);if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};if(_0x98c1xe[_0xbf81[20]][_0xbf81[33]]&&_0x98c1xe[_0xbf81[20]][_0xbf81[33]]===_0xbf81[34]){_0x98c1xe[_0xbf81[20]][_0xbf81[35]]=moment()[_0xbf81[37]](_0xbf81[36]);_0x98c1xe[_0xbf81[20]][_0xbf81[38]]=moment()[_0xbf81[37]](_0xbf81[36]);_0x98c1x17[_0xbf81[40]][_0xbf81[39]]=_0x98c1x17[_0xbf81[40]][_0xbf81[39]][_0xbf81[43]](_0xbf81[41],_0xbf81[42])};delete _0x98c1xe[_0xbf81[20]][_0xbf81[33]];_0x98c1x15=_0x98c1x17[_0xbf81[40]];return _0x98c1x15[_0xbf81[39]]})[_0xbf81[19]](reportBuildUtils[_0xbf81[30]](_0x98c1xe[_0xbf81[29]]))[_0xbf81[19]](function(_0x98c1x16){return [_0x98c1x16,_0x98c1x15]})[_0xbf81[28]](reportBuildUtils[_0xbf81[27]](_0x98c1xe[_0xbf81[20]]))}}exports[_0xbf81[49]]=function(_0x98c1xe,_0x98c1xf){var _0x98c1x18;return Promise[_0xbf81[26]]([])[_0xbf81[19]](getQuery(_0x98c1xe,_0x98c1xf))[_0xbf81[19]](function(_0x98c1x13){return _0x98c1x13?sequelize[_0xbf81[20]](_0x98c1x13,{type:sequelize[_0xbf81[60]][_0xbf81[59]]}):[]})[_0xbf81[19]](function(_0x98c1x19){_0x98c1x18=_0x98c1x19[_0xbf81[50]];if(_0x98c1xe[_0xbf81[20]][_0xbf81[51]]){_0x98c1x19=_(_0x98c1x19)[_0xbf81[55]](_0x98c1xe[_0xbf81[20]][_0xbf81[54]]||0)[_0xbf81[53]](_0x98c1xe[_0xbf81[20]][_0xbf81[51]])[_0xbf81[52]]()};_[_0xbf81[58]](_0x98c1x19,function(_0x98c1x1a){_[_0xbf81[57]](_0x98c1x1a,function(_0x98c1x1b,_0x98c1x1c){if(_0x98c1x1b instanceof Date){_0x98c1x1a[_0x98c1x1c]=moment(_0x98c1x1b)[_0xbf81[37]](_0xbf81[56]).toString()}})});_0x98c1xf[_0xbf81[18]](200)[_0xbf81[17]]({rows:_0x98c1x19,count:_0x98c1x18})})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[61]]=function(_0x98c1xe,_0x98c1xf){docExtract(_0x98c1xe,_0x98c1xf,_0xbf81[62])};exports[_0xbf81[63]]=function(_0x98c1xe,_0x98c1xf){docExtract(_0x98c1xe,_0x98c1xf,_0xbf81[64])};function docExtract(_0x98c1xe,_0x98c1xf,_0x98c1x1e){CustomReport[_0xbf81[48]](_0xbf81[47])[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};if(_0x98c1xe[_0xbf81[20]][_0xbf81[33]]&&_0x98c1xe[_0xbf81[20]][_0xbf81[33]]===_0xbf81[34]){_0x98c1xe[_0xbf81[20]][_0xbf81[35]]=moment()[_0xbf81[37]](_0xbf81[36]);_0x98c1xe[_0xbf81[20]][_0xbf81[38]]=moment()[_0xbf81[37]](_0xbf81[36]);_0x98c1x17[_0xbf81[40]][_0xbf81[39]]=_0x98c1x17[_0xbf81[40]][_0xbf81[39]][_0xbf81[43]](_0xbf81[41],_0xbf81[42])};delete _0x98c1xe[_0xbf81[20]][_0xbf81[33]];return [_0x98c1x17,ExtractedReport[_0xbf81[76]]({name:_0x98c1x17[_0xbf81[75]],startDate:_0x98c1xe[_0xbf81[20]][_0xbf81[35]]||null,endDate:_0x98c1xe[_0xbf81[20]][_0xbf81[38]]||null,output:_0x98c1x1e,UserId:_0x98c1xe[_0xbf81[29]][_0xbf81[44]]})]})[_0xbf81[28]](function(_0x98c1x17,_0x98c1x1f){var _0x98c1x20=cp[_0xbf81[66]](__dirname+_0xbf81[65]);_0x98c1x20[_0xbf81[69]](_0xbf81[72],function(_0x98c1x21){console[_0xbf81[25]](_0xbf81[73],_0x98c1x21);_0x98c1x20[_0xbf81[74]]()})[_0xbf81[69]](_0xbf81[70],function(){console[_0xbf81[25]](_0xbf81[71])})[_0xbf81[69]](_0xbf81[67],function(_0x98c1x11){console[_0xbf81[25]](_0xbf81[68],_0x98c1x11)});_0x98c1x20[_0xbf81[17]]({report:_0x98c1x17,query:_0x98c1xe[_0xbf81[20]],extractedId:_0x98c1x1f[_0xbf81[44]],user:_0x98c1xe[_0xbf81[29]],type:_0x98c1x1e})})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)});return _0x98c1xf[_0xbf81[32]](200)}exports[_0xbf81[77]]=function(_0x98c1xe,_0x98c1xf){return CustomReport[_0xbf81[48]](_0xbf81[47])[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};return _0x98c1xf[_0xbf81[17]](_0x98c1x17)})[_0xbf81[16]](function(_0x98c1x11){return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[78]]=function(_0x98c1xe,_0x98c1xf){return CustomReport[_0xbf81[48]]({method:[_0xbf81[82],{CustomReportId:_0x98c1xe[_0xbf81[45]][_0xbf81[44]]}]})[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]],{attributes:[_0xbf81[79],_0xbf81[80],_0xbf81[75],_0xbf81[81],_0xbf81[39]]})[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};return _0x98c1xf[_0xbf81[17]](_0x98c1x17)})[_0xbf81[16]](function(_0x98c1x11){return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[83]]=function(_0x98c1xe,_0x98c1xf){var _0x98c1x22;return sequelize[_0xbf81[88]](function(_0x98c1x23){return CustomReport[_0xbf81[48]](_0xbf81[47])[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};var _0x98c1x24=_0x98c1x17[_0xbf81[40]];delete _0x98c1x24[_0xbf81[44]];delete _0x98c1x24[_0xbf81[84]];delete _0x98c1x24[_0xbf81[85]];_0x98c1x24[_0xbf81[81]]=_0x98c1xe[_0xbf81[86]][_0xbf81[81]];_0x98c1x22=_[_0xbf81[87]](_0x98c1x24.Fields,_0xbf81[40]);return CustomReport[_0xbf81[76]](_0x98c1x24,{transaction:_0x98c1x23})})[_0xbf81[19]](function(_0x98c1x17){return [_0x98c1x17,_0x98c1x22]})[_0xbf81[28]](createFields(_0x98c1x23))})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[32]](201)})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[76]]=function(_0x98c1xe,_0x98c1xf){var _0x98c1x15;return sequelize[_0xbf81[88]](function(_0x98c1x23){return CustomReport[_0xbf81[76]](_0x98c1xe[_0xbf81[86]],{transaction:_0x98c1x23})[_0xbf81[19]](function(_0x98c1x17){_0x98c1x15=_0x98c1x17;return [_0x98c1x15,_0x98c1xe[_0xbf81[86]][_0xbf81[89]]]})[_0xbf81[28]](createFields(_0x98c1x23))})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[18]](201)[_0xbf81[17]](_0x98c1x15)})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[90]]=function(_0x98c1xe,_0x98c1xf){var _0x98c1x15;return sequelize[_0xbf81[88]](function(_0x98c1x23){return CustomReport[_0xbf81[76]](_0x98c1xe[_0xbf81[86]],{transaction:_0x98c1x23})[_0xbf81[19]](function(_0x98c1x17){_0x98c1x15=_0x98c1x17;return [_0x98c1x15,_0x98c1xe[_0xbf81[86]][_0xbf81[89]]]})[_0xbf81[28]](createImportFields(_0x98c1x23))})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[18]](201)[_0xbf81[17]](_0x98c1x15)})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[91]]=function(_0x98c1xe,_0x98c1xf,_0x98c1x10){if(_0x98c1xe[_0xbf81[86]][_0xbf81[44]]){delete _0x98c1xe[_0xbf81[86]][_0xbf81[44]]};var _0x98c1x15;return sequelize[_0xbf81[88]](function(_0x98c1x23){return CustomReport[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};var _0x98c1x25=_[_0xbf81[93]](_0x98c1x17,_0x98c1xe[_0xbf81[86]]);return _0x98c1x17[_0xbf81[94]]({transaction:_0x98c1x23})})[_0xbf81[19]](function(_0x98c1x17){_0x98c1x15=_0x98c1x17;if(_0x98c1xe[_0xbf81[86]][_0xbf81[89]]){return ReportField[_0xbf81[92]]({where:{CustomReportId:_0x98c1xe[_0xbf81[45]][_0xbf81[44]]},transaction:_0x98c1x23})}})[_0xbf81[19]](function(){return [_0x98c1x15,_0x98c1xe[_0xbf81[86]][_0xbf81[89]]]})[_0xbf81[28]](createFields(_0x98c1x23))})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[32]](200)})[_0xbf81[16]](function(_0x98c1x11){console[_0xbf81[25]](_0x98c1x11);return handleError(_0x98c1xf,_0x98c1x11)})};function createFields(_0x98c1x23){return function(_0x98c1x17,_0x98c1x27){if(_0x98c1x27&&Array[_0xbf81[95]](_0x98c1x27)&&_0x98c1x27[_0xbf81[50]]){var _0x98c1x28=getTable(_0x98c1x17[_0xbf81[39]]);if(_0x98c1x28){var _0x98c1x29;return _0x98c1x28[_0xbf81[109]]()[_0xbf81[19]](function(_0x98c1x2e){_0x98c1x29=_[_0xbf81[107]](_0x98c1x2e);return Metric[_0xbf81[108]]()})[_0xbf81[19]](function(_0x98c1x2a){var _0x98c1x2b=[];_0x98c1x2a=_[_0xbf81[87]](_0x98c1x2a,_0xbf81[40]);_0x98c1x27[_0xbf81[58]](function(_0x98c1x2c){_0x98c1x2c[_0xbf81[96]]=_0x98c1x17[_0xbf81[44]];if(_0x98c1x2c[_0xbf81[97]]){var _0x98c1x2d=_[_0xbf81[98]](_0x98c1x2a,{id:_0x98c1x2c[_0xbf81[97]]});if(_0x98c1x2d){_0x98c1x2c[_0xbf81[99]]=_0x98c1x2d[_0xbf81[100]];_0x98c1x2b[_0xbf81[101]](ReportField[_0xbf81[76]](_0x98c1x2c,{transaction:_0x98c1x23}))}else {throw new sequelize.Error(_0xbf81[102]+_0x98c1x2c[_0xbf81[97]]+_0xbf81[103])}}else {if(_[_0xbf81[104]](_0x98c1x29,_0x98c1x2c[_0xbf81[99]])){_0x98c1x2b[_0xbf81[101]](ReportField[_0xbf81[76]](_0x98c1x2c,{transaction:_0x98c1x23}))}else {throw new sequelize.Error(_0xbf81[105]+_0x98c1x2c[_0xbf81[99]]+_0xbf81[106])}}});return _0x98c1x2b})[_0xbf81[26]]()}else {throw new sequelize.Error(_0xbf81[110])}}}}function createImportFields(_0x98c1x23){return function(_0x98c1x17,_0x98c1x27){if(_0x98c1x27&&Array[_0xbf81[95]](_0x98c1x27)&&_0x98c1x27[_0xbf81[50]]){var _0x98c1x28=getTable(_0x98c1x17[_0xbf81[39]]);if(_0x98c1x28){var _0x98c1x29;return _0x98c1x28[_0xbf81[109]]()[_0xbf81[19]](function(_0x98c1x2e){_0x98c1x29=_[_0xbf81[107]](_0x98c1x2e);return Metric[_0xbf81[108]]()})[_0xbf81[19]](function(_0x98c1x2a){var _0x98c1x2b=[];var _0x98c1x30=_[_0xbf81[111]](_0x98c1x27,_0xbf81[97]);_[_0xbf81[57]](_0x98c1x30,function(_0x98c1x31,_0x98c1x1c){if(_0x98c1x1c!==_0xbf81[112]&&_0x98c1x1c!==_0xbf81[113]){_0x98c1x31[0][_0xbf81[7]][_0xbf81[114]][_0xbf81[58]](function(_0x98c1x2c){_0x98c1x2c[_0xbf81[96]]=_0x98c1x17[_0xbf81[44]]});_0x98c1x31[0][_0xbf81[7]][_0xbf81[75]]+=_0xbf81[115]+sr({length:5});console[_0xbf81[25]](_0xbf81[100],_0x98c1x31[0].Metric);_0x98c1x2b[_0xbf81[101]](Metric[_0xbf81[76]](_0x98c1x31[0].Metric,{include:[{model:ReportField,as:_0xbf81[114]}],transaction:_0x98c1x23}))}else {_0x98c1x31[_0xbf81[58]](function(_0x98c1x2c){if(_[_0xbf81[104]](_0x98c1x29,_0x98c1x2c[_0xbf81[99]])){_0x98c1x2c[_0xbf81[96]]=_0x98c1x17[_0xbf81[44]];_0x98c1x2b[_0xbf81[101]](ReportField[_0xbf81[76]](_0x98c1x2c,{transaction:_0x98c1x23}))}else {throw new sequelize.Error(_0xbf81[105]+_0x98c1x2c[_0xbf81[99]]+_0xbf81[106])}})}});return _0x98c1x2b})[_0xbf81[26]]()}else {throw new sequelize.Error(_0xbf81[110])}}}}function getTable(_0x98c1x33){var _0x98c1x28;switch(_0x98c1x33){case _0xbf81[118]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[116]];break;case _0xbf81[120]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[119]];break;case _0xbf81[122]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[121]];break;case _0xbf81[124]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[123]];break;case _0xbf81[126]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[125]];break;case _0xbf81[128]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[127]];break;case _0xbf81[130]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[129]];break;case _0xbf81[132]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[117]][_0xbf81[131]];break;case _0xbf81[134]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[133]];break;case _0xbf81[136]:_0x98c1x28=require(_0xbf81[4])[_0xbf81[135]];break;default:};return _0x98c1x28}exports[_0xbf81[92]]=function(_0x98c1xe,_0x98c1xf){return CustomReport[_0xbf81[46]](_0x98c1xe[_0xbf81[45]][_0xbf81[44]])[_0xbf81[19]](function(_0x98c1x17){if(!_0x98c1x17){return _0x98c1xf[_0xbf81[32]](404)};return _0x98c1x17[_0xbf81[92]]()})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[32]](204)})[_0xbf81[16]](function(_0x98c1x11){return handleError(_0x98c1xf,_0x98c1x11)})};exports[_0xbf81[137]]=function(_0x98c1xe,_0x98c1xf){return CustomReport[_0xbf81[92]]({where:{id:_0x98c1xe[_0xbf81[20]][_0xbf81[138]]},individualHooks:true})[_0xbf81[19]](function(){return _0x98c1xf[_0xbf81[32]](204)})[_0xbf81[16]](function(_0x98c1x11){return handleError(_0x98c1xf,_0x98c1x11)})};function handleError(_0x98c1xf,_0x98c1x11){return _0x98c1xf[_0xbf81[18]](500)[_0xbf81[17]](_0x98c1x11)} \ No newline at end of file diff --git a/server/api/custom_report/custom_report.socket.js b/server/api/custom_report/custom_report.socket.js index 87abd73..621bce3 100644 --- a/server/api/custom_report/custom_report.socket.js +++ b/server/api/custom_report/custom_report.socket.js @@ -1 +1 @@ -var _0x5d5f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5d5f[0];var CustomReport=require(_0x5d5f[2])[_0x5d5f[1]];exports[_0x5d5f[3]]=function(_0xe86dx2){CustomReport[_0x5d5f[4]](function(_0xe86dx3){onSave(_0xe86dx2,_0xe86dx3)});CustomReport[_0x5d5f[5]](function(_0xe86dx3){onRemove(_0xe86dx2,_0xe86dx3)})};function onSave(_0xe86dx2,_0xe86dx3,_0xe86dx5){_0xe86dx2[_0x5d5f[7]](_0x5d5f[6],_0xe86dx3)}function onRemove(_0xe86dx2,_0xe86dx3,_0xe86dx5){_0xe86dx2[_0x5d5f[7]](_0x5d5f[8],_0xe86dx3)} \ No newline at end of file +var _0x85ab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x85ab[0];var CustomReport=require(_0x85ab[2])[_0x85ab[1]];exports[_0x85ab[3]]=function(_0x13d8x2){CustomReport[_0x85ab[4]](function(_0x13d8x3){onSave(_0x13d8x2,_0x13d8x3)});CustomReport[_0x85ab[5]](function(_0x13d8x3){onRemove(_0x13d8x2,_0x13d8x3)})};function onSave(_0x13d8x2,_0x13d8x3,_0x13d8x5){_0x13d8x2[_0x85ab[7]](_0x85ab[6],_0x13d8x3)}function onRemove(_0x13d8x2,_0x13d8x3,_0x13d8x5){_0x13d8x2[_0x85ab[7]](_0x85ab[8],_0x13d8x3)} \ No newline at end of file diff --git a/server/api/custom_report/index.js b/server/api/custom_report/index.js index 7d06d3e..949e8ae 100644 --- a/server/api/custom_report/index.js +++ b/server/api/custom_report/index.js @@ -1 +1 @@ -var _0xf858=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\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\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\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"];_0xf858[0];var express=require(_0xf858[1]);var controller=require(_0xf858[2]);var auth=require(_0xf858[3]);var router=express.Router();router[_0xf858[9]](_0xf858[4],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[8]]);router[_0xf858[9]](_0xf858[10],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[11]]);router[_0xf858[9]](_0xf858[12],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[13]]);router[_0xf858[9]](_0xf858[14],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[15]]);router[_0xf858[9]](_0xf858[16],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[17]]);router[_0xf858[19]](_0xf858[4],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[18]]);router[_0xf858[9]](_0xf858[20],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[21]]);router[_0xf858[9]](_0xf858[22],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[23]]);router[_0xf858[19]](_0xf858[24],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[25]]);router[_0xf858[19]](_0xf858[26],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[27]]);router[_0xf858[29]](_0xf858[12],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[28]]);router[_0xf858[31]](_0xf858[4],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[30]]);router[_0xf858[31]](_0xf858[12],auth[_0xf858[5]](),auth[_0xf858[7]]([17],[_0xf858[6]]),controller[_0xf858[32]]);module[_0xf858[33]]=router \ No newline at end of file +var _0x99e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\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\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\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"];_0x99e2[0];var express=require(_0x99e2[1]);var controller=require(_0x99e2[2]);var auth=require(_0x99e2[3]);var router=express.Router();router[_0x99e2[9]](_0x99e2[4],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[8]]);router[_0x99e2[9]](_0x99e2[10],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[11]]);router[_0x99e2[9]](_0x99e2[12],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[13]]);router[_0x99e2[9]](_0x99e2[14],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[15]]);router[_0x99e2[9]](_0x99e2[16],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[17]]);router[_0x99e2[19]](_0x99e2[4],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[18]]);router[_0x99e2[9]](_0x99e2[20],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[21]]);router[_0x99e2[9]](_0x99e2[22],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[23]]);router[_0x99e2[19]](_0x99e2[24],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[25]]);router[_0x99e2[19]](_0x99e2[26],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[27]]);router[_0x99e2[29]](_0x99e2[12],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[28]]);router[_0x99e2[31]](_0x99e2[4],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[30]]);router[_0x99e2[31]](_0x99e2[12],auth[_0x99e2[5]](),auth[_0x99e2[7]]([17],[_0x99e2[6]]),controller[_0x99e2[32]]);module[_0x99e2[33]]=router \ No newline at end of file diff --git a/server/api/dashboard/dashboard.controller.js b/server/api/dashboard/dashboard.controller.js index 726af74..40022c3 100644 --- a/server/api/dashboard/dashboard.controller.js +++ b/server/api/dashboard/dashboard.controller.js @@ -1 +1 @@ -var _0xaa9c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\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","\x61\x6C\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6E\x61\x6D\x65","\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"];_0xaa9c[0];var _=require(_0xaa9c[1]);var util=require(_0xaa9c[2]);var Dashboard=require(_0xaa9c[4])[_0xaa9c[3]];var Util=require(_0xaa9c[5]);exports[_0xaa9c[6]]=function(_0x1608x5,_0x1608x6,_0x1608x7){return Dashboard[_0xaa9c[13]](Util[_0xaa9c[12]](_0x1608x5[_0xaa9c[11]]))[_0xaa9c[10]](function(_0x1608x9){_0x1608x6[_0xaa9c[9]](200)[_0xaa9c[8]](_0x1608x9)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[14]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[16]]()[_0xaa9c[10]](function(_0x1608xa){if(!_0x1608xa){return _0x1608x6[_0xaa9c[15]](404)};return _0x1608x6[_0xaa9c[9]](200)[_0xaa9c[8]](_0x1608xa)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[17]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[20]](_0x1608x5[_0xaa9c[19]][_0xaa9c[18]])[_0xaa9c[10]](function(_0x1608xb){if(!_0x1608xb){return _0x1608x6[_0xaa9c[15]](404)};return _0x1608x6[_0xaa9c[8]](_0x1608xb)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[21]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[21]](_0x1608x5[_0xaa9c[22]])[_0xaa9c[10]](function(_0x1608xb){return _0x1608x6[_0xaa9c[9]](201)[_0xaa9c[8]](_0x1608xb)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[23]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[20]](_0x1608x5[_0xaa9c[19]][_0xaa9c[18]])[_0xaa9c[10]](function(_0x1608xb){var _0x1608xc=_0x1608xb[_0xaa9c[24]];delete _0x1608xc[_0xaa9c[18]];_0x1608xc[_0xaa9c[25]]=true;_0x1608xc[_0xaa9c[26]]=false;_0x1608xc[_0xaa9c[27]]=_0x1608x5[_0xaa9c[22]][_0xaa9c[27]]||_0x1608xc[_0xaa9c[27]];return Dashboard[_0xaa9c[21]](_0x1608xc)})[_0xaa9c[10]](function(_0x1608xb){return _0x1608x6[_0xaa9c[9]](201)[_0xaa9c[8]](_0x1608xb)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[28]]=function(_0x1608x5,_0x1608x6){if(_0x1608x5[_0xaa9c[22]][_0xaa9c[18]]){delete _0x1608x5[_0xaa9c[22]][_0xaa9c[18]]};return Dashboard[_0xaa9c[20]](_0x1608x5[_0xaa9c[19]][_0xaa9c[18]])[_0xaa9c[10]](function(_0x1608xb){if(!_0x1608xb){return _0x1608x6[_0xaa9c[15]](404)};var _0x1608xd=_[_0xaa9c[29]](_0x1608xb,_0x1608x5[_0xaa9c[22]]);return _0x1608xd[_0xaa9c[30]]()})[_0xaa9c[10]](function(_0x1608xb){return _0x1608x6[_0xaa9c[9]](200)[_0xaa9c[8]](_0x1608xb)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[31]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[20]](_0x1608x5[_0xaa9c[19]][_0xaa9c[18]])[_0xaa9c[10]](function(_0x1608xb){if(!_0x1608xb){return _0x1608x6[_0xaa9c[15]](404)};return _0x1608xb[_0xaa9c[31]]()})[_0xaa9c[10]](function(){return _0x1608x6[_0xaa9c[15]](204)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};exports[_0xaa9c[32]]=function(_0x1608x5,_0x1608x6){return Dashboard[_0xaa9c[31]]({where:{id:_0x1608x5[_0xaa9c[11]][_0xaa9c[33]]},individualHooks:true})[_0xaa9c[10]](function(){return _0x1608x6[_0xaa9c[15]](204)})[_0xaa9c[7]](function(_0x1608x8){return handleError(_0x1608x6,_0x1608x8)})};function handleError(_0x1608x6,_0x1608x8){return _0x1608x6[_0xaa9c[9]](500)[_0xaa9c[8]](_0x1608x8)} \ No newline at end of file +var _0x8699=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\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","\x61\x6C\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6E\x61\x6D\x65","\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"];_0x8699[0];var _=require(_0x8699[1]);var util=require(_0x8699[2]);var Dashboard=require(_0x8699[4])[_0x8699[3]];var Util=require(_0x8699[5]);exports[_0x8699[6]]=function(_0x3d2fx5,_0x3d2fx6,_0x3d2fx7){return Dashboard[_0x8699[13]](Util[_0x8699[12]](_0x3d2fx5[_0x8699[11]]))[_0x8699[10]](function(_0x3d2fx9){_0x3d2fx6[_0x8699[9]](200)[_0x8699[8]](_0x3d2fx9)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[14]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[16]]()[_0x8699[10]](function(_0x3d2fxa){if(!_0x3d2fxa){return _0x3d2fx6[_0x8699[15]](404)};return _0x3d2fx6[_0x8699[9]](200)[_0x8699[8]](_0x3d2fxa)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[17]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[20]](_0x3d2fx5[_0x8699[19]][_0x8699[18]])[_0x8699[10]](function(_0x3d2fxb){if(!_0x3d2fxb){return _0x3d2fx6[_0x8699[15]](404)};return _0x3d2fx6[_0x8699[8]](_0x3d2fxb)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[21]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[21]](_0x3d2fx5[_0x8699[22]])[_0x8699[10]](function(_0x3d2fxb){return _0x3d2fx6[_0x8699[9]](201)[_0x8699[8]](_0x3d2fxb)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[23]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[20]](_0x3d2fx5[_0x8699[19]][_0x8699[18]])[_0x8699[10]](function(_0x3d2fxb){var _0x3d2fxc=_0x3d2fxb[_0x8699[24]];delete _0x3d2fxc[_0x8699[18]];_0x3d2fxc[_0x8699[25]]=true;_0x3d2fxc[_0x8699[26]]=false;_0x3d2fxc[_0x8699[27]]=_0x3d2fx5[_0x8699[22]][_0x8699[27]]||_0x3d2fxc[_0x8699[27]];return Dashboard[_0x8699[21]](_0x3d2fxc)})[_0x8699[10]](function(_0x3d2fxb){return _0x3d2fx6[_0x8699[9]](201)[_0x8699[8]](_0x3d2fxb)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[28]]=function(_0x3d2fx5,_0x3d2fx6){if(_0x3d2fx5[_0x8699[22]][_0x8699[18]]){delete _0x3d2fx5[_0x8699[22]][_0x8699[18]]};return Dashboard[_0x8699[20]](_0x3d2fx5[_0x8699[19]][_0x8699[18]])[_0x8699[10]](function(_0x3d2fxb){if(!_0x3d2fxb){return _0x3d2fx6[_0x8699[15]](404)};var _0x3d2fxd=_[_0x8699[29]](_0x3d2fxb,_0x3d2fx5[_0x8699[22]]);return _0x3d2fxd[_0x8699[30]]()})[_0x8699[10]](function(_0x3d2fxb){return _0x3d2fx6[_0x8699[9]](200)[_0x8699[8]](_0x3d2fxb)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[31]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[20]](_0x3d2fx5[_0x8699[19]][_0x8699[18]])[_0x8699[10]](function(_0x3d2fxb){if(!_0x3d2fxb){return _0x3d2fx6[_0x8699[15]](404)};return _0x3d2fxb[_0x8699[31]]()})[_0x8699[10]](function(){return _0x3d2fx6[_0x8699[15]](204)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};exports[_0x8699[32]]=function(_0x3d2fx5,_0x3d2fx6){return Dashboard[_0x8699[31]]({where:{id:_0x3d2fx5[_0x8699[11]][_0x8699[33]]},individualHooks:true})[_0x8699[10]](function(){return _0x3d2fx6[_0x8699[15]](204)})[_0x8699[7]](function(_0x3d2fx8){return handleError(_0x3d2fx6,_0x3d2fx8)})};function handleError(_0x3d2fx6,_0x3d2fx8){return _0x3d2fx6[_0x8699[9]](500)[_0x8699[8]](_0x3d2fx8)} \ No newline at end of file diff --git a/server/api/dashboard/dashboard.socket.js b/server/api/dashboard/dashboard.socket.js index 991fa91..a23af28 100644 --- a/server/api/dashboard/dashboard.socket.js +++ b/server/api/dashboard/dashboard.socket.js @@ -1 +1 @@ -var _0x956a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x956a[0];var Dashboard=require(_0x956a[2])[_0x956a[1]];exports[_0x956a[3]]=function(_0x8e20x2){Dashboard[_0x956a[4]](function(_0x8e20x3){onSave(_0x8e20x2,_0x8e20x3)});Dashboard[_0x956a[5]](function(_0x8e20x3){onSave(_0x8e20x2,_0x8e20x3)});Dashboard[_0x956a[6]](function(_0x8e20x3){onRemove(_0x8e20x2,_0x8e20x3)})};function onSave(_0x8e20x2,_0x8e20x3,_0x8e20x5){_0x8e20x2[_0x956a[8]](_0x956a[7],_0x8e20x3)}function onRemove(_0x8e20x2,_0x8e20x3,_0x8e20x5){_0x8e20x2[_0x956a[8]](_0x956a[9],_0x8e20x3)} \ No newline at end of file +var _0x27d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x27d6[0];var Dashboard=require(_0x27d6[2])[_0x27d6[1]];exports[_0x27d6[3]]=function(_0x988dx2){Dashboard[_0x27d6[4]](function(_0x988dx3){onSave(_0x988dx2,_0x988dx3)});Dashboard[_0x27d6[5]](function(_0x988dx3){onSave(_0x988dx2,_0x988dx3)});Dashboard[_0x27d6[6]](function(_0x988dx3){onRemove(_0x988dx2,_0x988dx3)})};function onSave(_0x988dx2,_0x988dx3,_0x988dx5){_0x988dx2[_0x27d6[8]](_0x27d6[7],_0x988dx3)}function onRemove(_0x988dx2,_0x988dx3,_0x988dx5){_0x988dx2[_0x27d6[8]](_0x27d6[9],_0x988dx3)} \ No newline at end of file diff --git a/server/api/dashboard/index.js b/server/api/dashboard/index.js index 4b84326..b2493e5 100644 --- a/server/api/dashboard/index.js +++ b/server/api/dashboard/index.js @@ -1 +1 @@ -var _0xee07=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\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","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x61\x6C\x6C","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xee07[0];var express=require(_0xee07[1]);var controller=require(_0xee07[2]);var auth=require(_0xee07[3]);var router=express.Router();router[_0xee07[11]](_0xee07[4],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6],_0xee07[7],_0xee07[8]]),controller[_0xee07[10]]);router[_0xee07[11]](_0xee07[12],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[13]]);router[_0xee07[11]](_0xee07[14],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[15]]);router[_0xee07[17]](_0xee07[4],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[16]]);router[_0xee07[17]](_0xee07[18],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[19]]);router[_0xee07[21]](_0xee07[14],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[20]]);router[_0xee07[23]](_0xee07[4],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[22]]);router[_0xee07[23]](_0xee07[14],auth[_0xee07[5]](),auth[_0xee07[9]]([2],[_0xee07[6]]),controller[_0xee07[24]]);module[_0xee07[25]]=router \ No newline at end of file +var _0xb575=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\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","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x61\x6C\x6C","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xb575[0];var express=require(_0xb575[1]);var controller=require(_0xb575[2]);var auth=require(_0xb575[3]);var router=express.Router();router[_0xb575[11]](_0xb575[4],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6],_0xb575[7],_0xb575[8]]),controller[_0xb575[10]]);router[_0xb575[11]](_0xb575[12],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[13]]);router[_0xb575[11]](_0xb575[14],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[15]]);router[_0xb575[17]](_0xb575[4],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[16]]);router[_0xb575[17]](_0xb575[18],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[19]]);router[_0xb575[21]](_0xb575[14],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[20]]);router[_0xb575[23]](_0xb575[4],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[22]]);router[_0xb575[23]](_0xb575[14],auth[_0xb575[5]](),auth[_0xb575[9]]([2],[_0xb575[6]]),controller[_0xb575[24]]);module[_0xb575[25]]=router \ No newline at end of file diff --git a/server/api/default_metric/default_metric.controller.js b/server/api/default_metric/default_metric.controller.js index b162b38..1462d36 100644 --- a/server/api/default_metric/default_metric.controller.js +++ b/server/api/default_metric/default_metric.controller.js @@ -1 +1 @@ -var _0x5849=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x74\x72\x69\x63","\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","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\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","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6E\x61\x6D\x65","\x5F","\x63\x72\x65\x61\x74\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x5849[0];var _=require(_0x5849[1]);var DefaultMetric=require(_0x5849[3])[_0x5849[2]];var Metric=require(_0x5849[3])[_0x5849[4]];var util=require(_0x5849[5]);var Util=require(_0x5849[6]);var sequelize=require(_0x5849[3])[_0x5849[7]];var sr=require(_0x5849[8]);exports[_0x5849[9]]=function(_0xca3ex8,_0xca3ex9,_0xca3exa){return DefaultMetric[_0x5849[16]](Util[_0x5849[15]](_0xca3ex8[_0x5849[14]]))[_0x5849[13]](function(_0xca3exc){return _0xca3ex9[_0x5849[12]](200)[_0x5849[11]](_0xca3exc)})[_0x5849[10]](function(_0xca3exb){return handleError(_0xca3ex9,_0xca3exb)})};exports[_0x5849[17]]=function(_0xca3ex8,_0xca3ex9){return DefaultMetric[_0x5849[21]]({where:{table:_0xca3ex8[_0x5849[14]][_0x5849[20]]}})[_0x5849[13]](function(_0xca3exd){if(!_0xca3exd){return _0xca3ex9[_0x5849[18]](404)};return _0xca3ex9[_0x5849[12]](200)[_0x5849[11]]({count:_0xca3exd[_0x5849[19]],rows:_0xca3exd})})[_0x5849[10]](function(_0xca3exb){return handleError(_0xca3ex9,_0xca3exb)})};exports[_0x5849[22]]=function(_0xca3ex8,_0xca3ex9){return DefaultMetric[_0x5849[29]](_0xca3ex8[_0x5849[28]][_0x5849[23]])[_0x5849[13]](function(_0xca3exe){if(!_0xca3exe){return _0xca3ex9[_0x5849[18]](404)};delete _0xca3exe[_0x5849[24]][_0x5849[23]];_0xca3exe[_0x5849[24]][_0x5849[25]]+=_0x5849[26]+sr({length:5});return Metric[_0x5849[27]](_0xca3exe[_0x5849[24]])})[_0x5849[13]](function(){return _0xca3ex9[_0x5849[18]](201)})[_0x5849[10]](function(_0xca3exb){return handleError(_0xca3ex9,_0xca3exb)})};function handleError(_0xca3ex9,_0xca3exb){return _0xca3ex9[_0x5849[12]](500)[_0x5849[11]](_0xca3exb)} \ No newline at end of file +var _0x6317=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x74\x72\x69\x63","\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","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\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","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6E\x61\x6D\x65","\x5F","\x63\x72\x65\x61\x74\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x6317[0];var _=require(_0x6317[1]);var DefaultMetric=require(_0x6317[3])[_0x6317[2]];var Metric=require(_0x6317[3])[_0x6317[4]];var util=require(_0x6317[5]);var Util=require(_0x6317[6]);var sequelize=require(_0x6317[3])[_0x6317[7]];var sr=require(_0x6317[8]);exports[_0x6317[9]]=function(_0xd6f4x8,_0xd6f4x9,_0xd6f4xa){return DefaultMetric[_0x6317[16]](Util[_0x6317[15]](_0xd6f4x8[_0x6317[14]]))[_0x6317[13]](function(_0xd6f4xc){return _0xd6f4x9[_0x6317[12]](200)[_0x6317[11]](_0xd6f4xc)})[_0x6317[10]](function(_0xd6f4xb){return handleError(_0xd6f4x9,_0xd6f4xb)})};exports[_0x6317[17]]=function(_0xd6f4x8,_0xd6f4x9){return DefaultMetric[_0x6317[21]]({where:{table:_0xd6f4x8[_0x6317[14]][_0x6317[20]]}})[_0x6317[13]](function(_0xd6f4xd){if(!_0xd6f4xd){return _0xd6f4x9[_0x6317[18]](404)};return _0xd6f4x9[_0x6317[12]](200)[_0x6317[11]]({count:_0xd6f4xd[_0x6317[19]],rows:_0xd6f4xd})})[_0x6317[10]](function(_0xd6f4xb){return handleError(_0xd6f4x9,_0xd6f4xb)})};exports[_0x6317[22]]=function(_0xd6f4x8,_0xd6f4x9){return DefaultMetric[_0x6317[29]](_0xd6f4x8[_0x6317[28]][_0x6317[23]])[_0x6317[13]](function(_0xd6f4xe){if(!_0xd6f4xe){return _0xd6f4x9[_0x6317[18]](404)};delete _0xd6f4xe[_0x6317[24]][_0x6317[23]];_0xd6f4xe[_0x6317[24]][_0x6317[25]]+=_0x6317[26]+sr({length:5});return Metric[_0x6317[27]](_0xd6f4xe[_0x6317[24]])})[_0x6317[13]](function(){return _0xd6f4x9[_0x6317[18]](201)})[_0x6317[10]](function(_0xd6f4xb){return handleError(_0xd6f4x9,_0xd6f4xb)})};function handleError(_0xd6f4x9,_0xd6f4xb){return _0xd6f4x9[_0x6317[12]](500)[_0x6317[11]](_0xd6f4xb)} \ No newline at end of file diff --git a/server/api/default_metric/default_metric.socket.js b/server/api/default_metric/default_metric.socket.js index b2d0c74..c1f9d8d 100644 --- a/server/api/default_metric/default_metric.socket.js +++ b/server/api/default_metric/default_metric.socket.js @@ -1 +1 @@ -var _0xb3bf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72"];_0xb3bf[0];exports[_0xb3bf[1]]=function(_0x1378x1){} \ No newline at end of file +var _0x8f9e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72"];_0x8f9e[0];exports[_0x8f9e[1]]=function(_0xe295x1){} \ No newline at end of file diff --git a/server/api/default_metric/index.js b/server/api/default_metric/index.js index 4c11456..a32bd0b 100644 --- a/server/api/default_metric/index.js +++ b/server/api/default_metric/index.js @@ -1 +1 @@ -var _0x8ef6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\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\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x65\x78\x70\x6F\x72\x74\x73"];_0x8ef6[0];var express=require(_0x8ef6[1]);var controller=require(_0x8ef6[2]);var auth=require(_0x8ef6[3]);var router=express.Router();router[_0x8ef6[9]](_0x8ef6[4],auth[_0x8ef6[5]](),auth[_0x8ef6[7]]([17],[_0x8ef6[6]]),controller[_0x8ef6[8]]);router[_0x8ef6[9]](_0x8ef6[10],auth[_0x8ef6[5]](),auth[_0x8ef6[7]]([17],[_0x8ef6[6]]),controller[_0x8ef6[11]]);router[_0x8ef6[9]](_0x8ef6[12],auth[_0x8ef6[5]](),auth[_0x8ef6[7]]([17],[_0x8ef6[6]]),controller[_0x8ef6[13]]);module[_0x8ef6[14]]=router \ No newline at end of file +var _0xdd89=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\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\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x65\x78\x70\x6F\x72\x74\x73"];_0xdd89[0];var express=require(_0xdd89[1]);var controller=require(_0xdd89[2]);var auth=require(_0xdd89[3]);var router=express.Router();router[_0xdd89[9]](_0xdd89[4],auth[_0xdd89[5]](),auth[_0xdd89[7]]([17],[_0xdd89[6]]),controller[_0xdd89[8]]);router[_0xdd89[9]](_0xdd89[10],auth[_0xdd89[5]](),auth[_0xdd89[7]]([17],[_0xdd89[6]]),controller[_0xdd89[11]]);router[_0xdd89[9]](_0xdd89[12],auth[_0xdd89[5]](),auth[_0xdd89[7]]([17],[_0xdd89[6]]),controller[_0xdd89[13]]);module[_0xdd89[14]]=router \ No newline at end of file diff --git a/server/api/default_report/default_report.controller.js b/server/api/default_report/default_report.controller.js index e2a1190..b3ff762 100644 --- a/server/api/default_report/default_report.controller.js +++ b/server/api/default_report/default_report.controller.js @@ -1 +1 @@ -var _0xfc32=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x28","\x72\x75\x6C\x65\x73","\x20","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x67\x72\x6F\x75\x70","\x66\x69\x65\x6C\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x27","\x29","\x73\x68\x6F\x77","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x61\x72\x65\x6E\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x6D\x61\x70","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xfc32[0];var _=require(_0xfc32[1]);var util=require(_0xfc32[2]);var DefaultReport=require(_0xfc32[4])[_0xfc32[3]];var sequelize=require(_0xfc32[4])[_0xfc32[5]];var CustomReport=require(_0xfc32[4])[_0xfc32[6]];var ExtractedReport=require(_0xfc32[4])[_0xfc32[7]];var extractUtils=require(_0xfc32[8]);var reportBuildUtils=require(_0xfc32[9]);var Util=require(_0xfc32[10]);var moment=require(_0xfc32[11]);var cp=require(_0xfc32[12]);exports[_0xfc32[13]]=function(_0x2e5cxc,_0x2e5cxd,_0x2e5cxe){return DefaultReport[_0xfc32[20]](Util[_0xfc32[19]](_0x2e5cxc[_0xfc32[18]]))[_0xfc32[17]](function(_0x2e5cx10){_0x2e5cxd[_0xfc32[16]](200)[_0xfc32[15]](_0x2e5cx10)})[_0xfc32[14]](function(_0x2e5cxf){return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[21]]=function(_0x2e5cxc,_0x2e5cxd){return Promise[_0xfc32[24]]([])[_0xfc32[17]](getQuery(_0x2e5cxc,_0x2e5cxd))[_0xfc32[17]](function(_0x2e5cx11){_0x2e5cxd[_0xfc32[16]](200)[_0xfc32[15]]({query:_0x2e5cx11})})[_0xfc32[14]](function(_0x2e5cxf){console[_0xfc32[23]](_0xfc32[22],_0x2e5cxf)})};function getQuery(_0x2e5cxc,_0x2e5cxd){var _0x2e5cx13;return function(){return DefaultReport[_0xfc32[46]](_0xfc32[45])[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]])[_0xfc32[17]](function(_0x2e5cx15){console[_0xfc32[23]](_0xfc32[29]);if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};if(_0x2e5cxc[_0xfc32[18]][_0xfc32[31]]&&_0x2e5cxc[_0xfc32[18]][_0xfc32[31]]===_0xfc32[32]){_0x2e5cxc[_0xfc32[18]][_0xfc32[33]]=moment()[_0xfc32[35]](_0xfc32[34]);_0x2e5cxc[_0xfc32[18]][_0xfc32[36]]=moment()[_0xfc32[35]](_0xfc32[34]);_0x2e5cx15[_0xfc32[38]][_0xfc32[37]]=_0x2e5cx15[_0xfc32[38]][_0xfc32[37]][_0xfc32[41]](_0xfc32[39],_0xfc32[40])};delete _0x2e5cxc[_0xfc32[18]][_0xfc32[31]];_0x2e5cx13=_0x2e5cx15[_0xfc32[38]];return _0x2e5cx13[_0xfc32[37]]})[_0xfc32[17]](reportBuildUtils[_0xfc32[28]](_0x2e5cxc[_0xfc32[27]]))[_0xfc32[17]](function(_0x2e5cx14){return [_0x2e5cx14,_0x2e5cx13]})[_0xfc32[26]](reportBuildUtils[_0xfc32[25]](_0x2e5cxc[_0xfc32[18]]))}}exports[_0xfc32[47]]=function(_0x2e5cxc,_0x2e5cxd){var _0x2e5cx16;return Promise[_0xfc32[24]]([])[_0xfc32[17]](getQuery(_0x2e5cxc,_0x2e5cxd))[_0xfc32[17]](function(_0x2e5cx11){return sequelize[_0xfc32[18]](_0x2e5cx11,{type:sequelize[_0xfc32[58]][_0xfc32[57]]})})[_0xfc32[17]](function(_0x2e5cx17){_0x2e5cx16=_0x2e5cx17[_0xfc32[48]];if(_0x2e5cxc[_0xfc32[18]][_0xfc32[49]]){_0x2e5cx17=_(_0x2e5cx17)[_0xfc32[53]](_0x2e5cxc[_0xfc32[18]][_0xfc32[52]]||0)[_0xfc32[51]](_0x2e5cxc[_0xfc32[18]][_0xfc32[49]])[_0xfc32[50]]()};_[_0xfc32[56]](_0x2e5cx17,function(_0x2e5cx18){_[_0xfc32[55]](_0x2e5cx18,function(_0x2e5cx19,_0x2e5cx1a){if(_0x2e5cx19 instanceof Date){_0x2e5cx18[_0x2e5cx1a]=moment(_0x2e5cx19)[_0xfc32[35]](_0xfc32[54]).toString()}})});_0x2e5cxd[_0xfc32[16]](200)[_0xfc32[15]]({rows:_0x2e5cx17,count:_0x2e5cx16})})[_0xfc32[14]](function(_0x2e5cxf){console[_0xfc32[23]](_0x2e5cxf);return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[59]]=function(_0x2e5cxc,_0x2e5cxd){docExtract(_0x2e5cxc,_0x2e5cxd,_0xfc32[60])};exports[_0xfc32[61]]=function(_0x2e5cxc,_0x2e5cxd){docExtract(_0x2e5cxc,_0x2e5cxd,_0xfc32[62])};function docExtract(_0x2e5cxc,_0x2e5cxd,_0x2e5cx1c){DefaultReport[_0xfc32[46]](_0xfc32[45])[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]])[_0xfc32[17]](function(_0x2e5cx15){if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};if(_0x2e5cxc[_0xfc32[18]][_0xfc32[31]]&&_0x2e5cxc[_0xfc32[18]][_0xfc32[31]]===_0xfc32[32]){_0x2e5cxc[_0xfc32[18]][_0xfc32[33]]=moment()[_0xfc32[35]](_0xfc32[34]);_0x2e5cxc[_0xfc32[18]][_0xfc32[36]]=moment()[_0xfc32[35]](_0xfc32[34]);_0x2e5cx15[_0xfc32[38]][_0xfc32[37]]=_0x2e5cx15[_0xfc32[38]][_0xfc32[37]][_0xfc32[41]](_0xfc32[39],_0xfc32[40])};delete _0x2e5cxc[_0xfc32[18]][_0xfc32[31]];return [_0x2e5cx15,ExtractedReport[_0xfc32[74]]({name:_0x2e5cx15[_0xfc32[73]],startDate:_0x2e5cxc[_0xfc32[18]][_0xfc32[33]]||null,endDate:_0x2e5cxc[_0xfc32[18]][_0xfc32[36]]||null,output:_0x2e5cx1c})]})[_0xfc32[26]](function(_0x2e5cx15,_0x2e5cx1d){var _0x2e5cx1e=cp[_0xfc32[64]](__dirname+_0xfc32[63]);_0x2e5cx1e[_0xfc32[67]](_0xfc32[70],function(_0x2e5cx1f){console[_0xfc32[23]](_0xfc32[71],_0x2e5cx1f);_0x2e5cx1e[_0xfc32[72]]()})[_0xfc32[67]](_0xfc32[68],function(){console[_0xfc32[23]](_0xfc32[69])})[_0xfc32[67]](_0xfc32[65],function(_0x2e5cxf){console[_0xfc32[23]](_0xfc32[66],_0x2e5cxf)});_0x2e5cx1e[_0xfc32[15]]({report:_0x2e5cx15,query:_0x2e5cxc[_0xfc32[18]],extractedId:_0x2e5cx1d[_0xfc32[42]],user:_0x2e5cxc[_0xfc32[27]],type:_0x2e5cx1c})})[_0xfc32[14]](function(_0x2e5cxf){console[_0xfc32[23]](_0x2e5cxf);return handleError(_0x2e5cxd,_0x2e5cxf)});return _0x2e5cxd[_0xfc32[30]](200)}function getConditions(_0x2e5cx21){if(!_0x2e5cx21){return _0xfc32[40]};for(var _0x2e5cx22=_0xfc32[75],_0x2e5cx23=0;_0x2e5cx23<_0x2e5cx21[_0xfc32[76]][_0xfc32[48]];_0x2e5cx23++){_0x2e5cx23>0&&(_0x2e5cx22+=_0xfc32[77]+_0x2e5cx21[_0xfc32[78]]+_0xfc32[77]);_0x2e5cx22+=_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[79]]?getConditions(_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[79]]):_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[80]]+_0xfc32[77]+_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[81]]+_0xfc32[82]+(_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[81]]===_0xfc32[83]?_0xfc32[84]+_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[50]]+_0xfc32[84]:_0x2e5cx21[_0xfc32[76]][_0x2e5cx23][_0xfc32[50]])+_0xfc32[85]};return _0x2e5cx22+_0xfc32[86]}exports[_0xfc32[87]]=function(_0x2e5cxc,_0x2e5cxd){return DefaultReport[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]],{include:[{all:true}]})[_0xfc32[17]](function(_0x2e5cx15){if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};return _0x2e5cxd[_0xfc32[15]](_0x2e5cx15)})[_0xfc32[14]](function(_0x2e5cxf){return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[88]]=function(_0x2e5cxc,_0x2e5cxd){return DefaultReport[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]],{include:[{all:true}]})[_0xfc32[17]](function(_0x2e5cx15){if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};var _0x2e5cx24=_0x2e5cx15[_0xfc32[38]];delete _0x2e5cx24[_0xfc32[42]];delete _0x2e5cx24[_0xfc32[89]];delete _0x2e5cx24[_0xfc32[90]];_0x2e5cx24[_0xfc32[91]]=_0x2e5cxc[_0xfc32[92]][_0xfc32[91]];_0x2e5cx24[_0xfc32[93]]=_[_0xfc32[94]](_0x2e5cx24.Fields,_0xfc32[38]);_[_0xfc32[56]](_0x2e5cx24.Fields,function(_0x2e5cx25){delete _0x2e5cx25[_0xfc32[42]];delete _0x2e5cx25[_0xfc32[95]];delete _0x2e5cx25[_0xfc32[89]];delete _0x2e5cx25[_0xfc32[90]]});return CustomReport[_0xfc32[74]](_0x2e5cx24,{include:[{all:true}]})})[_0xfc32[17]](function(){return _0x2e5cxd[_0xfc32[30]](201)})[_0xfc32[14]](function(_0x2e5cxf){console[_0xfc32[23]](_0x2e5cxf);return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[74]]=function(_0x2e5cxc,_0x2e5cxd){return DefaultReport[_0xfc32[74]](_0x2e5cxc[_0xfc32[92]])[_0xfc32[17]](function(_0x2e5cx15){return _0x2e5cxd[_0xfc32[16]](201)[_0xfc32[15]](_0x2e5cx15)})[_0xfc32[14]](function(_0x2e5cxf){return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[96]]=function(_0x2e5cxc,_0x2e5cxd){if(_0x2e5cxc[_0xfc32[92]][_0xfc32[42]]){delete _0x2e5cxc[_0xfc32[92]][_0xfc32[42]]};return DefaultReport[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]])[_0xfc32[17]](function(_0x2e5cx15){if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};var _0x2e5cx26=_[_0xfc32[97]](_0x2e5cx15,_0x2e5cxc[_0xfc32[92]]);return _0x2e5cx26[_0xfc32[98]]()})[_0xfc32[17]](function(_0x2e5cx15){return _0x2e5cxd[_0xfc32[16]](200)[_0xfc32[15]](_0x2e5cx15)})[_0xfc32[14]](function(_0x2e5cxf){return handleError(_0x2e5cxd,_0x2e5cxf)})};exports[_0xfc32[99]]=function(_0x2e5cxc,_0x2e5cxd){return DefaultReport[_0xfc32[44]](_0x2e5cxc[_0xfc32[43]][_0xfc32[42]])[_0xfc32[17]](function(_0x2e5cx15){if(!_0x2e5cx15){return _0x2e5cxd[_0xfc32[30]](404)};return _0x2e5cx15[_0xfc32[99]]()})[_0xfc32[17]](function(){return _0x2e5cxd[_0xfc32[30]](204)})[_0xfc32[14]](function(_0x2e5cxf){return handleError(_0x2e5cxd,_0x2e5cxf)})};function handleError(_0x2e5cxd,_0x2e5cxf){return _0x2e5cxd[_0xfc32[16]](500)[_0xfc32[15]](_0x2e5cxf)} \ No newline at end of file +var _0xd5f2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x28","\x72\x75\x6C\x65\x73","\x20","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x67\x72\x6F\x75\x70","\x66\x69\x65\x6C\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x27","\x29","\x73\x68\x6F\x77","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x61\x72\x65\x6E\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x6D\x61\x70","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xd5f2[0];var _=require(_0xd5f2[1]);var util=require(_0xd5f2[2]);var DefaultReport=require(_0xd5f2[4])[_0xd5f2[3]];var sequelize=require(_0xd5f2[4])[_0xd5f2[5]];var CustomReport=require(_0xd5f2[4])[_0xd5f2[6]];var ExtractedReport=require(_0xd5f2[4])[_0xd5f2[7]];var extractUtils=require(_0xd5f2[8]);var reportBuildUtils=require(_0xd5f2[9]);var Util=require(_0xd5f2[10]);var moment=require(_0xd5f2[11]);var cp=require(_0xd5f2[12]);exports[_0xd5f2[13]]=function(_0x98c4xc,_0x98c4xd,_0x98c4xe){return DefaultReport[_0xd5f2[20]](Util[_0xd5f2[19]](_0x98c4xc[_0xd5f2[18]]))[_0xd5f2[17]](function(_0x98c4x10){_0x98c4xd[_0xd5f2[16]](200)[_0xd5f2[15]](_0x98c4x10)})[_0xd5f2[14]](function(_0x98c4xf){return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[21]]=function(_0x98c4xc,_0x98c4xd){return Promise[_0xd5f2[24]]([])[_0xd5f2[17]](getQuery(_0x98c4xc,_0x98c4xd))[_0xd5f2[17]](function(_0x98c4x11){_0x98c4xd[_0xd5f2[16]](200)[_0xd5f2[15]]({query:_0x98c4x11})})[_0xd5f2[14]](function(_0x98c4xf){console[_0xd5f2[23]](_0xd5f2[22],_0x98c4xf)})};function getQuery(_0x98c4xc,_0x98c4xd){var _0x98c4x13;return function(){return DefaultReport[_0xd5f2[46]](_0xd5f2[45])[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]])[_0xd5f2[17]](function(_0x98c4x15){console[_0xd5f2[23]](_0xd5f2[29]);if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};if(_0x98c4xc[_0xd5f2[18]][_0xd5f2[31]]&&_0x98c4xc[_0xd5f2[18]][_0xd5f2[31]]===_0xd5f2[32]){_0x98c4xc[_0xd5f2[18]][_0xd5f2[33]]=moment()[_0xd5f2[35]](_0xd5f2[34]);_0x98c4xc[_0xd5f2[18]][_0xd5f2[36]]=moment()[_0xd5f2[35]](_0xd5f2[34]);_0x98c4x15[_0xd5f2[38]][_0xd5f2[37]]=_0x98c4x15[_0xd5f2[38]][_0xd5f2[37]][_0xd5f2[41]](_0xd5f2[39],_0xd5f2[40])};delete _0x98c4xc[_0xd5f2[18]][_0xd5f2[31]];_0x98c4x13=_0x98c4x15[_0xd5f2[38]];return _0x98c4x13[_0xd5f2[37]]})[_0xd5f2[17]](reportBuildUtils[_0xd5f2[28]](_0x98c4xc[_0xd5f2[27]]))[_0xd5f2[17]](function(_0x98c4x14){return [_0x98c4x14,_0x98c4x13]})[_0xd5f2[26]](reportBuildUtils[_0xd5f2[25]](_0x98c4xc[_0xd5f2[18]]))}}exports[_0xd5f2[47]]=function(_0x98c4xc,_0x98c4xd){var _0x98c4x16;return Promise[_0xd5f2[24]]([])[_0xd5f2[17]](getQuery(_0x98c4xc,_0x98c4xd))[_0xd5f2[17]](function(_0x98c4x11){return sequelize[_0xd5f2[18]](_0x98c4x11,{type:sequelize[_0xd5f2[58]][_0xd5f2[57]]})})[_0xd5f2[17]](function(_0x98c4x17){_0x98c4x16=_0x98c4x17[_0xd5f2[48]];if(_0x98c4xc[_0xd5f2[18]][_0xd5f2[49]]){_0x98c4x17=_(_0x98c4x17)[_0xd5f2[53]](_0x98c4xc[_0xd5f2[18]][_0xd5f2[52]]||0)[_0xd5f2[51]](_0x98c4xc[_0xd5f2[18]][_0xd5f2[49]])[_0xd5f2[50]]()};_[_0xd5f2[56]](_0x98c4x17,function(_0x98c4x18){_[_0xd5f2[55]](_0x98c4x18,function(_0x98c4x19,_0x98c4x1a){if(_0x98c4x19 instanceof Date){_0x98c4x18[_0x98c4x1a]=moment(_0x98c4x19)[_0xd5f2[35]](_0xd5f2[54]).toString()}})});_0x98c4xd[_0xd5f2[16]](200)[_0xd5f2[15]]({rows:_0x98c4x17,count:_0x98c4x16})})[_0xd5f2[14]](function(_0x98c4xf){console[_0xd5f2[23]](_0x98c4xf);return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[59]]=function(_0x98c4xc,_0x98c4xd){docExtract(_0x98c4xc,_0x98c4xd,_0xd5f2[60])};exports[_0xd5f2[61]]=function(_0x98c4xc,_0x98c4xd){docExtract(_0x98c4xc,_0x98c4xd,_0xd5f2[62])};function docExtract(_0x98c4xc,_0x98c4xd,_0x98c4x1c){DefaultReport[_0xd5f2[46]](_0xd5f2[45])[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]])[_0xd5f2[17]](function(_0x98c4x15){if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};if(_0x98c4xc[_0xd5f2[18]][_0xd5f2[31]]&&_0x98c4xc[_0xd5f2[18]][_0xd5f2[31]]===_0xd5f2[32]){_0x98c4xc[_0xd5f2[18]][_0xd5f2[33]]=moment()[_0xd5f2[35]](_0xd5f2[34]);_0x98c4xc[_0xd5f2[18]][_0xd5f2[36]]=moment()[_0xd5f2[35]](_0xd5f2[34]);_0x98c4x15[_0xd5f2[38]][_0xd5f2[37]]=_0x98c4x15[_0xd5f2[38]][_0xd5f2[37]][_0xd5f2[41]](_0xd5f2[39],_0xd5f2[40])};delete _0x98c4xc[_0xd5f2[18]][_0xd5f2[31]];return [_0x98c4x15,ExtractedReport[_0xd5f2[74]]({name:_0x98c4x15[_0xd5f2[73]],startDate:_0x98c4xc[_0xd5f2[18]][_0xd5f2[33]]||null,endDate:_0x98c4xc[_0xd5f2[18]][_0xd5f2[36]]||null,output:_0x98c4x1c})]})[_0xd5f2[26]](function(_0x98c4x15,_0x98c4x1d){var _0x98c4x1e=cp[_0xd5f2[64]](__dirname+_0xd5f2[63]);_0x98c4x1e[_0xd5f2[67]](_0xd5f2[70],function(_0x98c4x1f){console[_0xd5f2[23]](_0xd5f2[71],_0x98c4x1f);_0x98c4x1e[_0xd5f2[72]]()})[_0xd5f2[67]](_0xd5f2[68],function(){console[_0xd5f2[23]](_0xd5f2[69])})[_0xd5f2[67]](_0xd5f2[65],function(_0x98c4xf){console[_0xd5f2[23]](_0xd5f2[66],_0x98c4xf)});_0x98c4x1e[_0xd5f2[15]]({report:_0x98c4x15,query:_0x98c4xc[_0xd5f2[18]],extractedId:_0x98c4x1d[_0xd5f2[42]],user:_0x98c4xc[_0xd5f2[27]],type:_0x98c4x1c})})[_0xd5f2[14]](function(_0x98c4xf){console[_0xd5f2[23]](_0x98c4xf);return handleError(_0x98c4xd,_0x98c4xf)});return _0x98c4xd[_0xd5f2[30]](200)}function getConditions(_0x98c4x21){if(!_0x98c4x21){return _0xd5f2[40]};for(var _0x98c4x22=_0xd5f2[75],_0x98c4x23=0;_0x98c4x23<_0x98c4x21[_0xd5f2[76]][_0xd5f2[48]];_0x98c4x23++){_0x98c4x23>0&&(_0x98c4x22+=_0xd5f2[77]+_0x98c4x21[_0xd5f2[78]]+_0xd5f2[77]);_0x98c4x22+=_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[79]]?getConditions(_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[79]]):_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[80]]+_0xd5f2[77]+_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[81]]+_0xd5f2[82]+(_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[81]]===_0xd5f2[83]?_0xd5f2[84]+_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[50]]+_0xd5f2[84]:_0x98c4x21[_0xd5f2[76]][_0x98c4x23][_0xd5f2[50]])+_0xd5f2[85]};return _0x98c4x22+_0xd5f2[86]}exports[_0xd5f2[87]]=function(_0x98c4xc,_0x98c4xd){return DefaultReport[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]],{include:[{all:true}]})[_0xd5f2[17]](function(_0x98c4x15){if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};return _0x98c4xd[_0xd5f2[15]](_0x98c4x15)})[_0xd5f2[14]](function(_0x98c4xf){return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[88]]=function(_0x98c4xc,_0x98c4xd){return DefaultReport[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]],{include:[{all:true}]})[_0xd5f2[17]](function(_0x98c4x15){if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};var _0x98c4x24=_0x98c4x15[_0xd5f2[38]];delete _0x98c4x24[_0xd5f2[42]];delete _0x98c4x24[_0xd5f2[89]];delete _0x98c4x24[_0xd5f2[90]];_0x98c4x24[_0xd5f2[91]]=_0x98c4xc[_0xd5f2[92]][_0xd5f2[91]];_0x98c4x24[_0xd5f2[93]]=_[_0xd5f2[94]](_0x98c4x24.Fields,_0xd5f2[38]);_[_0xd5f2[56]](_0x98c4x24.Fields,function(_0x98c4x25){delete _0x98c4x25[_0xd5f2[42]];delete _0x98c4x25[_0xd5f2[95]];delete _0x98c4x25[_0xd5f2[89]];delete _0x98c4x25[_0xd5f2[90]]});return CustomReport[_0xd5f2[74]](_0x98c4x24,{include:[{all:true}]})})[_0xd5f2[17]](function(){return _0x98c4xd[_0xd5f2[30]](201)})[_0xd5f2[14]](function(_0x98c4xf){console[_0xd5f2[23]](_0x98c4xf);return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[74]]=function(_0x98c4xc,_0x98c4xd){return DefaultReport[_0xd5f2[74]](_0x98c4xc[_0xd5f2[92]])[_0xd5f2[17]](function(_0x98c4x15){return _0x98c4xd[_0xd5f2[16]](201)[_0xd5f2[15]](_0x98c4x15)})[_0xd5f2[14]](function(_0x98c4xf){return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[96]]=function(_0x98c4xc,_0x98c4xd){if(_0x98c4xc[_0xd5f2[92]][_0xd5f2[42]]){delete _0x98c4xc[_0xd5f2[92]][_0xd5f2[42]]};return DefaultReport[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]])[_0xd5f2[17]](function(_0x98c4x15){if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};var _0x98c4x26=_[_0xd5f2[97]](_0x98c4x15,_0x98c4xc[_0xd5f2[92]]);return _0x98c4x26[_0xd5f2[98]]()})[_0xd5f2[17]](function(_0x98c4x15){return _0x98c4xd[_0xd5f2[16]](200)[_0xd5f2[15]](_0x98c4x15)})[_0xd5f2[14]](function(_0x98c4xf){return handleError(_0x98c4xd,_0x98c4xf)})};exports[_0xd5f2[99]]=function(_0x98c4xc,_0x98c4xd){return DefaultReport[_0xd5f2[44]](_0x98c4xc[_0xd5f2[43]][_0xd5f2[42]])[_0xd5f2[17]](function(_0x98c4x15){if(!_0x98c4x15){return _0x98c4xd[_0xd5f2[30]](404)};return _0x98c4x15[_0xd5f2[99]]()})[_0xd5f2[17]](function(){return _0x98c4xd[_0xd5f2[30]](204)})[_0xd5f2[14]](function(_0x98c4xf){return handleError(_0x98c4xd,_0x98c4xf)})};function handleError(_0x98c4xd,_0x98c4xf){return _0x98c4xd[_0xd5f2[16]](500)[_0xd5f2[15]](_0x98c4xf)} \ No newline at end of file diff --git a/server/api/default_report/default_report.socket.js b/server/api/default_report/default_report.socket.js index da21e00..a41b9f7 100644 --- a/server/api/default_report/default_report.socket.js +++ b/server/api/default_report/default_report.socket.js @@ -1 +1 @@ -var _0x7872=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7872[0];var DefaultReport=require(_0x7872[2])[_0x7872[1]];exports[_0x7872[3]]=function(_0x4e6bx2){DefaultReport[_0x7872[4]](function(_0x4e6bx3){onSave(_0x4e6bx2,_0x4e6bx3)});DefaultReport[_0x7872[5]](function(_0x4e6bx3){onRemove(_0x4e6bx2,_0x4e6bx3)})};function onSave(_0x4e6bx2,_0x4e6bx3,_0x4e6bx5){_0x4e6bx2[_0x7872[7]](_0x7872[6],_0x4e6bx3)}function onRemove(_0x4e6bx2,_0x4e6bx3,_0x4e6bx5){_0x4e6bx2[_0x7872[7]](_0x7872[8],_0x4e6bx3)} \ No newline at end of file +var _0xdc54=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdc54[0];var DefaultReport=require(_0xdc54[2])[_0xdc54[1]];exports[_0xdc54[3]]=function(_0xf7ffx2){DefaultReport[_0xdc54[4]](function(_0xf7ffx3){onSave(_0xf7ffx2,_0xf7ffx3)});DefaultReport[_0xdc54[5]](function(_0xf7ffx3){onRemove(_0xf7ffx2,_0xf7ffx3)})};function onSave(_0xf7ffx2,_0xf7ffx3,_0xf7ffx5){_0xf7ffx2[_0xdc54[7]](_0xdc54[6],_0xf7ffx3)}function onRemove(_0xf7ffx2,_0xf7ffx3,_0xf7ffx5){_0xf7ffx2[_0xdc54[7]](_0xdc54[8],_0xf7ffx3)} \ No newline at end of file diff --git a/server/api/default_report/index.js b/server/api/default_report/index.js index 09549ae..ea03480 100644 --- a/server/api/default_report/index.js +++ b/server/api/default_report/index.js @@ -1 +1 @@ -var _0xf1ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xf1ec[0];var express=require(_0xf1ec[1]);var controller=require(_0xf1ec[2]);var auth=require(_0xf1ec[3]);var router=express.Router();router[_0xf1ec[9]](_0xf1ec[4],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[8]]);router[_0xf1ec[9]](_0xf1ec[10],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[11]]);router[_0xf1ec[9]](_0xf1ec[12],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[13]]);router[_0xf1ec[9]](_0xf1ec[14],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[15]]);router[_0xf1ec[9]](_0xf1ec[16],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[17]]);router[_0xf1ec[9]](_0xf1ec[18],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[19]]);router[_0xf1ec[22]](_0xf1ec[20],auth[_0xf1ec[5]](),auth[_0xf1ec[7]]([17],[_0xf1ec[6]]),controller[_0xf1ec[21]]);module[_0xf1ec[23]]=router \ No newline at end of file +var _0x439b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x439b[0];var express=require(_0x439b[1]);var controller=require(_0x439b[2]);var auth=require(_0x439b[3]);var router=express.Router();router[_0x439b[9]](_0x439b[4],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[8]]);router[_0x439b[9]](_0x439b[10],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[11]]);router[_0x439b[9]](_0x439b[12],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[13]]);router[_0x439b[9]](_0x439b[14],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[15]]);router[_0x439b[9]](_0x439b[16],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[17]]);router[_0x439b[9]](_0x439b[18],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[19]]);router[_0x439b[22]](_0x439b[20],auth[_0x439b[5]](),auth[_0x439b[7]]([17],[_0x439b[6]]),controller[_0x439b[21]]);module[_0x439b[23]]=router \ No newline at end of file diff --git a/server/api/desk_account/desk_account.controller.js b/server/api/desk_account/desk_account.controller.js index 4301148..b69c740 100644 --- a/server/api/desk_account/desk_account.controller.js +++ b/server/api/desk_account/desk_account.controller.js @@ -1 +1 @@ -var _0x7950=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x64\x65\x73\x6B\x2E\x6A\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x54\x79\x70\x65","\x62\x61\x73\x69\x63","\x70\x61\x73\x73\x77\x6F\x72\x64","\x6F\x61\x75\x74\x68","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x4B\x65\x79","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x53\x65\x63\x72\x65\x74","\x74\x6F\x6B\x65\x6E","\x74\x6F\x6B\x65\x6E\x53\x65\x63\x72\x65\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65","\x67\x65\x74","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x65\x6E\x74\x72\x69\x65\x73","\x5F\x65\x6D\x62\x65\x64\x64\x65\x64","\x6A\x73\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0x7950[0];var _=require(_0x7950[1]);var util=require(_0x7950[2]);var desk=require(_0x7950[3]);var DeskAccount=require(_0x7950[5])[_0x7950[4]];exports[_0x7950[6]]=function(_0xdf14x5,_0xdf14x6){var _0xdf14x7=[_0x7950[7],_0x7950[8],_0x7950[9],_0x7950[10]];var _0xdf14x8=_0xdf14x5[_0x7950[12]][_0x7950[11]]?parseInt(_0xdf14x5[_0x7950[12]][_0x7950[11]],10):100;var _0xdf14x9=_0xdf14x5[_0x7950[12]][_0x7950[13]]?parseInt(_0xdf14x5[_0x7950[12]][_0x7950[13]],10):0;var _0xdf14xa={where:{},limit:_0xdf14x8,offset:_0xdf14x9*_0xdf14x8};_[_0x7950[27]](_0xdf14x5[_0x7950[12]],function(_0xdf14xb,_0xdf14xc){switch(_0xdf14xc){case _0x7950[11]:;case _0x7950[13]:break;case _0x7950[16]:_0xdf14xa[_0x7950[14]]=util[_0x7950[19]](_0x7950[15],_0xdf14x5[_0x7950[12]][_0x7950[16]],_0xdf14x5[_0x7950[12]][_0x7950[17]]||_0x7950[18])||null;break;case _0x7950[17]:break;case _0x7950[25]:_0xdf14xa[_0x7950[21]][_0x7950[20]]=[];_0xdf14x7[_0x7950[24]](function(_0xdf14xd){var _0xdf14xe={};_0xdf14xe[_0xdf14xd]={$like:_0x7950[22]+_0xdf14xb+_0x7950[22]};_0xdf14xa[_0x7950[21]][_0x7950[20]][_0x7950[23]](_0xdf14xe)});break;default:_0xdf14xa[_0x7950[21]][_0xdf14xc]={$like:{}};_0xdf14xa[_0x7950[21]][_0xdf14xc][_0x7950[26]]=_0x7950[22]+_0xdf14xb+_0x7950[22]}});return DeskAccount[_0x7950[42]](_0xdf14xa)[_0x7950[41]](function(_0xdf14x10){var _0xdf14x11=Math[_0x7950[33]](_0xdf14x10[_0x7950[32]]/_0xdf14x8);var _0xdf14x12=_0xdf14x11>(_0xdf14xa[_0x7950[34]]+1)?util[_0x7950[19]](_0x7950[35],_0xdf14x5[_0x7950[36]],_0xdf14x5[_0x7950[38]][_0x7950[37]],_0xdf14x5[_0x7950[39]],_0xdf14x9+1):null;var _0xdf14x13=_0xdf14x9>0?util[_0x7950[19]](_0x7950[35],_0xdf14x5[_0x7950[36]],_0xdf14x5[_0x7950[38]][_0x7950[37]],_0xdf14x5[_0x7950[39]],_0xdf14x9-1):null;return _0xdf14x6[_0x7950[30]](200)[_0x7950[29]]({count:_0xdf14x10[_0x7950[32]],rows:_0xdf14x10[_0x7950[40]],next_page:_0xdf14x12,previous_page:_0xdf14x13,total_pages:_0xdf14x11})})[_0x7950[31]](function(_0xdf14xf){return _0xdf14x6[_0x7950[30]](500)[_0x7950[29]]({error:_0x7950[28]})})};exports[_0x7950[43]]=function(_0xdf14x5,_0xdf14x6){DeskAccount[_0x7950[47]](_0xdf14x5[_0x7950[46]][_0x7950[45]])[_0x7950[41]](function(_0xdf14x14){if(!_0xdf14x14){return _0xdf14x6[_0x7950[44]](404)};return _0xdf14x6[_0x7950[29]](_0xdf14x14)})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[48]]=function(_0xdf14x5,_0xdf14x6,_0xdf14x15){DeskAccount[_0x7950[48]](_0xdf14x5[_0x7950[49]])[_0x7950[41]](function(_0xdf14x14){return _0xdf14x6[_0x7950[30]](201)[_0x7950[29]](_0xdf14x14)})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[50]]=function(_0xdf14x5,_0xdf14x6){if(_0xdf14x5[_0x7950[49]][_0x7950[45]]){delete _0xdf14x5[_0x7950[49]][_0x7950[45]]};DeskAccount[_0x7950[47]](_0xdf14x5[_0x7950[46]][_0x7950[45]])[_0x7950[41]](function(_0xdf14x14){if(!_0xdf14x14){return _0xdf14x6[_0x7950[44]](404)};var _0xdf14x16=_[_0x7950[51]](_0xdf14x14,_0xdf14x5[_0x7950[49]]);_0xdf14x16[_0x7950[52]]()[_0x7950[41]](function(){return _0xdf14x6[_0x7950[30]](200)[_0x7950[29]](_0xdf14x14)})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[53]]=function(_0xdf14x5,_0xdf14x6){DeskAccount[_0x7950[47]](_0xdf14x5[_0x7950[46]][_0x7950[45]])[_0x7950[41]](function(_0xdf14x14){if(!_0xdf14x14){return _0xdf14x6[_0x7950[44]](404)};_0xdf14x14[_0x7950[53]]()[_0x7950[41]](function(){return _0xdf14x6[_0x7950[44]](204)})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[54]]=function(_0xdf14x5,_0xdf14x6){DeskAccount[_0x7950[47]](_0xdf14x5[_0x7950[46]][_0x7950[45]])[_0x7950[41]](function(_0xdf14x17){var _0xdf14x14={endpoint:stripTrailingSlash(_0xdf14x17[_0x7950[10]]),retry:false};if(_0xdf14x17[_0x7950[55]]===_0x7950[56]){_0xdf14x14[_0x7950[9]]=_0xdf14x17[_0x7950[9]];_0xdf14x14[_0x7950[57]]=_0xdf14x17[_0x7950[57]]}else {if(_0xdf14x17[_0x7950[55]]===_0x7950[58]){_0xdf14x14[_0x7950[59]]=_0xdf14x17[_0x7950[59]];_0xdf14x14[_0x7950[60]]=_0xdf14x17[_0x7950[60]];_0xdf14x14[_0x7950[61]]=_0xdf14x17[_0x7950[61]];_0xdf14x14[_0x7950[62]]=_0xdf14x17[_0x7950[62]]}};var _0xdf14x18=desk[_0x7950[63]](_0xdf14x14);_0xdf14x18[_0x7950[65]](_0x7950[64],function(_0xdf14xf,_0xdf14x19,_0xdf14x1a){if(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)};return _0xdf14x6[_0x7950[44]](200)})})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[66]]=function(_0xdf14x5,_0xdf14x6){var _0xdf14x1b={};_0xdf14x1b[_0xdf14x5[_0x7950[46]][_0x7950[67]]]=_0xdf14x5[_0x7950[49]][_0x7950[68]];DeskAccount[_0x7950[42]]({where:_0xdf14x1b})[_0x7950[41]](function(_0xdf14x10){if(_0xdf14x10[_0x7950[32]]){return _0xdf14x6[_0x7950[30]](200)[_0x7950[29]]({isValid:false,value:_0xdf14x5[_0x7950[49]][_0x7950[68]]})};return _0xdf14x6[_0x7950[30]](200)[_0x7950[29]]({isValid:true,value:_0xdf14x5[_0x7950[49]][_0x7950[68]]})})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[69]]=function(_0xdf14x5,_0xdf14x6){DeskAccount[_0x7950[47]](_0xdf14x5[_0x7950[46]][_0x7950[45]])[_0x7950[41]](function(_0xdf14x17){var _0xdf14x14={endpoint:stripTrailingSlash(_0xdf14x17[_0x7950[10]]),retry:false};if(_0xdf14x17[_0x7950[55]]===_0x7950[56]){_0xdf14x14[_0x7950[9]]=_0xdf14x17[_0x7950[9]];_0xdf14x14[_0x7950[57]]=_0xdf14x17[_0x7950[57]]}else {if(_0xdf14x17[_0x7950[55]]===_0x7950[58]){_0xdf14x14[_0x7950[59]]=_0xdf14x17[_0x7950[59]];_0xdf14x14[_0x7950[60]]=_0xdf14x17[_0x7950[60]];_0xdf14x14[_0x7950[61]]=_0xdf14x17[_0x7950[61]];_0xdf14x14[_0x7950[62]]=_0xdf14x17[_0x7950[62]]}};var _0xdf14x18=desk[_0x7950[63]](_0xdf14x14);_0xdf14x18[_0x7950[65]](_0x7950[70],function(_0xdf14xf,_0xdf14x19,_0xdf14x1a){if(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)};return _0xdf14x6[_0x7950[30]](200)[_0x7950[73]](_0xdf14x19[_0x7950[72]][_0x7950[71]])})})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};exports[_0x7950[74]]=function(_0xdf14x5,_0xdf14x6){DeskAccount[_0x7950[53]]({where:{id:_0xdf14x5[_0x7950[12]][_0x7950[45]]},individualHooks:true})[_0x7950[41]](function(){return _0xdf14x6[_0x7950[44]](204)})[_0x7950[31]](function(_0xdf14xf){return handleError(_0xdf14x6,_0xdf14xf)})};function stripTrailingSlash(_0xdf14x1d){if(_0xdf14x1d[_0x7950[75]](-1)===_0x7950[76]){return _0xdf14x1d[_0x7950[75]](0,_0xdf14x1d[_0x7950[77]]-1)};return _0xdf14x1d}function handleError(_0xdf14x6,_0xdf14xf){return _0xdf14x6[_0x7950[30]](500)[_0x7950[29]](_0xdf14xf)} \ No newline at end of file +var _0xb418=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x64\x65\x73\x6B\x2E\x6A\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x54\x79\x70\x65","\x62\x61\x73\x69\x63","\x70\x61\x73\x73\x77\x6F\x72\x64","\x6F\x61\x75\x74\x68","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x4B\x65\x79","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x53\x65\x63\x72\x65\x74","\x74\x6F\x6B\x65\x6E","\x74\x6F\x6B\x65\x6E\x53\x65\x63\x72\x65\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65","\x67\x65\x74","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x65\x6E\x74\x72\x69\x65\x73","\x5F\x65\x6D\x62\x65\x64\x64\x65\x64","\x6A\x73\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0xb418[0];var _=require(_0xb418[1]);var util=require(_0xb418[2]);var desk=require(_0xb418[3]);var DeskAccount=require(_0xb418[5])[_0xb418[4]];exports[_0xb418[6]]=function(_0xeaa4x5,_0xeaa4x6){var _0xeaa4x7=[_0xb418[7],_0xb418[8],_0xb418[9],_0xb418[10]];var _0xeaa4x8=_0xeaa4x5[_0xb418[12]][_0xb418[11]]?parseInt(_0xeaa4x5[_0xb418[12]][_0xb418[11]],10):100;var _0xeaa4x9=_0xeaa4x5[_0xb418[12]][_0xb418[13]]?parseInt(_0xeaa4x5[_0xb418[12]][_0xb418[13]],10):0;var _0xeaa4xa={where:{},limit:_0xeaa4x8,offset:_0xeaa4x9*_0xeaa4x8};_[_0xb418[27]](_0xeaa4x5[_0xb418[12]],function(_0xeaa4xb,_0xeaa4xc){switch(_0xeaa4xc){case _0xb418[11]:;case _0xb418[13]:break;case _0xb418[16]:_0xeaa4xa[_0xb418[14]]=util[_0xb418[19]](_0xb418[15],_0xeaa4x5[_0xb418[12]][_0xb418[16]],_0xeaa4x5[_0xb418[12]][_0xb418[17]]||_0xb418[18])||null;break;case _0xb418[17]:break;case _0xb418[25]:_0xeaa4xa[_0xb418[21]][_0xb418[20]]=[];_0xeaa4x7[_0xb418[24]](function(_0xeaa4xd){var _0xeaa4xe={};_0xeaa4xe[_0xeaa4xd]={$like:_0xb418[22]+_0xeaa4xb+_0xb418[22]};_0xeaa4xa[_0xb418[21]][_0xb418[20]][_0xb418[23]](_0xeaa4xe)});break;default:_0xeaa4xa[_0xb418[21]][_0xeaa4xc]={$like:{}};_0xeaa4xa[_0xb418[21]][_0xeaa4xc][_0xb418[26]]=_0xb418[22]+_0xeaa4xb+_0xb418[22]}});return DeskAccount[_0xb418[42]](_0xeaa4xa)[_0xb418[41]](function(_0xeaa4x10){var _0xeaa4x11=Math[_0xb418[33]](_0xeaa4x10[_0xb418[32]]/_0xeaa4x8);var _0xeaa4x12=_0xeaa4x11>(_0xeaa4xa[_0xb418[34]]+1)?util[_0xb418[19]](_0xb418[35],_0xeaa4x5[_0xb418[36]],_0xeaa4x5[_0xb418[38]][_0xb418[37]],_0xeaa4x5[_0xb418[39]],_0xeaa4x9+1):null;var _0xeaa4x13=_0xeaa4x9>0?util[_0xb418[19]](_0xb418[35],_0xeaa4x5[_0xb418[36]],_0xeaa4x5[_0xb418[38]][_0xb418[37]],_0xeaa4x5[_0xb418[39]],_0xeaa4x9-1):null;return _0xeaa4x6[_0xb418[30]](200)[_0xb418[29]]({count:_0xeaa4x10[_0xb418[32]],rows:_0xeaa4x10[_0xb418[40]],next_page:_0xeaa4x12,previous_page:_0xeaa4x13,total_pages:_0xeaa4x11})})[_0xb418[31]](function(_0xeaa4xf){return _0xeaa4x6[_0xb418[30]](500)[_0xb418[29]]({error:_0xb418[28]})})};exports[_0xb418[43]]=function(_0xeaa4x5,_0xeaa4x6){DeskAccount[_0xb418[47]](_0xeaa4x5[_0xb418[46]][_0xb418[45]])[_0xb418[41]](function(_0xeaa4x14){if(!_0xeaa4x14){return _0xeaa4x6[_0xb418[44]](404)};return _0xeaa4x6[_0xb418[29]](_0xeaa4x14)})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[48]]=function(_0xeaa4x5,_0xeaa4x6,_0xeaa4x15){DeskAccount[_0xb418[48]](_0xeaa4x5[_0xb418[49]])[_0xb418[41]](function(_0xeaa4x14){return _0xeaa4x6[_0xb418[30]](201)[_0xb418[29]](_0xeaa4x14)})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[50]]=function(_0xeaa4x5,_0xeaa4x6){if(_0xeaa4x5[_0xb418[49]][_0xb418[45]]){delete _0xeaa4x5[_0xb418[49]][_0xb418[45]]};DeskAccount[_0xb418[47]](_0xeaa4x5[_0xb418[46]][_0xb418[45]])[_0xb418[41]](function(_0xeaa4x14){if(!_0xeaa4x14){return _0xeaa4x6[_0xb418[44]](404)};var _0xeaa4x16=_[_0xb418[51]](_0xeaa4x14,_0xeaa4x5[_0xb418[49]]);_0xeaa4x16[_0xb418[52]]()[_0xb418[41]](function(){return _0xeaa4x6[_0xb418[30]](200)[_0xb418[29]](_0xeaa4x14)})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[53]]=function(_0xeaa4x5,_0xeaa4x6){DeskAccount[_0xb418[47]](_0xeaa4x5[_0xb418[46]][_0xb418[45]])[_0xb418[41]](function(_0xeaa4x14){if(!_0xeaa4x14){return _0xeaa4x6[_0xb418[44]](404)};_0xeaa4x14[_0xb418[53]]()[_0xb418[41]](function(){return _0xeaa4x6[_0xb418[44]](204)})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[54]]=function(_0xeaa4x5,_0xeaa4x6){DeskAccount[_0xb418[47]](_0xeaa4x5[_0xb418[46]][_0xb418[45]])[_0xb418[41]](function(_0xeaa4x17){var _0xeaa4x14={endpoint:stripTrailingSlash(_0xeaa4x17[_0xb418[10]]),retry:false};if(_0xeaa4x17[_0xb418[55]]===_0xb418[56]){_0xeaa4x14[_0xb418[9]]=_0xeaa4x17[_0xb418[9]];_0xeaa4x14[_0xb418[57]]=_0xeaa4x17[_0xb418[57]]}else {if(_0xeaa4x17[_0xb418[55]]===_0xb418[58]){_0xeaa4x14[_0xb418[59]]=_0xeaa4x17[_0xb418[59]];_0xeaa4x14[_0xb418[60]]=_0xeaa4x17[_0xb418[60]];_0xeaa4x14[_0xb418[61]]=_0xeaa4x17[_0xb418[61]];_0xeaa4x14[_0xb418[62]]=_0xeaa4x17[_0xb418[62]]}};var _0xeaa4x18=desk[_0xb418[63]](_0xeaa4x14);_0xeaa4x18[_0xb418[65]](_0xb418[64],function(_0xeaa4xf,_0xeaa4x19,_0xeaa4x1a){if(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)};return _0xeaa4x6[_0xb418[44]](200)})})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[66]]=function(_0xeaa4x5,_0xeaa4x6){var _0xeaa4x1b={};_0xeaa4x1b[_0xeaa4x5[_0xb418[46]][_0xb418[67]]]=_0xeaa4x5[_0xb418[49]][_0xb418[68]];DeskAccount[_0xb418[42]]({where:_0xeaa4x1b})[_0xb418[41]](function(_0xeaa4x10){if(_0xeaa4x10[_0xb418[32]]){return _0xeaa4x6[_0xb418[30]](200)[_0xb418[29]]({isValid:false,value:_0xeaa4x5[_0xb418[49]][_0xb418[68]]})};return _0xeaa4x6[_0xb418[30]](200)[_0xb418[29]]({isValid:true,value:_0xeaa4x5[_0xb418[49]][_0xb418[68]]})})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[69]]=function(_0xeaa4x5,_0xeaa4x6){DeskAccount[_0xb418[47]](_0xeaa4x5[_0xb418[46]][_0xb418[45]])[_0xb418[41]](function(_0xeaa4x17){var _0xeaa4x14={endpoint:stripTrailingSlash(_0xeaa4x17[_0xb418[10]]),retry:false};if(_0xeaa4x17[_0xb418[55]]===_0xb418[56]){_0xeaa4x14[_0xb418[9]]=_0xeaa4x17[_0xb418[9]];_0xeaa4x14[_0xb418[57]]=_0xeaa4x17[_0xb418[57]]}else {if(_0xeaa4x17[_0xb418[55]]===_0xb418[58]){_0xeaa4x14[_0xb418[59]]=_0xeaa4x17[_0xb418[59]];_0xeaa4x14[_0xb418[60]]=_0xeaa4x17[_0xb418[60]];_0xeaa4x14[_0xb418[61]]=_0xeaa4x17[_0xb418[61]];_0xeaa4x14[_0xb418[62]]=_0xeaa4x17[_0xb418[62]]}};var _0xeaa4x18=desk[_0xb418[63]](_0xeaa4x14);_0xeaa4x18[_0xb418[65]](_0xb418[70],function(_0xeaa4xf,_0xeaa4x19,_0xeaa4x1a){if(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)};return _0xeaa4x6[_0xb418[30]](200)[_0xb418[73]](_0xeaa4x19[_0xb418[72]][_0xb418[71]])})})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};exports[_0xb418[74]]=function(_0xeaa4x5,_0xeaa4x6){DeskAccount[_0xb418[53]]({where:{id:_0xeaa4x5[_0xb418[12]][_0xb418[45]]},individualHooks:true})[_0xb418[41]](function(){return _0xeaa4x6[_0xb418[44]](204)})[_0xb418[31]](function(_0xeaa4xf){return handleError(_0xeaa4x6,_0xeaa4xf)})};function stripTrailingSlash(_0xeaa4x1d){if(_0xeaa4x1d[_0xb418[75]](-1)===_0xb418[76]){return _0xeaa4x1d[_0xb418[75]](0,_0xeaa4x1d[_0xb418[77]]-1)};return _0xeaa4x1d}function handleError(_0xeaa4x6,_0xeaa4xf){return _0xeaa4x6[_0xb418[30]](500)[_0xb418[29]](_0xeaa4xf)} \ No newline at end of file diff --git a/server/api/desk_account/desk_account.socket.js b/server/api/desk_account/desk_account.socket.js index 233b04b..06896dd 100644 --- a/server/api/desk_account/desk_account.socket.js +++ b/server/api/desk_account/desk_account.socket.js @@ -1 +1 @@ -var _0x6c68=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6c68[0];var DeskAccount=require(_0x6c68[2])[_0x6c68[1]];exports[_0x6c68[3]]=function(_0x5b28x2){DeskAccount[_0x6c68[4]](function(_0x5b28x3){onSave(_0x5b28x2,_0x5b28x3)});DeskAccount[_0x6c68[5]](function(_0x5b28x3){onRemove(_0x5b28x2,_0x5b28x3)})};function onSave(_0x5b28x2,_0x5b28x3,_0x5b28x5){_0x5b28x2[_0x6c68[7]](_0x6c68[6],_0x5b28x3)}function onRemove(_0x5b28x2,_0x5b28x3,_0x5b28x5){_0x5b28x2[_0x6c68[7]](_0x6c68[8],_0x5b28x3)} \ No newline at end of file +var _0x2396=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2396[0];var DeskAccount=require(_0x2396[2])[_0x2396[1]];exports[_0x2396[3]]=function(_0x8785x2){DeskAccount[_0x2396[4]](function(_0x8785x3){onSave(_0x8785x2,_0x8785x3)});DeskAccount[_0x2396[5]](function(_0x8785x3){onRemove(_0x8785x2,_0x8785x3)})};function onSave(_0x8785x2,_0x8785x3,_0x8785x5){_0x8785x2[_0x2396[7]](_0x2396[6],_0x8785x3)}function onRemove(_0x8785x2,_0x8785x3,_0x8785x5){_0x8785x2[_0x2396[7]](_0x2396[8],_0x8785x3)} \ No newline at end of file diff --git a/server/api/desk_account/index.js b/server/api/desk_account/index.js index 0934d1e..b4cb6c9 100644 --- a/server/api/desk_account/index.js +++ b/server/api/desk_account/index.js @@ -1 +1 @@ -var _0x401a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\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","\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","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x401a[0];var express=require(_0x401a[1]);var controller=require(_0x401a[2]);var auth=require(_0x401a[3]);var router=express.Router();router[_0x401a[9]](_0x401a[4],auth[_0x401a[5]](),auth[_0x401a[7]]([19,13],[_0x401a[6]]),controller[_0x401a[8]]);router[_0x401a[9]](_0x401a[10],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[11]]);router[_0x401a[9]](_0x401a[12],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[13]]);router[_0x401a[9]](_0x401a[14],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[15]]);router[_0x401a[18]](_0x401a[16],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[17]]);router[_0x401a[18]](_0x401a[4],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[19]]);router[_0x401a[21]](_0x401a[10],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[20]]);router[_0x401a[23]](_0x401a[4],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[22]]);router[_0x401a[23]](_0x401a[10],auth[_0x401a[5]](),auth[_0x401a[7]]([19],[_0x401a[6]]),controller[_0x401a[24]]);module[_0x401a[25]]=router \ No newline at end of file +var _0x3181=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\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","\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","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x3181[0];var express=require(_0x3181[1]);var controller=require(_0x3181[2]);var auth=require(_0x3181[3]);var router=express.Router();router[_0x3181[9]](_0x3181[4],auth[_0x3181[5]](),auth[_0x3181[7]]([19,13],[_0x3181[6]]),controller[_0x3181[8]]);router[_0x3181[9]](_0x3181[10],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[11]]);router[_0x3181[9]](_0x3181[12],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[13]]);router[_0x3181[9]](_0x3181[14],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[15]]);router[_0x3181[18]](_0x3181[16],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[17]]);router[_0x3181[18]](_0x3181[4],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[19]]);router[_0x3181[21]](_0x3181[10],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[20]]);router[_0x3181[23]](_0x3181[4],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[22]]);router[_0x3181[23]](_0x3181[10],auth[_0x3181[5]](),auth[_0x3181[7]]([19],[_0x3181[6]]),controller[_0x3181[24]]);module[_0x3181[25]]=router \ No newline at end of file diff --git a/server/api/desk_configuration/desk_configuration.controller.js b/server/api/desk_configuration/desk_configuration.controller.js index 28adc0a..f6ca841 100644 --- a/server/api/desk_configuration/desk_configuration.controller.js +++ b/server/api/desk_configuration/desk_configuration.controller.js @@ -1 +1 @@ -var _0x183a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x183a[0];var _=require(_0x183a[1]);var DeskConfiguration=require(_0x183a[3])[_0x183a[2]];var DeskField=require(_0x183a[3])[_0x183a[4]];function handleError(_0x6262x5,_0x6262x6){_0x6262x6=_0x6262x6||500;return function(_0x6262x7){_0x6262x5[_0x183a[6]](_0x6262x6)[_0x183a[5]](_0x6262x7)}}function responseWithResult(_0x6262x5,_0x6262x6){_0x6262x6=_0x6262x6||200;return function(_0x6262x9){if(_0x6262x9){_0x6262x5[_0x183a[6]](_0x6262x6)[_0x183a[7]](_0x6262x9)}}}function handleEntityNotFound(_0x6262x5){return function(_0x6262x9){if(!_0x6262x9){_0x6262x5[_0x183a[6]](404)[_0x183a[8]]();return null};return _0x6262x9}}function saveUpdates(_0x6262xc){return function(_0x6262x9){return _0x6262x9[_0x183a[10]](_0x6262xc)[_0x183a[9]](function(_0x6262xd){return _0x6262xd})}}function removeEntity(_0x6262x5){return function(_0x6262x9){if(_0x6262x9){return _0x6262x9[_0x183a[11]]()[_0x183a[9]](function(){_0x6262x5[_0x183a[6]](204)[_0x183a[8]]()})}}}exports[_0x183a[12]]=function(_0x6262xf,_0x6262x5){DeskConfiguration[_0x183a[15]]({where:_0x6262xf[_0x183a[14]]})[_0x183a[9]](responseWithResult(_0x6262x5))[_0x183a[13]](handleError(_0x6262x5))};exports[_0x183a[16]]=function(_0x6262xf,_0x6262x5){DeskConfiguration[_0x183a[22]]({where:{id:_0x6262xf[_0x183a[18]][_0x183a[17]]},include:[{model:DeskField,as:_0x183a[19]},{model:DeskField,as:_0x183a[20]},{model:DeskField,as:_0x183a[21]}]})[_0x183a[9]](handleEntityNotFound(_0x6262x5))[_0x183a[9]](responseWithResult(_0x6262x5))[_0x183a[13]](handleError(_0x6262x5))};exports[_0x183a[23]]=function(_0x6262xf,_0x6262x5){DeskConfiguration[_0x183a[23]](_0x6262xf[_0x183a[24]])[_0x183a[9]](responseWithResult(_0x6262x5,201))[_0x183a[13]](handleError(_0x6262x5))};exports[_0x183a[25]]=function(_0x6262xf,_0x6262x5){if(_0x6262xf[_0x183a[24]][_0x183a[17]]){delete _0x6262xf[_0x183a[24]][_0x183a[17]]};DeskConfiguration[_0x183a[26]](_0x6262xf[_0x183a[18]][_0x183a[17]])[_0x183a[9]](handleEntityNotFound(_0x6262x5))[_0x183a[9]](saveUpdates(_0x6262xf[_0x183a[24]]))[_0x183a[9]](responseWithResult(_0x6262x5))[_0x183a[13]](handleError(_0x6262x5))};exports[_0x183a[11]]=function(_0x6262xf,_0x6262x5){DeskConfiguration[_0x183a[26]](_0x6262xf[_0x183a[18]][_0x183a[17]])[_0x183a[9]](handleEntityNotFound(_0x6262x5))[_0x183a[9]](removeEntity(_0x6262x5))[_0x183a[13]](handleError(_0x6262x5))};exports[_0x183a[27]]=function(_0x6262xf,_0x6262x5,_0x6262x10){var _0x6262x11;DeskConfiguration[_0x183a[26]](_0x6262xf[_0x183a[18]][_0x183a[17]])[_0x183a[9]](handleEntityNotFound(_0x6262x5))[_0x183a[9]](function(_0x6262x14){_0x6262x11=_0x6262x14;return DeskField[_0x183a[23]](_0x6262xf[_0x183a[24]])})[_0x183a[9]](function(_0x6262x13){switch(_0x6262xf[_0x183a[18]][_0x183a[35]]){case _0x183a[30]:return [_0x6262x11[_0x183a[29]](_0x6262x13),_0x6262x13];case _0x183a[32]:return [_0x6262x11[_0x183a[31]](_0x6262x13),_0x6262x13];case _0x183a[34]:return [_0x6262x11[_0x183a[33]](_0x6262x13),_0x6262x13]}})[_0x183a[28]](function(_0x6262x12,_0x6262x13){return _0x6262x5[_0x183a[6]](201)[_0x183a[7]](_0x6262x13)})[_0x183a[13]](handleError(_0x6262x5))} \ No newline at end of file +var _0xc6e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0xc6e2[0];var _=require(_0xc6e2[1]);var DeskConfiguration=require(_0xc6e2[3])[_0xc6e2[2]];var DeskField=require(_0xc6e2[3])[_0xc6e2[4]];function handleError(_0x9270x5,_0x9270x6){_0x9270x6=_0x9270x6||500;return function(_0x9270x7){_0x9270x5[_0xc6e2[6]](_0x9270x6)[_0xc6e2[5]](_0x9270x7)}}function responseWithResult(_0x9270x5,_0x9270x6){_0x9270x6=_0x9270x6||200;return function(_0x9270x9){if(_0x9270x9){_0x9270x5[_0xc6e2[6]](_0x9270x6)[_0xc6e2[7]](_0x9270x9)}}}function handleEntityNotFound(_0x9270x5){return function(_0x9270x9){if(!_0x9270x9){_0x9270x5[_0xc6e2[6]](404)[_0xc6e2[8]]();return null};return _0x9270x9}}function saveUpdates(_0x9270xc){return function(_0x9270x9){return _0x9270x9[_0xc6e2[10]](_0x9270xc)[_0xc6e2[9]](function(_0x9270xd){return _0x9270xd})}}function removeEntity(_0x9270x5){return function(_0x9270x9){if(_0x9270x9){return _0x9270x9[_0xc6e2[11]]()[_0xc6e2[9]](function(){_0x9270x5[_0xc6e2[6]](204)[_0xc6e2[8]]()})}}}exports[_0xc6e2[12]]=function(_0x9270xf,_0x9270x5){DeskConfiguration[_0xc6e2[15]]({where:_0x9270xf[_0xc6e2[14]]})[_0xc6e2[9]](responseWithResult(_0x9270x5))[_0xc6e2[13]](handleError(_0x9270x5))};exports[_0xc6e2[16]]=function(_0x9270xf,_0x9270x5){DeskConfiguration[_0xc6e2[22]]({where:{id:_0x9270xf[_0xc6e2[18]][_0xc6e2[17]]},include:[{model:DeskField,as:_0xc6e2[19]},{model:DeskField,as:_0xc6e2[20]},{model:DeskField,as:_0xc6e2[21]}]})[_0xc6e2[9]](handleEntityNotFound(_0x9270x5))[_0xc6e2[9]](responseWithResult(_0x9270x5))[_0xc6e2[13]](handleError(_0x9270x5))};exports[_0xc6e2[23]]=function(_0x9270xf,_0x9270x5){DeskConfiguration[_0xc6e2[23]](_0x9270xf[_0xc6e2[24]])[_0xc6e2[9]](responseWithResult(_0x9270x5,201))[_0xc6e2[13]](handleError(_0x9270x5))};exports[_0xc6e2[25]]=function(_0x9270xf,_0x9270x5){if(_0x9270xf[_0xc6e2[24]][_0xc6e2[17]]){delete _0x9270xf[_0xc6e2[24]][_0xc6e2[17]]};DeskConfiguration[_0xc6e2[26]](_0x9270xf[_0xc6e2[18]][_0xc6e2[17]])[_0xc6e2[9]](handleEntityNotFound(_0x9270x5))[_0xc6e2[9]](saveUpdates(_0x9270xf[_0xc6e2[24]]))[_0xc6e2[9]](responseWithResult(_0x9270x5))[_0xc6e2[13]](handleError(_0x9270x5))};exports[_0xc6e2[11]]=function(_0x9270xf,_0x9270x5){DeskConfiguration[_0xc6e2[26]](_0x9270xf[_0xc6e2[18]][_0xc6e2[17]])[_0xc6e2[9]](handleEntityNotFound(_0x9270x5))[_0xc6e2[9]](removeEntity(_0x9270x5))[_0xc6e2[13]](handleError(_0x9270x5))};exports[_0xc6e2[27]]=function(_0x9270xf,_0x9270x5,_0x9270x10){var _0x9270x11;DeskConfiguration[_0xc6e2[26]](_0x9270xf[_0xc6e2[18]][_0xc6e2[17]])[_0xc6e2[9]](handleEntityNotFound(_0x9270x5))[_0xc6e2[9]](function(_0x9270x14){_0x9270x11=_0x9270x14;return DeskField[_0xc6e2[23]](_0x9270xf[_0xc6e2[24]])})[_0xc6e2[9]](function(_0x9270x13){switch(_0x9270xf[_0xc6e2[18]][_0xc6e2[35]]){case _0xc6e2[30]:return [_0x9270x11[_0xc6e2[29]](_0x9270x13),_0x9270x13];case _0xc6e2[32]:return [_0x9270x11[_0xc6e2[31]](_0x9270x13),_0x9270x13];case _0xc6e2[34]:return [_0x9270x11[_0xc6e2[33]](_0x9270x13),_0x9270x13]}})[_0xc6e2[28]](function(_0x9270x12,_0x9270x13){return _0x9270x5[_0xc6e2[6]](201)[_0xc6e2[7]](_0x9270x13)})[_0xc6e2[13]](handleError(_0x9270x5))} \ No newline at end of file diff --git a/server/api/desk_configuration/desk_configuration.socket.js b/server/api/desk_configuration/desk_configuration.socket.js index aaa9a45..561b578 100644 --- a/server/api/desk_configuration/desk_configuration.socket.js +++ b/server/api/desk_configuration/desk_configuration.socket.js @@ -1 +1 @@ -var _0xaf8b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xaf8b[0];var DeskConfiguration=require(_0xaf8b[2])[_0xaf8b[1]];exports[_0xaf8b[3]]=function(_0x17d7x2){DeskConfiguration[_0xaf8b[4]](function(_0x17d7x3){onSave(_0x17d7x2,_0x17d7x3)});DeskConfiguration[_0xaf8b[5]](function(_0x17d7x3){onRemove(_0x17d7x2,_0x17d7x3)})};function onSave(_0x17d7x2,_0x17d7x3,_0x17d7x5){_0x17d7x2[_0xaf8b[7]](_0xaf8b[6],_0x17d7x3)}function onRemove(_0x17d7x2,_0x17d7x3,_0x17d7x5){_0x17d7x2[_0xaf8b[7]](_0xaf8b[8],_0x17d7x3)} \ No newline at end of file +var _0x8afb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8afb[0];var DeskConfiguration=require(_0x8afb[2])[_0x8afb[1]];exports[_0x8afb[3]]=function(_0x4cd9x2){DeskConfiguration[_0x8afb[4]](function(_0x4cd9x3){onSave(_0x4cd9x2,_0x4cd9x3)});DeskConfiguration[_0x8afb[5]](function(_0x4cd9x3){onRemove(_0x4cd9x2,_0x4cd9x3)})};function onSave(_0x4cd9x2,_0x4cd9x3,_0x4cd9x5){_0x4cd9x2[_0x8afb[7]](_0x8afb[6],_0x4cd9x3)}function onRemove(_0x4cd9x2,_0x4cd9x3,_0x4cd9x5){_0x4cd9x2[_0x8afb[7]](_0x8afb[8],_0x4cd9x3)} \ No newline at end of file diff --git a/server/api/desk_configuration/index.js b/server/api/desk_configuration/index.js index ec05c74..1e0a537 100644 --- a/server/api/desk_configuration/index.js +++ b/server/api/desk_configuration/index.js @@ -1 +1 @@ -var _0xd969=["\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\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\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\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd969[0];var express=require(_0xd969[1]);var auth=require(_0xd969[2]);var controller=require(_0xd969[3]);var router=express.Router();router[_0xd969[7]](_0xd969[4],auth[_0xd969[5]](),controller[_0xd969[6]]);router[_0xd969[7]](_0xd969[8],auth[_0xd969[5]](),auth[_0xd969[10]]([19],[_0xd969[9]]),controller[_0xd969[11]]);router[_0xd969[13]](_0xd969[4],auth[_0xd969[5]](),auth[_0xd969[10]]([19],[_0xd969[9]]),controller[_0xd969[12]]);router[_0xd969[15]](_0xd969[8],auth[_0xd969[5]](),auth[_0xd969[10]]([19],[_0xd969[9]]),controller[_0xd969[14]]);router[_0xd969[13]](_0xd969[16],auth[_0xd969[5]](),auth[_0xd969[10]]([19],[_0xd969[9]]),controller[_0xd969[17]]);router[_0xd969[19]](_0xd969[8],auth[_0xd969[5]](),auth[_0xd969[10]]([19],[_0xd969[9]]),controller[_0xd969[18]]);module[_0xd969[20]]=router \ No newline at end of file +var _0x6728=["\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\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\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\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x6728[0];var express=require(_0x6728[1]);var auth=require(_0x6728[2]);var controller=require(_0x6728[3]);var router=express.Router();router[_0x6728[7]](_0x6728[4],auth[_0x6728[5]](),controller[_0x6728[6]]);router[_0x6728[7]](_0x6728[8],auth[_0x6728[5]](),auth[_0x6728[10]]([19],[_0x6728[9]]),controller[_0x6728[11]]);router[_0x6728[13]](_0x6728[4],auth[_0x6728[5]](),auth[_0x6728[10]]([19],[_0x6728[9]]),controller[_0x6728[12]]);router[_0x6728[15]](_0x6728[8],auth[_0x6728[5]](),auth[_0x6728[10]]([19],[_0x6728[9]]),controller[_0x6728[14]]);router[_0x6728[13]](_0x6728[16],auth[_0x6728[5]](),auth[_0x6728[10]]([19],[_0x6728[9]]),controller[_0x6728[17]]);router[_0x6728[19]](_0x6728[8],auth[_0x6728[5]](),auth[_0x6728[10]]([19],[_0x6728[9]]),controller[_0x6728[18]]);module[_0x6728[20]]=router \ No newline at end of file diff --git a/server/api/desk_field/desk_field.controller.js b/server/api/desk_field/desk_field.controller.js index 3a97cbd..a2e1524 100644 --- a/server/api/desk_field/desk_field.controller.js +++ b/server/api/desk_field/desk_field.controller.js @@ -1 +1 @@ -var _0xc4f1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x63\x61\x74\x63\x68","\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"];_0xc4f1[0];var _=require(_0xc4f1[1]);var DeskField=require(_0xc4f1[3])[_0xc4f1[2]];function handleError(_0x4948x4,_0x4948x5){_0x4948x5=_0x4948x5||500;return function(_0x4948x6){_0x4948x4[_0xc4f1[5]](_0x4948x5)[_0xc4f1[4]](_0x4948x6)}}function responseWithResult(_0x4948x4,_0x4948x5){_0x4948x5=_0x4948x5||200;return function(_0x4948x8){if(_0x4948x8){_0x4948x4[_0xc4f1[5]](_0x4948x5)[_0xc4f1[6]](_0x4948x8)}}}function handleEntityNotFound(_0x4948x4){return function(_0x4948x8){if(!_0x4948x8){_0x4948x4[_0xc4f1[5]](404)[_0xc4f1[7]]();return null};return _0x4948x8}}function saveUpdates(_0x4948xb){return function(_0x4948x8){return _0x4948x8[_0xc4f1[9]](_0x4948xb)[_0xc4f1[8]](function(_0x4948xc){return _0x4948xc})}}function removeEntity(_0x4948x4){return function(_0x4948x8){if(_0x4948x8){return _0x4948x8[_0xc4f1[10]]()[_0xc4f1[8]](function(){_0x4948x4[_0xc4f1[5]](204)[_0xc4f1[7]]()})}}}exports[_0xc4f1[11]]=function(_0x4948xe,_0x4948x4){DeskField[_0xc4f1[13]]()[_0xc4f1[8]](responseWithResult(_0x4948x4))[_0xc4f1[12]](handleError(_0x4948x4))};exports[_0xc4f1[14]]=function(_0x4948xe,_0x4948x4){DeskField[_0xc4f1[17]](_0x4948xe[_0xc4f1[16]][_0xc4f1[15]])[_0xc4f1[8]](handleEntityNotFound(_0x4948x4))[_0xc4f1[8]](responseWithResult(_0x4948x4))[_0xc4f1[12]](handleError(_0x4948x4))};exports[_0xc4f1[18]]=function(_0x4948xe,_0x4948x4){DeskField[_0xc4f1[18]](_0x4948xe[_0xc4f1[19]])[_0xc4f1[8]](responseWithResult(_0x4948x4,201))[_0xc4f1[12]](handleError(_0x4948x4))};exports[_0xc4f1[20]]=function(_0x4948xe,_0x4948x4){if(_0x4948xe[_0xc4f1[19]][_0xc4f1[15]]){delete _0x4948xe[_0xc4f1[19]][_0xc4f1[15]]};DeskField[_0xc4f1[17]](_0x4948xe[_0xc4f1[16]][_0xc4f1[15]])[_0xc4f1[8]](handleEntityNotFound(_0x4948x4))[_0xc4f1[8]](saveUpdates(_0x4948xe[_0xc4f1[19]]))[_0xc4f1[8]](responseWithResult(_0x4948x4))[_0xc4f1[12]](handleError(_0x4948x4))};exports[_0xc4f1[10]]=function(_0x4948xe,_0x4948x4){DeskField[_0xc4f1[17]](_0x4948xe[_0xc4f1[16]][_0xc4f1[15]])[_0xc4f1[8]](handleEntityNotFound(_0x4948x4))[_0xc4f1[8]](removeEntity(_0x4948x4))[_0xc4f1[12]](handleError(_0x4948x4))} \ No newline at end of file +var _0xa0f6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x63\x61\x74\x63\x68","\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"];_0xa0f6[0];var _=require(_0xa0f6[1]);var DeskField=require(_0xa0f6[3])[_0xa0f6[2]];function handleError(_0x9553x4,_0x9553x5){_0x9553x5=_0x9553x5||500;return function(_0x9553x6){_0x9553x4[_0xa0f6[5]](_0x9553x5)[_0xa0f6[4]](_0x9553x6)}}function responseWithResult(_0x9553x4,_0x9553x5){_0x9553x5=_0x9553x5||200;return function(_0x9553x8){if(_0x9553x8){_0x9553x4[_0xa0f6[5]](_0x9553x5)[_0xa0f6[6]](_0x9553x8)}}}function handleEntityNotFound(_0x9553x4){return function(_0x9553x8){if(!_0x9553x8){_0x9553x4[_0xa0f6[5]](404)[_0xa0f6[7]]();return null};return _0x9553x8}}function saveUpdates(_0x9553xb){return function(_0x9553x8){return _0x9553x8[_0xa0f6[9]](_0x9553xb)[_0xa0f6[8]](function(_0x9553xc){return _0x9553xc})}}function removeEntity(_0x9553x4){return function(_0x9553x8){if(_0x9553x8){return _0x9553x8[_0xa0f6[10]]()[_0xa0f6[8]](function(){_0x9553x4[_0xa0f6[5]](204)[_0xa0f6[7]]()})}}}exports[_0xa0f6[11]]=function(_0x9553xe,_0x9553x4){DeskField[_0xa0f6[13]]()[_0xa0f6[8]](responseWithResult(_0x9553x4))[_0xa0f6[12]](handleError(_0x9553x4))};exports[_0xa0f6[14]]=function(_0x9553xe,_0x9553x4){DeskField[_0xa0f6[17]](_0x9553xe[_0xa0f6[16]][_0xa0f6[15]])[_0xa0f6[8]](handleEntityNotFound(_0x9553x4))[_0xa0f6[8]](responseWithResult(_0x9553x4))[_0xa0f6[12]](handleError(_0x9553x4))};exports[_0xa0f6[18]]=function(_0x9553xe,_0x9553x4){DeskField[_0xa0f6[18]](_0x9553xe[_0xa0f6[19]])[_0xa0f6[8]](responseWithResult(_0x9553x4,201))[_0xa0f6[12]](handleError(_0x9553x4))};exports[_0xa0f6[20]]=function(_0x9553xe,_0x9553x4){if(_0x9553xe[_0xa0f6[19]][_0xa0f6[15]]){delete _0x9553xe[_0xa0f6[19]][_0xa0f6[15]]};DeskField[_0xa0f6[17]](_0x9553xe[_0xa0f6[16]][_0xa0f6[15]])[_0xa0f6[8]](handleEntityNotFound(_0x9553x4))[_0xa0f6[8]](saveUpdates(_0x9553xe[_0xa0f6[19]]))[_0xa0f6[8]](responseWithResult(_0x9553x4))[_0xa0f6[12]](handleError(_0x9553x4))};exports[_0xa0f6[10]]=function(_0x9553xe,_0x9553x4){DeskField[_0xa0f6[17]](_0x9553xe[_0xa0f6[16]][_0xa0f6[15]])[_0xa0f6[8]](handleEntityNotFound(_0x9553x4))[_0xa0f6[8]](removeEntity(_0x9553x4))[_0xa0f6[12]](handleError(_0x9553x4))} \ No newline at end of file diff --git a/server/api/desk_field/desk_field.socket.js b/server/api/desk_field/desk_field.socket.js index 3f38226..3827e3f 100644 --- a/server/api/desk_field/desk_field.socket.js +++ b/server/api/desk_field/desk_field.socket.js @@ -1 +1 @@ -var _0x656a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x656a[0];var DeskField=require(_0x656a[2])[_0x656a[1]];exports[_0x656a[3]]=function(_0x6655x2){DeskField[_0x656a[4]](function(_0x6655x3){onSave(_0x6655x2,_0x6655x3)});DeskField[_0x656a[5]](function(_0x6655x3){onRemove(_0x6655x2,_0x6655x3)})};function onSave(_0x6655x2,_0x6655x3,_0x6655x5){_0x6655x2[_0x656a[7]](_0x656a[6],_0x6655x3)}function onRemove(_0x6655x2,_0x6655x3,_0x6655x5){_0x6655x2[_0x656a[7]](_0x656a[8],_0x6655x3)} \ No newline at end of file +var _0x3992=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3992[0];var DeskField=require(_0x3992[2])[_0x3992[1]];exports[_0x3992[3]]=function(_0x56e5x2){DeskField[_0x3992[4]](function(_0x56e5x3){onSave(_0x56e5x2,_0x56e5x3)});DeskField[_0x3992[5]](function(_0x56e5x3){onRemove(_0x56e5x2,_0x56e5x3)})};function onSave(_0x56e5x2,_0x56e5x3,_0x56e5x5){_0x56e5x2[_0x3992[7]](_0x3992[6],_0x56e5x3)}function onRemove(_0x56e5x2,_0x56e5x3,_0x56e5x5){_0x56e5x2[_0x3992[7]](_0x3992[8],_0x56e5x3)} \ No newline at end of file diff --git a/server/api/desk_field/index.js b/server/api/desk_field/index.js index 28bee30..9b97e06 100644 --- a/server/api/desk_field/index.js +++ b/server/api/desk_field/index.js @@ -1 +1 @@ -var _0x650f=["\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\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\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","\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"];_0x650f[0];var express=require(_0x650f[1]);var auth=require(_0x650f[2]);var controller=require(_0x650f[3]);var router=express.Router();router[_0x650f[9]](_0x650f[4],auth[_0x650f[5]](),auth[_0x650f[7]]([19],[_0x650f[6]]),controller[_0x650f[8]]);router[_0x650f[9]](_0x650f[10],auth[_0x650f[5]](),auth[_0x650f[7]]([19],[_0x650f[6]]),controller[_0x650f[11]]);router[_0x650f[13]](_0x650f[4],auth[_0x650f[5]](),auth[_0x650f[7]]([19],[_0x650f[6]]),controller[_0x650f[12]]);router[_0x650f[15]](_0x650f[10],auth[_0x650f[5]](),auth[_0x650f[7]]([19],[_0x650f[6]]),controller[_0x650f[14]]);router[_0x650f[17]](_0x650f[10],auth[_0x650f[5]](),auth[_0x650f[7]]([19],[_0x650f[6]]),controller[_0x650f[16]]);module[_0x650f[18]]=router \ No newline at end of file +var _0xd84d=["\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\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\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","\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"];_0xd84d[0];var express=require(_0xd84d[1]);var auth=require(_0xd84d[2]);var controller=require(_0xd84d[3]);var router=express.Router();router[_0xd84d[9]](_0xd84d[4],auth[_0xd84d[5]](),auth[_0xd84d[7]]([19],[_0xd84d[6]]),controller[_0xd84d[8]]);router[_0xd84d[9]](_0xd84d[10],auth[_0xd84d[5]](),auth[_0xd84d[7]]([19],[_0xd84d[6]]),controller[_0xd84d[11]]);router[_0xd84d[13]](_0xd84d[4],auth[_0xd84d[5]](),auth[_0xd84d[7]]([19],[_0xd84d[6]]),controller[_0xd84d[12]]);router[_0xd84d[15]](_0xd84d[10],auth[_0xd84d[5]](),auth[_0xd84d[7]]([19],[_0xd84d[6]]),controller[_0xd84d[14]]);router[_0xd84d[17]](_0xd84d[10],auth[_0xd84d[5]](),auth[_0xd84d[7]]([19],[_0xd84d[6]]),controller[_0xd84d[16]]);module[_0xd84d[18]]=router \ No newline at end of file diff --git a/server/api/extracted_report/extracted_report.controller.js b/server/api/extracted_report/extracted_report.controller.js index 03ea711..7a5fd86 100644 --- a/server/api/extracted_report/extracted_report.controller.js +++ b/server/api/extracted_report/extracted_report.controller.js @@ -1 +1 @@ -var _0x9beb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\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","\x69\x64","\x75\x73\x65\x72","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\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","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73"];_0x9beb[0];var _=require(_0x9beb[1]);var ExtractedReport=require(_0x9beb[3])[_0x9beb[2]];var util=require(_0x9beb[4]);var path=require(_0x9beb[5]);var moment=require(_0x9beb[6]);var config=require(_0x9beb[7]);var base64=require(_0x9beb[8]);var fs=require(_0x9beb[9]);var Util=require(_0x9beb[10]);exports[_0x9beb[11]]=function(_0x7f47xa,_0x7f47xb,_0x7f47xc){switch(_0x7f47xa[_0x9beb[18]][_0x9beb[21]]){case _0x9beb[18]:return ExtractedReport[_0x9beb[20]](Util[_0x9beb[19]](_0x7f47xa[_0x9beb[16]],{UserId:_0x7f47xa[_0x9beb[18]][_0x9beb[17]]}))[_0x9beb[15]](function(_0x7f47xe){_0x7f47xb[_0x9beb[14]](200)[_0x9beb[13]](_0x7f47xe)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)});default:return ExtractedReport[_0x9beb[20]](Util[_0x9beb[19]](_0x7f47xa[_0x9beb[16]]))[_0x9beb[15]](function(_0x7f47xe){_0x7f47xb[_0x9beb[14]](200)[_0x9beb[13]](_0x7f47xe)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})}};exports[_0x9beb[22]]=function(_0x7f47xa,_0x7f47xb){return ExtractedReport[_0x9beb[25]](_0x7f47xa[_0x9beb[24]][_0x9beb[17]])[_0x9beb[15]](function(_0x7f47xf){if(!_0x7f47xf){return _0x7f47xb[_0x9beb[23]](404)};return _0x7f47xb[_0x9beb[13]](_0x7f47xf)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};exports[_0x9beb[26]]=function(_0x7f47xa,_0x7f47xb){return ExtractedReport[_0x9beb[25]](_0x7f47xa[_0x9beb[24]][_0x9beb[17]])[_0x9beb[15]](function(_0x7f47x10){if(!_0x7f47x10){return _0x7f47xb[_0x9beb[14]](404)[_0x9beb[13]](_0x7f47x10)};var _0x7f47x11=path[_0x9beb[32]](config[_0x9beb[27]],_0x9beb[28],_0x9beb[29],_0x9beb[30],_0x7f47x10[_0x9beb[31]]);base64[_0x9beb[33]](_0x7f47x11,function(_0x7f47xd,_0x7f47x12){if(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)}else {return _0x7f47xb[_0x9beb[14]](200)[_0x9beb[13]]({downloadString:_0x7f47x12})}})})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};exports[_0x9beb[34]]=function(_0x7f47xa,_0x7f47xb){return ExtractedReport[_0x9beb[34]](_0x7f47xa[_0x9beb[35]])[_0x9beb[15]](function(_0x7f47xf){return _0x7f47xb[_0x9beb[14]](201)[_0x9beb[13]](_0x7f47xf)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};exports[_0x9beb[36]]=function(_0x7f47xa,_0x7f47xb){return ExtractedReport[_0x9beb[40]]({where:{name:_0x7f47xa[_0x9beb[35]][_0x9beb[39]],id:{$ne:_0x7f47xa[_0x9beb[35]][_0x9beb[17]]}}})[_0x9beb[15]](function(_0x7f47x14){if(!_0x7f47x14){return _0x7f47xb[_0x9beb[23]](404)};if(_0x7f47xa[_0x9beb[35]][_0x9beb[17]]){delete _0x7f47xa[_0x9beb[35]][_0x9beb[17]]};return ExtractedReport[_0x9beb[25]](_0x7f47xa[_0x9beb[24]][_0x9beb[17]])})[_0x9beb[15]](function(_0x7f47xf){if(!_0x7f47xf){return _0x7f47xb[_0x9beb[23]](404)};var _0x7f47x13=_[_0x9beb[37]](_0x7f47xf,_0x7f47xa[_0x9beb[35]]);return _0x7f47x13[_0x9beb[38]]()})[_0x9beb[15]](function(_0x7f47xf){return _0x7f47xb[_0x9beb[14]](200)[_0x9beb[13]](_0x7f47xf)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};exports[_0x9beb[41]]=function(_0x7f47xa,_0x7f47xb){var _0x7f47x15;return ExtractedReport[_0x9beb[25]](_0x7f47xa[_0x9beb[24]][_0x9beb[17]])[_0x9beb[15]](function(_0x7f47xf){_0x7f47x15=_0x7f47xf;if(!_0x7f47xf){return _0x7f47xb[_0x9beb[23]](404)};return _0x7f47xf[_0x9beb[41]]()})[_0x9beb[15]](function(){if(_0x7f47x15[_0x9beb[31]]){var _0x7f47x11=path[_0x9beb[32]](config[_0x9beb[27]],_0x9beb[28],_0x9beb[29],_0x9beb[30],_0x7f47x15[_0x9beb[31]]);fs[_0x9beb[50]](_0x7f47x11,fs[_0x9beb[42]]|fs[_0x9beb[43]],function(_0x7f47xd){if(_0x7f47xd){console[_0x9beb[45]](_0x9beb[44])}else {fs[_0x9beb[49]](_0x7f47x11,function(_0x7f47xd){if(_0x7f47xd){console[_0x9beb[45]](_0x9beb[46],_0x7f47xd)}else {console[_0x9beb[48]](_0x9beb[47])}})}})};return _0x7f47xb[_0x9beb[23]](204)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};exports[_0x9beb[51]]=function(_0x7f47xa,_0x7f47xb){var _0x7f47x16;return ExtractedReport[_0x9beb[40]]({where:{id:_0x7f47xa[_0x9beb[16]][_0x9beb[55]]}})[_0x9beb[15]](function(_0x7f47x17){_0x7f47x16=_0x7f47x17;var _0x7f47x18=[];_0x7f47x17[_0x9beb[52]](function(_0x7f47xf){_0x7f47x18[_0x9beb[54]](_0x7f47xf[_0x9beb[41]]())});return _0x7f47x18})[_0x9beb[53]]()[_0x9beb[15]](function(){_0x7f47x16[_0x9beb[52]](function(_0x7f47xf){if(_0x7f47xf[_0x9beb[31]]){var _0x7f47x11=path[_0x9beb[32]](config[_0x9beb[27]],_0x9beb[28],_0x9beb[29],_0x9beb[30],_0x7f47xf[_0x9beb[31]]);fs[_0x9beb[50]](_0x7f47x11,fs[_0x9beb[42]]|fs[_0x9beb[43]],function(_0x7f47xd){if(_0x7f47xd){console[_0x9beb[45]](_0x9beb[44])}else {fs[_0x9beb[49]](_0x7f47x11,function(_0x7f47xd){if(_0x7f47xd){console[_0x9beb[45]](_0x9beb[46],_0x7f47xd)}else {console[_0x9beb[48]](_0x9beb[47])}})}})}});return _0x7f47xb[_0x9beb[23]](204)})[_0x9beb[12]](function(_0x7f47xd){return handleError(_0x7f47xb,_0x7f47xd)})};function handleError(_0x7f47xb,_0x7f47xd){console[_0x9beb[48]](_0x7f47xd);return _0x7f47xb[_0x9beb[14]](500)[_0x9beb[13]](_0x7f47xd)} \ No newline at end of file +var _0xd176=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\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","\x69\x64","\x75\x73\x65\x72","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\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","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73"];_0xd176[0];var _=require(_0xd176[1]);var ExtractedReport=require(_0xd176[3])[_0xd176[2]];var util=require(_0xd176[4]);var path=require(_0xd176[5]);var moment=require(_0xd176[6]);var config=require(_0xd176[7]);var base64=require(_0xd176[8]);var fs=require(_0xd176[9]);var Util=require(_0xd176[10]);exports[_0xd176[11]]=function(_0xbd7exa,_0xbd7exb,_0xbd7exc){switch(_0xbd7exa[_0xd176[18]][_0xd176[21]]){case _0xd176[18]:return ExtractedReport[_0xd176[20]](Util[_0xd176[19]](_0xbd7exa[_0xd176[16]],{UserId:_0xbd7exa[_0xd176[18]][_0xd176[17]]}))[_0xd176[15]](function(_0xbd7exe){_0xbd7exb[_0xd176[14]](200)[_0xd176[13]](_0xbd7exe)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)});default:return ExtractedReport[_0xd176[20]](Util[_0xd176[19]](_0xbd7exa[_0xd176[16]]))[_0xd176[15]](function(_0xbd7exe){_0xbd7exb[_0xd176[14]](200)[_0xd176[13]](_0xbd7exe)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})}};exports[_0xd176[22]]=function(_0xbd7exa,_0xbd7exb){return ExtractedReport[_0xd176[25]](_0xbd7exa[_0xd176[24]][_0xd176[17]])[_0xd176[15]](function(_0xbd7exf){if(!_0xbd7exf){return _0xbd7exb[_0xd176[23]](404)};return _0xbd7exb[_0xd176[13]](_0xbd7exf)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};exports[_0xd176[26]]=function(_0xbd7exa,_0xbd7exb){return ExtractedReport[_0xd176[25]](_0xbd7exa[_0xd176[24]][_0xd176[17]])[_0xd176[15]](function(_0xbd7ex10){if(!_0xbd7ex10){return _0xbd7exb[_0xd176[14]](404)[_0xd176[13]](_0xbd7ex10)};var _0xbd7ex11=path[_0xd176[32]](config[_0xd176[27]],_0xd176[28],_0xd176[29],_0xd176[30],_0xbd7ex10[_0xd176[31]]);base64[_0xd176[33]](_0xbd7ex11,function(_0xbd7exd,_0xbd7ex12){if(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)}else {return _0xbd7exb[_0xd176[14]](200)[_0xd176[13]]({downloadString:_0xbd7ex12})}})})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};exports[_0xd176[34]]=function(_0xbd7exa,_0xbd7exb){return ExtractedReport[_0xd176[34]](_0xbd7exa[_0xd176[35]])[_0xd176[15]](function(_0xbd7exf){return _0xbd7exb[_0xd176[14]](201)[_0xd176[13]](_0xbd7exf)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};exports[_0xd176[36]]=function(_0xbd7exa,_0xbd7exb){return ExtractedReport[_0xd176[40]]({where:{name:_0xbd7exa[_0xd176[35]][_0xd176[39]],id:{$ne:_0xbd7exa[_0xd176[35]][_0xd176[17]]}}})[_0xd176[15]](function(_0xbd7ex14){if(!_0xbd7ex14){return _0xbd7exb[_0xd176[23]](404)};if(_0xbd7exa[_0xd176[35]][_0xd176[17]]){delete _0xbd7exa[_0xd176[35]][_0xd176[17]]};return ExtractedReport[_0xd176[25]](_0xbd7exa[_0xd176[24]][_0xd176[17]])})[_0xd176[15]](function(_0xbd7exf){if(!_0xbd7exf){return _0xbd7exb[_0xd176[23]](404)};var _0xbd7ex13=_[_0xd176[37]](_0xbd7exf,_0xbd7exa[_0xd176[35]]);return _0xbd7ex13[_0xd176[38]]()})[_0xd176[15]](function(_0xbd7exf){return _0xbd7exb[_0xd176[14]](200)[_0xd176[13]](_0xbd7exf)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};exports[_0xd176[41]]=function(_0xbd7exa,_0xbd7exb){var _0xbd7ex15;return ExtractedReport[_0xd176[25]](_0xbd7exa[_0xd176[24]][_0xd176[17]])[_0xd176[15]](function(_0xbd7exf){_0xbd7ex15=_0xbd7exf;if(!_0xbd7exf){return _0xbd7exb[_0xd176[23]](404)};return _0xbd7exf[_0xd176[41]]()})[_0xd176[15]](function(){if(_0xbd7ex15[_0xd176[31]]){var _0xbd7ex11=path[_0xd176[32]](config[_0xd176[27]],_0xd176[28],_0xd176[29],_0xd176[30],_0xbd7ex15[_0xd176[31]]);fs[_0xd176[50]](_0xbd7ex11,fs[_0xd176[42]]|fs[_0xd176[43]],function(_0xbd7exd){if(_0xbd7exd){console[_0xd176[45]](_0xd176[44])}else {fs[_0xd176[49]](_0xbd7ex11,function(_0xbd7exd){if(_0xbd7exd){console[_0xd176[45]](_0xd176[46],_0xbd7exd)}else {console[_0xd176[48]](_0xd176[47])}})}})};return _0xbd7exb[_0xd176[23]](204)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};exports[_0xd176[51]]=function(_0xbd7exa,_0xbd7exb){var _0xbd7ex16;return ExtractedReport[_0xd176[40]]({where:{id:_0xbd7exa[_0xd176[16]][_0xd176[55]]}})[_0xd176[15]](function(_0xbd7ex17){_0xbd7ex16=_0xbd7ex17;var _0xbd7ex18=[];_0xbd7ex17[_0xd176[52]](function(_0xbd7exf){_0xbd7ex18[_0xd176[54]](_0xbd7exf[_0xd176[41]]())});return _0xbd7ex18})[_0xd176[53]]()[_0xd176[15]](function(){_0xbd7ex16[_0xd176[52]](function(_0xbd7exf){if(_0xbd7exf[_0xd176[31]]){var _0xbd7ex11=path[_0xd176[32]](config[_0xd176[27]],_0xd176[28],_0xd176[29],_0xd176[30],_0xbd7exf[_0xd176[31]]);fs[_0xd176[50]](_0xbd7ex11,fs[_0xd176[42]]|fs[_0xd176[43]],function(_0xbd7exd){if(_0xbd7exd){console[_0xd176[45]](_0xd176[44])}else {fs[_0xd176[49]](_0xbd7ex11,function(_0xbd7exd){if(_0xbd7exd){console[_0xd176[45]](_0xd176[46],_0xbd7exd)}else {console[_0xd176[48]](_0xd176[47])}})}})}});return _0xbd7exb[_0xd176[23]](204)})[_0xd176[12]](function(_0xbd7exd){return handleError(_0xbd7exb,_0xbd7exd)})};function handleError(_0xbd7exb,_0xbd7exd){console[_0xd176[48]](_0xbd7exd);return _0xbd7exb[_0xd176[14]](500)[_0xd176[13]](_0xbd7exd)} \ No newline at end of file diff --git a/server/api/extracted_report/extracted_report.socket.js b/server/api/extracted_report/extracted_report.socket.js index cac18c9..5a6cc5a 100644 --- a/server/api/extracted_report/extracted_report.socket.js +++ b/server/api/extracted_report/extracted_report.socket.js @@ -1 +1 @@ -var _0x3297=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3297[0];var ExtractedReport=require(_0x3297[2])[_0x3297[1]];exports[_0x3297[3]]=function(_0x1b9fx2){ExtractedReport[_0x3297[4]](function(_0x1b9fx3){onSave(_0x1b9fx2,_0x1b9fx3)});ExtractedReport[_0x3297[5]](function(_0x1b9fx3){onRemove(_0x1b9fx2,_0x1b9fx3)})};function onSave(_0x1b9fx2,_0x1b9fx3,_0x1b9fx5){_0x1b9fx2[_0x3297[7]](_0x3297[6],_0x1b9fx3)}function onRemove(_0x1b9fx2,_0x1b9fx3,_0x1b9fx5){_0x1b9fx2[_0x3297[7]](_0x3297[8],_0x1b9fx3)} \ No newline at end of file +var _0x2357=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2357[0];var ExtractedReport=require(_0x2357[2])[_0x2357[1]];exports[_0x2357[3]]=function(_0x3356x2){ExtractedReport[_0x2357[4]](function(_0x3356x3){onSave(_0x3356x2,_0x3356x3)});ExtractedReport[_0x2357[5]](function(_0x3356x3){onRemove(_0x3356x2,_0x3356x3)})};function onSave(_0x3356x2,_0x3356x3,_0x3356x5){_0x3356x2[_0x2357[7]](_0x2357[6],_0x3356x3)}function onRemove(_0x3356x2,_0x3356x3,_0x3356x5){_0x3356x2[_0x2357[7]](_0x2357[8],_0x3356x3)} \ No newline at end of file diff --git a/server/api/extracted_report/index.js b/server/api/extracted_report/index.js index f80d96c..d085ccd 100644 --- a/server/api/extracted_report/index.js +++ b/server/api/extracted_report/index.js @@ -1 +1 @@ -var _0xf4fe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\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"];_0xf4fe[0];var express=require(_0xf4fe[1]);var controller=require(_0xf4fe[2]);var auth=require(_0xf4fe[3]);var router=express.Router();router[_0xf4fe[9]](_0xf4fe[4],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[8]]);router[_0xf4fe[9]](_0xf4fe[10],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[11]]);router[_0xf4fe[9]](_0xf4fe[12],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[13]]);router[_0xf4fe[15]](_0xf4fe[4],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[14]]);router[_0xf4fe[17]](_0xf4fe[12],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[16]]);router[_0xf4fe[19]](_0xf4fe[4],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[18]]);router[_0xf4fe[19]](_0xf4fe[12],auth[_0xf4fe[5]](),auth[_0xf4fe[7]]([17],[_0xf4fe[6]]),controller[_0xf4fe[20]]);module[_0xf4fe[21]]=router \ No newline at end of file +var _0x1a61=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\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","\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\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\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"];_0x1a61[0];var express=require(_0x1a61[1]);var controller=require(_0x1a61[2]);var auth=require(_0x1a61[3]);var router=express.Router();router[_0x1a61[9]](_0x1a61[4],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[8]]);router[_0x1a61[9]](_0x1a61[10],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[11]]);router[_0x1a61[9]](_0x1a61[12],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[13]]);router[_0x1a61[15]](_0x1a61[4],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[14]]);router[_0x1a61[17]](_0x1a61[12],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[16]]);router[_0x1a61[19]](_0x1a61[4],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[18]]);router[_0x1a61[19]](_0x1a61[12],auth[_0x1a61[5]](),auth[_0x1a61[7]]([17],[_0x1a61[6]]),controller[_0x1a61[20]]);module[_0x1a61[21]]=router \ No newline at end of file diff --git a/server/api/fax_account/fax_account.controller.js b/server/api/fax_account/fax_account.controller.js index 091f7d7..bc899b1 100644 --- a/server/api/fax_account/fax_account.controller.js +++ b/server/api/fax_account/fax_account.controller.js @@ -1 +1 @@ -var _0xce8d=["\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\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\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","\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","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\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\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\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","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xce8d[0];var _=require(_0xce8d[1]);var Util=require(_0xce8d[2]);var sequelize=require(_0xce8d[4])[_0xce8d[3]];var FaxAccount=require(_0xce8d[4])[_0xce8d[5]];var FaxRoom=require(_0xce8d[4])[_0xce8d[6]];var FaxApplication=require(_0xce8d[4])[_0xce8d[7]];var FaxQueue=require(_0xce8d[4])[_0xce8d[8]];var User=require(_0xce8d[4])[_0xce8d[9]];function handleError(_0x419fxa,_0x419fxb){_0x419fxb=_0x419fxb||500;return function(_0x419fxc){_0x419fxa[_0xce8d[11]](_0x419fxb)[_0xce8d[10]](_0x419fxc)}}function responseWithResult(_0x419fxa,_0x419fxb){_0x419fxb=_0x419fxb||200;return function(_0x419fxe){if(_0x419fxe){_0x419fxa[_0xce8d[11]](_0x419fxb)[_0xce8d[12]](_0x419fxe)}}}function responseWithoutResult(_0x419fxa,_0x419fxb){_0x419fxb=_0x419fxb||204;return function(){_0x419fxa[_0xce8d[13]](_0x419fxb)}}function handleEntityNotFound(_0x419fxa){return function(_0x419fxe){if(!_0x419fxe){_0x419fxa[_0xce8d[11]](404)[_0xce8d[14]]();return null};return _0x419fxe}}function saveUpdates(_0x419fx12){return function(_0x419fxe){return _0x419fxe[_0xce8d[16]](_0x419fx12)[_0xce8d[15]](function(_0x419fx13){return _0x419fx13})}}function removeEntity(_0x419fxa){return function(_0x419fxe){if(_0x419fxe){return _0x419fxe[_0xce8d[17]]()[_0xce8d[15]](function(){_0x419fxa[_0xce8d[11]](204)[_0xce8d[14]]()})}}}exports[_0xce8d[18]]=function(_0x419fx15,_0x419fxa){return FaxAccount[_0xce8d[22]](Util[_0xce8d[21]](_0x419fx15[_0xce8d[20]]))[_0xce8d[15]](responseWithResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[23]]=function(_0x419fx15,_0x419fxa){return FaxAccount[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[24]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](responseWithResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[27]]=function(_0x419fx15,_0x419fxa){return sequelize[_0xce8d[35]](function(_0x419fx16){return FaxAccount[_0xce8d[27]](_0x419fx15[_0xce8d[34]],{transaction:_0x419fx16})})[_0xce8d[15]](responseWithoutResult(_0x419fxa,201))[_0xce8d[19]](sequelize.ValidationError,function(_0x419fxc){_0x419fxc[_0xce8d[30]]=_0xce8d[31];_0x419fxc[_0xce8d[32]]=_0xce8d[33];return _0x419fxa[_0xce8d[11]](500)[_0xce8d[10]](_0x419fxc)})[_0xce8d[19]](sequelize.UniqueConstraintError,function(_0x419fxc){return Util[_0xce8d[29]][_0xce8d[28]](_0x419fxa,_0x419fxc)})[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[36]]=function(_0x419fx15,_0x419fxa){if(_0x419fx15[_0xce8d[34]][_0xce8d[24]]){delete _0x419fx15[_0xce8d[34]][_0xce8d[24]]};return sequelize[_0xce8d[35]](function(_0x419fx16){return FaxAccount[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[24]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](function(_0x419fx17){return _0x419fx17[_0xce8d[16]](_0x419fx15[_0xce8d[34]],{transaction:_0x419fx16})})})[_0xce8d[15]](responseWithoutResult(_0x419fxa))[_0xce8d[19]](sequelize.ValidationError,function(_0x419fxc){_0x419fxc[_0xce8d[30]]=_0xce8d[31];_0x419fxc[_0xce8d[32]]=_0xce8d[33];return _0x419fxa[_0xce8d[11]](500)[_0xce8d[10]](_0x419fxc)})[_0xce8d[19]](sequelize.UniqueConstraintError,function(_0x419fxc){return Util[_0xce8d[29]][_0xce8d[28]](_0x419fxa,_0x419fxc)})[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[17]]=function(_0x419fx15,_0x419fxa){return sequelize[_0xce8d[35]](function(_0x419fx16){return FaxAccount[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[24]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](function(_0x419fx17){return _0x419fx17[_0xce8d[17]]()})})[_0xce8d[15]](function(){_0x419fxa[_0xce8d[11]](204)[_0xce8d[14]]()})[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[37]]=function(_0x419fx15,_0x419fxa){return FaxAccount[_0xce8d[17]]({where:{id:_0x419fx15[_0xce8d[20]][_0xce8d[38]]},individualHooks:true})[_0xce8d[15]](responseWithoutResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[39]]=function(_0x419fx15,_0x419fxa,_0x419fx18){return FaxAccount[_0xce8d[46]](_0xce8d[45])[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[24]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](function(_0x419fx17){return _0x419fx17[_0xce8d[44]](_[_0xce8d[43]](Util[_0xce8d[21]](_0x419fx15[_0xce8d[20]]),{include:[{model:FaxQueue,attributes:[_0xce8d[24],_0xce8d[41]]},{model:User,attributes:[_0xce8d[24],_0xce8d[41],_0xce8d[42]]}]}))})[_0xce8d[15]](function(_0x419fx19){return _0x419fxa[_0xce8d[10]]({count:_0x419fx19[_0xce8d[40]],rows:_0x419fx19})})[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[47]]=function(_0x419fx15,_0x419fxa,_0x419fx18){return FaxApplication[_0xce8d[50]](_0xce8d[48],{where:{FaxAccountId:_0x419fx15[_0xce8d[25]][_0xce8d[24]]}})[_0xce8d[15]](function(_0x419fx1a){_0x419fx15[_0xce8d[34]][_0xce8d[48]]=_0x419fx1a?++_0x419fx1a:1;_0x419fx15[_0xce8d[34]][_0xce8d[49]]=_0x419fx15[_0xce8d[25]][_0xce8d[24]];return FaxApplication[_0xce8d[27]](_0x419fx15[_0xce8d[34]])})[_0xce8d[15]](responseWithResult(_0x419fxa,201))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[51]]=function(_0x419fx15,_0x419fxa){return FaxApplication[_0xce8d[17]]({where:{id:_0x419fx15[_0xce8d[20]][_0xce8d[38]]},individualHooks:true})[_0xce8d[15]](responseWithoutResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[52]]=function(_0x419fx15,_0x419fxa,_0x419fx18){return FaxApplication[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[53]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](removeEntity(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[54]]=function(_0x419fx15,_0x419fxa){var _0x419fx1b=0;var _0x419fx1c=_0x419fx15[_0xce8d[34]];_0x419fx1c[_0xce8d[57]](function(_0x419fx1d){delete _0x419fx1d[_0xce8d[24]];delete _0x419fx1d[_0xce8d[55]];delete _0x419fx1d[_0xce8d[56]];_0x419fx1d[_0xce8d[48]]= ++_0x419fx1b});return sequelize[_0xce8d[35]](function(_0x419fx16){return FaxApplication[_0xce8d[17]]({where:{FaxAccountId:_0x419fx15[_0xce8d[25]][_0xce8d[24]]},individualHooks:true,transaction:_0x419fx16})[_0xce8d[15]](function(_0x419fx1e){return FaxApplication[_0xce8d[58]](_0x419fx1c,{individualHooks:true,transaction:_0x419fx16})})})[_0xce8d[15]](function(_0x419fx19){return _0x419fxa[_0xce8d[11]](200)[_0xce8d[10]]({count:_0x419fx19[_0xce8d[40]],rows:_0x419fx19})})[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[59]]=function(_0x419fx15,_0x419fxa){if(_0x419fx15[_0xce8d[34]][_0xce8d[24]]){delete _0x419fx15[_0xce8d[34]][_0xce8d[24]]};return FaxApplication[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[53]])[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](saveUpdates(_0x419fx15[_0xce8d[34]]))[_0xce8d[15]](responseWithResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[60]]=function(_0x419fx15,_0x419fxa){return FaxApplication[_0xce8d[26]](_0x419fx15[_0xce8d[25]][_0xce8d[53]],{include:[{all:true}]})[_0xce8d[15]](handleEntityNotFound(_0x419fxa))[_0xce8d[15]](responseWithResult(_0x419fxa))[_0xce8d[19]](handleError(_0x419fxa))};exports[_0xce8d[61]]=function(_0x419fx15,_0x419fxa,_0x419fx18){var _0x419fx1f={where:{FaxAccountId:_0x419fx15[_0xce8d[25]][_0xce8d[24]],$and:[]},attributes:[_0xce8d[24],_0xce8d[62],_0xce8d[63],_0xce8d[56]]};if(_0x419fx15[_0xce8d[20]]){if(_0x419fx15[_0xce8d[20]][_0xce8d[64]]){if(_[_0xce8d[65]](_0x419fx15[_0xce8d[20]][_0xce8d[64]])){for(var _0x419fx20=0;_0x419fx20<_0x419fx15[_0xce8d[20]][_0xce8d[64]][_0xce8d[40]];_0x419fx20++){_0x419fx1f[_0xce8d[69]][_0xce8d[68]][_0xce8d[67]]({tags:{$like:_0xce8d[66]+_0x419fx15[_0xce8d[20]][_0xce8d[64]][_0x419fx20]+_0xce8d[66]}})}}else {_0x419fx1f[_0xce8d[69]][_0xce8d[68]][_0xce8d[67]]({tags:{$like:_0xce8d[66]+_0x419fx15[_0xce8d[20]][_0xce8d[64]]+_0xce8d[66]}})};delete _0x419fx15[_0xce8d[20]][_0xce8d[64]]};_[_0xce8d[43]](_0x419fx1f[_0xce8d[69]],_0x419fx15[_0xce8d[20]])};switch(_0x419fx15[_0xce8d[72]][_0xce8d[74]]){case _0xce8d[73]:if(_0x419fx15[_0xce8d[20]][_0xce8d[11]]&&_0x419fx15[_0xce8d[20]][_0xce8d[11]]!==_0xce8d[70]){_0x419fx1f[_0xce8d[71]]=[{model:User,where:{id:_0x419fx15[_0xce8d[72]][_0xce8d[24]]}}]};break;default:};console[_0xce8d[75]](_0xce8d[20],_0x419fx1f);return FaxRoom[_0xce8d[76]](_0x419fx1f)[_0xce8d[15]](function(_0x419fx21){return _0x419fxa[_0xce8d[11]](200)[_0xce8d[10]](_0x419fx21)})[_0xce8d[19]](handleError(_0x419fxa))} \ No newline at end of file +var _0x2965=["\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\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\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","\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","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\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\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\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","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x2965[0];var _=require(_0x2965[1]);var Util=require(_0x2965[2]);var sequelize=require(_0x2965[4])[_0x2965[3]];var FaxAccount=require(_0x2965[4])[_0x2965[5]];var FaxRoom=require(_0x2965[4])[_0x2965[6]];var FaxApplication=require(_0x2965[4])[_0x2965[7]];var FaxQueue=require(_0x2965[4])[_0x2965[8]];var User=require(_0x2965[4])[_0x2965[9]];function handleError(_0xaeb7xa,_0xaeb7xb){_0xaeb7xb=_0xaeb7xb||500;return function(_0xaeb7xc){_0xaeb7xa[_0x2965[11]](_0xaeb7xb)[_0x2965[10]](_0xaeb7xc)}}function responseWithResult(_0xaeb7xa,_0xaeb7xb){_0xaeb7xb=_0xaeb7xb||200;return function(_0xaeb7xe){if(_0xaeb7xe){_0xaeb7xa[_0x2965[11]](_0xaeb7xb)[_0x2965[12]](_0xaeb7xe)}}}function responseWithoutResult(_0xaeb7xa,_0xaeb7xb){_0xaeb7xb=_0xaeb7xb||204;return function(){_0xaeb7xa[_0x2965[13]](_0xaeb7xb)}}function handleEntityNotFound(_0xaeb7xa){return function(_0xaeb7xe){if(!_0xaeb7xe){_0xaeb7xa[_0x2965[11]](404)[_0x2965[14]]();return null};return _0xaeb7xe}}function saveUpdates(_0xaeb7x12){return function(_0xaeb7xe){return _0xaeb7xe[_0x2965[16]](_0xaeb7x12)[_0x2965[15]](function(_0xaeb7x13){return _0xaeb7x13})}}function removeEntity(_0xaeb7xa){return function(_0xaeb7xe){if(_0xaeb7xe){return _0xaeb7xe[_0x2965[17]]()[_0x2965[15]](function(){_0xaeb7xa[_0x2965[11]](204)[_0x2965[14]]()})}}}exports[_0x2965[18]]=function(_0xaeb7x15,_0xaeb7xa){return FaxAccount[_0x2965[22]](Util[_0x2965[21]](_0xaeb7x15[_0x2965[20]]))[_0x2965[15]](responseWithResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[23]]=function(_0xaeb7x15,_0xaeb7xa){return FaxAccount[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[24]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](responseWithResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[27]]=function(_0xaeb7x15,_0xaeb7xa){return sequelize[_0x2965[35]](function(_0xaeb7x16){return FaxAccount[_0x2965[27]](_0xaeb7x15[_0x2965[34]],{transaction:_0xaeb7x16})})[_0x2965[15]](responseWithoutResult(_0xaeb7xa,201))[_0x2965[19]](sequelize.ValidationError,function(_0xaeb7xc){_0xaeb7xc[_0x2965[30]]=_0x2965[31];_0xaeb7xc[_0x2965[32]]=_0x2965[33];return _0xaeb7xa[_0x2965[11]](500)[_0x2965[10]](_0xaeb7xc)})[_0x2965[19]](sequelize.UniqueConstraintError,function(_0xaeb7xc){return Util[_0x2965[29]][_0x2965[28]](_0xaeb7xa,_0xaeb7xc)})[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[36]]=function(_0xaeb7x15,_0xaeb7xa){if(_0xaeb7x15[_0x2965[34]][_0x2965[24]]){delete _0xaeb7x15[_0x2965[34]][_0x2965[24]]};return sequelize[_0x2965[35]](function(_0xaeb7x16){return FaxAccount[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[24]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](function(_0xaeb7x17){return _0xaeb7x17[_0x2965[16]](_0xaeb7x15[_0x2965[34]],{transaction:_0xaeb7x16})})})[_0x2965[15]](responseWithoutResult(_0xaeb7xa))[_0x2965[19]](sequelize.ValidationError,function(_0xaeb7xc){_0xaeb7xc[_0x2965[30]]=_0x2965[31];_0xaeb7xc[_0x2965[32]]=_0x2965[33];return _0xaeb7xa[_0x2965[11]](500)[_0x2965[10]](_0xaeb7xc)})[_0x2965[19]](sequelize.UniqueConstraintError,function(_0xaeb7xc){return Util[_0x2965[29]][_0x2965[28]](_0xaeb7xa,_0xaeb7xc)})[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[17]]=function(_0xaeb7x15,_0xaeb7xa){return sequelize[_0x2965[35]](function(_0xaeb7x16){return FaxAccount[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[24]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](function(_0xaeb7x17){return _0xaeb7x17[_0x2965[17]]()})})[_0x2965[15]](function(){_0xaeb7xa[_0x2965[11]](204)[_0x2965[14]]()})[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[37]]=function(_0xaeb7x15,_0xaeb7xa){return FaxAccount[_0x2965[17]]({where:{id:_0xaeb7x15[_0x2965[20]][_0x2965[38]]},individualHooks:true})[_0x2965[15]](responseWithoutResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[39]]=function(_0xaeb7x15,_0xaeb7xa,_0xaeb7x18){return FaxAccount[_0x2965[46]](_0x2965[45])[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[24]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](function(_0xaeb7x17){return _0xaeb7x17[_0x2965[44]](_[_0x2965[43]](Util[_0x2965[21]](_0xaeb7x15[_0x2965[20]]),{include:[{model:FaxQueue,attributes:[_0x2965[24],_0x2965[41]]},{model:User,attributes:[_0x2965[24],_0x2965[41],_0x2965[42]]}]}))})[_0x2965[15]](function(_0xaeb7x19){return _0xaeb7xa[_0x2965[10]]({count:_0xaeb7x19[_0x2965[40]],rows:_0xaeb7x19})})[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[47]]=function(_0xaeb7x15,_0xaeb7xa,_0xaeb7x18){return FaxApplication[_0x2965[50]](_0x2965[48],{where:{FaxAccountId:_0xaeb7x15[_0x2965[25]][_0x2965[24]]}})[_0x2965[15]](function(_0xaeb7x1a){_0xaeb7x15[_0x2965[34]][_0x2965[48]]=_0xaeb7x1a?++_0xaeb7x1a:1;_0xaeb7x15[_0x2965[34]][_0x2965[49]]=_0xaeb7x15[_0x2965[25]][_0x2965[24]];return FaxApplication[_0x2965[27]](_0xaeb7x15[_0x2965[34]])})[_0x2965[15]](responseWithResult(_0xaeb7xa,201))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[51]]=function(_0xaeb7x15,_0xaeb7xa){return FaxApplication[_0x2965[17]]({where:{id:_0xaeb7x15[_0x2965[20]][_0x2965[38]]},individualHooks:true})[_0x2965[15]](responseWithoutResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[52]]=function(_0xaeb7x15,_0xaeb7xa,_0xaeb7x18){return FaxApplication[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[53]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](removeEntity(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[54]]=function(_0xaeb7x15,_0xaeb7xa){var _0xaeb7x1b=0;var _0xaeb7x1c=_0xaeb7x15[_0x2965[34]];_0xaeb7x1c[_0x2965[57]](function(_0xaeb7x1d){delete _0xaeb7x1d[_0x2965[24]];delete _0xaeb7x1d[_0x2965[55]];delete _0xaeb7x1d[_0x2965[56]];_0xaeb7x1d[_0x2965[48]]= ++_0xaeb7x1b});return sequelize[_0x2965[35]](function(_0xaeb7x16){return FaxApplication[_0x2965[17]]({where:{FaxAccountId:_0xaeb7x15[_0x2965[25]][_0x2965[24]]},individualHooks:true,transaction:_0xaeb7x16})[_0x2965[15]](function(_0xaeb7x1e){return FaxApplication[_0x2965[58]](_0xaeb7x1c,{individualHooks:true,transaction:_0xaeb7x16})})})[_0x2965[15]](function(_0xaeb7x19){return _0xaeb7xa[_0x2965[11]](200)[_0x2965[10]]({count:_0xaeb7x19[_0x2965[40]],rows:_0xaeb7x19})})[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[59]]=function(_0xaeb7x15,_0xaeb7xa){if(_0xaeb7x15[_0x2965[34]][_0x2965[24]]){delete _0xaeb7x15[_0x2965[34]][_0x2965[24]]};return FaxApplication[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[53]])[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](saveUpdates(_0xaeb7x15[_0x2965[34]]))[_0x2965[15]](responseWithResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[60]]=function(_0xaeb7x15,_0xaeb7xa){return FaxApplication[_0x2965[26]](_0xaeb7x15[_0x2965[25]][_0x2965[53]],{include:[{all:true}]})[_0x2965[15]](handleEntityNotFound(_0xaeb7xa))[_0x2965[15]](responseWithResult(_0xaeb7xa))[_0x2965[19]](handleError(_0xaeb7xa))};exports[_0x2965[61]]=function(_0xaeb7x15,_0xaeb7xa,_0xaeb7x18){var _0xaeb7x1f={where:{FaxAccountId:_0xaeb7x15[_0x2965[25]][_0x2965[24]],$and:[]},attributes:[_0x2965[24],_0x2965[62],_0x2965[63],_0x2965[56]]};if(_0xaeb7x15[_0x2965[20]]){if(_0xaeb7x15[_0x2965[20]][_0x2965[64]]){if(_[_0x2965[65]](_0xaeb7x15[_0x2965[20]][_0x2965[64]])){for(var _0xaeb7x20=0;_0xaeb7x20<_0xaeb7x15[_0x2965[20]][_0x2965[64]][_0x2965[40]];_0xaeb7x20++){_0xaeb7x1f[_0x2965[69]][_0x2965[68]][_0x2965[67]]({tags:{$like:_0x2965[66]+_0xaeb7x15[_0x2965[20]][_0x2965[64]][_0xaeb7x20]+_0x2965[66]}})}}else {_0xaeb7x1f[_0x2965[69]][_0x2965[68]][_0x2965[67]]({tags:{$like:_0x2965[66]+_0xaeb7x15[_0x2965[20]][_0x2965[64]]+_0x2965[66]}})};delete _0xaeb7x15[_0x2965[20]][_0x2965[64]]};_[_0x2965[43]](_0xaeb7x1f[_0x2965[69]],_0xaeb7x15[_0x2965[20]])};switch(_0xaeb7x15[_0x2965[72]][_0x2965[74]]){case _0x2965[73]:if(_0xaeb7x15[_0x2965[20]][_0x2965[11]]&&_0xaeb7x15[_0x2965[20]][_0x2965[11]]!==_0x2965[70]){_0xaeb7x1f[_0x2965[71]]=[{model:User,where:{id:_0xaeb7x15[_0x2965[72]][_0x2965[24]]}}]};break;default:};console[_0x2965[75]](_0x2965[20],_0xaeb7x1f);return FaxRoom[_0x2965[76]](_0xaeb7x1f)[_0x2965[15]](function(_0xaeb7x21){return _0xaeb7xa[_0x2965[11]](200)[_0x2965[10]](_0xaeb7x21)})[_0x2965[19]](handleError(_0xaeb7xa))} \ No newline at end of file diff --git a/server/api/fax_account/fax_account.socket.js b/server/api/fax_account/fax_account.socket.js index 228b214..c4308f9 100644 --- a/server/api/fax_account/fax_account.socket.js +++ b/server/api/fax_account/fax_account.socket.js @@ -1 +1 @@ -var _0xd1e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd1e9[0];var FaxAccount=require(_0xd1e9[2])[_0xd1e9[1]];exports[_0xd1e9[3]]=function(_0x12d9x2){FaxAccount[_0xd1e9[4]](function(_0x12d9x3){onSave(_0x12d9x2,_0x12d9x3)});FaxAccount[_0xd1e9[5]](function(_0x12d9x3){onSave(_0x12d9x2,_0x12d9x3)});FaxAccount[_0xd1e9[6]](function(_0x12d9x3){onRemove(_0x12d9x2,_0x12d9x3)})};function onSave(_0x12d9x2,_0x12d9x3,_0x12d9x5){_0x12d9x2[_0xd1e9[8]](_0xd1e9[7],_0x12d9x3)}function onRemove(_0x12d9x2,_0x12d9x3,_0x12d9x5){_0x12d9x2[_0xd1e9[8]](_0xd1e9[9],_0x12d9x3)} \ No newline at end of file +var _0x53ce=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x53ce[0];var FaxAccount=require(_0x53ce[2])[_0x53ce[1]];exports[_0x53ce[3]]=function(_0x9346x2){FaxAccount[_0x53ce[4]](function(_0x9346x3){onSave(_0x9346x2,_0x9346x3)});FaxAccount[_0x53ce[5]](function(_0x9346x3){onSave(_0x9346x2,_0x9346x3)});FaxAccount[_0x53ce[6]](function(_0x9346x3){onRemove(_0x9346x2,_0x9346x3)})};function onSave(_0x9346x2,_0x9346x3,_0x9346x5){_0x9346x2[_0x53ce[8]](_0x53ce[7],_0x9346x3)}function onRemove(_0x9346x2,_0x9346x3,_0x9346x5){_0x9346x2[_0x53ce[8]](_0x53ce[9],_0x9346x3)} \ No newline at end of file diff --git a/server/api/fax_account/index.js b/server/api/fax_account/index.js index c564d31..cbae169 100644 --- a/server/api/fax_account/index.js +++ b/server/api/fax_account/index.js @@ -1 +1 @@ -var _0x3ae9=["\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\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\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\x46\x61\x78","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x3ae9[0];var express=require(_0x3ae9[1]);var auth=require(_0x3ae9[2]);var controller=require(_0x3ae9[3]);var license=require(_0x3ae9[4]);var router=express.Router();router[_0x3ae9[13]](_0x3ae9[5],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9],_0x3ae9[10]]),controller[_0x3ae9[12]]);router[_0x3ae9[13]](_0x3ae9[14],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9],_0x3ae9[10]]),controller[_0x3ae9[15]]);router[_0x3ae9[13]](_0x3ae9[16],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[17]]);router[_0x3ae9[13]](_0x3ae9[18],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[19]]);router[_0x3ae9[13]](_0x3ae9[20],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9],_0x3ae9[10]]),controller[_0x3ae9[21]]);router[_0x3ae9[23]](_0x3ae9[5],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[22]]);router[_0x3ae9[23]](_0x3ae9[16],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[24]]);router[_0x3ae9[26]](_0x3ae9[14],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[25]]);router[_0x3ae9[26]](_0x3ae9[16],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[27]]);router[_0x3ae9[26]](_0x3ae9[18],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[28]]);router[_0x3ae9[30]](_0x3ae9[5],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[29]]);router[_0x3ae9[30]](_0x3ae9[14],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[31]]);router[_0x3ae9[30]](_0x3ae9[16],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[32]]);router[_0x3ae9[30]](_0x3ae9[18],license[_0x3ae9[6]](),license[_0x3ae9[7]](),auth[_0x3ae9[8]](),auth[_0x3ae9[11]]([10],[_0x3ae9[9]]),controller[_0x3ae9[33]]);module[_0x3ae9[34]]=router \ No newline at end of file +var _0xe35f=["\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\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\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\x46\x61\x78","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xe35f[0];var express=require(_0xe35f[1]);var auth=require(_0xe35f[2]);var controller=require(_0xe35f[3]);var license=require(_0xe35f[4]);var router=express.Router();router[_0xe35f[13]](_0xe35f[5],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9],_0xe35f[10]]),controller[_0xe35f[12]]);router[_0xe35f[13]](_0xe35f[14],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9],_0xe35f[10]]),controller[_0xe35f[15]]);router[_0xe35f[13]](_0xe35f[16],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[17]]);router[_0xe35f[13]](_0xe35f[18],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[19]]);router[_0xe35f[13]](_0xe35f[20],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9],_0xe35f[10]]),controller[_0xe35f[21]]);router[_0xe35f[23]](_0xe35f[5],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[22]]);router[_0xe35f[23]](_0xe35f[16],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[24]]);router[_0xe35f[26]](_0xe35f[14],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[25]]);router[_0xe35f[26]](_0xe35f[16],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[27]]);router[_0xe35f[26]](_0xe35f[18],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[28]]);router[_0xe35f[30]](_0xe35f[5],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[29]]);router[_0xe35f[30]](_0xe35f[14],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[31]]);router[_0xe35f[30]](_0xe35f[16],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[32]]);router[_0xe35f[30]](_0xe35f[18],license[_0xe35f[6]](),license[_0xe35f[7]](),auth[_0xe35f[8]](),auth[_0xe35f[11]]([10],[_0xe35f[9]]),controller[_0xe35f[33]]);module[_0xe35f[34]]=router \ No newline at end of file diff --git a/server/api/fax_application/fax_application.controller.js b/server/api/fax_application/fax_application.controller.js index 54fc3b7..d964a33 100644 --- a/server/api/fax_application/fax_application.controller.js +++ b/server/api/fax_application/fax_application.controller.js @@ -1 +1 @@ -var _0xaa9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\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","\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","\x6C\x6F\x67","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\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","\x66\x69\x6E\x64"];_0xaa9b[0];var _=require(_0xaa9b[1]);var FaxApplication=require(_0xaa9b[3])[_0xaa9b[2]];exports[_0xaa9b[4]]=function(_0xe809x3,_0xe809x4){FaxApplication[_0xaa9b[10]]({where:_0xe809x3[_0xaa9b[9]]})[_0xaa9b[8]](function(_0xe809x6){return _0xe809x4[_0xaa9b[7]](200)[_0xaa9b[6]](_0xe809x6)})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})};exports[_0xaa9b[11]]=function(_0xe809x3,_0xe809x4){FaxApplication[_0xaa9b[15]](_0xe809x3[_0xaa9b[14]][_0xaa9b[13]])[_0xaa9b[8]](function(_0xe809x7){if(!_0xe809x7){return _0xe809x4[_0xaa9b[12]](404)};return _0xe809x4[_0xaa9b[6]](_0xe809x7)})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})};exports[_0xaa9b[16]]=function(_0xe809x3,_0xe809x4,_0xe809x8){console[_0xaa9b[18]](_0xe809x3[_0xaa9b[17]]);FaxApplication[_0xaa9b[21]](_0xaa9b[19],{where:{FaxAccountId:_0xe809x3[_0xaa9b[17]][_0xaa9b[20]]}})[_0xaa9b[8]](function(_0xe809x9){_0xe809x3[_0xaa9b[17]][_0xaa9b[19]]=_0xe809x9?++_0xe809x9:1;FaxApplication[_0xaa9b[16]](_0xe809x3[_0xaa9b[17]])[_0xaa9b[8]](function(_0xe809xa){return _0xe809x4[_0xaa9b[7]](201)[_0xaa9b[6]](_0xe809xa)})[_0xaa9b[5]](function(_0xe809x5){return _0xe809x8(_0xe809x5)});console[_0xaa9b[18]](_0xe809x9)})[_0xaa9b[5]](function(_0xe809x5){_0xe809x8(_0xe809x5)})};exports[_0xaa9b[22]]=function(_0xe809x3,_0xe809x4){if(_0xe809x3[_0xaa9b[17]][_0xaa9b[13]]){delete _0xe809x3[_0xaa9b[17]][_0xaa9b[13]]};FaxApplication[_0xaa9b[15]](_0xe809x3[_0xaa9b[14]][_0xaa9b[13]])[_0xaa9b[8]](function(_0xe809x7){if(!_0xe809x7){return _0xe809x4[_0xaa9b[12]](404)};var _0xe809xb=_[_0xaa9b[23]](_0xe809x7,_0xe809x3[_0xaa9b[17]]);_0xe809xb[_0xaa9b[24]]()[_0xaa9b[8]](function(){return _0xe809x4[_0xaa9b[7]](200)[_0xaa9b[6]](_0xe809x7)})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})};exports[_0xaa9b[25]]=function(_0xe809x3,_0xe809x4){FaxApplication[_0xaa9b[26]]({where:{id:_0xe809x3[_0xaa9b[14]][_0xaa9b[13]]}})[_0xaa9b[8]](function(_0xe809x7){if(!_0xe809x7){return _0xe809x4[_0xaa9b[12]](404)};_0xe809x7[_0xaa9b[25]]()[_0xaa9b[8]](function(){return _0xe809x4[_0xaa9b[12]](204)})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})})[_0xaa9b[5]](function(_0xe809x5){return handleError(_0xe809x4,_0xe809x5)})};function handleError(_0xe809x4,_0xe809x5){return _0xe809x4[_0xaa9b[7]](500)[_0xaa9b[6]](_0xe809x5)} \ No newline at end of file +var _0xc87e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\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","\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","\x6C\x6F\x67","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\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","\x66\x69\x6E\x64"];_0xc87e[0];var _=require(_0xc87e[1]);var FaxApplication=require(_0xc87e[3])[_0xc87e[2]];exports[_0xc87e[4]]=function(_0x4d7ex3,_0x4d7ex4){FaxApplication[_0xc87e[10]]({where:_0x4d7ex3[_0xc87e[9]]})[_0xc87e[8]](function(_0x4d7ex6){return _0x4d7ex4[_0xc87e[7]](200)[_0xc87e[6]](_0x4d7ex6)})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})};exports[_0xc87e[11]]=function(_0x4d7ex3,_0x4d7ex4){FaxApplication[_0xc87e[15]](_0x4d7ex3[_0xc87e[14]][_0xc87e[13]])[_0xc87e[8]](function(_0x4d7ex7){if(!_0x4d7ex7){return _0x4d7ex4[_0xc87e[12]](404)};return _0x4d7ex4[_0xc87e[6]](_0x4d7ex7)})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})};exports[_0xc87e[16]]=function(_0x4d7ex3,_0x4d7ex4,_0x4d7ex8){console[_0xc87e[18]](_0x4d7ex3[_0xc87e[17]]);FaxApplication[_0xc87e[21]](_0xc87e[19],{where:{FaxAccountId:_0x4d7ex3[_0xc87e[17]][_0xc87e[20]]}})[_0xc87e[8]](function(_0x4d7ex9){_0x4d7ex3[_0xc87e[17]][_0xc87e[19]]=_0x4d7ex9?++_0x4d7ex9:1;FaxApplication[_0xc87e[16]](_0x4d7ex3[_0xc87e[17]])[_0xc87e[8]](function(_0x4d7exa){return _0x4d7ex4[_0xc87e[7]](201)[_0xc87e[6]](_0x4d7exa)})[_0xc87e[5]](function(_0x4d7ex5){return _0x4d7ex8(_0x4d7ex5)});console[_0xc87e[18]](_0x4d7ex9)})[_0xc87e[5]](function(_0x4d7ex5){_0x4d7ex8(_0x4d7ex5)})};exports[_0xc87e[22]]=function(_0x4d7ex3,_0x4d7ex4){if(_0x4d7ex3[_0xc87e[17]][_0xc87e[13]]){delete _0x4d7ex3[_0xc87e[17]][_0xc87e[13]]};FaxApplication[_0xc87e[15]](_0x4d7ex3[_0xc87e[14]][_0xc87e[13]])[_0xc87e[8]](function(_0x4d7ex7){if(!_0x4d7ex7){return _0x4d7ex4[_0xc87e[12]](404)};var _0x4d7exb=_[_0xc87e[23]](_0x4d7ex7,_0x4d7ex3[_0xc87e[17]]);_0x4d7exb[_0xc87e[24]]()[_0xc87e[8]](function(){return _0x4d7ex4[_0xc87e[7]](200)[_0xc87e[6]](_0x4d7ex7)})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})};exports[_0xc87e[25]]=function(_0x4d7ex3,_0x4d7ex4){FaxApplication[_0xc87e[26]]({where:{id:_0x4d7ex3[_0xc87e[14]][_0xc87e[13]]}})[_0xc87e[8]](function(_0x4d7ex7){if(!_0x4d7ex7){return _0x4d7ex4[_0xc87e[12]](404)};_0x4d7ex7[_0xc87e[25]]()[_0xc87e[8]](function(){return _0x4d7ex4[_0xc87e[12]](204)})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})})[_0xc87e[5]](function(_0x4d7ex5){return handleError(_0x4d7ex4,_0x4d7ex5)})};function handleError(_0x4d7ex4,_0x4d7ex5){return _0x4d7ex4[_0xc87e[7]](500)[_0xc87e[6]](_0x4d7ex5)} \ No newline at end of file diff --git a/server/api/fax_application/fax_application.socket.js b/server/api/fax_application/fax_application.socket.js index 79c8766..e2720be 100644 --- a/server/api/fax_application/fax_application.socket.js +++ b/server/api/fax_application/fax_application.socket.js @@ -1 +1 @@ -var _0x1131=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1131[0];var fax_application=require(_0x1131[2])[_0x1131[1]];exports[_0x1131[3]]=function(_0xc068x2){fax_application[_0x1131[4]](function(_0xc068x3){onSave(_0xc068x2,_0xc068x3)});fax_application[_0x1131[5]](function(_0xc068x3){onRemove(_0xc068x2,_0xc068x3)})};function onSave(_0xc068x2,_0xc068x3,_0xc068x5){_0xc068x2[_0x1131[7]](_0x1131[6],_0xc068x3)}function onRemove(_0xc068x2,_0xc068x3,_0xc068x5){_0xc068x2[_0x1131[7]](_0x1131[8],_0xc068x3)} \ No newline at end of file +var _0x83b3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x83b3[0];var fax_application=require(_0x83b3[2])[_0x83b3[1]];exports[_0x83b3[3]]=function(_0x2047x2){fax_application[_0x83b3[4]](function(_0x2047x3){onSave(_0x2047x2,_0x2047x3)});fax_application[_0x83b3[5]](function(_0x2047x3){onRemove(_0x2047x2,_0x2047x3)})};function onSave(_0x2047x2,_0x2047x3,_0x2047x5){_0x2047x2[_0x83b3[7]](_0x83b3[6],_0x2047x3)}function onRemove(_0x2047x2,_0x2047x3,_0x2047x5){_0x2047x2[_0x83b3[7]](_0x83b3[8],_0x2047x3)} \ No newline at end of file diff --git a/server/api/fax_application/index.js b/server/api/fax_application/index.js index 0ee4798..4de91e9 100644 --- a/server/api/fax_application/index.js +++ b/server/api/fax_application/index.js @@ -1 +1 @@ -var _0xc9ed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\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\x46\x61\x78","\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"];_0xc9ed[0];var express=require(_0xc9ed[1]);var controller=require(_0xc9ed[2]);var auth=require(_0xc9ed[3]);var license=require(_0xc9ed[4]);var router=express.Router();router[_0xc9ed[12]](_0xc9ed[5],license[_0xc9ed[6]](),license[_0xc9ed[7]](),auth[_0xc9ed[8]](),auth[_0xc9ed[10]]([10],[_0xc9ed[9]]),controller[_0xc9ed[11]]);router[_0xc9ed[12]](_0xc9ed[13],license[_0xc9ed[6]](),license[_0xc9ed[7]](),auth[_0xc9ed[8]](),auth[_0xc9ed[10]]([10],[_0xc9ed[9]]),controller[_0xc9ed[14]]);router[_0xc9ed[16]](_0xc9ed[5],license[_0xc9ed[6]](),license[_0xc9ed[7]](),auth[_0xc9ed[8]](),auth[_0xc9ed[10]]([10],[_0xc9ed[9]]),controller[_0xc9ed[15]]);router[_0xc9ed[18]](_0xc9ed[13],license[_0xc9ed[6]](),license[_0xc9ed[7]](),auth[_0xc9ed[8]](),auth[_0xc9ed[10]]([10],[_0xc9ed[9]]),controller[_0xc9ed[17]]);router[_0xc9ed[20]](_0xc9ed[13],license[_0xc9ed[6]](),license[_0xc9ed[7]](),auth[_0xc9ed[8]](),auth[_0xc9ed[10]]([10],[_0xc9ed[9]]),controller[_0xc9ed[19]]);module[_0xc9ed[21]]=router \ No newline at end of file +var _0xbc33=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\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\x46\x61\x78","\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"];_0xbc33[0];var express=require(_0xbc33[1]);var controller=require(_0xbc33[2]);var auth=require(_0xbc33[3]);var license=require(_0xbc33[4]);var router=express.Router();router[_0xbc33[12]](_0xbc33[5],license[_0xbc33[6]](),license[_0xbc33[7]](),auth[_0xbc33[8]](),auth[_0xbc33[10]]([10],[_0xbc33[9]]),controller[_0xbc33[11]]);router[_0xbc33[12]](_0xbc33[13],license[_0xbc33[6]](),license[_0xbc33[7]](),auth[_0xbc33[8]](),auth[_0xbc33[10]]([10],[_0xbc33[9]]),controller[_0xbc33[14]]);router[_0xbc33[16]](_0xbc33[5],license[_0xbc33[6]](),license[_0xbc33[7]](),auth[_0xbc33[8]](),auth[_0xbc33[10]]([10],[_0xbc33[9]]),controller[_0xbc33[15]]);router[_0xbc33[18]](_0xbc33[13],license[_0xbc33[6]](),license[_0xbc33[7]](),auth[_0xbc33[8]](),auth[_0xbc33[10]]([10],[_0xbc33[9]]),controller[_0xbc33[17]]);router[_0xbc33[20]](_0xbc33[13],license[_0xbc33[6]](),license[_0xbc33[7]](),auth[_0xbc33[8]](),auth[_0xbc33[10]]([10],[_0xbc33[9]]),controller[_0xbc33[19]]);module[_0xbc33[21]]=router \ No newline at end of file diff --git a/server/api/fax_attachment/fax_attachment.controller.js b/server/api/fax_attachment/fax_attachment.controller.js index 3330628..db2a738 100644 --- a/server/api/fax_attachment/fax_attachment.controller.js +++ b/server/api/fax_attachment/fax_attachment.controller.js @@ -1 +1 @@ -var _0x1ac2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x66\x69\x6C\x65","\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x75\x6E\x6C\x69\x6E\x6B","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0x1ac2[0];var _=require(_0x1ac2[1]);var path=require(_0x1ac2[2]);var Util=require(_0x1ac2[3]);var formidable=require(_0x1ac2[4]);var Promise=require(_0x1ac2[5]);var config=require(_0x1ac2[6]);var FaxAttachment=require(_0x1ac2[8])[_0x1ac2[7]];function handleError(_0x6913x9,_0x6913xa){_0x6913xa=_0x6913xa||500;return function(_0x6913xb){_0x6913x9[_0x1ac2[10]](_0x6913xa)[_0x1ac2[9]](_0x6913xb)}}function responseWithResult(_0x6913x9,_0x6913xa){_0x6913xa=_0x6913xa||200;return function(_0x6913xd){if(_0x6913xd){_0x6913x9[_0x1ac2[10]](_0x6913xa)[_0x1ac2[11]](_0x6913xd)}}}function responseWithoutResult(_0x6913x9,_0x6913xa){_0x6913xa=_0x6913xa||204;return function(){_0x6913x9[_0x1ac2[12]](_0x6913xa)}}function handleEntityNotFound(_0x6913x9){return function(_0x6913xd){if(!_0x6913xd){_0x6913x9[_0x1ac2[10]](404)[_0x1ac2[13]]();return null};return _0x6913xd}}function saveUpdates(_0x6913x11){return function(_0x6913xd){return _0x6913xd[_0x1ac2[15]](_0x6913x11)[_0x1ac2[14]](function(_0x6913x12){return _0x6913x12})}}function removeEntity(_0x6913x9){return function(_0x6913xd){if(_0x6913xd){return _0x6913xd[_0x1ac2[16]]()[_0x1ac2[14]](function(){_0x6913x9[_0x1ac2[10]](204)[_0x1ac2[13]]()})}}}exports[_0x1ac2[17]]=function(_0x6913x14,_0x6913x9){return FaxAttachment[_0x1ac2[21]](Util[_0x1ac2[20]](_0x6913x14[_0x1ac2[19]]))[_0x1ac2[14]](responseWithResult(_0x6913x9))[_0x1ac2[18]](handleError(_0x6913x9))};exports[_0x1ac2[22]]=function(_0x6913x14,_0x6913x9){return FaxAttachment[_0x1ac2[26]](_0x6913x14[_0x1ac2[25]][_0x1ac2[24]])[_0x1ac2[14]](handleEntityNotFound(_0x6913x9))[_0x1ac2[14]](function(_0x6913x15){return _0x6913x9[_0x1ac2[23]](_0x6913x15[_0x1ac2[2]])})[_0x1ac2[18]](handleError(_0x6913x9))};exports[_0x1ac2[27]]=function(_0x6913x14,_0x6913x9){var _0x6913x16= new formidable.IncomingForm();_0x6913x16[_0x1ac2[28]]=path[_0x1ac2[35]](config[_0x1ac2[29]],_0x1ac2[30],_0x1ac2[31],_0x1ac2[32],_0x1ac2[33],_0x1ac2[34]);_0x6913x16[_0x1ac2[36]]=true;_0x6913x16[_0x1ac2[37]]=true;_0x6913x16[_0x1ac2[38]]=true;_0x6913x16[_0x1ac2[42]](_0x6913x14,function(_0x6913xb,_0x6913x16,_0x6913x17){if(_0x6913xb){return _0x6913x9[_0x1ac2[10]](500)[_0x1ac2[9]](_0x6913xb)};return _0x6913x9[_0x1ac2[10]](201)[_0x1ac2[9]]({path:_0x6913x17[_0x1ac2[39]][_0x1ac2[2]],name:_0x6913x17[_0x1ac2[39]][_0x1ac2[40]],basename:path[_0x1ac2[41]](_0x6913x17[_0x1ac2[39]][_0x1ac2[2]])})})};exports[_0x1ac2[43]]=function(_0x6913x14,_0x6913x9){if(_0x6913x14[_0x1ac2[44]][_0x1ac2[24]]){delete _0x6913x14[_0x1ac2[44]][_0x1ac2[24]]};return FaxAttachment[_0x1ac2[26]](_0x6913x14[_0x1ac2[25]][_0x1ac2[24]])[_0x1ac2[14]](handleEntityNotFound(_0x6913x9))[_0x1ac2[14]](saveUpdates(_0x6913x14[_0x1ac2[44]]))[_0x1ac2[14]](responseWithResult(_0x6913x9))[_0x1ac2[18]](handleError(_0x6913x9))};exports[_0x1ac2[16]]=function(_0x6913x14,_0x6913x9){var _0x6913x18=Promise[_0x1ac2[47]](require(_0x1ac2[46])[_0x1ac2[45]]);var _0x6913x19=path[_0x1ac2[35]](config[_0x1ac2[29]],_0x1ac2[30],_0x1ac2[31],_0x1ac2[32],_0x1ac2[33],_0x1ac2[34],_0x6913x14[_0x1ac2[25]][_0x1ac2[24]]);return _0x6913x18(_0x6913x19)[_0x1ac2[14]](function(){return _0x6913x9[_0x1ac2[12]](204)})[_0x1ac2[18]](function(_0x6913xb){return handleError(_0x6913x9,_0x6913xb)})} \ No newline at end of file +var _0xc197=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x66\x69\x6C\x65","\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x75\x6E\x6C\x69\x6E\x6B","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0xc197[0];var _=require(_0xc197[1]);var path=require(_0xc197[2]);var Util=require(_0xc197[3]);var formidable=require(_0xc197[4]);var Promise=require(_0xc197[5]);var config=require(_0xc197[6]);var FaxAttachment=require(_0xc197[8])[_0xc197[7]];function handleError(_0x22d6x9,_0x22d6xa){_0x22d6xa=_0x22d6xa||500;return function(_0x22d6xb){_0x22d6x9[_0xc197[10]](_0x22d6xa)[_0xc197[9]](_0x22d6xb)}}function responseWithResult(_0x22d6x9,_0x22d6xa){_0x22d6xa=_0x22d6xa||200;return function(_0x22d6xd){if(_0x22d6xd){_0x22d6x9[_0xc197[10]](_0x22d6xa)[_0xc197[11]](_0x22d6xd)}}}function responseWithoutResult(_0x22d6x9,_0x22d6xa){_0x22d6xa=_0x22d6xa||204;return function(){_0x22d6x9[_0xc197[12]](_0x22d6xa)}}function handleEntityNotFound(_0x22d6x9){return function(_0x22d6xd){if(!_0x22d6xd){_0x22d6x9[_0xc197[10]](404)[_0xc197[13]]();return null};return _0x22d6xd}}function saveUpdates(_0x22d6x11){return function(_0x22d6xd){return _0x22d6xd[_0xc197[15]](_0x22d6x11)[_0xc197[14]](function(_0x22d6x12){return _0x22d6x12})}}function removeEntity(_0x22d6x9){return function(_0x22d6xd){if(_0x22d6xd){return _0x22d6xd[_0xc197[16]]()[_0xc197[14]](function(){_0x22d6x9[_0xc197[10]](204)[_0xc197[13]]()})}}}exports[_0xc197[17]]=function(_0x22d6x14,_0x22d6x9){return FaxAttachment[_0xc197[21]](Util[_0xc197[20]](_0x22d6x14[_0xc197[19]]))[_0xc197[14]](responseWithResult(_0x22d6x9))[_0xc197[18]](handleError(_0x22d6x9))};exports[_0xc197[22]]=function(_0x22d6x14,_0x22d6x9){return FaxAttachment[_0xc197[26]](_0x22d6x14[_0xc197[25]][_0xc197[24]])[_0xc197[14]](handleEntityNotFound(_0x22d6x9))[_0xc197[14]](function(_0x22d6x15){return _0x22d6x9[_0xc197[23]](_0x22d6x15[_0xc197[2]])})[_0xc197[18]](handleError(_0x22d6x9))};exports[_0xc197[27]]=function(_0x22d6x14,_0x22d6x9){var _0x22d6x16= new formidable.IncomingForm();_0x22d6x16[_0xc197[28]]=path[_0xc197[35]](config[_0xc197[29]],_0xc197[30],_0xc197[31],_0xc197[32],_0xc197[33],_0xc197[34]);_0x22d6x16[_0xc197[36]]=true;_0x22d6x16[_0xc197[37]]=true;_0x22d6x16[_0xc197[38]]=true;_0x22d6x16[_0xc197[42]](_0x22d6x14,function(_0x22d6xb,_0x22d6x16,_0x22d6x17){if(_0x22d6xb){return _0x22d6x9[_0xc197[10]](500)[_0xc197[9]](_0x22d6xb)};return _0x22d6x9[_0xc197[10]](201)[_0xc197[9]]({path:_0x22d6x17[_0xc197[39]][_0xc197[2]],name:_0x22d6x17[_0xc197[39]][_0xc197[40]],basename:path[_0xc197[41]](_0x22d6x17[_0xc197[39]][_0xc197[2]])})})};exports[_0xc197[43]]=function(_0x22d6x14,_0x22d6x9){if(_0x22d6x14[_0xc197[44]][_0xc197[24]]){delete _0x22d6x14[_0xc197[44]][_0xc197[24]]};return FaxAttachment[_0xc197[26]](_0x22d6x14[_0xc197[25]][_0xc197[24]])[_0xc197[14]](handleEntityNotFound(_0x22d6x9))[_0xc197[14]](saveUpdates(_0x22d6x14[_0xc197[44]]))[_0xc197[14]](responseWithResult(_0x22d6x9))[_0xc197[18]](handleError(_0x22d6x9))};exports[_0xc197[16]]=function(_0x22d6x14,_0x22d6x9){var _0x22d6x18=Promise[_0xc197[47]](require(_0xc197[46])[_0xc197[45]]);var _0x22d6x19=path[_0xc197[35]](config[_0xc197[29]],_0xc197[30],_0xc197[31],_0xc197[32],_0xc197[33],_0xc197[34],_0x22d6x14[_0xc197[25]][_0xc197[24]]);return _0x22d6x18(_0x22d6x19)[_0xc197[14]](function(){return _0x22d6x9[_0xc197[12]](204)})[_0xc197[18]](function(_0x22d6xb){return handleError(_0x22d6x9,_0x22d6xb)})} \ No newline at end of file diff --git a/server/api/fax_attachment/fax_attachment.socket.js b/server/api/fax_attachment/fax_attachment.socket.js index 7c155e8..e897ea5 100644 --- a/server/api/fax_attachment/fax_attachment.socket.js +++ b/server/api/fax_attachment/fax_attachment.socket.js @@ -1 +1 @@ -var _0x35fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x35fd[0];var FaxAttachment=require(_0x35fd[2])[_0x35fd[1]];exports[_0x35fd[3]]=function(_0xfc1ax2){FaxAttachment[_0x35fd[4]](function(_0xfc1ax3){onSave(_0xfc1ax2,_0xfc1ax3)});FaxAttachment[_0x35fd[5]](function(_0xfc1ax3){onRemove(_0xfc1ax2,_0xfc1ax3)})};function onSave(_0xfc1ax2,_0xfc1ax3,_0xfc1ax5){_0xfc1ax2[_0x35fd[7]](_0x35fd[6],_0xfc1ax3)}function onRemove(_0xfc1ax2,_0xfc1ax3,_0xfc1ax5){_0xfc1ax2[_0x35fd[7]](_0x35fd[8],_0xfc1ax3)} \ No newline at end of file +var _0xfce1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfce1[0];var FaxAttachment=require(_0xfce1[2])[_0xfce1[1]];exports[_0xfce1[3]]=function(_0xe48dx2){FaxAttachment[_0xfce1[4]](function(_0xe48dx3){onSave(_0xe48dx2,_0xe48dx3)});FaxAttachment[_0xfce1[5]](function(_0xe48dx3){onRemove(_0xe48dx2,_0xe48dx3)})};function onSave(_0xe48dx2,_0xe48dx3,_0xe48dx5){_0xe48dx2[_0xfce1[7]](_0xfce1[6],_0xe48dx3)}function onRemove(_0xe48dx2,_0xe48dx3,_0xe48dx5){_0xe48dx2[_0xfce1[7]](_0xfce1[8],_0xe48dx3)} \ No newline at end of file diff --git a/server/api/fax_attachment/index.js b/server/api/fax_attachment/index.js index 382a01c..1baf8cc 100644 --- a/server/api/fax_attachment/index.js +++ b/server/api/fax_attachment/index.js @@ -1 +1 @@ -var _0x7ae3=["\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\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\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\x46\x61\x78","\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"];_0x7ae3[0];var express=require(_0x7ae3[1]);var auth=require(_0x7ae3[2]);var controller=require(_0x7ae3[3]);var license=require(_0x7ae3[4]);var router=express.Router();router[_0x7ae3[13]](_0x7ae3[5],license[_0x7ae3[6]](),license[_0x7ae3[7]](),auth[_0x7ae3[8]](),auth[_0x7ae3[11]]([10],[_0x7ae3[9],_0x7ae3[10]]),controller[_0x7ae3[12]]);router[_0x7ae3[13]](_0x7ae3[14],license[_0x7ae3[6]](),license[_0x7ae3[7]](),controller[_0x7ae3[15]]);router[_0x7ae3[17]](_0x7ae3[5],license[_0x7ae3[6]](),license[_0x7ae3[7]](),auth[_0x7ae3[8]](),auth[_0x7ae3[11]]([10],[_0x7ae3[9],_0x7ae3[10]]),controller[_0x7ae3[16]]);router[_0x7ae3[19]](_0x7ae3[14],license[_0x7ae3[6]](),license[_0x7ae3[7]](),auth[_0x7ae3[8]](),auth[_0x7ae3[11]]([10],[_0x7ae3[9],_0x7ae3[10]]),controller[_0x7ae3[18]]);router[_0x7ae3[21]](_0x7ae3[14],license[_0x7ae3[6]](),license[_0x7ae3[7]](),auth[_0x7ae3[8]](),auth[_0x7ae3[11]]([10],[_0x7ae3[9],_0x7ae3[10]]),controller[_0x7ae3[20]]);module[_0x7ae3[22]]=router \ No newline at end of file +var _0xf646=["\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\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\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\x46\x61\x78","\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"];_0xf646[0];var express=require(_0xf646[1]);var auth=require(_0xf646[2]);var controller=require(_0xf646[3]);var license=require(_0xf646[4]);var router=express.Router();router[_0xf646[13]](_0xf646[5],license[_0xf646[6]](),license[_0xf646[7]](),auth[_0xf646[8]](),auth[_0xf646[11]]([10],[_0xf646[9],_0xf646[10]]),controller[_0xf646[12]]);router[_0xf646[13]](_0xf646[14],license[_0xf646[6]](),license[_0xf646[7]](),controller[_0xf646[15]]);router[_0xf646[17]](_0xf646[5],license[_0xf646[6]](),license[_0xf646[7]](),auth[_0xf646[8]](),auth[_0xf646[11]]([10],[_0xf646[9],_0xf646[10]]),controller[_0xf646[16]]);router[_0xf646[19]](_0xf646[14],license[_0xf646[6]](),license[_0xf646[7]](),auth[_0xf646[8]](),auth[_0xf646[11]]([10],[_0xf646[9],_0xf646[10]]),controller[_0xf646[18]]);router[_0xf646[21]](_0xf646[14],license[_0xf646[6]](),license[_0xf646[7]](),auth[_0xf646[8]](),auth[_0xf646[11]]([10],[_0xf646[9],_0xf646[10]]),controller[_0xf646[20]]);module[_0xf646[22]]=router \ No newline at end of file diff --git a/server/api/fax_message/fax_message.ami.js b/server/api/fax_message/fax_message.ami.js index 64210ce..c08cc89 100644 --- a/server/api/fax_message/fax_message.ami.js +++ b/server/api/fax_message/fax_message.ami.js @@ -1 +1 @@ -var _0x3715=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x3715[0];var _=require(_0x3715[1]);var util=require(_0x3715[2]);var FaxMessage=require(_0x3715[4])[_0x3715[3]];var Trunk=require(_0x3715[4])[_0x3715[5]];exports[_0x3715[6]]=function(_0x62a8x5){FaxMessage[_0x3715[9]](function(_0x62a8x6){console[_0x3715[8]](_0x3715[7])})};function onSave(_0x62a8x5,_0x62a8x6,_0x62a8x8){if(_0x62a8x6[_0x3715[10]]===_0x3715[11]&&!_0x62a8x6[_0x3715[12]]){var _0x62a8x9=JSON[_0x3715[14]](_0x62a8x6[_0x3715[13]]);console[_0x3715[8]](_0x3715[15],_0x62a8x9);Trunk[_0x3715[44]](_0x62a8x9[_0x3715[43]][_0x3715[42]])[_0x3715[41]](function(_0x62a8xb){var _0x62a8xc={Action:_0x3715[18],CallerID:_0x62a8x9[_0x3715[19]],Channel:util[_0x3715[24]](_0x3715[20],_0x62a8x9[_0x3715[21]],_0x62a8x9[_0x3715[22]],_0x62a8xb[_0x3715[23]]),Context:_0x3715[25],Exten:_0x3715[26],Priority:1,Async:_0x3715[27],Variable:{MAXRATE:_0x62a8x9[_0x3715[28]],MINRATE:_0x62a8x9[_0x3715[29]],ECM:_0x62a8x9[_0x3715[30]]?_0x3715[31]:_0x3715[32],LOCALID:_0x62a8x9[_0x3715[33]],FAXFILE:_0x62a8x9[_0x3715[34]],FAXHEADER:_0x62a8x9[_0x3715[35]],FAXUUID:_0x62a8x9[_0x3715[36]]}};_0x62a8x5[_0x3715[40]](_0x62a8xc,function(_0x62a8xa,_0x62a8xd){if(_0x62a8xa){_0x62a8x6[_0x3715[38]]({status:_0x3715[37]})}else {if(_0x62a8xd[_0x3715[39]]&&_0x62a8xd[_0x3715[12]]){_0x62a8x6[_0x3715[38]]({actionid:_0x62a8xd[_0x3715[12]]})}}})})[_0x3715[17]](function(_0x62a8xa){console[_0x3715[16]](_0x62a8xa)})}} \ No newline at end of file +var _0x6503=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x6503[0];var _=require(_0x6503[1]);var util=require(_0x6503[2]);var FaxMessage=require(_0x6503[4])[_0x6503[3]];var Trunk=require(_0x6503[4])[_0x6503[5]];exports[_0x6503[6]]=function(_0xd41ax5){FaxMessage[_0x6503[9]](function(_0xd41ax6){console[_0x6503[8]](_0x6503[7])})};function onSave(_0xd41ax5,_0xd41ax6,_0xd41ax8){if(_0xd41ax6[_0x6503[10]]===_0x6503[11]&&!_0xd41ax6[_0x6503[12]]){var _0xd41ax9=JSON[_0x6503[14]](_0xd41ax6[_0x6503[13]]);console[_0x6503[8]](_0x6503[15],_0xd41ax9);Trunk[_0x6503[44]](_0xd41ax9[_0x6503[43]][_0x6503[42]])[_0x6503[41]](function(_0xd41axb){var _0xd41axc={Action:_0x6503[18],CallerID:_0xd41ax9[_0x6503[19]],Channel:util[_0x6503[24]](_0x6503[20],_0xd41ax9[_0x6503[21]],_0xd41ax9[_0x6503[22]],_0xd41axb[_0x6503[23]]),Context:_0x6503[25],Exten:_0x6503[26],Priority:1,Async:_0x6503[27],Variable:{MAXRATE:_0xd41ax9[_0x6503[28]],MINRATE:_0xd41ax9[_0x6503[29]],ECM:_0xd41ax9[_0x6503[30]]?_0x6503[31]:_0x6503[32],LOCALID:_0xd41ax9[_0x6503[33]],FAXFILE:_0xd41ax9[_0x6503[34]],FAXHEADER:_0xd41ax9[_0x6503[35]],FAXUUID:_0xd41ax9[_0x6503[36]]}};_0xd41ax5[_0x6503[40]](_0xd41axc,function(_0xd41axa,_0xd41axd){if(_0xd41axa){_0xd41ax6[_0x6503[38]]({status:_0x6503[37]})}else {if(_0xd41axd[_0x6503[39]]&&_0xd41axd[_0x6503[12]]){_0xd41ax6[_0x6503[38]]({actionid:_0xd41axd[_0x6503[12]]})}}})})[_0x6503[17]](function(_0xd41axa){console[_0x6503[16]](_0xd41axa)})}} \ No newline at end of file diff --git a/server/api/fax_message/fax_message.controller.js b/server/api/fax_message/fax_message.controller.js index 7e149a2..2396b21 100644 --- a/server/api/fax_message/fax_message.controller.js +++ b/server/api/fax_message/fax_message.controller.js @@ -1 +1 @@ -var _0x9293=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x66\x73","\x70\x61\x74\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x68\x74\x6D\x6C\x2D\x70\x64\x66","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\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","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0x9293[0];var _=require(_0x9293[1]);var fs=require(_0x9293[2]);var path=require(_0x9293[3]);var uploadFile=require(_0x9293[4]);var uuidLib=require(_0x9293[5]);var pdf=require(_0x9293[6]);var formidable=require(_0x9293[7]);var exec=require(_0x9293[9])[_0x9293[8]];var config=require(_0x9293[10]);var FaxMessage=require(_0x9293[12])[_0x9293[11]];var FaxAttachment=require(_0x9293[12])[_0x9293[13]];var FaxRoom=require(_0x9293[12])[_0x9293[14]];var FaxAccount=require(_0x9293[12])[_0x9293[15]];var FaxAttachment=require(_0x9293[12])[_0x9293[13]];var User=require(_0x9293[12])[_0x9293[16]];exports[_0x9293[17]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){var _0x5cb2x12={order:_0x9293[18],include:[{all:true,include:[{all:true}]}]};switch(_0x5cb2xf[_0x9293[24]][_0x9293[23]]){case _0x9293[21]:_0x5cb2x12[_0x9293[19]]=_0x5cb2xf[_0x9293[20]];break;case _0x9293[22]:break;default:};return FaxMessage[_0x9293[29]](_0x5cb2x12)[_0x9293[28]](function(_0x5cb2x14){return _0x5cb2x10[_0x9293[27]](200)[_0x9293[26]](_0x5cb2x14)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11)})};exports[_0x9293[30]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){return FaxMessage[_0x9293[37]](_0x5cb2xf[_0x9293[33]][_0x9293[32]],{include:[{model:FaxAttachment},{model:User,attributes:[_0x9293[32],_0x9293[34],_0x9293[35],_0x9293[36]]}]})[_0x9293[28]](function(_0x5cb2x15){if(!_0x5cb2x15){return _0x5cb2x10[_0x9293[31]](404)};return _0x5cb2x10[_0x9293[26]](_0x5cb2x15)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11)})};exports[_0x9293[38]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){_0x5cb2xf[_0x9293[40]][_0x9293[39]]=_0x5cb2xf[_0x9293[24]][_0x9293[32]];_0x5cb2xf[_0x9293[40]][_0x9293[41]]=_0x5cb2xf[_0x9293[40]][_0x9293[41]];return FaxMessage[_0x9293[38]](_0x5cb2xf[_0x9293[40]],{include:[{model:FaxAttachment}]})[_0x9293[28]](function(_0x5cb2x15){return _0x5cb2x10[_0x9293[27]](201)[_0x9293[26]](_0x5cb2x15)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13)})};exports[_0x9293[42]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){return FaxMessage[_0x9293[37]](_0x5cb2xf[_0x9293[33]][_0x9293[32]],{include:[{all:true}]})[_0x9293[28]](function(_0x5cb2x15){if(!_0x5cb2x15){return _0x5cb2x10[_0x9293[31]](404)};var _0x5cb2x16=_[_0x9293[43]](_0x5cb2x15,_0x5cb2xf[_0x9293[40]]);return _0x5cb2x16[_0x9293[44]]()})[_0x9293[28]](function(_0x5cb2x16){return _0x5cb2x10[_0x9293[27]](200)[_0x9293[26]](_0x5cb2x16)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11)})};exports[_0x9293[45]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){return FaxMessage[_0x9293[37]](_0x5cb2xf[_0x9293[33]][_0x9293[32]])[_0x9293[28]](function(_0x5cb2x15){if(!_0x5cb2x15){return _0x5cb2x10[_0x9293[31]](404)};return _0x5cb2x15[_0x9293[45]]()})[_0x9293[28]](function(){return _0x5cb2x10[_0x9293[31]](204)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11)})};exports[_0x9293[46]]=function(_0x5cb2xf,_0x5cb2x10,_0x5cb2x11){return FaxMessage[_0x9293[48]]({where:{id:{$in:_0x5cb2xf[_0x9293[40]][_0x9293[32]]}},attributes:{directory:_0x9293[47]}})[_0x9293[28]](function(_0x5cb2x15){if(!_0x5cb2x15){return _0x5cb2x10[_0x9293[31]](404)};return _0x5cb2x15[_0x9293[45]]()})[_0x9293[28]](function(){return _0x5cb2x10[_0x9293[31]](204)})[_0x9293[25]](function(_0x5cb2x13){return handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11)})};function handleError(_0x5cb2x10,_0x5cb2x13,_0x5cb2x11){return _0x5cb2x10[_0x9293[27]](500)[_0x9293[26]](_0x5cb2x13)} \ No newline at end of file +var _0xe15c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x66\x73","\x70\x61\x74\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x68\x74\x6D\x6C\x2D\x70\x64\x66","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\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","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xe15c[0];var _=require(_0xe15c[1]);var fs=require(_0xe15c[2]);var path=require(_0xe15c[3]);var uploadFile=require(_0xe15c[4]);var uuidLib=require(_0xe15c[5]);var pdf=require(_0xe15c[6]);var formidable=require(_0xe15c[7]);var exec=require(_0xe15c[9])[_0xe15c[8]];var config=require(_0xe15c[10]);var FaxMessage=require(_0xe15c[12])[_0xe15c[11]];var FaxAttachment=require(_0xe15c[12])[_0xe15c[13]];var FaxRoom=require(_0xe15c[12])[_0xe15c[14]];var FaxAccount=require(_0xe15c[12])[_0xe15c[15]];var FaxAttachment=require(_0xe15c[12])[_0xe15c[13]];var User=require(_0xe15c[12])[_0xe15c[16]];exports[_0xe15c[17]]=function(_0x9800xf,_0x9800x10,_0x9800x11){var _0x9800x12={order:_0xe15c[18],include:[{all:true,include:[{all:true}]}]};switch(_0x9800xf[_0xe15c[24]][_0xe15c[23]]){case _0xe15c[21]:_0x9800x12[_0xe15c[19]]=_0x9800xf[_0xe15c[20]];break;case _0xe15c[22]:break;default:};return FaxMessage[_0xe15c[29]](_0x9800x12)[_0xe15c[28]](function(_0x9800x14){return _0x9800x10[_0xe15c[27]](200)[_0xe15c[26]](_0x9800x14)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13,_0x9800x11)})};exports[_0xe15c[30]]=function(_0x9800xf,_0x9800x10,_0x9800x11){return FaxMessage[_0xe15c[37]](_0x9800xf[_0xe15c[33]][_0xe15c[32]],{include:[{model:FaxAttachment},{model:User,attributes:[_0xe15c[32],_0xe15c[34],_0xe15c[35],_0xe15c[36]]}]})[_0xe15c[28]](function(_0x9800x15){if(!_0x9800x15){return _0x9800x10[_0xe15c[31]](404)};return _0x9800x10[_0xe15c[26]](_0x9800x15)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13,_0x9800x11)})};exports[_0xe15c[38]]=function(_0x9800xf,_0x9800x10,_0x9800x11){_0x9800xf[_0xe15c[40]][_0xe15c[39]]=_0x9800xf[_0xe15c[24]][_0xe15c[32]];_0x9800xf[_0xe15c[40]][_0xe15c[41]]=_0x9800xf[_0xe15c[40]][_0xe15c[41]];return FaxMessage[_0xe15c[38]](_0x9800xf[_0xe15c[40]],{include:[{model:FaxAttachment}]})[_0xe15c[28]](function(_0x9800x15){return _0x9800x10[_0xe15c[27]](201)[_0xe15c[26]](_0x9800x15)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13)})};exports[_0xe15c[42]]=function(_0x9800xf,_0x9800x10,_0x9800x11){return FaxMessage[_0xe15c[37]](_0x9800xf[_0xe15c[33]][_0xe15c[32]],{include:[{all:true}]})[_0xe15c[28]](function(_0x9800x15){if(!_0x9800x15){return _0x9800x10[_0xe15c[31]](404)};var _0x9800x16=_[_0xe15c[43]](_0x9800x15,_0x9800xf[_0xe15c[40]]);return _0x9800x16[_0xe15c[44]]()})[_0xe15c[28]](function(_0x9800x16){return _0x9800x10[_0xe15c[27]](200)[_0xe15c[26]](_0x9800x16)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13,_0x9800x11)})};exports[_0xe15c[45]]=function(_0x9800xf,_0x9800x10,_0x9800x11){return FaxMessage[_0xe15c[37]](_0x9800xf[_0xe15c[33]][_0xe15c[32]])[_0xe15c[28]](function(_0x9800x15){if(!_0x9800x15){return _0x9800x10[_0xe15c[31]](404)};return _0x9800x15[_0xe15c[45]]()})[_0xe15c[28]](function(){return _0x9800x10[_0xe15c[31]](204)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13,_0x9800x11)})};exports[_0xe15c[46]]=function(_0x9800xf,_0x9800x10,_0x9800x11){return FaxMessage[_0xe15c[48]]({where:{id:{$in:_0x9800xf[_0xe15c[40]][_0xe15c[32]]}},attributes:{directory:_0xe15c[47]}})[_0xe15c[28]](function(_0x9800x15){if(!_0x9800x15){return _0x9800x10[_0xe15c[31]](404)};return _0x9800x15[_0xe15c[45]]()})[_0xe15c[28]](function(){return _0x9800x10[_0xe15c[31]](204)})[_0xe15c[25]](function(_0x9800x13){return handleError(_0x9800x10,_0x9800x13,_0x9800x11)})};function handleError(_0x9800x10,_0x9800x13,_0x9800x11){return _0x9800x10[_0xe15c[27]](500)[_0xe15c[26]](_0x9800x13)} \ No newline at end of file diff --git a/server/api/fax_message/fax_message.socket.js b/server/api/fax_message/fax_message.socket.js index 8b15d74..8942668 100644 --- a/server/api/fax_message/fax_message.socket.js +++ b/server/api/fax_message/fax_message.socket.js @@ -1 +1 @@ -var _0xce0a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xce0a[0];var FaxMessage=require(_0xce0a[2])[_0xce0a[1]];var Contact=require(_0xce0a[2])[_0xce0a[3]];var FaxRoom=require(_0xce0a[2])[_0xce0a[4]];var FaxAccount=require(_0xce0a[2])[_0xce0a[5]];exports[_0xce0a[6]]=function(_0x8f43x5){FaxMessage[_0xce0a[7]](function(_0x8f43x6){onSave(_0x8f43x5,_0x8f43x6)});FaxMessage[_0xce0a[8]](function(_0x8f43x6){onSave(_0x8f43x5,_0x8f43x6)});FaxMessage[_0xce0a[9]](function(_0x8f43x6){onRemove(_0x8f43x5,_0x8f43x6)})};function onSave(_0x8f43x5,_0x8f43x6,_0x8f43x8){_0x8f43x5[_0xce0a[11]](_0xce0a[10],_0x8f43x6)}function onUpdate(_0x8f43x5,_0x8f43x6,_0x8f43x8){_0x8f43x5[_0xce0a[11]](_0xce0a[12],_0x8f43x6)}function onRemove(_0x8f43x5,_0x8f43x6,_0x8f43x8){_0x8f43x5[_0xce0a[11]](_0xce0a[13],_0x8f43x6)} \ No newline at end of file +var _0x9adb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9adb[0];var FaxMessage=require(_0x9adb[2])[_0x9adb[1]];var Contact=require(_0x9adb[2])[_0x9adb[3]];var FaxRoom=require(_0x9adb[2])[_0x9adb[4]];var FaxAccount=require(_0x9adb[2])[_0x9adb[5]];exports[_0x9adb[6]]=function(_0xdca3x5){FaxMessage[_0x9adb[7]](function(_0xdca3x6){onSave(_0xdca3x5,_0xdca3x6)});FaxMessage[_0x9adb[8]](function(_0xdca3x6){onSave(_0xdca3x5,_0xdca3x6)});FaxMessage[_0x9adb[9]](function(_0xdca3x6){onRemove(_0xdca3x5,_0xdca3x6)})};function onSave(_0xdca3x5,_0xdca3x6,_0xdca3x8){_0xdca3x5[_0x9adb[11]](_0x9adb[10],_0xdca3x6)}function onUpdate(_0xdca3x5,_0xdca3x6,_0xdca3x8){_0xdca3x5[_0x9adb[11]](_0x9adb[12],_0xdca3x6)}function onRemove(_0xdca3x5,_0xdca3x6,_0xdca3x8){_0xdca3x5[_0x9adb[11]](_0x9adb[13],_0xdca3x6)} \ No newline at end of file diff --git a/server/api/fax_message/index.js b/server/api/fax_message/index.js index 602990b..ead5811 100644 --- a/server/api/fax_message/index.js +++ b/server/api/fax_message/index.js @@ -1 +1 @@ -var _0x334f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\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\x46\x61\x78","\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","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x334f[0];var express=require(_0x334f[1]);var controller=require(_0x334f[2]);var auth=require(_0x334f[3]);var license=require(_0x334f[4]);var router=express.Router();router[_0x334f[13]](_0x334f[5],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9],_0x334f[10]]),controller[_0x334f[12]]);router[_0x334f[13]](_0x334f[14],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9],_0x334f[10]]),controller[_0x334f[15]]);router[_0x334f[17]](_0x334f[5],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9],_0x334f[10]]),controller[_0x334f[16]]);router[_0x334f[19]](_0x334f[5],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9],_0x334f[10]]),controller[_0x334f[18]]);router[_0x334f[19]](_0x334f[20],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9]]),controller[_0x334f[21]]);router[_0x334f[19]](_0x334f[22],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9]]),controller[_0x334f[18]]);router[_0x334f[19]](_0x334f[14],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9],_0x334f[10]]),controller[_0x334f[18]]);router[_0x334f[24]](_0x334f[14],license[_0x334f[6]](),license[_0x334f[7]](),auth[_0x334f[8]](),auth[_0x334f[11]]([10],[_0x334f[9]]),controller[_0x334f[23]]);module[_0x334f[25]]=router \ No newline at end of file +var _0x9a7f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\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\x46\x61\x78","\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","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x9a7f[0];var express=require(_0x9a7f[1]);var controller=require(_0x9a7f[2]);var auth=require(_0x9a7f[3]);var license=require(_0x9a7f[4]);var router=express.Router();router[_0x9a7f[13]](_0x9a7f[5],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9],_0x9a7f[10]]),controller[_0x9a7f[12]]);router[_0x9a7f[13]](_0x9a7f[14],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9],_0x9a7f[10]]),controller[_0x9a7f[15]]);router[_0x9a7f[17]](_0x9a7f[5],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9],_0x9a7f[10]]),controller[_0x9a7f[16]]);router[_0x9a7f[19]](_0x9a7f[5],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9],_0x9a7f[10]]),controller[_0x9a7f[18]]);router[_0x9a7f[19]](_0x9a7f[20],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9]]),controller[_0x9a7f[21]]);router[_0x9a7f[19]](_0x9a7f[22],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9]]),controller[_0x9a7f[18]]);router[_0x9a7f[19]](_0x9a7f[14],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9],_0x9a7f[10]]),controller[_0x9a7f[18]]);router[_0x9a7f[24]](_0x9a7f[14],license[_0x9a7f[6]](),license[_0x9a7f[7]](),auth[_0x9a7f[8]](),auth[_0x9a7f[11]]([10],[_0x9a7f[9]]),controller[_0x9a7f[23]]);module[_0x9a7f[25]]=router \ No newline at end of file diff --git a/server/api/fax_queue/fax_queue.controller.js b/server/api/fax_queue/fax_queue.controller.js index 083d174..3e62084 100644 --- a/server/api/fax_queue/fax_queue.controller.js +++ b/server/api/fax_queue/fax_queue.controller.js @@ -1 +1 @@ -var _0xa2ed=["\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","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\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\x46\x61\x78\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\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","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xa2ed[0];var _=require(_0xa2ed[1]);var Util=require(_0xa2ed[2]);var User=require(_0xa2ed[4])[_0xa2ed[3]];var FaxQueue=require(_0xa2ed[4])[_0xa2ed[5]];var UserHasFaxQueue=require(_0xa2ed[4])[_0xa2ed[6]];exports[_0xa2ed[7]]=function(_0xe3edx6,_0xe3edx7){switch(_0xe3edx6[_0xa2ed[15]][_0xa2ed[19]]){case _0xa2ed[15]:return User[_0xa2ed[16]](_0xe3edx6[_0xa2ed[15]][_0xa2ed[14]],{attributes:[_0xa2ed[14]]})[_0xa2ed[11]](Util[_0xa2ed[13]](_0xe3edx6[_0xa2ed[12]]))[_0xa2ed[11]](function(_0xe3edx9){_0xe3edx7[_0xa2ed[10]](200)[_0xa2ed[9]](_0xe3edx9)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)});default:return FaxQueue[_0xa2ed[18]](Util[_0xa2ed[17]](_0xe3edx6[_0xa2ed[12]]))[_0xa2ed[11]](function(_0xe3edx9){_0xe3edx7[_0xa2ed[10]](200)[_0xa2ed[9]](_0xe3edx9)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})}};exports[_0xa2ed[20]]=function(_0xe3edx6,_0xe3edx7){return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edxa){if(!_0xe3edxa){return _0xe3edx7[_0xa2ed[21]](404)};return _0xe3edx7[_0xa2ed[9]](_0xe3edxa)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[23]]=function(_0xe3edx6,_0xe3edx7){return FaxQueue[_0xa2ed[23]](_0xe3edx6[_0xa2ed[24]])[_0xa2ed[11]](function(_0xe3edxa){return _0xe3edx7[_0xa2ed[10]](201)[_0xa2ed[9]](_0xe3edxa)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[25]]=function(_0xe3edx6,_0xe3edx7){if(_0xe3edx6[_0xa2ed[24]][_0xa2ed[14]]){delete _0xe3edx6[_0xa2ed[24]][_0xa2ed[14]]};return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edxa){if(!_0xe3edxa){return _0xe3edx7[_0xa2ed[21]](404)};var _0xe3edxb=_[_0xa2ed[26]](_0xe3edxa,_0xe3edx6[_0xa2ed[24]]);return _0xe3edxb[_0xa2ed[27]]()})[_0xa2ed[11]](function(_0xe3edxa){return _0xe3edx7[_0xa2ed[10]](200)[_0xa2ed[9]](_0xe3edxa)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[28]]=function(_0xe3edx6,_0xe3edx7){return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edxa){if(!_0xe3edxa){return _0xe3edx7[_0xa2ed[21]](404)};return _0xe3edxa[_0xa2ed[28]]()})[_0xa2ed[11]](function(){return _0xe3edx7[_0xa2ed[21]](204)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[29]]=function(_0xe3edx6,_0xe3edx7,_0xe3edxc){return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edxd){if(!_0xe3edxd){return _0xe3edx7[_0xa2ed[21]](404)};var _0xe3edxe=_[_0xa2ed[33]](_0xe3edx6[_0xa2ed[24]][_0xa2ed[30]],function(_0xe3edxf){return {UserId:_0xe3edxf,penalty:_0xe3edx6[_0xa2ed[24]][_0xa2ed[31]],FaxQueueId:_0xe3edxd[_0xa2ed[14]],queue:_0xe3edxd[_0xa2ed[32]]}});return UserHasFaxQueue[_0xa2ed[34]](_0xe3edxe,{individualHooks:true})})[_0xa2ed[11]](function(){return _0xe3edx7[_0xa2ed[21]](200)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[35]]=function(_0xe3edx6,_0xe3edx7){return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edx11){if(!_0xe3edx11){return _0xe3edx7[_0xa2ed[21]](404)};return _0xe3edx11[_0xa2ed[40]]({where:{role:_0xa2ed[37]},attributes:[_0xa2ed[14],_0xa2ed[32],_0xa2ed[38],_0xa2ed[39]]})})[_0xa2ed[11]](function(_0xe3edx10){return _0xe3edx7[_0xa2ed[10]](200)[_0xa2ed[9]]({rows:_0xe3edx10,count:_0xe3edx10[_0xa2ed[36]]})})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};exports[_0xa2ed[41]]=function(_0xe3edx6,_0xe3edx7,_0xe3edxc){return FaxQueue[_0xa2ed[16]](_0xe3edx6[_0xa2ed[22]][_0xa2ed[14]])[_0xa2ed[11]](function(_0xe3edx11){if(!_0xe3edx11){return _0xe3edx7[_0xa2ed[21]](404)};return _0xe3edx11[_0xa2ed[42]](_0xe3edx6[_0xa2ed[12]][_0xa2ed[30]],{individualHooks:true})})[_0xa2ed[11]](function(){return _0xe3edx7[_0xa2ed[21]](202)})[_0xa2ed[8]](function(_0xe3edx8){return _0xe3edxc(_0xe3edx8)})};exports[_0xa2ed[43]]=function(_0xe3edx6,_0xe3edx7){return FaxQueue[_0xa2ed[28]]({where:{id:_0xe3edx6[_0xa2ed[12]][_0xa2ed[44]]},individualHooks:true})[_0xa2ed[11]](function(){return _0xe3edx7[_0xa2ed[21]](204)})[_0xa2ed[8]](function(_0xe3edx8){return handleError(_0xe3edx7,_0xe3edx8)})};function handleError(_0xe3edx7,_0xe3edx8){return _0xe3edx7[_0xa2ed[10]](500)[_0xa2ed[9]](_0xe3edx8)} \ No newline at end of file +var _0x57ba=["\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","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\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\x46\x61\x78\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\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","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x57ba[0];var _=require(_0x57ba[1]);var Util=require(_0x57ba[2]);var User=require(_0x57ba[4])[_0x57ba[3]];var FaxQueue=require(_0x57ba[4])[_0x57ba[5]];var UserHasFaxQueue=require(_0x57ba[4])[_0x57ba[6]];exports[_0x57ba[7]]=function(_0xf566x6,_0xf566x7){switch(_0xf566x6[_0x57ba[15]][_0x57ba[19]]){case _0x57ba[15]:return User[_0x57ba[16]](_0xf566x6[_0x57ba[15]][_0x57ba[14]],{attributes:[_0x57ba[14]]})[_0x57ba[11]](Util[_0x57ba[13]](_0xf566x6[_0x57ba[12]]))[_0x57ba[11]](function(_0xf566x9){_0xf566x7[_0x57ba[10]](200)[_0x57ba[9]](_0xf566x9)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)});default:return FaxQueue[_0x57ba[18]](Util[_0x57ba[17]](_0xf566x6[_0x57ba[12]]))[_0x57ba[11]](function(_0xf566x9){_0xf566x7[_0x57ba[10]](200)[_0x57ba[9]](_0xf566x9)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})}};exports[_0x57ba[20]]=function(_0xf566x6,_0xf566x7){return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566xa){if(!_0xf566xa){return _0xf566x7[_0x57ba[21]](404)};return _0xf566x7[_0x57ba[9]](_0xf566xa)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[23]]=function(_0xf566x6,_0xf566x7){return FaxQueue[_0x57ba[23]](_0xf566x6[_0x57ba[24]])[_0x57ba[11]](function(_0xf566xa){return _0xf566x7[_0x57ba[10]](201)[_0x57ba[9]](_0xf566xa)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[25]]=function(_0xf566x6,_0xf566x7){if(_0xf566x6[_0x57ba[24]][_0x57ba[14]]){delete _0xf566x6[_0x57ba[24]][_0x57ba[14]]};return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566xa){if(!_0xf566xa){return _0xf566x7[_0x57ba[21]](404)};var _0xf566xb=_[_0x57ba[26]](_0xf566xa,_0xf566x6[_0x57ba[24]]);return _0xf566xb[_0x57ba[27]]()})[_0x57ba[11]](function(_0xf566xa){return _0xf566x7[_0x57ba[10]](200)[_0x57ba[9]](_0xf566xa)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[28]]=function(_0xf566x6,_0xf566x7){return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566xa){if(!_0xf566xa){return _0xf566x7[_0x57ba[21]](404)};return _0xf566xa[_0x57ba[28]]()})[_0x57ba[11]](function(){return _0xf566x7[_0x57ba[21]](204)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[29]]=function(_0xf566x6,_0xf566x7,_0xf566xc){return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566xd){if(!_0xf566xd){return _0xf566x7[_0x57ba[21]](404)};var _0xf566xe=_[_0x57ba[33]](_0xf566x6[_0x57ba[24]][_0x57ba[30]],function(_0xf566xf){return {UserId:_0xf566xf,penalty:_0xf566x6[_0x57ba[24]][_0x57ba[31]],FaxQueueId:_0xf566xd[_0x57ba[14]],queue:_0xf566xd[_0x57ba[32]]}});return UserHasFaxQueue[_0x57ba[34]](_0xf566xe,{individualHooks:true})})[_0x57ba[11]](function(){return _0xf566x7[_0x57ba[21]](200)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[35]]=function(_0xf566x6,_0xf566x7){return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566x11){if(!_0xf566x11){return _0xf566x7[_0x57ba[21]](404)};return _0xf566x11[_0x57ba[40]]({where:{role:_0x57ba[37]},attributes:[_0x57ba[14],_0x57ba[32],_0x57ba[38],_0x57ba[39]]})})[_0x57ba[11]](function(_0xf566x10){return _0xf566x7[_0x57ba[10]](200)[_0x57ba[9]]({rows:_0xf566x10,count:_0xf566x10[_0x57ba[36]]})})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};exports[_0x57ba[41]]=function(_0xf566x6,_0xf566x7,_0xf566xc){return FaxQueue[_0x57ba[16]](_0xf566x6[_0x57ba[22]][_0x57ba[14]])[_0x57ba[11]](function(_0xf566x11){if(!_0xf566x11){return _0xf566x7[_0x57ba[21]](404)};return _0xf566x11[_0x57ba[42]](_0xf566x6[_0x57ba[12]][_0x57ba[30]],{individualHooks:true})})[_0x57ba[11]](function(){return _0xf566x7[_0x57ba[21]](202)})[_0x57ba[8]](function(_0xf566x8){return _0xf566xc(_0xf566x8)})};exports[_0x57ba[43]]=function(_0xf566x6,_0xf566x7){return FaxQueue[_0x57ba[28]]({where:{id:_0xf566x6[_0x57ba[12]][_0x57ba[44]]},individualHooks:true})[_0x57ba[11]](function(){return _0xf566x7[_0x57ba[21]](204)})[_0x57ba[8]](function(_0xf566x8){return handleError(_0xf566x7,_0xf566x8)})};function handleError(_0xf566x7,_0xf566x8){return _0xf566x7[_0x57ba[10]](500)[_0x57ba[9]](_0xf566x8)} \ No newline at end of file diff --git a/server/api/fax_queue/fax_queue.socket.js b/server/api/fax_queue/fax_queue.socket.js index 517b9da..cd246ad 100644 --- a/server/api/fax_queue/fax_queue.socket.js +++ b/server/api/fax_queue/fax_queue.socket.js @@ -1 +1 @@ -var _0x622d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x622d[0];var fax_queue=require(_0x622d[2])[_0x622d[1]];exports[_0x622d[3]]=function(_0xf7f5x2){fax_queue[_0x622d[4]](function(_0xf7f5x3){onSave(_0xf7f5x2,_0xf7f5x3)});fax_queue[_0x622d[5]](function(_0xf7f5x3){onRemove(_0xf7f5x2,_0xf7f5x3)})};function onSave(_0xf7f5x2,_0xf7f5x3,_0xf7f5x5){_0xf7f5x2[_0x622d[7]](_0x622d[6],_0xf7f5x3)}function onRemove(_0xf7f5x2,_0xf7f5x3,_0xf7f5x5){_0xf7f5x2[_0x622d[7]](_0x622d[8],_0xf7f5x3)} \ No newline at end of file +var _0x2c81=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2c81[0];var fax_queue=require(_0x2c81[2])[_0x2c81[1]];exports[_0x2c81[3]]=function(_0x1563x2){fax_queue[_0x2c81[4]](function(_0x1563x3){onSave(_0x1563x2,_0x1563x3)});fax_queue[_0x2c81[5]](function(_0x1563x3){onRemove(_0x1563x2,_0x1563x3)})};function onSave(_0x1563x2,_0x1563x3,_0x1563x5){_0x1563x2[_0x2c81[7]](_0x2c81[6],_0x1563x3)}function onRemove(_0x1563x2,_0x1563x3,_0x1563x5){_0x1563x2[_0x2c81[7]](_0x2c81[8],_0x1563x3)} \ No newline at end of file diff --git a/server/api/fax_queue/index.js b/server/api/fax_queue/index.js index 6e80e85..3da1b31 100644 --- a/server/api/fax_queue/index.js +++ b/server/api/fax_queue/index.js @@ -1 +1 @@ -var _0xbd97=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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","\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\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\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","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xbd97[0];var express=require(_0xbd97[1]);var controller=require(_0xbd97[2]);var auth=require(_0xbd97[3]);var router=express.Router();router[_0xbd97[7]](_0xbd97[4],auth[_0xbd97[5]](),controller[_0xbd97[6]]);router[_0xbd97[7]](_0xbd97[8],auth[_0xbd97[5]](),controller[_0xbd97[9]]);router[_0xbd97[7]](_0xbd97[10],auth[_0xbd97[5]](),controller[_0xbd97[11]]);router[_0xbd97[13]](_0xbd97[4],auth[_0xbd97[5]](),controller[_0xbd97[12]]);router[_0xbd97[13]](_0xbd97[10],auth[_0xbd97[5]](),controller[_0xbd97[14]]);router[_0xbd97[16]](_0xbd97[8],auth[_0xbd97[5]](),controller[_0xbd97[15]]);router[_0xbd97[17]](_0xbd97[8],auth[_0xbd97[5]](),controller[_0xbd97[15]]);router[_0xbd97[19]](_0xbd97[4],auth[_0xbd97[5]](),controller[_0xbd97[18]]);router[_0xbd97[19]](_0xbd97[8],auth[_0xbd97[5]](),controller[_0xbd97[20]]);router[_0xbd97[19]](_0xbd97[10],auth[_0xbd97[5]](),controller[_0xbd97[21]]);module[_0xbd97[22]]=router \ No newline at end of file +var _0xa3a9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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","\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\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\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","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xa3a9[0];var express=require(_0xa3a9[1]);var controller=require(_0xa3a9[2]);var auth=require(_0xa3a9[3]);var router=express.Router();router[_0xa3a9[7]](_0xa3a9[4],auth[_0xa3a9[5]](),controller[_0xa3a9[6]]);router[_0xa3a9[7]](_0xa3a9[8],auth[_0xa3a9[5]](),controller[_0xa3a9[9]]);router[_0xa3a9[7]](_0xa3a9[10],auth[_0xa3a9[5]](),controller[_0xa3a9[11]]);router[_0xa3a9[13]](_0xa3a9[4],auth[_0xa3a9[5]](),controller[_0xa3a9[12]]);router[_0xa3a9[13]](_0xa3a9[10],auth[_0xa3a9[5]](),controller[_0xa3a9[14]]);router[_0xa3a9[16]](_0xa3a9[8],auth[_0xa3a9[5]](),controller[_0xa3a9[15]]);router[_0xa3a9[17]](_0xa3a9[8],auth[_0xa3a9[5]](),controller[_0xa3a9[15]]);router[_0xa3a9[19]](_0xa3a9[4],auth[_0xa3a9[5]](),controller[_0xa3a9[18]]);router[_0xa3a9[19]](_0xa3a9[8],auth[_0xa3a9[5]](),controller[_0xa3a9[20]]);router[_0xa3a9[19]](_0xa3a9[10],auth[_0xa3a9[5]](),controller[_0xa3a9[21]]);module[_0xa3a9[22]]=router \ No newline at end of file diff --git a/server/api/fax_room/fax_room.controller.js b/server/api/fax_room/fax_room.controller.js index 6072164..98e5336 100644 --- a/server/api/fax_room/fax_room.controller.js +++ b/server/api/fax_room/fax_room.controller.js @@ -1 +1 @@ -var _0xcb02=["\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","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x74\x65\x78\x74","\x6A\x6F\x62\x49\x64","\x46\x61\x78\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x61\x73\x73\x69\x67\x6E\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\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","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0xcb02[0];var _=require(_0xcb02[1]);var util=require(_0xcb02[2]);var Util=require(_0xcb02[3]);var sequelize=require(_0xcb02[5])[_0xcb02[4]];var User=require(_0xcb02[5])[_0xcb02[6]];var Agent=require(_0xcb02[5])[_0xcb02[6]];var Contact=require(_0xcb02[5])[_0xcb02[7]];var FaxRoom=require(_0xcb02[5])[_0xcb02[8]];var FaxMessage=require(_0xcb02[5])[_0xcb02[9]];var FaxAccount=require(_0xcb02[5])[_0xcb02[10]];var FaxAttachment=require(_0xcb02[5])[_0xcb02[11]];exports[_0xcb02[12]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[21]](_0xcb02[20])[_0xcb02[19]](Util[_0xcb02[18]](_0xb5abxc[_0xcb02[17]]))[_0xcb02[16]](function(_0xb5abx10){return _0xb5abxd[_0xcb02[15]](200)[_0xcb02[14]](_0xb5abx10)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[22]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){switch(_0xb5abxc[_0xcb02[27]][_0xcb02[32]]){case _0xcb02[30]:return sequelize[_0xcb02[17]](_0xcb02[24],{replacements:{status:_0xcb02[25],id:_0xb5abxc[_0xcb02[27]][_0xcb02[26]]},type:sequelize[_0xcb02[29]][_0xcb02[28]]})[_0xcb02[16]](function(_0xb5abx10){return _0xb5abxd[_0xcb02[15]](200)[_0xcb02[14]](_0xb5abx10)})[_0xcb02[13]](function(_0xb5abxf){console[_0xcb02[23]](_0xb5abxf);return handleError(_0xb5abxd,_0xb5abxf)});default:return sequelize[_0xcb02[17]](_0xcb02[31],{replacements:{status:_0xcb02[25],id:_0xb5abxc[_0xcb02[27]][_0xcb02[26]]},type:sequelize[_0xcb02[29]][_0xcb02[28]]})[_0xcb02[16]](function(_0xb5abx10){return _0xb5abxd[_0xcb02[15]](200)[_0xcb02[14]](_0xb5abx10)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})}};exports[_0xcb02[33]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[35]]({where:{UserId:_0xb5abxc[_0xcb02[34]][_0xcb02[26]]},include:[{all:true}]})[_0xcb02[16]](function(_0xb5abx11){return _0xb5abxd[_0xcb02[15]](200)[_0xcb02[14]](_0xb5abx11)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[36]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){var _0xb5abx12;if(_0xb5abxc[_0xcb02[27]][_0xcb02[32]]===_0xcb02[30]){return FaxRoom[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){_0xb5abx12=_0xb5abx13;if(!_0xb5abx12){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abx12[_0xcb02[40]]({status:_0xcb02[39]},{userId:_0xb5abxc[_0xcb02[27]][_0xcb02[26]]})})[_0xcb02[16]](function(){return _0xb5abx12[_0xcb02[38]](_0xb5abxc[_0xcb02[27]][_0xcb02[26]])})[_0xcb02[16]](function(){return _0xb5abxd[_0xcb02[37]](200)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})}};exports[_0xcb02[42]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[21]](_0xcb02[20])[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){if(!_0xb5abx13){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abxd[_0xcb02[14]](_0xb5abx13)})[_0xcb02[13]](function(_0xb5abxf){console[_0xcb02[23]](_0xb5abxf);return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[43]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){if(!_0xb5abx13){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abx13[_0xcb02[48]]({attributes:[_0xcb02[26],_0xcb02[44],_0xcb02[45],_0xcb02[46],_0xcb02[32],_0xcb02[47]]})})[_0xcb02[16]](function(_0xb5abx14){return _0xb5abxd[_0xcb02[14]](_0xb5abx14)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[49]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[49]](_0xb5abxc[_0xcb02[50]])[_0xcb02[16]](function(_0xb5abx13){return _0xb5abxd[_0xcb02[15]](201)[_0xcb02[14]](_0xb5abx13)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[51]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){_0xb5abxc[_0xcb02[50]][_0xcb02[52]]=_0xb5abxc[_0xcb02[27]][_0xcb02[26]];_0xb5abxc[_0xcb02[50]][_0xcb02[53]]=_0xb5abxc[_0xcb02[34]][_0xcb02[26]];_0xb5abxc[_0xcb02[50]][_0xcb02[54]]=_0xb5abxc[_0xcb02[50]][_0xcb02[54]];return FaxMessage[_0xcb02[49]](_0xb5abxc[_0xcb02[50]],{include:[{model:FaxAttachment}],user:_0xb5abxc[_0xcb02[27]]})[_0xcb02[16]](function(_0xb5abx15){return _0xb5abxd[_0xcb02[15]](201)[_0xcb02[14]](_0xb5abx15)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[40]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){if(!_0xb5abx13){return _0xb5abxd[_0xcb02[37]](404)};if(_0xb5abx13[_0xcb02[55]]){throw new Error(_0xcb02[56])};var _0xb5abx16=_[_0xcb02[57]](_0xb5abx13,_0xb5abxc[_0xcb02[50]]);return _0xb5abx16[_0xcb02[58]]()})[_0xcb02[16]](function(_0xb5abx13){return _0xb5abxd[_0xcb02[15]](200)[_0xcb02[14]](_0xb5abx13)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[59]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){if(!_0xb5abx13){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abx13[_0xcb02[61]](_0xb5abxc[_0xcb02[50]][_0xcb02[60]],{individualHooks:true})})[_0xcb02[16]](function(){return _0xb5abxd[_0xcb02[37]](200)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[62]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){return FaxRoom[_0xcb02[41]](_0xb5abxc[_0xcb02[34]][_0xcb02[26]])[_0xcb02[16]](function(_0xb5abx13){if(!_0xb5abx13){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abx13[_0xcb02[62]]()})[_0xcb02[16]](function(){return _0xb5abxd[_0xcb02[37]](204)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};exports[_0xcb02[63]]=function(_0xb5abxc,_0xb5abxd){return FaxRoom[_0xcb02[62]]({where:{id:_0xb5abxc[_0xcb02[17]][_0xcb02[64]]},individualHooks:true})[_0xcb02[16]](function(){return _0xb5abxd[_0xcb02[37]](200)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})};function handleError(_0xb5abxd,_0xb5abxf){return _0xb5abxd[_0xcb02[15]](500)[_0xcb02[14]](_0xb5abxf)}exports[_0xcb02[65]]=function(_0xb5abxc,_0xb5abxd,_0xb5abxe){var _0xb5abx18={tags:_0xb5abxc[_0xcb02[50]][_0xcb02[66]]};var _0xb5abx19={where:{id:_0xb5abxc[_0xcb02[34]][_0xcb02[26]][_0xcb02[68]](_0xcb02[67])}};return FaxRoom[_0xcb02[40]](_0xb5abx18,_0xb5abx19)[_0xcb02[16]](function(_0xb5abx11){if(!_0xb5abx11){return _0xb5abxd[_0xcb02[37]](404)};return _0xb5abx11})[_0xcb02[16]](function(_0xb5abx11){return _0xb5abxd[_0xcb02[37]](200)})[_0xcb02[13]](function(_0xb5abxf){return handleError(_0xb5abxd,_0xb5abxf)})} \ No newline at end of file +var _0xa45f=["\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","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x74\x65\x78\x74","\x6A\x6F\x62\x49\x64","\x46\x61\x78\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x61\x73\x73\x69\x67\x6E\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\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","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0xa45f[0];var _=require(_0xa45f[1]);var util=require(_0xa45f[2]);var Util=require(_0xa45f[3]);var sequelize=require(_0xa45f[5])[_0xa45f[4]];var User=require(_0xa45f[5])[_0xa45f[6]];var Agent=require(_0xa45f[5])[_0xa45f[6]];var Contact=require(_0xa45f[5])[_0xa45f[7]];var FaxRoom=require(_0xa45f[5])[_0xa45f[8]];var FaxMessage=require(_0xa45f[5])[_0xa45f[9]];var FaxAccount=require(_0xa45f[5])[_0xa45f[10]];var FaxAttachment=require(_0xa45f[5])[_0xa45f[11]];exports[_0xa45f[12]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[21]](_0xa45f[20])[_0xa45f[19]](Util[_0xa45f[18]](_0x2061xc[_0xa45f[17]]))[_0xa45f[16]](function(_0x2061x10){return _0x2061xd[_0xa45f[15]](200)[_0xa45f[14]](_0x2061x10)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[22]]=function(_0x2061xc,_0x2061xd,_0x2061xe){switch(_0x2061xc[_0xa45f[27]][_0xa45f[32]]){case _0xa45f[30]:return sequelize[_0xa45f[17]](_0xa45f[24],{replacements:{status:_0xa45f[25],id:_0x2061xc[_0xa45f[27]][_0xa45f[26]]},type:sequelize[_0xa45f[29]][_0xa45f[28]]})[_0xa45f[16]](function(_0x2061x10){return _0x2061xd[_0xa45f[15]](200)[_0xa45f[14]](_0x2061x10)})[_0xa45f[13]](function(_0x2061xf){console[_0xa45f[23]](_0x2061xf);return handleError(_0x2061xd,_0x2061xf)});default:return sequelize[_0xa45f[17]](_0xa45f[31],{replacements:{status:_0xa45f[25],id:_0x2061xc[_0xa45f[27]][_0xa45f[26]]},type:sequelize[_0xa45f[29]][_0xa45f[28]]})[_0xa45f[16]](function(_0x2061x10){return _0x2061xd[_0xa45f[15]](200)[_0xa45f[14]](_0x2061x10)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})}};exports[_0xa45f[33]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[35]]({where:{UserId:_0x2061xc[_0xa45f[34]][_0xa45f[26]]},include:[{all:true}]})[_0xa45f[16]](function(_0x2061x11){return _0x2061xd[_0xa45f[15]](200)[_0xa45f[14]](_0x2061x11)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[36]]=function(_0x2061xc,_0x2061xd,_0x2061xe){var _0x2061x12;if(_0x2061xc[_0xa45f[27]][_0xa45f[32]]===_0xa45f[30]){return FaxRoom[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){_0x2061x12=_0x2061x13;if(!_0x2061x12){return _0x2061xd[_0xa45f[37]](404)};return _0x2061x12[_0xa45f[40]]({status:_0xa45f[39]},{userId:_0x2061xc[_0xa45f[27]][_0xa45f[26]]})})[_0xa45f[16]](function(){return _0x2061x12[_0xa45f[38]](_0x2061xc[_0xa45f[27]][_0xa45f[26]])})[_0xa45f[16]](function(){return _0x2061xd[_0xa45f[37]](200)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})}};exports[_0xa45f[42]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[21]](_0xa45f[20])[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){if(!_0x2061x13){return _0x2061xd[_0xa45f[37]](404)};return _0x2061xd[_0xa45f[14]](_0x2061x13)})[_0xa45f[13]](function(_0x2061xf){console[_0xa45f[23]](_0x2061xf);return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[43]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){if(!_0x2061x13){return _0x2061xd[_0xa45f[37]](404)};return _0x2061x13[_0xa45f[48]]({attributes:[_0xa45f[26],_0xa45f[44],_0xa45f[45],_0xa45f[46],_0xa45f[32],_0xa45f[47]]})})[_0xa45f[16]](function(_0x2061x14){return _0x2061xd[_0xa45f[14]](_0x2061x14)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[49]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[49]](_0x2061xc[_0xa45f[50]])[_0xa45f[16]](function(_0x2061x13){return _0x2061xd[_0xa45f[15]](201)[_0xa45f[14]](_0x2061x13)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[51]]=function(_0x2061xc,_0x2061xd,_0x2061xe){_0x2061xc[_0xa45f[50]][_0xa45f[52]]=_0x2061xc[_0xa45f[27]][_0xa45f[26]];_0x2061xc[_0xa45f[50]][_0xa45f[53]]=_0x2061xc[_0xa45f[34]][_0xa45f[26]];_0x2061xc[_0xa45f[50]][_0xa45f[54]]=_0x2061xc[_0xa45f[50]][_0xa45f[54]];return FaxMessage[_0xa45f[49]](_0x2061xc[_0xa45f[50]],{include:[{model:FaxAttachment}],user:_0x2061xc[_0xa45f[27]]})[_0xa45f[16]](function(_0x2061x15){return _0x2061xd[_0xa45f[15]](201)[_0xa45f[14]](_0x2061x15)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[40]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){if(!_0x2061x13){return _0x2061xd[_0xa45f[37]](404)};if(_0x2061x13[_0xa45f[55]]){throw new Error(_0xa45f[56])};var _0x2061x16=_[_0xa45f[57]](_0x2061x13,_0x2061xc[_0xa45f[50]]);return _0x2061x16[_0xa45f[58]]()})[_0xa45f[16]](function(_0x2061x13){return _0x2061xd[_0xa45f[15]](200)[_0xa45f[14]](_0x2061x13)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[59]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){if(!_0x2061x13){return _0x2061xd[_0xa45f[37]](404)};return _0x2061x13[_0xa45f[61]](_0x2061xc[_0xa45f[50]][_0xa45f[60]],{individualHooks:true})})[_0xa45f[16]](function(){return _0x2061xd[_0xa45f[37]](200)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[62]]=function(_0x2061xc,_0x2061xd,_0x2061xe){return FaxRoom[_0xa45f[41]](_0x2061xc[_0xa45f[34]][_0xa45f[26]])[_0xa45f[16]](function(_0x2061x13){if(!_0x2061x13){return _0x2061xd[_0xa45f[37]](404)};return _0x2061x13[_0xa45f[62]]()})[_0xa45f[16]](function(){return _0x2061xd[_0xa45f[37]](204)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};exports[_0xa45f[63]]=function(_0x2061xc,_0x2061xd){return FaxRoom[_0xa45f[62]]({where:{id:_0x2061xc[_0xa45f[17]][_0xa45f[64]]},individualHooks:true})[_0xa45f[16]](function(){return _0x2061xd[_0xa45f[37]](200)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})};function handleError(_0x2061xd,_0x2061xf){return _0x2061xd[_0xa45f[15]](500)[_0xa45f[14]](_0x2061xf)}exports[_0xa45f[65]]=function(_0x2061xc,_0x2061xd,_0x2061xe){var _0x2061x18={tags:_0x2061xc[_0xa45f[50]][_0xa45f[66]]};var _0x2061x19={where:{id:_0x2061xc[_0xa45f[34]][_0xa45f[26]][_0xa45f[68]](_0xa45f[67])}};return FaxRoom[_0xa45f[40]](_0x2061x18,_0x2061x19)[_0xa45f[16]](function(_0x2061x11){if(!_0x2061x11){return _0x2061xd[_0xa45f[37]](404)};return _0x2061x11})[_0xa45f[16]](function(_0x2061x11){return _0x2061xd[_0xa45f[37]](200)})[_0xa45f[13]](function(_0x2061xf){return handleError(_0x2061xd,_0x2061xf)})} \ No newline at end of file diff --git a/server/api/fax_room/fax_room.socket.js b/server/api/fax_room/fax_room.socket.js index 1ec4632..7b7cd18 100644 --- a/server/api/fax_room/fax_room.socket.js +++ b/server/api/fax_room/fax_room.socket.js @@ -1 +1 @@ -var _0x186e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x186e[0];var FaxRoom=require(_0x186e[2])[_0x186e[1]];exports[_0x186e[3]]=function(_0xd774x2){FaxRoom[_0x186e[10]](function(_0xd774x3,_0xd774x4){if(_0xd774x2[_0x186e[4]]!==_0x186e[5]){onSave(_0xd774x2,_0xd774x3[_0x186e[6]])}else {switch(_0xd774x3[_0x186e[9]]){case _0x186e[8]:if(_0xd774x2[_0x186e[7]]==_0xd774x4[_0x186e[7]]){onSave(_0xd774x2,_0xd774x3[_0x186e[6]])};break;default:}}});FaxRoom[_0x186e[15]](function(_0xd774x3,_0xd774x4){if(_0xd774x3[_0x186e[11]](_0x186e[9])){switch(_0xd774x3[_0x186e[9]]){case _0x186e[12]:if(_0xd774x2[_0x186e[4]]!==_0x186e[5]){onSave(_0xd774x2,_0xd774x3[_0x186e[6]])};break;case _0x186e[8]:if(_0xd774x2[_0x186e[7]]!=_0xd774x4[_0x186e[7]]){onRemove(_0xd774x2,_0xd774x3[_0x186e[6]])};break;case _0x186e[13]:onSave(_0xd774x2,_0xd774x3[_0x186e[6]]);break;case _0x186e[14]:onSave(_0xd774x2,_0xd774x3[_0x186e[6]]);break;default:}}});FaxRoom[_0x186e[16]](function(_0xd774x3){onRemove(_0xd774x2,_0xd774x3)})};function onSave(_0xd774x2,_0xd774x3,_0xd774x6){_0xd774x2[_0x186e[18]](_0x186e[17],_0xd774x3)}function onRemove(_0xd774x2,_0xd774x3,_0xd774x6){_0xd774x2[_0x186e[18]](_0x186e[19],_0xd774x3)} \ No newline at end of file +var _0x23c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x23c7[0];var FaxRoom=require(_0x23c7[2])[_0x23c7[1]];exports[_0x23c7[3]]=function(_0x7e64x2){FaxRoom[_0x23c7[10]](function(_0x7e64x3,_0x7e64x4){if(_0x7e64x2[_0x23c7[4]]!==_0x23c7[5]){onSave(_0x7e64x2,_0x7e64x3[_0x23c7[6]])}else {switch(_0x7e64x3[_0x23c7[9]]){case _0x23c7[8]:if(_0x7e64x2[_0x23c7[7]]==_0x7e64x4[_0x23c7[7]]){onSave(_0x7e64x2,_0x7e64x3[_0x23c7[6]])};break;default:}}});FaxRoom[_0x23c7[15]](function(_0x7e64x3,_0x7e64x4){if(_0x7e64x3[_0x23c7[11]](_0x23c7[9])){switch(_0x7e64x3[_0x23c7[9]]){case _0x23c7[12]:if(_0x7e64x2[_0x23c7[4]]!==_0x23c7[5]){onSave(_0x7e64x2,_0x7e64x3[_0x23c7[6]])};break;case _0x23c7[8]:if(_0x7e64x2[_0x23c7[7]]!=_0x7e64x4[_0x23c7[7]]){onRemove(_0x7e64x2,_0x7e64x3[_0x23c7[6]])};break;case _0x23c7[13]:onSave(_0x7e64x2,_0x7e64x3[_0x23c7[6]]);break;case _0x23c7[14]:onSave(_0x7e64x2,_0x7e64x3[_0x23c7[6]]);break;default:}}});FaxRoom[_0x23c7[16]](function(_0x7e64x3){onRemove(_0x7e64x2,_0x7e64x3)})};function onSave(_0x7e64x2,_0x7e64x3,_0x7e64x6){_0x7e64x2[_0x23c7[18]](_0x23c7[17],_0x7e64x3)}function onRemove(_0x7e64x2,_0x7e64x3,_0x7e64x6){_0x7e64x2[_0x23c7[18]](_0x23c7[19],_0x7e64x3)} \ No newline at end of file diff --git a/server/api/fax_room/index.js b/server/api/fax_room/index.js index fd3a9fb..d06adfe 100644 --- a/server/api/fax_room/index.js +++ b/server/api/fax_room/index.js @@ -1 +1 @@ -var _0x8be5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\x46\x61\x78","\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\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\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"];_0x8be5[0];var express=require(_0x8be5[1]);var controller=require(_0x8be5[2]);var auth=require(_0x8be5[3]);var license=require(_0x8be5[4]);var router=express.Router();router[_0x8be5[12]](_0x8be5[5],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[11]]);router[_0x8be5[12]](_0x8be5[13],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9],_0x8be5[14]]),controller[_0x8be5[15]]);router[_0x8be5[12]](_0x8be5[16],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[17]]);router[_0x8be5[12]](_0x8be5[18],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9],_0x8be5[19],_0x8be5[14]]),controller[_0x8be5[20]]);router[_0x8be5[12]](_0x8be5[21],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[22]]);router[_0x8be5[24]](_0x8be5[5],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[23]]);router[_0x8be5[24]](_0x8be5[25],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9],_0x8be5[19],_0x8be5[14]]),controller[_0x8be5[26]]);router[_0x8be5[28]](_0x8be5[18],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[27]]);router[_0x8be5[30]](_0x8be5[18],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9],_0x8be5[14]]),controller[_0x8be5[29]]);router[_0x8be5[28]](_0x8be5[21],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[31]]);router[_0x8be5[28]](_0x8be5[32],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[14]]),controller[_0x8be5[33]]);router[_0x8be5[35]](_0x8be5[5],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[34]]);router[_0x8be5[35]](_0x8be5[18],license[_0x8be5[6]](),license[_0x8be5[7]](),auth[_0x8be5[8]](),auth[_0x8be5[10]]([10],[_0x8be5[9]]),controller[_0x8be5[36]]);module[_0x8be5[37]]=router \ No newline at end of file +var _0xfcf2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\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\x46\x61\x78","\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\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\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"];_0xfcf2[0];var express=require(_0xfcf2[1]);var controller=require(_0xfcf2[2]);var auth=require(_0xfcf2[3]);var license=require(_0xfcf2[4]);var router=express.Router();router[_0xfcf2[12]](_0xfcf2[5],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[11]]);router[_0xfcf2[12]](_0xfcf2[13],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9],_0xfcf2[14]]),controller[_0xfcf2[15]]);router[_0xfcf2[12]](_0xfcf2[16],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[17]]);router[_0xfcf2[12]](_0xfcf2[18],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9],_0xfcf2[19],_0xfcf2[14]]),controller[_0xfcf2[20]]);router[_0xfcf2[12]](_0xfcf2[21],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[22]]);router[_0xfcf2[24]](_0xfcf2[5],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[23]]);router[_0xfcf2[24]](_0xfcf2[25],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9],_0xfcf2[19],_0xfcf2[14]]),controller[_0xfcf2[26]]);router[_0xfcf2[28]](_0xfcf2[18],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[27]]);router[_0xfcf2[30]](_0xfcf2[18],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9],_0xfcf2[14]]),controller[_0xfcf2[29]]);router[_0xfcf2[28]](_0xfcf2[21],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[31]]);router[_0xfcf2[28]](_0xfcf2[32],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[14]]),controller[_0xfcf2[33]]);router[_0xfcf2[35]](_0xfcf2[5],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[34]]);router[_0xfcf2[35]](_0xfcf2[18],license[_0xfcf2[6]](),license[_0xfcf2[7]](),auth[_0xfcf2[8]](),auth[_0xfcf2[10]]([10],[_0xfcf2[9]]),controller[_0xfcf2[36]]);module[_0xfcf2[37]]=router \ No newline at end of file diff --git a/server/api/freshdesk_account/freshdesk_account.controller.js b/server/api/freshdesk_account/freshdesk_account.controller.js index f7fd810..5581b96 100644 --- a/server/api/freshdesk_account/freshdesk_account.controller.js +++ b/server/api/freshdesk_account/freshdesk_account.controller.js @@ -1 +1 @@ -var _0x673b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x70\x69\x4B\x65\x79","\x70\x61\x72\x73\x65","\x72\x65\x71\x75\x69\x72\x65\x5F\x6C\x6F\x67\x69\x6E","\x6C\x69\x73\x74\x54\x69\x63\x6B\x65\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x74\x69\x63\x6B\x65\x74\x5F\x66\x69\x65\x6C\x64\x73\x2E\x6A\x73\x6F\x6E","\x67\x65\x74"];_0x673b[0];var _=require(_0x673b[1]);var util=require(_0x673b[2]);var _fd=require(_0x673b[3]);var FreshdeskAccount=require(_0x673b[5])[_0x673b[4]];function handleError(_0xe209x6,_0xe209x7){_0xe209x7=_0xe209x7||500;return function(_0xe209x8){_0xe209x6[_0x673b[7]](_0xe209x7)[_0x673b[6]](_0xe209x8)}}function responseWithResult(_0xe209x6,_0xe209x7){_0xe209x7=_0xe209x7||200;return function(_0xe209xa){if(_0xe209xa){_0xe209x6[_0x673b[7]](_0xe209x7)[_0x673b[8]](_0xe209xa)}}}function handleEntityNotFound(_0xe209x6){return function(_0xe209xa){if(!_0xe209xa){_0xe209x6[_0x673b[7]](404)[_0x673b[9]]();return null};return _0xe209xa}}function saveUpdates(_0xe209xd){return function(_0xe209xa){return _0xe209xa[_0x673b[11]](_0xe209xd)[_0x673b[10]](function(_0xe209xe){return _0xe209xe})}}function removeEntity(_0xe209x6){return function(_0xe209xa){if(_0xe209xa){return _0xe209xa[_0x673b[12]]()[_0x673b[10]](function(){_0xe209x6[_0x673b[7]](204)[_0x673b[9]]()})}}}exports[_0x673b[13]]=function(_0xe209x10,_0xe209x6){var _0xe209x11=[_0x673b[14],_0x673b[15],_0x673b[16],_0x673b[17]];var _0xe209x12=_0xe209x10[_0x673b[19]][_0x673b[18]]?parseInt(_0xe209x10[_0x673b[19]][_0x673b[18]],10):100;var _0xe209x13=_0xe209x10[_0x673b[19]][_0x673b[20]]?parseInt(_0xe209x10[_0x673b[19]][_0x673b[20]],10):0;var _0xe209x14={where:{},limit:_0xe209x12,offset:_0xe209x13*_0xe209x12};_[_0x673b[34]](_0xe209x10[_0x673b[19]],function(_0xe209x15,_0xe209x16){switch(_0xe209x16){case _0x673b[18]:;case _0x673b[20]:break;case _0x673b[23]:_0xe209x14[_0x673b[21]]=util[_0x673b[26]](_0x673b[22],_0xe209x10[_0x673b[19]][_0x673b[23]],_0xe209x10[_0x673b[19]][_0x673b[24]]||_0x673b[25])||null;break;case _0x673b[24]:break;case _0x673b[32]:_0xe209x14[_0x673b[28]][_0x673b[27]]=[];_0xe209x11[_0x673b[31]](function(_0xe209x17){var _0xe209x18={};_0xe209x18[_0xe209x17]={$like:_0x673b[29]+_0xe209x15+_0x673b[29]};_0xe209x14[_0x673b[28]][_0x673b[27]][_0x673b[30]](_0xe209x18)});break;default:_0xe209x14[_0x673b[28]][_0xe209x16]={$like:{}};_0xe209x14[_0x673b[28]][_0xe209x16][_0x673b[33]]=_0x673b[29]+_0xe209x15+_0x673b[29]}});FreshdeskAccount[_0x673b[46]](_0xe209x14)[_0x673b[10]](function(_0xe209x19){var _0xe209x1a=Math[_0x673b[38]](_0xe209x19[_0x673b[37]]/_0xe209x12);var _0xe209x1b=_0xe209x1a>(_0xe209x14[_0x673b[39]]+1)?util[_0x673b[26]](_0x673b[40],_0xe209x10[_0x673b[41]],_0xe209x10[_0x673b[43]][_0x673b[42]],_0xe209x10[_0x673b[44]],_0xe209x13+1):null;var _0xe209x1c=_0xe209x13>0?util[_0x673b[26]](_0x673b[40],_0xe209x10[_0x673b[41]],_0xe209x10[_0x673b[43]][_0x673b[42]],_0xe209x10[_0x673b[44]],_0xe209x13-1):null;return _0xe209x6[_0x673b[7]](200)[_0x673b[6]]({count:_0xe209x19[_0x673b[37]],rows:_0xe209x19[_0x673b[45]],next_page:_0xe209x1b,previous_page:_0xe209x1c,total_pages:_0xe209x1a})})[_0x673b[36]](function(_0xe209x8){return _0xe209x6[_0x673b[7]](500)[_0x673b[6]]({error:_0x673b[35]})})};exports[_0x673b[47]]=function(_0xe209x10,_0xe209x6){FreshdeskAccount[_0x673b[50]](_0xe209x10[_0x673b[49]][_0x673b[48]])[_0x673b[10]](handleEntityNotFound(_0xe209x6))[_0x673b[10]](responseWithResult(_0xe209x6))[_0x673b[36]](handleError(_0xe209x6))};exports[_0x673b[51]]=function(_0xe209x10,_0xe209x6){FreshdeskAccount[_0x673b[51]](_0xe209x10[_0x673b[52]])[_0x673b[10]](responseWithResult(_0xe209x6,201))[_0x673b[36]](handleError(_0xe209x6))};exports[_0x673b[53]]=function(_0xe209x10,_0xe209x6){if(_0xe209x10[_0x673b[52]][_0x673b[48]]){delete _0xe209x10[_0x673b[52]][_0x673b[48]]};FreshdeskAccount[_0x673b[50]](_0xe209x10[_0x673b[49]][_0x673b[48]])[_0x673b[10]](handleEntityNotFound(_0xe209x6))[_0x673b[10]](saveUpdates(_0xe209x10[_0x673b[52]]))[_0x673b[10]](responseWithResult(_0xe209x6))[_0x673b[36]](handleError(_0xe209x6))};exports[_0x673b[12]]=function(_0xe209x10,_0xe209x6){FreshdeskAccount[_0x673b[50]](_0xe209x10[_0x673b[49]][_0x673b[48]])[_0x673b[10]](handleEntityNotFound(_0xe209x6))[_0x673b[10]](removeEntity(_0xe209x6))[_0x673b[36]](handleError(_0xe209x6))};exports[_0x673b[54]]=function(_0xe209x10,_0xe209x6){FreshdeskAccount[_0x673b[12]]({where:{id:_0xe209x10[_0x673b[19]][_0x673b[48]]},individualHooks:true})[_0x673b[10]](function(){return _0xe209x6[_0x673b[55]](204)})[_0x673b[36]](function(_0xe209x8){return handleError(_0xe209x6,_0xe209x8)})};exports[_0x673b[56]]=function(_0xe209x10,_0xe209x6){FreshdeskAccount[_0x673b[50]](_0xe209x10[_0x673b[49]][_0x673b[48]])[_0x673b[10]](handleEntityNotFound(_0xe209x6))[_0x673b[10]](function(_0xe209x1d){var _0xe209x1e= new _fd(_0xe209x1d[_0x673b[17]],_0xe209x1d[_0x673b[57]]);_0xe209x1e[_0x673b[60]](function(_0xe209x8,_0xe209x1f,_0xe209x20){if(_0xe209x8){return _0xe209x6[_0x673b[55]](400)};_0xe209x20=JSON[_0x673b[58]](_0xe209x20);if(_0xe209x20[_0x673b[59]]){return _0xe209x6[_0x673b[55]](400)};return _0xe209x6[_0x673b[55]](200)})})[_0x673b[36]](handleError(_0xe209x6))};exports[_0x673b[61]]=function(_0xe209x10,_0xe209x6){var _0xe209x21={};_0xe209x21[_0xe209x10[_0x673b[49]][_0x673b[62]]]=_0xe209x10[_0x673b[52]][_0x673b[63]];FreshdeskAccount[_0x673b[46]]({where:_0xe209x21})[_0x673b[10]](function(_0xe209x19){if(_0xe209x19[_0x673b[37]]){return _0xe209x6[_0x673b[7]](200)[_0x673b[6]]({isValid:false,value:_0xe209x10[_0x673b[52]][_0x673b[63]]})};return _0xe209x6[_0x673b[7]](200)[_0x673b[6]]({isValid:true,value:_0xe209x10[_0x673b[52]][_0x673b[63]]})})[_0x673b[36]](function(_0xe209x8){return handleError(_0xe209x6,_0xe209x8)})};exports[_0x673b[64]]=function(_0xe209x10,_0xe209x6,_0xe209x22){FreshdeskAccount[_0x673b[50]](_0xe209x10[_0x673b[49]][_0x673b[48]])[_0x673b[10]](handleEntityNotFound(_0xe209x6))[_0x673b[10]](function(_0xe209x1d){var _0xe209x23= new _fd(_0xe209x1d[_0x673b[17]],_0xe209x1d[_0x673b[57]]);_0xe209x23[_0x673b[66]](_0x673b[65],function(_0xe209x8,_0xe209x1f,_0xe209x20){if(_0xe209x8){return _0xe209x22(_0xe209x8)};_0xe209x20=JSON[_0x673b[58]](_0xe209x20);return _0xe209x6[_0x673b[7]](200)[_0x673b[6]](_0xe209x20)})})[_0x673b[36]](handleError(_0xe209x6))} \ No newline at end of file +var _0x72a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x70\x69\x4B\x65\x79","\x70\x61\x72\x73\x65","\x72\x65\x71\x75\x69\x72\x65\x5F\x6C\x6F\x67\x69\x6E","\x6C\x69\x73\x74\x54\x69\x63\x6B\x65\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x74\x69\x63\x6B\x65\x74\x5F\x66\x69\x65\x6C\x64\x73\x2E\x6A\x73\x6F\x6E","\x67\x65\x74"];_0x72a6[0];var _=require(_0x72a6[1]);var util=require(_0x72a6[2]);var _fd=require(_0x72a6[3]);var FreshdeskAccount=require(_0x72a6[5])[_0x72a6[4]];function handleError(_0xf548x6,_0xf548x7){_0xf548x7=_0xf548x7||500;return function(_0xf548x8){_0xf548x6[_0x72a6[7]](_0xf548x7)[_0x72a6[6]](_0xf548x8)}}function responseWithResult(_0xf548x6,_0xf548x7){_0xf548x7=_0xf548x7||200;return function(_0xf548xa){if(_0xf548xa){_0xf548x6[_0x72a6[7]](_0xf548x7)[_0x72a6[8]](_0xf548xa)}}}function handleEntityNotFound(_0xf548x6){return function(_0xf548xa){if(!_0xf548xa){_0xf548x6[_0x72a6[7]](404)[_0x72a6[9]]();return null};return _0xf548xa}}function saveUpdates(_0xf548xd){return function(_0xf548xa){return _0xf548xa[_0x72a6[11]](_0xf548xd)[_0x72a6[10]](function(_0xf548xe){return _0xf548xe})}}function removeEntity(_0xf548x6){return function(_0xf548xa){if(_0xf548xa){return _0xf548xa[_0x72a6[12]]()[_0x72a6[10]](function(){_0xf548x6[_0x72a6[7]](204)[_0x72a6[9]]()})}}}exports[_0x72a6[13]]=function(_0xf548x10,_0xf548x6){var _0xf548x11=[_0x72a6[14],_0x72a6[15],_0x72a6[16],_0x72a6[17]];var _0xf548x12=_0xf548x10[_0x72a6[19]][_0x72a6[18]]?parseInt(_0xf548x10[_0x72a6[19]][_0x72a6[18]],10):100;var _0xf548x13=_0xf548x10[_0x72a6[19]][_0x72a6[20]]?parseInt(_0xf548x10[_0x72a6[19]][_0x72a6[20]],10):0;var _0xf548x14={where:{},limit:_0xf548x12,offset:_0xf548x13*_0xf548x12};_[_0x72a6[34]](_0xf548x10[_0x72a6[19]],function(_0xf548x15,_0xf548x16){switch(_0xf548x16){case _0x72a6[18]:;case _0x72a6[20]:break;case _0x72a6[23]:_0xf548x14[_0x72a6[21]]=util[_0x72a6[26]](_0x72a6[22],_0xf548x10[_0x72a6[19]][_0x72a6[23]],_0xf548x10[_0x72a6[19]][_0x72a6[24]]||_0x72a6[25])||null;break;case _0x72a6[24]:break;case _0x72a6[32]:_0xf548x14[_0x72a6[28]][_0x72a6[27]]=[];_0xf548x11[_0x72a6[31]](function(_0xf548x17){var _0xf548x18={};_0xf548x18[_0xf548x17]={$like:_0x72a6[29]+_0xf548x15+_0x72a6[29]};_0xf548x14[_0x72a6[28]][_0x72a6[27]][_0x72a6[30]](_0xf548x18)});break;default:_0xf548x14[_0x72a6[28]][_0xf548x16]={$like:{}};_0xf548x14[_0x72a6[28]][_0xf548x16][_0x72a6[33]]=_0x72a6[29]+_0xf548x15+_0x72a6[29]}});FreshdeskAccount[_0x72a6[46]](_0xf548x14)[_0x72a6[10]](function(_0xf548x19){var _0xf548x1a=Math[_0x72a6[38]](_0xf548x19[_0x72a6[37]]/_0xf548x12);var _0xf548x1b=_0xf548x1a>(_0xf548x14[_0x72a6[39]]+1)?util[_0x72a6[26]](_0x72a6[40],_0xf548x10[_0x72a6[41]],_0xf548x10[_0x72a6[43]][_0x72a6[42]],_0xf548x10[_0x72a6[44]],_0xf548x13+1):null;var _0xf548x1c=_0xf548x13>0?util[_0x72a6[26]](_0x72a6[40],_0xf548x10[_0x72a6[41]],_0xf548x10[_0x72a6[43]][_0x72a6[42]],_0xf548x10[_0x72a6[44]],_0xf548x13-1):null;return _0xf548x6[_0x72a6[7]](200)[_0x72a6[6]]({count:_0xf548x19[_0x72a6[37]],rows:_0xf548x19[_0x72a6[45]],next_page:_0xf548x1b,previous_page:_0xf548x1c,total_pages:_0xf548x1a})})[_0x72a6[36]](function(_0xf548x8){return _0xf548x6[_0x72a6[7]](500)[_0x72a6[6]]({error:_0x72a6[35]})})};exports[_0x72a6[47]]=function(_0xf548x10,_0xf548x6){FreshdeskAccount[_0x72a6[50]](_0xf548x10[_0x72a6[49]][_0x72a6[48]])[_0x72a6[10]](handleEntityNotFound(_0xf548x6))[_0x72a6[10]](responseWithResult(_0xf548x6))[_0x72a6[36]](handleError(_0xf548x6))};exports[_0x72a6[51]]=function(_0xf548x10,_0xf548x6){FreshdeskAccount[_0x72a6[51]](_0xf548x10[_0x72a6[52]])[_0x72a6[10]](responseWithResult(_0xf548x6,201))[_0x72a6[36]](handleError(_0xf548x6))};exports[_0x72a6[53]]=function(_0xf548x10,_0xf548x6){if(_0xf548x10[_0x72a6[52]][_0x72a6[48]]){delete _0xf548x10[_0x72a6[52]][_0x72a6[48]]};FreshdeskAccount[_0x72a6[50]](_0xf548x10[_0x72a6[49]][_0x72a6[48]])[_0x72a6[10]](handleEntityNotFound(_0xf548x6))[_0x72a6[10]](saveUpdates(_0xf548x10[_0x72a6[52]]))[_0x72a6[10]](responseWithResult(_0xf548x6))[_0x72a6[36]](handleError(_0xf548x6))};exports[_0x72a6[12]]=function(_0xf548x10,_0xf548x6){FreshdeskAccount[_0x72a6[50]](_0xf548x10[_0x72a6[49]][_0x72a6[48]])[_0x72a6[10]](handleEntityNotFound(_0xf548x6))[_0x72a6[10]](removeEntity(_0xf548x6))[_0x72a6[36]](handleError(_0xf548x6))};exports[_0x72a6[54]]=function(_0xf548x10,_0xf548x6){FreshdeskAccount[_0x72a6[12]]({where:{id:_0xf548x10[_0x72a6[19]][_0x72a6[48]]},individualHooks:true})[_0x72a6[10]](function(){return _0xf548x6[_0x72a6[55]](204)})[_0x72a6[36]](function(_0xf548x8){return handleError(_0xf548x6,_0xf548x8)})};exports[_0x72a6[56]]=function(_0xf548x10,_0xf548x6){FreshdeskAccount[_0x72a6[50]](_0xf548x10[_0x72a6[49]][_0x72a6[48]])[_0x72a6[10]](handleEntityNotFound(_0xf548x6))[_0x72a6[10]](function(_0xf548x1d){var _0xf548x1e= new _fd(_0xf548x1d[_0x72a6[17]],_0xf548x1d[_0x72a6[57]]);_0xf548x1e[_0x72a6[60]](function(_0xf548x8,_0xf548x1f,_0xf548x20){if(_0xf548x8){return _0xf548x6[_0x72a6[55]](400)};_0xf548x20=JSON[_0x72a6[58]](_0xf548x20);if(_0xf548x20[_0x72a6[59]]){return _0xf548x6[_0x72a6[55]](400)};return _0xf548x6[_0x72a6[55]](200)})})[_0x72a6[36]](handleError(_0xf548x6))};exports[_0x72a6[61]]=function(_0xf548x10,_0xf548x6){var _0xf548x21={};_0xf548x21[_0xf548x10[_0x72a6[49]][_0x72a6[62]]]=_0xf548x10[_0x72a6[52]][_0x72a6[63]];FreshdeskAccount[_0x72a6[46]]({where:_0xf548x21})[_0x72a6[10]](function(_0xf548x19){if(_0xf548x19[_0x72a6[37]]){return _0xf548x6[_0x72a6[7]](200)[_0x72a6[6]]({isValid:false,value:_0xf548x10[_0x72a6[52]][_0x72a6[63]]})};return _0xf548x6[_0x72a6[7]](200)[_0x72a6[6]]({isValid:true,value:_0xf548x10[_0x72a6[52]][_0x72a6[63]]})})[_0x72a6[36]](function(_0xf548x8){return handleError(_0xf548x6,_0xf548x8)})};exports[_0x72a6[64]]=function(_0xf548x10,_0xf548x6,_0xf548x22){FreshdeskAccount[_0x72a6[50]](_0xf548x10[_0x72a6[49]][_0x72a6[48]])[_0x72a6[10]](handleEntityNotFound(_0xf548x6))[_0x72a6[10]](function(_0xf548x1d){var _0xf548x23= new _fd(_0xf548x1d[_0x72a6[17]],_0xf548x1d[_0x72a6[57]]);_0xf548x23[_0x72a6[66]](_0x72a6[65],function(_0xf548x8,_0xf548x1f,_0xf548x20){if(_0xf548x8){return _0xf548x22(_0xf548x8)};_0xf548x20=JSON[_0x72a6[58]](_0xf548x20);return _0xf548x6[_0x72a6[7]](200)[_0x72a6[6]](_0xf548x20)})})[_0x72a6[36]](handleError(_0xf548x6))} \ No newline at end of file diff --git a/server/api/freshdesk_account/freshdesk_account.socket.js b/server/api/freshdesk_account/freshdesk_account.socket.js index a70a2c3..7e408c5 100644 --- a/server/api/freshdesk_account/freshdesk_account.socket.js +++ b/server/api/freshdesk_account/freshdesk_account.socket.js @@ -1 +1 @@ -var _0x5243=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5243[0];var FreshdeskAccount=require(_0x5243[2])[_0x5243[1]];exports[_0x5243[3]]=function(_0xc69bx2){FreshdeskAccount[_0x5243[4]](function(_0xc69bx3){onSave(_0xc69bx2,_0xc69bx3)});FreshdeskAccount[_0x5243[5]](function(_0xc69bx3){onRemove(_0xc69bx2,_0xc69bx3)})};function onSave(_0xc69bx2,_0xc69bx3,_0xc69bx5){_0xc69bx2[_0x5243[7]](_0x5243[6],_0xc69bx3)}function onRemove(_0xc69bx2,_0xc69bx3,_0xc69bx5){_0xc69bx2[_0x5243[7]](_0x5243[8],_0xc69bx3)} \ No newline at end of file +var _0xc712=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc712[0];var FreshdeskAccount=require(_0xc712[2])[_0xc712[1]];exports[_0xc712[3]]=function(_0x5fffx2){FreshdeskAccount[_0xc712[4]](function(_0x5fffx3){onSave(_0x5fffx2,_0x5fffx3)});FreshdeskAccount[_0xc712[5]](function(_0x5fffx3){onRemove(_0x5fffx2,_0x5fffx3)})};function onSave(_0x5fffx2,_0x5fffx3,_0x5fffx5){_0x5fffx2[_0xc712[7]](_0xc712[6],_0x5fffx3)}function onRemove(_0x5fffx2,_0x5fffx3,_0x5fffx5){_0x5fffx2[_0xc712[7]](_0xc712[8],_0x5fffx3)} \ No newline at end of file diff --git a/server/api/freshdesk_account/index.js b/server/api/freshdesk_account/index.js index 2f1f65b..de79100 100644 --- a/server/api/freshdesk_account/index.js +++ b/server/api/freshdesk_account/index.js @@ -1 +1 @@ -var _0x6cba=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\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\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\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"];_0x6cba[0];var express=require(_0x6cba[1]);var auth=require(_0x6cba[2]);var controller=require(_0x6cba[3]);var router=express.Router();router[_0x6cba[7]](_0x6cba[4],auth[_0x6cba[5]](),controller[_0x6cba[6]]);router[_0x6cba[7]](_0x6cba[8],auth[_0x6cba[5]](),controller[_0x6cba[9]]);router[_0x6cba[7]](_0x6cba[10],auth[_0x6cba[5]](),controller[_0x6cba[11]]);router[_0x6cba[7]](_0x6cba[12],auth[_0x6cba[5]](),controller[_0x6cba[13]]);router[_0x6cba[16]](_0x6cba[14],auth[_0x6cba[5]](),controller[_0x6cba[15]]);router[_0x6cba[16]](_0x6cba[4],auth[_0x6cba[5]](),controller[_0x6cba[17]]);router[_0x6cba[19]](_0x6cba[8],auth[_0x6cba[5]](),controller[_0x6cba[18]]);router[_0x6cba[20]](_0x6cba[8],auth[_0x6cba[5]](),controller[_0x6cba[18]]);router[_0x6cba[22]](_0x6cba[4],auth[_0x6cba[5]](),controller[_0x6cba[21]]);router[_0x6cba[22]](_0x6cba[8],auth[_0x6cba[5]](),controller[_0x6cba[23]]);module[_0x6cba[24]]=router \ No newline at end of file +var _0xfaa1=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\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\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\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"];_0xfaa1[0];var express=require(_0xfaa1[1]);var auth=require(_0xfaa1[2]);var controller=require(_0xfaa1[3]);var router=express.Router();router[_0xfaa1[7]](_0xfaa1[4],auth[_0xfaa1[5]](),controller[_0xfaa1[6]]);router[_0xfaa1[7]](_0xfaa1[8],auth[_0xfaa1[5]](),controller[_0xfaa1[9]]);router[_0xfaa1[7]](_0xfaa1[10],auth[_0xfaa1[5]](),controller[_0xfaa1[11]]);router[_0xfaa1[7]](_0xfaa1[12],auth[_0xfaa1[5]](),controller[_0xfaa1[13]]);router[_0xfaa1[16]](_0xfaa1[14],auth[_0xfaa1[5]](),controller[_0xfaa1[15]]);router[_0xfaa1[16]](_0xfaa1[4],auth[_0xfaa1[5]](),controller[_0xfaa1[17]]);router[_0xfaa1[19]](_0xfaa1[8],auth[_0xfaa1[5]](),controller[_0xfaa1[18]]);router[_0xfaa1[20]](_0xfaa1[8],auth[_0xfaa1[5]](),controller[_0xfaa1[18]]);router[_0xfaa1[22]](_0xfaa1[4],auth[_0xfaa1[5]](),controller[_0xfaa1[21]]);router[_0xfaa1[22]](_0xfaa1[8],auth[_0xfaa1[5]](),controller[_0xfaa1[23]]);module[_0xfaa1[24]]=router \ No newline at end of file diff --git a/server/api/freshdesk_account/index.spec.js b/server/api/freshdesk_account/index.spec.js index 90a8fea..3eeb255 100644 --- a/server/api/freshdesk_account/index.spec.js +++ b/server/api/freshdesk_account/index.spec.js @@ -1 +1 @@ -var _0x9e83=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0x9e83[0];var proxyquire=require(_0x9e83[2])[_0x9e83[1]]();var freshdeskAccountCtrlStub={index:_0x9e83[3],show:_0x9e83[4],create:_0x9e83[5],update:_0x9e83[6],destroy:_0x9e83[7]};var routerStub={get:sinon[_0x9e83[8]](),put:sinon[_0x9e83[8]](),patch:sinon[_0x9e83[8]](),post:sinon[_0x9e83[8]](),delete:sinon[_0x9e83[8]]()};var freshdeskAccountIndex=proxyquire(_0x9e83[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskAccountCtrlStub});describe(_0x9e83[10],function(){it(_0x9e83[11],function(){expect(freshdeskAccountIndex)[_0x9e83[13]][_0x9e83[12]](routerStub)});describe(_0x9e83[14],function(){it(_0x9e83[15],function(){expect(routerStub[_0x9e83[21]][_0x9e83[20]](_0x9e83[19],_0x9e83[3]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})});describe(_0x9e83[22],function(){it(_0x9e83[23],function(){expect(routerStub[_0x9e83[21]][_0x9e83[20]](_0x9e83[24],_0x9e83[4]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})});describe(_0x9e83[25],function(){it(_0x9e83[26],function(){expect(routerStub[_0x9e83[27]][_0x9e83[20]](_0x9e83[19],_0x9e83[5]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})});describe(_0x9e83[28],function(){it(_0x9e83[29],function(){expect(routerStub[_0x9e83[30]][_0x9e83[20]](_0x9e83[24],_0x9e83[6]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})});describe(_0x9e83[31],function(){it(_0x9e83[29],function(){expect(routerStub[_0x9e83[32]][_0x9e83[20]](_0x9e83[24],_0x9e83[6]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})});describe(_0x9e83[33],function(){it(_0x9e83[34],function(){expect(routerStub[_0x9e83[35]][_0x9e83[20]](_0x9e83[24],_0x9e83[7]))[_0x9e83[13]][_0x9e83[18]][_0x9e83[17]][_0x9e83[16]]})})}) \ No newline at end of file +var _0xcbd5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xcbd5[0];var proxyquire=require(_0xcbd5[2])[_0xcbd5[1]]();var freshdeskAccountCtrlStub={index:_0xcbd5[3],show:_0xcbd5[4],create:_0xcbd5[5],update:_0xcbd5[6],destroy:_0xcbd5[7]};var routerStub={get:sinon[_0xcbd5[8]](),put:sinon[_0xcbd5[8]](),patch:sinon[_0xcbd5[8]](),post:sinon[_0xcbd5[8]](),delete:sinon[_0xcbd5[8]]()};var freshdeskAccountIndex=proxyquire(_0xcbd5[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskAccountCtrlStub});describe(_0xcbd5[10],function(){it(_0xcbd5[11],function(){expect(freshdeskAccountIndex)[_0xcbd5[13]][_0xcbd5[12]](routerStub)});describe(_0xcbd5[14],function(){it(_0xcbd5[15],function(){expect(routerStub[_0xcbd5[21]][_0xcbd5[20]](_0xcbd5[19],_0xcbd5[3]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})});describe(_0xcbd5[22],function(){it(_0xcbd5[23],function(){expect(routerStub[_0xcbd5[21]][_0xcbd5[20]](_0xcbd5[24],_0xcbd5[4]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})});describe(_0xcbd5[25],function(){it(_0xcbd5[26],function(){expect(routerStub[_0xcbd5[27]][_0xcbd5[20]](_0xcbd5[19],_0xcbd5[5]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})});describe(_0xcbd5[28],function(){it(_0xcbd5[29],function(){expect(routerStub[_0xcbd5[30]][_0xcbd5[20]](_0xcbd5[24],_0xcbd5[6]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})});describe(_0xcbd5[31],function(){it(_0xcbd5[29],function(){expect(routerStub[_0xcbd5[32]][_0xcbd5[20]](_0xcbd5[24],_0xcbd5[6]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})});describe(_0xcbd5[33],function(){it(_0xcbd5[34],function(){expect(routerStub[_0xcbd5[35]][_0xcbd5[20]](_0xcbd5[24],_0xcbd5[7]))[_0xcbd5[13]][_0xcbd5[18]][_0xcbd5[17]][_0xcbd5[16]]})})}) \ No newline at end of file diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js index 48a491f..122d90f 100644 --- a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js +++ b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js @@ -1 +1 @@ -var _0xe3f7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0xe3f7[0];var _=require(_0xe3f7[1]);var FreshdeskConfiguration=require(_0xe3f7[3])[_0xe3f7[2]];var FreshdeskField=require(_0xe3f7[3])[_0xe3f7[4]];function handleError(_0x9917x5,_0x9917x6){_0x9917x6=_0x9917x6||500;return function(_0x9917x7){_0x9917x5[_0xe3f7[6]](_0x9917x6)[_0xe3f7[5]](_0x9917x7)}}function responseWithResult(_0x9917x5,_0x9917x6){_0x9917x6=_0x9917x6||200;return function(_0x9917x9){if(_0x9917x9){_0x9917x5[_0xe3f7[6]](_0x9917x6)[_0xe3f7[7]](_0x9917x9)}}}function handleEntityNotFound(_0x9917x5){return function(_0x9917x9){if(!_0x9917x9){_0x9917x5[_0xe3f7[6]](404)[_0xe3f7[8]]();return null};return _0x9917x9}}function saveUpdates(_0x9917xc){return function(_0x9917x9){return _0x9917x9[_0xe3f7[10]](_0x9917xc)[_0xe3f7[9]](function(_0x9917xd){return _0x9917xd})}}function removeEntity(_0x9917x5){return function(_0x9917x9){if(_0x9917x9){return _0x9917x9[_0xe3f7[11]]()[_0xe3f7[9]](function(){_0x9917x5[_0xe3f7[6]](204)[_0xe3f7[8]]()})}}}exports[_0xe3f7[12]]=function(_0x9917xf,_0x9917x5){FreshdeskConfiguration[_0xe3f7[15]]({where:_0x9917xf[_0xe3f7[14]]})[_0xe3f7[9]](responseWithResult(_0x9917x5))[_0xe3f7[13]](handleError(_0x9917x5))};exports[_0xe3f7[16]]=function(_0x9917xf,_0x9917x5){FreshdeskConfiguration[_0xe3f7[22]]({where:{id:_0x9917xf[_0xe3f7[18]][_0xe3f7[17]]},include:[{model:FreshdeskField,as:_0xe3f7[19]},{model:FreshdeskField,as:_0xe3f7[20]},{model:FreshdeskField,as:_0xe3f7[21]}]})[_0xe3f7[9]](handleEntityNotFound(_0x9917x5))[_0xe3f7[9]](responseWithResult(_0x9917x5))[_0xe3f7[13]](handleError(_0x9917x5))};exports[_0xe3f7[23]]=function(_0x9917xf,_0x9917x5){FreshdeskConfiguration[_0xe3f7[23]](_0x9917xf[_0xe3f7[24]])[_0xe3f7[9]](responseWithResult(_0x9917x5,201))[_0xe3f7[13]](handleError(_0x9917x5))};exports[_0xe3f7[25]]=function(_0x9917xf,_0x9917x5){if(_0x9917xf[_0xe3f7[24]][_0xe3f7[17]]){delete _0x9917xf[_0xe3f7[24]][_0xe3f7[17]]};FreshdeskConfiguration[_0xe3f7[26]](_0x9917xf[_0xe3f7[18]][_0xe3f7[17]])[_0xe3f7[9]](handleEntityNotFound(_0x9917x5))[_0xe3f7[9]](saveUpdates(_0x9917xf[_0xe3f7[24]]))[_0xe3f7[9]](responseWithResult(_0x9917x5))[_0xe3f7[13]](handleError(_0x9917x5))};exports[_0xe3f7[11]]=function(_0x9917xf,_0x9917x5){FreshdeskConfiguration[_0xe3f7[26]](_0x9917xf[_0xe3f7[18]][_0xe3f7[17]])[_0xe3f7[9]](handleEntityNotFound(_0x9917x5))[_0xe3f7[9]](removeEntity(_0x9917x5))[_0xe3f7[13]](handleError(_0x9917x5))};exports[_0xe3f7[27]]=function(_0x9917xf,_0x9917x5,_0x9917x10){var _0x9917x11;FreshdeskConfiguration[_0xe3f7[26]](_0x9917xf[_0xe3f7[18]][_0xe3f7[17]])[_0xe3f7[9]](handleEntityNotFound(_0x9917x5))[_0xe3f7[9]](function(_0x9917x14){_0x9917x11=_0x9917x14;return FreshdeskField[_0xe3f7[23]](_0x9917xf[_0xe3f7[24]])})[_0xe3f7[9]](function(_0x9917x13){switch(_0x9917xf[_0xe3f7[18]][_0xe3f7[35]]){case _0xe3f7[30]:return [_0x9917x11[_0xe3f7[29]](_0x9917x13),_0x9917x13];case _0xe3f7[32]:return [_0x9917x11[_0xe3f7[31]](_0x9917x13),_0x9917x13];case _0xe3f7[34]:return [_0x9917x11[_0xe3f7[33]](_0x9917x13),_0x9917x13]}})[_0xe3f7[28]](function(_0x9917x12,_0x9917x13){return _0x9917x5[_0xe3f7[6]](201)[_0xe3f7[7]](_0x9917x13)})[_0xe3f7[13]](handleError(_0x9917x5))} \ No newline at end of file +var _0xa084=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0xa084[0];var _=require(_0xa084[1]);var FreshdeskConfiguration=require(_0xa084[3])[_0xa084[2]];var FreshdeskField=require(_0xa084[3])[_0xa084[4]];function handleError(_0x80f0x5,_0x80f0x6){_0x80f0x6=_0x80f0x6||500;return function(_0x80f0x7){_0x80f0x5[_0xa084[6]](_0x80f0x6)[_0xa084[5]](_0x80f0x7)}}function responseWithResult(_0x80f0x5,_0x80f0x6){_0x80f0x6=_0x80f0x6||200;return function(_0x80f0x9){if(_0x80f0x9){_0x80f0x5[_0xa084[6]](_0x80f0x6)[_0xa084[7]](_0x80f0x9)}}}function handleEntityNotFound(_0x80f0x5){return function(_0x80f0x9){if(!_0x80f0x9){_0x80f0x5[_0xa084[6]](404)[_0xa084[8]]();return null};return _0x80f0x9}}function saveUpdates(_0x80f0xc){return function(_0x80f0x9){return _0x80f0x9[_0xa084[10]](_0x80f0xc)[_0xa084[9]](function(_0x80f0xd){return _0x80f0xd})}}function removeEntity(_0x80f0x5){return function(_0x80f0x9){if(_0x80f0x9){return _0x80f0x9[_0xa084[11]]()[_0xa084[9]](function(){_0x80f0x5[_0xa084[6]](204)[_0xa084[8]]()})}}}exports[_0xa084[12]]=function(_0x80f0xf,_0x80f0x5){FreshdeskConfiguration[_0xa084[15]]({where:_0x80f0xf[_0xa084[14]]})[_0xa084[9]](responseWithResult(_0x80f0x5))[_0xa084[13]](handleError(_0x80f0x5))};exports[_0xa084[16]]=function(_0x80f0xf,_0x80f0x5){FreshdeskConfiguration[_0xa084[22]]({where:{id:_0x80f0xf[_0xa084[18]][_0xa084[17]]},include:[{model:FreshdeskField,as:_0xa084[19]},{model:FreshdeskField,as:_0xa084[20]},{model:FreshdeskField,as:_0xa084[21]}]})[_0xa084[9]](handleEntityNotFound(_0x80f0x5))[_0xa084[9]](responseWithResult(_0x80f0x5))[_0xa084[13]](handleError(_0x80f0x5))};exports[_0xa084[23]]=function(_0x80f0xf,_0x80f0x5){FreshdeskConfiguration[_0xa084[23]](_0x80f0xf[_0xa084[24]])[_0xa084[9]](responseWithResult(_0x80f0x5,201))[_0xa084[13]](handleError(_0x80f0x5))};exports[_0xa084[25]]=function(_0x80f0xf,_0x80f0x5){if(_0x80f0xf[_0xa084[24]][_0xa084[17]]){delete _0x80f0xf[_0xa084[24]][_0xa084[17]]};FreshdeskConfiguration[_0xa084[26]](_0x80f0xf[_0xa084[18]][_0xa084[17]])[_0xa084[9]](handleEntityNotFound(_0x80f0x5))[_0xa084[9]](saveUpdates(_0x80f0xf[_0xa084[24]]))[_0xa084[9]](responseWithResult(_0x80f0x5))[_0xa084[13]](handleError(_0x80f0x5))};exports[_0xa084[11]]=function(_0x80f0xf,_0x80f0x5){FreshdeskConfiguration[_0xa084[26]](_0x80f0xf[_0xa084[18]][_0xa084[17]])[_0xa084[9]](handleEntityNotFound(_0x80f0x5))[_0xa084[9]](removeEntity(_0x80f0x5))[_0xa084[13]](handleError(_0x80f0x5))};exports[_0xa084[27]]=function(_0x80f0xf,_0x80f0x5,_0x80f0x10){var _0x80f0x11;FreshdeskConfiguration[_0xa084[26]](_0x80f0xf[_0xa084[18]][_0xa084[17]])[_0xa084[9]](handleEntityNotFound(_0x80f0x5))[_0xa084[9]](function(_0x80f0x14){_0x80f0x11=_0x80f0x14;return FreshdeskField[_0xa084[23]](_0x80f0xf[_0xa084[24]])})[_0xa084[9]](function(_0x80f0x13){switch(_0x80f0xf[_0xa084[18]][_0xa084[35]]){case _0xa084[30]:return [_0x80f0x11[_0xa084[29]](_0x80f0x13),_0x80f0x13];case _0xa084[32]:return [_0x80f0x11[_0xa084[31]](_0x80f0x13),_0x80f0x13];case _0xa084[34]:return [_0x80f0x11[_0xa084[33]](_0x80f0x13),_0x80f0x13]}})[_0xa084[28]](function(_0x80f0x12,_0x80f0x13){return _0x80f0x5[_0xa084[6]](201)[_0xa084[7]](_0x80f0x13)})[_0xa084[13]](handleError(_0x80f0x5))} \ No newline at end of file diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js index d802cf3..1deead6 100644 --- a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js +++ b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js @@ -1 +1 @@ -var _0x2d2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2d2d[0];var FreshdeskConfiguration=require(_0x2d2d[2])[_0x2d2d[1]];exports[_0x2d2d[3]]=function(_0x78b8x2){FreshdeskConfiguration[_0x2d2d[4]](function(_0x78b8x3){onSave(_0x78b8x2,_0x78b8x3)});FreshdeskConfiguration[_0x2d2d[5]](function(_0x78b8x3){onRemove(_0x78b8x2,_0x78b8x3)})};function onSave(_0x78b8x2,_0x78b8x3,_0x78b8x5){_0x78b8x2[_0x2d2d[7]](_0x2d2d[6],_0x78b8x3)}function onRemove(_0x78b8x2,_0x78b8x3,_0x78b8x5){_0x78b8x2[_0x2d2d[7]](_0x2d2d[8],_0x78b8x3)} \ No newline at end of file +var _0xa825=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa825[0];var FreshdeskConfiguration=require(_0xa825[2])[_0xa825[1]];exports[_0xa825[3]]=function(_0x1115x2){FreshdeskConfiguration[_0xa825[4]](function(_0x1115x3){onSave(_0x1115x2,_0x1115x3)});FreshdeskConfiguration[_0xa825[5]](function(_0x1115x3){onRemove(_0x1115x2,_0x1115x3)})};function onSave(_0x1115x2,_0x1115x3,_0x1115x5){_0x1115x2[_0xa825[7]](_0xa825[6],_0x1115x3)}function onRemove(_0x1115x2,_0x1115x3,_0x1115x5){_0x1115x2[_0xa825[7]](_0xa825[8],_0x1115x3)} \ No newline at end of file diff --git a/server/api/freshdesk_configuration/index.js b/server/api/freshdesk_configuration/index.js index b6a3f0a..7ea4de3 100644 --- a/server/api/freshdesk_configuration/index.js +++ b/server/api/freshdesk_configuration/index.js @@ -1 +1 @@ -var _0x6f68=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\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\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","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\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"];_0x6f68[0];var express=require(_0x6f68[1]);var auth=require(_0x6f68[2]);var controller=require(_0x6f68[3]);var router=express.Router();router[_0x6f68[7]](_0x6f68[4],auth[_0x6f68[5]](),controller[_0x6f68[6]]);router[_0x6f68[7]](_0x6f68[8],auth[_0x6f68[5]](),controller[_0x6f68[9]]);router[_0x6f68[11]](_0x6f68[4],auth[_0x6f68[5]](),controller[_0x6f68[10]]);router[_0x6f68[13]](_0x6f68[8],auth[_0x6f68[5]](),controller[_0x6f68[12]]);router[_0x6f68[11]](_0x6f68[14],auth[_0x6f68[5]](),controller[_0x6f68[15]]);router[_0x6f68[16]](_0x6f68[8],auth[_0x6f68[5]](),controller[_0x6f68[12]]);router[_0x6f68[18]](_0x6f68[8],auth[_0x6f68[5]](),controller[_0x6f68[17]]);module[_0x6f68[19]]=router \ No newline at end of file +var _0x8050=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\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\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","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\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"];_0x8050[0];var express=require(_0x8050[1]);var auth=require(_0x8050[2]);var controller=require(_0x8050[3]);var router=express.Router();router[_0x8050[7]](_0x8050[4],auth[_0x8050[5]](),controller[_0x8050[6]]);router[_0x8050[7]](_0x8050[8],auth[_0x8050[5]](),controller[_0x8050[9]]);router[_0x8050[11]](_0x8050[4],auth[_0x8050[5]](),controller[_0x8050[10]]);router[_0x8050[13]](_0x8050[8],auth[_0x8050[5]](),controller[_0x8050[12]]);router[_0x8050[11]](_0x8050[14],auth[_0x8050[5]](),controller[_0x8050[15]]);router[_0x8050[16]](_0x8050[8],auth[_0x8050[5]](),controller[_0x8050[12]]);router[_0x8050[18]](_0x8050[8],auth[_0x8050[5]](),controller[_0x8050[17]]);module[_0x8050[19]]=router \ No newline at end of file diff --git a/server/api/freshdesk_configuration/index.spec.js b/server/api/freshdesk_configuration/index.spec.js index 776519f..58c5d1c 100644 --- a/server/api/freshdesk_configuration/index.spec.js +++ b/server/api/freshdesk_configuration/index.spec.js @@ -1 +1 @@ -var _0xac99=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xac99[0];var proxyquire=require(_0xac99[2])[_0xac99[1]]();var freshdeskConfigurationCtrlStub={index:_0xac99[3],show:_0xac99[4],create:_0xac99[5],update:_0xac99[6],destroy:_0xac99[7]};var routerStub={get:sinon[_0xac99[8]](),put:sinon[_0xac99[8]](),patch:sinon[_0xac99[8]](),post:sinon[_0xac99[8]](),delete:sinon[_0xac99[8]]()};var freshdeskConfigurationIndex=proxyquire(_0xac99[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskConfigurationCtrlStub});describe(_0xac99[10],function(){it(_0xac99[11],function(){expect(freshdeskConfigurationIndex)[_0xac99[13]][_0xac99[12]](routerStub)});describe(_0xac99[14],function(){it(_0xac99[15],function(){expect(routerStub[_0xac99[21]][_0xac99[20]](_0xac99[19],_0xac99[3]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})});describe(_0xac99[22],function(){it(_0xac99[23],function(){expect(routerStub[_0xac99[21]][_0xac99[20]](_0xac99[24],_0xac99[4]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})});describe(_0xac99[25],function(){it(_0xac99[26],function(){expect(routerStub[_0xac99[27]][_0xac99[20]](_0xac99[19],_0xac99[5]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})});describe(_0xac99[28],function(){it(_0xac99[29],function(){expect(routerStub[_0xac99[30]][_0xac99[20]](_0xac99[24],_0xac99[6]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})});describe(_0xac99[31],function(){it(_0xac99[29],function(){expect(routerStub[_0xac99[32]][_0xac99[20]](_0xac99[24],_0xac99[6]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})});describe(_0xac99[33],function(){it(_0xac99[34],function(){expect(routerStub[_0xac99[35]][_0xac99[20]](_0xac99[24],_0xac99[7]))[_0xac99[13]][_0xac99[18]][_0xac99[17]][_0xac99[16]]})})}) \ No newline at end of file +var _0x6674=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0x6674[0];var proxyquire=require(_0x6674[2])[_0x6674[1]]();var freshdeskConfigurationCtrlStub={index:_0x6674[3],show:_0x6674[4],create:_0x6674[5],update:_0x6674[6],destroy:_0x6674[7]};var routerStub={get:sinon[_0x6674[8]](),put:sinon[_0x6674[8]](),patch:sinon[_0x6674[8]](),post:sinon[_0x6674[8]](),delete:sinon[_0x6674[8]]()};var freshdeskConfigurationIndex=proxyquire(_0x6674[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskConfigurationCtrlStub});describe(_0x6674[10],function(){it(_0x6674[11],function(){expect(freshdeskConfigurationIndex)[_0x6674[13]][_0x6674[12]](routerStub)});describe(_0x6674[14],function(){it(_0x6674[15],function(){expect(routerStub[_0x6674[21]][_0x6674[20]](_0x6674[19],_0x6674[3]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})});describe(_0x6674[22],function(){it(_0x6674[23],function(){expect(routerStub[_0x6674[21]][_0x6674[20]](_0x6674[24],_0x6674[4]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})});describe(_0x6674[25],function(){it(_0x6674[26],function(){expect(routerStub[_0x6674[27]][_0x6674[20]](_0x6674[19],_0x6674[5]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})});describe(_0x6674[28],function(){it(_0x6674[29],function(){expect(routerStub[_0x6674[30]][_0x6674[20]](_0x6674[24],_0x6674[6]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})});describe(_0x6674[31],function(){it(_0x6674[29],function(){expect(routerStub[_0x6674[32]][_0x6674[20]](_0x6674[24],_0x6674[6]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})});describe(_0x6674[33],function(){it(_0x6674[34],function(){expect(routerStub[_0x6674[35]][_0x6674[20]](_0x6674[24],_0x6674[7]))[_0x6674[13]][_0x6674[18]][_0x6674[17]][_0x6674[16]]})})}) \ No newline at end of file diff --git a/server/api/freshdesk_field/freshdesk_field.controller.js b/server/api/freshdesk_field/freshdesk_field.controller.js index 36e4aaa..2124a5e 100644 --- a/server/api/freshdesk_field/freshdesk_field.controller.js +++ b/server/api/freshdesk_field/freshdesk_field.controller.js @@ -1 +1 @@ -var _0xc301=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x63\x61\x74\x63\x68","\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"];_0xc301[0];var _=require(_0xc301[1]);var FreshdeskField=require(_0xc301[3])[_0xc301[2]];function handleError(_0x93a2x4,_0x93a2x5){_0x93a2x5=_0x93a2x5||500;return function(_0x93a2x6){_0x93a2x4[_0xc301[5]](_0x93a2x5)[_0xc301[4]](_0x93a2x6)}}function responseWithResult(_0x93a2x4,_0x93a2x5){_0x93a2x5=_0x93a2x5||200;return function(_0x93a2x8){if(_0x93a2x8){_0x93a2x4[_0xc301[5]](_0x93a2x5)[_0xc301[6]](_0x93a2x8)}}}function handleEntityNotFound(_0x93a2x4){return function(_0x93a2x8){if(!_0x93a2x8){_0x93a2x4[_0xc301[5]](404)[_0xc301[7]]();return null};return _0x93a2x8}}function saveUpdates(_0x93a2xb){return function(_0x93a2x8){return _0x93a2x8[_0xc301[9]](_0x93a2xb)[_0xc301[8]](function(_0x93a2xc){return _0x93a2xc})}}function removeEntity(_0x93a2x4){return function(_0x93a2x8){if(_0x93a2x8){return _0x93a2x8[_0xc301[10]]()[_0xc301[8]](function(){_0x93a2x4[_0xc301[5]](204)[_0xc301[7]]()})}}}exports[_0xc301[11]]=function(_0x93a2xe,_0x93a2x4){FreshdeskField[_0xc301[13]]()[_0xc301[8]](responseWithResult(_0x93a2x4))[_0xc301[12]](handleError(_0x93a2x4))};exports[_0xc301[14]]=function(_0x93a2xe,_0x93a2x4){FreshdeskField[_0xc301[17]](_0x93a2xe[_0xc301[16]][_0xc301[15]])[_0xc301[8]](handleEntityNotFound(_0x93a2x4))[_0xc301[8]](responseWithResult(_0x93a2x4))[_0xc301[12]](handleError(_0x93a2x4))};exports[_0xc301[18]]=function(_0x93a2xe,_0x93a2x4){FreshdeskField[_0xc301[18]](_0x93a2xe[_0xc301[19]])[_0xc301[8]](responseWithResult(_0x93a2x4,201))[_0xc301[12]](handleError(_0x93a2x4))};exports[_0xc301[20]]=function(_0x93a2xe,_0x93a2x4){if(_0x93a2xe[_0xc301[19]][_0xc301[15]]){delete _0x93a2xe[_0xc301[19]][_0xc301[15]]};FreshdeskField[_0xc301[17]](_0x93a2xe[_0xc301[16]][_0xc301[15]])[_0xc301[8]](handleEntityNotFound(_0x93a2x4))[_0xc301[8]](saveUpdates(_0x93a2xe[_0xc301[19]]))[_0xc301[8]](responseWithResult(_0x93a2x4))[_0xc301[12]](handleError(_0x93a2x4))};exports[_0xc301[10]]=function(_0x93a2xe,_0x93a2x4){FreshdeskField[_0xc301[17]](_0x93a2xe[_0xc301[16]][_0xc301[15]])[_0xc301[8]](handleEntityNotFound(_0x93a2x4))[_0xc301[8]](removeEntity(_0x93a2x4))[_0xc301[12]](handleError(_0x93a2x4))} \ No newline at end of file +var _0x5317=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\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","\x63\x61\x74\x63\x68","\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"];_0x5317[0];var _=require(_0x5317[1]);var FreshdeskField=require(_0x5317[3])[_0x5317[2]];function handleError(_0xa2f5x4,_0xa2f5x5){_0xa2f5x5=_0xa2f5x5||500;return function(_0xa2f5x6){_0xa2f5x4[_0x5317[5]](_0xa2f5x5)[_0x5317[4]](_0xa2f5x6)}}function responseWithResult(_0xa2f5x4,_0xa2f5x5){_0xa2f5x5=_0xa2f5x5||200;return function(_0xa2f5x8){if(_0xa2f5x8){_0xa2f5x4[_0x5317[5]](_0xa2f5x5)[_0x5317[6]](_0xa2f5x8)}}}function handleEntityNotFound(_0xa2f5x4){return function(_0xa2f5x8){if(!_0xa2f5x8){_0xa2f5x4[_0x5317[5]](404)[_0x5317[7]]();return null};return _0xa2f5x8}}function saveUpdates(_0xa2f5xb){return function(_0xa2f5x8){return _0xa2f5x8[_0x5317[9]](_0xa2f5xb)[_0x5317[8]](function(_0xa2f5xc){return _0xa2f5xc})}}function removeEntity(_0xa2f5x4){return function(_0xa2f5x8){if(_0xa2f5x8){return _0xa2f5x8[_0x5317[10]]()[_0x5317[8]](function(){_0xa2f5x4[_0x5317[5]](204)[_0x5317[7]]()})}}}exports[_0x5317[11]]=function(_0xa2f5xe,_0xa2f5x4){FreshdeskField[_0x5317[13]]()[_0x5317[8]](responseWithResult(_0xa2f5x4))[_0x5317[12]](handleError(_0xa2f5x4))};exports[_0x5317[14]]=function(_0xa2f5xe,_0xa2f5x4){FreshdeskField[_0x5317[17]](_0xa2f5xe[_0x5317[16]][_0x5317[15]])[_0x5317[8]](handleEntityNotFound(_0xa2f5x4))[_0x5317[8]](responseWithResult(_0xa2f5x4))[_0x5317[12]](handleError(_0xa2f5x4))};exports[_0x5317[18]]=function(_0xa2f5xe,_0xa2f5x4){FreshdeskField[_0x5317[18]](_0xa2f5xe[_0x5317[19]])[_0x5317[8]](responseWithResult(_0xa2f5x4,201))[_0x5317[12]](handleError(_0xa2f5x4))};exports[_0x5317[20]]=function(_0xa2f5xe,_0xa2f5x4){if(_0xa2f5xe[_0x5317[19]][_0x5317[15]]){delete _0xa2f5xe[_0x5317[19]][_0x5317[15]]};FreshdeskField[_0x5317[17]](_0xa2f5xe[_0x5317[16]][_0x5317[15]])[_0x5317[8]](handleEntityNotFound(_0xa2f5x4))[_0x5317[8]](saveUpdates(_0xa2f5xe[_0x5317[19]]))[_0x5317[8]](responseWithResult(_0xa2f5x4))[_0x5317[12]](handleError(_0xa2f5x4))};exports[_0x5317[10]]=function(_0xa2f5xe,_0xa2f5x4){FreshdeskField[_0x5317[17]](_0xa2f5xe[_0x5317[16]][_0x5317[15]])[_0x5317[8]](handleEntityNotFound(_0xa2f5x4))[_0x5317[8]](removeEntity(_0xa2f5x4))[_0x5317[12]](handleError(_0xa2f5x4))} \ No newline at end of file diff --git a/server/api/freshdesk_field/freshdesk_field.socket.js b/server/api/freshdesk_field/freshdesk_field.socket.js index b67b28d..ef5f36c 100644 --- a/server/api/freshdesk_field/freshdesk_field.socket.js +++ b/server/api/freshdesk_field/freshdesk_field.socket.js @@ -1 +1 @@ -var _0x563c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x563c[0];var FreshdeskField=require(_0x563c[2])[_0x563c[1]];exports[_0x563c[3]]=function(_0xddb1x2){FreshdeskField[_0x563c[4]](function(_0xddb1x3){onSave(_0xddb1x2,_0xddb1x3)});FreshdeskField[_0x563c[5]](function(_0xddb1x3){onRemove(_0xddb1x2,_0xddb1x3)})};function onSave(_0xddb1x2,_0xddb1x3,_0xddb1x5){_0xddb1x2[_0x563c[7]](_0x563c[6],_0xddb1x3)}function onRemove(_0xddb1x2,_0xddb1x3,_0xddb1x5){_0xddb1x2[_0x563c[7]](_0x563c[8],_0xddb1x3)} \ No newline at end of file +var _0x8340=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8340[0];var FreshdeskField=require(_0x8340[2])[_0x8340[1]];exports[_0x8340[3]]=function(_0x22d5x2){FreshdeskField[_0x8340[4]](function(_0x22d5x3){onSave(_0x22d5x2,_0x22d5x3)});FreshdeskField[_0x8340[5]](function(_0x22d5x3){onRemove(_0x22d5x2,_0x22d5x3)})};function onSave(_0x22d5x2,_0x22d5x3,_0x22d5x5){_0x22d5x2[_0x8340[7]](_0x8340[6],_0x22d5x3)}function onRemove(_0x22d5x2,_0x22d5x3,_0x22d5x5){_0x22d5x2[_0x8340[7]](_0x8340[8],_0x22d5x3)} \ No newline at end of file diff --git a/server/api/freshdesk_field/index.js b/server/api/freshdesk_field/index.js index a95196c..05789c9 100644 --- a/server/api/freshdesk_field/index.js +++ b/server/api/freshdesk_field/index.js @@ -1 +1 @@ -var _0x5f77=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\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\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"];_0x5f77[0];var express=require(_0x5f77[1]);var auth=require(_0x5f77[2]);var controller=require(_0x5f77[3]);var router=express.Router();router[_0x5f77[7]](_0x5f77[4],auth[_0x5f77[5]](),controller[_0x5f77[6]]);router[_0x5f77[7]](_0x5f77[8],auth[_0x5f77[5]](),controller[_0x5f77[9]]);router[_0x5f77[11]](_0x5f77[4],auth[_0x5f77[5]](),controller[_0x5f77[10]]);router[_0x5f77[13]](_0x5f77[8],auth[_0x5f77[5]](),controller[_0x5f77[12]]);router[_0x5f77[14]](_0x5f77[8],auth[_0x5f77[5]](),controller[_0x5f77[12]]);router[_0x5f77[16]](_0x5f77[8],auth[_0x5f77[5]](),controller[_0x5f77[15]]);module[_0x5f77[17]]=router \ No newline at end of file +var _0x65dc=["\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\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\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\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"];_0x65dc[0];var express=require(_0x65dc[1]);var auth=require(_0x65dc[2]);var controller=require(_0x65dc[3]);var router=express.Router();router[_0x65dc[7]](_0x65dc[4],auth[_0x65dc[5]](),controller[_0x65dc[6]]);router[_0x65dc[7]](_0x65dc[8],auth[_0x65dc[5]](),controller[_0x65dc[9]]);router[_0x65dc[11]](_0x65dc[4],auth[_0x65dc[5]](),controller[_0x65dc[10]]);router[_0x65dc[13]](_0x65dc[8],auth[_0x65dc[5]](),controller[_0x65dc[12]]);router[_0x65dc[14]](_0x65dc[8],auth[_0x65dc[5]](),controller[_0x65dc[12]]);router[_0x65dc[16]](_0x65dc[8],auth[_0x65dc[5]](),controller[_0x65dc[15]]);module[_0x65dc[17]]=router \ No newline at end of file diff --git a/server/api/freshdesk_field/index.spec.js b/server/api/freshdesk_field/index.spec.js index ad5e8de..437ba1c 100644 --- a/server/api/freshdesk_field/index.spec.js +++ b/server/api/freshdesk_field/index.spec.js @@ -1 +1 @@ -var _0xac7f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xac7f[0];var proxyquire=require(_0xac7f[2])[_0xac7f[1]]();var freshdeskFieldCtrlStub={index:_0xac7f[3],show:_0xac7f[4],create:_0xac7f[5],update:_0xac7f[6],destroy:_0xac7f[7]};var routerStub={get:sinon[_0xac7f[8]](),put:sinon[_0xac7f[8]](),patch:sinon[_0xac7f[8]](),post:sinon[_0xac7f[8]](),delete:sinon[_0xac7f[8]]()};var freshdeskFieldIndex=proxyquire(_0xac7f[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskFieldCtrlStub});describe(_0xac7f[10],function(){it(_0xac7f[11],function(){expect(freshdeskFieldIndex)[_0xac7f[13]][_0xac7f[12]](routerStub)});describe(_0xac7f[14],function(){it(_0xac7f[15],function(){expect(routerStub[_0xac7f[21]][_0xac7f[20]](_0xac7f[19],_0xac7f[3]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})});describe(_0xac7f[22],function(){it(_0xac7f[23],function(){expect(routerStub[_0xac7f[21]][_0xac7f[20]](_0xac7f[24],_0xac7f[4]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})});describe(_0xac7f[25],function(){it(_0xac7f[26],function(){expect(routerStub[_0xac7f[27]][_0xac7f[20]](_0xac7f[19],_0xac7f[5]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})});describe(_0xac7f[28],function(){it(_0xac7f[29],function(){expect(routerStub[_0xac7f[30]][_0xac7f[20]](_0xac7f[24],_0xac7f[6]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})});describe(_0xac7f[31],function(){it(_0xac7f[29],function(){expect(routerStub[_0xac7f[32]][_0xac7f[20]](_0xac7f[24],_0xac7f[6]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})});describe(_0xac7f[33],function(){it(_0xac7f[34],function(){expect(routerStub[_0xac7f[35]][_0xac7f[20]](_0xac7f[24],_0xac7f[7]))[_0xac7f[13]][_0xac7f[18]][_0xac7f[17]][_0xac7f[16]]})})}) \ No newline at end of file +var _0xce0d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xce0d[0];var proxyquire=require(_0xce0d[2])[_0xce0d[1]]();var freshdeskFieldCtrlStub={index:_0xce0d[3],show:_0xce0d[4],create:_0xce0d[5],update:_0xce0d[6],destroy:_0xce0d[7]};var routerStub={get:sinon[_0xce0d[8]](),put:sinon[_0xce0d[8]](),patch:sinon[_0xce0d[8]](),post:sinon[_0xce0d[8]](),delete:sinon[_0xce0d[8]]()};var freshdeskFieldIndex=proxyquire(_0xce0d[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskFieldCtrlStub});describe(_0xce0d[10],function(){it(_0xce0d[11],function(){expect(freshdeskFieldIndex)[_0xce0d[13]][_0xce0d[12]](routerStub)});describe(_0xce0d[14],function(){it(_0xce0d[15],function(){expect(routerStub[_0xce0d[21]][_0xce0d[20]](_0xce0d[19],_0xce0d[3]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})});describe(_0xce0d[22],function(){it(_0xce0d[23],function(){expect(routerStub[_0xce0d[21]][_0xce0d[20]](_0xce0d[24],_0xce0d[4]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})});describe(_0xce0d[25],function(){it(_0xce0d[26],function(){expect(routerStub[_0xce0d[27]][_0xce0d[20]](_0xce0d[19],_0xce0d[5]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})});describe(_0xce0d[28],function(){it(_0xce0d[29],function(){expect(routerStub[_0xce0d[30]][_0xce0d[20]](_0xce0d[24],_0xce0d[6]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})});describe(_0xce0d[31],function(){it(_0xce0d[29],function(){expect(routerStub[_0xce0d[32]][_0xce0d[20]](_0xce0d[24],_0xce0d[6]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})});describe(_0xce0d[33],function(){it(_0xce0d[34],function(){expect(routerStub[_0xce0d[35]][_0xce0d[20]](_0xce0d[24],_0xce0d[7]))[_0xce0d[13]][_0xce0d[18]][_0xce0d[17]][_0xce0d[16]]})})}) \ No newline at end of file diff --git a/server/api/integration/index.js b/server/api/integration/index.js index d171a76..c6c6ece 100644 --- a/server/api/integration/index.js +++ b/server/api/integration/index.js @@ -1 +1 @@ -var _0xb2c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x67\x72\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","\x68\x61\x73\x52\x6F\x6C\x65","\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"];_0xb2c6[0];var express=require(_0xb2c6[1]);var controller=require(_0xb2c6[2]);var auth=require(_0xb2c6[3]);var router=express.Router();router[_0xb2c6[9]](_0xb2c6[4],auth[_0xb2c6[5]](),auth[_0xb2c6[7]]([19],[_0xb2c6[6]]),controller[_0xb2c6[8]]);router[_0xb2c6[9]](_0xb2c6[10],auth[_0xb2c6[5]](),auth[_0xb2c6[11]](_0xb2c6[6]),controller[_0xb2c6[12]]);router[_0xb2c6[14]](_0xb2c6[4],auth[_0xb2c6[5]](),auth[_0xb2c6[11]](_0xb2c6[6]),controller[_0xb2c6[13]]);router[_0xb2c6[16]](_0xb2c6[10],auth[_0xb2c6[5]](),auth[_0xb2c6[11]](_0xb2c6[6]),controller[_0xb2c6[15]]);router[_0xb2c6[18]](_0xb2c6[10],auth[_0xb2c6[5]](),auth[_0xb2c6[11]](_0xb2c6[6]),controller[_0xb2c6[17]]);module[_0xb2c6[19]]=router \ No newline at end of file +var _0xa449=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x67\x72\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","\x68\x61\x73\x52\x6F\x6C\x65","\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"];_0xa449[0];var express=require(_0xa449[1]);var controller=require(_0xa449[2]);var auth=require(_0xa449[3]);var router=express.Router();router[_0xa449[9]](_0xa449[4],auth[_0xa449[5]](),auth[_0xa449[7]]([19],[_0xa449[6]]),controller[_0xa449[8]]);router[_0xa449[9]](_0xa449[10],auth[_0xa449[5]](),auth[_0xa449[11]](_0xa449[6]),controller[_0xa449[12]]);router[_0xa449[14]](_0xa449[4],auth[_0xa449[5]](),auth[_0xa449[11]](_0xa449[6]),controller[_0xa449[13]]);router[_0xa449[16]](_0xa449[10],auth[_0xa449[5]](),auth[_0xa449[11]](_0xa449[6]),controller[_0xa449[15]]);router[_0xa449[18]](_0xa449[10],auth[_0xa449[5]](),auth[_0xa449[11]](_0xa449[6]),controller[_0xa449[17]]);module[_0xa449[19]]=router \ No newline at end of file diff --git a/server/api/integration/integration.controller.js b/server/api/integration/integration.controller.js index 5493d47..83445b4 100644 --- a/server/api/integration/integration.controller.js +++ b/server/api/integration/integration.controller.js @@ -1 +1 @@ -var _0xf727=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x61\x64\x6D\x2D\x7A\x69\x70","\x73\x74\x72\x69\x6E\x67\x2D\x74\x6F\x2D\x6A\x73\x6F\x6E","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x49\x6E\x74\x65\x67\x72\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","\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\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\x7A\x69\x70\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x67\x65\x74\x45\x6E\x74\x72\x69\x65\x73","\x6E\x61\x6D\x65","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E","\x75\x74\x66\x38","\x67\x65\x74\x44\x61\x74\x61","\x75\x70\x6C\x6F\x61\x64\x5A\x69\x70","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x65\x78\x74\x72\x61\x63\x74\x41\x6C\x6C\x54\x6F","\x6D\x65\x72\x67\x65","\x6A\x73\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x75\x6E\x6C\x69\x6E\x6B\x53\x79\x6E\x63","\x6D\x61\x6E\x69\x66\x65\x73\x74","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6F\x6E","\x65\x72\x72\x6F\x72","\x75\x70\x6C\x6F\x61\x64","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0xf727[0];var _=require(_0xf727[1]);var uploadFile=require(_0xf727[2]);var config=require(_0xf727[3]);var path=require(_0xf727[4]);var sr=require(_0xf727[5]);var admZip=require(_0xf727[6]);var str2json=require(_0xf727[7]);var fs=require(_0xf727[8]);var Util=require(_0xf727[9]);var Integration=require(_0xf727[11])[_0xf727[10]];exports[_0xf727[12]]=function(_0xbcc2xb,_0xbcc2xc,_0xbcc2xd){return Integration[_0xf727[19]](Util[_0xf727[18]](_0xbcc2xb[_0xf727[17]]))[_0xf727[16]](function(_0xbcc2xf){_0xbcc2xc[_0xf727[15]](200)[_0xf727[14]](_0xbcc2xf)})[_0xf727[13]](function(_0xbcc2xe){return handleError(_0xbcc2xc,_0xbcc2xe)})};exports[_0xf727[20]]=function(_0xbcc2xb,_0xbcc2xc){return Integration[_0xf727[24]](_0xbcc2xb[_0xf727[23]][_0xf727[22]])[_0xf727[16]](function(_0xbcc2x10){if(!_0xbcc2x10){return _0xbcc2xc[_0xf727[21]](404)};return _0xbcc2xc[_0xf727[14]](_0xbcc2x10)})[_0xf727[13]](function(_0xbcc2xe){return handleError(_0xbcc2xc,_0xbcc2xe)})};exports[_0xf727[25]]=function(_0xbcc2xb,_0xbcc2xc){var _0xbcc2x11= new uploadFile({dest:path[_0xf727[28]](config[_0xf727[26]],_0xf727[27]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0xf727[29],acceptFileTypes:_0xf727[30],maxFileSize:_0xf727[31],invalidRequest:_0xf727[32]}});_0xbcc2x11[_0xf727[50]](_0xf727[33],function(_0xbcc2x12,_0xbcc2x13){var _0xbcc2x14= new admZip(_0xbcc2x13[_0xf727[34]][_0xf727[4]]);var _0xbcc2x15=false;var _0xbcc2x16=_0xbcc2x14[_0xf727[35]]();_0xbcc2x16[_0xf727[46]](function(_0xbcc2x17){if(_0xbcc2x17[_0xf727[36]]===_0xf727[37]){var _0xbcc2x18=_0xbcc2x17[_0xf727[39]]().toString(_0xf727[38]);console[_0xf727[41]](_0xf727[40],_0xbcc2x18);try{_0xbcc2x15=JSON[_0xf727[42]](_0xbcc2x18);console[_0xf727[41]](_0xf727[40],_0xbcc2x15);Integration[_0xf727[25]](_[_0xf727[44]](_0xbcc2x13[_0xf727[34]],_0xbcc2x15))[_0xf727[16]](function(_0xbcc2x10){_0xbcc2x14[_0xf727[43]](path[_0xf727[28]](config[_0xf727[26]],_0xf727[27]),true);return _0xbcc2xc[_0xf727[15]](201)[_0xf727[14]](_0xbcc2x10)})[_0xf727[13]](function(_0xbcc2xe){return handleError(_0xbcc2xc,_0xbcc2xe)})}catch(e){console[_0xf727[41]](e);var _0xbcc2xe={errors:[{type:_0xf727[45],message:e}]};return handleError(_0xbcc2xc,_0xbcc2xe)}}});fs[_0xf727[47]](_0xbcc2x13[_0xf727[34]][_0xf727[4]]);if(!_0xbcc2x15){var _0xbcc2xe={errors:[{type:_0xf727[48],message:_0xf727[49]}]};return handleError(_0xbcc2xc,_0xbcc2xe)}});_0xbcc2x11[_0xf727[50]](_0xf727[51],function(_0xbcc2x19){var _0xbcc2xe={errors:[{type:_0xf727[52],message:_0xbcc2x19}]};return handleError(_0xbcc2xc,_0xbcc2xe)});_0xbcc2x11[_0xf727[42]](_0xbcc2xb)};exports[_0xf727[53]]=function(_0xbcc2xb,_0xbcc2xc){if(_0xbcc2xb[_0xf727[54]][_0xf727[22]]){delete _0xbcc2xb[_0xf727[54]][_0xf727[22]]};return Integration[_0xf727[24]](_0xbcc2xb[_0xf727[23]][_0xf727[22]])[_0xf727[16]](function(_0xbcc2x10){if(!_0xbcc2x10){return _0xbcc2xc[_0xf727[21]](404)};var _0xbcc2x1a=_[_0xf727[44]](_0xbcc2x10,_0xbcc2xb[_0xf727[54]]);return _0xbcc2x1a[_0xf727[55]]()})[_0xf727[16]](function(_0xbcc2x10){return _0xbcc2xc[_0xf727[15]](200)[_0xf727[14]](_0xbcc2x10)})[_0xf727[13]](function(_0xbcc2xe){return handleError(_0xbcc2xc,_0xbcc2xe)})};exports[_0xf727[56]]=function(_0xbcc2xb,_0xbcc2xc){return Integration[_0xf727[57]]({where:{id:_0xbcc2xb[_0xf727[23]][_0xf727[22]]}})[_0xf727[16]](function(_0xbcc2x10){if(!_0xbcc2x10){return _0xbcc2xc[_0xf727[21]](404)};return _0xbcc2x10[_0xf727[56]]()})[_0xf727[16]](function(){return _0xbcc2xc[_0xf727[21]](204)})[_0xf727[13]](function(_0xbcc2xe){return handleError(_0xbcc2xc,_0xbcc2xe)})};function handleError(_0xbcc2xc,_0xbcc2xe){return _0xbcc2xc[_0xf727[15]](500)[_0xf727[14]](_0xbcc2xe)} \ No newline at end of file +var _0xb521=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x61\x64\x6D\x2D\x7A\x69\x70","\x73\x74\x72\x69\x6E\x67\x2D\x74\x6F\x2D\x6A\x73\x6F\x6E","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x49\x6E\x74\x65\x67\x72\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","\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\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\x7A\x69\x70\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x67\x65\x74\x45\x6E\x74\x72\x69\x65\x73","\x6E\x61\x6D\x65","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E","\x75\x74\x66\x38","\x67\x65\x74\x44\x61\x74\x61","\x75\x70\x6C\x6F\x61\x64\x5A\x69\x70","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x65\x78\x74\x72\x61\x63\x74\x41\x6C\x6C\x54\x6F","\x6D\x65\x72\x67\x65","\x6A\x73\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x75\x6E\x6C\x69\x6E\x6B\x53\x79\x6E\x63","\x6D\x61\x6E\x69\x66\x65\x73\x74","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6F\x6E","\x65\x72\x72\x6F\x72","\x75\x70\x6C\x6F\x61\x64","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0xb521[0];var _=require(_0xb521[1]);var uploadFile=require(_0xb521[2]);var config=require(_0xb521[3]);var path=require(_0xb521[4]);var sr=require(_0xb521[5]);var admZip=require(_0xb521[6]);var str2json=require(_0xb521[7]);var fs=require(_0xb521[8]);var Util=require(_0xb521[9]);var Integration=require(_0xb521[11])[_0xb521[10]];exports[_0xb521[12]]=function(_0xc489xb,_0xc489xc,_0xc489xd){return Integration[_0xb521[19]](Util[_0xb521[18]](_0xc489xb[_0xb521[17]]))[_0xb521[16]](function(_0xc489xf){_0xc489xc[_0xb521[15]](200)[_0xb521[14]](_0xc489xf)})[_0xb521[13]](function(_0xc489xe){return handleError(_0xc489xc,_0xc489xe)})};exports[_0xb521[20]]=function(_0xc489xb,_0xc489xc){return Integration[_0xb521[24]](_0xc489xb[_0xb521[23]][_0xb521[22]])[_0xb521[16]](function(_0xc489x10){if(!_0xc489x10){return _0xc489xc[_0xb521[21]](404)};return _0xc489xc[_0xb521[14]](_0xc489x10)})[_0xb521[13]](function(_0xc489xe){return handleError(_0xc489xc,_0xc489xe)})};exports[_0xb521[25]]=function(_0xc489xb,_0xc489xc){var _0xc489x11= new uploadFile({dest:path[_0xb521[28]](config[_0xb521[26]],_0xb521[27]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0xb521[29],acceptFileTypes:_0xb521[30],maxFileSize:_0xb521[31],invalidRequest:_0xb521[32]}});_0xc489x11[_0xb521[50]](_0xb521[33],function(_0xc489x12,_0xc489x13){var _0xc489x14= new admZip(_0xc489x13[_0xb521[34]][_0xb521[4]]);var _0xc489x15=false;var _0xc489x16=_0xc489x14[_0xb521[35]]();_0xc489x16[_0xb521[46]](function(_0xc489x17){if(_0xc489x17[_0xb521[36]]===_0xb521[37]){var _0xc489x18=_0xc489x17[_0xb521[39]]().toString(_0xb521[38]);console[_0xb521[41]](_0xb521[40],_0xc489x18);try{_0xc489x15=JSON[_0xb521[42]](_0xc489x18);console[_0xb521[41]](_0xb521[40],_0xc489x15);Integration[_0xb521[25]](_[_0xb521[44]](_0xc489x13[_0xb521[34]],_0xc489x15))[_0xb521[16]](function(_0xc489x10){_0xc489x14[_0xb521[43]](path[_0xb521[28]](config[_0xb521[26]],_0xb521[27]),true);return _0xc489xc[_0xb521[15]](201)[_0xb521[14]](_0xc489x10)})[_0xb521[13]](function(_0xc489xe){return handleError(_0xc489xc,_0xc489xe)})}catch(e){console[_0xb521[41]](e);var _0xc489xe={errors:[{type:_0xb521[45],message:e}]};return handleError(_0xc489xc,_0xc489xe)}}});fs[_0xb521[47]](_0xc489x13[_0xb521[34]][_0xb521[4]]);if(!_0xc489x15){var _0xc489xe={errors:[{type:_0xb521[48],message:_0xb521[49]}]};return handleError(_0xc489xc,_0xc489xe)}});_0xc489x11[_0xb521[50]](_0xb521[51],function(_0xc489x19){var _0xc489xe={errors:[{type:_0xb521[52],message:_0xc489x19}]};return handleError(_0xc489xc,_0xc489xe)});_0xc489x11[_0xb521[42]](_0xc489xb)};exports[_0xb521[53]]=function(_0xc489xb,_0xc489xc){if(_0xc489xb[_0xb521[54]][_0xb521[22]]){delete _0xc489xb[_0xb521[54]][_0xb521[22]]};return Integration[_0xb521[24]](_0xc489xb[_0xb521[23]][_0xb521[22]])[_0xb521[16]](function(_0xc489x10){if(!_0xc489x10){return _0xc489xc[_0xb521[21]](404)};var _0xc489x1a=_[_0xb521[44]](_0xc489x10,_0xc489xb[_0xb521[54]]);return _0xc489x1a[_0xb521[55]]()})[_0xb521[16]](function(_0xc489x10){return _0xc489xc[_0xb521[15]](200)[_0xb521[14]](_0xc489x10)})[_0xb521[13]](function(_0xc489xe){return handleError(_0xc489xc,_0xc489xe)})};exports[_0xb521[56]]=function(_0xc489xb,_0xc489xc){return Integration[_0xb521[57]]({where:{id:_0xc489xb[_0xb521[23]][_0xb521[22]]}})[_0xb521[16]](function(_0xc489x10){if(!_0xc489x10){return _0xc489xc[_0xb521[21]](404)};return _0xc489x10[_0xb521[56]]()})[_0xb521[16]](function(){return _0xc489xc[_0xb521[21]](204)})[_0xb521[13]](function(_0xc489xe){return handleError(_0xc489xc,_0xc489xe)})};function handleError(_0xc489xc,_0xc489xe){return _0xc489xc[_0xb521[15]](500)[_0xb521[14]](_0xc489xe)} \ No newline at end of file diff --git a/server/api/integration/integration.socket.js b/server/api/integration/integration.socket.js index 3906f30..4370eab 100644 --- a/server/api/integration/integration.socket.js +++ b/server/api/integration/integration.socket.js @@ -1 +1 @@ -var _0x3640=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3640[0];var Integration=require(_0x3640[2])[_0x3640[1]];exports[_0x3640[3]]=function(_0x743bx2){Integration[_0x3640[4]](function(_0x743bx3){onSave(_0x743bx2,_0x743bx3)});Integration[_0x3640[5]](function(_0x743bx3){onSave(_0x743bx2,_0x743bx3)});Integration[_0x3640[6]](function(_0x743bx3){onRemove(_0x743bx2,_0x743bx3)})};function onSave(_0x743bx2,_0x743bx3,_0x743bx5){_0x743bx2[_0x3640[8]](_0x3640[7],_0x743bx3)}function onRemove(_0x743bx2,_0x743bx3,_0x743bx5){_0x743bx2[_0x3640[8]](_0x3640[9],_0x743bx3)} \ No newline at end of file +var _0xf508=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf508[0];var Integration=require(_0xf508[2])[_0xf508[1]];exports[_0xf508[3]]=function(_0x6bb9x2){Integration[_0xf508[4]](function(_0x6bb9x3){onSave(_0x6bb9x2,_0x6bb9x3)});Integration[_0xf508[5]](function(_0x6bb9x3){onSave(_0x6bb9x2,_0x6bb9x3)});Integration[_0xf508[6]](function(_0x6bb9x3){onRemove(_0x6bb9x2,_0x6bb9x3)})};function onSave(_0x6bb9x2,_0x6bb9x3,_0x6bb9x5){_0x6bb9x2[_0xf508[8]](_0xf508[7],_0x6bb9x3)}function onRemove(_0x6bb9x2,_0x6bb9x3,_0x6bb9x5){_0x6bb9x2[_0xf508[8]](_0xf508[9],_0x6bb9x3)} \ No newline at end of file diff --git a/server/api/interval/index.js b/server/api/interval/index.js index cec3d45..4586b40 100644 --- a/server/api/interval/index.js +++ b/server/api/interval/index.js @@ -1 +1 @@ -var _0x67c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\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"];_0x67c2[0];var express=require(_0x67c2[1]);var controller=require(_0x67c2[2]);var auth=require(_0x67c2[3]);var router=express.Router();router[_0x67c2[9]](_0x67c2[4],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13,7,8,9,10,11],[_0x67c2[6]]),controller[_0x67c2[8]]);router[_0x67c2[9]](_0x67c2[10],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13],[_0x67c2[6]]),controller[_0x67c2[11]]);router[_0x67c2[13]](_0x67c2[4],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13],[_0x67c2[6]]),controller[_0x67c2[12]]);router[_0x67c2[15]](_0x67c2[10],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13],[_0x67c2[6]]),controller[_0x67c2[14]]);router[_0x67c2[17]](_0x67c2[4],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13],[_0x67c2[6]]),controller[_0x67c2[16]]);router[_0x67c2[17]](_0x67c2[10],auth[_0x67c2[5]](),auth[_0x67c2[7]]([13],[_0x67c2[6]]),controller[_0x67c2[18]]);module[_0x67c2[19]]=router \ No newline at end of file +var _0xca2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\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"];_0xca2f[0];var express=require(_0xca2f[1]);var controller=require(_0xca2f[2]);var auth=require(_0xca2f[3]);var router=express.Router();router[_0xca2f[9]](_0xca2f[4],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13,7,8,9,10,11],[_0xca2f[6]]),controller[_0xca2f[8]]);router[_0xca2f[9]](_0xca2f[10],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13],[_0xca2f[6]]),controller[_0xca2f[11]]);router[_0xca2f[13]](_0xca2f[4],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13],[_0xca2f[6]]),controller[_0xca2f[12]]);router[_0xca2f[15]](_0xca2f[10],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13],[_0xca2f[6]]),controller[_0xca2f[14]]);router[_0xca2f[17]](_0xca2f[4],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13],[_0xca2f[6]]),controller[_0xca2f[16]]);router[_0xca2f[17]](_0xca2f[10],auth[_0xca2f[5]](),auth[_0xca2f[7]]([13],[_0xca2f[6]]),controller[_0xca2f[18]]);module[_0xca2f[19]]=router \ No newline at end of file diff --git a/server/api/interval/interval.controller.js b/server/api/interval/interval.controller.js index dba22a7..2279fb7 100644 --- a/server/api/interval/interval.controller.js +++ b/server/api/interval/interval.controller.js @@ -1 +1 @@ -var _0xa14e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x75\x62\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x6C\x6F\x67","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x61\x72\x65\x20\x74\x68\x65\x72\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x79\x65\x73\x20\x74\x68\x65\x72\x65\x20\x61\x72\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x6F\x6E\x65\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x72\x6F\x75\x74\x65\x73\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x66\x69\x72\x73\x74","\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\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xa14e[0];var _=require(_0xa14e[1]);var Interval=require(_0xa14e[3])[_0xa14e[2]];var VoiceExtension=require(_0xa14e[3])[_0xa14e[4]];var sequelize=require(_0xa14e[3])[_0xa14e[5]];var Util=require(_0xa14e[6]);exports[_0xa14e[7]]=function(_0x1929x6,_0x1929x7,_0x1929x8){return Interval[_0xa14e[17]](_0xa14e[15],_0xa14e[16])[_0xa14e[14]](Util[_0xa14e[13]](_0x1929x6[_0xa14e[12]]))[_0xa14e[11]](function(_0x1929xa){_0x1929x7[_0xa14e[10]](200)[_0xa14e[9]](_0x1929xa)})[_0xa14e[8]](function(_0x1929x9){return handleError(_0x1929x7,_0x1929x9)})};exports[_0xa14e[18]]=function(_0x1929x6,_0x1929x7){return Interval[_0xa14e[17]](_0xa14e[16])[_0xa14e[22]](_0x1929x6[_0xa14e[21]][_0xa14e[20]])[_0xa14e[11]](function(_0x1929xb){if(!_0x1929xb){return _0x1929x7[_0xa14e[19]](404)};return _0x1929x7[_0xa14e[9]](_0x1929xb)})[_0xa14e[8]](function(_0x1929x9){return handleError(_0x1929x7,_0x1929x9)})};exports[_0xa14e[23]]=function(_0x1929x6,_0x1929x7){return Interval[_0xa14e[17]](_0xa14e[16])[_0xa14e[23]](_0x1929x6[_0xa14e[25]])[_0xa14e[11]](function(_0x1929xb){return _0x1929x7[_0xa14e[10]](201)[_0xa14e[9]](_0x1929xb)})[_0xa14e[8]](function(_0x1929x9){console[_0xa14e[24]](_0x1929x9);return handleError(_0x1929x7,_0x1929x9)})};exports[_0xa14e[26]]=function(_0x1929x6,_0x1929x7){return sequelize[_0xa14e[32]](function(_0x1929xc){if(_0x1929x6[_0xa14e[25]][_0xa14e[20]]){delete _0x1929x6[_0xa14e[25]][_0xa14e[20]]};return Interval[_0xa14e[26]](_0x1929x6[_0xa14e[25]],{where:{id:_0x1929x6[_0xa14e[21]][_0xa14e[20]]},individualHooks:true,transaction:_0x1929xc})[_0xa14e[11]](function(){if(_0x1929x6[_0xa14e[25]][_0xa14e[29]]){return Interval[_0xa14e[31]]({where:{IntervalId:_0x1929x6[_0xa14e[21]][_0xa14e[20]]},transaction:_0x1929xc})}})[_0xa14e[11]](function(){console[_0xa14e[24]](_0xa14e[28]);if(_0x1929x6[_0xa14e[25]][_0xa14e[29]]&&_0x1929x6[_0xa14e[25]][_0xa14e[29]][_0xa14e[30]]){return _0x1929x6[_0xa14e[21]][_0xa14e[20]]}})[_0xa14e[11]](bulkCreateSubIntervals(_0x1929x6[_0xa14e[25]].SubIntervals,_0x1929xc))[_0xa14e[27]]()})[_0xa14e[11]](function(){return _0x1929x7[_0xa14e[19]](200)})[_0xa14e[8]](function(_0x1929x9){console[_0xa14e[24]](_0x1929x9);return handleError(_0x1929x7,_0x1929x9)})};function bulkCreateSubIntervals(_0x1929xe,_0x1929xc){return function(_0x1929xf){if(_0x1929xf){console[_0xa14e[24]](_0xa14e[33]);var _0x1929x10=[];_0x1929xe[_0xa14e[36]](function(_0x1929x11){delete _0x1929x11[_0xa14e[20]];_0x1929x11[_0xa14e[34]]=_0x1929xf;_0x1929x10[_0xa14e[35]](Interval[_0xa14e[23]](_0x1929x11,{transaction:_0x1929xc}))});return _0x1929x10}else {return []}}}exports[_0xa14e[31]]=function(_0x1929x6,_0x1929x7){return sequelize[_0xa14e[32]](function(_0x1929xc){return Interval[_0xa14e[31]]({where:{id:_0x1929x6[_0xa14e[21]][_0xa14e[20]]},individualHooks:true,transaction:_0x1929xc})})[_0xa14e[11]](function(){return _0x1929x7[_0xa14e[19]](204)})[_0xa14e[8]](sequelize.ForeignKeyConstraintError,function(_0x1929x9){_0x1929x9[_0xa14e[37]]=_0xa14e[38];_0x1929x9[_0xa14e[39]]=_0xa14e[40];return handleError(_0x1929x7,_0x1929x9)})[_0xa14e[8]](function(_0x1929x9){return handleError(_0x1929x7,_0x1929x9)})};exports[_0xa14e[41]]=function(_0x1929x6,_0x1929x7){return sequelize[_0xa14e[32]](function(_0x1929xc){return Interval[_0xa14e[31]]({where:{id:_0x1929x6[_0xa14e[12]][_0xa14e[42]]},individualHooks:true,transaction:_0x1929xc})})[_0xa14e[11]](function(){return _0x1929x7[_0xa14e[19]](204)})[_0xa14e[8]](sequelize.ForeignKeyConstraintError,function(_0x1929x9){_0x1929x9[_0xa14e[37]]=_0xa14e[38];_0x1929x9[_0xa14e[39]]=_0xa14e[40];return handleError(_0x1929x7,_0x1929x9)})[_0xa14e[8]](function(_0x1929x9){return handleError(_0x1929x7,_0x1929x9)})};function handleError(_0x1929x7,_0x1929x9){return _0x1929x7[_0xa14e[10]](500)[_0xa14e[9]](_0x1929x9)} \ No newline at end of file +var _0xfc2a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x75\x62\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x6C\x6F\x67","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x61\x72\x65\x20\x74\x68\x65\x72\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x79\x65\x73\x20\x74\x68\x65\x72\x65\x20\x61\x72\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x6F\x6E\x65\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x72\x6F\x75\x74\x65\x73\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x66\x69\x72\x73\x74","\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\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xfc2a[0];var _=require(_0xfc2a[1]);var Interval=require(_0xfc2a[3])[_0xfc2a[2]];var VoiceExtension=require(_0xfc2a[3])[_0xfc2a[4]];var sequelize=require(_0xfc2a[3])[_0xfc2a[5]];var Util=require(_0xfc2a[6]);exports[_0xfc2a[7]]=function(_0xd4b6x6,_0xd4b6x7,_0xd4b6x8){return Interval[_0xfc2a[17]](_0xfc2a[15],_0xfc2a[16])[_0xfc2a[14]](Util[_0xfc2a[13]](_0xd4b6x6[_0xfc2a[12]]))[_0xfc2a[11]](function(_0xd4b6xa){_0xd4b6x7[_0xfc2a[10]](200)[_0xfc2a[9]](_0xd4b6xa)})[_0xfc2a[8]](function(_0xd4b6x9){return handleError(_0xd4b6x7,_0xd4b6x9)})};exports[_0xfc2a[18]]=function(_0xd4b6x6,_0xd4b6x7){return Interval[_0xfc2a[17]](_0xfc2a[16])[_0xfc2a[22]](_0xd4b6x6[_0xfc2a[21]][_0xfc2a[20]])[_0xfc2a[11]](function(_0xd4b6xb){if(!_0xd4b6xb){return _0xd4b6x7[_0xfc2a[19]](404)};return _0xd4b6x7[_0xfc2a[9]](_0xd4b6xb)})[_0xfc2a[8]](function(_0xd4b6x9){return handleError(_0xd4b6x7,_0xd4b6x9)})};exports[_0xfc2a[23]]=function(_0xd4b6x6,_0xd4b6x7){return Interval[_0xfc2a[17]](_0xfc2a[16])[_0xfc2a[23]](_0xd4b6x6[_0xfc2a[25]])[_0xfc2a[11]](function(_0xd4b6xb){return _0xd4b6x7[_0xfc2a[10]](201)[_0xfc2a[9]](_0xd4b6xb)})[_0xfc2a[8]](function(_0xd4b6x9){console[_0xfc2a[24]](_0xd4b6x9);return handleError(_0xd4b6x7,_0xd4b6x9)})};exports[_0xfc2a[26]]=function(_0xd4b6x6,_0xd4b6x7){return sequelize[_0xfc2a[32]](function(_0xd4b6xc){if(_0xd4b6x6[_0xfc2a[25]][_0xfc2a[20]]){delete _0xd4b6x6[_0xfc2a[25]][_0xfc2a[20]]};return Interval[_0xfc2a[26]](_0xd4b6x6[_0xfc2a[25]],{where:{id:_0xd4b6x6[_0xfc2a[21]][_0xfc2a[20]]},individualHooks:true,transaction:_0xd4b6xc})[_0xfc2a[11]](function(){if(_0xd4b6x6[_0xfc2a[25]][_0xfc2a[29]]){return Interval[_0xfc2a[31]]({where:{IntervalId:_0xd4b6x6[_0xfc2a[21]][_0xfc2a[20]]},transaction:_0xd4b6xc})}})[_0xfc2a[11]](function(){console[_0xfc2a[24]](_0xfc2a[28]);if(_0xd4b6x6[_0xfc2a[25]][_0xfc2a[29]]&&_0xd4b6x6[_0xfc2a[25]][_0xfc2a[29]][_0xfc2a[30]]){return _0xd4b6x6[_0xfc2a[21]][_0xfc2a[20]]}})[_0xfc2a[11]](bulkCreateSubIntervals(_0xd4b6x6[_0xfc2a[25]].SubIntervals,_0xd4b6xc))[_0xfc2a[27]]()})[_0xfc2a[11]](function(){return _0xd4b6x7[_0xfc2a[19]](200)})[_0xfc2a[8]](function(_0xd4b6x9){console[_0xfc2a[24]](_0xd4b6x9);return handleError(_0xd4b6x7,_0xd4b6x9)})};function bulkCreateSubIntervals(_0xd4b6xe,_0xd4b6xc){return function(_0xd4b6xf){if(_0xd4b6xf){console[_0xfc2a[24]](_0xfc2a[33]);var _0xd4b6x10=[];_0xd4b6xe[_0xfc2a[36]](function(_0xd4b6x11){delete _0xd4b6x11[_0xfc2a[20]];_0xd4b6x11[_0xfc2a[34]]=_0xd4b6xf;_0xd4b6x10[_0xfc2a[35]](Interval[_0xfc2a[23]](_0xd4b6x11,{transaction:_0xd4b6xc}))});return _0xd4b6x10}else {return []}}}exports[_0xfc2a[31]]=function(_0xd4b6x6,_0xd4b6x7){return sequelize[_0xfc2a[32]](function(_0xd4b6xc){return Interval[_0xfc2a[31]]({where:{id:_0xd4b6x6[_0xfc2a[21]][_0xfc2a[20]]},individualHooks:true,transaction:_0xd4b6xc})})[_0xfc2a[11]](function(){return _0xd4b6x7[_0xfc2a[19]](204)})[_0xfc2a[8]](sequelize.ForeignKeyConstraintError,function(_0xd4b6x9){_0xd4b6x9[_0xfc2a[37]]=_0xfc2a[38];_0xd4b6x9[_0xfc2a[39]]=_0xfc2a[40];return handleError(_0xd4b6x7,_0xd4b6x9)})[_0xfc2a[8]](function(_0xd4b6x9){return handleError(_0xd4b6x7,_0xd4b6x9)})};exports[_0xfc2a[41]]=function(_0xd4b6x6,_0xd4b6x7){return sequelize[_0xfc2a[32]](function(_0xd4b6xc){return Interval[_0xfc2a[31]]({where:{id:_0xd4b6x6[_0xfc2a[12]][_0xfc2a[42]]},individualHooks:true,transaction:_0xd4b6xc})})[_0xfc2a[11]](function(){return _0xd4b6x7[_0xfc2a[19]](204)})[_0xfc2a[8]](sequelize.ForeignKeyConstraintError,function(_0xd4b6x9){_0xd4b6x9[_0xfc2a[37]]=_0xfc2a[38];_0xd4b6x9[_0xfc2a[39]]=_0xfc2a[40];return handleError(_0xd4b6x7,_0xd4b6x9)})[_0xfc2a[8]](function(_0xd4b6x9){return handleError(_0xd4b6x7,_0xd4b6x9)})};function handleError(_0xd4b6x7,_0xd4b6x9){return _0xd4b6x7[_0xfc2a[10]](500)[_0xfc2a[9]](_0xd4b6x9)} \ No newline at end of file diff --git a/server/api/interval/interval.socket.js b/server/api/interval/interval.socket.js index 82304d3..31f6fc5 100644 --- a/server/api/interval/interval.socket.js +++ b/server/api/interval/interval.socket.js @@ -1 +1 @@ -var _0xb29f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x75\x70\x64\x61\x74\x65"];_0xb29f[0];var Interval=require(_0xb29f[2])[_0xb29f[1]];exports[_0xb29f[3]]=function(_0xb142x2){Interval[_0xb29f[4]](function(_0xb142x3){onSave(_0xb142x2,_0xb142x3)});Interval[_0xb29f[5]](function(_0xb142x3){onRemove(_0xb142x2,_0xb142x3)});Interval[_0xb29f[6]](function(_0xb142x3){onUpdate(_0xb142x2,_0xb142x3)})};function onSave(_0xb142x2,_0xb142x3,_0xb142x5){_0xb142x2[_0xb29f[8]](_0xb29f[7],_0xb142x3)}function onRemove(_0xb142x2,_0xb142x3,_0xb142x5){_0xb142x2[_0xb29f[8]](_0xb29f[9],_0xb142x3)}function onUpdate(_0xb142x2,_0xb142x3,_0xb142x5){_0xb142x2[_0xb29f[8]](_0xb29f[10],_0xb142x3)} \ No newline at end of file +var _0x303f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x75\x70\x64\x61\x74\x65"];_0x303f[0];var Interval=require(_0x303f[2])[_0x303f[1]];exports[_0x303f[3]]=function(_0xbddex2){Interval[_0x303f[4]](function(_0xbddex3){onSave(_0xbddex2,_0xbddex3)});Interval[_0x303f[5]](function(_0xbddex3){onRemove(_0xbddex2,_0xbddex3)});Interval[_0x303f[6]](function(_0xbddex3){onUpdate(_0xbddex2,_0xbddex3)})};function onSave(_0xbddex2,_0xbddex3,_0xbddex5){_0xbddex2[_0x303f[8]](_0x303f[7],_0xbddex3)}function onRemove(_0xbddex2,_0xbddex3,_0xbddex5){_0xbddex2[_0x303f[8]](_0x303f[9],_0xbddex3)}function onUpdate(_0xbddex2,_0xbddex3,_0xbddex5){_0xbddex2[_0x303f[8]](_0x303f[10],_0xbddex3)} \ No newline at end of file diff --git a/server/api/jscripty_project/index.js b/server/api/jscripty_project/index.js index 3cc5da0..b585462 100644 --- a/server/api/jscripty_project/index.js +++ b/server/api/jscripty_project/index.js @@ -1 +1 @@ -var _0x7f7b=["\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\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\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","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x3A\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x2F\x3A\x69\x64\x2F\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x6C\x65\x74\x65","\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"];_0x7f7b[0];var express=require(_0x7f7b[1]);var auth=require(_0x7f7b[2]);var controller=require(_0x7f7b[3]);var router=express.Router();router[_0x7f7b[10]](_0x7f7b[4],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6],_0x7f7b[7]]),controller[_0x7f7b[9]]);router[_0x7f7b[10]](_0x7f7b[11],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[12]]);router[_0x7f7b[10]](_0x7f7b[13],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6],_0x7f7b[7]]),controller[_0x7f7b[14]]);router[_0x7f7b[10]](_0x7f7b[15],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[16]]);router[_0x7f7b[10]](_0x7f7b[17],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[18]]);router[_0x7f7b[10]](_0x7f7b[19],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[20]]);router[_0x7f7b[10]](_0x7f7b[21],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[22]]);router[_0x7f7b[10]](_0x7f7b[23],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[24]]);router[_0x7f7b[10]](_0x7f7b[25],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[26]]);router[_0x7f7b[10]](_0x7f7b[27],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[28]]);router[_0x7f7b[30]](_0x7f7b[4],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[29]]);router[_0x7f7b[30]](_0x7f7b[15],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6],_0x7f7b[7]]),controller[_0x7f7b[31]]);router[_0x7f7b[30]](_0x7f7b[32],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6],_0x7f7b[7]]),controller[_0x7f7b[33]]);router[_0x7f7b[35]](_0x7f7b[11],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[34]]);router[_0x7f7b[35]](_0x7f7b[17],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6],_0x7f7b[7]]),controller[_0x7f7b[36]]);router[_0x7f7b[38]](_0x7f7b[17],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[37]]);router[_0x7f7b[38]](_0x7f7b[4],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[39]]);router[_0x7f7b[38]](_0x7f7b[11],auth[_0x7f7b[5]](),auth[_0x7f7b[8]]([15],[_0x7f7b[6]]),controller[_0x7f7b[40]]);module[_0x7f7b[41]]=router \ No newline at end of file +var _0xf54f=["\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\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\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","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x3A\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x2F\x3A\x69\x64\x2F\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x6C\x65\x74\x65","\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"];_0xf54f[0];var express=require(_0xf54f[1]);var auth=require(_0xf54f[2]);var controller=require(_0xf54f[3]);var router=express.Router();router[_0xf54f[10]](_0xf54f[4],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6],_0xf54f[7]]),controller[_0xf54f[9]]);router[_0xf54f[10]](_0xf54f[11],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[12]]);router[_0xf54f[10]](_0xf54f[13],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6],_0xf54f[7]]),controller[_0xf54f[14]]);router[_0xf54f[10]](_0xf54f[15],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[16]]);router[_0xf54f[10]](_0xf54f[17],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[18]]);router[_0xf54f[10]](_0xf54f[19],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[20]]);router[_0xf54f[10]](_0xf54f[21],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[22]]);router[_0xf54f[10]](_0xf54f[23],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[24]]);router[_0xf54f[10]](_0xf54f[25],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[26]]);router[_0xf54f[10]](_0xf54f[27],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[28]]);router[_0xf54f[30]](_0xf54f[4],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[29]]);router[_0xf54f[30]](_0xf54f[15],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6],_0xf54f[7]]),controller[_0xf54f[31]]);router[_0xf54f[30]](_0xf54f[32],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6],_0xf54f[7]]),controller[_0xf54f[33]]);router[_0xf54f[35]](_0xf54f[11],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[34]]);router[_0xf54f[35]](_0xf54f[17],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6],_0xf54f[7]]),controller[_0xf54f[36]]);router[_0xf54f[38]](_0xf54f[17],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[37]]);router[_0xf54f[38]](_0xf54f[4],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[39]]);router[_0xf54f[38]](_0xf54f[11],auth[_0xf54f[5]](),auth[_0xf54f[8]]([15],[_0xf54f[6]]),controller[_0xf54f[40]]);module[_0xf54f[41]]=router \ No newline at end of file diff --git a/server/api/jscripty_project/jscripty_project.controller.js b/server/api/jscripty_project/jscripty_project.controller.js index aa53315..8e0671f 100644 --- a/server/api/jscripty_project/jscripty_project.controller.js +++ b/server/api/jscripty_project/jscripty_project.controller.js @@ -1 +1 @@ -var _0x2ba1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x78\x6D\x6C\x32\x6A\x73","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x51\x75\x65\x73\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\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","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x6C\x6F\x67","\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x41\x6E\x64\x49\x6E\x70\x75\x74","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73\x20\x69\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73","\x73\x65\x73\x73\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x65\x78\x74","\x69\x6E\x70\x75\x74\x5F\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x69\x6E\x70\x75\x74\x5F\x6C\x61\x62\x65\x6C","\x69\x6E\x70\x75\x74\x5F\x76\x61\x6C\x75\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x77\x73\x20\x71\x75\x65\x73\x74\x69\x6F\x6E","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x61\x6E\x73\x77\x65\x72","\x69\x6E\x70\x75\x74\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x66\x69\x6E\x64","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x67\x72\x6F\x75\x70\x42\x79","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x6C\x61\x73\x74","\x6B\x65\x79\x73","\x6C\x61\x62\x65\x6C\x73","\x63\x68\x6F\x69\x63\x65\x73","\x67\x72\x61\x70\x68\x44\x61\x74\x61","\x67\x72\x61\x70\x68\x4C\x61\x62\x65\x6C\x73","\x50\x69\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x6F\x70\x74\x69\x6F\x6E","\x50\x6F\x6C\x61\x72\x41\x72\x65\x61","\x70\x65\x72\x63\x65\x6E\x74\x61\x67\x65","\x6F\x74\x68\x65\x72\x5F\x6F\x70\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64","\x69\x6E\x70\x75\x74","\x63\x6F\x6C","\x66\x6E","\x31","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x50\x72\x6F\x6A\x65\x63\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\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\x45\x58\x49\x53\x54\x5F\x50\x52\x4F\x4A\x45\x43\x54","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x61\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0x2ba1[0];var xml=require(_0x2ba1[1]);var _=require(_0x2ba1[2]);var JscriptyProject=require(_0x2ba1[4])[_0x2ba1[3]];var Util=require(_0x2ba1[5]);var sequelize=require(_0x2ba1[4])[_0x2ba1[6]];var ReportJscriptySession=require(_0x2ba1[4])[_0x2ba1[7]];var ReportJscriptyQuestion=require(_0x2ba1[4])[_0x2ba1[8]];var ReportJscriptyInput=require(_0x2ba1[4])[_0x2ba1[9]];var Promise=require(_0x2ba1[10]);function handleError(_0xb491xb,_0xb491xc){return _0xb491xb[_0x2ba1[12]](500)[_0x2ba1[11]](_0xb491xc)}function responseWithResult(_0xb491xb,_0xb491xe){_0xb491xe=_0xb491xe||200;return function(_0xb491xf){if(_0xb491xf){_0xb491xb[_0x2ba1[12]](_0xb491xe)[_0x2ba1[13]](_0xb491xf)}}}function handleEntityNotFound(_0xb491xb){return function(_0xb491xf){if(!_0xb491xf){_0xb491xb[_0x2ba1[12]](404)[_0x2ba1[14]]();return null};return _0xb491xf}}function saveUpdates(_0xb491x12){return function(_0xb491xf){return _0xb491xf[_0x2ba1[16]](_0xb491x12)[_0x2ba1[15]](function(_0xb491x13){return _0xb491x13})}}function removeEntity(_0xb491xb){return function(_0xb491xf){if(_0xb491xf){return _0xb491xf[_0x2ba1[17]]()[_0x2ba1[15]](function(){_0xb491xb[_0x2ba1[12]](204)[_0x2ba1[14]]()})}}}exports[_0x2ba1[18]]=function(_0xb491x15,_0xb491xb,_0xb491x16){return JscriptyProject[_0x2ba1[22]](Util[_0x2ba1[21]](_0xb491x15[_0x2ba1[20]]))[_0x2ba1[15]](function(_0xb491x17){_0xb491xb[_0x2ba1[12]](200)[_0x2ba1[11]](_0xb491x17)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[23]]=function(_0xb491x15,_0xb491xb){return JscriptyProject[_0x2ba1[27]](_0xb491x15[_0x2ba1[26]][_0x2ba1[25]])[_0x2ba1[15]](function(_0xb491x18){if(!_0xb491x18){return _0xb491xb[_0x2ba1[24]](404)};return _0xb491xb[_0x2ba1[11]](_0xb491x18)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[28]]=function(_0xb491x15,_0xb491xb){return ReportJscriptySession[_0x2ba1[31]]({method:[_0x2ba1[30],_0xb491x15[_0x2ba1[26]][_0x2ba1[25]]]})[_0x2ba1[22]](Util[_0x2ba1[21]](_0xb491x15[_0x2ba1[20]]))[_0x2ba1[15]](handleEntityNotFound(_0xb491xb))[_0x2ba1[15]](responseWithResult(_0xb491xb))[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[32]]=function(_0xb491x15,_0xb491xb){var _0xb491x19={count:0,rows:[]};return ReportJscriptySession[_0x2ba1[31]]({method:[_0x2ba1[52],_0xb491x15[_0x2ba1[26]][_0x2ba1[25]]]})[_0x2ba1[22]](Util[_0x2ba1[21]](_0xb491x15[_0x2ba1[20]]))[_0x2ba1[15]](function(_0xb491x1a){console[_0x2ba1[29]](_0x2ba1[48],_0xb491x1a[_0x2ba1[34]]);_[_0x2ba1[45]](_0xb491x1a[_0x2ba1[34]],function(_0xb491x1b){var _0xb491x1c=_0xb491x1b[_0x2ba1[35]];_[_0x2ba1[45]](_0xb491x1b.ReportJscriptyQuestions,function(_0xb491x1d){var _0xb491x1e=_0xb491x1d[_0x2ba1[36]];var _0xb491x1f=_0xb491x1d[_0x2ba1[37]];var _0xb491x20=_0xb491x1d[_0x2ba1[38]];var _0xb491x23=_0xb491x1d[_0x2ba1[49]];var _0xb491x24=_0xb491x1d[_0x2ba1[50]];var _0xb491x21=_0xb491x1d[_0x2ba1[39]];_0xb491x19[_0x2ba1[34]][_0x2ba1[44]]({session_id:_0xb491x1c,question_id:_0xb491x1e,question_label:_0xb491x20,question_text:_0xb491x21,input_label:_0xb491x23,input_value:_0xb491x24})})});_0xb491x19[_0x2ba1[46]]=_0xb491x19[_0x2ba1[34]][_0x2ba1[47]];return ReportJscriptySession[_0x2ba1[31]]({method:[_0x2ba1[51],_0xb491x15[_0x2ba1[26]][_0x2ba1[25]]]})[_0x2ba1[22]](Util[_0x2ba1[21]](_0xb491x15[_0x2ba1[20]]))})[_0x2ba1[15]](function(_0xb491x1a){console[_0x2ba1[29]](_0x2ba1[33],_0xb491x1a[_0x2ba1[34]]);_[_0x2ba1[45]](_0xb491x1a[_0x2ba1[34]],function(_0xb491x1b){var _0xb491x1c=_0xb491x1b[_0x2ba1[35]];_[_0x2ba1[45]](_0xb491x1b.ReportJscriptyQuestions,function(_0xb491x1d){var _0xb491x1e=_0xb491x1d[_0x2ba1[36]];var _0xb491x1f=_0xb491x1d[_0x2ba1[37]];var _0xb491x20=_0xb491x1d[_0x2ba1[38]];var _0xb491x21=_0xb491x1d[_0x2ba1[39]];_[_0x2ba1[45]](_0xb491x1d.ReportJscriptyInputs,function(_0xb491x22){if(_0xb491x22[_0x2ba1[40]]!=_0x2ba1[41]){_0xb491x19[_0x2ba1[34]][_0x2ba1[44]]({session_id:_0xb491x1c,question_type:_0xb491x1f,question_id:_0xb491x1e,question_label:_0xb491x20,question_text:_0xb491x21,input_label:_0xb491x22[_0x2ba1[42]],input_value:_0xb491x22[_0x2ba1[43]]})}})})});_0xb491x19[_0x2ba1[46]]=_0xb491x19[_0x2ba1[34]][_0x2ba1[47]];return _0xb491x19})[_0x2ba1[15]](handleEntityNotFound(_0xb491xb))[_0x2ba1[15]](responseWithResult(_0xb491xb))[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[53]]=function(_0xb491x15,_0xb491xb){return ReportJscriptySession[_0x2ba1[55]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],session_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[54]]},include:[{model:ReportJscriptyQuestion,include:[{model:ReportJscriptyInput}]}]})[_0x2ba1[15]](handleEntityNotFound(_0xb491xb))[_0x2ba1[15]](responseWithResult(_0xb491xb))[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[56]]=function(_0xb491x15,_0xb491xb){return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]]},include:[{model:ReportJscriptyInput}]})[_0x2ba1[15]](function(_0xb491x25){if(!_0xb491x25){return _0xb491xb[_0x2ba1[24]](404)};return _0xb491xb[_0x2ba1[12]](200)[_0x2ba1[11]](_0xb491x25)})[_0x2ba1[15]](handleEntityNotFound(_0xb491xb))[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[58]]=function(_0xb491x15,_0xb491xb){return ReportJscriptyQuestion[_0x2ba1[31]]({method:[_0x2ba1[59],_0xb491x15[_0x2ba1[26]][_0x2ba1[25]]]})[_0x2ba1[22]](Util[_0x2ba1[21]](_0xb491x15[_0x2ba1[20]]))[_0x2ba1[15]](handleEntityNotFound(_0xb491xb))[_0x2ba1[15]](function(_0xb491x26){return _0xb491xb[_0x2ba1[12]](200)[_0x2ba1[11]](_0xb491x26)})[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[60]]=function(_0xb491x15,_0xb491xb){var _0xb491x27={};var _0xb491x25;return ReportJscriptyQuestion[_0x2ba1[55]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[82]]},attributes:[_0x2ba1[25],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[37]]})[_0x2ba1[15]](function(_0xb491x3a){if(_0xb491x3a[_0x2ba1[72]][_0x2ba1[37]]==_0x2ba1[83]){return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[82]]},attributes:[_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x2ba1[41],input_value:_0x2ba1[86]},{input_type:{$ne:_0x2ba1[41]},input_value:{$ne:null}}]},attributes:[_0x2ba1[42],_0x2ba1[43],_0x2ba1[40],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[42])),_0x2ba1[46]]]}],group:[_0x2ba1[36],_0x2ba1[42]]})}else {return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[82]]},attributes:[_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[74],_0x2ba1[73],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[73])),_0x2ba1[46]]],group:[_0x2ba1[36],_0x2ba1[73]]})}})[_0x2ba1[15]](function(_0xb491x1a){_0xb491x25=_0xb491x1a;return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[82]],question_other_answer:{$ne:null}},attributes:[_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[74],_0x2ba1[39],_0x2ba1[50],_0x2ba1[49],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[49])),_0x2ba1[46]]],group:[_0x2ba1[36],_0x2ba1[49]]})})[_0x2ba1[15]](function(_0xb491x1a){_[_0x2ba1[45]](_0xb491x1a,function(_0xb491x2d){_0xb491x25[_0x2ba1[44]](_0xb491x2d)});var _0xb491x28=_[_0x2ba1[61]](_0xb491x25,_0x2ba1[36]);_[_0x2ba1[45]](_0xb491x28,function(_0xb491x31,_0xb491x2a){var _0xb491x30=[];var _0xb491x32=0;var _0xb491x33=[];var _0xb491x34=[];var _0xb491x35=_0x2ba1[70];_[_0x2ba1[45]](_0xb491x31,function(_0xb491x2d){if(_0xb491x2d[_0x2ba1[71]]){_[_0x2ba1[45]](_0xb491x2d.ReportJscriptyInputs,function(_0xb491x22){_0xb491x30[_0x2ba1[44]]({checkbox:(_0xb491x22[_0x2ba1[40]]==_0x2ba1[41])?true:false,value:_0xb491x22[_0x2ba1[42]],count:_0xb491x22[_0x2ba1[72]][_0x2ba1[46]]});_0xb491x32=_0xb491x32+_0xb491x22[_0x2ba1[72]][_0x2ba1[46]]})}else {if(_0xb491x2d[_0x2ba1[73]]){_0xb491x30[_0x2ba1[44]]({value:_0xb491x2d[_0x2ba1[73]],count:_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]});_0xb491x32=_0xb491x32+_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]}else {if(_0xb491x2d[_0x2ba1[50]]){_0xb491x30[_0x2ba1[44]]({other_option:true,value:_0xb491x2d[_0x2ba1[49]],count:_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]})}}}});var _0xb491x36=JSON[_0x2ba1[75]](_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[74]]);console[_0x2ba1[29]](_0xb491x36);if(_0xb491x36){_[_0x2ba1[45]](_0xb491x36[_0x2ba1[76]],function(_0xb491x37){var _0xb491x38=_[_0x2ba1[55]](_0xb491x30,{value:_0xb491x37});console[_0x2ba1[29]](_0x2ba1[77],_0xb491x37);console[_0x2ba1[29]](_0xb491x38);if(!_0xb491x38){_0xb491x30[_0x2ba1[44]]({value:_0xb491x37,count:0,percentage:0})}})};for(var _0xb491x39=0;_0xb491x39<_0xb491x30[_0x2ba1[47]];_0xb491x39++){if(_0xb491x30[_0xb491x39][_0x2ba1[41]]){_0xb491x35=_0x2ba1[78]};_0xb491x30[_0xb491x39][_0x2ba1[79]]=(_0xb491x30[_0xb491x39][_0x2ba1[46]]/_0xb491x32)*100;if(!_0xb491x30[_0xb491x39][_0x2ba1[80]]){_0xb491x33[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[46]];_0xb491x34[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[81]]}};_0xb491x27={total:_0xb491x32,question_type:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[37]],question_id:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[36]],question_label:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[38]],question_text:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[39]],choices:_0xb491x30,graphData:_0xb491x33,graphLabels:_0xb491x34,graphType:_0xb491x35}});return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[82]],question_type:_0x2ba1[83]},attributes:[_0x2ba1[25],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39]],include:[{model:ReportJscriptyInput,attributes:[_0x2ba1[42]]}]})})[_0x2ba1[15]](function(_0xb491x19){if(_0xb491x19){var _0xb491x28=_[_0x2ba1[61]](_0xb491x19,_0x2ba1[36]);var _0xb491x29=[];_[_0x2ba1[45]](_0xb491x28,function(_0xb491x1d,_0xb491x2a){var _0xb491x2b=[];_[_0x2ba1[45]](_0xb491x1d,function(_0xb491x2c){_0xb491x2b=_[_0x2ba1[63]](_0xb491x2b,_[_0x2ba1[62]](_0xb491x2c.ReportJscriptyInputs,_0x2ba1[42]))});_0xb491x29[_0x2ba1[44]]({question_id:_[_0x2ba1[64]](_0xb491x1d)[_0x2ba1[36]],labels:_0xb491x2b})});_[_0x2ba1[45]](_0xb491x29,function(_0xb491x2d){if(Object[_0x2ba1[65]](_0xb491x27)[_0x2ba1[47]]){_[_0x2ba1[45]](_0xb491x2d[_0x2ba1[66]],function(_0xb491x2e){var _0xb491x2f=_[_0x2ba1[55]](_0xb491x27[_0x2ba1[67]],{value:_0xb491x2e});if(!_0xb491x2f){_0xb491x27[_0x2ba1[67]][_0x2ba1[44]]({value:_0xb491x2e,count:0,percentage:0});_0xb491x27[_0x2ba1[68]][_0x2ba1[44]](0);_0xb491x27[_0x2ba1[69]][_0x2ba1[44]](_0xb491x2e)}})}else {var _0xb491x30=[];_[_0x2ba1[45]](_0xb491x2d[_0x2ba1[66]],function(_0xb491x2e){_0xb491x30[_0x2ba1[44]]({value:_0xb491x2e,count:0,percentage:0})});var _0xb491x22=_0xb491x19[0];_0xb491x27={total:0,question_type:_0xb491x22[_0x2ba1[37]],question_id:_0xb491x22[_0x2ba1[36]],question_label:_0xb491x22[_0x2ba1[38]],question_text:_0xb491x22[_0x2ba1[39]],choices:_0xb491x30}}})};return _0xb491xb[_0x2ba1[12]](201)[_0x2ba1[11]](_0xb491x27)})[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[87]]=function(_0xb491x15,_0xb491xb){var _0xb491x3b;var _0xb491x25;var _0xb491x3c;return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_type:_0x2ba1[88]},attributes:[_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[73],_0x2ba1[74],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[73])),_0x2ba1[46]]],group:[_0x2ba1[36],_0x2ba1[73]]})[_0x2ba1[15]](function(_0xb491x1a){_0xb491x25=_0xb491x1a;return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_type:_0x2ba1[88],question_other_answer:{$ne:null}},attributes:[_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[50],_0x2ba1[49],_0x2ba1[74],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[49])),_0x2ba1[46]]],group:[_0x2ba1[36],_0x2ba1[49]]})})[_0x2ba1[15]](function(_0xb491x1a){_[_0x2ba1[45]](_0xb491x1a,function(_0xb491x2d){_0xb491x25[_0x2ba1[44]](_0xb491x2d)});var _0xb491x27=[];var _0xb491x35=_0x2ba1[70];var _0xb491x28=_[_0x2ba1[61]](_0xb491x25,_0x2ba1[36]);_[_0x2ba1[45]](_0xb491x28,function(_0xb491x31,_0xb491x2a){var _0xb491x32=0;var _0xb491x33=[];var _0xb491x34=[];var _0xb491x30=[];_[_0x2ba1[45]](_0xb491x31,function(_0xb491x2d){if(_0xb491x2d[_0x2ba1[73]]){_0xb491x30[_0x2ba1[44]]({value:_0xb491x2d[_0x2ba1[73]],count:_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]});_0xb491x32=_0xb491x32+_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]}else {if(_0xb491x2d[_0x2ba1[50]]){_0xb491x30[_0x2ba1[44]]({other_option:true,value:_0xb491x2d[_0x2ba1[49]],count:_0xb491x2d[_0x2ba1[72]][_0x2ba1[46]]})}}});var _0xb491x36=JSON[_0x2ba1[75]](_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[74]]);console[_0x2ba1[29]](_0xb491x36);if(_0xb491x36){_[_0x2ba1[45]](_0xb491x36[_0x2ba1[76]],function(_0xb491x37){var _0xb491x38=_[_0x2ba1[55]](_0xb491x30,{value:_0xb491x37});console[_0x2ba1[29]](_0x2ba1[77],_0xb491x37);console[_0x2ba1[29]](_0xb491x38);if(!_0xb491x38){_0xb491x30[_0x2ba1[44]]({value:_0xb491x37,count:0,percentage:0})}})};for(var _0xb491x39=0;_0xb491x39<_0xb491x30[_0x2ba1[47]];_0xb491x39++){_0xb491x30[_0xb491x39][_0x2ba1[79]]=(_0xb491x30[_0xb491x39][_0x2ba1[46]]/_0xb491x32)*100;if(!_0xb491x30[_0xb491x39][_0x2ba1[80]]){_0xb491x33[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[46]];_0xb491x34[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[81]]}};_0xb491x27[_0x2ba1[44]]({total:_0xb491x32,question_type:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[37]],question_id:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[36]],question_label:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[38]],question_text:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[39]],choices:_0xb491x30,graphData:_0xb491x33,graphLabels:_0xb491x34,graphType:_0xb491x35})});_0xb491x3b=_0xb491x27;return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_type:_0x2ba1[83]},attributes:[_0x2ba1[25],_0x2ba1[37],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[73]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x2ba1[41],input_value:_0x2ba1[86]},{input_type:{$ne:_0x2ba1[41]},input_value:{$ne:null}}]},attributes:[_0x2ba1[42],_0x2ba1[43],_0x2ba1[40],[sequelize[_0x2ba1[85]](_0x2ba1[46],sequelize[_0x2ba1[84]](_0x2ba1[42])),_0x2ba1[46]]]}],group:[_0x2ba1[36],_0x2ba1[42]]})})[_0x2ba1[15]](function(_0xb491x3e){var _0xb491x27=[];var _0xb491x28=_[_0x2ba1[61]](_0xb491x3e,_0x2ba1[36]);_[_0x2ba1[45]](_0xb491x28,function(_0xb491x31,_0xb491x2a){var _0xb491x30=[];var _0xb491x32=0;var _0xb491x33=[];var _0xb491x3f=[];var _0xb491x34=[];var _0xb491x35=_0x2ba1[70];_[_0x2ba1[45]](_0xb491x31,function(_0xb491x2d){var _0xb491x40=_0xb491x2d;_[_0x2ba1[45]](_0xb491x40.ReportJscriptyInputs,function(_0xb491x22){_0xb491x30[_0x2ba1[44]]({checkbox:(_0xb491x22[_0x2ba1[40]]==_0x2ba1[41])?true:false,value:_0xb491x22[_0x2ba1[42]],count:_0xb491x22[_0x2ba1[72]][_0x2ba1[46]]});_0xb491x32=_0xb491x32+_0xb491x22[_0x2ba1[72]][_0x2ba1[46]]})});for(var _0xb491x39=0;_0xb491x39<_0xb491x30[_0x2ba1[47]];_0xb491x39++){if(_0xb491x30[_0xb491x39][_0x2ba1[41]]){_0xb491x35=_0x2ba1[78]};_0xb491x30[_0xb491x39][_0x2ba1[79]]=(_0xb491x30[_0xb491x39][_0x2ba1[46]]/_0xb491x32)*100;_0xb491x33[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[46]];_0xb491x34[_0xb491x39]=_0xb491x30[_0xb491x39][_0x2ba1[81]]};_0xb491x3b[_0x2ba1[44]]({total:_0xb491x32,question_type:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[37]],question_id:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[36]],question_label:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[38]],question_text:_[_0x2ba1[64]](_0xb491x31)[_0x2ba1[39]],choices:_0xb491x30,graphData:_0xb491x33,graphLabels:_0xb491x34,graphType:_0xb491x35})});return ReportJscriptyQuestion[_0x2ba1[57]]({where:{projectId:_0xb491x15[_0x2ba1[26]][_0x2ba1[25]],question_type:_0x2ba1[83]},attributes:[_0x2ba1[25],_0x2ba1[36],_0x2ba1[38],_0x2ba1[39],_0x2ba1[37]],include:[{model:ReportJscriptyInput,attributes:[_0x2ba1[42]]}]})})[_0x2ba1[15]](function(_0xb491x19){var _0xb491x28=_[_0x2ba1[61]](_0xb491x19,_0x2ba1[36]);var _0xb491x29=[];_[_0x2ba1[45]](_0xb491x28,function(_0xb491x1d,_0xb491x2a){var _0xb491x2b=[];_[_0x2ba1[45]](_0xb491x1d,function(_0xb491x2c){_0xb491x2b=_[_0x2ba1[63]](_0xb491x2b,_[_0x2ba1[62]](_0xb491x2c.ReportJscriptyInputs,_0x2ba1[42]))});_0xb491x29[_0x2ba1[44]]({question_text:_[_0x2ba1[64]](_0xb491x1d)[_0x2ba1[39]],question_type:_[_0x2ba1[64]](_0xb491x1d)[_0x2ba1[37]],question_label:_[_0x2ba1[64]](_0xb491x1d)[_0x2ba1[38]],question_id:_[_0x2ba1[64]](_0xb491x1d)[_0x2ba1[36]],labels:_0xb491x2b})});_[_0x2ba1[45]](_0xb491x29,function(_0xb491x2d){var _0xb491x1d=_[_0x2ba1[55]](_0xb491x3b,{"\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64":_0xb491x2d[_0x2ba1[36]]});if(_0xb491x1d){var _0xb491x3d;_[_0x2ba1[45]](_0xb491x2d[_0x2ba1[66]],function(_0xb491x2e){var _0xb491x2f=_[_0x2ba1[55]](_0xb491x1d[_0x2ba1[67]],{value:_0xb491x2e});if(!_0xb491x2f){_0xb491x1d[_0x2ba1[67]][_0x2ba1[44]]({value:_0xb491x2e,count:0,percentage:0});_0xb491x1d[_0x2ba1[68]][_0x2ba1[44]](0);_0xb491x1d[_0x2ba1[69]][_0x2ba1[44]](_0xb491x2e)}})}else {var _0xb491x30=[];_[_0x2ba1[45]](_0xb491x2d[_0x2ba1[66]],function(_0xb491x2e){_0xb491x30[_0x2ba1[44]]({value:_0xb491x2e,count:0,percentage:0})});_0xb491x3b[_0x2ba1[44]]({total:0,question_type:_0xb491x2d[_0x2ba1[37]],question_id:_0xb491x2d[_0x2ba1[36]],question_label:_0xb491x2d[_0x2ba1[38]],question_text:_0xb491x2d[_0x2ba1[39]],choices:_0xb491x30})}});return _0xb491xb[_0x2ba1[12]](201)[_0x2ba1[11]](_0xb491x3b)})[_0x2ba1[19]](function(_0xb491xc){console[_0x2ba1[29]](_0xb491xc);return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[89]]=function(_0xb491x15,_0xb491xb){return JscriptyProject[_0x2ba1[89]](_0xb491x15[_0x2ba1[96]])[_0x2ba1[15]](function(_0xb491x18){return _0xb491xb[_0x2ba1[12]](201)[_0x2ba1[11]](_0xb491x18)})[_0x2ba1[19]](sequelize.UniqueConstraintError,function(_0xb491xc){if(_0xb491xc[_0x2ba1[91]][_0x2ba1[90]]){_0xb491xc[_0x2ba1[92]]=_0x2ba1[93];_0xb491xc[_0x2ba1[94]]=_0x2ba1[95]};return handleError(_0xb491xb,_0xb491xc)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[97]]=function(_0xb491x15,_0xb491xb){return ReportJscriptySession[_0x2ba1[89]](_0xb491x15[_0x2ba1[96]])[_0x2ba1[15]](function(_0xb491x41){return _0xb491xb[_0x2ba1[12]](201)[_0x2ba1[11]](_0xb491x41)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[98]]=function(_0xb491x15,_0xb491xb){return ReportJscriptyQuestion[_0x2ba1[17]]({where:{sessionId:_0xb491x15[_0x2ba1[26]][_0x2ba1[54]]}})[_0x2ba1[15]](function(){var _0xb491x42=[];for(var _0xb491x39=0;_0xb491x39<_0xb491x15[_0x2ba1[96]][_0x2ba1[47]];_0xb491x39++){_0xb491x42[_0xb491x39]=ReportJscriptyQuestion[_0x2ba1[89]](_0xb491x15[_0x2ba1[96]][_0xb491x39],{include:[{model:ReportJscriptyInput}]})};return Promise[_0x2ba1[99]](_0xb491x42)})[_0x2ba1[15]](function(_0xb491x3a){return _0xb491xb[_0x2ba1[12]](201)[_0x2ba1[11]](_0xb491x3a)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[100]]=function(_0xb491x15,_0xb491xb){if(_0xb491x15[_0x2ba1[96]][_0x2ba1[25]]){delete _0xb491x15[_0x2ba1[96]][_0x2ba1[25]]};return JscriptyProject[_0x2ba1[27]](_0xb491x15[_0x2ba1[26]][_0x2ba1[25]])[_0x2ba1[15]](function(_0xb491x18){if(!_0xb491x18){return _0xb491xb[_0x2ba1[24]](404)};var _0xb491x13=_[_0x2ba1[101]](_0xb491x18,_0xb491x15[_0x2ba1[96]]);return _0xb491x13[_0x2ba1[102]]()})[_0x2ba1[15]](function(_0xb491x18){return _0xb491xb[_0x2ba1[12]](200)[_0x2ba1[11]](_0xb491x18)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[103]]=function(_0xb491x15,_0xb491xb){return ReportJscriptySession[_0x2ba1[27]](_0xb491x15[_0x2ba1[26]][_0x2ba1[54]])[_0x2ba1[15]](function(_0xb491x1b){if(!_0xb491x1b){return _0xb491xb[_0x2ba1[24]](404)};var _0xb491x13=_[_0x2ba1[101]](_0xb491x1b,_0xb491x15[_0x2ba1[96]]);return _0xb491x13[_0x2ba1[102]]()})[_0x2ba1[15]](function(_0xb491x41){return _0xb491xb[_0x2ba1[12]](200)[_0x2ba1[11]](_0xb491x41)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[17]]=function(_0xb491x15,_0xb491xb){return JscriptyProject[_0x2ba1[27]](_0xb491x15[_0x2ba1[26]][_0x2ba1[25]])[_0x2ba1[15]](function(_0xb491x18){if(!_0xb491x18){return _0xb491xb[_0x2ba1[24]](404)};return _0xb491x18[_0x2ba1[17]]()})[_0x2ba1[15]](function(){return _0xb491xb[_0x2ba1[24]](204)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[104]]=function(_0xb491x15,_0xb491xb){return ReportJscriptySession[_0x2ba1[55]]({where:{session_id:_0xb491x15[_0x2ba1[26]][_0x2ba1[54]]}})[_0x2ba1[15]](function(_0xb491x1b){if(!_0xb491x1b){return _0xb491xb[_0x2ba1[24]](404)};return _0xb491x1b[_0x2ba1[17]]()})[_0x2ba1[15]](function(){return _0xb491xb[_0x2ba1[24]](204)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[105]]=function(_0xb491x15,_0xb491xb){return JscriptyProject[_0x2ba1[17]]({where:{id:_0xb491x15[_0x2ba1[20]][_0x2ba1[106]]},individualHooks:true})[_0x2ba1[15]](function(){return _0xb491xb[_0x2ba1[24]](204)})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})};exports[_0x2ba1[107]]=function(_0xb491x15,_0xb491xb,_0xb491x16){return JscriptyProject[_0x2ba1[27]](_0xb491x15[_0x2ba1[26]][_0x2ba1[25]])[_0x2ba1[15]](function(_0xb491x18){if(!_0xb491x18){return _0xb491xb[_0x2ba1[24]](404)};console[_0x2ba1[29]](_0xb491x15[_0x2ba1[20]][_0x2ba1[108]]);_0xb491xb[_0x2ba1[112]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x2ba1[109]+_0xb491x15[_0x2ba1[20]][_0x2ba1[108]]+_0x2ba1[110],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x2ba1[111]});return _0xb491xb[_0x2ba1[11]](_0xb491x18[_0x2ba1[113]])})[_0x2ba1[19]](function(_0xb491xc){return handleError(_0xb491xb,_0xb491xc)})} \ No newline at end of file +var _0x910e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x78\x6D\x6C\x32\x6A\x73","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x51\x75\x65\x73\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\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","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x6C\x6F\x67","\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x41\x6E\x64\x49\x6E\x70\x75\x74","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73\x20\x69\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73","\x73\x65\x73\x73\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x65\x78\x74","\x69\x6E\x70\x75\x74\x5F\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x69\x6E\x70\x75\x74\x5F\x6C\x61\x62\x65\x6C","\x69\x6E\x70\x75\x74\x5F\x76\x61\x6C\x75\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x77\x73\x20\x71\x75\x65\x73\x74\x69\x6F\x6E","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x61\x6E\x73\x77\x65\x72","\x69\x6E\x70\x75\x74\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x66\x69\x6E\x64","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x67\x72\x6F\x75\x70\x42\x79","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x6C\x61\x73\x74","\x6B\x65\x79\x73","\x6C\x61\x62\x65\x6C\x73","\x63\x68\x6F\x69\x63\x65\x73","\x67\x72\x61\x70\x68\x44\x61\x74\x61","\x67\x72\x61\x70\x68\x4C\x61\x62\x65\x6C\x73","\x50\x69\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x6F\x70\x74\x69\x6F\x6E","\x50\x6F\x6C\x61\x72\x41\x72\x65\x61","\x70\x65\x72\x63\x65\x6E\x74\x61\x67\x65","\x6F\x74\x68\x65\x72\x5F\x6F\x70\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64","\x69\x6E\x70\x75\x74","\x63\x6F\x6C","\x66\x6E","\x31","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x50\x72\x6F\x6A\x65\x63\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\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\x45\x58\x49\x53\x54\x5F\x50\x52\x4F\x4A\x45\x43\x54","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x61\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0x910e[0];var xml=require(_0x910e[1]);var _=require(_0x910e[2]);var JscriptyProject=require(_0x910e[4])[_0x910e[3]];var Util=require(_0x910e[5]);var sequelize=require(_0x910e[4])[_0x910e[6]];var ReportJscriptySession=require(_0x910e[4])[_0x910e[7]];var ReportJscriptyQuestion=require(_0x910e[4])[_0x910e[8]];var ReportJscriptyInput=require(_0x910e[4])[_0x910e[9]];var Promise=require(_0x910e[10]);function handleError(_0x4dbbxb,_0x4dbbxc){return _0x4dbbxb[_0x910e[12]](500)[_0x910e[11]](_0x4dbbxc)}function responseWithResult(_0x4dbbxb,_0x4dbbxe){_0x4dbbxe=_0x4dbbxe||200;return function(_0x4dbbxf){if(_0x4dbbxf){_0x4dbbxb[_0x910e[12]](_0x4dbbxe)[_0x910e[13]](_0x4dbbxf)}}}function handleEntityNotFound(_0x4dbbxb){return function(_0x4dbbxf){if(!_0x4dbbxf){_0x4dbbxb[_0x910e[12]](404)[_0x910e[14]]();return null};return _0x4dbbxf}}function saveUpdates(_0x4dbbx12){return function(_0x4dbbxf){return _0x4dbbxf[_0x910e[16]](_0x4dbbx12)[_0x910e[15]](function(_0x4dbbx13){return _0x4dbbx13})}}function removeEntity(_0x4dbbxb){return function(_0x4dbbxf){if(_0x4dbbxf){return _0x4dbbxf[_0x910e[17]]()[_0x910e[15]](function(){_0x4dbbxb[_0x910e[12]](204)[_0x910e[14]]()})}}}exports[_0x910e[18]]=function(_0x4dbbx15,_0x4dbbxb,_0x4dbbx16){return JscriptyProject[_0x910e[22]](Util[_0x910e[21]](_0x4dbbx15[_0x910e[20]]))[_0x910e[15]](function(_0x4dbbx17){_0x4dbbxb[_0x910e[12]](200)[_0x910e[11]](_0x4dbbx17)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[23]]=function(_0x4dbbx15,_0x4dbbxb){return JscriptyProject[_0x910e[27]](_0x4dbbx15[_0x910e[26]][_0x910e[25]])[_0x910e[15]](function(_0x4dbbx18){if(!_0x4dbbx18){return _0x4dbbxb[_0x910e[24]](404)};return _0x4dbbxb[_0x910e[11]](_0x4dbbx18)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[28]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptySession[_0x910e[31]]({method:[_0x910e[30],_0x4dbbx15[_0x910e[26]][_0x910e[25]]]})[_0x910e[22]](Util[_0x910e[21]](_0x4dbbx15[_0x910e[20]]))[_0x910e[15]](handleEntityNotFound(_0x4dbbxb))[_0x910e[15]](responseWithResult(_0x4dbbxb))[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[32]]=function(_0x4dbbx15,_0x4dbbxb){var _0x4dbbx19={count:0,rows:[]};return ReportJscriptySession[_0x910e[31]]({method:[_0x910e[52],_0x4dbbx15[_0x910e[26]][_0x910e[25]]]})[_0x910e[22]](Util[_0x910e[21]](_0x4dbbx15[_0x910e[20]]))[_0x910e[15]](function(_0x4dbbx1a){console[_0x910e[29]](_0x910e[48],_0x4dbbx1a[_0x910e[34]]);_[_0x910e[45]](_0x4dbbx1a[_0x910e[34]],function(_0x4dbbx1b){var _0x4dbbx1c=_0x4dbbx1b[_0x910e[35]];_[_0x910e[45]](_0x4dbbx1b.ReportJscriptyQuestions,function(_0x4dbbx1d){var _0x4dbbx1e=_0x4dbbx1d[_0x910e[36]];var _0x4dbbx1f=_0x4dbbx1d[_0x910e[37]];var _0x4dbbx20=_0x4dbbx1d[_0x910e[38]];var _0x4dbbx23=_0x4dbbx1d[_0x910e[49]];var _0x4dbbx24=_0x4dbbx1d[_0x910e[50]];var _0x4dbbx21=_0x4dbbx1d[_0x910e[39]];_0x4dbbx19[_0x910e[34]][_0x910e[44]]({session_id:_0x4dbbx1c,question_id:_0x4dbbx1e,question_label:_0x4dbbx20,question_text:_0x4dbbx21,input_label:_0x4dbbx23,input_value:_0x4dbbx24})})});_0x4dbbx19[_0x910e[46]]=_0x4dbbx19[_0x910e[34]][_0x910e[47]];return ReportJscriptySession[_0x910e[31]]({method:[_0x910e[51],_0x4dbbx15[_0x910e[26]][_0x910e[25]]]})[_0x910e[22]](Util[_0x910e[21]](_0x4dbbx15[_0x910e[20]]))})[_0x910e[15]](function(_0x4dbbx1a){console[_0x910e[29]](_0x910e[33],_0x4dbbx1a[_0x910e[34]]);_[_0x910e[45]](_0x4dbbx1a[_0x910e[34]],function(_0x4dbbx1b){var _0x4dbbx1c=_0x4dbbx1b[_0x910e[35]];_[_0x910e[45]](_0x4dbbx1b.ReportJscriptyQuestions,function(_0x4dbbx1d){var _0x4dbbx1e=_0x4dbbx1d[_0x910e[36]];var _0x4dbbx1f=_0x4dbbx1d[_0x910e[37]];var _0x4dbbx20=_0x4dbbx1d[_0x910e[38]];var _0x4dbbx21=_0x4dbbx1d[_0x910e[39]];_[_0x910e[45]](_0x4dbbx1d.ReportJscriptyInputs,function(_0x4dbbx22){if(_0x4dbbx22[_0x910e[40]]!=_0x910e[41]){_0x4dbbx19[_0x910e[34]][_0x910e[44]]({session_id:_0x4dbbx1c,question_type:_0x4dbbx1f,question_id:_0x4dbbx1e,question_label:_0x4dbbx20,question_text:_0x4dbbx21,input_label:_0x4dbbx22[_0x910e[42]],input_value:_0x4dbbx22[_0x910e[43]]})}})})});_0x4dbbx19[_0x910e[46]]=_0x4dbbx19[_0x910e[34]][_0x910e[47]];return _0x4dbbx19})[_0x910e[15]](handleEntityNotFound(_0x4dbbxb))[_0x910e[15]](responseWithResult(_0x4dbbxb))[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[53]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptySession[_0x910e[55]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],session_id:_0x4dbbx15[_0x910e[26]][_0x910e[54]]},include:[{model:ReportJscriptyQuestion,include:[{model:ReportJscriptyInput}]}]})[_0x910e[15]](handleEntityNotFound(_0x4dbbxb))[_0x910e[15]](responseWithResult(_0x4dbbxb))[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[56]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]]},include:[{model:ReportJscriptyInput}]})[_0x910e[15]](function(_0x4dbbx25){if(!_0x4dbbx25){return _0x4dbbxb[_0x910e[24]](404)};return _0x4dbbxb[_0x910e[12]](200)[_0x910e[11]](_0x4dbbx25)})[_0x910e[15]](handleEntityNotFound(_0x4dbbxb))[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[58]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptyQuestion[_0x910e[31]]({method:[_0x910e[59],_0x4dbbx15[_0x910e[26]][_0x910e[25]]]})[_0x910e[22]](Util[_0x910e[21]](_0x4dbbx15[_0x910e[20]]))[_0x910e[15]](handleEntityNotFound(_0x4dbbxb))[_0x910e[15]](function(_0x4dbbx26){return _0x4dbbxb[_0x910e[12]](200)[_0x910e[11]](_0x4dbbx26)})[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[60]]=function(_0x4dbbx15,_0x4dbbxb){var _0x4dbbx27={};var _0x4dbbx25;return ReportJscriptyQuestion[_0x910e[55]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_id:_0x4dbbx15[_0x910e[26]][_0x910e[82]]},attributes:[_0x910e[25],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[37]]})[_0x910e[15]](function(_0x4dbbx3a){if(_0x4dbbx3a[_0x910e[72]][_0x910e[37]]==_0x910e[83]){return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_id:_0x4dbbx15[_0x910e[26]][_0x910e[82]]},attributes:[_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[39]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x910e[41],input_value:_0x910e[86]},{input_type:{$ne:_0x910e[41]},input_value:{$ne:null}}]},attributes:[_0x910e[42],_0x910e[43],_0x910e[40],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[42])),_0x910e[46]]]}],group:[_0x910e[36],_0x910e[42]]})}else {return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_id:_0x4dbbx15[_0x910e[26]][_0x910e[82]]},attributes:[_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[74],_0x910e[73],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[73])),_0x910e[46]]],group:[_0x910e[36],_0x910e[73]]})}})[_0x910e[15]](function(_0x4dbbx1a){_0x4dbbx25=_0x4dbbx1a;return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_id:_0x4dbbx15[_0x910e[26]][_0x910e[82]],question_other_answer:{$ne:null}},attributes:[_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[74],_0x910e[39],_0x910e[50],_0x910e[49],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[49])),_0x910e[46]]],group:[_0x910e[36],_0x910e[49]]})})[_0x910e[15]](function(_0x4dbbx1a){_[_0x910e[45]](_0x4dbbx1a,function(_0x4dbbx2d){_0x4dbbx25[_0x910e[44]](_0x4dbbx2d)});var _0x4dbbx28=_[_0x910e[61]](_0x4dbbx25,_0x910e[36]);_[_0x910e[45]](_0x4dbbx28,function(_0x4dbbx31,_0x4dbbx2a){var _0x4dbbx30=[];var _0x4dbbx32=0;var _0x4dbbx33=[];var _0x4dbbx34=[];var _0x4dbbx35=_0x910e[70];_[_0x910e[45]](_0x4dbbx31,function(_0x4dbbx2d){if(_0x4dbbx2d[_0x910e[71]]){_[_0x910e[45]](_0x4dbbx2d.ReportJscriptyInputs,function(_0x4dbbx22){_0x4dbbx30[_0x910e[44]]({checkbox:(_0x4dbbx22[_0x910e[40]]==_0x910e[41])?true:false,value:_0x4dbbx22[_0x910e[42]],count:_0x4dbbx22[_0x910e[72]][_0x910e[46]]});_0x4dbbx32=_0x4dbbx32+_0x4dbbx22[_0x910e[72]][_0x910e[46]]})}else {if(_0x4dbbx2d[_0x910e[73]]){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx2d[_0x910e[73]],count:_0x4dbbx2d[_0x910e[72]][_0x910e[46]]});_0x4dbbx32=_0x4dbbx32+_0x4dbbx2d[_0x910e[72]][_0x910e[46]]}else {if(_0x4dbbx2d[_0x910e[50]]){_0x4dbbx30[_0x910e[44]]({other_option:true,value:_0x4dbbx2d[_0x910e[49]],count:_0x4dbbx2d[_0x910e[72]][_0x910e[46]]})}}}});var _0x4dbbx36=JSON[_0x910e[75]](_[_0x910e[64]](_0x4dbbx31)[_0x910e[74]]);console[_0x910e[29]](_0x4dbbx36);if(_0x4dbbx36){_[_0x910e[45]](_0x4dbbx36[_0x910e[76]],function(_0x4dbbx37){var _0x4dbbx38=_[_0x910e[55]](_0x4dbbx30,{value:_0x4dbbx37});console[_0x910e[29]](_0x910e[77],_0x4dbbx37);console[_0x910e[29]](_0x4dbbx38);if(!_0x4dbbx38){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx37,count:0,percentage:0})}})};for(var _0x4dbbx39=0;_0x4dbbx39<_0x4dbbx30[_0x910e[47]];_0x4dbbx39++){if(_0x4dbbx30[_0x4dbbx39][_0x910e[41]]){_0x4dbbx35=_0x910e[78]};_0x4dbbx30[_0x4dbbx39][_0x910e[79]]=(_0x4dbbx30[_0x4dbbx39][_0x910e[46]]/_0x4dbbx32)*100;if(!_0x4dbbx30[_0x4dbbx39][_0x910e[80]]){_0x4dbbx33[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[46]];_0x4dbbx34[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[81]]}};_0x4dbbx27={total:_0x4dbbx32,question_type:_[_0x910e[64]](_0x4dbbx31)[_0x910e[37]],question_id:_[_0x910e[64]](_0x4dbbx31)[_0x910e[36]],question_label:_[_0x910e[64]](_0x4dbbx31)[_0x910e[38]],question_text:_[_0x910e[64]](_0x4dbbx31)[_0x910e[39]],choices:_0x4dbbx30,graphData:_0x4dbbx33,graphLabels:_0x4dbbx34,graphType:_0x4dbbx35}});return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_id:_0x4dbbx15[_0x910e[26]][_0x910e[82]],question_type:_0x910e[83]},attributes:[_0x910e[25],_0x910e[36],_0x910e[38],_0x910e[39]],include:[{model:ReportJscriptyInput,attributes:[_0x910e[42]]}]})})[_0x910e[15]](function(_0x4dbbx19){if(_0x4dbbx19){var _0x4dbbx28=_[_0x910e[61]](_0x4dbbx19,_0x910e[36]);var _0x4dbbx29=[];_[_0x910e[45]](_0x4dbbx28,function(_0x4dbbx1d,_0x4dbbx2a){var _0x4dbbx2b=[];_[_0x910e[45]](_0x4dbbx1d,function(_0x4dbbx2c){_0x4dbbx2b=_[_0x910e[63]](_0x4dbbx2b,_[_0x910e[62]](_0x4dbbx2c.ReportJscriptyInputs,_0x910e[42]))});_0x4dbbx29[_0x910e[44]]({question_id:_[_0x910e[64]](_0x4dbbx1d)[_0x910e[36]],labels:_0x4dbbx2b})});_[_0x910e[45]](_0x4dbbx29,function(_0x4dbbx2d){if(Object[_0x910e[65]](_0x4dbbx27)[_0x910e[47]]){_[_0x910e[45]](_0x4dbbx2d[_0x910e[66]],function(_0x4dbbx2e){var _0x4dbbx2f=_[_0x910e[55]](_0x4dbbx27[_0x910e[67]],{value:_0x4dbbx2e});if(!_0x4dbbx2f){_0x4dbbx27[_0x910e[67]][_0x910e[44]]({value:_0x4dbbx2e,count:0,percentage:0});_0x4dbbx27[_0x910e[68]][_0x910e[44]](0);_0x4dbbx27[_0x910e[69]][_0x910e[44]](_0x4dbbx2e)}})}else {var _0x4dbbx30=[];_[_0x910e[45]](_0x4dbbx2d[_0x910e[66]],function(_0x4dbbx2e){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx2e,count:0,percentage:0})});var _0x4dbbx22=_0x4dbbx19[0];_0x4dbbx27={total:0,question_type:_0x4dbbx22[_0x910e[37]],question_id:_0x4dbbx22[_0x910e[36]],question_label:_0x4dbbx22[_0x910e[38]],question_text:_0x4dbbx22[_0x910e[39]],choices:_0x4dbbx30}}})};return _0x4dbbxb[_0x910e[12]](201)[_0x910e[11]](_0x4dbbx27)})[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[87]]=function(_0x4dbbx15,_0x4dbbxb){var _0x4dbbx3b;var _0x4dbbx25;var _0x4dbbx3c;return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_type:_0x910e[88]},attributes:[_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[73],_0x910e[74],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[73])),_0x910e[46]]],group:[_0x910e[36],_0x910e[73]]})[_0x910e[15]](function(_0x4dbbx1a){_0x4dbbx25=_0x4dbbx1a;return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_type:_0x910e[88],question_other_answer:{$ne:null}},attributes:[_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[50],_0x910e[49],_0x910e[74],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[49])),_0x910e[46]]],group:[_0x910e[36],_0x910e[49]]})})[_0x910e[15]](function(_0x4dbbx1a){_[_0x910e[45]](_0x4dbbx1a,function(_0x4dbbx2d){_0x4dbbx25[_0x910e[44]](_0x4dbbx2d)});var _0x4dbbx27=[];var _0x4dbbx35=_0x910e[70];var _0x4dbbx28=_[_0x910e[61]](_0x4dbbx25,_0x910e[36]);_[_0x910e[45]](_0x4dbbx28,function(_0x4dbbx31,_0x4dbbx2a){var _0x4dbbx32=0;var _0x4dbbx33=[];var _0x4dbbx34=[];var _0x4dbbx30=[];_[_0x910e[45]](_0x4dbbx31,function(_0x4dbbx2d){if(_0x4dbbx2d[_0x910e[73]]){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx2d[_0x910e[73]],count:_0x4dbbx2d[_0x910e[72]][_0x910e[46]]});_0x4dbbx32=_0x4dbbx32+_0x4dbbx2d[_0x910e[72]][_0x910e[46]]}else {if(_0x4dbbx2d[_0x910e[50]]){_0x4dbbx30[_0x910e[44]]({other_option:true,value:_0x4dbbx2d[_0x910e[49]],count:_0x4dbbx2d[_0x910e[72]][_0x910e[46]]})}}});var _0x4dbbx36=JSON[_0x910e[75]](_[_0x910e[64]](_0x4dbbx31)[_0x910e[74]]);console[_0x910e[29]](_0x4dbbx36);if(_0x4dbbx36){_[_0x910e[45]](_0x4dbbx36[_0x910e[76]],function(_0x4dbbx37){var _0x4dbbx38=_[_0x910e[55]](_0x4dbbx30,{value:_0x4dbbx37});console[_0x910e[29]](_0x910e[77],_0x4dbbx37);console[_0x910e[29]](_0x4dbbx38);if(!_0x4dbbx38){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx37,count:0,percentage:0})}})};for(var _0x4dbbx39=0;_0x4dbbx39<_0x4dbbx30[_0x910e[47]];_0x4dbbx39++){_0x4dbbx30[_0x4dbbx39][_0x910e[79]]=(_0x4dbbx30[_0x4dbbx39][_0x910e[46]]/_0x4dbbx32)*100;if(!_0x4dbbx30[_0x4dbbx39][_0x910e[80]]){_0x4dbbx33[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[46]];_0x4dbbx34[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[81]]}};_0x4dbbx27[_0x910e[44]]({total:_0x4dbbx32,question_type:_[_0x910e[64]](_0x4dbbx31)[_0x910e[37]],question_id:_[_0x910e[64]](_0x4dbbx31)[_0x910e[36]],question_label:_[_0x910e[64]](_0x4dbbx31)[_0x910e[38]],question_text:_[_0x910e[64]](_0x4dbbx31)[_0x910e[39]],choices:_0x4dbbx30,graphData:_0x4dbbx33,graphLabels:_0x4dbbx34,graphType:_0x4dbbx35})});_0x4dbbx3b=_0x4dbbx27;return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_type:_0x910e[83]},attributes:[_0x910e[25],_0x910e[37],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[73]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x910e[41],input_value:_0x910e[86]},{input_type:{$ne:_0x910e[41]},input_value:{$ne:null}}]},attributes:[_0x910e[42],_0x910e[43],_0x910e[40],[sequelize[_0x910e[85]](_0x910e[46],sequelize[_0x910e[84]](_0x910e[42])),_0x910e[46]]]}],group:[_0x910e[36],_0x910e[42]]})})[_0x910e[15]](function(_0x4dbbx3e){var _0x4dbbx27=[];var _0x4dbbx28=_[_0x910e[61]](_0x4dbbx3e,_0x910e[36]);_[_0x910e[45]](_0x4dbbx28,function(_0x4dbbx31,_0x4dbbx2a){var _0x4dbbx30=[];var _0x4dbbx32=0;var _0x4dbbx33=[];var _0x4dbbx3f=[];var _0x4dbbx34=[];var _0x4dbbx35=_0x910e[70];_[_0x910e[45]](_0x4dbbx31,function(_0x4dbbx2d){var _0x4dbbx40=_0x4dbbx2d;_[_0x910e[45]](_0x4dbbx40.ReportJscriptyInputs,function(_0x4dbbx22){_0x4dbbx30[_0x910e[44]]({checkbox:(_0x4dbbx22[_0x910e[40]]==_0x910e[41])?true:false,value:_0x4dbbx22[_0x910e[42]],count:_0x4dbbx22[_0x910e[72]][_0x910e[46]]});_0x4dbbx32=_0x4dbbx32+_0x4dbbx22[_0x910e[72]][_0x910e[46]]})});for(var _0x4dbbx39=0;_0x4dbbx39<_0x4dbbx30[_0x910e[47]];_0x4dbbx39++){if(_0x4dbbx30[_0x4dbbx39][_0x910e[41]]){_0x4dbbx35=_0x910e[78]};_0x4dbbx30[_0x4dbbx39][_0x910e[79]]=(_0x4dbbx30[_0x4dbbx39][_0x910e[46]]/_0x4dbbx32)*100;_0x4dbbx33[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[46]];_0x4dbbx34[_0x4dbbx39]=_0x4dbbx30[_0x4dbbx39][_0x910e[81]]};_0x4dbbx3b[_0x910e[44]]({total:_0x4dbbx32,question_type:_[_0x910e[64]](_0x4dbbx31)[_0x910e[37]],question_id:_[_0x910e[64]](_0x4dbbx31)[_0x910e[36]],question_label:_[_0x910e[64]](_0x4dbbx31)[_0x910e[38]],question_text:_[_0x910e[64]](_0x4dbbx31)[_0x910e[39]],choices:_0x4dbbx30,graphData:_0x4dbbx33,graphLabels:_0x4dbbx34,graphType:_0x4dbbx35})});return ReportJscriptyQuestion[_0x910e[57]]({where:{projectId:_0x4dbbx15[_0x910e[26]][_0x910e[25]],question_type:_0x910e[83]},attributes:[_0x910e[25],_0x910e[36],_0x910e[38],_0x910e[39],_0x910e[37]],include:[{model:ReportJscriptyInput,attributes:[_0x910e[42]]}]})})[_0x910e[15]](function(_0x4dbbx19){var _0x4dbbx28=_[_0x910e[61]](_0x4dbbx19,_0x910e[36]);var _0x4dbbx29=[];_[_0x910e[45]](_0x4dbbx28,function(_0x4dbbx1d,_0x4dbbx2a){var _0x4dbbx2b=[];_[_0x910e[45]](_0x4dbbx1d,function(_0x4dbbx2c){_0x4dbbx2b=_[_0x910e[63]](_0x4dbbx2b,_[_0x910e[62]](_0x4dbbx2c.ReportJscriptyInputs,_0x910e[42]))});_0x4dbbx29[_0x910e[44]]({question_text:_[_0x910e[64]](_0x4dbbx1d)[_0x910e[39]],question_type:_[_0x910e[64]](_0x4dbbx1d)[_0x910e[37]],question_label:_[_0x910e[64]](_0x4dbbx1d)[_0x910e[38]],question_id:_[_0x910e[64]](_0x4dbbx1d)[_0x910e[36]],labels:_0x4dbbx2b})});_[_0x910e[45]](_0x4dbbx29,function(_0x4dbbx2d){var _0x4dbbx1d=_[_0x910e[55]](_0x4dbbx3b,{"\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64":_0x4dbbx2d[_0x910e[36]]});if(_0x4dbbx1d){var _0x4dbbx3d;_[_0x910e[45]](_0x4dbbx2d[_0x910e[66]],function(_0x4dbbx2e){var _0x4dbbx2f=_[_0x910e[55]](_0x4dbbx1d[_0x910e[67]],{value:_0x4dbbx2e});if(!_0x4dbbx2f){_0x4dbbx1d[_0x910e[67]][_0x910e[44]]({value:_0x4dbbx2e,count:0,percentage:0});_0x4dbbx1d[_0x910e[68]][_0x910e[44]](0);_0x4dbbx1d[_0x910e[69]][_0x910e[44]](_0x4dbbx2e)}})}else {var _0x4dbbx30=[];_[_0x910e[45]](_0x4dbbx2d[_0x910e[66]],function(_0x4dbbx2e){_0x4dbbx30[_0x910e[44]]({value:_0x4dbbx2e,count:0,percentage:0})});_0x4dbbx3b[_0x910e[44]]({total:0,question_type:_0x4dbbx2d[_0x910e[37]],question_id:_0x4dbbx2d[_0x910e[36]],question_label:_0x4dbbx2d[_0x910e[38]],question_text:_0x4dbbx2d[_0x910e[39]],choices:_0x4dbbx30})}});return _0x4dbbxb[_0x910e[12]](201)[_0x910e[11]](_0x4dbbx3b)})[_0x910e[19]](function(_0x4dbbxc){console[_0x910e[29]](_0x4dbbxc);return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[89]]=function(_0x4dbbx15,_0x4dbbxb){return JscriptyProject[_0x910e[89]](_0x4dbbx15[_0x910e[96]])[_0x910e[15]](function(_0x4dbbx18){return _0x4dbbxb[_0x910e[12]](201)[_0x910e[11]](_0x4dbbx18)})[_0x910e[19]](sequelize.UniqueConstraintError,function(_0x4dbbxc){if(_0x4dbbxc[_0x910e[91]][_0x910e[90]]){_0x4dbbxc[_0x910e[92]]=_0x910e[93];_0x4dbbxc[_0x910e[94]]=_0x910e[95]};return handleError(_0x4dbbxb,_0x4dbbxc)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[97]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptySession[_0x910e[89]](_0x4dbbx15[_0x910e[96]])[_0x910e[15]](function(_0x4dbbx41){return _0x4dbbxb[_0x910e[12]](201)[_0x910e[11]](_0x4dbbx41)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[98]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptyQuestion[_0x910e[17]]({where:{sessionId:_0x4dbbx15[_0x910e[26]][_0x910e[54]]}})[_0x910e[15]](function(){var _0x4dbbx42=[];for(var _0x4dbbx39=0;_0x4dbbx39<_0x4dbbx15[_0x910e[96]][_0x910e[47]];_0x4dbbx39++){_0x4dbbx42[_0x4dbbx39]=ReportJscriptyQuestion[_0x910e[89]](_0x4dbbx15[_0x910e[96]][_0x4dbbx39],{include:[{model:ReportJscriptyInput}]})};return Promise[_0x910e[99]](_0x4dbbx42)})[_0x910e[15]](function(_0x4dbbx3a){return _0x4dbbxb[_0x910e[12]](201)[_0x910e[11]](_0x4dbbx3a)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[100]]=function(_0x4dbbx15,_0x4dbbxb){if(_0x4dbbx15[_0x910e[96]][_0x910e[25]]){delete _0x4dbbx15[_0x910e[96]][_0x910e[25]]};return JscriptyProject[_0x910e[27]](_0x4dbbx15[_0x910e[26]][_0x910e[25]])[_0x910e[15]](function(_0x4dbbx18){if(!_0x4dbbx18){return _0x4dbbxb[_0x910e[24]](404)};var _0x4dbbx13=_[_0x910e[101]](_0x4dbbx18,_0x4dbbx15[_0x910e[96]]);return _0x4dbbx13[_0x910e[102]]()})[_0x910e[15]](function(_0x4dbbx18){return _0x4dbbxb[_0x910e[12]](200)[_0x910e[11]](_0x4dbbx18)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[103]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptySession[_0x910e[27]](_0x4dbbx15[_0x910e[26]][_0x910e[54]])[_0x910e[15]](function(_0x4dbbx1b){if(!_0x4dbbx1b){return _0x4dbbxb[_0x910e[24]](404)};var _0x4dbbx13=_[_0x910e[101]](_0x4dbbx1b,_0x4dbbx15[_0x910e[96]]);return _0x4dbbx13[_0x910e[102]]()})[_0x910e[15]](function(_0x4dbbx41){return _0x4dbbxb[_0x910e[12]](200)[_0x910e[11]](_0x4dbbx41)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[17]]=function(_0x4dbbx15,_0x4dbbxb){return JscriptyProject[_0x910e[27]](_0x4dbbx15[_0x910e[26]][_0x910e[25]])[_0x910e[15]](function(_0x4dbbx18){if(!_0x4dbbx18){return _0x4dbbxb[_0x910e[24]](404)};return _0x4dbbx18[_0x910e[17]]()})[_0x910e[15]](function(){return _0x4dbbxb[_0x910e[24]](204)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[104]]=function(_0x4dbbx15,_0x4dbbxb){return ReportJscriptySession[_0x910e[55]]({where:{session_id:_0x4dbbx15[_0x910e[26]][_0x910e[54]]}})[_0x910e[15]](function(_0x4dbbx1b){if(!_0x4dbbx1b){return _0x4dbbxb[_0x910e[24]](404)};return _0x4dbbx1b[_0x910e[17]]()})[_0x910e[15]](function(){return _0x4dbbxb[_0x910e[24]](204)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[105]]=function(_0x4dbbx15,_0x4dbbxb){return JscriptyProject[_0x910e[17]]({where:{id:_0x4dbbx15[_0x910e[20]][_0x910e[106]]},individualHooks:true})[_0x910e[15]](function(){return _0x4dbbxb[_0x910e[24]](204)})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})};exports[_0x910e[107]]=function(_0x4dbbx15,_0x4dbbxb,_0x4dbbx16){return JscriptyProject[_0x910e[27]](_0x4dbbx15[_0x910e[26]][_0x910e[25]])[_0x910e[15]](function(_0x4dbbx18){if(!_0x4dbbx18){return _0x4dbbxb[_0x910e[24]](404)};console[_0x910e[29]](_0x4dbbx15[_0x910e[20]][_0x910e[108]]);_0x4dbbxb[_0x910e[112]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x910e[109]+_0x4dbbx15[_0x910e[20]][_0x910e[108]]+_0x910e[110],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x910e[111]});return _0x4dbbxb[_0x910e[11]](_0x4dbbx18[_0x910e[113]])})[_0x910e[19]](function(_0x4dbbxc){return handleError(_0x4dbbxb,_0x4dbbxc)})} \ No newline at end of file diff --git a/server/api/jscripty_project/jscripty_project.socket.js b/server/api/jscripty_project/jscripty_project.socket.js index d31acc9..ba2421c 100644 --- a/server/api/jscripty_project/jscripty_project.socket.js +++ b/server/api/jscripty_project/jscripty_project.socket.js @@ -1 +1 @@ -var _0x7770=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7770[0];var JscriptyProject=require(_0x7770[2])[_0x7770[1]];exports[_0x7770[3]]=function(_0xfa6fx2){JscriptyProject[_0x7770[4]](function(_0xfa6fx3){onSave(_0xfa6fx2,_0xfa6fx3)});JscriptyProject[_0x7770[5]](function(_0xfa6fx3){onRemove(_0xfa6fx2,_0xfa6fx3)})};function onSave(_0xfa6fx2,_0xfa6fx3,_0xfa6fx5){_0xfa6fx2[_0x7770[7]](_0x7770[6],_0xfa6fx3)}function onRemove(_0xfa6fx2,_0xfa6fx3,_0xfa6fx5){_0xfa6fx2[_0x7770[7]](_0x7770[8],_0xfa6fx3)} \ No newline at end of file +var _0x41e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x41e3[0];var JscriptyProject=require(_0x41e3[2])[_0x41e3[1]];exports[_0x41e3[3]]=function(_0x4818x2){JscriptyProject[_0x41e3[4]](function(_0x4818x3){onSave(_0x4818x2,_0x4818x3)});JscriptyProject[_0x41e3[5]](function(_0x4818x3){onRemove(_0x4818x2,_0x4818x3)})};function onSave(_0x4818x2,_0x4818x3,_0x4818x5){_0x4818x2[_0x41e3[7]](_0x41e3[6],_0x4818x3)}function onRemove(_0x4818x2,_0x4818x3,_0x4818x5){_0x4818x2[_0x41e3[7]](_0x41e3[8],_0x4818x3)} \ No newline at end of file diff --git a/server/api/license/index.js b/server/api/license/index.js index bed3fc3..0a38771 100644 --- a/server/api/license/index.js +++ b/server/api/license/index.js @@ -1 +1 @@ -var _0x1210=["\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\x6C\x69\x63\x65\x6E\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x1210[0];var express=require(_0x1210[1]);var auth=require(_0x1210[2]);var controller=require(_0x1210[3]);var router=express.Router();router[_0x1210[6]](_0x1210[4],controller[_0x1210[5]]);router[_0x1210[10]](_0x1210[7],auth[_0x1210[8]](),controller[_0x1210[9]]);module[_0x1210[11]]=router \ No newline at end of file +var _0x8b40=["\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\x6C\x69\x63\x65\x6E\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x8b40[0];var express=require(_0x8b40[1]);var auth=require(_0x8b40[2]);var controller=require(_0x8b40[3]);var router=express.Router();router[_0x8b40[6]](_0x8b40[4],controller[_0x8b40[5]]);router[_0x8b40[10]](_0x8b40[7],auth[_0x8b40[8]](),controller[_0x8b40[9]]);module[_0x8b40[11]]=router \ No newline at end of file diff --git a/server/api/license/license.controller.js b/server/api/license/license.controller.js index d40481e..ff37821 100644 --- a/server/api/license/license.controller.js +++ b/server/api/license/license.controller.js @@ -1 +1 @@ -var _0x1185=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\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","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x74\x6F\x6B\x65\x6E","\x67\x65\x74\x55\x75\x69\x64","\x6A\x73\x6F\x6E","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x65\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x71\x75\x65\x73\x74","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x50\x4F\x53\x54","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x2F\x72\x65\x71\x75\x65\x73\x74","\x62\x6F\x64\x79"];_0x1185[0];var _=require(_0x1185[1]);var rp=require(_0x1185[2]);var config=require(_0x1185[3]);var license=require(_0x1185[4]);var Settings=require(_0x1185[6])[_0x1185[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,sms:false,description:_0x1185[7]};function handleError(_0x3ac6x8,_0x3ac6x9){_0x3ac6x9=_0x3ac6x9||500;return function(_0x3ac6xa){_0x3ac6x8[_0x1185[9]](_0x3ac6x9)[_0x1185[8]](_0x3ac6xa)}}function responseWithResult(_0x3ac6x8,_0x3ac6x9){_0x3ac6x9=_0x3ac6x9||200;return function(_0x3ac6xc){if(_0x3ac6xc){try{if(_0x3ac6xc[_0x1185[10]]){_0x3ac6xc[_0x1185[11]][_0x1185[10]]=license[_0x1185[12]](_0x3ac6xc[_0x1185[11]][_0x1185[10]]);_0x3ac6xc[_0x1185[11]][_0x1185[10]]=JSON[_0x1185[13]](_0x3ac6xc[_0x1185[11]][_0x1185[10]])}else {_0x3ac6xc[_0x1185[11]][_0x1185[10]]=demoLicense}}catch(err){console[_0x1185[15]](_0x1185[14],err);_0x3ac6xc[_0x1185[11]][_0x1185[10]]=demoLicense};_0x3ac6xc[_0x1185[11]][_0x1185[10]][_0x1185[16]]=license[_0x1185[17]]();_0x3ac6x8[_0x1185[9]](_0x3ac6x9)[_0x1185[18]](_0x3ac6xc)}}}function handleEntityNotFound(_0x3ac6x8){return function(_0x3ac6xc){if(!_0x3ac6xc){_0x3ac6xc={dataValues:{license:demoLicense}};_0x3ac6xc[_0x1185[11]][_0x1185[10]][_0x1185[16]]=license[_0x1185[17]]();_0x3ac6x8[_0x1185[9]](201)[_0x1185[18]](_0x3ac6xc);return null};return _0x3ac6xc}}function saveUpdates(_0x3ac6xf){return function(_0x3ac6xc){return _0x3ac6xc[_0x1185[20]](_0x3ac6xf)[_0x1185[19]](function(_0x3ac6x10){return _0x3ac6x10})}}function removeEntity(_0x3ac6x8){return function(_0x3ac6xc){if(_0x3ac6xc){return _0x3ac6xc[_0x1185[22]]()[_0x1185[19]](function(){_0x3ac6x8[_0x1185[9]](204)[_0x1185[21]]()})}}}exports[_0x1185[23]]=function(_0x3ac6x12,_0x3ac6x8,_0x3ac6x13){return Settings[_0x1185[25]](1)[_0x1185[19]](handleEntityNotFound(_0x3ac6x8))[_0x1185[19]](responseWithResult(_0x3ac6x8))[_0x1185[24]](handleError(_0x3ac6x8))};exports[_0x1185[26]]=function(_0x3ac6x12,_0x3ac6x8){return rp({method:_0x1185[28],uri:config[_0x1185[29]]+_0x1185[30]+license[_0x1185[17]]()+_0x1185[31],body:_0x3ac6x12[_0x1185[32]],json:true})[_0x1185[19]](function(_0x3ac6x14){console[_0x1185[15]](_0x3ac6x14);_0x3ac6x8[_0x1185[9]](201)[_0x1185[8]](_0x3ac6x14)})[_0x1185[24]](function(_0x3ac6xa){console[_0x1185[15]](_0x3ac6xa);return _0x3ac6x8[_0x1185[9]](_0x3ac6xa[_0x1185[27]]||500)[_0x1185[8]](_0x3ac6xa)})} \ No newline at end of file +var _0x8d9a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\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","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x74\x6F\x6B\x65\x6E","\x67\x65\x74\x55\x75\x69\x64","\x6A\x73\x6F\x6E","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x65\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x71\x75\x65\x73\x74","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x50\x4F\x53\x54","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x2F\x72\x65\x71\x75\x65\x73\x74","\x62\x6F\x64\x79"];_0x8d9a[0];var _=require(_0x8d9a[1]);var rp=require(_0x8d9a[2]);var config=require(_0x8d9a[3]);var license=require(_0x8d9a[4]);var Settings=require(_0x8d9a[6])[_0x8d9a[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,sms:false,description:_0x8d9a[7]};function handleError(_0xd37cx8,_0xd37cx9){_0xd37cx9=_0xd37cx9||500;return function(_0xd37cxa){_0xd37cx8[_0x8d9a[9]](_0xd37cx9)[_0x8d9a[8]](_0xd37cxa)}}function responseWithResult(_0xd37cx8,_0xd37cx9){_0xd37cx9=_0xd37cx9||200;return function(_0xd37cxc){if(_0xd37cxc){try{if(_0xd37cxc[_0x8d9a[10]]){_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]]=license[_0x8d9a[12]](_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]]);_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]]=JSON[_0x8d9a[13]](_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]])}else {_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]]=demoLicense}}catch(err){console[_0x8d9a[15]](_0x8d9a[14],err);_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]]=demoLicense};_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]][_0x8d9a[16]]=license[_0x8d9a[17]]();_0xd37cx8[_0x8d9a[9]](_0xd37cx9)[_0x8d9a[18]](_0xd37cxc)}}}function handleEntityNotFound(_0xd37cx8){return function(_0xd37cxc){if(!_0xd37cxc){_0xd37cxc={dataValues:{license:demoLicense}};_0xd37cxc[_0x8d9a[11]][_0x8d9a[10]][_0x8d9a[16]]=license[_0x8d9a[17]]();_0xd37cx8[_0x8d9a[9]](201)[_0x8d9a[18]](_0xd37cxc);return null};return _0xd37cxc}}function saveUpdates(_0xd37cxf){return function(_0xd37cxc){return _0xd37cxc[_0x8d9a[20]](_0xd37cxf)[_0x8d9a[19]](function(_0xd37cx10){return _0xd37cx10})}}function removeEntity(_0xd37cx8){return function(_0xd37cxc){if(_0xd37cxc){return _0xd37cxc[_0x8d9a[22]]()[_0x8d9a[19]](function(){_0xd37cx8[_0x8d9a[9]](204)[_0x8d9a[21]]()})}}}exports[_0x8d9a[23]]=function(_0xd37cx12,_0xd37cx8,_0xd37cx13){return Settings[_0x8d9a[25]](1)[_0x8d9a[19]](handleEntityNotFound(_0xd37cx8))[_0x8d9a[19]](responseWithResult(_0xd37cx8))[_0x8d9a[24]](handleError(_0xd37cx8))};exports[_0x8d9a[26]]=function(_0xd37cx12,_0xd37cx8){return rp({method:_0x8d9a[28],uri:config[_0x8d9a[29]]+_0x8d9a[30]+license[_0x8d9a[17]]()+_0x8d9a[31],body:_0xd37cx12[_0x8d9a[32]],json:true})[_0x8d9a[19]](function(_0xd37cx14){console[_0x8d9a[15]](_0xd37cx14);_0xd37cx8[_0x8d9a[9]](201)[_0x8d9a[8]](_0xd37cx14)})[_0x8d9a[24]](function(_0xd37cxa){console[_0x8d9a[15]](_0xd37cxa);return _0xd37cx8[_0x8d9a[9]](_0xd37cxa[_0x8d9a[27]]||500)[_0x8d9a[8]](_0xd37cxa)})} \ No newline at end of file diff --git a/server/api/license/license.socket.js b/server/api/license/license.socket.js index 574516f..74f41ca 100644 --- a/server/api/license/license.socket.js +++ b/server/api/license/license.socket.js @@ -1 +1 @@ -var _0xe3ea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe3ea[0];exports[_0xe3ea[1]]=function(_0x94f5x1){};function onSave(_0x94f5x1,_0x94f5x3,_0x94f5x4){_0x94f5x1[_0xe3ea[3]](_0xe3ea[2],_0x94f5x3)}function onRemove(_0x94f5x1,_0x94f5x3,_0x94f5x4){_0x94f5x1[_0xe3ea[3]](_0xe3ea[4],_0x94f5x3)} \ No newline at end of file +var _0xe8b1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe8b1[0];exports[_0xe8b1[1]]=function(_0x5e64x1){};function onSave(_0x5e64x1,_0x5e64x3,_0x5e64x4){_0x5e64x1[_0xe8b1[3]](_0xe8b1[2],_0x5e64x3)}function onRemove(_0x5e64x1,_0x5e64x3,_0x5e64x4){_0x5e64x1[_0xe8b1[3]](_0xe8b1[4],_0x5e64x3)} \ No newline at end of file diff --git a/server/api/list/index.js b/server/api/list/index.js index 9ad5a26..7b56f04 100644 --- a/server/api/list/index.js +++ b/server/api/list/index.js @@ -1 +1 @@ -var _0x64e6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6C\x69\x73\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","\x68\x61\x73\x43\x6D","\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\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x69\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\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","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x64e6[0];var express=require(_0x64e6[1]);var controller=require(_0x64e6[2]);var auth=require(_0x64e6[3]);var license=require(_0x64e6[4]);var router=express.Router();router[_0x64e6[12]](_0x64e6[5],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8],_0x64e6[9]]),controller[_0x64e6[11]]);router[_0x64e6[12]](_0x64e6[13],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8],_0x64e6[9]]),controller[_0x64e6[14]]);router[_0x64e6[12]](_0x64e6[15],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8],_0x64e6[9]]),controller[_0x64e6[16]]);router[_0x64e6[12]](_0x64e6[17],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8],_0x64e6[9]]),controller[_0x64e6[18]]);router[_0x64e6[12]](_0x64e6[19],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8],_0x64e6[9]]),controller[_0x64e6[20]]);router[_0x64e6[22]](_0x64e6[5],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[21]]);router[_0x64e6[22]](_0x64e6[17],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[23]]);router[_0x64e6[22]](_0x64e6[15],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[24]]);router[_0x64e6[26]](_0x64e6[13],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[25]]);router[_0x64e6[26]](_0x64e6[19],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[27]]);router[_0x64e6[29]](_0x64e6[17],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[28]]);router[_0x64e6[29]](_0x64e6[5],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[30]]);router[_0x64e6[29]](_0x64e6[19],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[31]]);router[_0x64e6[29]](_0x64e6[13],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[32]]);router[_0x64e6[29]](_0x64e6[33],auth[_0x64e6[6]](),license[_0x64e6[7]](),auth[_0x64e6[10]]([5],[_0x64e6[8]]),controller[_0x64e6[34]]);module[_0x64e6[35]]=router \ No newline at end of file +var _0x52c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6C\x69\x73\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","\x68\x61\x73\x43\x6D","\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\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x69\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\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","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x52c6[0];var express=require(_0x52c6[1]);var controller=require(_0x52c6[2]);var auth=require(_0x52c6[3]);var license=require(_0x52c6[4]);var router=express.Router();router[_0x52c6[12]](_0x52c6[5],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8],_0x52c6[9]]),controller[_0x52c6[11]]);router[_0x52c6[12]](_0x52c6[13],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8],_0x52c6[9]]),controller[_0x52c6[14]]);router[_0x52c6[12]](_0x52c6[15],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8],_0x52c6[9]]),controller[_0x52c6[16]]);router[_0x52c6[12]](_0x52c6[17],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8],_0x52c6[9]]),controller[_0x52c6[18]]);router[_0x52c6[12]](_0x52c6[19],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8],_0x52c6[9]]),controller[_0x52c6[20]]);router[_0x52c6[22]](_0x52c6[5],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[21]]);router[_0x52c6[22]](_0x52c6[17],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[23]]);router[_0x52c6[22]](_0x52c6[15],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[24]]);router[_0x52c6[26]](_0x52c6[13],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[25]]);router[_0x52c6[26]](_0x52c6[19],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[27]]);router[_0x52c6[29]](_0x52c6[17],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[28]]);router[_0x52c6[29]](_0x52c6[5],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[30]]);router[_0x52c6[29]](_0x52c6[19],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[31]]);router[_0x52c6[29]](_0x52c6[13],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[32]]);router[_0x52c6[29]](_0x52c6[33],auth[_0x52c6[6]](),license[_0x52c6[7]](),auth[_0x52c6[10]]([5],[_0x52c6[8]]),controller[_0x52c6[34]]);module[_0x52c6[35]]=router \ No newline at end of file diff --git a/server/api/list/list.controller.js b/server/api/list/list.controller.js index a9c5998..61579cf 100644 --- a/server/api/list/list.controller.js +++ b/server/api/list/list.controller.js @@ -1 +1 @@ -var _0x243f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\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","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6C\x6F\x67","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73\x20\x56\x41\x52\x43\x48\x41\x52\x28\x32\x35\x35\x29","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x66\x5F","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x68\x6F\x77","\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\x45\x58\x49\x53\x54\x5F\x4C\x49\x53\x54","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x6C\x69\x73\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x75\x70\x64\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x69\x64\x73"];_0x243f[0];var _=require(_0x243f[1]);var util=require(_0x243f[2]);var User=require(_0x243f[4])[_0x243f[3]];var List=require(_0x243f[4])[_0x243f[5]];var UserHasList=require(_0x243f[4])[_0x243f[6]];var CustomField=require(_0x243f[4])[_0x243f[7]];var Contact=require(_0x243f[4])[_0x243f[8]];var Util=require(_0x243f[9]);var sequelize=require(_0x243f[4])[_0x243f[10]];exports[_0x243f[11]]=function(_0x7e17xa,_0x7e17xb,_0x7e17xc){switch(_0x7e17xa[_0x243f[22]][_0x243f[25]]){case _0x243f[24]:return User[_0x243f[23]](_0x7e17xa[_0x243f[22]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x11){return _0x7e17x11[_0x243f[21]]()})[_0x243f[15]](function(_0x7e17xf){var _0x7e17x10=_[_0x243f[17]](_0x7e17xf,_0x243f[16]);return List[_0x243f[20]](Util[_0x243f[19]](_0x7e17xa[_0x243f[18]],{id:{$in:_0x7e17x10}}))})[_0x243f[15]](function(_0x7e17xe){_0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17xe)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)});default:return List[_0x243f[20]](Util[_0x243f[19]](_0x7e17xa[_0x243f[18]]))[_0x243f[15]](function(_0x7e17xe){_0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17xe)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})}};exports[_0x243f[26]]=function(_0x7e17xa,_0x7e17xb){return CustomField[_0x243f[20]]({where:{ListId:_0x7e17xa[_0x243f[28]][_0x243f[16]]}})[_0x243f[15]](function(_0x7e17x12){return _0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17x12)})[_0x243f[12]](function(_0x7e17xd){console[_0x243f[27]](_0x7e17xd);return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[29]]=function(_0x7e17xa,_0x7e17xb){return CustomField[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x13){if(!_0x7e17x13){return _0x7e17xb[_0x243f[30]](404)};return _0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17x13)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[31]]=function(_0x7e17xa,_0x7e17xb){return CustomField[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x13){if(!_0x7e17x13){return _0x7e17xb[_0x243f[30]](404)};var _0x7e17x14=_[_0x243f[33]](_0x7e17x13,_0x7e17xa[_0x243f[32]]);return _0x7e17x14[_0x243f[34]]()})[_0x243f[15]](function(_0x7e17x13){return _0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17x13)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[35]]=function(_0x7e17xa,_0x7e17xb){var _0x7e17x15;_0x7e17xa[_0x243f[32]][_0x243f[36]]=_0x7e17xa[_0x243f[28]][_0x243f[16]];return sequelize[_0x243f[42]](function(_0x7e17x16){return CustomField[_0x243f[41]](_0x7e17xa[_0x243f[32]])[_0x243f[15]](function(_0x7e17x13){_0x7e17x15=_0x7e17x13;_0x7e17x13[_0x243f[38]]=_0x243f[40]+_0x7e17x13[_0x243f[16]];return _0x7e17x13[_0x243f[34]]()})[_0x243f[15]](function(){return sequelize[_0x243f[18]](util[_0x243f[39]](_0x243f[37],_0x7e17x15[_0x243f[38]]))})[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](201)})})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[43]]=function(_0x7e17xa,_0x7e17xb){return List[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x17){if(!_0x7e17x17){return _0x7e17xb[_0x243f[30]](404)};return _0x7e17xb[_0x243f[13]](_0x7e17x17)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[41]]=function(_0x7e17xa,_0x7e17xb){return sequelize[_0x243f[42]](function(_0x7e17x16){return List[_0x243f[41]](_0x7e17xa[_0x243f[32]])[_0x243f[15]](function(_0x7e17x17){return _0x7e17xb[_0x243f[14]](201)[_0x243f[13]](_0x7e17x17)})})[_0x243f[12]](sequelize.UniqueConstraintError,function(_0x7e17xd){_0x7e17xd[_0x243f[44]]=_0x243f[45];_0x7e17xd[_0x243f[46]]=_0x243f[47];return _0x7e17xb[_0x243f[14]](500)[_0x243f[13]](_0x7e17xd)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[48]]=function(_0x7e17xa,_0x7e17xb){return List[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x17){if(!_0x7e17x17){return _0x7e17xb[_0x243f[30]](404)};if(_0x7e17xa[_0x243f[32]][_0x243f[16]]){delete _0x7e17xa[_0x243f[32]][_0x243f[16]]};var _0x7e17x14=_[_0x243f[33]](_0x7e17x17,_0x7e17xa[_0x243f[32]]);return _0x7e17x14[_0x243f[34]]()})[_0x243f[15]](function(_0x7e17x17){return _0x7e17xb[_0x243f[14]](200)[_0x243f[13]](_0x7e17x17)})[_0x243f[12]](sequelize.UniqueConstraintError,function(_0x7e17xd){_0x7e17xd[_0x243f[44]]=_0x243f[45];_0x7e17xd[_0x243f[46]]=_0x243f[47];return _0x7e17xb[_0x243f[14]](500)[_0x243f[13]](_0x7e17xd)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[49]]=function(_0x7e17xa,_0x7e17xb){return List[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x17){if(!_0x7e17x17){return _0x7e17xb[_0x243f[30]](404)};return _0x7e17x17[_0x243f[53]]({where:{role:_0x243f[24]},attributes:[_0x243f[16],_0x243f[38],_0x243f[51],_0x243f[52]]})})[_0x243f[15]](function(_0x7e17x18){return _0x7e17xb[_0x243f[14]](200)[_0x243f[13]]({rows:_0x7e17x18,count:_0x7e17x18[_0x243f[50]]})})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[54]]=function(_0x7e17xa,_0x7e17xb,_0x7e17xc){return User[_0x243f[57]]({where:{id:_0x7e17xa[_0x243f[32]][_0x243f[56]]}})[_0x243f[15]](function(_0x7e17x19){var _0x7e17x1a=_[_0x243f[17]](_0x7e17x19,function(_0x7e17x1b){return {list:_0x7e17xa[_0x243f[28]][_0x243f[16]],membername:_0x7e17x1b[_0x243f[38]],UserId:_0x7e17x1b[_0x243f[16]]}});return UserHasList[_0x243f[55]](_0x7e17x1a,{individualHooks:true})})[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](200)})[_0x243f[12]](function(_0x7e17xd){console[_0x243f[27]](_0x7e17xd);return _0x7e17xc(_0x7e17xd)})};exports[_0x243f[58]]=function(_0x7e17xa,_0x7e17xb,_0x7e17xc){return UserHasList[_0x243f[59]]({where:{UserId:_0x7e17xa[_0x243f[18]][_0x243f[56]],list:_0x7e17xa[_0x243f[28]][_0x243f[16]]},individualHooks:true})[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](202)})[_0x243f[12]](function(_0x7e17xd){return _0x7e17xc(_0x7e17xd)})};exports[_0x243f[59]]=function(_0x7e17xa,_0x7e17xb){return destroyList(_0x7e17xa[_0x243f[28]][_0x243f[16]],_0x7e17xb)};exports[_0x243f[60]]=function(_0x7e17xa,_0x7e17xb){return destroyList(_0x7e17xa[_0x243f[18]][_0x243f[16]],_0x7e17xb)};function destroyList(_0x7e17x1d,_0x7e17xb){return delCf(_0x7e17x1d,_0x7e17xb)[_0x243f[61]]()[_0x243f[15]](function(){return List[_0x243f[59]]({where:{id:_0x7e17x1d},individualHooks:true})})[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](204)})[_0x243f[12]](function(_0x7e17xd){console[_0x243f[27]](_0x7e17xd);return handleError(_0x7e17xb,_0x7e17xd)})}function delCf(_0x7e17x1d,_0x7e17xb){var _0x7e17x1f;return CustomField[_0x243f[57]]({where:{ListId:_0x7e17x1d}})[_0x243f[15]](function(_0x7e17x24){if(!_0x7e17x24){return _0x7e17xb[_0x243f[30]](404)};_0x7e17x1f=_0x7e17x24;return CustomField[_0x243f[59]]({where:{id:_0x7e17x1d}})})[_0x243f[15]](function(){return Contact[_0x243f[67]]()})[_0x243f[15]](function(_0x7e17x23){return _[_0x243f[66]](_0x7e17x23)})[_0x243f[15]](function(_0x7e17x20){var _0x7e17x21=[];_[_0x243f[65]](_0x7e17x1f,function(_0x7e17x22){if(_[_0x243f[62]](_0x7e17x20,_0x7e17x22[_0x243f[38]])){_0x7e17x21[_0x243f[64]](sequelize[_0x243f[18]](util[_0x243f[39]](_0x243f[63],_0x7e17x22[_0x243f[38]])))}});return _0x7e17x21})}exports[_0x243f[68]]=function(_0x7e17xa,_0x7e17xb){var _0x7e17x25;return CustomField[_0x243f[23]](_0x7e17xa[_0x243f[28]][_0x243f[16]])[_0x243f[15]](function(_0x7e17x26){if(!_0x7e17x26){return _0x7e17xb[_0x243f[30]](404)};_0x7e17x25=_0x7e17x26;return CustomField[_0x243f[59]]({where:{id:_0x7e17xa[_0x243f[28]][_0x243f[16]]}})})[_0x243f[15]](function(){return Contact[_0x243f[67]]()})[_0x243f[15]](function(_0x7e17x23){return _[_0x243f[66]](_0x7e17x23)})[_0x243f[15]](function(_0x7e17x20){if(_[_0x243f[62]](_0x7e17x20,_0x7e17x25[_0x243f[38]])){return sequelize[_0x243f[18]](util[_0x243f[39]](_0x243f[63],_0x7e17x25[_0x243f[38]]))}})[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](204)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};exports[_0x243f[69]]=function(_0x7e17xa,_0x7e17xb){var _0x7e17x1f;return CustomField[_0x243f[57]]({where:{id:_0x7e17xa[_0x243f[18]][_0x243f[70]]}})[_0x243f[15]](function(_0x7e17x24){if(!_0x7e17x24){return _0x7e17xb[_0x243f[30]](404)};_0x7e17x1f=_0x7e17x24;return CustomField[_0x243f[59]]({where:{id:_0x7e17xa[_0x243f[18]][_0x243f[70]]}})})[_0x243f[15]](function(){return Contact[_0x243f[67]]()})[_0x243f[15]](function(_0x7e17x23){return _[_0x243f[66]](_0x7e17x23)})[_0x243f[15]](function(_0x7e17x20){var _0x7e17x21=[];_0x7e17x1f[_0x243f[65]](function(_0x7e17x22){if(_[_0x243f[62]](_0x7e17x20,_0x7e17x22[_0x243f[38]])){_0x7e17x21[_0x243f[64]](sequelize[_0x243f[18]](util[_0x243f[39]](_0x243f[63],_0x7e17x22[_0x243f[38]])))}});return _0x7e17x21})[_0x243f[61]]()[_0x243f[15]](function(){return _0x7e17xb[_0x243f[30]](204)})[_0x243f[12]](function(_0x7e17xd){return handleError(_0x7e17xb,_0x7e17xd)})};function handleError(_0x7e17xb,_0x7e17xd){return _0x7e17xb[_0x243f[14]](500)[_0x243f[13]](_0x7e17xd)} \ No newline at end of file +var _0x2584=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\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","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6C\x6F\x67","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73\x20\x56\x41\x52\x43\x48\x41\x52\x28\x32\x35\x35\x29","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x66\x5F","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x68\x6F\x77","\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\x45\x58\x49\x53\x54\x5F\x4C\x49\x53\x54","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x6C\x69\x73\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x75\x70\x64\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x69\x64\x73"];_0x2584[0];var _=require(_0x2584[1]);var util=require(_0x2584[2]);var User=require(_0x2584[4])[_0x2584[3]];var List=require(_0x2584[4])[_0x2584[5]];var UserHasList=require(_0x2584[4])[_0x2584[6]];var CustomField=require(_0x2584[4])[_0x2584[7]];var Contact=require(_0x2584[4])[_0x2584[8]];var Util=require(_0x2584[9]);var sequelize=require(_0x2584[4])[_0x2584[10]];exports[_0x2584[11]]=function(_0x42abxa,_0x42abxb,_0x42abxc){switch(_0x42abxa[_0x2584[22]][_0x2584[25]]){case _0x2584[24]:return User[_0x2584[23]](_0x42abxa[_0x2584[22]][_0x2584[16]])[_0x2584[15]](function(_0x42abx11){return _0x42abx11[_0x2584[21]]()})[_0x2584[15]](function(_0x42abxf){var _0x42abx10=_[_0x2584[17]](_0x42abxf,_0x2584[16]);return List[_0x2584[20]](Util[_0x2584[19]](_0x42abxa[_0x2584[18]],{id:{$in:_0x42abx10}}))})[_0x2584[15]](function(_0x42abxe){_0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abxe)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)});default:return List[_0x2584[20]](Util[_0x2584[19]](_0x42abxa[_0x2584[18]]))[_0x2584[15]](function(_0x42abxe){_0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abxe)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})}};exports[_0x2584[26]]=function(_0x42abxa,_0x42abxb){return CustomField[_0x2584[20]]({where:{ListId:_0x42abxa[_0x2584[28]][_0x2584[16]]}})[_0x2584[15]](function(_0x42abx12){return _0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abx12)})[_0x2584[12]](function(_0x42abxd){console[_0x2584[27]](_0x42abxd);return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[29]]=function(_0x42abxa,_0x42abxb){return CustomField[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx13){if(!_0x42abx13){return _0x42abxb[_0x2584[30]](404)};return _0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abx13)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[31]]=function(_0x42abxa,_0x42abxb){return CustomField[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx13){if(!_0x42abx13){return _0x42abxb[_0x2584[30]](404)};var _0x42abx14=_[_0x2584[33]](_0x42abx13,_0x42abxa[_0x2584[32]]);return _0x42abx14[_0x2584[34]]()})[_0x2584[15]](function(_0x42abx13){return _0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abx13)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[35]]=function(_0x42abxa,_0x42abxb){var _0x42abx15;_0x42abxa[_0x2584[32]][_0x2584[36]]=_0x42abxa[_0x2584[28]][_0x2584[16]];return sequelize[_0x2584[42]](function(_0x42abx16){return CustomField[_0x2584[41]](_0x42abxa[_0x2584[32]])[_0x2584[15]](function(_0x42abx13){_0x42abx15=_0x42abx13;_0x42abx13[_0x2584[38]]=_0x2584[40]+_0x42abx13[_0x2584[16]];return _0x42abx13[_0x2584[34]]()})[_0x2584[15]](function(){return sequelize[_0x2584[18]](util[_0x2584[39]](_0x2584[37],_0x42abx15[_0x2584[38]]))})[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](201)})})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[43]]=function(_0x42abxa,_0x42abxb){return List[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx17){if(!_0x42abx17){return _0x42abxb[_0x2584[30]](404)};return _0x42abxb[_0x2584[13]](_0x42abx17)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[41]]=function(_0x42abxa,_0x42abxb){return sequelize[_0x2584[42]](function(_0x42abx16){return List[_0x2584[41]](_0x42abxa[_0x2584[32]])[_0x2584[15]](function(_0x42abx17){return _0x42abxb[_0x2584[14]](201)[_0x2584[13]](_0x42abx17)})})[_0x2584[12]](sequelize.UniqueConstraintError,function(_0x42abxd){_0x42abxd[_0x2584[44]]=_0x2584[45];_0x42abxd[_0x2584[46]]=_0x2584[47];return _0x42abxb[_0x2584[14]](500)[_0x2584[13]](_0x42abxd)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[48]]=function(_0x42abxa,_0x42abxb){return List[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx17){if(!_0x42abx17){return _0x42abxb[_0x2584[30]](404)};if(_0x42abxa[_0x2584[32]][_0x2584[16]]){delete _0x42abxa[_0x2584[32]][_0x2584[16]]};var _0x42abx14=_[_0x2584[33]](_0x42abx17,_0x42abxa[_0x2584[32]]);return _0x42abx14[_0x2584[34]]()})[_0x2584[15]](function(_0x42abx17){return _0x42abxb[_0x2584[14]](200)[_0x2584[13]](_0x42abx17)})[_0x2584[12]](sequelize.UniqueConstraintError,function(_0x42abxd){_0x42abxd[_0x2584[44]]=_0x2584[45];_0x42abxd[_0x2584[46]]=_0x2584[47];return _0x42abxb[_0x2584[14]](500)[_0x2584[13]](_0x42abxd)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[49]]=function(_0x42abxa,_0x42abxb){return List[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx17){if(!_0x42abx17){return _0x42abxb[_0x2584[30]](404)};return _0x42abx17[_0x2584[53]]({where:{role:_0x2584[24]},attributes:[_0x2584[16],_0x2584[38],_0x2584[51],_0x2584[52]]})})[_0x2584[15]](function(_0x42abx18){return _0x42abxb[_0x2584[14]](200)[_0x2584[13]]({rows:_0x42abx18,count:_0x42abx18[_0x2584[50]]})})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[54]]=function(_0x42abxa,_0x42abxb,_0x42abxc){return User[_0x2584[57]]({where:{id:_0x42abxa[_0x2584[32]][_0x2584[56]]}})[_0x2584[15]](function(_0x42abx19){var _0x42abx1a=_[_0x2584[17]](_0x42abx19,function(_0x42abx1b){return {list:_0x42abxa[_0x2584[28]][_0x2584[16]],membername:_0x42abx1b[_0x2584[38]],UserId:_0x42abx1b[_0x2584[16]]}});return UserHasList[_0x2584[55]](_0x42abx1a,{individualHooks:true})})[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](200)})[_0x2584[12]](function(_0x42abxd){console[_0x2584[27]](_0x42abxd);return _0x42abxc(_0x42abxd)})};exports[_0x2584[58]]=function(_0x42abxa,_0x42abxb,_0x42abxc){return UserHasList[_0x2584[59]]({where:{UserId:_0x42abxa[_0x2584[18]][_0x2584[56]],list:_0x42abxa[_0x2584[28]][_0x2584[16]]},individualHooks:true})[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](202)})[_0x2584[12]](function(_0x42abxd){return _0x42abxc(_0x42abxd)})};exports[_0x2584[59]]=function(_0x42abxa,_0x42abxb){return destroyList(_0x42abxa[_0x2584[28]][_0x2584[16]],_0x42abxb)};exports[_0x2584[60]]=function(_0x42abxa,_0x42abxb){return destroyList(_0x42abxa[_0x2584[18]][_0x2584[16]],_0x42abxb)};function destroyList(_0x42abx1d,_0x42abxb){return delCf(_0x42abx1d,_0x42abxb)[_0x2584[61]]()[_0x2584[15]](function(){return List[_0x2584[59]]({where:{id:_0x42abx1d},individualHooks:true})})[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](204)})[_0x2584[12]](function(_0x42abxd){console[_0x2584[27]](_0x42abxd);return handleError(_0x42abxb,_0x42abxd)})}function delCf(_0x42abx1d,_0x42abxb){var _0x42abx1f;return CustomField[_0x2584[57]]({where:{ListId:_0x42abx1d}})[_0x2584[15]](function(_0x42abx24){if(!_0x42abx24){return _0x42abxb[_0x2584[30]](404)};_0x42abx1f=_0x42abx24;return CustomField[_0x2584[59]]({where:{id:_0x42abx1d}})})[_0x2584[15]](function(){return Contact[_0x2584[67]]()})[_0x2584[15]](function(_0x42abx23){return _[_0x2584[66]](_0x42abx23)})[_0x2584[15]](function(_0x42abx20){var _0x42abx21=[];_[_0x2584[65]](_0x42abx1f,function(_0x42abx22){if(_[_0x2584[62]](_0x42abx20,_0x42abx22[_0x2584[38]])){_0x42abx21[_0x2584[64]](sequelize[_0x2584[18]](util[_0x2584[39]](_0x2584[63],_0x42abx22[_0x2584[38]])))}});return _0x42abx21})}exports[_0x2584[68]]=function(_0x42abxa,_0x42abxb){var _0x42abx25;return CustomField[_0x2584[23]](_0x42abxa[_0x2584[28]][_0x2584[16]])[_0x2584[15]](function(_0x42abx26){if(!_0x42abx26){return _0x42abxb[_0x2584[30]](404)};_0x42abx25=_0x42abx26;return CustomField[_0x2584[59]]({where:{id:_0x42abxa[_0x2584[28]][_0x2584[16]]}})})[_0x2584[15]](function(){return Contact[_0x2584[67]]()})[_0x2584[15]](function(_0x42abx23){return _[_0x2584[66]](_0x42abx23)})[_0x2584[15]](function(_0x42abx20){if(_[_0x2584[62]](_0x42abx20,_0x42abx25[_0x2584[38]])){return sequelize[_0x2584[18]](util[_0x2584[39]](_0x2584[63],_0x42abx25[_0x2584[38]]))}})[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](204)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};exports[_0x2584[69]]=function(_0x42abxa,_0x42abxb){var _0x42abx1f;return CustomField[_0x2584[57]]({where:{id:_0x42abxa[_0x2584[18]][_0x2584[70]]}})[_0x2584[15]](function(_0x42abx24){if(!_0x42abx24){return _0x42abxb[_0x2584[30]](404)};_0x42abx1f=_0x42abx24;return CustomField[_0x2584[59]]({where:{id:_0x42abxa[_0x2584[18]][_0x2584[70]]}})})[_0x2584[15]](function(){return Contact[_0x2584[67]]()})[_0x2584[15]](function(_0x42abx23){return _[_0x2584[66]](_0x42abx23)})[_0x2584[15]](function(_0x42abx20){var _0x42abx21=[];_0x42abx1f[_0x2584[65]](function(_0x42abx22){if(_[_0x2584[62]](_0x42abx20,_0x42abx22[_0x2584[38]])){_0x42abx21[_0x2584[64]](sequelize[_0x2584[18]](util[_0x2584[39]](_0x2584[63],_0x42abx22[_0x2584[38]])))}});return _0x42abx21})[_0x2584[61]]()[_0x2584[15]](function(){return _0x42abxb[_0x2584[30]](204)})[_0x2584[12]](function(_0x42abxd){return handleError(_0x42abxb,_0x42abxd)})};function handleError(_0x42abxb,_0x42abxd){return _0x42abxb[_0x2584[14]](500)[_0x2584[13]](_0x42abxd)} \ No newline at end of file diff --git a/server/api/list/list.socket.js b/server/api/list/list.socket.js index fe71108..6dd13a8 100644 --- a/server/api/list/list.socket.js +++ b/server/api/list/list.socket.js @@ -1 +1 @@ -var _0x2fc8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x73\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2fc8[0];var List=require(_0x2fc8[2])[_0x2fc8[1]];var CustomField=require(_0x2fc8[2])[_0x2fc8[3]];exports[_0x2fc8[4]]=function(_0x3d49x3){List[_0x2fc8[6]](function(_0x3d49x4){onSave(_0x3d49x3,_0x3d49x4,_0x2fc8[5])});List[_0x2fc8[9]](function(_0x3d49x4){console[_0x2fc8[8]](_0x2fc8[7]);onRemove(_0x3d49x3,_0x3d49x4,_0x2fc8[5])});CustomField[_0x2fc8[6]](function(_0x3d49x4){onSave(_0x3d49x3,_0x3d49x4,_0x2fc8[10])});CustomField[_0x2fc8[9]](function(_0x3d49x4){onRemove(_0x3d49x3,_0x3d49x4,_0x2fc8[10])})};function onSave(_0x3d49x3,_0x3d49x4,_0x3d49x6,_0x3d49x7){_0x3d49x3[_0x2fc8[12]](_0x3d49x6+_0x2fc8[11],_0x3d49x4)}function onRemove(_0x3d49x3,_0x3d49x4,_0x3d49x6,_0x3d49x7){console[_0x2fc8[8]](_0x3d49x6);_0x3d49x3[_0x2fc8[12]](_0x3d49x6+_0x2fc8[13],_0x3d49x4)} \ No newline at end of file +var _0x67c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x73\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x3A\x72\x65\x6D\x6F\x76\x65"];_0x67c7[0];var List=require(_0x67c7[2])[_0x67c7[1]];var CustomField=require(_0x67c7[2])[_0x67c7[3]];exports[_0x67c7[4]]=function(_0x484bx3){List[_0x67c7[6]](function(_0x484bx4){onSave(_0x484bx3,_0x484bx4,_0x67c7[5])});List[_0x67c7[9]](function(_0x484bx4){console[_0x67c7[8]](_0x67c7[7]);onRemove(_0x484bx3,_0x484bx4,_0x67c7[5])});CustomField[_0x67c7[6]](function(_0x484bx4){onSave(_0x484bx3,_0x484bx4,_0x67c7[10])});CustomField[_0x67c7[9]](function(_0x484bx4){onRemove(_0x484bx3,_0x484bx4,_0x67c7[10])})};function onSave(_0x484bx3,_0x484bx4,_0x484bx6,_0x484bx7){_0x484bx3[_0x67c7[12]](_0x484bx6+_0x67c7[11],_0x484bx4)}function onRemove(_0x484bx3,_0x484bx4,_0x484bx6,_0x484bx7){console[_0x67c7[8]](_0x484bx6);_0x484bx3[_0x67c7[12]](_0x484bx6+_0x67c7[13],_0x484bx4)} \ No newline at end of file diff --git a/server/api/mail_account/index.js b/server/api/mail_account/index.js index bbddfa0..2d2b3ed 100644 --- a/server/api/mail_account/index.js +++ b/server/api/mail_account/index.js @@ -1 +1 @@ -var _0xa6e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xa6e2[0];var express=require(_0xa6e2[1]);var controller=require(_0xa6e2[2]);var auth=require(_0xa6e2[3]);var license=require(_0xa6e2[4]);var router=express.Router();router[_0xa6e2[13]](_0xa6e2[5],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9],_0xa6e2[10]]),controller[_0xa6e2[12]]);router[_0xa6e2[13]](_0xa6e2[14],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9],_0xa6e2[10]]),controller[_0xa6e2[15]]);router[_0xa6e2[13]](_0xa6e2[16],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[17]]);router[_0xa6e2[13]](_0xa6e2[18],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9],_0xa6e2[10]]),controller[_0xa6e2[19]]);router[_0xa6e2[13]](_0xa6e2[20],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9],_0xa6e2[10]]),controller[_0xa6e2[21]]);router[_0xa6e2[23]](_0xa6e2[5],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[22]]);router[_0xa6e2[23]](_0xa6e2[20],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[24]]);router[_0xa6e2[26]](_0xa6e2[14],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[25]]);router[_0xa6e2[26]](_0xa6e2[16],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[27]]);router[_0xa6e2[26]](_0xa6e2[28],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[29]]);router[_0xa6e2[31]](_0xa6e2[5],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[30]]);router[_0xa6e2[31]](_0xa6e2[14],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[32]]);router[_0xa6e2[31]](_0xa6e2[16],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[33]]);router[_0xa6e2[31]](_0xa6e2[34],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[35]]);router[_0xa6e2[31]](_0xa6e2[28],license[_0xa6e2[6]](),license[_0xa6e2[7]](),auth[_0xa6e2[8]](),auth[_0xa6e2[11]]([9],[_0xa6e2[9]]),controller[_0xa6e2[36]]);module[_0xa6e2[37]]=router \ No newline at end of file +var _0x4314=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x4314[0];var express=require(_0x4314[1]);var controller=require(_0x4314[2]);var auth=require(_0x4314[3]);var license=require(_0x4314[4]);var router=express.Router();router[_0x4314[13]](_0x4314[5],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9],_0x4314[10]]),controller[_0x4314[12]]);router[_0x4314[13]](_0x4314[14],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9],_0x4314[10]]),controller[_0x4314[15]]);router[_0x4314[13]](_0x4314[16],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[17]]);router[_0x4314[13]](_0x4314[18],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9],_0x4314[10]]),controller[_0x4314[19]]);router[_0x4314[13]](_0x4314[20],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9],_0x4314[10]]),controller[_0x4314[21]]);router[_0x4314[23]](_0x4314[5],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[22]]);router[_0x4314[23]](_0x4314[20],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[24]]);router[_0x4314[26]](_0x4314[14],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[25]]);router[_0x4314[26]](_0x4314[16],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[27]]);router[_0x4314[26]](_0x4314[28],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[29]]);router[_0x4314[31]](_0x4314[5],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[30]]);router[_0x4314[31]](_0x4314[14],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[32]]);router[_0x4314[31]](_0x4314[16],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[33]]);router[_0x4314[31]](_0x4314[34],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[35]]);router[_0x4314[31]](_0x4314[28],license[_0x4314[6]](),license[_0x4314[7]](),auth[_0x4314[8]](),auth[_0x4314[11]]([9],[_0x4314[9]]),controller[_0x4314[36]]);module[_0x4314[37]]=router \ No newline at end of file diff --git a/server/api/mail_account/mail_account.controller.js b/server/api/mail_account/mail_account.controller.js index 20956c4..3da7216 100644 --- a/server/api/mail_account/mail_account.controller.js +++ b/server/api/mail_account/mail_account.controller.js @@ -1 +1 @@ -var _0x5035=["\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","\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","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x6D\x65\x72\x67\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\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","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\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","\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0x5035[0];var _=require(_0x5035[1]);var util=require(_0x5035[2]);var async=require(_0x5035[3]);var Util=require(_0x5035[4]);var sequelize=require(_0x5035[6])[_0x5035[5]];var User=require(_0x5035[6])[_0x5035[7]];var MailQueue=require(_0x5035[6])[_0x5035[8]];var MailRoom=require(_0x5035[6])[_0x5035[9]];var MailAccount=require(_0x5035[6])[_0x5035[10]];var MailServerIn=require(_0x5035[6])[_0x5035[11]];var MailServerOut=require(_0x5035[6])[_0x5035[12]];var MailApplication=require(_0x5035[6])[_0x5035[13]];var MailDisposition=require(_0x5035[6])[_0x5035[14]];exports[_0x5035[15]]=function(_0xa521xe,_0xa521xf){return MailAccount[_0x5035[24]](_0x5035[23])[_0x5035[22]](Util[_0x5035[21]](_0xa521xe[_0x5035[20]]))[_0x5035[19]](function(_0xa521x11){_0xa521xf[_0x5035[18]](200)[_0x5035[17]](_0xa521x11)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[25]]=function(_0xa521xe,_0xa521xf,_0xa521x12){var _0xa521x13={where:{MailAccountId:_0xa521xe[_0x5035[27]][_0x5035[26]],$and:[]},attributes:[_0x5035[26],_0x5035[28],_0x5035[29],_0x5035[30],_0x5035[31],_0x5035[32]]};if(_0xa521xe[_0x5035[20]]){if(_0xa521xe[_0x5035[20]][_0x5035[33]]){if(_[_0x5035[34]](_0xa521xe[_0x5035[20]][_0x5035[33]])){for(var _0xa521x14=0;_0xa521x14<_0xa521xe[_0x5035[20]][_0x5035[33]][_0x5035[35]];_0xa521x14++){_0xa521x13[_0x5035[40]][_0x5035[39]][_0x5035[38]]({tags:{$like:_0x5035[36]+_0xa521xe[_0x5035[20]][_0x5035[33]][_0xa521x14]+_0x5035[37]}})}}else {_0xa521x13[_0x5035[40]][_0x5035[39]][_0x5035[38]]({tags:{$like:_0x5035[36]+_0xa521xe[_0x5035[20]][_0x5035[33]]+_0x5035[37]}})};delete _0xa521xe[_0x5035[20]][_0x5035[33]]};_[_0x5035[41]](_0xa521x13[_0x5035[40]],_0xa521xe[_0x5035[20]])};switch(_0xa521xe[_0x5035[44]][_0x5035[46]]){case _0x5035[45]:if(_0xa521xe[_0x5035[20]][_0x5035[18]]&&_0xa521xe[_0x5035[20]][_0x5035[18]]!==_0x5035[42]){_0xa521x13[_0x5035[43]]=[{model:User,where:{id:_0xa521xe[_0x5035[44]][_0x5035[26]]}}]};break;default:};return MailRoom[_0x5035[48]](_0xa521x13)[_0x5035[19]](function(_0xa521x15){return _0xa521xf[_0x5035[18]](200)[_0x5035[17]](_0xa521x15)})[_0x5035[16]](function(_0xa521x10){console[_0x5035[47]](_0xa521x10);return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[49]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailAccount[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[26]])[_0x5035[19]](function(_0xa521x17){if(!_0xa521x17){return _0xa521xf[_0x5035[50]](404)};return _0xa521x17[_0x5035[51]]()})[_0x5035[19]](function(_0xa521x16){return _0xa521xf[_0x5035[18]](200)[_0x5035[17]]({rows:_0xa521x16,count:_0xa521x16[_0x5035[35]]})})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[53]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailAccount[_0x5035[24]](_0x5035[23])[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[26]])[_0x5035[19]](function(_0xa521x17){if(!_0xa521x17){return _0xa521xf[_0x5035[50]](404)};return _0xa521xf[_0x5035[17]](_0xa521x17)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[54]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailAccount[_0x5035[24]](_0x5035[23])[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[26]])[_0x5035[19]](function(_0xa521x17){if(!_0xa521x17){return _0xa521xf[_0x5035[50]](404)};return _0xa521x17[_0x5035[57]](_[_0x5035[41]](Util[_0x5035[21]](_0xa521xe[_0x5035[20]]),{include:[{model:MailQueue,attributes:[_0x5035[26],_0x5035[55]]},{model:User,attributes:[_0x5035[26],_0x5035[55],_0x5035[56]]}]}))})[_0x5035[19]](function(_0xa521x18){return _0xa521xf[_0x5035[17]]({count:_0xa521x18[_0x5035[35]],rows:_0xa521x18})})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[58]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return sequelize[_0x5035[62]](function(_0xa521x19){return MailAccount[_0x5035[58]](_0xa521xe[_0x5035[61]],{include:[{model:MailServerIn},{model:MailServerOut}],transaction:_0xa521x19})})[_0x5035[19]](function(_0xa521x17){return _0xa521xf[_0x5035[18]](201)[_0x5035[17]](_0xa521x17)})[_0x5035[16]](sequelize.UniqueConstraintError,function(_0xa521x10){return Util[_0x5035[60]][_0x5035[59]](_0xa521xf,_0xa521x10)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[63]]=function(_0xa521xe,_0xa521xf,_0xa521x12){_0xa521xe[_0x5035[61]][_0x5035[64]]=_0xa521xe[_0x5035[27]][_0x5035[26]];return MailDisposition[_0x5035[58]](_0xa521xe[_0x5035[61]])[_0x5035[19]](function(_0xa521x1a){return _0xa521xf[_0x5035[18]](201)[_0x5035[17]](_0xa521x1a)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[65]]=function(_0xa521xe,_0xa521xf){if(_0xa521xe[_0x5035[61]][_0x5035[26]]){delete _0xa521xe[_0x5035[61]][_0x5035[26]]};return MailAccount[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[26]])[_0x5035[19]](function(_0xa521x17){if(!_0xa521x17){return _0xa521xf[_0x5035[50]](404)};var _0xa521x1b=_[_0x5035[41]](_0xa521x17,_0xa521xe[_0x5035[61]]);return _0xa521x1b[_0x5035[66]]()})[_0x5035[19]](function(_0xa521x17){return _0xa521xf[_0x5035[18]](200)[_0x5035[17]](_0xa521x17)})[_0x5035[16]](sequelize.UniqueConstraintError,function(_0xa521x10){return Util[_0x5035[60]][_0x5035[59]](_0xa521xf,_0xa521x10)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[67]]=function(_0xa521xe,_0xa521xf){if(_0xa521xe[_0x5035[61]][_0x5035[26]]){delete _0xa521xe[_0x5035[61]][_0x5035[26]]};return MailDisposition[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[68]])[_0x5035[19]](function(_0xa521x1c){if(!_0xa521x1c){return _0xa521xf[_0x5035[50]](404)};var _0xa521x1b=_[_0x5035[41]](_0xa521x1c,_0xa521xe[_0x5035[61]]);return _0xa521x1b[_0x5035[66]]()})[_0x5035[19]](function(_0xa521x17){return _0xa521xf[_0x5035[18]](200)[_0x5035[17]](_0xa521x17)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[69]]=function(_0xa521xe,_0xa521xf){var _0xa521x1d=0;var _0xa521x1e=_0xa521xe[_0x5035[61]];_0xa521x1e[_0x5035[72]](function(_0xa521x1f){delete _0xa521x1f[_0x5035[26]];delete _0xa521x1f[_0x5035[70]];delete _0xa521x1f[_0x5035[32]];_0xa521x1f[_0x5035[71]]= ++_0xa521x1d});return sequelize[_0x5035[62]](function(_0xa521x19){return MailApplication[_0x5035[74]]({where:{MailAccountId:_0xa521xe[_0x5035[27]][_0x5035[26]]},individualHooks:true,transaction:_0xa521x19})[_0x5035[19]](function(_0xa521x21){return MailApplication[_0x5035[73]](_0xa521x1e,{individualHooks:true,transaction:_0xa521x19})})})[_0x5035[19]](function(_0xa521x20){return _0xa521xf[_0x5035[18]](200)[_0x5035[17]]({count:_0xa521x20[_0x5035[35]],rows:_0xa521x20})})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[74]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailAccount[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[26]])[_0x5035[19]](function(_0xa521x17){if(!_0xa521x17){return _0xa521xf[_0x5035[50]](404)};return _0xa521x17[_0x5035[74]]()})[_0x5035[19]](function(){return _0xa521xf[_0x5035[50]](204)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[75]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailApplication[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[76]])[_0x5035[19]](function(_0xa521x21){if(!_0xa521x21){return _0xa521xf[_0x5035[50]](404)};return _0xa521x21[_0x5035[74]]()})[_0x5035[19]](function(){return _0xa521xf[_0x5035[50]](204)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[77]]=function(_0xa521xe,_0xa521xf,_0xa521x12){return MailDisposition[_0x5035[52]](_0xa521xe[_0x5035[27]][_0x5035[68]])[_0x5035[19]](function(_0xa521x1a){if(!_0xa521x1a){return _0xa521xf[_0x5035[50]](404)};return _0xa521x1a[_0x5035[74]]()})[_0x5035[19]](function(){return _0xa521xf[_0x5035[50]](204)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[78]]=function(_0xa521xe,_0xa521xf){return MailAccount[_0x5035[74]]({where:{id:_0xa521xe[_0x5035[20]][_0x5035[79]]},individualHooks:true})[_0x5035[19]](function(){return _0xa521xf[_0x5035[50]](204)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};exports[_0x5035[80]]=function(_0xa521xe,_0xa521xf){return MailApplication[_0x5035[74]]({where:{id:_0xa521xe[_0x5035[20]][_0x5035[79]]},individualHooks:true})[_0x5035[19]](function(){return _0xa521xf[_0x5035[50]](204)})[_0x5035[16]](function(_0xa521x10){return handleError(_0xa521xf,_0xa521x10)})};function handleError(_0xa521xf,_0xa521x10){return _0xa521xf[_0x5035[18]](500)[_0x5035[17]](_0xa521x10)} \ No newline at end of file +var _0xa5e9=["\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","\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","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x6D\x65\x72\x67\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\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","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\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","\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0xa5e9[0];var _=require(_0xa5e9[1]);var util=require(_0xa5e9[2]);var async=require(_0xa5e9[3]);var Util=require(_0xa5e9[4]);var sequelize=require(_0xa5e9[6])[_0xa5e9[5]];var User=require(_0xa5e9[6])[_0xa5e9[7]];var MailQueue=require(_0xa5e9[6])[_0xa5e9[8]];var MailRoom=require(_0xa5e9[6])[_0xa5e9[9]];var MailAccount=require(_0xa5e9[6])[_0xa5e9[10]];var MailServerIn=require(_0xa5e9[6])[_0xa5e9[11]];var MailServerOut=require(_0xa5e9[6])[_0xa5e9[12]];var MailApplication=require(_0xa5e9[6])[_0xa5e9[13]];var MailDisposition=require(_0xa5e9[6])[_0xa5e9[14]];exports[_0xa5e9[15]]=function(_0x6c57xe,_0x6c57xf){return MailAccount[_0xa5e9[24]](_0xa5e9[23])[_0xa5e9[22]](Util[_0xa5e9[21]](_0x6c57xe[_0xa5e9[20]]))[_0xa5e9[19]](function(_0x6c57x11){_0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]](_0x6c57x11)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[25]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){var _0x6c57x13={where:{MailAccountId:_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]],$and:[]},attributes:[_0xa5e9[26],_0xa5e9[28],_0xa5e9[29],_0xa5e9[30],_0xa5e9[31],_0xa5e9[32]]};if(_0x6c57xe[_0xa5e9[20]]){if(_0x6c57xe[_0xa5e9[20]][_0xa5e9[33]]){if(_[_0xa5e9[34]](_0x6c57xe[_0xa5e9[20]][_0xa5e9[33]])){for(var _0x6c57x14=0;_0x6c57x14<_0x6c57xe[_0xa5e9[20]][_0xa5e9[33]][_0xa5e9[35]];_0x6c57x14++){_0x6c57x13[_0xa5e9[40]][_0xa5e9[39]][_0xa5e9[38]]({tags:{$like:_0xa5e9[36]+_0x6c57xe[_0xa5e9[20]][_0xa5e9[33]][_0x6c57x14]+_0xa5e9[37]}})}}else {_0x6c57x13[_0xa5e9[40]][_0xa5e9[39]][_0xa5e9[38]]({tags:{$like:_0xa5e9[36]+_0x6c57xe[_0xa5e9[20]][_0xa5e9[33]]+_0xa5e9[37]}})};delete _0x6c57xe[_0xa5e9[20]][_0xa5e9[33]]};_[_0xa5e9[41]](_0x6c57x13[_0xa5e9[40]],_0x6c57xe[_0xa5e9[20]])};switch(_0x6c57xe[_0xa5e9[44]][_0xa5e9[46]]){case _0xa5e9[45]:if(_0x6c57xe[_0xa5e9[20]][_0xa5e9[18]]&&_0x6c57xe[_0xa5e9[20]][_0xa5e9[18]]!==_0xa5e9[42]){_0x6c57x13[_0xa5e9[43]]=[{model:User,where:{id:_0x6c57xe[_0xa5e9[44]][_0xa5e9[26]]}}]};break;default:};return MailRoom[_0xa5e9[48]](_0x6c57x13)[_0xa5e9[19]](function(_0x6c57x15){return _0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]](_0x6c57x15)})[_0xa5e9[16]](function(_0x6c57x10){console[_0xa5e9[47]](_0x6c57x10);return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[49]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailAccount[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]])[_0xa5e9[19]](function(_0x6c57x17){if(!_0x6c57x17){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57x17[_0xa5e9[51]]()})[_0xa5e9[19]](function(_0x6c57x16){return _0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]]({rows:_0x6c57x16,count:_0x6c57x16[_0xa5e9[35]]})})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[53]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailAccount[_0xa5e9[24]](_0xa5e9[23])[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]])[_0xa5e9[19]](function(_0x6c57x17){if(!_0x6c57x17){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57xf[_0xa5e9[17]](_0x6c57x17)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[54]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailAccount[_0xa5e9[24]](_0xa5e9[23])[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]])[_0xa5e9[19]](function(_0x6c57x17){if(!_0x6c57x17){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57x17[_0xa5e9[57]](_[_0xa5e9[41]](Util[_0xa5e9[21]](_0x6c57xe[_0xa5e9[20]]),{include:[{model:MailQueue,attributes:[_0xa5e9[26],_0xa5e9[55]]},{model:User,attributes:[_0xa5e9[26],_0xa5e9[55],_0xa5e9[56]]}]}))})[_0xa5e9[19]](function(_0x6c57x18){return _0x6c57xf[_0xa5e9[17]]({count:_0x6c57x18[_0xa5e9[35]],rows:_0x6c57x18})})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[58]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return sequelize[_0xa5e9[62]](function(_0x6c57x19){return MailAccount[_0xa5e9[58]](_0x6c57xe[_0xa5e9[61]],{include:[{model:MailServerIn},{model:MailServerOut}],transaction:_0x6c57x19})})[_0xa5e9[19]](function(_0x6c57x17){return _0x6c57xf[_0xa5e9[18]](201)[_0xa5e9[17]](_0x6c57x17)})[_0xa5e9[16]](sequelize.UniqueConstraintError,function(_0x6c57x10){return Util[_0xa5e9[60]][_0xa5e9[59]](_0x6c57xf,_0x6c57x10)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[63]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){_0x6c57xe[_0xa5e9[61]][_0xa5e9[64]]=_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]];return MailDisposition[_0xa5e9[58]](_0x6c57xe[_0xa5e9[61]])[_0xa5e9[19]](function(_0x6c57x1a){return _0x6c57xf[_0xa5e9[18]](201)[_0xa5e9[17]](_0x6c57x1a)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[65]]=function(_0x6c57xe,_0x6c57xf){if(_0x6c57xe[_0xa5e9[61]][_0xa5e9[26]]){delete _0x6c57xe[_0xa5e9[61]][_0xa5e9[26]]};return MailAccount[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]])[_0xa5e9[19]](function(_0x6c57x17){if(!_0x6c57x17){return _0x6c57xf[_0xa5e9[50]](404)};var _0x6c57x1b=_[_0xa5e9[41]](_0x6c57x17,_0x6c57xe[_0xa5e9[61]]);return _0x6c57x1b[_0xa5e9[66]]()})[_0xa5e9[19]](function(_0x6c57x17){return _0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]](_0x6c57x17)})[_0xa5e9[16]](sequelize.UniqueConstraintError,function(_0x6c57x10){return Util[_0xa5e9[60]][_0xa5e9[59]](_0x6c57xf,_0x6c57x10)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[67]]=function(_0x6c57xe,_0x6c57xf){if(_0x6c57xe[_0xa5e9[61]][_0xa5e9[26]]){delete _0x6c57xe[_0xa5e9[61]][_0xa5e9[26]]};return MailDisposition[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[68]])[_0xa5e9[19]](function(_0x6c57x1c){if(!_0x6c57x1c){return _0x6c57xf[_0xa5e9[50]](404)};var _0x6c57x1b=_[_0xa5e9[41]](_0x6c57x1c,_0x6c57xe[_0xa5e9[61]]);return _0x6c57x1b[_0xa5e9[66]]()})[_0xa5e9[19]](function(_0x6c57x17){return _0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]](_0x6c57x17)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[69]]=function(_0x6c57xe,_0x6c57xf){var _0x6c57x1d=0;var _0x6c57x1e=_0x6c57xe[_0xa5e9[61]];_0x6c57x1e[_0xa5e9[72]](function(_0x6c57x1f){delete _0x6c57x1f[_0xa5e9[26]];delete _0x6c57x1f[_0xa5e9[70]];delete _0x6c57x1f[_0xa5e9[32]];_0x6c57x1f[_0xa5e9[71]]= ++_0x6c57x1d});return sequelize[_0xa5e9[62]](function(_0x6c57x19){return MailApplication[_0xa5e9[74]]({where:{MailAccountId:_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]]},individualHooks:true,transaction:_0x6c57x19})[_0xa5e9[19]](function(_0x6c57x21){return MailApplication[_0xa5e9[73]](_0x6c57x1e,{individualHooks:true,transaction:_0x6c57x19})})})[_0xa5e9[19]](function(_0x6c57x20){return _0x6c57xf[_0xa5e9[18]](200)[_0xa5e9[17]]({count:_0x6c57x20[_0xa5e9[35]],rows:_0x6c57x20})})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[74]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailAccount[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[26]])[_0xa5e9[19]](function(_0x6c57x17){if(!_0x6c57x17){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57x17[_0xa5e9[74]]()})[_0xa5e9[19]](function(){return _0x6c57xf[_0xa5e9[50]](204)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[75]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailApplication[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[76]])[_0xa5e9[19]](function(_0x6c57x21){if(!_0x6c57x21){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57x21[_0xa5e9[74]]()})[_0xa5e9[19]](function(){return _0x6c57xf[_0xa5e9[50]](204)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[77]]=function(_0x6c57xe,_0x6c57xf,_0x6c57x12){return MailDisposition[_0xa5e9[52]](_0x6c57xe[_0xa5e9[27]][_0xa5e9[68]])[_0xa5e9[19]](function(_0x6c57x1a){if(!_0x6c57x1a){return _0x6c57xf[_0xa5e9[50]](404)};return _0x6c57x1a[_0xa5e9[74]]()})[_0xa5e9[19]](function(){return _0x6c57xf[_0xa5e9[50]](204)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[78]]=function(_0x6c57xe,_0x6c57xf){return MailAccount[_0xa5e9[74]]({where:{id:_0x6c57xe[_0xa5e9[20]][_0xa5e9[79]]},individualHooks:true})[_0xa5e9[19]](function(){return _0x6c57xf[_0xa5e9[50]](204)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};exports[_0xa5e9[80]]=function(_0x6c57xe,_0x6c57xf){return MailApplication[_0xa5e9[74]]({where:{id:_0x6c57xe[_0xa5e9[20]][_0xa5e9[79]]},individualHooks:true})[_0xa5e9[19]](function(){return _0x6c57xf[_0xa5e9[50]](204)})[_0xa5e9[16]](function(_0x6c57x10){return handleError(_0x6c57xf,_0x6c57x10)})};function handleError(_0x6c57xf,_0x6c57x10){return _0x6c57xf[_0xa5e9[18]](500)[_0xa5e9[17]](_0x6c57x10)} \ No newline at end of file diff --git a/server/api/mail_account/mail_account.socket.js b/server/api/mail_account/mail_account.socket.js index 02eec9d..30b683f 100644 --- a/server/api/mail_account/mail_account.socket.js +++ b/server/api/mail_account/mail_account.socket.js @@ -1 +1 @@ -var _0xa0be=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa0be[0];var MailAccount=require(_0xa0be[2])[_0xa0be[1]];exports[_0xa0be[3]]=function(_0xac3bx2){MailAccount[_0xa0be[4]](function(_0xac3bx3){onSave(_0xac3bx2,_0xac3bx3)});MailAccount[_0xa0be[5]](function(_0xac3bx3){onSave(_0xac3bx2,_0xac3bx3)});MailAccount[_0xa0be[6]](function(_0xac3bx3){onRemove(_0xac3bx2,_0xac3bx3)})};function onSave(_0xac3bx2,_0xac3bx3,_0xac3bx5){_0xac3bx2[_0xa0be[8]](_0xa0be[7],_0xac3bx3)}function onRemove(_0xac3bx2,_0xac3bx3,_0xac3bx5){_0xac3bx2[_0xa0be[8]](_0xa0be[9],_0xac3bx3)} \ No newline at end of file +var _0x5ac5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5ac5[0];var MailAccount=require(_0x5ac5[2])[_0x5ac5[1]];exports[_0x5ac5[3]]=function(_0x5a16x2){MailAccount[_0x5ac5[4]](function(_0x5a16x3){onSave(_0x5a16x2,_0x5a16x3)});MailAccount[_0x5ac5[5]](function(_0x5a16x3){onSave(_0x5a16x2,_0x5a16x3)});MailAccount[_0x5ac5[6]](function(_0x5a16x3){onRemove(_0x5a16x2,_0x5a16x3)})};function onSave(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0x5ac5[8]](_0x5ac5[7],_0x5a16x3)}function onRemove(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0x5ac5[8]](_0x5ac5[9],_0x5a16x3)} \ No newline at end of file diff --git a/server/api/mail_application/index.js b/server/api/mail_application/index.js index 4f7bac5..7621f33 100644 --- a/server/api/mail_application/index.js +++ b/server/api/mail_application/index.js @@ -1 +1 @@ -var _0xe77a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\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\x4D\x61\x69\x6C","\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"];_0xe77a[0];var express=require(_0xe77a[1]);var controller=require(_0xe77a[2]);var auth=require(_0xe77a[3]);var license=require(_0xe77a[4]);var router=express.Router();router[_0xe77a[12]](_0xe77a[5],license[_0xe77a[6]](),license[_0xe77a[7]](),auth[_0xe77a[8]](),auth[_0xe77a[10]]([9],[_0xe77a[9]]),controller[_0xe77a[11]]);router[_0xe77a[12]](_0xe77a[13],license[_0xe77a[6]](),license[_0xe77a[7]](),auth[_0xe77a[8]](),auth[_0xe77a[10]]([9],[_0xe77a[9]]),controller[_0xe77a[14]]);router[_0xe77a[16]](_0xe77a[5],license[_0xe77a[6]](),license[_0xe77a[7]](),auth[_0xe77a[8]](),auth[_0xe77a[10]]([9],[_0xe77a[9]]),controller[_0xe77a[15]]);router[_0xe77a[18]](_0xe77a[13],license[_0xe77a[6]](),license[_0xe77a[7]](),auth[_0xe77a[8]](),auth[_0xe77a[10]]([9],[_0xe77a[9]]),controller[_0xe77a[17]]);router[_0xe77a[20]](_0xe77a[13],license[_0xe77a[6]](),license[_0xe77a[7]](),auth[_0xe77a[8]](),auth[_0xe77a[10]]([9],[_0xe77a[9]]),controller[_0xe77a[19]]);module[_0xe77a[21]]=router \ No newline at end of file +var _0x405e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\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\x4D\x61\x69\x6C","\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"];_0x405e[0];var express=require(_0x405e[1]);var controller=require(_0x405e[2]);var auth=require(_0x405e[3]);var license=require(_0x405e[4]);var router=express.Router();router[_0x405e[12]](_0x405e[5],license[_0x405e[6]](),license[_0x405e[7]](),auth[_0x405e[8]](),auth[_0x405e[10]]([9],[_0x405e[9]]),controller[_0x405e[11]]);router[_0x405e[12]](_0x405e[13],license[_0x405e[6]](),license[_0x405e[7]](),auth[_0x405e[8]](),auth[_0x405e[10]]([9],[_0x405e[9]]),controller[_0x405e[14]]);router[_0x405e[16]](_0x405e[5],license[_0x405e[6]](),license[_0x405e[7]](),auth[_0x405e[8]](),auth[_0x405e[10]]([9],[_0x405e[9]]),controller[_0x405e[15]]);router[_0x405e[18]](_0x405e[13],license[_0x405e[6]](),license[_0x405e[7]](),auth[_0x405e[8]](),auth[_0x405e[10]]([9],[_0x405e[9]]),controller[_0x405e[17]]);router[_0x405e[20]](_0x405e[13],license[_0x405e[6]](),license[_0x405e[7]](),auth[_0x405e[8]](),auth[_0x405e[10]]([9],[_0x405e[9]]),controller[_0x405e[19]]);module[_0x405e[21]]=router \ No newline at end of file diff --git a/server/api/mail_application/mail_application.controller.js b/server/api/mail_application/mail_application.controller.js index 7db4e11..26fa473 100644 --- a/server/api/mail_application/mail_application.controller.js +++ b/server/api/mail_application/mail_application.controller.js @@ -1 +1 @@ -var _0xa280=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\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","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\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"];_0xa280[0];var _=require(_0xa280[1]);var MailApplication=require(_0xa280[3])[_0xa280[2]];exports[_0xa280[4]]=function(_0xea27x3,_0xea27x4,_0xea27x5){return MailApplication[_0xa280[11]]({where:_0xea27x3[_0xa280[9]],order:_0xa280[10],include:[{all:true}]})[_0xa280[8]](function(_0xea27x7){return _0xea27x4[_0xa280[7]](200)[_0xa280[6]](_0xea27x7)})[_0xa280[5]](function(_0xea27x6){return handleError(_0xea27x4,_0xea27x6)})};exports[_0xa280[12]]=function(_0xea27x3,_0xea27x4,_0xea27x5){return MailApplication[_0xa280[16]](_0xea27x3[_0xa280[15]][_0xa280[14]],{include:[{all:true}]})[_0xa280[8]](function(_0xea27x8){if(!_0xea27x8){return _0xea27x4[_0xa280[13]](404)};return _0xea27x4[_0xa280[6]](_0xea27x8)})[_0xa280[5]](function(_0xea27x6){return handleError(_0xea27x4,_0xea27x6)})};exports[_0xa280[17]]=function(_0xea27x3,_0xea27x4,_0xea27x5){return MailApplication[_0xa280[20]](_0xa280[10],{where:{MailAccountId:_0xea27x3[_0xa280[18]][_0xa280[19]]}})[_0xa280[8]](function(_0xea27x9){_0xea27x3[_0xa280[18]][_0xa280[10]]=_0xea27x9?++_0xea27x9:1;return MailApplication[_0xa280[17]](_0xea27x3[_0xa280[18]])})[_0xa280[8]](function(_0xea27x8){return _0xea27x4[_0xa280[7]](201)[_0xa280[6]](_0xea27x8)})[_0xa280[5]](function(_0xea27x6){return handleError(_0xea27x4,_0xea27x6)})};exports[_0xa280[21]]=function(_0xea27x3,_0xea27x4,_0xea27x5){if(_0xea27x3[_0xa280[18]][_0xa280[14]]){delete _0xea27x3[_0xa280[18]][_0xa280[14]]};return MailApplication[_0xa280[16]](_0xea27x3[_0xa280[15]][_0xa280[14]])[_0xa280[8]](function(_0xea27x8){if(!_0xea27x8){return _0xea27x4[_0xa280[13]](404)};var _0xea27xa=_[_0xa280[22]](_0xea27x8,_0xea27x3[_0xa280[18]]);return _0xea27xa[_0xa280[23]]()})[_0xa280[8]](function(_0xea27x8){return _0xea27x4[_0xa280[7]](200)[_0xa280[6]](_0xea27x8)})[_0xa280[5]](function(_0xea27x6){return handleError(_0xea27x4,_0xea27x6)})};exports[_0xa280[24]]=function(_0xea27x3,_0xea27x4,_0xea27x5){return MailApplication[_0xa280[16]](_0xea27x3[_0xa280[15]][_0xa280[14]])[_0xa280[8]](function(_0xea27x8){if(!_0xea27x8){return _0xea27x4[_0xa280[13]](404)};return _0xea27x8[_0xa280[24]]()})[_0xa280[8]](function(){return _0xea27x4[_0xa280[13]](204)})[_0xa280[5]](function(_0xea27x6){return handleError(_0xea27x4,_0xea27x6)})};function handleError(_0xea27x4,_0xea27x6){return _0xea27x4[_0xa280[7]](500)[_0xa280[6]](_0xea27x6)} \ No newline at end of file +var _0x6338=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\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","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\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"];_0x6338[0];var _=require(_0x6338[1]);var MailApplication=require(_0x6338[3])[_0x6338[2]];exports[_0x6338[4]]=function(_0x7ac2x3,_0x7ac2x4,_0x7ac2x5){return MailApplication[_0x6338[11]]({where:_0x7ac2x3[_0x6338[9]],order:_0x6338[10],include:[{all:true}]})[_0x6338[8]](function(_0x7ac2x7){return _0x7ac2x4[_0x6338[7]](200)[_0x6338[6]](_0x7ac2x7)})[_0x6338[5]](function(_0x7ac2x6){return handleError(_0x7ac2x4,_0x7ac2x6)})};exports[_0x6338[12]]=function(_0x7ac2x3,_0x7ac2x4,_0x7ac2x5){return MailApplication[_0x6338[16]](_0x7ac2x3[_0x6338[15]][_0x6338[14]],{include:[{all:true}]})[_0x6338[8]](function(_0x7ac2x8){if(!_0x7ac2x8){return _0x7ac2x4[_0x6338[13]](404)};return _0x7ac2x4[_0x6338[6]](_0x7ac2x8)})[_0x6338[5]](function(_0x7ac2x6){return handleError(_0x7ac2x4,_0x7ac2x6)})};exports[_0x6338[17]]=function(_0x7ac2x3,_0x7ac2x4,_0x7ac2x5){return MailApplication[_0x6338[20]](_0x6338[10],{where:{MailAccountId:_0x7ac2x3[_0x6338[18]][_0x6338[19]]}})[_0x6338[8]](function(_0x7ac2x9){_0x7ac2x3[_0x6338[18]][_0x6338[10]]=_0x7ac2x9?++_0x7ac2x9:1;return MailApplication[_0x6338[17]](_0x7ac2x3[_0x6338[18]])})[_0x6338[8]](function(_0x7ac2x8){return _0x7ac2x4[_0x6338[7]](201)[_0x6338[6]](_0x7ac2x8)})[_0x6338[5]](function(_0x7ac2x6){return handleError(_0x7ac2x4,_0x7ac2x6)})};exports[_0x6338[21]]=function(_0x7ac2x3,_0x7ac2x4,_0x7ac2x5){if(_0x7ac2x3[_0x6338[18]][_0x6338[14]]){delete _0x7ac2x3[_0x6338[18]][_0x6338[14]]};return MailApplication[_0x6338[16]](_0x7ac2x3[_0x6338[15]][_0x6338[14]])[_0x6338[8]](function(_0x7ac2x8){if(!_0x7ac2x8){return _0x7ac2x4[_0x6338[13]](404)};var _0x7ac2xa=_[_0x6338[22]](_0x7ac2x8,_0x7ac2x3[_0x6338[18]]);return _0x7ac2xa[_0x6338[23]]()})[_0x6338[8]](function(_0x7ac2x8){return _0x7ac2x4[_0x6338[7]](200)[_0x6338[6]](_0x7ac2x8)})[_0x6338[5]](function(_0x7ac2x6){return handleError(_0x7ac2x4,_0x7ac2x6)})};exports[_0x6338[24]]=function(_0x7ac2x3,_0x7ac2x4,_0x7ac2x5){return MailApplication[_0x6338[16]](_0x7ac2x3[_0x6338[15]][_0x6338[14]])[_0x6338[8]](function(_0x7ac2x8){if(!_0x7ac2x8){return _0x7ac2x4[_0x6338[13]](404)};return _0x7ac2x8[_0x6338[24]]()})[_0x6338[8]](function(){return _0x7ac2x4[_0x6338[13]](204)})[_0x6338[5]](function(_0x7ac2x6){return handleError(_0x7ac2x4,_0x7ac2x6)})};function handleError(_0x7ac2x4,_0x7ac2x6){return _0x7ac2x4[_0x6338[7]](500)[_0x6338[6]](_0x7ac2x6)} \ No newline at end of file diff --git a/server/api/mail_application/mail_application.socket.js b/server/api/mail_application/mail_application.socket.js index bb3e736..8052066 100644 --- a/server/api/mail_application/mail_application.socket.js +++ b/server/api/mail_application/mail_application.socket.js @@ -1 +1 @@ -var _0xa3ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa3ec[0];var mailApplication=require(_0xa3ec[2])[_0xa3ec[1]];exports[_0xa3ec[3]]=function(_0x7e9dx2){mailApplication[_0xa3ec[4]](function(_0x7e9dx3){onSave(_0x7e9dx2,_0x7e9dx3)});mailApplication[_0xa3ec[5]](function(_0x7e9dx3){onRemove(_0x7e9dx2,_0x7e9dx3)})};function onSave(_0x7e9dx2,_0x7e9dx3,_0x7e9dx5){_0x7e9dx2[_0xa3ec[7]](_0xa3ec[6],_0x7e9dx3)}function onRemove(_0x7e9dx2,_0x7e9dx3,_0x7e9dx5){_0x7e9dx2[_0xa3ec[7]](_0xa3ec[8],_0x7e9dx3)} \ No newline at end of file +var _0x3953=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3953[0];var mailApplication=require(_0x3953[2])[_0x3953[1]];exports[_0x3953[3]]=function(_0x83e0x2){mailApplication[_0x3953[4]](function(_0x83e0x3){onSave(_0x83e0x2,_0x83e0x3)});mailApplication[_0x3953[5]](function(_0x83e0x3){onRemove(_0x83e0x2,_0x83e0x3)})};function onSave(_0x83e0x2,_0x83e0x3,_0x83e0x5){_0x83e0x2[_0x3953[7]](_0x3953[6],_0x83e0x3)}function onRemove(_0x83e0x2,_0x83e0x3,_0x83e0x5){_0x83e0x2[_0x3953[7]](_0x3953[8],_0x83e0x3)} \ No newline at end of file diff --git a/server/api/mail_attachment/index.js b/server/api/mail_attachment/index.js index bb88702..9c4adba 100644 --- a/server/api/mail_attachment/index.js +++ b/server/api/mail_attachment/index.js @@ -1 +1 @@ -var _0x2c45=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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"];_0x2c45[0];var express=require(_0x2c45[1]);var controller=require(_0x2c45[2]);var auth=require(_0x2c45[3]);var license=require(_0x2c45[4]);var router=express.Router();router[_0x2c45[13]](_0x2c45[5],license[_0x2c45[6]](),license[_0x2c45[7]](),auth[_0x2c45[8]](),auth[_0x2c45[11]]([9],[_0x2c45[9],_0x2c45[10]]),controller[_0x2c45[12]]);router[_0x2c45[13]](_0x2c45[14],license[_0x2c45[6]](),license[_0x2c45[7]](),controller[_0x2c45[15]]);router[_0x2c45[17]](_0x2c45[5],license[_0x2c45[6]](),license[_0x2c45[7]](),auth[_0x2c45[8]](),auth[_0x2c45[11]]([9],[_0x2c45[9],_0x2c45[10]]),controller[_0x2c45[16]]);router[_0x2c45[19]](_0x2c45[14],license[_0x2c45[6]](),license[_0x2c45[7]](),auth[_0x2c45[8]](),auth[_0x2c45[11]]([9],[_0x2c45[9],_0x2c45[10]]),controller[_0x2c45[18]]);router[_0x2c45[21]](_0x2c45[14],license[_0x2c45[6]](),license[_0x2c45[7]](),auth[_0x2c45[8]](),auth[_0x2c45[11]]([9],[_0x2c45[9],_0x2c45[10]]),controller[_0x2c45[20]]);module[_0x2c45[22]]=router \ No newline at end of file +var _0xc704=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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"];_0xc704[0];var express=require(_0xc704[1]);var controller=require(_0xc704[2]);var auth=require(_0xc704[3]);var license=require(_0xc704[4]);var router=express.Router();router[_0xc704[13]](_0xc704[5],license[_0xc704[6]](),license[_0xc704[7]](),auth[_0xc704[8]](),auth[_0xc704[11]]([9],[_0xc704[9],_0xc704[10]]),controller[_0xc704[12]]);router[_0xc704[13]](_0xc704[14],license[_0xc704[6]](),license[_0xc704[7]](),controller[_0xc704[15]]);router[_0xc704[17]](_0xc704[5],license[_0xc704[6]](),license[_0xc704[7]](),auth[_0xc704[8]](),auth[_0xc704[11]]([9],[_0xc704[9],_0xc704[10]]),controller[_0xc704[16]]);router[_0xc704[19]](_0xc704[14],license[_0xc704[6]](),license[_0xc704[7]](),auth[_0xc704[8]](),auth[_0xc704[11]]([9],[_0xc704[9],_0xc704[10]]),controller[_0xc704[18]]);router[_0xc704[21]](_0xc704[14],license[_0xc704[6]](),license[_0xc704[7]](),auth[_0xc704[8]](),auth[_0xc704[11]]([9],[_0xc704[9],_0xc704[10]]),controller[_0xc704[20]]);module[_0xc704[22]]=router \ No newline at end of file diff --git a/server/api/mail_attachment/mail_attachment.controller.js b/server/api/mail_attachment/mail_attachment.controller.js index 98f0b2e..cc6ffbe 100644 --- a/server/api/mail_attachment/mail_attachment.controller.js +++ b/server/api/mail_attachment/mail_attachment.controller.js @@ -1 +1 @@ -var _0xc3fa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x66\x73","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x6E\x61\x6D\x65","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x73\x69\x7A\x65","\x66\x69\x6C\x65","\x74\x79\x70\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x75\x6E\x6C\x69\x6E\x6B","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0xc3fa[0];var _=require(_0xc3fa[1]);var path=require(_0xc3fa[2]);var fs=require(_0xc3fa[3]);var formidable=require(_0xc3fa[4]);var Promise=require(_0xc3fa[5]);var config=require(_0xc3fa[6]);var MailAttachment=require(_0xc3fa[8])[_0xc3fa[7]];exports[_0xc3fa[9]]=function(_0x4955x8,_0x4955x9,_0x4955xa){return MailAttachment[_0xc3fa[14]]()[_0xc3fa[13]](function(_0x4955xc){return _0x4955x9[_0xc3fa[12]](200)[_0xc3fa[11]](_0x4955xc)})[_0xc3fa[10]](function(_0x4955xb){return handleError(_0x4955x9,_0x4955xb)})};exports[_0xc3fa[15]]=function(_0x4955x8,_0x4955x9,_0x4955xa){return MailAttachment[_0xc3fa[20]](_0x4955x8[_0xc3fa[19]][_0xc3fa[18]])[_0xc3fa[13]](function(_0x4955xd){return _0x4955x9[_0xc3fa[17]](_0x4955xd[_0xc3fa[2]],_0x4955xd[_0xc3fa[16]])})[_0xc3fa[10]](function(_0x4955xb){return handleError(_0x4955x9,_0x4955xb)})};exports[_0xc3fa[21]]=function(_0x4955x8,_0x4955x9,_0x4955xa){var _0x4955xe= new formidable.IncomingForm();_0x4955xe[_0xc3fa[22]]=path[_0xc3fa[27]](config[_0xc3fa[23]],_0xc3fa[24],_0xc3fa[25],_0xc3fa[26]);_0x4955xe[_0xc3fa[28]]=true;_0x4955xe[_0xc3fa[29]]=true;_0x4955xe[_0xc3fa[30]]=true;_0x4955xe[_0xc3fa[35]](_0x4955x8,function(_0x4955xb,_0x4955xe,_0x4955xf){if(_0x4955xb){return _0x4955x9[_0xc3fa[12]](500)[_0xc3fa[11]](_0x4955xb)};return _0x4955x9[_0xc3fa[12]](201)[_0xc3fa[11]]({size:_0x4955xf[_0xc3fa[32]][_0xc3fa[31]],path:_0x4955xf[_0xc3fa[32]][_0xc3fa[2]],name:_0x4955xf[_0xc3fa[32]][_0xc3fa[16]],type:_0x4955xf[_0xc3fa[32]][_0xc3fa[33]],basename:path[_0xc3fa[34]](_0x4955xf[_0xc3fa[32]][_0xc3fa[2]])})})};exports[_0xc3fa[36]]=function(_0x4955x8,_0x4955x9,_0x4955xa){if(_0x4955x8[_0xc3fa[37]][_0xc3fa[18]]){delete _0x4955x8[_0xc3fa[37]][_0xc3fa[18]]};return MailAttachment[_0xc3fa[20]](_0x4955x8[_0xc3fa[19]][_0xc3fa[18]])[_0xc3fa[13]](function(_0x4955xd){if(!_0x4955xd){return _0x4955x9[_0xc3fa[38]](404)};var _0x4955x10=_[_0xc3fa[39]](_0x4955xd,_0x4955x8[_0xc3fa[37]]);return _0x4955x10[_0xc3fa[40]]()})[_0xc3fa[13]](function(_0x4955xd){return _0x4955x9[_0xc3fa[12]](200)[_0xc3fa[11]](_0x4955xd)})[_0xc3fa[10]](function(_0x4955xb){return handleError(_0x4955x9,_0x4955xb)})};exports[_0xc3fa[41]]=function(_0x4955x8,_0x4955x9,_0x4955xa){var _0x4955x11=Promise[_0xc3fa[43]](require(_0xc3fa[3])[_0xc3fa[42]]);var _0x4955x12=path[_0xc3fa[27]](config[_0xc3fa[23]],_0xc3fa[24],_0xc3fa[25],_0xc3fa[26],_0x4955x8[_0xc3fa[19]][_0xc3fa[18]]);return _0x4955x11(_0x4955x12)[_0xc3fa[13]](function(){return _0x4955x9[_0xc3fa[38]](204)})[_0xc3fa[10]](function(_0x4955xb){return handleError(_0x4955x9,_0x4955xb)})};function handleError(_0x4955x9,_0x4955xb){return _0x4955x9[_0xc3fa[12]](500)[_0xc3fa[11]](_0x4955xb)} \ No newline at end of file +var _0x2ac9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x66\x73","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x6E\x61\x6D\x65","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x73\x69\x7A\x65","\x66\x69\x6C\x65","\x74\x79\x70\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x75\x6E\x6C\x69\x6E\x6B","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0x2ac9[0];var _=require(_0x2ac9[1]);var path=require(_0x2ac9[2]);var fs=require(_0x2ac9[3]);var formidable=require(_0x2ac9[4]);var Promise=require(_0x2ac9[5]);var config=require(_0x2ac9[6]);var MailAttachment=require(_0x2ac9[8])[_0x2ac9[7]];exports[_0x2ac9[9]]=function(_0xfd6bx8,_0xfd6bx9,_0xfd6bxa){return MailAttachment[_0x2ac9[14]]()[_0x2ac9[13]](function(_0xfd6bxc){return _0xfd6bx9[_0x2ac9[12]](200)[_0x2ac9[11]](_0xfd6bxc)})[_0x2ac9[10]](function(_0xfd6bxb){return handleError(_0xfd6bx9,_0xfd6bxb)})};exports[_0x2ac9[15]]=function(_0xfd6bx8,_0xfd6bx9,_0xfd6bxa){return MailAttachment[_0x2ac9[20]](_0xfd6bx8[_0x2ac9[19]][_0x2ac9[18]])[_0x2ac9[13]](function(_0xfd6bxd){return _0xfd6bx9[_0x2ac9[17]](_0xfd6bxd[_0x2ac9[2]],_0xfd6bxd[_0x2ac9[16]])})[_0x2ac9[10]](function(_0xfd6bxb){return handleError(_0xfd6bx9,_0xfd6bxb)})};exports[_0x2ac9[21]]=function(_0xfd6bx8,_0xfd6bx9,_0xfd6bxa){var _0xfd6bxe= new formidable.IncomingForm();_0xfd6bxe[_0x2ac9[22]]=path[_0x2ac9[27]](config[_0x2ac9[23]],_0x2ac9[24],_0x2ac9[25],_0x2ac9[26]);_0xfd6bxe[_0x2ac9[28]]=true;_0xfd6bxe[_0x2ac9[29]]=true;_0xfd6bxe[_0x2ac9[30]]=true;_0xfd6bxe[_0x2ac9[35]](_0xfd6bx8,function(_0xfd6bxb,_0xfd6bxe,_0xfd6bxf){if(_0xfd6bxb){return _0xfd6bx9[_0x2ac9[12]](500)[_0x2ac9[11]](_0xfd6bxb)};return _0xfd6bx9[_0x2ac9[12]](201)[_0x2ac9[11]]({size:_0xfd6bxf[_0x2ac9[32]][_0x2ac9[31]],path:_0xfd6bxf[_0x2ac9[32]][_0x2ac9[2]],name:_0xfd6bxf[_0x2ac9[32]][_0x2ac9[16]],type:_0xfd6bxf[_0x2ac9[32]][_0x2ac9[33]],basename:path[_0x2ac9[34]](_0xfd6bxf[_0x2ac9[32]][_0x2ac9[2]])})})};exports[_0x2ac9[36]]=function(_0xfd6bx8,_0xfd6bx9,_0xfd6bxa){if(_0xfd6bx8[_0x2ac9[37]][_0x2ac9[18]]){delete _0xfd6bx8[_0x2ac9[37]][_0x2ac9[18]]};return MailAttachment[_0x2ac9[20]](_0xfd6bx8[_0x2ac9[19]][_0x2ac9[18]])[_0x2ac9[13]](function(_0xfd6bxd){if(!_0xfd6bxd){return _0xfd6bx9[_0x2ac9[38]](404)};var _0xfd6bx10=_[_0x2ac9[39]](_0xfd6bxd,_0xfd6bx8[_0x2ac9[37]]);return _0xfd6bx10[_0x2ac9[40]]()})[_0x2ac9[13]](function(_0xfd6bxd){return _0xfd6bx9[_0x2ac9[12]](200)[_0x2ac9[11]](_0xfd6bxd)})[_0x2ac9[10]](function(_0xfd6bxb){return handleError(_0xfd6bx9,_0xfd6bxb)})};exports[_0x2ac9[41]]=function(_0xfd6bx8,_0xfd6bx9,_0xfd6bxa){var _0xfd6bx11=Promise[_0x2ac9[43]](require(_0x2ac9[3])[_0x2ac9[42]]);var _0xfd6bx12=path[_0x2ac9[27]](config[_0x2ac9[23]],_0x2ac9[24],_0x2ac9[25],_0x2ac9[26],_0xfd6bx8[_0x2ac9[19]][_0x2ac9[18]]);return _0xfd6bx11(_0xfd6bx12)[_0x2ac9[13]](function(){return _0xfd6bx9[_0x2ac9[38]](204)})[_0x2ac9[10]](function(_0xfd6bxb){return handleError(_0xfd6bx9,_0xfd6bxb)})};function handleError(_0xfd6bx9,_0xfd6bxb){return _0xfd6bx9[_0x2ac9[12]](500)[_0x2ac9[11]](_0xfd6bxb)} \ No newline at end of file diff --git a/server/api/mail_attachment/mail_attachment.socket.js b/server/api/mail_attachment/mail_attachment.socket.js index 26a8387..1ea3036 100644 --- a/server/api/mail_attachment/mail_attachment.socket.js +++ b/server/api/mail_attachment/mail_attachment.socket.js @@ -1 +1 @@ -var _0x5312=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5312[0];var mail_attachment=require(_0x5312[2])[_0x5312[1]];exports[_0x5312[3]]=function(_0xd868x2){mail_attachment[_0x5312[4]](function(_0xd868x3){onSave(_0xd868x2,_0xd868x3)});mail_attachment[_0x5312[5]](function(_0xd868x3){onRemove(_0xd868x2,_0xd868x3)})};function onSave(_0xd868x2,_0xd868x3,_0xd868x5){_0xd868x2[_0x5312[7]](_0x5312[6],_0xd868x3)}function onRemove(_0xd868x2,_0xd868x3,_0xd868x5){_0xd868x2[_0x5312[7]](_0x5312[8],_0xd868x3)} \ No newline at end of file +var _0x2c6d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2c6d[0];var mail_attachment=require(_0x2c6d[2])[_0x2c6d[1]];exports[_0x2c6d[3]]=function(_0x9b3bx2){mail_attachment[_0x2c6d[4]](function(_0x9b3bx3){onSave(_0x9b3bx2,_0x9b3bx3)});mail_attachment[_0x2c6d[5]](function(_0x9b3bx3){onRemove(_0x9b3bx2,_0x9b3bx3)})};function onSave(_0x9b3bx2,_0x9b3bx3,_0x9b3bx5){_0x9b3bx2[_0x2c6d[7]](_0x2c6d[6],_0x9b3bx3)}function onRemove(_0x9b3bx2,_0x9b3bx3,_0x9b3bx5){_0x9b3bx2[_0x2c6d[7]](_0x2c6d[8],_0x9b3bx3)} \ No newline at end of file diff --git a/server/api/mail_disposition/index.js b/server/api/mail_disposition/index.js index 925ba70..a0c1708 100644 --- a/server/api/mail_disposition/index.js +++ b/server/api/mail_disposition/index.js @@ -1 +1 @@ -var _0x6896=["\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\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\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\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"];_0x6896[0];var express=require(_0x6896[1]);var auth=require(_0x6896[2]);var controller=require(_0x6896[3]);var router=express.Router();router[_0x6896[7]](_0x6896[4],auth[_0x6896[5]](),controller[_0x6896[6]]);router[_0x6896[7]](_0x6896[8],auth[_0x6896[5]](),controller[_0x6896[9]]);router[_0x6896[11]](_0x6896[4],auth[_0x6896[5]](),controller[_0x6896[10]]);router[_0x6896[13]](_0x6896[8],auth[_0x6896[5]](),controller[_0x6896[12]]);router[_0x6896[14]](_0x6896[8],auth[_0x6896[5]](),controller[_0x6896[12]]);router[_0x6896[16]](_0x6896[8],auth[_0x6896[5]](),controller[_0x6896[15]]);module[_0x6896[17]]=router \ No newline at end of file +var _0x6676=["\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\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\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\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"];_0x6676[0];var express=require(_0x6676[1]);var auth=require(_0x6676[2]);var controller=require(_0x6676[3]);var router=express.Router();router[_0x6676[7]](_0x6676[4],auth[_0x6676[5]](),controller[_0x6676[6]]);router[_0x6676[7]](_0x6676[8],auth[_0x6676[5]](),controller[_0x6676[9]]);router[_0x6676[11]](_0x6676[4],auth[_0x6676[5]](),controller[_0x6676[10]]);router[_0x6676[13]](_0x6676[8],auth[_0x6676[5]](),controller[_0x6676[12]]);router[_0x6676[14]](_0x6676[8],auth[_0x6676[5]](),controller[_0x6676[12]]);router[_0x6676[16]](_0x6676[8],auth[_0x6676[5]](),controller[_0x6676[15]]);module[_0x6676[17]]=router \ No newline at end of file diff --git a/server/api/mail_disposition/mail_disposition.controller.js b/server/api/mail_disposition/mail_disposition.controller.js index 45ac148..5290a97 100644 --- a/server/api/mail_disposition/mail_disposition.controller.js +++ b/server/api/mail_disposition/mail_disposition.controller.js @@ -1 +1 @@ -var _0x6bc5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\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"];_0x6bc5[0];var _=require(_0x6bc5[1]);var MailDisposition=require(_0x6bc5[3])[_0x6bc5[2]];function handleError(_0x6536x4,_0x6536x5){_0x6536x5=_0x6536x5||500;return function(_0x6536x6){_0x6536x4[_0x6bc5[5]](_0x6536x5)[_0x6bc5[4]](_0x6536x6)}}function responseWithResult(_0x6536x4,_0x6536x5){_0x6536x5=_0x6536x5||200;return function(_0x6536x8){if(_0x6536x8){_0x6536x4[_0x6bc5[5]](_0x6536x5)[_0x6bc5[6]](_0x6536x8)}}}function responseWithoutResult(_0x6536x4,_0x6536x5){_0x6536x5=_0x6536x5||200;return function(){_0x6536x4[_0x6bc5[7]](_0x6536x5)}}function handleEntityNotFound(_0x6536x4){return function(_0x6536x8){if(!_0x6536x8){_0x6536x4[_0x6bc5[5]](404)[_0x6bc5[8]]();return null};return _0x6536x8}}function saveUpdates(_0x6536xc){return function(_0x6536x8){return _0x6536x8[_0x6bc5[10]](_0x6536xc)[_0x6bc5[9]](function(_0x6536xd){return _0x6536xd})}}function removeEntity(_0x6536x4){return function(_0x6536x8){if(_0x6536x8){return _0x6536x8[_0x6bc5[11]]()[_0x6bc5[9]](function(){_0x6536x4[_0x6bc5[5]](204)[_0x6bc5[8]]()})}}}exports[_0x6bc5[12]]=function(_0x6536xf,_0x6536x4){MailDisposition[_0x6bc5[14]]()[_0x6bc5[9]](responseWithResult(_0x6536x4))[_0x6bc5[13]](handleError(_0x6536x4))};exports[_0x6bc5[15]]=function(_0x6536xf,_0x6536x4){MailDisposition[_0x6bc5[18]](_0x6536xf[_0x6bc5[17]][_0x6bc5[16]])[_0x6bc5[9]](handleEntityNotFound(_0x6536x4))[_0x6bc5[9]](responseWithResult(_0x6536x4))[_0x6bc5[13]](handleError(_0x6536x4))};exports[_0x6bc5[19]]=function(_0x6536xf,_0x6536x4){MailDisposition[_0x6bc5[19]](_0x6536xf[_0x6bc5[20]])[_0x6bc5[9]](responseWithResult(_0x6536x4,201))[_0x6bc5[13]](handleError(_0x6536x4))};exports[_0x6bc5[21]]=function(_0x6536xf,_0x6536x4){if(_0x6536xf[_0x6bc5[20]][_0x6bc5[16]]){delete _0x6536xf[_0x6bc5[20]][_0x6bc5[16]]};MailDisposition[_0x6bc5[18]](_0x6536xf[_0x6bc5[17]][_0x6bc5[16]])[_0x6bc5[9]](handleEntityNotFound(_0x6536x4))[_0x6bc5[9]](saveUpdates(_0x6536xf[_0x6bc5[20]]))[_0x6bc5[9]](responseWithResult(_0x6536x4))[_0x6bc5[13]](handleError(_0x6536x4))};exports[_0x6bc5[11]]=function(_0x6536xf,_0x6536x4){MailDisposition[_0x6bc5[18]](_0x6536xf[_0x6bc5[17]][_0x6bc5[16]])[_0x6bc5[9]](handleEntityNotFound(_0x6536x4))[_0x6bc5[9]](removeEntity(_0x6536x4))[_0x6bc5[13]](handleError(_0x6536x4))} \ No newline at end of file +var _0xa985=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\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"];_0xa985[0];var _=require(_0xa985[1]);var MailDisposition=require(_0xa985[3])[_0xa985[2]];function handleError(_0xc22dx4,_0xc22dx5){_0xc22dx5=_0xc22dx5||500;return function(_0xc22dx6){_0xc22dx4[_0xa985[5]](_0xc22dx5)[_0xa985[4]](_0xc22dx6)}}function responseWithResult(_0xc22dx4,_0xc22dx5){_0xc22dx5=_0xc22dx5||200;return function(_0xc22dx8){if(_0xc22dx8){_0xc22dx4[_0xa985[5]](_0xc22dx5)[_0xa985[6]](_0xc22dx8)}}}function responseWithoutResult(_0xc22dx4,_0xc22dx5){_0xc22dx5=_0xc22dx5||200;return function(){_0xc22dx4[_0xa985[7]](_0xc22dx5)}}function handleEntityNotFound(_0xc22dx4){return function(_0xc22dx8){if(!_0xc22dx8){_0xc22dx4[_0xa985[5]](404)[_0xa985[8]]();return null};return _0xc22dx8}}function saveUpdates(_0xc22dxc){return function(_0xc22dx8){return _0xc22dx8[_0xa985[10]](_0xc22dxc)[_0xa985[9]](function(_0xc22dxd){return _0xc22dxd})}}function removeEntity(_0xc22dx4){return function(_0xc22dx8){if(_0xc22dx8){return _0xc22dx8[_0xa985[11]]()[_0xa985[9]](function(){_0xc22dx4[_0xa985[5]](204)[_0xa985[8]]()})}}}exports[_0xa985[12]]=function(_0xc22dxf,_0xc22dx4){MailDisposition[_0xa985[14]]()[_0xa985[9]](responseWithResult(_0xc22dx4))[_0xa985[13]](handleError(_0xc22dx4))};exports[_0xa985[15]]=function(_0xc22dxf,_0xc22dx4){MailDisposition[_0xa985[18]](_0xc22dxf[_0xa985[17]][_0xa985[16]])[_0xa985[9]](handleEntityNotFound(_0xc22dx4))[_0xa985[9]](responseWithResult(_0xc22dx4))[_0xa985[13]](handleError(_0xc22dx4))};exports[_0xa985[19]]=function(_0xc22dxf,_0xc22dx4){MailDisposition[_0xa985[19]](_0xc22dxf[_0xa985[20]])[_0xa985[9]](responseWithResult(_0xc22dx4,201))[_0xa985[13]](handleError(_0xc22dx4))};exports[_0xa985[21]]=function(_0xc22dxf,_0xc22dx4){if(_0xc22dxf[_0xa985[20]][_0xa985[16]]){delete _0xc22dxf[_0xa985[20]][_0xa985[16]]};MailDisposition[_0xa985[18]](_0xc22dxf[_0xa985[17]][_0xa985[16]])[_0xa985[9]](handleEntityNotFound(_0xc22dx4))[_0xa985[9]](saveUpdates(_0xc22dxf[_0xa985[20]]))[_0xa985[9]](responseWithResult(_0xc22dx4))[_0xa985[13]](handleError(_0xc22dx4))};exports[_0xa985[11]]=function(_0xc22dxf,_0xc22dx4){MailDisposition[_0xa985[18]](_0xc22dxf[_0xa985[17]][_0xa985[16]])[_0xa985[9]](handleEntityNotFound(_0xc22dx4))[_0xa985[9]](removeEntity(_0xc22dx4))[_0xa985[13]](handleError(_0xc22dx4))} \ No newline at end of file diff --git a/server/api/mail_disposition/mail_disposition.socket.js b/server/api/mail_disposition/mail_disposition.socket.js index 1a3a2c7..73f704b 100644 --- a/server/api/mail_disposition/mail_disposition.socket.js +++ b/server/api/mail_disposition/mail_disposition.socket.js @@ -1 +1 @@ -var _0x1b41=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1b41[0];var MailDisposition=require(_0x1b41[2])[_0x1b41[1]];exports[_0x1b41[3]]=function(_0xa5a3x2){MailDisposition[_0x1b41[4]](function(_0xa5a3x3){onSave(_0xa5a3x2,_0xa5a3x3)});MailDisposition[_0x1b41[5]](function(_0xa5a3x3){onRemove(_0xa5a3x2,_0xa5a3x3)})};function onSave(_0xa5a3x2,_0xa5a3x3,_0xa5a3x5){_0xa5a3x2[_0x1b41[7]](_0x1b41[6],_0xa5a3x3)}function onRemove(_0xa5a3x2,_0xa5a3x3,_0xa5a3x5){_0xa5a3x2[_0x1b41[7]](_0x1b41[8],_0xa5a3x3)} \ No newline at end of file +var _0x5204=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5204[0];var MailDisposition=require(_0x5204[2])[_0x5204[1]];exports[_0x5204[3]]=function(_0x98b3x2){MailDisposition[_0x5204[4]](function(_0x98b3x3){onSave(_0x98b3x2,_0x98b3x3)});MailDisposition[_0x5204[5]](function(_0x98b3x3){onRemove(_0x98b3x2,_0x98b3x3)})};function onSave(_0x98b3x2,_0x98b3x3,_0x98b3x5){_0x98b3x2[_0x5204[7]](_0x5204[6],_0x98b3x3)}function onRemove(_0x98b3x2,_0x98b3x3,_0x98b3x5){_0x98b3x2[_0x5204[7]](_0x5204[8],_0x98b3x3)} \ No newline at end of file diff --git a/server/api/mail_message/index.js b/server/api/mail_message/index.js index 5d6562a..b58399e 100644 --- a/server/api/mail_message/index.js +++ b/server/api/mail_message/index.js @@ -1 +1 @@ -var _0xc75d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\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\x4D\x61\x69\x6C","\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","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xc75d[0];var express=require(_0xc75d[1]);var controller=require(_0xc75d[2]);var auth=require(_0xc75d[3]);var license=require(_0xc75d[4]);var router=express.Router();router[_0xc75d[13]](_0xc75d[5],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9],_0xc75d[10]]),controller[_0xc75d[12]]);router[_0xc75d[13]](_0xc75d[14],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9],_0xc75d[10]]),controller[_0xc75d[15]]);router[_0xc75d[17]](_0xc75d[5],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9],_0xc75d[10]]),controller[_0xc75d[16]]);router[_0xc75d[19]](_0xc75d[5],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9],_0xc75d[10]]),controller[_0xc75d[18]]);router[_0xc75d[19]](_0xc75d[20],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9]]),controller[_0xc75d[21]]);router[_0xc75d[19]](_0xc75d[22],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9]]),controller[_0xc75d[18]]);router[_0xc75d[19]](_0xc75d[14],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9],_0xc75d[10]]),controller[_0xc75d[18]]);router[_0xc75d[24]](_0xc75d[14],license[_0xc75d[6]](),license[_0xc75d[7]](),auth[_0xc75d[8]](),auth[_0xc75d[11]]([9],[_0xc75d[9]]),controller[_0xc75d[23]]);module[_0xc75d[25]]=router \ No newline at end of file +var _0x663a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\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\x4D\x61\x69\x6C","\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","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x663a[0];var express=require(_0x663a[1]);var controller=require(_0x663a[2]);var auth=require(_0x663a[3]);var license=require(_0x663a[4]);var router=express.Router();router[_0x663a[13]](_0x663a[5],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9],_0x663a[10]]),controller[_0x663a[12]]);router[_0x663a[13]](_0x663a[14],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9],_0x663a[10]]),controller[_0x663a[15]]);router[_0x663a[17]](_0x663a[5],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9],_0x663a[10]]),controller[_0x663a[16]]);router[_0x663a[19]](_0x663a[5],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9],_0x663a[10]]),controller[_0x663a[18]]);router[_0x663a[19]](_0x663a[20],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9]]),controller[_0x663a[21]]);router[_0x663a[19]](_0x663a[22],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9]]),controller[_0x663a[18]]);router[_0x663a[19]](_0x663a[14],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9],_0x663a[10]]),controller[_0x663a[18]]);router[_0x663a[24]](_0x663a[14],license[_0x663a[6]](),license[_0x663a[7]](),auth[_0x663a[8]](),auth[_0x663a[11]]([9],[_0x663a[9]]),controller[_0x663a[23]]);module[_0x663a[25]]=router \ No newline at end of file diff --git a/server/api/mail_message/mail_message.controller.js b/server/api/mail_message/mail_message.controller.js index 38a2994..a3b448a 100644 --- a/server/api/mail_message/mail_message.controller.js +++ b/server/api/mail_message/mail_message.controller.js @@ -1 +1 @@ -var _0xdc8b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x73\x79\x6E\x63","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x6F\x6E\x74\x61\x63\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\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","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xdc8b[0];var _=require(_0xdc8b[1]);var async=require(_0xdc8b[2]);var htmlToText=require(_0xdc8b[3]);var formidable=require(_0xdc8b[4]);var path=require(_0xdc8b[5]);var config=require(_0xdc8b[6]);var sequelize=require(_0xdc8b[8])[_0xdc8b[7]];var MailMessage=require(_0xdc8b[8])[_0xdc8b[9]];var MailAttachment=require(_0xdc8b[8])[_0xdc8b[10]];var MailRoom=require(_0xdc8b[8])[_0xdc8b[11]];var MailAccount=require(_0xdc8b[8])[_0xdc8b[12]];var ContactEmail=require(_0xdc8b[8])[_0xdc8b[13]];var Contact=require(_0xdc8b[8])[_0xdc8b[14]];var User=require(_0xdc8b[8])[_0xdc8b[15]];exports[_0xdc8b[16]]=function(_0x8941xf,_0x8941x10,_0x8941x11){var _0x8941x12={order:_0xdc8b[17],include:[{all:true,include:[{all:true}]}]};switch(_0x8941xf[_0xdc8b[23]][_0xdc8b[22]]){case _0xdc8b[20]:_0x8941x12[_0xdc8b[18]]=_0x8941xf[_0xdc8b[19]];break;case _0xdc8b[21]:break;default:};return MailMessage[_0xdc8b[28]](_0x8941x12)[_0xdc8b[27]](function(_0x8941x14){return _0x8941x10[_0xdc8b[26]](200)[_0xdc8b[25]](_0x8941x14)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13,_0x8941x11)})};exports[_0xdc8b[29]]=function(_0x8941xf,_0x8941x10,_0x8941x11){return MailMessage[_0xdc8b[36]](_0x8941xf[_0xdc8b[32]][_0xdc8b[31]],{include:[{model:MailAttachment},{model:User,attributes:[_0xdc8b[31],_0xdc8b[33],_0xdc8b[34],_0xdc8b[35]]}]})[_0xdc8b[27]](function(_0x8941x15){if(!_0x8941x15){return _0x8941x10[_0xdc8b[30]](404)};return _0x8941x10[_0xdc8b[25]](_0x8941x15)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13,_0x8941x11)})};exports[_0xdc8b[37]]=function(_0x8941xf,_0x8941x10,_0x8941x11){_0x8941xf[_0xdc8b[39]][_0xdc8b[38]]=_0x8941xf[_0xdc8b[23]][_0xdc8b[31]];_0x8941xf[_0xdc8b[39]][_0xdc8b[40]]=_0x8941xf[_0xdc8b[39]][_0xdc8b[40]]||htmlToText[_0xdc8b[42]](_0x8941xf[_0xdc8b[39]][_0xdc8b[41]],{wordwrap:false});return MailMessage[_0xdc8b[37]](_0x8941xf[_0xdc8b[39]],{include:[{model:MailAttachment}]})[_0xdc8b[27]](function(_0x8941x15){return _0x8941x10[_0xdc8b[26]](201)[_0xdc8b[25]](_0x8941x15)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13)})};exports[_0xdc8b[43]]=function(_0x8941xf,_0x8941x10,_0x8941x11){return MailMessage[_0xdc8b[36]](_0x8941xf[_0xdc8b[32]][_0xdc8b[31]],{include:[{all:true}]})[_0xdc8b[27]](function(_0x8941x15){if(!_0x8941x15){return _0x8941x10[_0xdc8b[30]](404)};var _0x8941x16=_[_0xdc8b[44]](_0x8941x15,_0x8941xf[_0xdc8b[39]]);return _0x8941x16[_0xdc8b[45]]()})[_0xdc8b[27]](function(_0x8941x16){return _0x8941x10[_0xdc8b[26]](200)[_0xdc8b[25]](_0x8941x16)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13,_0x8941x11)})};exports[_0xdc8b[46]]=function(_0x8941xf,_0x8941x10,_0x8941x11){return MailMessage[_0xdc8b[36]](_0x8941xf[_0xdc8b[32]][_0xdc8b[31]])[_0xdc8b[27]](function(_0x8941x15){if(!_0x8941x15){return _0x8941x10[_0xdc8b[30]](404)};return _0x8941x15[_0xdc8b[46]]()})[_0xdc8b[27]](function(){return _0x8941x10[_0xdc8b[30]](204)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13,_0x8941x11)})};exports[_0xdc8b[47]]=function(_0x8941xf,_0x8941x10,_0x8941x11){return MailMessage[_0xdc8b[49]]({where:{id:{$in:_0x8941xf[_0xdc8b[39]][_0xdc8b[31]]}},attributes:{directory:_0xdc8b[48]}})[_0xdc8b[27]](function(_0x8941x15){if(!_0x8941x15){return _0x8941x10[_0xdc8b[30]](404)};return _0x8941x15[_0xdc8b[46]]()})[_0xdc8b[27]](function(){return _0x8941x10[_0xdc8b[30]](204)})[_0xdc8b[24]](function(_0x8941x13){return handleError(_0x8941x10,_0x8941x13,_0x8941x11)})};function handleError(_0x8941x10,_0x8941x13,_0x8941x11){return _0x8941x10[_0xdc8b[26]](500)[_0xdc8b[25]](_0x8941x13)} \ No newline at end of file +var _0x8dea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x73\x79\x6E\x63","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x6F\x6E\x74\x61\x63\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\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","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0x8dea[0];var _=require(_0x8dea[1]);var async=require(_0x8dea[2]);var htmlToText=require(_0x8dea[3]);var formidable=require(_0x8dea[4]);var path=require(_0x8dea[5]);var config=require(_0x8dea[6]);var sequelize=require(_0x8dea[8])[_0x8dea[7]];var MailMessage=require(_0x8dea[8])[_0x8dea[9]];var MailAttachment=require(_0x8dea[8])[_0x8dea[10]];var MailRoom=require(_0x8dea[8])[_0x8dea[11]];var MailAccount=require(_0x8dea[8])[_0x8dea[12]];var ContactEmail=require(_0x8dea[8])[_0x8dea[13]];var Contact=require(_0x8dea[8])[_0x8dea[14]];var User=require(_0x8dea[8])[_0x8dea[15]];exports[_0x8dea[16]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){var _0x6a72x12={order:_0x8dea[17],include:[{all:true,include:[{all:true}]}]};switch(_0x6a72xf[_0x8dea[23]][_0x8dea[22]]){case _0x8dea[20]:_0x6a72x12[_0x8dea[18]]=_0x6a72xf[_0x8dea[19]];break;case _0x8dea[21]:break;default:};return MailMessage[_0x8dea[28]](_0x6a72x12)[_0x8dea[27]](function(_0x6a72x14){return _0x6a72x10[_0x8dea[26]](200)[_0x8dea[25]](_0x6a72x14)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11)})};exports[_0x8dea[29]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){return MailMessage[_0x8dea[36]](_0x6a72xf[_0x8dea[32]][_0x8dea[31]],{include:[{model:MailAttachment},{model:User,attributes:[_0x8dea[31],_0x8dea[33],_0x8dea[34],_0x8dea[35]]}]})[_0x8dea[27]](function(_0x6a72x15){if(!_0x6a72x15){return _0x6a72x10[_0x8dea[30]](404)};return _0x6a72x10[_0x8dea[25]](_0x6a72x15)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11)})};exports[_0x8dea[37]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){_0x6a72xf[_0x8dea[39]][_0x8dea[38]]=_0x6a72xf[_0x8dea[23]][_0x8dea[31]];_0x6a72xf[_0x8dea[39]][_0x8dea[40]]=_0x6a72xf[_0x8dea[39]][_0x8dea[40]]||htmlToText[_0x8dea[42]](_0x6a72xf[_0x8dea[39]][_0x8dea[41]],{wordwrap:false});return MailMessage[_0x8dea[37]](_0x6a72xf[_0x8dea[39]],{include:[{model:MailAttachment}]})[_0x8dea[27]](function(_0x6a72x15){return _0x6a72x10[_0x8dea[26]](201)[_0x8dea[25]](_0x6a72x15)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13)})};exports[_0x8dea[43]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){return MailMessage[_0x8dea[36]](_0x6a72xf[_0x8dea[32]][_0x8dea[31]],{include:[{all:true}]})[_0x8dea[27]](function(_0x6a72x15){if(!_0x6a72x15){return _0x6a72x10[_0x8dea[30]](404)};var _0x6a72x16=_[_0x8dea[44]](_0x6a72x15,_0x6a72xf[_0x8dea[39]]);return _0x6a72x16[_0x8dea[45]]()})[_0x8dea[27]](function(_0x6a72x16){return _0x6a72x10[_0x8dea[26]](200)[_0x8dea[25]](_0x6a72x16)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11)})};exports[_0x8dea[46]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){return MailMessage[_0x8dea[36]](_0x6a72xf[_0x8dea[32]][_0x8dea[31]])[_0x8dea[27]](function(_0x6a72x15){if(!_0x6a72x15){return _0x6a72x10[_0x8dea[30]](404)};return _0x6a72x15[_0x8dea[46]]()})[_0x8dea[27]](function(){return _0x6a72x10[_0x8dea[30]](204)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11)})};exports[_0x8dea[47]]=function(_0x6a72xf,_0x6a72x10,_0x6a72x11){return MailMessage[_0x8dea[49]]({where:{id:{$in:_0x6a72xf[_0x8dea[39]][_0x8dea[31]]}},attributes:{directory:_0x8dea[48]}})[_0x8dea[27]](function(_0x6a72x15){if(!_0x6a72x15){return _0x6a72x10[_0x8dea[30]](404)};return _0x6a72x15[_0x8dea[46]]()})[_0x8dea[27]](function(){return _0x6a72x10[_0x8dea[30]](204)})[_0x8dea[24]](function(_0x6a72x13){return handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11)})};function handleError(_0x6a72x10,_0x6a72x13,_0x6a72x11){return _0x6a72x10[_0x8dea[26]](500)[_0x8dea[25]](_0x6a72x13)} \ No newline at end of file diff --git a/server/api/mail_message/mail_message.socket.js b/server/api/mail_message/mail_message.socket.js index ee5690b..ff76aeb 100644 --- a/server/api/mail_message/mail_message.socket.js +++ b/server/api/mail_message/mail_message.socket.js @@ -1 +1 @@ -var _0x799f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x799f[0];var MailMessage=require(_0x799f[2])[_0x799f[1]];exports[_0x799f[3]]=function(_0x43e8x2){MailMessage[_0x799f[4]](function(_0x43e8x3){onSave(_0x43e8x2,_0x43e8x3)});MailMessage[_0x799f[5]](function(_0x43e8x3){onSave(_0x43e8x2,_0x43e8x3)});MailMessage[_0x799f[6]](function(_0x43e8x3){onRemove(_0x43e8x2,_0x43e8x3)})};function onSave(_0x43e8x2,_0x43e8x3,_0x43e8x5){_0x43e8x2[_0x799f[8]](_0x799f[7],_0x43e8x3)}function onRemove(_0x43e8x2,_0x43e8x3,_0x43e8x5){_0x43e8x2[_0x799f[8]](_0x799f[9],_0x43e8x3)} \ No newline at end of file +var _0x2324=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2324[0];var MailMessage=require(_0x2324[2])[_0x2324[1]];exports[_0x2324[3]]=function(_0x8c49x2){MailMessage[_0x2324[4]](function(_0x8c49x3){onSave(_0x8c49x2,_0x8c49x3)});MailMessage[_0x2324[5]](function(_0x8c49x3){onSave(_0x8c49x2,_0x8c49x3)});MailMessage[_0x2324[6]](function(_0x8c49x3){onRemove(_0x8c49x2,_0x8c49x3)})};function onSave(_0x8c49x2,_0x8c49x3,_0x8c49x5){_0x8c49x2[_0x2324[8]](_0x2324[7],_0x8c49x3)}function onRemove(_0x8c49x2,_0x8c49x3,_0x8c49x5){_0x8c49x2[_0x2324[8]](_0x2324[9],_0x8c49x3)} \ No newline at end of file diff --git a/server/api/mail_queue/index.js b/server/api/mail_queue/index.js index 366d15c..bbd7e9d 100644 --- a/server/api/mail_queue/index.js +++ b/server/api/mail_queue/index.js @@ -1 +1 @@ -var _0x1ed7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\x4D\x61\x69\x6C","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x1ed7[0];var express=require(_0x1ed7[1]);var controller=require(_0x1ed7[2]);var auth=require(_0x1ed7[3]);var license=require(_0x1ed7[4]);var router=express.Router();router[_0x1ed7[12]](_0x1ed7[5],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[11]]);router[_0x1ed7[12]](_0x1ed7[13],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[14]]);router[_0x1ed7[12]](_0x1ed7[15],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[16]]);router[_0x1ed7[18]](_0x1ed7[5],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[17]]);router[_0x1ed7[18]](_0x1ed7[15],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[19]]);router[_0x1ed7[21]](_0x1ed7[13],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[20]]);router[_0x1ed7[23]](_0x1ed7[5],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[22]]);router[_0x1ed7[23]](_0x1ed7[13],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[24]]);router[_0x1ed7[23]](_0x1ed7[15],license[_0x1ed7[6]](),license[_0x1ed7[7]](),auth[_0x1ed7[8]](),auth[_0x1ed7[10]]([9],[_0x1ed7[9]]),controller[_0x1ed7[25]]);module[_0x1ed7[26]]=router \ No newline at end of file +var _0x9541=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\x4D\x61\x69\x6C","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x9541[0];var express=require(_0x9541[1]);var controller=require(_0x9541[2]);var auth=require(_0x9541[3]);var license=require(_0x9541[4]);var router=express.Router();router[_0x9541[12]](_0x9541[5],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[11]]);router[_0x9541[12]](_0x9541[13],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[14]]);router[_0x9541[12]](_0x9541[15],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[16]]);router[_0x9541[18]](_0x9541[5],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[17]]);router[_0x9541[18]](_0x9541[15],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[19]]);router[_0x9541[21]](_0x9541[13],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[20]]);router[_0x9541[23]](_0x9541[5],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[22]]);router[_0x9541[23]](_0x9541[13],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[24]]);router[_0x9541[23]](_0x9541[15],license[_0x9541[6]](),license[_0x9541[7]](),auth[_0x9541[8]](),auth[_0x9541[10]]([9],[_0x9541[9]]),controller[_0x9541[25]]);module[_0x9541[26]]=router \ No newline at end of file diff --git a/server/api/mail_queue/mail_queue.controller.js b/server/api/mail_queue/mail_queue.controller.js index 2526f19..dc7bddd 100644 --- a/server/api/mail_queue/mail_queue.controller.js +++ b/server/api/mail_queue/mail_queue.controller.js @@ -1 +1 @@ -var _0x6878=["\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","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\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\x4D\x61\x69\x6C\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","\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","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\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","\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","\x6E\x61\x6D\x65","\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","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\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","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73"];_0x6878[0];var _=require(_0x6878[1]);var util=require(_0x6878[2]);var Util=require(_0x6878[3]);var sequelize=require(_0x6878[5])[_0x6878[4]];var MailQueue=require(_0x6878[5])[_0x6878[6]];var User=require(_0x6878[5])[_0x6878[7]];var UserHasMailQueue=require(_0x6878[5])[_0x6878[8]];exports[_0x6878[9]]=function(_0xf13cx8,_0xf13cx9){switch(_0xf13cx8[_0x6878[17]][_0x6878[23]]){case _0x6878[17]:return User[_0x6878[18]](_0xf13cx8[_0x6878[17]][_0x6878[16]],{attributes:[_0x6878[16]]})[_0x6878[13]](Util[_0x6878[15]](_0xf13cx8[_0x6878[14]]))[_0x6878[13]](function(_0xf13cxb){_0xf13cx9[_0x6878[12]](200)[_0x6878[11]](_0xf13cxb)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)});default:return MailQueue[_0x6878[22]](_0x6878[21])[_0x6878[20]](Util[_0x6878[19]](_0xf13cx8[_0x6878[14]]))[_0x6878[13]](function(_0xf13cxb){_0xf13cx9[_0x6878[12]](200)[_0x6878[11]](_0xf13cxb)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})}};exports[_0x6878[24]]=function(_0xf13cx8,_0xf13cx9){return MailQueue[_0x6878[22]](_0x6878[21])[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cxc){if(!_0xf13cxc){return _0xf13cx9[_0x6878[25]](404)};return _0xf13cx9[_0x6878[11]](_0xf13cxc)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[27]]=function(_0xf13cx8,_0xf13cx9){return MailQueue[_0x6878[27]](_0xf13cx8[_0x6878[30]])[_0x6878[13]](function(_0xf13cxc){return _0xf13cx9[_0x6878[12]](201)[_0x6878[11]](_0xf13cxc)})[_0x6878[10]](sequelize.UniqueConstraintError,function(_0xf13cxa){return Util[_0x6878[29]][_0x6878[28]](_0xf13cx9,_0xf13cxa)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[31]]=function(_0xf13cx8,_0xf13cx9){if(_0xf13cx8[_0x6878[30]][_0x6878[16]]){delete _0xf13cx8[_0x6878[30]][_0x6878[16]]};return MailQueue[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cxc){if(!_0xf13cxc){return _0xf13cx9[_0x6878[25]](404)};var _0xf13cxd=_[_0x6878[32]](_0xf13cxc,_0xf13cx8[_0x6878[30]]);return _0xf13cxd[_0x6878[33]]()})[_0x6878[13]](function(_0xf13cxc){return _0xf13cx9[_0x6878[12]](200)[_0x6878[11]](_0xf13cxc)})[_0x6878[10]](sequelize.UniqueConstraintError,function(_0xf13cxa){return Util[_0x6878[29]][_0x6878[28]](_0xf13cx9,_0xf13cxa)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[34]]=function(_0xf13cx8,_0xf13cx9,_0xf13cxe){return MailQueue[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cxc){if(!_0xf13cxc){return _0xf13cx9[_0x6878[25]](404)};var _0xf13cxf=_[_0x6878[38]](_0xf13cx8[_0x6878[30]][_0x6878[35]],function(_0xf13cx10){return {UserId:_0xf13cx10,penalty:_0xf13cx8[_0x6878[30]][_0x6878[36]],MailQueueId:_0xf13cxc[_0x6878[16]],queue:_0xf13cxc[_0x6878[37]]}});return UserHasMailQueue[_0x6878[39]](_0xf13cxf,{individualHooks:true})})[_0x6878[13]](function(){return _0xf13cx9[_0x6878[25]](200)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[40]]=function(_0xf13cx8,_0xf13cx9){return MailQueue[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cx11){if(!_0xf13cx11){return _0xf13cx9[_0x6878[25]](404)};return _0xf13cx11[_0x6878[41]](_0xf13cx8[_0x6878[14]][_0x6878[35]],{individualHooks:true})})[_0x6878[13]](function(){return _0xf13cx9[_0x6878[25]](200)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[42]]=function(_0xf13cx8,_0xf13cx9){var _0xf13cx12;return MailQueue[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cxc){_0xf13cx12=_0xf13cxc;if(!_0xf13cxc){return _0xf13cx9[_0x6878[25]](404)};return _0xf13cxc[_0x6878[42]]()})[_0x6878[13]](function(){return _0xf13cx9[_0x6878[25]](204)})[_0x6878[10]](sequelize.ForeignKeyConstraintError,function(_0xf13cxa){return Util[_0x6878[29]][_0x6878[46]](_0xf13cx9,_0x6878[45],_0xf13cx12[_0x6878[37]],_0xf13cxa)})[_0x6878[10]](function(_0xf13cxa){console[_0x6878[44]](_0x6878[43],_0xf13cxa);return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[47]]=function(_0xf13cx8,_0xf13cx9){return MailQueue[_0x6878[42]]({where:{id:_0xf13cx8[_0x6878[14]][_0x6878[48]]},individualHooks:true})[_0x6878[13]](function(){return _0xf13cx9[_0x6878[25]](204)})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};exports[_0x6878[49]]=function(_0xf13cx8,_0xf13cx9){return MailQueue[_0x6878[18]](_0xf13cx8[_0x6878[26]][_0x6878[16]])[_0x6878[13]](function(_0xf13cx11){if(!_0xf13cx11){return _0xf13cx9[_0x6878[25]](404)};return _0xf13cx11[_0x6878[54]]({where:{role:_0x6878[51]},attributes:[_0x6878[16],_0x6878[37],_0x6878[52],_0x6878[53]]})})[_0x6878[13]](function(_0xf13cx13){return _0xf13cx9[_0x6878[12]](200)[_0x6878[11]]({rows:_0xf13cx13,count:_0xf13cx13[_0x6878[50]]})})[_0x6878[10]](function(_0xf13cxa){return handleError(_0xf13cx9,_0xf13cxa)})};function handleError(_0xf13cx9,_0xf13cxa){return _0xf13cx9[_0x6878[12]](500)[_0x6878[11]](_0xf13cxa)} \ No newline at end of file +var _0xec6e=["\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","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\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\x4D\x61\x69\x6C\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","\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","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\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","\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","\x6E\x61\x6D\x65","\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","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\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","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73"];_0xec6e[0];var _=require(_0xec6e[1]);var util=require(_0xec6e[2]);var Util=require(_0xec6e[3]);var sequelize=require(_0xec6e[5])[_0xec6e[4]];var MailQueue=require(_0xec6e[5])[_0xec6e[6]];var User=require(_0xec6e[5])[_0xec6e[7]];var UserHasMailQueue=require(_0xec6e[5])[_0xec6e[8]];exports[_0xec6e[9]]=function(_0x705bx8,_0x705bx9){switch(_0x705bx8[_0xec6e[17]][_0xec6e[23]]){case _0xec6e[17]:return User[_0xec6e[18]](_0x705bx8[_0xec6e[17]][_0xec6e[16]],{attributes:[_0xec6e[16]]})[_0xec6e[13]](Util[_0xec6e[15]](_0x705bx8[_0xec6e[14]]))[_0xec6e[13]](function(_0x705bxb){_0x705bx9[_0xec6e[12]](200)[_0xec6e[11]](_0x705bxb)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)});default:return MailQueue[_0xec6e[22]](_0xec6e[21])[_0xec6e[20]](Util[_0xec6e[19]](_0x705bx8[_0xec6e[14]]))[_0xec6e[13]](function(_0x705bxb){_0x705bx9[_0xec6e[12]](200)[_0xec6e[11]](_0x705bxb)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})}};exports[_0xec6e[24]]=function(_0x705bx8,_0x705bx9){return MailQueue[_0xec6e[22]](_0xec6e[21])[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bxc){if(!_0x705bxc){return _0x705bx9[_0xec6e[25]](404)};return _0x705bx9[_0xec6e[11]](_0x705bxc)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[27]]=function(_0x705bx8,_0x705bx9){return MailQueue[_0xec6e[27]](_0x705bx8[_0xec6e[30]])[_0xec6e[13]](function(_0x705bxc){return _0x705bx9[_0xec6e[12]](201)[_0xec6e[11]](_0x705bxc)})[_0xec6e[10]](sequelize.UniqueConstraintError,function(_0x705bxa){return Util[_0xec6e[29]][_0xec6e[28]](_0x705bx9,_0x705bxa)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[31]]=function(_0x705bx8,_0x705bx9){if(_0x705bx8[_0xec6e[30]][_0xec6e[16]]){delete _0x705bx8[_0xec6e[30]][_0xec6e[16]]};return MailQueue[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bxc){if(!_0x705bxc){return _0x705bx9[_0xec6e[25]](404)};var _0x705bxd=_[_0xec6e[32]](_0x705bxc,_0x705bx8[_0xec6e[30]]);return _0x705bxd[_0xec6e[33]]()})[_0xec6e[13]](function(_0x705bxc){return _0x705bx9[_0xec6e[12]](200)[_0xec6e[11]](_0x705bxc)})[_0xec6e[10]](sequelize.UniqueConstraintError,function(_0x705bxa){return Util[_0xec6e[29]][_0xec6e[28]](_0x705bx9,_0x705bxa)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[34]]=function(_0x705bx8,_0x705bx9,_0x705bxe){return MailQueue[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bxc){if(!_0x705bxc){return _0x705bx9[_0xec6e[25]](404)};var _0x705bxf=_[_0xec6e[38]](_0x705bx8[_0xec6e[30]][_0xec6e[35]],function(_0x705bx10){return {UserId:_0x705bx10,penalty:_0x705bx8[_0xec6e[30]][_0xec6e[36]],MailQueueId:_0x705bxc[_0xec6e[16]],queue:_0x705bxc[_0xec6e[37]]}});return UserHasMailQueue[_0xec6e[39]](_0x705bxf,{individualHooks:true})})[_0xec6e[13]](function(){return _0x705bx9[_0xec6e[25]](200)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[40]]=function(_0x705bx8,_0x705bx9){return MailQueue[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bx11){if(!_0x705bx11){return _0x705bx9[_0xec6e[25]](404)};return _0x705bx11[_0xec6e[41]](_0x705bx8[_0xec6e[14]][_0xec6e[35]],{individualHooks:true})})[_0xec6e[13]](function(){return _0x705bx9[_0xec6e[25]](200)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[42]]=function(_0x705bx8,_0x705bx9){var _0x705bx12;return MailQueue[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bxc){_0x705bx12=_0x705bxc;if(!_0x705bxc){return _0x705bx9[_0xec6e[25]](404)};return _0x705bxc[_0xec6e[42]]()})[_0xec6e[13]](function(){return _0x705bx9[_0xec6e[25]](204)})[_0xec6e[10]](sequelize.ForeignKeyConstraintError,function(_0x705bxa){return Util[_0xec6e[29]][_0xec6e[46]](_0x705bx9,_0xec6e[45],_0x705bx12[_0xec6e[37]],_0x705bxa)})[_0xec6e[10]](function(_0x705bxa){console[_0xec6e[44]](_0xec6e[43],_0x705bxa);return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[47]]=function(_0x705bx8,_0x705bx9){return MailQueue[_0xec6e[42]]({where:{id:_0x705bx8[_0xec6e[14]][_0xec6e[48]]},individualHooks:true})[_0xec6e[13]](function(){return _0x705bx9[_0xec6e[25]](204)})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};exports[_0xec6e[49]]=function(_0x705bx8,_0x705bx9){return MailQueue[_0xec6e[18]](_0x705bx8[_0xec6e[26]][_0xec6e[16]])[_0xec6e[13]](function(_0x705bx11){if(!_0x705bx11){return _0x705bx9[_0xec6e[25]](404)};return _0x705bx11[_0xec6e[54]]({where:{role:_0xec6e[51]},attributes:[_0xec6e[16],_0xec6e[37],_0xec6e[52],_0xec6e[53]]})})[_0xec6e[13]](function(_0x705bx13){return _0x705bx9[_0xec6e[12]](200)[_0xec6e[11]]({rows:_0x705bx13,count:_0x705bx13[_0xec6e[50]]})})[_0xec6e[10]](function(_0x705bxa){return handleError(_0x705bx9,_0x705bxa)})};function handleError(_0x705bx9,_0x705bxa){return _0x705bx9[_0xec6e[12]](500)[_0xec6e[11]](_0x705bxa)} \ No newline at end of file diff --git a/server/api/mail_queue/mail_queue.socket.js b/server/api/mail_queue/mail_queue.socket.js index 6f3ca8b..9cee12f 100644 --- a/server/api/mail_queue/mail_queue.socket.js +++ b/server/api/mail_queue/mail_queue.socket.js @@ -1 +1 @@ -var _0x4e9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4e9f[0];var MailQueue=require(_0x4e9f[2])[_0x4e9f[1]];exports[_0x4e9f[3]]=function(_0x7b14x2){MailQueue[_0x4e9f[4]](function(_0x7b14x3){onSave(_0x7b14x2,_0x7b14x3)});MailQueue[_0x4e9f[5]](function(_0x7b14x3){onRemove(_0x7b14x2,_0x7b14x3)})};function onSave(_0x7b14x2,_0x7b14x3,_0x7b14x5){_0x7b14x2[_0x4e9f[7]](_0x4e9f[6],_0x7b14x3)}function onRemove(_0x7b14x2,_0x7b14x3,_0x7b14x5){_0x7b14x2[_0x4e9f[7]](_0x4e9f[8],_0x7b14x3)} \ No newline at end of file +var _0xfa9d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfa9d[0];var MailQueue=require(_0xfa9d[2])[_0xfa9d[1]];exports[_0xfa9d[3]]=function(_0x34f6x2){MailQueue[_0xfa9d[4]](function(_0x34f6x3){onSave(_0x34f6x2,_0x34f6x3)});MailQueue[_0xfa9d[5]](function(_0x34f6x3){onRemove(_0x34f6x2,_0x34f6x3)})};function onSave(_0x34f6x2,_0x34f6x3,_0x34f6x5){_0x34f6x2[_0xfa9d[7]](_0xfa9d[6],_0x34f6x3)}function onRemove(_0x34f6x2,_0x34f6x3,_0x34f6x5){_0x34f6x2[_0xfa9d[7]](_0xfa9d[8],_0x34f6x3)} \ No newline at end of file diff --git a/server/api/mail_room/index.js b/server/api/mail_room/index.js index 393cead..0b5a83e 100644 --- a/server/api/mail_room/index.js +++ b/server/api/mail_room/index.js @@ -1 +1 @@ -var _0xb84d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\x4D\x61\x69\x6C","\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\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\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"];_0xb84d[0];var express=require(_0xb84d[1]);var controller=require(_0xb84d[2]);var auth=require(_0xb84d[3]);var license=require(_0xb84d[4]);var router=express.Router();router[_0xb84d[12]](_0xb84d[5],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9]]),controller[_0xb84d[11]]);router[_0xb84d[12]](_0xb84d[13],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[15]]);router[_0xb84d[12]](_0xb84d[16],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9]]),controller[_0xb84d[17]]);router[_0xb84d[12]](_0xb84d[18],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[19]]);router[_0xb84d[12]](_0xb84d[20],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[21],_0xb84d[14]]),controller[_0xb84d[22]]);router[_0xb84d[12]](_0xb84d[23],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[24]]);router[_0xb84d[26]](_0xb84d[5],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9]]),controller[_0xb84d[25]]);router[_0xb84d[26]](_0xb84d[27],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[28]]);router[_0xb84d[30]](_0xb84d[20],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[29]]);router[_0xb84d[32]](_0xb84d[20],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[31]]);router[_0xb84d[30]](_0xb84d[23],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9],_0xb84d[14]]),controller[_0xb84d[33]]);router[_0xb84d[30]](_0xb84d[34],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[14]]),controller[_0xb84d[35]]);router[_0xb84d[37]](_0xb84d[5],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9]]),controller[_0xb84d[36]]);router[_0xb84d[37]](_0xb84d[20],license[_0xb84d[6]](),license[_0xb84d[7]](),auth[_0xb84d[8]](),auth[_0xb84d[10]]([9],[_0xb84d[9]]),controller[_0xb84d[38]]);module[_0xb84d[39]]=router \ No newline at end of file +var _0x5847=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\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\x4D\x61\x69\x6C","\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\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\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","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\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"];_0x5847[0];var express=require(_0x5847[1]);var controller=require(_0x5847[2]);var auth=require(_0x5847[3]);var license=require(_0x5847[4]);var router=express.Router();router[_0x5847[12]](_0x5847[5],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9]]),controller[_0x5847[11]]);router[_0x5847[12]](_0x5847[13],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[15]]);router[_0x5847[12]](_0x5847[16],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9]]),controller[_0x5847[17]]);router[_0x5847[12]](_0x5847[18],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[19]]);router[_0x5847[12]](_0x5847[20],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[21],_0x5847[14]]),controller[_0x5847[22]]);router[_0x5847[12]](_0x5847[23],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[24]]);router[_0x5847[26]](_0x5847[5],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9]]),controller[_0x5847[25]]);router[_0x5847[26]](_0x5847[27],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[28]]);router[_0x5847[30]](_0x5847[20],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[29]]);router[_0x5847[32]](_0x5847[20],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[31]]);router[_0x5847[30]](_0x5847[23],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9],_0x5847[14]]),controller[_0x5847[33]]);router[_0x5847[30]](_0x5847[34],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[14]]),controller[_0x5847[35]]);router[_0x5847[37]](_0x5847[5],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9]]),controller[_0x5847[36]]);router[_0x5847[37]](_0x5847[20],license[_0x5847[6]](),license[_0x5847[7]](),auth[_0x5847[8]](),auth[_0x5847[10]]([9],[_0x5847[9]]),controller[_0x5847[38]]);module[_0x5847[39]]=router \ No newline at end of file diff --git a/server/api/mail_room/mail_room.controller.js b/server/api/mail_room/mail_room.controller.js index de120f3..0dcf6c7 100644 --- a/server/api/mail_room/mail_room.controller.js +++ b/server/api/mail_room/mail_room.controller.js @@ -1 +1 @@ -var _0x9377=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\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","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\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"];_0x9377[0];var _=require(_0x9377[1]);var util=require(_0x9377[2]);var htmlToText=require(_0x9377[3]);var Util=require(_0x9377[4]);var sequelize=require(_0x9377[6])[_0x9377[5]];var User=require(_0x9377[6])[_0x9377[7]];var Agent=require(_0x9377[6])[_0x9377[7]];var Contact=require(_0x9377[6])[_0x9377[8]];var MailRoom=require(_0x9377[6])[_0x9377[9]];var MailMessage=require(_0x9377[6])[_0x9377[10]];var MailAccount=require(_0x9377[6])[_0x9377[11]];var MailAttachment=require(_0x9377[6])[_0x9377[12]];var ReportMailRoom=require(_0x9377[6])[_0x9377[13]];exports[_0x9377[14]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[23]](_0x9377[22])[_0x9377[21]](Util[_0x9377[20]](_0xf98fxe[_0x9377[19]]))[_0x9377[18]](function(_0xf98fx12){return _0xf98fxf[_0x9377[17]](200)[_0x9377[16]](_0xf98fx12)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[24]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){switch(_0xf98fxe[_0x9377[29]][_0x9377[34]]){case _0x9377[32]:return sequelize[_0x9377[19]](_0x9377[26],{replacements:{status:_0x9377[27],id:_0xf98fxe[_0x9377[29]][_0x9377[28]]},type:sequelize[_0x9377[31]][_0x9377[30]]})[_0x9377[18]](function(_0xf98fx12){return _0xf98fxf[_0x9377[17]](200)[_0x9377[16]](_0xf98fx12)})[_0x9377[15]](function(_0xf98fx11){console[_0x9377[25]](_0xf98fx11);return handleError(_0xf98fxf,_0xf98fx11)});default:return sequelize[_0x9377[19]](_0x9377[33],{replacements:{status:_0x9377[27],id:_0xf98fxe[_0x9377[29]][_0x9377[28]]},type:sequelize[_0x9377[31]][_0x9377[30]]})[_0x9377[18]](function(_0xf98fx12){return _0xf98fxf[_0x9377[17]](200)[_0x9377[16]](_0xf98fx12)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})}};exports[_0x9377[35]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[37]]({where:{UserId:_0xf98fxe[_0x9377[36]][_0x9377[28]]},include:[{all:true}]})[_0x9377[18]](function(_0xf98fx13){return _0xf98fxf[_0x9377[17]](200)[_0x9377[16]](_0xf98fx13)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[38]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){var _0xf98fx14;if(_0xf98fxe[_0x9377[29]][_0x9377[34]]===_0x9377[32]){return MailRoom[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){_0xf98fx14=_0xf98fx15;if(!_0xf98fx14){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx14[_0x9377[42]]({status:_0x9377[41]},{userId:_0xf98fxe[_0x9377[29]][_0x9377[28]]})})[_0x9377[18]](function(){return _0xf98fx14[_0x9377[40]](_0xf98fxe[_0x9377[29]][_0x9377[28]])})[_0x9377[18]](function(){return _0xf98fxf[_0x9377[39]](200)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})}};exports[_0x9377[44]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailMessage[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx16){return _0xf98fx16[_0x9377[48]]({include:[{model:MailAccount},{model:MailMessage,include:[{model:MailAttachment},{model:User,attributes:[_0x9377[28],_0x9377[45],_0x9377[46],_0x9377[47]]}]},{model:User,attributes:[_0x9377[28],_0x9377[45],_0x9377[46],_0x9377[47]]}]})})[_0x9377[18]](function(_0xf98fx15){return _0xf98fxf[_0x9377[16]](_0xf98fx15)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[49]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[23]](_0x9377[22])[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){if(!_0xf98fx15){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fxf[_0x9377[16]](_0xf98fx15)})[_0x9377[15]](function(_0xf98fx11){console[_0x9377[25]](_0xf98fx11);return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[50]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){if(!_0xf98fx15){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx15[_0x9377[52]]({attributes:[_0x9377[28],_0x9377[45],_0x9377[46],_0x9377[47],_0x9377[34],_0x9377[51]]})})[_0x9377[18]](function(_0xf98fx17){return _0xf98fxf[_0x9377[16]](_0xf98fx17)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[53]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[53]](_0xf98fxe[_0x9377[54]])[_0x9377[18]](function(_0xf98fx15){return _0xf98fxf[_0x9377[17]](201)[_0x9377[16]](_0xf98fx15)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[55]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){_0xf98fxe[_0x9377[54]][_0x9377[56]]=_0xf98fxe[_0x9377[29]][_0x9377[28]];_0xf98fxe[_0x9377[54]][_0x9377[57]]=_0xf98fxe[_0x9377[36]][_0x9377[28]];_0xf98fxe[_0x9377[54]][_0x9377[58]]=(_0xf98fxe[_0x9377[54]][_0x9377[59]]&&_0xf98fxe[_0x9377[54]][_0x9377[59]][_0x9377[60]])?true:false;_0xf98fxe[_0x9377[54]][_0x9377[61]]=_0xf98fxe[_0x9377[54]][_0x9377[61]]||htmlToText[_0x9377[63]](_0xf98fxe[_0x9377[54]][_0x9377[62]],{wordwrap:false});return MailMessage[_0x9377[53]](_0xf98fxe[_0x9377[54]],{include:[{model:MailAttachment}],user:_0xf98fxe[_0x9377[29]]})[_0x9377[18]](function(_0xf98fx16){return _0xf98fxf[_0x9377[17]](201)[_0x9377[16]](_0xf98fx16)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[42]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){var _0xf98fx14;return MailRoom[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){if(!_0xf98fx15){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx15[_0x9377[42]](_0xf98fxe[_0x9377[54]])})[_0x9377[18]](function(_0xf98fx15){_0xf98fx14=_0xf98fx15;return ReportMailRoom[_0x9377[42]](_0xf98fxe[_0x9377[54]],{where:{roomId:_0xf98fxe[_0x9377[36]][_0x9377[28]]}})})[_0x9377[18]](function(_0xf98fx18){return _0xf98fxf[_0x9377[17]](200)[_0x9377[16]](_0xf98fx14)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[64]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){var _0xf98fx19={tags:_0xf98fxe[_0x9377[54]][_0x9377[65]]};var _0xf98fx1a={where:{id:_0xf98fxe[_0x9377[36]][_0x9377[28]][_0x9377[67]](_0x9377[66])}};return MailRoom[_0x9377[42]](_0xf98fx19,_0xf98fx1a)[_0x9377[18]](function(_0xf98fx13){if(!_0xf98fx13){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx13})[_0x9377[18]](function(_0xf98fx13){return _0xf98fxf[_0x9377[39]](200)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[68]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){if(!_0xf98fx15){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx15[_0x9377[70]](_0xf98fxe[_0x9377[54]][_0x9377[69]],{individualHooks:true})})[_0x9377[18]](function(){return _0xf98fxf[_0x9377[39]](200)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[71]]=function(_0xf98fxe,_0xf98fxf,_0xf98fx10){return MailRoom[_0x9377[43]](_0xf98fxe[_0x9377[36]][_0x9377[28]])[_0x9377[18]](function(_0xf98fx15){if(!_0xf98fx15){return _0xf98fxf[_0x9377[39]](404)};return _0xf98fx15[_0x9377[71]]()})[_0x9377[18]](function(){return _0xf98fxf[_0x9377[39]](204)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};exports[_0x9377[72]]=function(_0xf98fxe,_0xf98fxf){return MailRoom[_0x9377[71]]({where:{id:_0xf98fxe[_0x9377[19]][_0x9377[73]]},individualHooks:true})[_0x9377[18]](function(){return _0xf98fxf[_0x9377[39]](200)})[_0x9377[15]](function(_0xf98fx11){return handleError(_0xf98fxf,_0xf98fx11)})};function handleError(_0xf98fxf,_0xf98fx11){return _0xf98fxf[_0x9377[17]](500)[_0x9377[16]](_0xf98fx11)} \ No newline at end of file +var _0xe579=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\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","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\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","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\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"];_0xe579[0];var _=require(_0xe579[1]);var util=require(_0xe579[2]);var htmlToText=require(_0xe579[3]);var Util=require(_0xe579[4]);var sequelize=require(_0xe579[6])[_0xe579[5]];var User=require(_0xe579[6])[_0xe579[7]];var Agent=require(_0xe579[6])[_0xe579[7]];var Contact=require(_0xe579[6])[_0xe579[8]];var MailRoom=require(_0xe579[6])[_0xe579[9]];var MailMessage=require(_0xe579[6])[_0xe579[10]];var MailAccount=require(_0xe579[6])[_0xe579[11]];var MailAttachment=require(_0xe579[6])[_0xe579[12]];var ReportMailRoom=require(_0xe579[6])[_0xe579[13]];exports[_0xe579[14]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[23]](_0xe579[22])[_0xe579[21]](Util[_0xe579[20]](_0x4e8dxe[_0xe579[19]]))[_0xe579[18]](function(_0x4e8dx12){return _0x4e8dxf[_0xe579[17]](200)[_0xe579[16]](_0x4e8dx12)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[24]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){switch(_0x4e8dxe[_0xe579[29]][_0xe579[34]]){case _0xe579[32]:return sequelize[_0xe579[19]](_0xe579[26],{replacements:{status:_0xe579[27],id:_0x4e8dxe[_0xe579[29]][_0xe579[28]]},type:sequelize[_0xe579[31]][_0xe579[30]]})[_0xe579[18]](function(_0x4e8dx12){return _0x4e8dxf[_0xe579[17]](200)[_0xe579[16]](_0x4e8dx12)})[_0xe579[15]](function(_0x4e8dx11){console[_0xe579[25]](_0x4e8dx11);return handleError(_0x4e8dxf,_0x4e8dx11)});default:return sequelize[_0xe579[19]](_0xe579[33],{replacements:{status:_0xe579[27],id:_0x4e8dxe[_0xe579[29]][_0xe579[28]]},type:sequelize[_0xe579[31]][_0xe579[30]]})[_0xe579[18]](function(_0x4e8dx12){return _0x4e8dxf[_0xe579[17]](200)[_0xe579[16]](_0x4e8dx12)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})}};exports[_0xe579[35]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[37]]({where:{UserId:_0x4e8dxe[_0xe579[36]][_0xe579[28]]},include:[{all:true}]})[_0xe579[18]](function(_0x4e8dx13){return _0x4e8dxf[_0xe579[17]](200)[_0xe579[16]](_0x4e8dx13)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[38]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){var _0x4e8dx14;if(_0x4e8dxe[_0xe579[29]][_0xe579[34]]===_0xe579[32]){return MailRoom[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){_0x4e8dx14=_0x4e8dx15;if(!_0x4e8dx14){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx14[_0xe579[42]]({status:_0xe579[41]},{userId:_0x4e8dxe[_0xe579[29]][_0xe579[28]]})})[_0xe579[18]](function(){return _0x4e8dx14[_0xe579[40]](_0x4e8dxe[_0xe579[29]][_0xe579[28]])})[_0xe579[18]](function(){return _0x4e8dxf[_0xe579[39]](200)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})}};exports[_0xe579[44]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailMessage[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx16){return _0x4e8dx16[_0xe579[48]]({include:[{model:MailAccount},{model:MailMessage,include:[{model:MailAttachment},{model:User,attributes:[_0xe579[28],_0xe579[45],_0xe579[46],_0xe579[47]]}]},{model:User,attributes:[_0xe579[28],_0xe579[45],_0xe579[46],_0xe579[47]]}]})})[_0xe579[18]](function(_0x4e8dx15){return _0x4e8dxf[_0xe579[16]](_0x4e8dx15)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[49]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[23]](_0xe579[22])[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){if(!_0x4e8dx15){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dxf[_0xe579[16]](_0x4e8dx15)})[_0xe579[15]](function(_0x4e8dx11){console[_0xe579[25]](_0x4e8dx11);return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[50]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){if(!_0x4e8dx15){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx15[_0xe579[52]]({attributes:[_0xe579[28],_0xe579[45],_0xe579[46],_0xe579[47],_0xe579[34],_0xe579[51]]})})[_0xe579[18]](function(_0x4e8dx17){return _0x4e8dxf[_0xe579[16]](_0x4e8dx17)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[53]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[53]](_0x4e8dxe[_0xe579[54]])[_0xe579[18]](function(_0x4e8dx15){return _0x4e8dxf[_0xe579[17]](201)[_0xe579[16]](_0x4e8dx15)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[55]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){_0x4e8dxe[_0xe579[54]][_0xe579[56]]=_0x4e8dxe[_0xe579[29]][_0xe579[28]];_0x4e8dxe[_0xe579[54]][_0xe579[57]]=_0x4e8dxe[_0xe579[36]][_0xe579[28]];_0x4e8dxe[_0xe579[54]][_0xe579[58]]=(_0x4e8dxe[_0xe579[54]][_0xe579[59]]&&_0x4e8dxe[_0xe579[54]][_0xe579[59]][_0xe579[60]])?true:false;_0x4e8dxe[_0xe579[54]][_0xe579[61]]=_0x4e8dxe[_0xe579[54]][_0xe579[61]]||htmlToText[_0xe579[63]](_0x4e8dxe[_0xe579[54]][_0xe579[62]],{wordwrap:false});return MailMessage[_0xe579[53]](_0x4e8dxe[_0xe579[54]],{include:[{model:MailAttachment}],user:_0x4e8dxe[_0xe579[29]]})[_0xe579[18]](function(_0x4e8dx16){return _0x4e8dxf[_0xe579[17]](201)[_0xe579[16]](_0x4e8dx16)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[42]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){var _0x4e8dx14;return MailRoom[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){if(!_0x4e8dx15){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx15[_0xe579[42]](_0x4e8dxe[_0xe579[54]])})[_0xe579[18]](function(_0x4e8dx15){_0x4e8dx14=_0x4e8dx15;return ReportMailRoom[_0xe579[42]](_0x4e8dxe[_0xe579[54]],{where:{roomId:_0x4e8dxe[_0xe579[36]][_0xe579[28]]}})})[_0xe579[18]](function(_0x4e8dx18){return _0x4e8dxf[_0xe579[17]](200)[_0xe579[16]](_0x4e8dx14)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[64]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){var _0x4e8dx19={tags:_0x4e8dxe[_0xe579[54]][_0xe579[65]]};var _0x4e8dx1a={where:{id:_0x4e8dxe[_0xe579[36]][_0xe579[28]][_0xe579[67]](_0xe579[66])}};return MailRoom[_0xe579[42]](_0x4e8dx19,_0x4e8dx1a)[_0xe579[18]](function(_0x4e8dx13){if(!_0x4e8dx13){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx13})[_0xe579[18]](function(_0x4e8dx13){return _0x4e8dxf[_0xe579[39]](200)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[68]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){if(!_0x4e8dx15){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx15[_0xe579[70]](_0x4e8dxe[_0xe579[54]][_0xe579[69]],{individualHooks:true})})[_0xe579[18]](function(){return _0x4e8dxf[_0xe579[39]](200)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[71]]=function(_0x4e8dxe,_0x4e8dxf,_0x4e8dx10){return MailRoom[_0xe579[43]](_0x4e8dxe[_0xe579[36]][_0xe579[28]])[_0xe579[18]](function(_0x4e8dx15){if(!_0x4e8dx15){return _0x4e8dxf[_0xe579[39]](404)};return _0x4e8dx15[_0xe579[71]]()})[_0xe579[18]](function(){return _0x4e8dxf[_0xe579[39]](204)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};exports[_0xe579[72]]=function(_0x4e8dxe,_0x4e8dxf){return MailRoom[_0xe579[71]]({where:{id:_0x4e8dxe[_0xe579[19]][_0xe579[73]]},individualHooks:true})[_0xe579[18]](function(){return _0x4e8dxf[_0xe579[39]](200)})[_0xe579[15]](function(_0x4e8dx11){return handleError(_0x4e8dxf,_0x4e8dx11)})};function handleError(_0x4e8dxf,_0x4e8dx11){return _0x4e8dxf[_0xe579[17]](500)[_0xe579[16]](_0x4e8dx11)} \ No newline at end of file diff --git a/server/api/mail_room/mail_room.socket.js b/server/api/mail_room/mail_room.socket.js index 079fc81..271871a 100644 --- a/server/api/mail_room/mail_room.socket.js +++ b/server/api/mail_room/mail_room.socket.js @@ -1 +1 @@ -var _0x50be=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x50be[0];var MailMessage=require(_0x50be[2])[_0x50be[1]];var MailRoom=require(_0x50be[2])[_0x50be[3]];var User=require(_0x50be[2])[_0x50be[4]];exports[_0x50be[5]]=function(_0xa8b1x4){MailRoom[_0x50be[12]](function(_0xa8b1x5,_0xa8b1x6){if(_0xa8b1x4[_0x50be[6]]!==_0x50be[7]){onSave(_0xa8b1x4,_0xa8b1x5[_0x50be[8]])}else {switch(_0xa8b1x5[_0x50be[11]]){case _0x50be[10]:if(_0xa8b1x4[_0x50be[9]]==_0xa8b1x6[_0x50be[9]]){onSave(_0xa8b1x4,_0xa8b1x5[_0x50be[8]])};break;default:}}});MailRoom[_0x50be[13]](function(_0xa8b1x5){onRemove(_0xa8b1x4,_0xa8b1x5)});MailRoom[_0x50be[18]](function(_0xa8b1x5,_0xa8b1x6){if(_0xa8b1x5[_0x50be[14]](_0x50be[11])){switch(_0xa8b1x5[_0x50be[11]]){case _0x50be[15]:if(_0xa8b1x4[_0x50be[6]]!==_0x50be[7]){onSave(_0xa8b1x4,_0xa8b1x5[_0x50be[8]])};break;case _0x50be[10]:if(_0xa8b1x4[_0x50be[9]]!=_0xa8b1x6[_0x50be[9]]){onRemove(_0xa8b1x4,_0xa8b1x5[_0x50be[8]])};break;case _0x50be[16]:onSave(_0xa8b1x4,_0xa8b1x5[_0x50be[8]]);break;case _0x50be[17]:onSave(_0xa8b1x4,_0xa8b1x5[_0x50be[8]]);break;default:}}})};function onSave(_0xa8b1x4,_0xa8b1x5,_0xa8b1x8){_0xa8b1x4[_0x50be[20]](_0x50be[19],_0xa8b1x5)}function onRemove(_0xa8b1x4,_0xa8b1x5,_0xa8b1x8){_0xa8b1x4[_0x50be[20]](_0x50be[21],_0xa8b1x5)} \ No newline at end of file +var _0x9827=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9827[0];var MailMessage=require(_0x9827[2])[_0x9827[1]];var MailRoom=require(_0x9827[2])[_0x9827[3]];var User=require(_0x9827[2])[_0x9827[4]];exports[_0x9827[5]]=function(_0x69e5x4){MailRoom[_0x9827[12]](function(_0x69e5x5,_0x69e5x6){if(_0x69e5x4[_0x9827[6]]!==_0x9827[7]){onSave(_0x69e5x4,_0x69e5x5[_0x9827[8]])}else {switch(_0x69e5x5[_0x9827[11]]){case _0x9827[10]:if(_0x69e5x4[_0x9827[9]]==_0x69e5x6[_0x9827[9]]){onSave(_0x69e5x4,_0x69e5x5[_0x9827[8]])};break;default:}}});MailRoom[_0x9827[13]](function(_0x69e5x5){onRemove(_0x69e5x4,_0x69e5x5)});MailRoom[_0x9827[18]](function(_0x69e5x5,_0x69e5x6){if(_0x69e5x5[_0x9827[14]](_0x9827[11])){switch(_0x69e5x5[_0x9827[11]]){case _0x9827[15]:if(_0x69e5x4[_0x9827[6]]!==_0x9827[7]){onSave(_0x69e5x4,_0x69e5x5[_0x9827[8]])};break;case _0x9827[10]:if(_0x69e5x4[_0x9827[9]]!=_0x69e5x6[_0x9827[9]]){onRemove(_0x69e5x4,_0x69e5x5[_0x9827[8]])};break;case _0x9827[16]:onSave(_0x69e5x4,_0x69e5x5[_0x9827[8]]);break;case _0x9827[17]:onSave(_0x69e5x4,_0x69e5x5[_0x9827[8]]);break;default:}}})};function onSave(_0x69e5x4,_0x69e5x5,_0x69e5x8){_0x69e5x4[_0x9827[20]](_0x9827[19],_0x69e5x5)}function onRemove(_0x69e5x4,_0x69e5x5,_0x69e5x8){_0x69e5x4[_0x9827[20]](_0x9827[21],_0x69e5x5)} \ No newline at end of file diff --git a/server/api/mail_server_in/index.js b/server/api/mail_server_in/index.js index 164b2e2..0ee54df 100644 --- a/server/api/mail_server_in/index.js +++ b/server/api/mail_server_in/index.js @@ -1 +1 @@ -var _0x8fef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\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","\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\x4D\x61\x69\x6C","\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"];_0x8fef[0];var express=require(_0x8fef[1]);var controller=require(_0x8fef[2]);var auth=require(_0x8fef[3]);var license=require(_0x8fef[4]);var router=express.Router();router[_0x8fef[12]](_0x8fef[5],license[_0x8fef[6]](),license[_0x8fef[7]](),auth[_0x8fef[8]](),auth[_0x8fef[10]]([9],[_0x8fef[9]]),controller[_0x8fef[11]]);router[_0x8fef[12]](_0x8fef[13],license[_0x8fef[6]](),license[_0x8fef[7]](),auth[_0x8fef[8]](),auth[_0x8fef[10]]([9],[_0x8fef[9]]),controller[_0x8fef[14]]);router[_0x8fef[16]](_0x8fef[5],license[_0x8fef[6]](),license[_0x8fef[7]](),auth[_0x8fef[8]](),auth[_0x8fef[10]]([9],[_0x8fef[9]]),controller[_0x8fef[15]]);router[_0x8fef[18]](_0x8fef[13],license[_0x8fef[6]](),license[_0x8fef[7]](),auth[_0x8fef[8]](),auth[_0x8fef[10]]([9],[_0x8fef[9]]),controller[_0x8fef[17]]);router[_0x8fef[20]](_0x8fef[13],license[_0x8fef[6]](),license[_0x8fef[7]](),auth[_0x8fef[8]](),auth[_0x8fef[10]]([9],[_0x8fef[9]]),controller[_0x8fef[19]]);module[_0x8fef[21]]=router \ No newline at end of file +var _0x73b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\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","\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\x4D\x61\x69\x6C","\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"];_0x73b0[0];var express=require(_0x73b0[1]);var controller=require(_0x73b0[2]);var auth=require(_0x73b0[3]);var license=require(_0x73b0[4]);var router=express.Router();router[_0x73b0[12]](_0x73b0[5],license[_0x73b0[6]](),license[_0x73b0[7]](),auth[_0x73b0[8]](),auth[_0x73b0[10]]([9],[_0x73b0[9]]),controller[_0x73b0[11]]);router[_0x73b0[12]](_0x73b0[13],license[_0x73b0[6]](),license[_0x73b0[7]](),auth[_0x73b0[8]](),auth[_0x73b0[10]]([9],[_0x73b0[9]]),controller[_0x73b0[14]]);router[_0x73b0[16]](_0x73b0[5],license[_0x73b0[6]](),license[_0x73b0[7]](),auth[_0x73b0[8]](),auth[_0x73b0[10]]([9],[_0x73b0[9]]),controller[_0x73b0[15]]);router[_0x73b0[18]](_0x73b0[13],license[_0x73b0[6]](),license[_0x73b0[7]](),auth[_0x73b0[8]](),auth[_0x73b0[10]]([9],[_0x73b0[9]]),controller[_0x73b0[17]]);router[_0x73b0[20]](_0x73b0[13],license[_0x73b0[6]](),license[_0x73b0[7]](),auth[_0x73b0[8]](),auth[_0x73b0[10]]([9],[_0x73b0[9]]),controller[_0x73b0[19]]);module[_0x73b0[21]]=router \ No newline at end of file diff --git a/server/api/mail_server_in/mail_server_in.controller.js b/server/api/mail_server_in/mail_server_in.controller.js index 8898ff7..7a1ee7c 100644 --- a/server/api/mail_server_in/mail_server_in.controller.js +++ b/server/api/mail_server_in/mail_server_in.controller.js @@ -1 +1 @@ -var _0xe24d=["\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\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","\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","\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","\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"];_0xe24d[0];var _=require(_0xe24d[1]);var Util=require(_0xe24d[2]);var sequelize=require(_0xe24d[4])[_0xe24d[3]];var MailServerIn=require(_0xe24d[4])[_0xe24d[5]];exports[_0xe24d[6]]=function(_0x6cbdx5,_0x6cbdx6){return MailServerIn[_0xe24d[11]]()[_0xe24d[10]](function(_0x6cbdx8){return _0x6cbdx6[_0xe24d[9]](200)[_0xe24d[8]](_0x6cbdx8)})[_0xe24d[7]](function(_0x6cbdx7){return handleError(_0x6cbdx6,_0x6cbdx7)})};exports[_0xe24d[12]]=function(_0x6cbdx5,_0x6cbdx6){return MailServerIn[_0xe24d[16]](_0x6cbdx5[_0xe24d[15]][_0xe24d[14]])[_0xe24d[10]](function(_0x6cbdx9){if(!_0x6cbdx9){return _0x6cbdx6[_0xe24d[13]](404)};return _0x6cbdx6[_0xe24d[8]](_0x6cbdx9)})[_0xe24d[7]](function(_0x6cbdx7){return handleError(_0x6cbdx6,_0x6cbdx7)})};exports[_0xe24d[17]]=function(_0x6cbdx5,_0x6cbdx6){return MailServerIn[_0xe24d[17]](_0x6cbdx5[_0xe24d[20]])[_0xe24d[10]](function(_0x6cbdx9){return _0x6cbdx6[_0xe24d[9]](201)[_0xe24d[8]](_0x6cbdx9)})[_0xe24d[7]](sequelize.UniqueConstraintError,function(_0x6cbdx7){return Util[_0xe24d[19]][_0xe24d[18]](_0x6cbdx6,_0x6cbdx7)})[_0xe24d[7]](function(_0x6cbdx7){return handleError(_0x6cbdx6,_0x6cbdx7)})};exports[_0xe24d[21]]=function(_0x6cbdx5,_0x6cbdx6){if(_0x6cbdx5[_0xe24d[20]][_0xe24d[14]]){delete _0x6cbdx5[_0xe24d[20]][_0xe24d[14]]};return MailServerIn[_0xe24d[16]](_0x6cbdx5[_0xe24d[15]][_0xe24d[14]])[_0xe24d[10]](function(_0x6cbdx9){if(!_0x6cbdx9){return _0x6cbdx6[_0xe24d[13]](404)};var _0x6cbdxa=_[_0xe24d[22]](_0x6cbdx9,_0x6cbdx5[_0xe24d[20]]);return _0x6cbdxa[_0xe24d[23]]()})[_0xe24d[10]](function(_0x6cbdx9){return _0x6cbdx6[_0xe24d[9]](200)[_0xe24d[8]](_0x6cbdx9)})[_0xe24d[7]](sequelize.UniqueConstraintError,function(_0x6cbdx7){return Util[_0xe24d[19]][_0xe24d[18]](_0x6cbdx6,_0x6cbdx7)})[_0xe24d[7]](function(_0x6cbdx7){return handleError(_0x6cbdx6,_0x6cbdx7)})};exports[_0xe24d[24]]=function(_0x6cbdx5,_0x6cbdx6){return MailServerIn[_0xe24d[16]](_0x6cbdx5[_0xe24d[15]][_0xe24d[14]])[_0xe24d[10]](function(_0x6cbdx9){if(!_0x6cbdx9){return _0x6cbdx6[_0xe24d[13]](404)};return _0x6cbdx9[_0xe24d[24]]()})[_0xe24d[7]](function(_0x6cbdx7){return handleError(_0x6cbdx6,_0x6cbdx7)})};function handleError(_0x6cbdx6,_0x6cbdx7){return _0x6cbdx6[_0xe24d[9]](500)[_0xe24d[8]](_0x6cbdx7)} \ No newline at end of file +var _0x4d73=["\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\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","\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","\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","\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"];_0x4d73[0];var _=require(_0x4d73[1]);var Util=require(_0x4d73[2]);var sequelize=require(_0x4d73[4])[_0x4d73[3]];var MailServerIn=require(_0x4d73[4])[_0x4d73[5]];exports[_0x4d73[6]]=function(_0x84d4x5,_0x84d4x6){return MailServerIn[_0x4d73[11]]()[_0x4d73[10]](function(_0x84d4x8){return _0x84d4x6[_0x4d73[9]](200)[_0x4d73[8]](_0x84d4x8)})[_0x4d73[7]](function(_0x84d4x7){return handleError(_0x84d4x6,_0x84d4x7)})};exports[_0x4d73[12]]=function(_0x84d4x5,_0x84d4x6){return MailServerIn[_0x4d73[16]](_0x84d4x5[_0x4d73[15]][_0x4d73[14]])[_0x4d73[10]](function(_0x84d4x9){if(!_0x84d4x9){return _0x84d4x6[_0x4d73[13]](404)};return _0x84d4x6[_0x4d73[8]](_0x84d4x9)})[_0x4d73[7]](function(_0x84d4x7){return handleError(_0x84d4x6,_0x84d4x7)})};exports[_0x4d73[17]]=function(_0x84d4x5,_0x84d4x6){return MailServerIn[_0x4d73[17]](_0x84d4x5[_0x4d73[20]])[_0x4d73[10]](function(_0x84d4x9){return _0x84d4x6[_0x4d73[9]](201)[_0x4d73[8]](_0x84d4x9)})[_0x4d73[7]](sequelize.UniqueConstraintError,function(_0x84d4x7){return Util[_0x4d73[19]][_0x4d73[18]](_0x84d4x6,_0x84d4x7)})[_0x4d73[7]](function(_0x84d4x7){return handleError(_0x84d4x6,_0x84d4x7)})};exports[_0x4d73[21]]=function(_0x84d4x5,_0x84d4x6){if(_0x84d4x5[_0x4d73[20]][_0x4d73[14]]){delete _0x84d4x5[_0x4d73[20]][_0x4d73[14]]};return MailServerIn[_0x4d73[16]](_0x84d4x5[_0x4d73[15]][_0x4d73[14]])[_0x4d73[10]](function(_0x84d4x9){if(!_0x84d4x9){return _0x84d4x6[_0x4d73[13]](404)};var _0x84d4xa=_[_0x4d73[22]](_0x84d4x9,_0x84d4x5[_0x4d73[20]]);return _0x84d4xa[_0x4d73[23]]()})[_0x4d73[10]](function(_0x84d4x9){return _0x84d4x6[_0x4d73[9]](200)[_0x4d73[8]](_0x84d4x9)})[_0x4d73[7]](sequelize.UniqueConstraintError,function(_0x84d4x7){return Util[_0x4d73[19]][_0x4d73[18]](_0x84d4x6,_0x84d4x7)})[_0x4d73[7]](function(_0x84d4x7){return handleError(_0x84d4x6,_0x84d4x7)})};exports[_0x4d73[24]]=function(_0x84d4x5,_0x84d4x6){return MailServerIn[_0x4d73[16]](_0x84d4x5[_0x4d73[15]][_0x4d73[14]])[_0x4d73[10]](function(_0x84d4x9){if(!_0x84d4x9){return _0x84d4x6[_0x4d73[13]](404)};return _0x84d4x9[_0x4d73[24]]()})[_0x4d73[7]](function(_0x84d4x7){return handleError(_0x84d4x6,_0x84d4x7)})};function handleError(_0x84d4x6,_0x84d4x7){return _0x84d4x6[_0x4d73[9]](500)[_0x4d73[8]](_0x84d4x7)} \ No newline at end of file diff --git a/server/api/mail_server_in/mail_server_in.socket.js b/server/api/mail_server_in/mail_server_in.socket.js index 05e3dbd..8afb25e 100644 --- a/server/api/mail_server_in/mail_server_in.socket.js +++ b/server/api/mail_server_in/mail_server_in.socket.js @@ -1 +1 @@ -var _0x3a5e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3a5e[0];var MailServerIn=require(_0x3a5e[2])[_0x3a5e[1]];exports[_0x3a5e[3]]=function(_0xec31x2){MailServerIn[_0x3a5e[4]](function(_0xec31x3){onSave(_0xec31x2,_0xec31x3)});MailServerIn[_0x3a5e[5]](function(_0xec31x3){onSave(_0xec31x2,_0xec31x3)});MailServerIn[_0x3a5e[6]](function(_0xec31x3){onRemove(_0xec31x2,_0xec31x3)})};function onSave(_0xec31x2,_0xec31x3,_0xec31x5){if(_0xec31x3[_0x3a5e[8]](_0x3a5e[7])){_0xec31x2[_0x3a5e[10]](_0x3a5e[9],_0xec31x3)}else {_0xec31x2[_0x3a5e[10]](_0x3a5e[11],_0xec31x3)}}function onRemove(_0xec31x2,_0xec31x3,_0xec31x5){_0xec31x2[_0x3a5e[10]](_0x3a5e[12],_0xec31x3)} \ No newline at end of file +var _0xce1d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xce1d[0];var MailServerIn=require(_0xce1d[2])[_0xce1d[1]];exports[_0xce1d[3]]=function(_0xc8ebx2){MailServerIn[_0xce1d[4]](function(_0xc8ebx3){onSave(_0xc8ebx2,_0xc8ebx3)});MailServerIn[_0xce1d[5]](function(_0xc8ebx3){onSave(_0xc8ebx2,_0xc8ebx3)});MailServerIn[_0xce1d[6]](function(_0xc8ebx3){onRemove(_0xc8ebx2,_0xc8ebx3)})};function onSave(_0xc8ebx2,_0xc8ebx3,_0xc8ebx5){if(_0xc8ebx3[_0xce1d[8]](_0xce1d[7])){_0xc8ebx2[_0xce1d[10]](_0xce1d[9],_0xc8ebx3)}else {_0xc8ebx2[_0xce1d[10]](_0xce1d[11],_0xc8ebx3)}}function onRemove(_0xc8ebx2,_0xc8ebx3,_0xc8ebx5){_0xc8ebx2[_0xce1d[10]](_0xce1d[12],_0xc8ebx3)} \ No newline at end of file diff --git a/server/api/mail_server_out/index.js b/server/api/mail_server_out/index.js index dc9f9be..74ece1a 100644 --- a/server/api/mail_server_out/index.js +++ b/server/api/mail_server_out/index.js @@ -1 +1 @@ -var _0xae66=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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\x73\x65\x72\x76\x69\x63\x65","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x74\x65\x73\x74","\x74\x65\x73\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x74\x65\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"];_0xae66[0];var express=require(_0xae66[1]);var controller=require(_0xae66[2]);var auth=require(_0xae66[3]);var license=require(_0xae66[4]);var router=express.Router();router[_0xae66[12]](_0xae66[5],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[11]]);router[_0xae66[12]](_0xae66[13],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[14]]);router[_0xae66[12]](_0xae66[15],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[16]]);router[_0xae66[12]](_0xae66[17],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[18]]);router[_0xae66[20]](_0xae66[5],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[19]]);router[_0xae66[20]](_0xae66[21],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[18]]);router[_0xae66[23]](_0xae66[15],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[22]]);router[_0xae66[25]](_0xae66[15],license[_0xae66[6]](),license[_0xae66[7]](),auth[_0xae66[8]](),auth[_0xae66[10]]([9],[_0xae66[9]]),controller[_0xae66[24]]);module[_0xae66[26]]=router \ No newline at end of file +var _0x25a9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\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\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\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\x73\x65\x72\x76\x69\x63\x65","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x74\x65\x73\x74","\x74\x65\x73\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x74\x65\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"];_0x25a9[0];var express=require(_0x25a9[1]);var controller=require(_0x25a9[2]);var auth=require(_0x25a9[3]);var license=require(_0x25a9[4]);var router=express.Router();router[_0x25a9[12]](_0x25a9[5],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[11]]);router[_0x25a9[12]](_0x25a9[13],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[14]]);router[_0x25a9[12]](_0x25a9[15],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[16]]);router[_0x25a9[12]](_0x25a9[17],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[18]]);router[_0x25a9[20]](_0x25a9[5],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[19]]);router[_0x25a9[20]](_0x25a9[21],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[18]]);router[_0x25a9[23]](_0x25a9[15],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[22]]);router[_0x25a9[25]](_0x25a9[15],license[_0x25a9[6]](),license[_0x25a9[7]](),auth[_0x25a9[8]](),auth[_0x25a9[10]]([9],[_0x25a9[9]]),controller[_0x25a9[24]]);module[_0x25a9[26]]=router \ No newline at end of file diff --git a/server/api/mail_server_out/mail_server_out.controller.js b/server/api/mail_server_out/mail_server_out.controller.js index 9f54474..260c009 100644 --- a/server/api/mail_server_out/mail_server_out.controller.js +++ b/server/api/mail_server_out/mail_server_out.controller.js @@ -1 +1 @@ -var _0xab3b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x66\x69\x6E\x64\x4F\x6E\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","\x75\x70\x64\x61\x74\x65","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x74\x65\x73\x74\x2E\x2E","\x75\x73\x65\x72"];_0xab3b[0];var _=require(_0xab3b[1]);var MailServerOut=require(_0xab3b[3])[_0xab3b[2]];var MailMessage=require(_0xab3b[3])[_0xab3b[4]];var sequelize=require(_0xab3b[3])[_0xab3b[5]];exports[_0xab3b[6]]=function(_0xc685x5,_0xc685x6){return MailServerOut[_0xab3b[11]]()[_0xab3b[10]](function(_0xc685x8){return _0xc685x6[_0xab3b[9]](200)[_0xab3b[8]](_0xc685x8)})[_0xab3b[7]](function(_0xc685x7){return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[12]]=function(_0xc685x5,_0xc685x6){return MailServerOut[_0xab3b[13]]({where:{service:true}})[_0xab3b[10]](function(_0xc685x9){return _0xc685x6[_0xab3b[9]](200)[_0xab3b[8]](_0xc685x9)})[_0xab3b[7]](function(_0xc685x7){return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[14]]=function(_0xc685x5,_0xc685x6){return MailServerOut[_0xab3b[18]](_0xc685x5[_0xab3b[17]][_0xab3b[16]])[_0xab3b[10]](function(_0xc685x9){if(!_0xc685x9){return _0xc685x6[_0xab3b[15]](404)};return _0xc685x6[_0xab3b[8]](_0xc685x9)})[_0xab3b[7]](function(_0xc685x7){return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[19]]=function(_0xc685x5,_0xc685x6){return MailServerOut[_0xab3b[19]](_0xc685x5[_0xab3b[20]])[_0xab3b[10]](function(_0xc685x9){return _0xc685x6[_0xab3b[9]](201)[_0xab3b[8]](_0xc685x9)})[_0xab3b[7]](function(_0xc685x7){return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[21]]=function(_0xc685x5,_0xc685x6){if(_0xc685x5[_0xab3b[20]][_0xab3b[16]]){delete _0xc685x5[_0xab3b[20]][_0xab3b[16]]};return MailServerOut[_0xab3b[18]](_0xc685x5[_0xab3b[17]][_0xab3b[16]])[_0xab3b[10]](function(_0xc685x9){if(!_0xc685x9){return _0xc685x6[_0xab3b[15]](404)};var _0xc685xa=_[_0xab3b[23]](_0xc685x9,_0xc685x5[_0xab3b[20]]);return _0xc685xa[_0xab3b[24]]()})[_0xab3b[10]](function(_0xc685x9){return _0xc685x6[_0xab3b[9]](200)[_0xab3b[8]](_0xc685x9)})[_0xab3b[7]](function(_0xc685x7){console[_0xab3b[22]](_0xc685x7);return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[25]]=function(_0xc685x5,_0xc685x6){return MailServerOut[_0xab3b[18]](_0xc685x5[_0xab3b[17]][_0xab3b[16]])[_0xab3b[10]](function(_0xc685x9){if(!_0xc685x9){return _0xc685x6[_0xab3b[15]](404)};return _0xc685x9[_0xab3b[25]]()})[_0xab3b[10]](function(){return _0xc685x6[_0xab3b[15]](204)})[_0xab3b[7]](function(_0xc685x7){return handleError(_0xc685x6,_0xc685x7)})};exports[_0xab3b[26]]=function(_0xc685x5,_0xc685x6){var _0xc685xb;var _0xc685xc;return MailServerOut[_0xab3b[18]](_0xc685x5[_0xab3b[17]][_0xab3b[16]])[_0xab3b[10]](function(_0xc685x9){if(!_0xc685x9){return _0xc685x6[_0xab3b[15]](404)};return _0xc685x9})[_0xab3b[10]](function(_0xc685x9){_0xc685xb=_0xc685x9;return MailMessage[_0xab3b[19]]({subject:_0xab3b[28]+_0xc685x9[_0xab3b[29]]+_0xab3b[30],text:_0xab3b[28]+_0xc685x9[_0xab3b[29]]+_0xab3b[30],from:[_0xc685x9[_0xab3b[29]]],to:[_0xc685x9[_0xab3b[29]]],UserId:_0xc685x5[_0xab3b[31]][_0xab3b[16]]})})[_0xab3b[10]](function(_0xc685xd){_0xc685xc=_0xc685xd;return _0xc685xb[_0xab3b[21]]({state:_0xab3b[27]})})[_0xab3b[10]](function(){return _0xc685x6[_0xab3b[9]](201)[_0xab3b[8]](_0xc685xc)})};function handleError(_0xc685x6,_0xc685x7){return _0xc685x6[_0xab3b[9]](500)[_0xab3b[8]](_0xc685x7)} \ No newline at end of file +var _0x60ea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x66\x69\x6E\x64\x4F\x6E\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","\x75\x70\x64\x61\x74\x65","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x74\x65\x73\x74\x2E\x2E","\x75\x73\x65\x72"];_0x60ea[0];var _=require(_0x60ea[1]);var MailServerOut=require(_0x60ea[3])[_0x60ea[2]];var MailMessage=require(_0x60ea[3])[_0x60ea[4]];var sequelize=require(_0x60ea[3])[_0x60ea[5]];exports[_0x60ea[6]]=function(_0x85f0x5,_0x85f0x6){return MailServerOut[_0x60ea[11]]()[_0x60ea[10]](function(_0x85f0x8){return _0x85f0x6[_0x60ea[9]](200)[_0x60ea[8]](_0x85f0x8)})[_0x60ea[7]](function(_0x85f0x7){return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[12]]=function(_0x85f0x5,_0x85f0x6){return MailServerOut[_0x60ea[13]]({where:{service:true}})[_0x60ea[10]](function(_0x85f0x9){return _0x85f0x6[_0x60ea[9]](200)[_0x60ea[8]](_0x85f0x9)})[_0x60ea[7]](function(_0x85f0x7){return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[14]]=function(_0x85f0x5,_0x85f0x6){return MailServerOut[_0x60ea[18]](_0x85f0x5[_0x60ea[17]][_0x60ea[16]])[_0x60ea[10]](function(_0x85f0x9){if(!_0x85f0x9){return _0x85f0x6[_0x60ea[15]](404)};return _0x85f0x6[_0x60ea[8]](_0x85f0x9)})[_0x60ea[7]](function(_0x85f0x7){return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[19]]=function(_0x85f0x5,_0x85f0x6){return MailServerOut[_0x60ea[19]](_0x85f0x5[_0x60ea[20]])[_0x60ea[10]](function(_0x85f0x9){return _0x85f0x6[_0x60ea[9]](201)[_0x60ea[8]](_0x85f0x9)})[_0x60ea[7]](function(_0x85f0x7){return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[21]]=function(_0x85f0x5,_0x85f0x6){if(_0x85f0x5[_0x60ea[20]][_0x60ea[16]]){delete _0x85f0x5[_0x60ea[20]][_0x60ea[16]]};return MailServerOut[_0x60ea[18]](_0x85f0x5[_0x60ea[17]][_0x60ea[16]])[_0x60ea[10]](function(_0x85f0x9){if(!_0x85f0x9){return _0x85f0x6[_0x60ea[15]](404)};var _0x85f0xa=_[_0x60ea[23]](_0x85f0x9,_0x85f0x5[_0x60ea[20]]);return _0x85f0xa[_0x60ea[24]]()})[_0x60ea[10]](function(_0x85f0x9){return _0x85f0x6[_0x60ea[9]](200)[_0x60ea[8]](_0x85f0x9)})[_0x60ea[7]](function(_0x85f0x7){console[_0x60ea[22]](_0x85f0x7);return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[25]]=function(_0x85f0x5,_0x85f0x6){return MailServerOut[_0x60ea[18]](_0x85f0x5[_0x60ea[17]][_0x60ea[16]])[_0x60ea[10]](function(_0x85f0x9){if(!_0x85f0x9){return _0x85f0x6[_0x60ea[15]](404)};return _0x85f0x9[_0x60ea[25]]()})[_0x60ea[10]](function(){return _0x85f0x6[_0x60ea[15]](204)})[_0x60ea[7]](function(_0x85f0x7){return handleError(_0x85f0x6,_0x85f0x7)})};exports[_0x60ea[26]]=function(_0x85f0x5,_0x85f0x6){var _0x85f0xb;var _0x85f0xc;return MailServerOut[_0x60ea[18]](_0x85f0x5[_0x60ea[17]][_0x60ea[16]])[_0x60ea[10]](function(_0x85f0x9){if(!_0x85f0x9){return _0x85f0x6[_0x60ea[15]](404)};return _0x85f0x9})[_0x60ea[10]](function(_0x85f0x9){_0x85f0xb=_0x85f0x9;return MailMessage[_0x60ea[19]]({subject:_0x60ea[28]+_0x85f0x9[_0x60ea[29]]+_0x60ea[30],text:_0x60ea[28]+_0x85f0x9[_0x60ea[29]]+_0x60ea[30],from:[_0x85f0x9[_0x60ea[29]]],to:[_0x85f0x9[_0x60ea[29]]],UserId:_0x85f0x5[_0x60ea[31]][_0x60ea[16]]})})[_0x60ea[10]](function(_0x85f0xd){_0x85f0xc=_0x85f0xd;return _0x85f0xb[_0x60ea[21]]({state:_0x60ea[27]})})[_0x60ea[10]](function(){return _0x85f0x6[_0x60ea[9]](201)[_0x60ea[8]](_0x85f0xc)})};function handleError(_0x85f0x6,_0x85f0x7){return _0x85f0x6[_0x60ea[9]](500)[_0x60ea[8]](_0x85f0x7)} \ No newline at end of file diff --git a/server/api/mail_server_out/mail_server_out.socket.js b/server/api/mail_server_out/mail_server_out.socket.js index 41f8d43..28729c5 100644 --- a/server/api/mail_server_out/mail_server_out.socket.js +++ b/server/api/mail_server_out/mail_server_out.socket.js @@ -1 +1 @@ -var _0x2bd2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2bd2[0];var MailServerOut=require(_0x2bd2[2])[_0x2bd2[1]];exports[_0x2bd2[3]]=function(_0x6252x2){MailServerOut[_0x2bd2[4]](function(_0x6252x3){onSave(_0x6252x2,_0x6252x3)});MailServerOut[_0x2bd2[5]](function(_0x6252x3){onSave(_0x6252x2,_0x6252x3)});MailServerOut[_0x2bd2[6]](function(_0x6252x3){onRemove(_0x6252x2,_0x6252x3)})};function onSave(_0x6252x2,_0x6252x3,_0x6252x5){if(_0x6252x3[_0x2bd2[8]](_0x2bd2[7])){_0x6252x2[_0x2bd2[10]](_0x2bd2[9],_0x6252x3)}else {_0x6252x2[_0x2bd2[10]](_0x2bd2[11],_0x6252x3)}}function onRemove(_0x6252x2,_0x6252x3,_0x6252x5){_0x6252x2[_0x2bd2[10]](_0x2bd2[12],_0x6252x3)} \ No newline at end of file +var _0x8e7a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8e7a[0];var MailServerOut=require(_0x8e7a[2])[_0x8e7a[1]];exports[_0x8e7a[3]]=function(_0x3986x2){MailServerOut[_0x8e7a[4]](function(_0x3986x3){onSave(_0x3986x2,_0x3986x3)});MailServerOut[_0x8e7a[5]](function(_0x3986x3){onSave(_0x3986x2,_0x3986x3)});MailServerOut[_0x8e7a[6]](function(_0x3986x3){onRemove(_0x3986x2,_0x3986x3)})};function onSave(_0x3986x2,_0x3986x3,_0x3986x5){if(_0x3986x3[_0x8e7a[8]](_0x8e7a[7])){_0x3986x2[_0x8e7a[10]](_0x8e7a[9],_0x3986x3)}else {_0x3986x2[_0x8e7a[10]](_0x8e7a[11],_0x3986x3)}}function onRemove(_0x3986x2,_0x3986x3,_0x3986x5){_0x3986x2[_0x8e7a[10]](_0x8e7a[12],_0x3986x3)} \ No newline at end of file diff --git a/server/api/metric/index.js b/server/api/metric/index.js index 37fc6ee..8e4be8a 100644 --- a/server/api/metric/index.js +++ b/server/api/metric/index.js @@ -1 +1 @@ -var _0xe4ae=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x65\x74\x72\x69\x63\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\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\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"];_0xe4ae[0];var express=require(_0xe4ae[1]);var controller=require(_0xe4ae[2]);var auth=require(_0xe4ae[3]);var router=express.Router();router[_0xe4ae[9]](_0xe4ae[4],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[8]]);router[_0xe4ae[9]](_0xe4ae[10],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[11]]);router[_0xe4ae[9]](_0xe4ae[12],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[13]]);router[_0xe4ae[15]](_0xe4ae[4],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[14]]);router[_0xe4ae[17]](_0xe4ae[12],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[16]]);router[_0xe4ae[18]](_0xe4ae[12],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[16]]);router[_0xe4ae[20]](_0xe4ae[4],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[19]]);router[_0xe4ae[20]](_0xe4ae[12],auth[_0xe4ae[5]](),auth[_0xe4ae[7]]([17],[_0xe4ae[6]]),controller[_0xe4ae[21]]);module[_0xe4ae[22]]=router \ No newline at end of file +var _0x2898=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x65\x74\x72\x69\x63\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\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\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"];_0x2898[0];var express=require(_0x2898[1]);var controller=require(_0x2898[2]);var auth=require(_0x2898[3]);var router=express.Router();router[_0x2898[9]](_0x2898[4],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[8]]);router[_0x2898[9]](_0x2898[10],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[11]]);router[_0x2898[9]](_0x2898[12],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[13]]);router[_0x2898[15]](_0x2898[4],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[14]]);router[_0x2898[17]](_0x2898[12],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[16]]);router[_0x2898[18]](_0x2898[12],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[16]]);router[_0x2898[20]](_0x2898[4],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[19]]);router[_0x2898[20]](_0x2898[12],auth[_0x2898[5]](),auth[_0x2898[7]]([17],[_0x2898[6]]),controller[_0x2898[21]]);module[_0x2898[22]]=router \ No newline at end of file diff --git a/server/api/metric/metric.controller.js b/server/api/metric/metric.controller.js index 0dacd3d..0147dba 100644 --- a/server/api/metric/metric.controller.js +++ b/server/api/metric/metric.controller.js @@ -1 +1 @@ -var _0x9fde=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\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","\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\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x73\x73\x61\x67\x65","\x41\x20\x4D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x74\x68\x61\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\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"];_0x9fde[0];var _=require(_0x9fde[1]);var Metric=require(_0x9fde[3])[_0x9fde[2]];var util=require(_0x9fde[4]);var Util=require(_0x9fde[5]);var sequelize=require(_0x9fde[3])[_0x9fde[6]];exports[_0x9fde[7]]=function(_0xf7ebx6,_0xf7ebx7,_0xf7ebx8){return Metric[_0x9fde[14]](Util[_0x9fde[13]](_0xf7ebx6[_0x9fde[12]]))[_0x9fde[11]](function(_0xf7ebxa){return _0xf7ebx7[_0x9fde[10]](200)[_0x9fde[9]](_0xf7ebxa)})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[15]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[19]]({where:{table:_0xf7ebx6[_0x9fde[12]][_0x9fde[18]]}})[_0x9fde[11]](function(_0xf7ebxb){if(!_0xf7ebxb){return _0xf7ebx7[_0x9fde[16]](404)};return _0xf7ebx7[_0x9fde[10]](200)[_0x9fde[9]]({count:_0xf7ebxb[_0x9fde[17]],rows:_0xf7ebxb})})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[20]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[23]](_0xf7ebx6[_0x9fde[22]][_0x9fde[21]])[_0x9fde[11]](function(_0xf7ebxc){if(!_0xf7ebxc){return _0xf7ebx7[_0x9fde[16]](404)};return _0xf7ebx7[_0x9fde[9]](_0xf7ebxc)})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[24]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[24]](_0xf7ebx6[_0x9fde[29]])[_0x9fde[11]](function(_0xf7ebxc){return _0xf7ebx7[_0x9fde[10]](201)[_0x9fde[9]](_0xf7ebxc)})[_0x9fde[8]](sequelize.UniqueConstraintError,function(_0xf7ebx9){_0xf7ebx9[_0x9fde[25]]=_0x9fde[26];_0xf7ebx9[_0x9fde[27]]=_0x9fde[28];return _0xf7ebx7[_0x9fde[10]](500)[_0x9fde[9]](_0xf7ebx9)})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[30]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[23]](_0xf7ebx6[_0x9fde[22]][_0x9fde[21]])[_0x9fde[11]](function(_0xf7ebxc){if(!_0xf7ebxc){return _0xf7ebx7[_0x9fde[16]](404)};var _0xf7ebxd=_[_0x9fde[32]](_0xf7ebxc,_0xf7ebx6[_0x9fde[29]]);return _0xf7ebxd[_0x9fde[33]]()})[_0x9fde[11]](function(){return _0xf7ebx7[_0x9fde[16]](200)})[_0x9fde[8]](sequelize.UniqueConstraintError,function(_0xf7ebx9){_0xf7ebx9[_0x9fde[25]]=_0x9fde[26];_0xf7ebx9[_0x9fde[27]]=_0x9fde[28];return _0xf7ebx7[_0x9fde[10]](500)[_0x9fde[9]](_0xf7ebx9)})[_0x9fde[8]](function(_0xf7ebx9){console[_0x9fde[31]](_0xf7ebx9);return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[34]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[23]](_0xf7ebx6[_0x9fde[22]][_0x9fde[21]])[_0x9fde[11]](function(_0xf7ebxc){if(!_0xf7ebxc){return _0xf7ebx7[_0x9fde[16]](404)};return _0xf7ebxc[_0x9fde[34]]()})[_0x9fde[11]](function(){return _0xf7ebx7[_0x9fde[16]](204)})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};exports[_0x9fde[35]]=function(_0xf7ebx6,_0xf7ebx7){return Metric[_0x9fde[34]]({where:{id:_0xf7ebx6[_0x9fde[12]][_0x9fde[36]]},individualHooks:true})[_0x9fde[11]](function(){return _0xf7ebx7[_0x9fde[16]](204)})[_0x9fde[8]](function(_0xf7ebx9){return handleError(_0xf7ebx7,_0xf7ebx9)})};function handleError(_0xf7ebx7,_0xf7ebx9){return _0xf7ebx7[_0x9fde[10]](500)[_0x9fde[9]](_0xf7ebx9)} \ No newline at end of file +var _0x96bf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\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","\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\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x73\x73\x61\x67\x65","\x41\x20\x4D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x74\x68\x61\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\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"];_0x96bf[0];var _=require(_0x96bf[1]);var Metric=require(_0x96bf[3])[_0x96bf[2]];var util=require(_0x96bf[4]);var Util=require(_0x96bf[5]);var sequelize=require(_0x96bf[3])[_0x96bf[6]];exports[_0x96bf[7]]=function(_0x2f16x6,_0x2f16x7,_0x2f16x8){return Metric[_0x96bf[14]](Util[_0x96bf[13]](_0x2f16x6[_0x96bf[12]]))[_0x96bf[11]](function(_0x2f16xa){return _0x2f16x7[_0x96bf[10]](200)[_0x96bf[9]](_0x2f16xa)})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[15]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[19]]({where:{table:_0x2f16x6[_0x96bf[12]][_0x96bf[18]]}})[_0x96bf[11]](function(_0x2f16xb){if(!_0x2f16xb){return _0x2f16x7[_0x96bf[16]](404)};return _0x2f16x7[_0x96bf[10]](200)[_0x96bf[9]]({count:_0x2f16xb[_0x96bf[17]],rows:_0x2f16xb})})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[20]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[23]](_0x2f16x6[_0x96bf[22]][_0x96bf[21]])[_0x96bf[11]](function(_0x2f16xc){if(!_0x2f16xc){return _0x2f16x7[_0x96bf[16]](404)};return _0x2f16x7[_0x96bf[9]](_0x2f16xc)})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[24]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[24]](_0x2f16x6[_0x96bf[29]])[_0x96bf[11]](function(_0x2f16xc){return _0x2f16x7[_0x96bf[10]](201)[_0x96bf[9]](_0x2f16xc)})[_0x96bf[8]](sequelize.UniqueConstraintError,function(_0x2f16x9){_0x2f16x9[_0x96bf[25]]=_0x96bf[26];_0x2f16x9[_0x96bf[27]]=_0x96bf[28];return _0x2f16x7[_0x96bf[10]](500)[_0x96bf[9]](_0x2f16x9)})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[30]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[23]](_0x2f16x6[_0x96bf[22]][_0x96bf[21]])[_0x96bf[11]](function(_0x2f16xc){if(!_0x2f16xc){return _0x2f16x7[_0x96bf[16]](404)};var _0x2f16xd=_[_0x96bf[32]](_0x2f16xc,_0x2f16x6[_0x96bf[29]]);return _0x2f16xd[_0x96bf[33]]()})[_0x96bf[11]](function(){return _0x2f16x7[_0x96bf[16]](200)})[_0x96bf[8]](sequelize.UniqueConstraintError,function(_0x2f16x9){_0x2f16x9[_0x96bf[25]]=_0x96bf[26];_0x2f16x9[_0x96bf[27]]=_0x96bf[28];return _0x2f16x7[_0x96bf[10]](500)[_0x96bf[9]](_0x2f16x9)})[_0x96bf[8]](function(_0x2f16x9){console[_0x96bf[31]](_0x2f16x9);return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[34]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[23]](_0x2f16x6[_0x96bf[22]][_0x96bf[21]])[_0x96bf[11]](function(_0x2f16xc){if(!_0x2f16xc){return _0x2f16x7[_0x96bf[16]](404)};return _0x2f16xc[_0x96bf[34]]()})[_0x96bf[11]](function(){return _0x2f16x7[_0x96bf[16]](204)})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};exports[_0x96bf[35]]=function(_0x2f16x6,_0x2f16x7){return Metric[_0x96bf[34]]({where:{id:_0x2f16x6[_0x96bf[12]][_0x96bf[36]]},individualHooks:true})[_0x96bf[11]](function(){return _0x2f16x7[_0x96bf[16]](204)})[_0x96bf[8]](function(_0x2f16x9){return handleError(_0x2f16x7,_0x2f16x9)})};function handleError(_0x2f16x7,_0x2f16x9){return _0x2f16x7[_0x96bf[10]](500)[_0x96bf[9]](_0x2f16x9)} \ No newline at end of file diff --git a/server/api/metric/metric.socket.js b/server/api/metric/metric.socket.js index 1529f8e..6e253dc 100644 --- a/server/api/metric/metric.socket.js +++ b/server/api/metric/metric.socket.js @@ -1 +1 @@ -var _0x62c9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x62c9[0];var Metric=require(_0x62c9[2])[_0x62c9[1]];var ReportField=require(_0x62c9[2])[_0x62c9[3]];exports[_0x62c9[4]]=function(_0x8b0fx3){Metric[_0x62c9[5]](function(_0x8b0fx4){onSave(_0x8b0fx3,_0x8b0fx4)});Metric[_0x62c9[6]](function(_0x8b0fx4){updateFields(_0x8b0fx4)});Metric[_0x62c9[7]](function(_0x8b0fx4){onRemove(_0x8b0fx3,_0x8b0fx4)})};function onSave(_0x8b0fx3,_0x8b0fx4,_0x8b0fx6){_0x8b0fx3[_0x62c9[9]](_0x62c9[8],_0x8b0fx4)}function onRemove(_0x8b0fx3,_0x8b0fx4,_0x8b0fx6){_0x8b0fx3[_0x62c9[9]](_0x62c9[10],_0x8b0fx4)}function updateFields(_0x8b0fx4){return ReportField[_0x62c9[15]]({field:_0x8b0fx4[_0x62c9[13]]},{where:{MetricId:_0x8b0fx4[_0x62c9[14]]}})[_0x62c9[12]](function(_0x8b0fx9){console[_0x62c9[11]](_0x8b0fx9)})} \ No newline at end of file +var _0x7b32=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x7b32[0];var Metric=require(_0x7b32[2])[_0x7b32[1]];var ReportField=require(_0x7b32[2])[_0x7b32[3]];exports[_0x7b32[4]]=function(_0x78aax3){Metric[_0x7b32[5]](function(_0x78aax4){onSave(_0x78aax3,_0x78aax4)});Metric[_0x7b32[6]](function(_0x78aax4){updateFields(_0x78aax4)});Metric[_0x7b32[7]](function(_0x78aax4){onRemove(_0x78aax3,_0x78aax4)})};function onSave(_0x78aax3,_0x78aax4,_0x78aax6){_0x78aax3[_0x7b32[9]](_0x7b32[8],_0x78aax4)}function onRemove(_0x78aax3,_0x78aax4,_0x78aax6){_0x78aax3[_0x7b32[9]](_0x7b32[10],_0x78aax4)}function updateFields(_0x78aax4){return ReportField[_0x7b32[15]]({field:_0x78aax4[_0x7b32[13]]},{where:{MetricId:_0x78aax4[_0x7b32[14]]}})[_0x7b32[12]](function(_0x78aax9){console[_0x7b32[11]](_0x78aax9)})} \ No newline at end of file diff --git a/server/api/module/index.js b/server/api/module/index.js index 384592f..9dd6504 100644 --- a/server/api/module/index.js +++ b/server/api/module/index.js @@ -1 +1 @@ -var _0xa002=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x75\x6C\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","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xa002[0];var express=require(_0xa002[1]);var controller=require(_0xa002[2]);var auth=require(_0xa002[3]);var router=express.Router();router[_0xa002[9]](_0xa002[4],auth[_0xa002[5]](),auth[_0xa002[7]](_0xa002[6]),controller[_0xa002[8]]);module[_0xa002[10]]=router \ No newline at end of file +var _0xe0e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x75\x6C\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","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xe0e3[0];var express=require(_0xe0e3[1]);var controller=require(_0xe0e3[2]);var auth=require(_0xe0e3[3]);var router=express.Router();router[_0xe0e3[9]](_0xe0e3[4],auth[_0xe0e3[5]](),auth[_0xe0e3[7]](_0xe0e3[6]),controller[_0xe0e3[8]]);module[_0xe0e3[10]]=router \ No newline at end of file diff --git a/server/api/module/module.controller.js b/server/api/module/module.controller.js index ba84214..f32d238 100644 --- a/server/api/module/module.controller.js +++ b/server/api/module/module.controller.js @@ -1 +1 @@ -var _0x77ab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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"];_0x77ab[0];var _=require(_0x77ab[1]);var Module=require(_0x77ab[3])[_0x77ab[2]];var util=require(_0x77ab[4]);var Util=require(_0x77ab[5]);var sequelize=require(_0x77ab[3])[_0x77ab[6]];exports[_0x77ab[7]]=function(_0x89dfx6,_0x89dfx7,_0x89dfx8){return Module[_0x77ab[14]](Util[_0x77ab[13]](_0x89dfx6[_0x77ab[12]]))[_0x77ab[11]](function(_0x89dfxa){return _0x89dfx7[_0x77ab[10]](200)[_0x77ab[9]](_0x89dfxa)})[_0x77ab[8]](function(_0x89dfx9){return handleError(_0x89dfx7,_0x89dfx9)})};function handleError(_0x89dfx7,_0x89dfx9){return _0x89dfx7[_0x77ab[10]](500)[_0x77ab[9]](_0x89dfx9)} \ No newline at end of file +var _0x7fad=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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"];_0x7fad[0];var _=require(_0x7fad[1]);var Module=require(_0x7fad[3])[_0x7fad[2]];var util=require(_0x7fad[4]);var Util=require(_0x7fad[5]);var sequelize=require(_0x7fad[3])[_0x7fad[6]];exports[_0x7fad[7]]=function(_0x1e8ex6,_0x1e8ex7,_0x1e8ex8){return Module[_0x7fad[14]](Util[_0x7fad[13]](_0x1e8ex6[_0x7fad[12]]))[_0x7fad[11]](function(_0x1e8exa){return _0x1e8ex7[_0x7fad[10]](200)[_0x7fad[9]](_0x1e8exa)})[_0x7fad[8]](function(_0x1e8ex9){return handleError(_0x1e8ex7,_0x1e8ex9)})};function handleError(_0x1e8ex7,_0x1e8ex9){return _0x1e8ex7[_0x7fad[10]](500)[_0x7fad[9]](_0x1e8ex9)} \ No newline at end of file diff --git a/server/api/module/module.socket.js b/server/api/module/module.socket.js index 1587545..226353f 100644 --- a/server/api/module/module.socket.js +++ b/server/api/module/module.socket.js @@ -1 +1 @@ -var _0x436b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x6F\x64\x75\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x64\x75\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x436b[0];var Module=require(_0x436b[2])[_0x436b[1]];var ReportField=require(_0x436b[2])[_0x436b[3]];exports[_0x436b[4]]=function(_0x9860x3){Module[_0x436b[5]](function(_0x9860x4){onSave(_0x9860x3,_0x9860x4)});Module[_0x436b[6]](function(_0x9860x4){onSave(_0x9860x3,_0x9860x4)});Module[_0x436b[7]](function(_0x9860x4){onRemove(_0x9860x3,_0x9860x4)})};function onSave(_0x9860x3,_0x9860x4,_0x9860x6){_0x9860x3[_0x436b[9]](_0x436b[8],_0x9860x4)}function onRemove(_0x9860x3,_0x9860x4,_0x9860x6){_0x9860x3[_0x436b[9]](_0x436b[10],_0x9860x4)} \ No newline at end of file +var _0x45c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x6F\x64\x75\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x64\x75\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x45c6[0];var Module=require(_0x45c6[2])[_0x45c6[1]];var ReportField=require(_0x45c6[2])[_0x45c6[3]];exports[_0x45c6[4]]=function(_0xa688x3){Module[_0x45c6[5]](function(_0xa688x4){onSave(_0xa688x3,_0xa688x4)});Module[_0x45c6[6]](function(_0xa688x4){onSave(_0xa688x3,_0xa688x4)});Module[_0x45c6[7]](function(_0xa688x4){onRemove(_0xa688x3,_0xa688x4)})};function onSave(_0xa688x3,_0xa688x4,_0xa688x6){_0xa688x3[_0x45c6[9]](_0x45c6[8],_0xa688x4)}function onRemove(_0xa688x3,_0xa688x4,_0xa688x6){_0xa688x3[_0x45c6[9]](_0x45c6[10],_0xa688x4)} \ No newline at end of file diff --git a/server/api/motionbar/index.js b/server/api/motionbar/index.js index c3e02e2..12e8ca2 100644 --- a/server/api/motionbar/index.js +++ b/server/api/motionbar/index.js @@ -1 +1 @@ -var _0xd343=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\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","\x2F\x3A\x61\x63\x74\x69\x6F\x6E\x2F\x3A\x73\x74\x61\x74\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xd343[0];var express=require(_0xd343[1]);var controller=require(_0xd343[2]);var auth=require(_0xd343[3]);var router=express.Router();router[_0xd343[7]](_0xd343[4],auth[_0xd343[5]](),controller[_0xd343[6]]);module[_0xd343[8]]=router \ No newline at end of file +var _0xf5b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\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","\x2F\x3A\x61\x63\x74\x69\x6F\x6E\x2F\x3A\x73\x74\x61\x74\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xf5b4[0];var express=require(_0xf5b4[1]);var controller=require(_0xf5b4[2]);var auth=require(_0xf5b4[3]);var router=express.Router();router[_0xf5b4[7]](_0xf5b4[4],auth[_0xf5b4[5]](),controller[_0xf5b4[6]]);module[_0xf5b4[8]]=router \ No newline at end of file diff --git a/server/api/motionbar/motionbar.controller.js b/server/api/motionbar/motionbar.controller.js index 5f86539..cf6ff97 100644 --- a/server/api/motionbar/motionbar.controller.js +++ b/server/api/motionbar/motionbar.controller.js @@ -1 +1 @@ -var _0x5828=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x63\x74\x69\x6F\x6E","\x75\x73\x65\x72\x49\x64","\x71\x75\x65\x72\x79","\x55\x73\x65\x20\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x70\x61\x72\x61\x6D\x73","\x73\x74\x61\x74\x65","\x41\x64\x6D\x69\x6E\x49\x64","\x69\x64","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0x5828[0];var _=require(_0x5828[1]);var Motionbar=require(_0x5828[3])[_0x5828[2]];exports[_0x5828[4]]=function(_0x7c65x3,_0x7c65x4){if(!_0x7c65x3[_0x5828[6]][_0x5828[5]]){return handleError(_0x7c65x4,{message:_0x5828[7]})};_0x7c65x3[_0x5828[9]][_0x5828[8]]=parseInt(_0x7c65x3[_0x5828[6]][_0x5828[5]],10);_0x7c65x3[_0x5828[9]][_0x5828[4]]=_0x7c65x3[_0x5828[10]][_0x5828[4]];_0x7c65x3[_0x5828[9]][_0x5828[11]]=_0x7c65x3[_0x5828[10]][_0x5828[11]];_0x7c65x3[_0x5828[9]][_0x5828[12]]=_0x7c65x3[_0x5828[14]][_0x5828[13]];return Motionbar[_0x5828[19]](_0x7c65x3[_0x5828[9]])[_0x5828[18]](function(_0x7c65x6){return _0x7c65x4[_0x5828[17]](201)[_0x5828[16]](_0x7c65x6)})[_0x5828[15]](function(_0x7c65x5){return handleError(_0x7c65x4,_0x7c65x5)})};function handleError(_0x7c65x4,_0x7c65x5){return _0x7c65x4[_0x5828[17]](500)[_0x5828[16]](_0x7c65x5)} \ No newline at end of file +var _0x5454=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x63\x74\x69\x6F\x6E","\x75\x73\x65\x72\x49\x64","\x71\x75\x65\x72\x79","\x55\x73\x65\x20\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x70\x61\x72\x61\x6D\x73","\x73\x74\x61\x74\x65","\x41\x64\x6D\x69\x6E\x49\x64","\x69\x64","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0x5454[0];var _=require(_0x5454[1]);var Motionbar=require(_0x5454[3])[_0x5454[2]];exports[_0x5454[4]]=function(_0xb7bcx3,_0xb7bcx4){if(!_0xb7bcx3[_0x5454[6]][_0x5454[5]]){return handleError(_0xb7bcx4,{message:_0x5454[7]})};_0xb7bcx3[_0x5454[9]][_0x5454[8]]=parseInt(_0xb7bcx3[_0x5454[6]][_0x5454[5]],10);_0xb7bcx3[_0x5454[9]][_0x5454[4]]=_0xb7bcx3[_0x5454[10]][_0x5454[4]];_0xb7bcx3[_0x5454[9]][_0x5454[11]]=_0xb7bcx3[_0x5454[10]][_0x5454[11]];_0xb7bcx3[_0x5454[9]][_0x5454[12]]=_0xb7bcx3[_0x5454[14]][_0x5454[13]];return Motionbar[_0x5454[19]](_0xb7bcx3[_0x5454[9]])[_0x5454[18]](function(_0xb7bcx6){return _0xb7bcx4[_0x5454[17]](201)[_0x5454[16]](_0xb7bcx6)})[_0x5454[15]](function(_0xb7bcx5){return handleError(_0xb7bcx4,_0xb7bcx5)})};function handleError(_0xb7bcx4,_0xb7bcx5){return _0xb7bcx4[_0x5454[17]](500)[_0x5454[16]](_0xb7bcx5)} \ No newline at end of file diff --git a/server/api/motionbar/motionbar.socket.js b/server/api/motionbar/motionbar.socket.js index fc71ac7..9cfb8fd 100644 --- a/server/api/motionbar/motionbar.socket.js +++ b/server/api/motionbar/motionbar.socket.js @@ -1 +1 @@ -var _0xf688=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf688[0];var Motionbar=require(_0xf688[2])[_0xf688[1]];exports[_0xf688[3]]=function(_0xccdcx2){Motionbar[_0xf688[4]](function(_0xccdcx3){onSave(_0xccdcx2,_0xccdcx3)});Motionbar[_0xf688[5]](function(_0xccdcx3){onRemove(_0xccdcx2,_0xccdcx3)})};function onSave(_0xccdcx2,_0xccdcx3,_0xccdcx5){if(_0xccdcx2[_0xf688[6]]==_0xccdcx3[_0xf688[7]]){_0xccdcx2[_0xf688[9]](_0xf688[8],_0xccdcx3)}}function onRemove(_0xccdcx2,_0xccdcx3,_0xccdcx5){_0xccdcx2[_0xf688[9]](_0xf688[10],_0xccdcx3)} \ No newline at end of file +var _0x32e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x32e3[0];var Motionbar=require(_0x32e3[2])[_0x32e3[1]];exports[_0x32e3[3]]=function(_0xd7f5x2){Motionbar[_0x32e3[4]](function(_0xd7f5x3){onSave(_0xd7f5x2,_0xd7f5x3)});Motionbar[_0x32e3[5]](function(_0xd7f5x3){onRemove(_0xd7f5x2,_0xd7f5x3)})};function onSave(_0xd7f5x2,_0xd7f5x3,_0xd7f5x5){if(_0xd7f5x2[_0x32e3[6]]==_0xd7f5x3[_0x32e3[7]]){_0xd7f5x2[_0x32e3[9]](_0x32e3[8],_0xd7f5x3)}}function onRemove(_0xd7f5x2,_0xd7f5x3,_0xd7f5x5){_0xd7f5x2[_0x32e3[9]](_0x32e3[10],_0xd7f5x3)} \ No newline at end of file diff --git a/server/api/network_externip/index.js b/server/api/network_externip/index.js index 53e4389..6a9d699 100644 --- a/server/api/network_externip/index.js +++ b/server/api/network_externip/index.js @@ -1 +1 @@ -var _0x1996=["\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\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\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","\x68\x61\x73\x52\x6F\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"];_0x1996[0];var express=require(_0x1996[1]);var auth=require(_0x1996[2]);var controller=require(_0x1996[3]);var router=express.Router();router[_0x1996[9]](_0x1996[4],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[8]]);router[_0x1996[9]](_0x1996[10],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[11]]);router[_0x1996[13]](_0x1996[4],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[12]]);router[_0x1996[15]](_0x1996[10],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[14]]);router[_0x1996[17]](_0x1996[4],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[16]]);router[_0x1996[17]](_0x1996[10],auth[_0x1996[5]](),auth[_0x1996[7]](_0x1996[6]),controller[_0x1996[18]]);module[_0x1996[19]]=router \ No newline at end of file +var _0xea5d=["\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\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\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","\x68\x61\x73\x52\x6F\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"];_0xea5d[0];var express=require(_0xea5d[1]);var auth=require(_0xea5d[2]);var controller=require(_0xea5d[3]);var router=express.Router();router[_0xea5d[9]](_0xea5d[4],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[8]]);router[_0xea5d[9]](_0xea5d[10],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[11]]);router[_0xea5d[13]](_0xea5d[4],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[12]]);router[_0xea5d[15]](_0xea5d[10],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[14]]);router[_0xea5d[17]](_0xea5d[4],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[16]]);router[_0xea5d[17]](_0xea5d[10],auth[_0xea5d[5]](),auth[_0xea5d[7]](_0xea5d[6]),controller[_0xea5d[18]]);module[_0xea5d[19]]=router \ No newline at end of file diff --git a/server/api/network_externip/network_externip.controller.js b/server/api/network_externip/network_externip.controller.js index cc5dcaa..900102e 100644 --- a/server/api/network_externip/network_externip.controller.js +++ b/server/api/network_externip/network_externip.controller.js @@ -1 +1 @@ -var _0xe0ac=["\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","\x4E\x65\x74\x77\x6F\x72\x6B","\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\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x65\x78\x74\x65\x72\x6E\x69\x70","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xe0ac[0];var _=require(_0xe0ac[1]);var Util=require(_0xe0ac[2]);var NetworkExternip=require(_0xe0ac[4])[_0xe0ac[3]];function handleError(_0x3de6x5,_0x3de6x6){_0x3de6x6=_0x3de6x6||500;return function(_0x3de6x7){_0x3de6x5[_0xe0ac[6]](_0x3de6x6)[_0xe0ac[5]](_0x3de6x7)}}function responseWithResult(_0x3de6x5,_0x3de6x6){_0x3de6x6=_0x3de6x6||200;return function(_0x3de6x9){if(_0x3de6x9){_0x3de6x5[_0xe0ac[6]](_0x3de6x6)[_0xe0ac[7]](_0x3de6x9)}}}function responseWithoutResult(_0x3de6x5,_0x3de6x6){_0x3de6x6=_0x3de6x6||204;return function(){_0x3de6x5[_0xe0ac[8]](_0x3de6x6)}}function handleEntityNotFound(_0x3de6x5){return function(_0x3de6x9){if(!_0x3de6x9){_0x3de6x5[_0xe0ac[6]](404)[_0xe0ac[9]]();return null};return _0x3de6x9}}function saveUpdates(_0x3de6xd){return function(_0x3de6x9){return _0x3de6x9[_0xe0ac[11]](_0x3de6xd)[_0xe0ac[10]](function(_0x3de6xe){return _0x3de6xe})}}function removeEntity(_0x3de6x5){return function(_0x3de6x9){if(_0x3de6x9){return _0x3de6x9[_0xe0ac[12]]()[_0xe0ac[10]](function(){_0x3de6x5[_0xe0ac[6]](204)[_0xe0ac[9]]()})}}}exports[_0xe0ac[13]]=function(_0x3de6x10,_0x3de6x5){return NetworkExternip[_0xe0ac[19]](_0xe0ac[18])[_0xe0ac[17]](Util[_0xe0ac[16]](_0x3de6x10[_0xe0ac[15]]))[_0xe0ac[10]](responseWithResult(_0x3de6x5))[_0xe0ac[14]](handleError(_0x3de6x5))};exports[_0xe0ac[20]]=function(_0x3de6x10,_0x3de6x5){return NetworkExternip[_0xe0ac[23]](_0x3de6x10[_0xe0ac[22]][_0xe0ac[21]])[_0xe0ac[10]](handleEntityNotFound(_0x3de6x5))[_0xe0ac[10]](responseWithResult(_0x3de6x5))[_0xe0ac[14]](handleError(_0x3de6x5))};exports[_0xe0ac[24]]=function(_0x3de6x10,_0x3de6x5){_0x3de6x10[_0xe0ac[26]][_0xe0ac[25]]=_0xe0ac[18];return NetworkExternip[_0xe0ac[24]](_0x3de6x10[_0xe0ac[26]])[_0xe0ac[10]](responseWithResult(_0x3de6x5,201))[_0xe0ac[14]](handleError(_0x3de6x5))};exports[_0xe0ac[27]]=function(_0x3de6x10,_0x3de6x5){if(_0x3de6x10[_0xe0ac[26]][_0xe0ac[21]]){delete _0x3de6x10[_0xe0ac[26]][_0xe0ac[21]]};return NetworkExternip[_0xe0ac[23]](_0x3de6x10[_0xe0ac[22]][_0xe0ac[21]])[_0xe0ac[10]](handleEntityNotFound(_0x3de6x5))[_0xe0ac[10]](saveUpdates(_0x3de6x10[_0xe0ac[26]]))[_0xe0ac[10]](responseWithResult(_0x3de6x5))[_0xe0ac[14]](handleError(_0x3de6x5))};exports[_0xe0ac[12]]=function(_0x3de6x10,_0x3de6x5){return NetworkExternip[_0xe0ac[23]](_0x3de6x10[_0xe0ac[22]][_0xe0ac[21]])[_0xe0ac[10]](handleEntityNotFound(_0x3de6x5))[_0xe0ac[10]](removeEntity(_0x3de6x5))[_0xe0ac[14]](handleError(_0x3de6x5))};exports[_0xe0ac[28]]=function(_0x3de6x10,_0x3de6x5){return NetworkExternip[_0xe0ac[12]]({where:{id:_0x3de6x10[_0xe0ac[15]][_0xe0ac[29]]},individualHooks:true})[_0xe0ac[10]](responseWithoutResult(_0x3de6x5))[_0xe0ac[14]](handleError(_0x3de6x5))} \ No newline at end of file +var _0x5f92=["\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","\x4E\x65\x74\x77\x6F\x72\x6B","\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\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x65\x78\x74\x65\x72\x6E\x69\x70","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x5f92[0];var _=require(_0x5f92[1]);var Util=require(_0x5f92[2]);var NetworkExternip=require(_0x5f92[4])[_0x5f92[3]];function handleError(_0xccefx5,_0xccefx6){_0xccefx6=_0xccefx6||500;return function(_0xccefx7){_0xccefx5[_0x5f92[6]](_0xccefx6)[_0x5f92[5]](_0xccefx7)}}function responseWithResult(_0xccefx5,_0xccefx6){_0xccefx6=_0xccefx6||200;return function(_0xccefx9){if(_0xccefx9){_0xccefx5[_0x5f92[6]](_0xccefx6)[_0x5f92[7]](_0xccefx9)}}}function responseWithoutResult(_0xccefx5,_0xccefx6){_0xccefx6=_0xccefx6||204;return function(){_0xccefx5[_0x5f92[8]](_0xccefx6)}}function handleEntityNotFound(_0xccefx5){return function(_0xccefx9){if(!_0xccefx9){_0xccefx5[_0x5f92[6]](404)[_0x5f92[9]]();return null};return _0xccefx9}}function saveUpdates(_0xccefxd){return function(_0xccefx9){return _0xccefx9[_0x5f92[11]](_0xccefxd)[_0x5f92[10]](function(_0xccefxe){return _0xccefxe})}}function removeEntity(_0xccefx5){return function(_0xccefx9){if(_0xccefx9){return _0xccefx9[_0x5f92[12]]()[_0x5f92[10]](function(){_0xccefx5[_0x5f92[6]](204)[_0x5f92[9]]()})}}}exports[_0x5f92[13]]=function(_0xccefx10,_0xccefx5){return NetworkExternip[_0x5f92[19]](_0x5f92[18])[_0x5f92[17]](Util[_0x5f92[16]](_0xccefx10[_0x5f92[15]]))[_0x5f92[10]](responseWithResult(_0xccefx5))[_0x5f92[14]](handleError(_0xccefx5))};exports[_0x5f92[20]]=function(_0xccefx10,_0xccefx5){return NetworkExternip[_0x5f92[23]](_0xccefx10[_0x5f92[22]][_0x5f92[21]])[_0x5f92[10]](handleEntityNotFound(_0xccefx5))[_0x5f92[10]](responseWithResult(_0xccefx5))[_0x5f92[14]](handleError(_0xccefx5))};exports[_0x5f92[24]]=function(_0xccefx10,_0xccefx5){_0xccefx10[_0x5f92[26]][_0x5f92[25]]=_0x5f92[18];return NetworkExternip[_0x5f92[24]](_0xccefx10[_0x5f92[26]])[_0x5f92[10]](responseWithResult(_0xccefx5,201))[_0x5f92[14]](handleError(_0xccefx5))};exports[_0x5f92[27]]=function(_0xccefx10,_0xccefx5){if(_0xccefx10[_0x5f92[26]][_0x5f92[21]]){delete _0xccefx10[_0x5f92[26]][_0x5f92[21]]};return NetworkExternip[_0x5f92[23]](_0xccefx10[_0x5f92[22]][_0x5f92[21]])[_0x5f92[10]](handleEntityNotFound(_0xccefx5))[_0x5f92[10]](saveUpdates(_0xccefx10[_0x5f92[26]]))[_0x5f92[10]](responseWithResult(_0xccefx5))[_0x5f92[14]](handleError(_0xccefx5))};exports[_0x5f92[12]]=function(_0xccefx10,_0xccefx5){return NetworkExternip[_0x5f92[23]](_0xccefx10[_0x5f92[22]][_0x5f92[21]])[_0x5f92[10]](handleEntityNotFound(_0xccefx5))[_0x5f92[10]](removeEntity(_0xccefx5))[_0x5f92[14]](handleError(_0xccefx5))};exports[_0x5f92[28]]=function(_0xccefx10,_0xccefx5){return NetworkExternip[_0x5f92[12]]({where:{id:_0xccefx10[_0x5f92[15]][_0x5f92[29]]},individualHooks:true})[_0x5f92[10]](responseWithoutResult(_0xccefx5))[_0x5f92[14]](handleError(_0xccefx5))} \ No newline at end of file diff --git a/server/api/network_externip/network_externip.socket.js b/server/api/network_externip/network_externip.socket.js index 5a765b4..6cb8281 100644 --- a/server/api/network_externip/network_externip.socket.js +++ b/server/api/network_externip/network_externip.socket.js @@ -1 +1 @@ -var _0x6365=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6365[0];var NetworkExternip=require(_0x6365[2])[_0x6365[1]];exports[_0x6365[3]]=function(_0xabdex2){NetworkExternip[_0x6365[4]](function(_0xabdex3){onSave(_0xabdex2,_0xabdex3)});NetworkExternip[_0x6365[5]](function(_0xabdex3){onRemove(_0xabdex2,_0xabdex3)})};function onSave(_0xabdex2,_0xabdex3,_0xabdex5){_0xabdex2[_0x6365[7]](_0x6365[6],_0xabdex3)}function onRemove(_0xabdex2,_0xabdex3,_0xabdex5){_0xabdex2[_0x6365[7]](_0x6365[8],_0xabdex3)} \ No newline at end of file +var _0x19d5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x72\x65\x6D\x6F\x76\x65"];_0x19d5[0];var NetworkExternip=require(_0x19d5[2])[_0x19d5[1]];exports[_0x19d5[3]]=function(_0x6173x2){NetworkExternip[_0x19d5[4]](function(_0x6173x3){onSave(_0x6173x2,_0x6173x3)});NetworkExternip[_0x19d5[5]](function(_0x6173x3){onRemove(_0x6173x2,_0x6173x3)})};function onSave(_0x6173x2,_0x6173x3,_0x6173x5){_0x6173x2[_0x19d5[7]](_0x19d5[6],_0x6173x3)}function onRemove(_0x6173x2,_0x6173x3,_0x6173x5){_0x6173x2[_0x19d5[7]](_0x19d5[8],_0x6173x3)} \ No newline at end of file diff --git a/server/api/network_localnet/index.js b/server/api/network_localnet/index.js index 43bd764..868f750 100644 --- a/server/api/network_localnet/index.js +++ b/server/api/network_localnet/index.js @@ -1 +1 @@ -var _0x39a8=["\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\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\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","\x68\x61\x73\x52\x6F\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"];_0x39a8[0];var express=require(_0x39a8[1]);var auth=require(_0x39a8[2]);var controller=require(_0x39a8[3]);var router=express.Router();router[_0x39a8[9]](_0x39a8[4],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[8]]);router[_0x39a8[9]](_0x39a8[10],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[11]]);router[_0x39a8[13]](_0x39a8[4],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[12]]);router[_0x39a8[15]](_0x39a8[10],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[14]]);router[_0x39a8[17]](_0x39a8[4],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[16]]);router[_0x39a8[17]](_0x39a8[10],auth[_0x39a8[5]](),auth[_0x39a8[7]](_0x39a8[6]),controller[_0x39a8[18]]);module[_0x39a8[19]]=router \ No newline at end of file +var _0xd7bf=["\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\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\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","\x68\x61\x73\x52\x6F\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"];_0xd7bf[0];var express=require(_0xd7bf[1]);var auth=require(_0xd7bf[2]);var controller=require(_0xd7bf[3]);var router=express.Router();router[_0xd7bf[9]](_0xd7bf[4],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[8]]);router[_0xd7bf[9]](_0xd7bf[10],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[11]]);router[_0xd7bf[13]](_0xd7bf[4],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[12]]);router[_0xd7bf[15]](_0xd7bf[10],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[14]]);router[_0xd7bf[17]](_0xd7bf[4],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[16]]);router[_0xd7bf[17]](_0xd7bf[10],auth[_0xd7bf[5]](),auth[_0xd7bf[7]](_0xd7bf[6]),controller[_0xd7bf[18]]);module[_0xd7bf[19]]=router \ No newline at end of file diff --git a/server/api/network_localnet/network_localnet.controller.js b/server/api/network_localnet/network_localnet.controller.js index 39b12c6..df8e0b1 100644 --- a/server/api/network_localnet/network_localnet.controller.js +++ b/server/api/network_localnet/network_localnet.controller.js @@ -1 +1 @@ -var _0x97bf=["\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","\x4E\x65\x74\x77\x6F\x72\x6B","\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\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x97bf[0];var _=require(_0x97bf[1]);var Util=require(_0x97bf[2]);var NetworkLocalnet=require(_0x97bf[4])[_0x97bf[3]];function handleError(_0x1220x5,_0x1220x6){_0x1220x6=_0x1220x6||500;return function(_0x1220x7){_0x1220x5[_0x97bf[6]](_0x1220x6)[_0x97bf[5]](_0x1220x7)}}function responseWithResult(_0x1220x5,_0x1220x6){_0x1220x6=_0x1220x6||200;return function(_0x1220x9){if(_0x1220x9){_0x1220x5[_0x97bf[6]](_0x1220x6)[_0x97bf[7]](_0x1220x9)}}}function responseWithoutResult(_0x1220x5,_0x1220x6){_0x1220x6=_0x1220x6||204;return function(){_0x1220x5[_0x97bf[8]](_0x1220x6)}}function handleEntityNotFound(_0x1220x5){return function(_0x1220x9){if(!_0x1220x9){_0x1220x5[_0x97bf[6]](404)[_0x97bf[9]]();return null};return _0x1220x9}}function saveUpdates(_0x1220xd){return function(_0x1220x9){return _0x1220x9[_0x97bf[11]](_0x1220xd)[_0x97bf[10]](function(_0x1220xe){return _0x1220xe})}}function removeEntity(_0x1220x5){return function(_0x1220x9){if(_0x1220x9){return _0x1220x9[_0x97bf[12]]()[_0x97bf[10]](function(){_0x1220x5[_0x97bf[6]](204)[_0x97bf[9]]()})}}}exports[_0x97bf[13]]=function(_0x1220x10,_0x1220x5){return NetworkLocalnet[_0x97bf[19]](_0x97bf[18])[_0x97bf[17]](Util[_0x97bf[16]](_0x1220x10[_0x97bf[15]]))[_0x97bf[10]](responseWithResult(_0x1220x5))[_0x97bf[14]](handleError(_0x1220x5))};exports[_0x97bf[20]]=function(_0x1220x10,_0x1220x5){return NetworkLocalnet[_0x97bf[23]](_0x1220x10[_0x97bf[22]][_0x97bf[21]])[_0x97bf[10]](handleEntityNotFound(_0x1220x5))[_0x97bf[10]](responseWithResult(_0x1220x5))[_0x97bf[14]](handleError(_0x1220x5))};exports[_0x97bf[24]]=function(_0x1220x10,_0x1220x5){_0x1220x10[_0x97bf[26]][_0x97bf[25]]=_0x97bf[18];return NetworkLocalnet[_0x97bf[24]](_0x1220x10[_0x97bf[26]])[_0x97bf[10]](responseWithResult(_0x1220x5,201))[_0x97bf[14]](handleError(_0x1220x5))};exports[_0x97bf[27]]=function(_0x1220x10,_0x1220x5){if(_0x1220x10[_0x97bf[26]][_0x97bf[21]]){delete _0x1220x10[_0x97bf[26]][_0x97bf[21]]};return NetworkLocalnet[_0x97bf[23]](_0x1220x10[_0x97bf[22]][_0x97bf[21]])[_0x97bf[10]](handleEntityNotFound(_0x1220x5))[_0x97bf[10]](saveUpdates(_0x1220x10[_0x97bf[26]]))[_0x97bf[10]](responseWithResult(_0x1220x5))[_0x97bf[14]](handleError(_0x1220x5))};exports[_0x97bf[12]]=function(_0x1220x10,_0x1220x5){return NetworkLocalnet[_0x97bf[23]](_0x1220x10[_0x97bf[22]][_0x97bf[21]])[_0x97bf[10]](handleEntityNotFound(_0x1220x5))[_0x97bf[10]](removeEntity(_0x1220x5))[_0x97bf[14]](handleError(_0x1220x5))};exports[_0x97bf[28]]=function(_0x1220x10,_0x1220x5){return NetworkLocalnet[_0x97bf[12]]({where:{id:_0x1220x10[_0x97bf[15]][_0x97bf[29]]},individualHooks:true})[_0x97bf[10]](responseWithoutResult(_0x1220x5))[_0x97bf[14]](handleError(_0x1220x5))} \ No newline at end of file +var _0x129f=["\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","\x4E\x65\x74\x77\x6F\x72\x6B","\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\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x129f[0];var _=require(_0x129f[1]);var Util=require(_0x129f[2]);var NetworkLocalnet=require(_0x129f[4])[_0x129f[3]];function handleError(_0xc0c6x5,_0xc0c6x6){_0xc0c6x6=_0xc0c6x6||500;return function(_0xc0c6x7){_0xc0c6x5[_0x129f[6]](_0xc0c6x6)[_0x129f[5]](_0xc0c6x7)}}function responseWithResult(_0xc0c6x5,_0xc0c6x6){_0xc0c6x6=_0xc0c6x6||200;return function(_0xc0c6x9){if(_0xc0c6x9){_0xc0c6x5[_0x129f[6]](_0xc0c6x6)[_0x129f[7]](_0xc0c6x9)}}}function responseWithoutResult(_0xc0c6x5,_0xc0c6x6){_0xc0c6x6=_0xc0c6x6||204;return function(){_0xc0c6x5[_0x129f[8]](_0xc0c6x6)}}function handleEntityNotFound(_0xc0c6x5){return function(_0xc0c6x9){if(!_0xc0c6x9){_0xc0c6x5[_0x129f[6]](404)[_0x129f[9]]();return null};return _0xc0c6x9}}function saveUpdates(_0xc0c6xd){return function(_0xc0c6x9){return _0xc0c6x9[_0x129f[11]](_0xc0c6xd)[_0x129f[10]](function(_0xc0c6xe){return _0xc0c6xe})}}function removeEntity(_0xc0c6x5){return function(_0xc0c6x9){if(_0xc0c6x9){return _0xc0c6x9[_0x129f[12]]()[_0x129f[10]](function(){_0xc0c6x5[_0x129f[6]](204)[_0x129f[9]]()})}}}exports[_0x129f[13]]=function(_0xc0c6x10,_0xc0c6x5){return NetworkLocalnet[_0x129f[19]](_0x129f[18])[_0x129f[17]](Util[_0x129f[16]](_0xc0c6x10[_0x129f[15]]))[_0x129f[10]](responseWithResult(_0xc0c6x5))[_0x129f[14]](handleError(_0xc0c6x5))};exports[_0x129f[20]]=function(_0xc0c6x10,_0xc0c6x5){return NetworkLocalnet[_0x129f[23]](_0xc0c6x10[_0x129f[22]][_0x129f[21]])[_0x129f[10]](handleEntityNotFound(_0xc0c6x5))[_0x129f[10]](responseWithResult(_0xc0c6x5))[_0x129f[14]](handleError(_0xc0c6x5))};exports[_0x129f[24]]=function(_0xc0c6x10,_0xc0c6x5){_0xc0c6x10[_0x129f[26]][_0x129f[25]]=_0x129f[18];return NetworkLocalnet[_0x129f[24]](_0xc0c6x10[_0x129f[26]])[_0x129f[10]](responseWithResult(_0xc0c6x5,201))[_0x129f[14]](handleError(_0xc0c6x5))};exports[_0x129f[27]]=function(_0xc0c6x10,_0xc0c6x5){if(_0xc0c6x10[_0x129f[26]][_0x129f[21]]){delete _0xc0c6x10[_0x129f[26]][_0x129f[21]]};return NetworkLocalnet[_0x129f[23]](_0xc0c6x10[_0x129f[22]][_0x129f[21]])[_0x129f[10]](handleEntityNotFound(_0xc0c6x5))[_0x129f[10]](saveUpdates(_0xc0c6x10[_0x129f[26]]))[_0x129f[10]](responseWithResult(_0xc0c6x5))[_0x129f[14]](handleError(_0xc0c6x5))};exports[_0x129f[12]]=function(_0xc0c6x10,_0xc0c6x5){return NetworkLocalnet[_0x129f[23]](_0xc0c6x10[_0x129f[22]][_0x129f[21]])[_0x129f[10]](handleEntityNotFound(_0xc0c6x5))[_0x129f[10]](removeEntity(_0xc0c6x5))[_0x129f[14]](handleError(_0xc0c6x5))};exports[_0x129f[28]]=function(_0xc0c6x10,_0xc0c6x5){return NetworkLocalnet[_0x129f[12]]({where:{id:_0xc0c6x10[_0x129f[15]][_0x129f[29]]},individualHooks:true})[_0x129f[10]](responseWithoutResult(_0xc0c6x5))[_0x129f[14]](handleError(_0xc0c6x5))} \ No newline at end of file diff --git a/server/api/network_localnet/network_localnet.socket.js b/server/api/network_localnet/network_localnet.socket.js index 9924779..341d6ea 100644 --- a/server/api/network_localnet/network_localnet.socket.js +++ b/server/api/network_localnet/network_localnet.socket.js @@ -1 +1 @@ -var _0x35d2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x35d2[0];var NetworkLocalnet=require(_0x35d2[2])[_0x35d2[1]];exports[_0x35d2[3]]=function(_0x9084x2){NetworkLocalnet[_0x35d2[4]](function(_0x9084x3){onSave(_0x9084x2,_0x9084x3)});NetworkLocalnet[_0x35d2[5]](function(_0x9084x3){onRemove(_0x9084x2,_0x9084x3)})};function onSave(_0x9084x2,_0x9084x3,_0x9084x5){_0x9084x2[_0x35d2[7]](_0x35d2[6],_0x9084x3)}function onRemove(_0x9084x2,_0x9084x3,_0x9084x5){_0x9084x2[_0x35d2[7]](_0x35d2[8],_0x9084x3)} \ No newline at end of file +var _0x54f1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x54f1[0];var NetworkLocalnet=require(_0x54f1[2])[_0x54f1[1]];exports[_0x54f1[3]]=function(_0x7b5ax2){NetworkLocalnet[_0x54f1[4]](function(_0x7b5ax3){onSave(_0x7b5ax2,_0x7b5ax3)});NetworkLocalnet[_0x54f1[5]](function(_0x7b5ax3){onRemove(_0x7b5ax2,_0x7b5ax3)})};function onSave(_0x7b5ax2,_0x7b5ax3,_0x7b5ax5){_0x7b5ax2[_0x54f1[7]](_0x54f1[6],_0x7b5ax3)}function onRemove(_0x7b5ax2,_0x7b5ax3,_0x7b5ax5){_0x7b5ax2[_0x54f1[7]](_0x54f1[8],_0x7b5ax3)} \ No newline at end of file diff --git a/server/api/pause/index.js b/server/api/pause/index.js index 86b6540..515308e 100644 --- a/server/api/pause/index.js +++ b/server/api/pause/index.js @@ -1 +1 @@ -var _0x61d9=["\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\x70\x61\x75\x73\x65\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"];_0x61d9[0];var express=require(_0x61d9[1]);var auth=require(_0x61d9[2]);var controller=require(_0x61d9[3]);var router=express.Router();router[_0x61d9[10]](_0x61d9[4],auth[_0x61d9[5]](),auth[_0x61d9[8]]([6,13],[_0x61d9[6],_0x61d9[7]]),controller[_0x61d9[9]]);router[_0x61d9[10]](_0x61d9[11],auth[_0x61d9[5]](),auth[_0x61d9[8]]([13],[_0x61d9[6]]),controller[_0x61d9[12]]);router[_0x61d9[14]](_0x61d9[4],auth[_0x61d9[5]](),auth[_0x61d9[8]]([13],[_0x61d9[6]]),controller[_0x61d9[13]]);router[_0x61d9[16]](_0x61d9[11],auth[_0x61d9[5]](),auth[_0x61d9[8]]([13],[_0x61d9[6]]),controller[_0x61d9[15]]);router[_0x61d9[18]](_0x61d9[4],auth[_0x61d9[5]](),auth[_0x61d9[8]]([13],[_0x61d9[6]]),controller[_0x61d9[17]]);router[_0x61d9[18]](_0x61d9[11],auth[_0x61d9[5]](),auth[_0x61d9[8]]([13],[_0x61d9[6]]),controller[_0x61d9[19]]);module[_0x61d9[20]]=router \ No newline at end of file +var _0x4a31=["\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\x70\x61\x75\x73\x65\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"];_0x4a31[0];var express=require(_0x4a31[1]);var auth=require(_0x4a31[2]);var controller=require(_0x4a31[3]);var router=express.Router();router[_0x4a31[10]](_0x4a31[4],auth[_0x4a31[5]](),auth[_0x4a31[8]]([6,13],[_0x4a31[6],_0x4a31[7]]),controller[_0x4a31[9]]);router[_0x4a31[10]](_0x4a31[11],auth[_0x4a31[5]](),auth[_0x4a31[8]]([13],[_0x4a31[6]]),controller[_0x4a31[12]]);router[_0x4a31[14]](_0x4a31[4],auth[_0x4a31[5]](),auth[_0x4a31[8]]([13],[_0x4a31[6]]),controller[_0x4a31[13]]);router[_0x4a31[16]](_0x4a31[11],auth[_0x4a31[5]](),auth[_0x4a31[8]]([13],[_0x4a31[6]]),controller[_0x4a31[15]]);router[_0x4a31[18]](_0x4a31[4],auth[_0x4a31[5]](),auth[_0x4a31[8]]([13],[_0x4a31[6]]),controller[_0x4a31[17]]);router[_0x4a31[18]](_0x4a31[11],auth[_0x4a31[5]](),auth[_0x4a31[8]]([13],[_0x4a31[6]]),controller[_0x4a31[19]]);module[_0x4a31[20]]=router \ No newline at end of file diff --git a/server/api/pause/pause.controller.js b/server/api/pause/pause.controller.js index fae3d83..fd9b9fd 100644 --- a/server/api/pause/pause.controller.js +++ b/server/api/pause/pause.controller.js @@ -1 +1 @@ -var _0xeafb=["\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","\x50\x61\x75\x73\x65","\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","\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","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x77\x68\x65\x72\x65","\x25","\x66\x6F\x72\x45\x61\x63\x68"];_0xeafb[0];var _=require(_0xeafb[1]);var Util=require(_0xeafb[2]);var Pause=require(_0xeafb[4])[_0xeafb[3]];function handleError(_0x6fafx5,_0x6fafx6){_0x6fafx6=_0x6fafx6||500;return function(_0x6fafx7){_0x6fafx5[_0xeafb[6]](_0x6fafx6)[_0xeafb[5]](_0x6fafx7)}}function responseWithResult(_0x6fafx5,_0x6fafx6){_0x6fafx6=_0x6fafx6||200;return function(_0x6fafx9){if(_0x6fafx9){_0x6fafx5[_0xeafb[6]](_0x6fafx6)[_0xeafb[7]](_0x6fafx9)}}}function handleEntityNotFound(_0x6fafx5){return function(_0x6fafx9){if(!_0x6fafx9){_0x6fafx5[_0xeafb[6]](404)[_0xeafb[8]]();return null};return _0x6fafx9}}function saveUpdates(_0x6fafxc){return function(_0x6fafx9){return _0x6fafx9[_0xeafb[10]](_0x6fafxc)[_0xeafb[9]](function(_0x6fafxd){return _0x6fafxd})}}function removeEntity(_0x6fafx5){return function(_0x6fafx9){if(_0x6fafx9){return _0x6fafx9[_0xeafb[11]]()[_0xeafb[9]](function(){_0x6fafx5[_0xeafb[6]](204)[_0xeafb[8]]()})}}}exports[_0xeafb[12]]=function(_0x6fafxf,_0x6fafx5){return Pause[_0xeafb[16]](Util[_0xeafb[15]](_0x6fafxf[_0xeafb[14]]))[_0xeafb[9]](function(_0x6fafx10){_0x6fafx5[_0xeafb[6]](200)[_0xeafb[5]](_0x6fafx10)})[_0xeafb[13]](function(_0x6fafx7){return handleError(_0x6fafx5,_0x6fafx7)})};exports[_0xeafb[17]]=function(_0x6fafxf,_0x6fafx5){return Pause[_0xeafb[20]](_0x6fafxf[_0xeafb[19]][_0xeafb[18]])[_0xeafb[9]](handleEntityNotFound(_0x6fafx5))[_0xeafb[9]](responseWithResult(_0x6fafx5))[_0xeafb[13]](handleError(_0x6fafx5))};exports[_0xeafb[21]]=function(_0x6fafxf,_0x6fafx5){return Pause[_0xeafb[21]](_0x6fafxf[_0xeafb[22]])[_0xeafb[9]](responseWithResult(_0x6fafx5,201))[_0xeafb[13]](handleError(_0x6fafx5))};exports[_0xeafb[23]]=function(_0x6fafxf,_0x6fafx5){if(_0x6fafxf[_0xeafb[22]][_0xeafb[18]]){delete _0x6fafxf[_0xeafb[22]][_0xeafb[18]]};return Pause[_0xeafb[20]](_0x6fafxf[_0xeafb[19]][_0xeafb[18]])[_0xeafb[9]](handleEntityNotFound(_0x6fafx5))[_0xeafb[9]](saveUpdates(_0x6fafxf[_0xeafb[22]]))[_0xeafb[9]](responseWithResult(_0x6fafx5))[_0xeafb[13]](handleError(_0x6fafx5))};exports[_0xeafb[11]]=function(_0x6fafxf,_0x6fafx5){return Pause[_0xeafb[20]](_0x6fafxf[_0xeafb[19]][_0xeafb[18]])[_0xeafb[9]](handleEntityNotFound(_0x6fafx5))[_0xeafb[9]](removeEntity(_0x6fafx5))[_0xeafb[13]](handleError(_0x6fafx5))};exports[_0xeafb[24]]=function(_0x6fafxf,_0x6fafx5){return Pause[_0xeafb[11]]({where:{id:_0x6fafxf[_0xeafb[14]][_0xeafb[26]]},individualHooks:true})[_0xeafb[9]](function(){return _0x6fafx5[_0xeafb[25]](204)})[_0xeafb[13]](function(_0x6fafx7){return handleError(_0x6fafx5,_0x6fafx7)})};function getQuery(_0x6fafx12){var _0x6fafx13={where:{}};_[_0xeafb[32]](_0x6fafx12,function(_0x6fafx14,_0x6fafx15){switch(_0x6fafx15){case _0xeafb[27]:;case _0xeafb[28]:;case _0xeafb[29]:_0x6fafx13[_0x6fafx15]=_0x6fafx14;break;default:_0x6fafx13[_0xeafb[30]][_0x6fafx15]={$like:_0xeafb[31]+_0x6fafx14+_0xeafb[31]}}});return _0x6fafx13} \ No newline at end of file +var _0xb847=["\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","\x50\x61\x75\x73\x65","\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","\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","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x77\x68\x65\x72\x65","\x25","\x66\x6F\x72\x45\x61\x63\x68"];_0xb847[0];var _=require(_0xb847[1]);var Util=require(_0xb847[2]);var Pause=require(_0xb847[4])[_0xb847[3]];function handleError(_0x4f54x5,_0x4f54x6){_0x4f54x6=_0x4f54x6||500;return function(_0x4f54x7){_0x4f54x5[_0xb847[6]](_0x4f54x6)[_0xb847[5]](_0x4f54x7)}}function responseWithResult(_0x4f54x5,_0x4f54x6){_0x4f54x6=_0x4f54x6||200;return function(_0x4f54x9){if(_0x4f54x9){_0x4f54x5[_0xb847[6]](_0x4f54x6)[_0xb847[7]](_0x4f54x9)}}}function handleEntityNotFound(_0x4f54x5){return function(_0x4f54x9){if(!_0x4f54x9){_0x4f54x5[_0xb847[6]](404)[_0xb847[8]]();return null};return _0x4f54x9}}function saveUpdates(_0x4f54xc){return function(_0x4f54x9){return _0x4f54x9[_0xb847[10]](_0x4f54xc)[_0xb847[9]](function(_0x4f54xd){return _0x4f54xd})}}function removeEntity(_0x4f54x5){return function(_0x4f54x9){if(_0x4f54x9){return _0x4f54x9[_0xb847[11]]()[_0xb847[9]](function(){_0x4f54x5[_0xb847[6]](204)[_0xb847[8]]()})}}}exports[_0xb847[12]]=function(_0x4f54xf,_0x4f54x5){return Pause[_0xb847[16]](Util[_0xb847[15]](_0x4f54xf[_0xb847[14]]))[_0xb847[9]](function(_0x4f54x10){_0x4f54x5[_0xb847[6]](200)[_0xb847[5]](_0x4f54x10)})[_0xb847[13]](function(_0x4f54x7){return handleError(_0x4f54x5,_0x4f54x7)})};exports[_0xb847[17]]=function(_0x4f54xf,_0x4f54x5){return Pause[_0xb847[20]](_0x4f54xf[_0xb847[19]][_0xb847[18]])[_0xb847[9]](handleEntityNotFound(_0x4f54x5))[_0xb847[9]](responseWithResult(_0x4f54x5))[_0xb847[13]](handleError(_0x4f54x5))};exports[_0xb847[21]]=function(_0x4f54xf,_0x4f54x5){return Pause[_0xb847[21]](_0x4f54xf[_0xb847[22]])[_0xb847[9]](responseWithResult(_0x4f54x5,201))[_0xb847[13]](handleError(_0x4f54x5))};exports[_0xb847[23]]=function(_0x4f54xf,_0x4f54x5){if(_0x4f54xf[_0xb847[22]][_0xb847[18]]){delete _0x4f54xf[_0xb847[22]][_0xb847[18]]};return Pause[_0xb847[20]](_0x4f54xf[_0xb847[19]][_0xb847[18]])[_0xb847[9]](handleEntityNotFound(_0x4f54x5))[_0xb847[9]](saveUpdates(_0x4f54xf[_0xb847[22]]))[_0xb847[9]](responseWithResult(_0x4f54x5))[_0xb847[13]](handleError(_0x4f54x5))};exports[_0xb847[11]]=function(_0x4f54xf,_0x4f54x5){return Pause[_0xb847[20]](_0x4f54xf[_0xb847[19]][_0xb847[18]])[_0xb847[9]](handleEntityNotFound(_0x4f54x5))[_0xb847[9]](removeEntity(_0x4f54x5))[_0xb847[13]](handleError(_0x4f54x5))};exports[_0xb847[24]]=function(_0x4f54xf,_0x4f54x5){return Pause[_0xb847[11]]({where:{id:_0x4f54xf[_0xb847[14]][_0xb847[26]]},individualHooks:true})[_0xb847[9]](function(){return _0x4f54x5[_0xb847[25]](204)})[_0xb847[13]](function(_0x4f54x7){return handleError(_0x4f54x5,_0x4f54x7)})};function getQuery(_0x4f54x12){var _0x4f54x13={where:{}};_[_0xb847[32]](_0x4f54x12,function(_0x4f54x14,_0x4f54x15){switch(_0x4f54x15){case _0xb847[27]:;case _0xb847[28]:;case _0xb847[29]:_0x4f54x13[_0x4f54x15]=_0x4f54x14;break;default:_0x4f54x13[_0xb847[30]][_0x4f54x15]={$like:_0xb847[31]+_0x4f54x14+_0xb847[31]}}});return _0x4f54x13} \ No newline at end of file diff --git a/server/api/pause/pause.socket.js b/server/api/pause/pause.socket.js index b6aa32f..6cd47a8 100644 --- a/server/api/pause/pause.socket.js +++ b/server/api/pause/pause.socket.js @@ -1 +1 @@ -var _0xfed3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x61\x75\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x70\x61\x75\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfed3[0];var Pause=require(_0xfed3[2])[_0xfed3[1]];exports[_0xfed3[3]]=function(_0x8303x2){Pause[_0xfed3[4]](function(_0x8303x3){onSave(_0x8303x2,_0x8303x3)});Pause[_0xfed3[5]](function(_0x8303x3){onRemove(_0x8303x2,_0x8303x3)})};function onSave(_0x8303x2,_0x8303x3,_0x8303x5){_0x8303x2[_0xfed3[7]](_0xfed3[6],_0x8303x3)}function onRemove(_0x8303x2,_0x8303x3,_0x8303x5){_0x8303x2[_0xfed3[7]](_0xfed3[8],_0x8303x3)} \ No newline at end of file +var _0xb497=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x61\x75\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x70\x61\x75\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb497[0];var Pause=require(_0xb497[2])[_0xb497[1]];exports[_0xb497[3]]=function(_0xfe12x2){Pause[_0xb497[4]](function(_0xfe12x3){onSave(_0xfe12x2,_0xfe12x3)});Pause[_0xb497[5]](function(_0xfe12x3){onRemove(_0xfe12x2,_0xfe12x3)})};function onSave(_0xfe12x2,_0xfe12x3,_0xfe12x5){_0xfe12x2[_0xb497[7]](_0xb497[6],_0xfe12x3)}function onRemove(_0xfe12x2,_0xfe12x3,_0xfe12x5){_0xfe12x2[_0xb497[7]](_0xb497[8],_0xfe12x3)} \ No newline at end of file diff --git a/server/api/report_agent/index.js b/server/api/report_agent/index.js index 87480ba..329ed14 100644 --- a/server/api/report_agent/index.js +++ b/server/api/report_agent/index.js @@ -1 +1 @@ -var _0x3ed8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\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","\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\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3ed8[0];var express=require(_0x3ed8[1]);var controller=require(_0x3ed8[2]);var auth=require(_0x3ed8[3]);var router=express.Router();router[_0x3ed8[9]](_0x3ed8[4],auth[_0x3ed8[5]](),auth[_0x3ed8[7]]([17],[_0x3ed8[6]]),controller[_0x3ed8[8]]);router[_0x3ed8[9]](_0x3ed8[10],auth[_0x3ed8[5]](),auth[_0x3ed8[7]]([17],[_0x3ed8[6]]),controller[_0x3ed8[11]]);module[_0x3ed8[12]]=router \ No newline at end of file +var _0x6d47=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\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","\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\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x6d47[0];var express=require(_0x6d47[1]);var controller=require(_0x6d47[2]);var auth=require(_0x6d47[3]);var router=express.Router();router[_0x6d47[9]](_0x6d47[4],auth[_0x6d47[5]](),auth[_0x6d47[7]]([17],[_0x6d47[6]]),controller[_0x6d47[8]]);router[_0x6d47[9]](_0x6d47[10],auth[_0x6d47[5]](),auth[_0x6d47[7]]([17],[_0x6d47[6]]),controller[_0x6d47[11]]);module[_0x6d47[12]]=router \ No newline at end of file diff --git a/server/api/report_agent/report_agent.controller.js b/server/api/report_agent/report_agent.controller.js index 6abec69..dcb4207 100644 --- a/server/api/report_agent/report_agent.controller.js +++ b/server/api/report_agent/report_agent.controller.js @@ -1 +1 @@ -var _0x3f0b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x3f0b[0];var _=require(_0x3f0b[1]);var ReportAgent=require(_0x3f0b[3])[_0x3f0b[2]];var ReportAgentHistory=require(_0x3f0b[3])[_0x3f0b[5]][_0x3f0b[4]];var Util=require(_0x3f0b[6]);exports[_0x3f0b[7]]=function(_0x2872x5,_0x2872x6,_0x2872x7){return ReportAgent[_0x3f0b[14]](Util[_0x3f0b[13]](_0x2872x5[_0x3f0b[12]]))[_0x3f0b[11]](function(_0x2872x9){return _0x2872x6[_0x3f0b[10]](200)[_0x3f0b[9]](_0x2872x9)})[_0x3f0b[8]](function(_0x2872x8){return handleError(_0x2872x6,_0x2872x8)})};exports[_0x3f0b[15]]=function(_0x2872x5,_0x2872x6){return ReportAgentHistory[_0x3f0b[15]]()[_0x3f0b[11]](function(_0x2872xa){return _0x2872x6[_0x3f0b[10]](200)[_0x3f0b[9]](_0x2872xa)})[_0x3f0b[8]](function(_0x2872x8){return handleError(_0x2872x6,_0x2872x8)})};function handleError(_0x2872x6,_0x2872x8){return _0x2872x6[_0x3f0b[10]](500)[_0x3f0b[9]](_0x2872x8)} \ No newline at end of file +var _0x63d9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x63d9[0];var _=require(_0x63d9[1]);var ReportAgent=require(_0x63d9[3])[_0x63d9[2]];var ReportAgentHistory=require(_0x63d9[3])[_0x63d9[5]][_0x63d9[4]];var Util=require(_0x63d9[6]);exports[_0x63d9[7]]=function(_0xa8dcx5,_0xa8dcx6,_0xa8dcx7){return ReportAgent[_0x63d9[14]](Util[_0x63d9[13]](_0xa8dcx5[_0x63d9[12]]))[_0x63d9[11]](function(_0xa8dcx9){return _0xa8dcx6[_0x63d9[10]](200)[_0x63d9[9]](_0xa8dcx9)})[_0x63d9[8]](function(_0xa8dcx8){return handleError(_0xa8dcx6,_0xa8dcx8)})};exports[_0x63d9[15]]=function(_0xa8dcx5,_0xa8dcx6){return ReportAgentHistory[_0x63d9[15]]()[_0x63d9[11]](function(_0xa8dcxa){return _0xa8dcx6[_0x63d9[10]](200)[_0x63d9[9]](_0xa8dcxa)})[_0x63d9[8]](function(_0xa8dcx8){return handleError(_0xa8dcx6,_0xa8dcx8)})};function handleError(_0xa8dcx6,_0xa8dcx8){return _0xa8dcx6[_0x63d9[10]](500)[_0x63d9[9]](_0xa8dcx8)} \ No newline at end of file diff --git a/server/api/report_agent/report_agent.socket.js b/server/api/report_agent/report_agent.socket.js index c799a69..8a64409 100644 --- a/server/api/report_agent/report_agent.socket.js +++ b/server/api/report_agent/report_agent.socket.js @@ -1 +1 @@ -var _0x8e9c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8e9c[0];var ReportAgent=require(_0x8e9c[2])[_0x8e9c[1]];exports[_0x8e9c[3]]=function(_0x280fx2){ReportAgent[_0x8e9c[4]](function(_0x280fx3){onSave(_0x280fx2,_0x280fx3)});ReportAgent[_0x8e9c[5]](function(_0x280fx3){onSave(_0x280fx2,_0x280fx3)});ReportAgent[_0x8e9c[6]](function(_0x280fx3){onRemove(_0x280fx2,_0x280fx3)})};function onSave(_0x280fx2,_0x280fx3,_0x280fx5){if(_0x280fx2[_0x8e9c[7]]===_0x280fx3[_0x8e9c[8]]||_0x280fx2[_0x8e9c[9]]===_0x8e9c[10]){_0x280fx2[_0x8e9c[12]](_0x8e9c[11],_0x280fx3)}}function onRemove(_0x280fx2,_0x280fx3,_0x280fx5){_0x280fx2[_0x8e9c[12]](_0x8e9c[13],_0x280fx3)} \ No newline at end of file +var _0x91ba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x91ba[0];var ReportAgent=require(_0x91ba[2])[_0x91ba[1]];exports[_0x91ba[3]]=function(_0xd294x2){ReportAgent[_0x91ba[4]](function(_0xd294x3){onSave(_0xd294x2,_0xd294x3)});ReportAgent[_0x91ba[5]](function(_0xd294x3){onSave(_0xd294x2,_0xd294x3)});ReportAgent[_0x91ba[6]](function(_0xd294x3){onRemove(_0xd294x2,_0xd294x3)})};function onSave(_0xd294x2,_0xd294x3,_0xd294x5){if(_0xd294x2[_0x91ba[7]]===_0xd294x3[_0x91ba[8]]||_0xd294x2[_0x91ba[9]]===_0x91ba[10]){_0xd294x2[_0x91ba[12]](_0x91ba[11],_0xd294x3)}}function onRemove(_0xd294x2,_0xd294x3,_0xd294x5){_0xd294x2[_0x91ba[12]](_0x91ba[13],_0xd294x3)} \ No newline at end of file diff --git a/server/api/report_call/index.js b/server/api/report_call/index.js index 635751c..1eedc1d 100644 --- a/server/api/report_call/index.js +++ b/server/api/report_call/index.js @@ -1 +1 @@ -var _0x1e79=["\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\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\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","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x67\x65\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1e79[0];var express=require(_0x1e79[1]);var auth=require(_0x1e79[2]);var controller=require(_0x1e79[3]);var router=express.Router();router[_0x1e79[9]](_0x1e79[4],auth[_0x1e79[5]](),auth[_0x1e79[7]]([17],[_0x1e79[6]]),controller[_0x1e79[8]]);router[_0x1e79[9]](_0x1e79[10],auth[_0x1e79[5]](),auth[_0x1e79[7]]([17],[_0x1e79[6]]),controller[_0x1e79[11]]);router[_0x1e79[9]](_0x1e79[12],auth[_0x1e79[5]](),auth[_0x1e79[7]]([1],[_0x1e79[6],_0x1e79[13]]),controller[_0x1e79[14]]);router[_0x1e79[9]](_0x1e79[15],auth[_0x1e79[5]](),auth[_0x1e79[7]]([1],[_0x1e79[6],_0x1e79[13]]),controller[_0x1e79[16]]);router[_0x1e79[9]](_0x1e79[17],auth[_0x1e79[5]](),auth[_0x1e79[7]]([1],[_0x1e79[6],_0x1e79[13]]),controller[_0x1e79[18]]);router[_0x1e79[9]](_0x1e79[19],auth[_0x1e79[5]](),auth[_0x1e79[7]]([1],[_0x1e79[6],_0x1e79[13]]),controller[_0x1e79[20]]);router[_0x1e79[9]](_0x1e79[21],auth[_0x1e79[5]](),auth[_0x1e79[7]]([1],[_0x1e79[6],_0x1e79[13]]),controller[_0x1e79[22]]);module[_0x1e79[23]]=router \ No newline at end of file +var _0x1d7d=["\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\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\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","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x67\x65\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1d7d[0];var express=require(_0x1d7d[1]);var auth=require(_0x1d7d[2]);var controller=require(_0x1d7d[3]);var router=express.Router();router[_0x1d7d[9]](_0x1d7d[4],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([17],[_0x1d7d[6]]),controller[_0x1d7d[8]]);router[_0x1d7d[9]](_0x1d7d[10],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([17],[_0x1d7d[6]]),controller[_0x1d7d[11]]);router[_0x1d7d[9]](_0x1d7d[12],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([1],[_0x1d7d[6],_0x1d7d[13]]),controller[_0x1d7d[14]]);router[_0x1d7d[9]](_0x1d7d[15],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([1],[_0x1d7d[6],_0x1d7d[13]]),controller[_0x1d7d[16]]);router[_0x1d7d[9]](_0x1d7d[17],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([1],[_0x1d7d[6],_0x1d7d[13]]),controller[_0x1d7d[18]]);router[_0x1d7d[9]](_0x1d7d[19],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([1],[_0x1d7d[6],_0x1d7d[13]]),controller[_0x1d7d[20]]);router[_0x1d7d[9]](_0x1d7d[21],auth[_0x1d7d[5]](),auth[_0x1d7d[7]]([1],[_0x1d7d[6],_0x1d7d[13]]),controller[_0x1d7d[22]]);module[_0x1d7d[23]]=router \ No newline at end of file diff --git a/server/api/report_call/report_call.controller.js b/server/api/report_call/report_call.controller.js index 4492f5d..3d91ead 100644 --- a/server/api/report_call/report_call.controller.js +++ b/server/api/report_call/report_call.controller.js @@ -1 +1 @@ -var _0x2ce4=["\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","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\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","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x74\x61","\x6C\x6F\x67","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x2ce4[0];var _=require(_0x2ce4[1]);var sequelize=require(_0x2ce4[3])[_0x2ce4[2]];var ReportCall=require(_0x2ce4[3])[_0x2ce4[4]];var ReportCallHistory=require(_0x2ce4[3])[_0x2ce4[6]][_0x2ce4[5]];var Util=require(_0x2ce4[7]);function handleError(_0xd18ax7,_0xd18ax8){_0xd18ax8=_0xd18ax8||500;return function(_0xd18ax9){_0xd18ax7[_0x2ce4[9]](_0xd18ax8)[_0x2ce4[8]](_0xd18ax9)}}function responseWithResult(_0xd18ax7,_0xd18ax8){_0xd18ax8=_0xd18ax8||200;return function(_0xd18axb){if(_0xd18axb){_0xd18ax7[_0x2ce4[9]](_0xd18ax8)[_0x2ce4[10]](_0xd18axb)}}}function handleEntityNotFound(_0xd18ax7){return function(_0xd18axb){if(!_0xd18axb){_0xd18ax7[_0x2ce4[9]](404)[_0x2ce4[11]]();return null};return _0xd18axb}}function saveUpdates(_0xd18axe){return function(_0xd18axb){return _0xd18axb[_0x2ce4[13]](_0xd18axe)[_0x2ce4[12]](function(_0xd18axf){return _0xd18axf})}}function removeEntity(_0xd18ax7){return function(_0xd18axb){if(_0xd18axb){return _0xd18axb[_0x2ce4[14]]()[_0x2ce4[12]](function(){_0xd18ax7[_0x2ce4[9]](204)[_0x2ce4[11]]()})}}}exports[_0x2ce4[15]]=function(_0xd18ax11,_0xd18ax7,_0xd18ax12){return ReportCall[_0x2ce4[19]](Util[_0x2ce4[18]](_0xd18ax11[_0x2ce4[17]]))[_0x2ce4[12]](function(_0xd18ax13){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]](_0xd18ax13)})[_0x2ce4[16]](handleError(_0xd18ax7))};exports[_0x2ce4[20]]=function(_0xd18ax11,_0xd18ax7){return ReportCall[_0x2ce4[24]]({where:{type:_0x2ce4[23]}})[_0x2ce4[12]](function(_0xd18ax14){console[_0x2ce4[22]](_0x2ce4[21],_0xd18ax14);return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]]({value:_0xd18ax14})})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})};exports[_0x2ce4[25]]=function(_0xd18ax11,_0xd18ax7){return sequelize[_0x2ce4[17]](_0x2ce4[27],{type:sequelize[_0x2ce4[29]][_0x2ce4[28]]})[_0x2ce4[12]](function(_0xd18ax14){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]]({value:_0xd18ax14[0][_0x2ce4[26]]})})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})};exports[_0x2ce4[30]]=function(_0xd18ax11,_0xd18ax7){return sequelize[_0x2ce4[17]](_0x2ce4[31],{type:sequelize[_0x2ce4[29]][_0x2ce4[28]]})[_0x2ce4[12]](function(_0xd18ax14){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]]({value:_0xd18ax14[0][_0x2ce4[26]]})})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})};exports[_0x2ce4[32]]=function(_0xd18ax11,_0xd18ax7){return ReportCall[_0x2ce4[24]]({where:{disposition:_0x2ce4[33],type:_0x2ce4[23]}})[_0x2ce4[12]](function(_0xd18ax14){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]]({value:_0xd18ax14})})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})};exports[_0x2ce4[34]]=function(_0xd18ax11,_0xd18ax7){return sequelize[_0x2ce4[17]](_0x2ce4[35],{type:sequelize[_0x2ce4[29]][_0x2ce4[28]]})[_0x2ce4[12]](function(_0xd18ax14){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]]({value:_0xd18ax14[0][_0x2ce4[26]]})})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})};exports[_0x2ce4[36]]=function(_0xd18ax11,_0xd18ax7){return ReportCallHistory[_0x2ce4[36]]()[_0x2ce4[12]](function(_0xd18ax15){return _0xd18ax7[_0x2ce4[9]](200)[_0x2ce4[8]](_0xd18ax15)})[_0x2ce4[16]](function(_0xd18ax9){return handleError(_0xd18ax7,_0xd18ax9)})} \ No newline at end of file +var _0x219e=["\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","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\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","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x74\x61","\x6C\x6F\x67","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x219e[0];var _=require(_0x219e[1]);var sequelize=require(_0x219e[3])[_0x219e[2]];var ReportCall=require(_0x219e[3])[_0x219e[4]];var ReportCallHistory=require(_0x219e[3])[_0x219e[6]][_0x219e[5]];var Util=require(_0x219e[7]);function handleError(_0xe73cx7,_0xe73cx8){_0xe73cx8=_0xe73cx8||500;return function(_0xe73cx9){_0xe73cx7[_0x219e[9]](_0xe73cx8)[_0x219e[8]](_0xe73cx9)}}function responseWithResult(_0xe73cx7,_0xe73cx8){_0xe73cx8=_0xe73cx8||200;return function(_0xe73cxb){if(_0xe73cxb){_0xe73cx7[_0x219e[9]](_0xe73cx8)[_0x219e[10]](_0xe73cxb)}}}function handleEntityNotFound(_0xe73cx7){return function(_0xe73cxb){if(!_0xe73cxb){_0xe73cx7[_0x219e[9]](404)[_0x219e[11]]();return null};return _0xe73cxb}}function saveUpdates(_0xe73cxe){return function(_0xe73cxb){return _0xe73cxb[_0x219e[13]](_0xe73cxe)[_0x219e[12]](function(_0xe73cxf){return _0xe73cxf})}}function removeEntity(_0xe73cx7){return function(_0xe73cxb){if(_0xe73cxb){return _0xe73cxb[_0x219e[14]]()[_0x219e[12]](function(){_0xe73cx7[_0x219e[9]](204)[_0x219e[11]]()})}}}exports[_0x219e[15]]=function(_0xe73cx11,_0xe73cx7,_0xe73cx12){return ReportCall[_0x219e[19]](Util[_0x219e[18]](_0xe73cx11[_0x219e[17]]))[_0x219e[12]](function(_0xe73cx13){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]](_0xe73cx13)})[_0x219e[16]](handleError(_0xe73cx7))};exports[_0x219e[20]]=function(_0xe73cx11,_0xe73cx7){return ReportCall[_0x219e[24]]({where:{type:_0x219e[23]}})[_0x219e[12]](function(_0xe73cx14){console[_0x219e[22]](_0x219e[21],_0xe73cx14);return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]]({value:_0xe73cx14})})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})};exports[_0x219e[25]]=function(_0xe73cx11,_0xe73cx7){return sequelize[_0x219e[17]](_0x219e[27],{type:sequelize[_0x219e[29]][_0x219e[28]]})[_0x219e[12]](function(_0xe73cx14){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]]({value:_0xe73cx14[0][_0x219e[26]]})})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})};exports[_0x219e[30]]=function(_0xe73cx11,_0xe73cx7){return sequelize[_0x219e[17]](_0x219e[31],{type:sequelize[_0x219e[29]][_0x219e[28]]})[_0x219e[12]](function(_0xe73cx14){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]]({value:_0xe73cx14[0][_0x219e[26]]})})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})};exports[_0x219e[32]]=function(_0xe73cx11,_0xe73cx7){return ReportCall[_0x219e[24]]({where:{disposition:_0x219e[33],type:_0x219e[23]}})[_0x219e[12]](function(_0xe73cx14){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]]({value:_0xe73cx14})})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})};exports[_0x219e[34]]=function(_0xe73cx11,_0xe73cx7){return sequelize[_0x219e[17]](_0x219e[35],{type:sequelize[_0x219e[29]][_0x219e[28]]})[_0x219e[12]](function(_0xe73cx14){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]]({value:_0xe73cx14[0][_0x219e[26]]})})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})};exports[_0x219e[36]]=function(_0xe73cx11,_0xe73cx7){return ReportCallHistory[_0x219e[36]]()[_0x219e[12]](function(_0xe73cx15){return _0xe73cx7[_0x219e[9]](200)[_0x219e[8]](_0xe73cx15)})[_0x219e[16]](function(_0xe73cx9){return handleError(_0xe73cx7,_0xe73cx9)})} \ No newline at end of file diff --git a/server/api/report_call/report_call.socket.js b/server/api/report_call/report_call.socket.js index efc05ad..dc06a97 100644 --- a/server/api/report_call/report_call.socket.js +++ b/server/api/report_call/report_call.socket.js @@ -1 +1 @@ -var _0x9a49=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9a49[0];var ReportCall=require(_0x9a49[2])[_0x9a49[1]];exports[_0x9a49[3]]=function(_0x3756x2){ReportCall[_0x9a49[4]](function(_0x3756x3){onSave(_0x3756x2,_0x3756x3)});ReportCall[_0x9a49[5]](function(_0x3756x3){onRemove(_0x3756x2,_0x3756x3)})};function onSave(_0x3756x2,_0x3756x3,_0x3756x5){_0x3756x2[_0x9a49[7]](_0x9a49[6],_0x3756x3)}function onRemove(_0x3756x2,_0x3756x3,_0x3756x5){_0x3756x2[_0x9a49[7]](_0x9a49[8],_0x3756x3)} \ No newline at end of file +var _0xb25f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb25f[0];var ReportCall=require(_0xb25f[2])[_0xb25f[1]];exports[_0xb25f[3]]=function(_0x8167x2){ReportCall[_0xb25f[4]](function(_0x8167x3){onSave(_0x8167x2,_0x8167x3)});ReportCall[_0xb25f[5]](function(_0x8167x3){onRemove(_0x8167x2,_0x8167x3)})};function onSave(_0x8167x2,_0x8167x3,_0x8167x5){_0x8167x2[_0xb25f[7]](_0xb25f[6],_0x8167x3)}function onRemove(_0x8167x2,_0x8167x3,_0x8167x5){_0x8167x2[_0xb25f[7]](_0xb25f[8],_0x8167x3)} \ No newline at end of file diff --git a/server/api/report_chat/index.js b/server/api/report_chat/index.js index 41b9633..520f711 100644 --- a/server/api/report_chat/index.js +++ b/server/api/report_chat/index.js @@ -1 +1 @@ -var _0x5eec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\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","\x68\x61\x73\x43\x68\x61\x74","\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\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5eec[0];var express=require(_0x5eec[1]);var controller=require(_0x5eec[2]);var auth=require(_0x5eec[3]);var license=require(_0x5eec[4]);var router=express.Router();router[_0x5eec[11]](_0x5eec[5],auth[_0x5eec[6]](),license[_0x5eec[7]](),auth[_0x5eec[9]]([17],[_0x5eec[8]]),controller[_0x5eec[10]]);router[_0x5eec[11]](_0x5eec[12],auth[_0x5eec[6]](),license[_0x5eec[7]](),auth[_0x5eec[14]](_0x5eec[13]),controller[_0x5eec[15]]);router[_0x5eec[11]](_0x5eec[16],auth[_0x5eec[6]](),license[_0x5eec[7]](),auth[_0x5eec[14]](_0x5eec[13]),controller[_0x5eec[17]]);module[_0x5eec[18]]=router \ No newline at end of file +var _0x80dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\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","\x68\x61\x73\x43\x68\x61\x74","\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\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x80dd[0];var express=require(_0x80dd[1]);var controller=require(_0x80dd[2]);var auth=require(_0x80dd[3]);var license=require(_0x80dd[4]);var router=express.Router();router[_0x80dd[11]](_0x80dd[5],auth[_0x80dd[6]](),license[_0x80dd[7]](),auth[_0x80dd[9]]([17],[_0x80dd[8]]),controller[_0x80dd[10]]);router[_0x80dd[11]](_0x80dd[12],auth[_0x80dd[6]](),license[_0x80dd[7]](),auth[_0x80dd[14]](_0x80dd[13]),controller[_0x80dd[15]]);router[_0x80dd[11]](_0x80dd[16],auth[_0x80dd[6]](),license[_0x80dd[7]](),auth[_0x80dd[14]](_0x80dd[13]),controller[_0x80dd[17]]);module[_0x80dd[18]]=router \ No newline at end of file diff --git a/server/api/report_chat/report_chat.controller.js b/server/api/report_chat/report_chat.controller.js index bff2f93..62d62b2 100644 --- a/server/api/report_chat/report_chat.controller.js +++ b/server/api/report_chat/report_chat.controller.js @@ -1 +1 @@ -var _0x123f=["\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","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x63\x63\x65\x70\x74\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x61\x73\x65\x36\x34","\x69\x64","\x75\x73\x65\x72","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0x123f[0];var _=require(_0x123f[1]);var md5=require(_0x123f[2]);var moment=require(_0x123f[3]);var ReportChat=require(_0x123f[5])[_0x123f[4]];var ChatRoom=require(_0x123f[5])[_0x123f[6]];var ChatVisitor=require(_0x123f[5])[_0x123f[7]];var Agent=require(_0x123f[5])[_0x123f[8]];var sequelize=require(_0x123f[5])[_0x123f[9]];var Util=require(_0x123f[10]);exports[_0x123f[11]]=function(_0xb109xa,_0xb109xb,_0xb109xc){return ReportChat[_0x123f[18]](Util[_0x123f[17]](_0xb109xa[_0x123f[16]]))[_0x123f[15]](function(_0xb109xe){_0xb109xb[_0x123f[14]](200)[_0x123f[13]](_0xb109xe)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};exports[_0x123f[19]]=function(_0xb109xa,_0xb109xb){var _0xb109xf=_0xb109xa[_0x123f[23]][_0x123f[22]][_0x123f[21]](_0x123f[20])[1];var _0xb109x10;return ReportChat[_0x123f[28]](_0xb109xa[_0x123f[23]][_0x123f[30]])[_0x123f[15]](function(_0xb109x14){if(!_0xb109x14){return _0xb109xb[_0x123f[24]](404)};var _0xb109x12=_[_0x123f[26]](_0xb109x14,{connectid:_0xb109xa[_0x123f[23]][_0x123f[22]]});return _0xb109x12[_0x123f[27]]()})[_0x123f[15]](function(){return ChatRoom[_0x123f[28]](_0xb109xf)})[_0x123f[15]](function(_0xb109x13){_0xb109x10=_0xb109x13;return _0xb109x10[_0x123f[34]](_0xb109xa[_0x123f[31]][_0x123f[30]],{individualHooks:true})})[_0x123f[15]](function(){return _0xb109x10[_0x123f[33]]({token:md5(JSON[_0x123f[32]]([_0xb109xa[_0x123f[31]][_0x123f[30]]])).toString(_0x123f[29])})})[_0x123f[15]](function(){return ChatVisitor[_0x123f[28]](_0xb109x10.ChatVisitorId)})[_0x123f[15]](function(_0xb109x11){if(!_0xb109x11){return _0xb109xb[_0x123f[24]](404)};var _0xb109x12=_[_0x123f[26]](_0xb109x11,{status:_0x123f[25]});return _0xb109x12[_0x123f[27]]()})[_0x123f[15]](function(){return _0xb109xb[_0x123f[24]](200)})[_0x123f[12]](sequelize.UniqueConstraintError,function(_0xb109xd){return _0xb109xb[_0x123f[24]](504)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};exports[_0x123f[35]]=function(_0xb109xa,_0xb109xb){return ReportChat[_0x123f[35]](_0xb109xa[_0x123f[36]])[_0x123f[15]](function(_0xb109x14){return _0xb109xb[_0x123f[14]](201)[_0x123f[13]](_0xb109x14)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};exports[_0x123f[33]]=function(_0xb109xa,_0xb109xb,_0xb109xc){if(_0xb109xa[_0x123f[36]][_0x123f[30]]){delete _0xb109xa[_0x123f[36]][_0x123f[30]]};return ReportChat[_0x123f[28]](_0xb109xa[_0x123f[23]][_0x123f[30]])[_0x123f[15]](function(_0xb109x14){if(!_0xb109x14){return _0xb109xb[_0x123f[24]](404)};var _0xb109x12=_[_0x123f[26]](_0xb109x14,_0xb109xa[_0x123f[36]]);return _0xb109x12[_0x123f[27]]()})[_0x123f[15]](function(_0xb109x14){return _0xb109xb[_0x123f[14]](200)[_0x123f[13]](_0xb109x14)})[_0x123f[12]](sequelize.ValidationError,function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};exports[_0x123f[37]]=function(_0xb109xa,_0xb109xb){return ReportChat[_0x123f[28]](_0xb109xa[_0x123f[23]][_0x123f[30]])[_0x123f[15]](function(_0xb109x14){if(!_0xb109x14){return _0xb109xb[_0x123f[24]](404)};return _0xb109x14[_0x123f[37]]()})[_0x123f[15]](function(){return _0xb109xb[_0x123f[24]](204)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};exports[_0x123f[38]]=function(_0xb109xa,_0xb109xb){return ReportChat[_0x123f[28]](_0xb109xa[_0x123f[23]][_0x123f[30]])[_0x123f[15]](function(_0xb109x14){if(!_0xb109x14){return _0xb109xb[_0x123f[24]](404)};var _0xb109x12=_[_0x123f[26]](_0xb109x14,{rejectedAt:moment()[_0x123f[40]](_0x123f[39])});return _0xb109x12[_0x123f[27]]()})[_0x123f[15]](function(){return _0xb109xb[_0x123f[24]](200)})[_0x123f[12]](function(_0xb109xd){return handleError(_0xb109xb,_0xb109xd)})};function handleError(_0xb109xb,_0xb109xd){return _0xb109xb[_0x123f[14]](500)[_0x123f[13]](_0xb109xd)} \ No newline at end of file +var _0x441a=["\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","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\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","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x63\x63\x65\x70\x74\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x61\x73\x65\x36\x34","\x69\x64","\x75\x73\x65\x72","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0x441a[0];var _=require(_0x441a[1]);var md5=require(_0x441a[2]);var moment=require(_0x441a[3]);var ReportChat=require(_0x441a[5])[_0x441a[4]];var ChatRoom=require(_0x441a[5])[_0x441a[6]];var ChatVisitor=require(_0x441a[5])[_0x441a[7]];var Agent=require(_0x441a[5])[_0x441a[8]];var sequelize=require(_0x441a[5])[_0x441a[9]];var Util=require(_0x441a[10]);exports[_0x441a[11]]=function(_0x494fxa,_0x494fxb,_0x494fxc){return ReportChat[_0x441a[18]](Util[_0x441a[17]](_0x494fxa[_0x441a[16]]))[_0x441a[15]](function(_0x494fxe){_0x494fxb[_0x441a[14]](200)[_0x441a[13]](_0x494fxe)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};exports[_0x441a[19]]=function(_0x494fxa,_0x494fxb){var _0x494fxf=_0x494fxa[_0x441a[23]][_0x441a[22]][_0x441a[21]](_0x441a[20])[1];var _0x494fx10;return ReportChat[_0x441a[28]](_0x494fxa[_0x441a[23]][_0x441a[30]])[_0x441a[15]](function(_0x494fx14){if(!_0x494fx14){return _0x494fxb[_0x441a[24]](404)};var _0x494fx12=_[_0x441a[26]](_0x494fx14,{connectid:_0x494fxa[_0x441a[23]][_0x441a[22]]});return _0x494fx12[_0x441a[27]]()})[_0x441a[15]](function(){return ChatRoom[_0x441a[28]](_0x494fxf)})[_0x441a[15]](function(_0x494fx13){_0x494fx10=_0x494fx13;return _0x494fx10[_0x441a[34]](_0x494fxa[_0x441a[31]][_0x441a[30]],{individualHooks:true})})[_0x441a[15]](function(){return _0x494fx10[_0x441a[33]]({token:md5(JSON[_0x441a[32]]([_0x494fxa[_0x441a[31]][_0x441a[30]]])).toString(_0x441a[29])})})[_0x441a[15]](function(){return ChatVisitor[_0x441a[28]](_0x494fx10.ChatVisitorId)})[_0x441a[15]](function(_0x494fx11){if(!_0x494fx11){return _0x494fxb[_0x441a[24]](404)};var _0x494fx12=_[_0x441a[26]](_0x494fx11,{status:_0x441a[25]});return _0x494fx12[_0x441a[27]]()})[_0x441a[15]](function(){return _0x494fxb[_0x441a[24]](200)})[_0x441a[12]](sequelize.UniqueConstraintError,function(_0x494fxd){return _0x494fxb[_0x441a[24]](504)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};exports[_0x441a[35]]=function(_0x494fxa,_0x494fxb){return ReportChat[_0x441a[35]](_0x494fxa[_0x441a[36]])[_0x441a[15]](function(_0x494fx14){return _0x494fxb[_0x441a[14]](201)[_0x441a[13]](_0x494fx14)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};exports[_0x441a[33]]=function(_0x494fxa,_0x494fxb,_0x494fxc){if(_0x494fxa[_0x441a[36]][_0x441a[30]]){delete _0x494fxa[_0x441a[36]][_0x441a[30]]};return ReportChat[_0x441a[28]](_0x494fxa[_0x441a[23]][_0x441a[30]])[_0x441a[15]](function(_0x494fx14){if(!_0x494fx14){return _0x494fxb[_0x441a[24]](404)};var _0x494fx12=_[_0x441a[26]](_0x494fx14,_0x494fxa[_0x441a[36]]);return _0x494fx12[_0x441a[27]]()})[_0x441a[15]](function(_0x494fx14){return _0x494fxb[_0x441a[14]](200)[_0x441a[13]](_0x494fx14)})[_0x441a[12]](sequelize.ValidationError,function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};exports[_0x441a[37]]=function(_0x494fxa,_0x494fxb){return ReportChat[_0x441a[28]](_0x494fxa[_0x441a[23]][_0x441a[30]])[_0x441a[15]](function(_0x494fx14){if(!_0x494fx14){return _0x494fxb[_0x441a[24]](404)};return _0x494fx14[_0x441a[37]]()})[_0x441a[15]](function(){return _0x494fxb[_0x441a[24]](204)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};exports[_0x441a[38]]=function(_0x494fxa,_0x494fxb){return ReportChat[_0x441a[28]](_0x494fxa[_0x441a[23]][_0x441a[30]])[_0x441a[15]](function(_0x494fx14){if(!_0x494fx14){return _0x494fxb[_0x441a[24]](404)};var _0x494fx12=_[_0x441a[26]](_0x494fx14,{rejectedAt:moment()[_0x441a[40]](_0x441a[39])});return _0x494fx12[_0x441a[27]]()})[_0x441a[15]](function(){return _0x494fxb[_0x441a[24]](200)})[_0x441a[12]](function(_0x494fxd){return handleError(_0x494fxb,_0x494fxd)})};function handleError(_0x494fxb,_0x494fxd){return _0x494fxb[_0x441a[14]](500)[_0x441a[13]](_0x494fxd)} \ No newline at end of file diff --git a/server/api/report_chat/report_chat.socket.js b/server/api/report_chat/report_chat.socket.js index ae749ee..bf4a7a7 100644 --- a/server/api/report_chat/report_chat.socket.js +++ b/server/api/report_chat/report_chat.socket.js @@ -1 +1 @@ -var _0x512e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x512e[0];var ReportChat=require(_0x512e[2])[_0x512e[1]];exports[_0x512e[3]]=function(_0x577dx2){ReportChat[_0x512e[4]](function(_0x577dx3){onSave(_0x577dx2,_0x577dx3)});ReportChat[_0x512e[5]](function(_0x577dx3){onUpdate(_0x577dx2,_0x577dx3)});ReportChat[_0x512e[6]](function(_0x577dx3){onRemove(_0x577dx2,_0x577dx3)})};function onSave(_0x577dx2,_0x577dx3,_0x577dx5){if(_0x577dx2[_0x512e[7]]===_0x577dx3[_0x512e[8]]&&_0x577dx2[_0x512e[9]]===_0x512e[10]){_0x577dx2[_0x512e[12]](_0x512e[11],_0x577dx3)}}function onUpdate(_0x577dx2,_0x577dx3,_0x577dx5){if(_0x577dx2[_0x512e[7]]===_0x577dx3[_0x512e[8]]&&_0x577dx2[_0x512e[9]]===_0x512e[10]){_0x577dx2[_0x512e[12]](_0x512e[13],_0x577dx3)}}function onRemove(_0x577dx2,_0x577dx3,_0x577dx5){_0x577dx2[_0x512e[12]](_0x512e[14],_0x577dx3)} \ No newline at end of file +var _0x2d37=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2d37[0];var ReportChat=require(_0x2d37[2])[_0x2d37[1]];exports[_0x2d37[3]]=function(_0x33b5x2){ReportChat[_0x2d37[4]](function(_0x33b5x3){onSave(_0x33b5x2,_0x33b5x3)});ReportChat[_0x2d37[5]](function(_0x33b5x3){onUpdate(_0x33b5x2,_0x33b5x3)});ReportChat[_0x2d37[6]](function(_0x33b5x3){onRemove(_0x33b5x2,_0x33b5x3)})};function onSave(_0x33b5x2,_0x33b5x3,_0x33b5x5){if(_0x33b5x2[_0x2d37[7]]===_0x33b5x3[_0x2d37[8]]&&_0x33b5x2[_0x2d37[9]]===_0x2d37[10]){_0x33b5x2[_0x2d37[12]](_0x2d37[11],_0x33b5x3)}}function onUpdate(_0x33b5x2,_0x33b5x3,_0x33b5x5){if(_0x33b5x2[_0x2d37[7]]===_0x33b5x3[_0x2d37[8]]&&_0x33b5x2[_0x2d37[9]]===_0x2d37[10]){_0x33b5x2[_0x2d37[12]](_0x2d37[13],_0x33b5x3)}}function onRemove(_0x33b5x2,_0x33b5x3,_0x33b5x5){_0x33b5x2[_0x2d37[12]](_0x2d37[14],_0x33b5x3)} \ No newline at end of file diff --git a/server/api/report_chat_room/index.js b/server/api/report_chat_room/index.js index 39ba3d8..5a2d0b2 100644 --- a/server/api/report_chat_room/index.js +++ b/server/api/report_chat_room/index.js @@ -1 +1 @@ -var _0xb580=["\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\x72\x65\x70\x6F\x72\x74\x5F\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\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","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xb580[0];var express=require(_0xb580[1]);var auth=require(_0xb580[2]);var controller=require(_0xb580[3]);var license=require(_0xb580[4]);var router=express.Router();router[_0xb580[11]](_0xb580[5],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([17],[_0xb580[8]]),controller[_0xb580[10]]);router[_0xb580[11]](_0xb580[12],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([17],[_0xb580[8]]),controller[_0xb580[13]]);router[_0xb580[11]](_0xb580[14],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([1],[_0xb580[8],_0xb580[15]]),controller[_0xb580[16]]);router[_0xb580[11]](_0xb580[17],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([1],[_0xb580[8],_0xb580[15]]),controller[_0xb580[18]]);router[_0xb580[11]](_0xb580[19],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([1],[_0xb580[8],_0xb580[15]]),controller[_0xb580[20]]);router[_0xb580[11]](_0xb580[21],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([1],[_0xb580[8],_0xb580[15]]),controller[_0xb580[22]]);router[_0xb580[11]](_0xb580[23],auth[_0xb580[6]](),license[_0xb580[7]](),auth[_0xb580[9]]([1],[_0xb580[8],_0xb580[15]]),controller[_0xb580[24]]);module[_0xb580[25]]=router \ No newline at end of file +var _0xf8d1=["\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\x72\x65\x70\x6F\x72\x74\x5F\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\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","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xf8d1[0];var express=require(_0xf8d1[1]);var auth=require(_0xf8d1[2]);var controller=require(_0xf8d1[3]);var license=require(_0xf8d1[4]);var router=express.Router();router[_0xf8d1[11]](_0xf8d1[5],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([17],[_0xf8d1[8]]),controller[_0xf8d1[10]]);router[_0xf8d1[11]](_0xf8d1[12],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([17],[_0xf8d1[8]]),controller[_0xf8d1[13]]);router[_0xf8d1[11]](_0xf8d1[14],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([1],[_0xf8d1[8],_0xf8d1[15]]),controller[_0xf8d1[16]]);router[_0xf8d1[11]](_0xf8d1[17],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([1],[_0xf8d1[8],_0xf8d1[15]]),controller[_0xf8d1[18]]);router[_0xf8d1[11]](_0xf8d1[19],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([1],[_0xf8d1[8],_0xf8d1[15]]),controller[_0xf8d1[20]]);router[_0xf8d1[11]](_0xf8d1[21],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([1],[_0xf8d1[8],_0xf8d1[15]]),controller[_0xf8d1[22]]);router[_0xf8d1[11]](_0xf8d1[23],auth[_0xf8d1[6]](),license[_0xf8d1[7]](),auth[_0xf8d1[9]]([1],[_0xf8d1[8],_0xf8d1[15]]),controller[_0xf8d1[24]]);module[_0xf8d1[25]]=router \ No newline at end of file diff --git a/server/api/report_chat_room/report_chat_room.controller.js b/server/api/report_chat_room/report_chat_room.controller.js index 4b098ac..3989697 100644 --- a/server/api/report_chat_room/report_chat_room.controller.js +++ b/server/api/report_chat_room/report_chat_room.controller.js @@ -1 +1 @@ -var _0xdd3d=["\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","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6C\x6F\x67","\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\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\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","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\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","\x69\x6E\x64\x65\x78","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xdd3d[0];var _=require(_0xdd3d[1]);var Util=require(_0xdd3d[2]);var ReportChatRoom=require(_0xdd3d[4])[_0xdd3d[3]];var ReportChatRoomHistory=require(_0xdd3d[4])[_0xdd3d[6]][_0xdd3d[5]];var User=require(_0xdd3d[4])[_0xdd3d[7]];var ChatQueue=require(_0xdd3d[4])[_0xdd3d[8]];function handleError(_0x6cbax8,_0x6cbax9){_0x6cbax9=_0x6cbax9||500;return function(_0x6cbaxa){console[_0xdd3d[9]](_0x6cbaxa);_0x6cbax8[_0xdd3d[11]](_0x6cbax9)[_0xdd3d[10]](_0x6cbaxa)}}function responseWithResult(_0x6cbax8,_0x6cbax9){_0x6cbax9=_0x6cbax9||200;return function(_0x6cbaxc){if(_0x6cbaxc){_0x6cbax8[_0xdd3d[11]](_0x6cbax9)[_0xdd3d[12]](_0x6cbaxc)}}}function responseWithoutResult(_0x6cbax8,_0x6cbax9){_0x6cbax9=_0x6cbax9||204;return function(){_0x6cbax8[_0xdd3d[13]](_0x6cbax9)}}function handleEntityNotFound(_0x6cbax8){return function(_0x6cbaxc){if(!_0x6cbaxc){_0x6cbax8[_0xdd3d[11]](404)[_0xdd3d[14]]();return null};return _0x6cbaxc}}function saveUpdates(_0x6cbax10){return function(_0x6cbaxc){return _0x6cbaxc[_0xdd3d[16]](_0x6cbax10)[_0xdd3d[15]](function(_0x6cbax11){return _0x6cbax11})}}function removeEntity(_0x6cbax8){return function(_0x6cbaxc){if(_0x6cbaxc){return _0x6cbaxc[_0xdd3d[17]]()[_0xdd3d[15]](function(){_0x6cbax8[_0xdd3d[11]](204)[_0xdd3d[14]]()})}}}function getChatQueues(_0x6cbax14){return function(){switch(_0x6cbax14[_0xdd3d[26]]){case _0xdd3d[25]:return User[_0xdd3d[24]](_0x6cbax14[_0xdd3d[18]],{attributes:[_0xdd3d[18]]})[_0xdd3d[15]](Util[_0xdd3d[23]]({},{attributes:[_0xdd3d[18]],include:[{raw:true,model:User,attributes:[_0xdd3d[18]]}]}))[_0xdd3d[15]](function(_0x6cbax15){var _0x6cbax16=[];_0x6cbax15[_0xdd3d[22]][_0xdd3d[21]](function(_0x6cbax17){_0x6cbax16=_[_0xdd3d[20]](_0x6cbax16,_[_0xdd3d[19]](_0x6cbax17.Users,_0xdd3d[18]))});return {where:{$or:{queueid:_[_0xdd3d[19]](_0x6cbax15[_0xdd3d[22]],_0xdd3d[18]),memberid:_0x6cbax16}}}});default:return {}}}}exports[_0xdd3d[27]]=function(_0x6cbax18,_0x6cbax8){return Promise[_0xdd3d[32]]([])[_0xdd3d[15]](getChatQueues(_0x6cbax18[_0xdd3d[25]]))[_0xdd3d[15]](function(_0x6cbax1a){return ReportChatRoom[_0xdd3d[31]](_[_0xdd3d[30]]({where:{status:_0xdd3d[29]}},_0x6cbax1a))})[_0xdd3d[15]](function(_0x6cbax19){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]]({value:_0x6cbax19})})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[33]]=function(_0x6cbax18,_0x6cbax8){return Promise[_0xdd3d[32]]([])[_0xdd3d[15]](getChatQueues(_0x6cbax18[_0xdd3d[25]]))[_0xdd3d[15]](function(_0x6cbax1a){return ReportChatRoom[_0xdd3d[31]](_[_0xdd3d[30]]({where:{status:_0xdd3d[34]}},_0x6cbax1a))})[_0xdd3d[15]](function(_0x6cbax19){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]]({value:_0x6cbax19})})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[35]]=function(_0x6cbax18,_0x6cbax8){return Promise[_0xdd3d[32]]([])[_0xdd3d[15]](getChatQueues(_0x6cbax18[_0xdd3d[25]]))[_0xdd3d[15]](function(_0x6cbax1a){return ReportChatRoom[_0xdd3d[31]](_[_0xdd3d[30]]({where:{status:_0xdd3d[36]}},_0x6cbax1a))})[_0xdd3d[15]](function(_0x6cbax19){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]]({value:_0x6cbax19})})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[37]]=function(_0x6cbax18,_0x6cbax8){return Promise[_0xdd3d[32]]([])[_0xdd3d[15]](getChatQueues(_0x6cbax18[_0xdd3d[25]]))[_0xdd3d[15]](function(_0x6cbax1a){return ReportChatRoom[_0xdd3d[31]](_[_0xdd3d[30]]({where:{status:_0xdd3d[38]}},_0x6cbax1a))})[_0xdd3d[15]](function(_0x6cbax19){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]]({value:_0x6cbax19})})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[39]]=function(_0x6cbax18,_0x6cbax8){return Promise[_0xdd3d[32]]([])[_0xdd3d[15]](getChatQueues(_0x6cbax18[_0xdd3d[25]]))[_0xdd3d[15]](function(_0x6cbax1a){return ReportChatRoom[_0xdd3d[31]](_[_0xdd3d[30]]({where:{status:_0xdd3d[40]}},_0x6cbax1a))})[_0xdd3d[15]](function(_0x6cbax19){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]]({value:_0x6cbax19})})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[41]]=function(_0x6cbax18,_0x6cbax8,_0x6cbax1b){return ReportChatRoom[_0xdd3d[44]](Util[_0xdd3d[43]](_0x6cbax18[_0xdd3d[42]]))[_0xdd3d[15]](function(_0x6cbax1c){return _0x6cbax8[_0xdd3d[11]](200)[_0xdd3d[10]](_0x6cbax1c)})[_0xdd3d[28]](handleError(_0x6cbax8))};exports[_0xdd3d[45]]=function(_0x6cbax18,_0x6cbax8){return ReportChatRoomHistory[_0xdd3d[45]]()[_0xdd3d[15]](responseWithResult(_0x6cbax8))[_0xdd3d[28]](handleError(_0x6cbax8))} \ No newline at end of file +var _0xaab7=["\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","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6C\x6F\x67","\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\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\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","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\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","\x69\x6E\x64\x65\x78","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xaab7[0];var _=require(_0xaab7[1]);var Util=require(_0xaab7[2]);var ReportChatRoom=require(_0xaab7[4])[_0xaab7[3]];var ReportChatRoomHistory=require(_0xaab7[4])[_0xaab7[6]][_0xaab7[5]];var User=require(_0xaab7[4])[_0xaab7[7]];var ChatQueue=require(_0xaab7[4])[_0xaab7[8]];function handleError(_0x123cx8,_0x123cx9){_0x123cx9=_0x123cx9||500;return function(_0x123cxa){console[_0xaab7[9]](_0x123cxa);_0x123cx8[_0xaab7[11]](_0x123cx9)[_0xaab7[10]](_0x123cxa)}}function responseWithResult(_0x123cx8,_0x123cx9){_0x123cx9=_0x123cx9||200;return function(_0x123cxc){if(_0x123cxc){_0x123cx8[_0xaab7[11]](_0x123cx9)[_0xaab7[12]](_0x123cxc)}}}function responseWithoutResult(_0x123cx8,_0x123cx9){_0x123cx9=_0x123cx9||204;return function(){_0x123cx8[_0xaab7[13]](_0x123cx9)}}function handleEntityNotFound(_0x123cx8){return function(_0x123cxc){if(!_0x123cxc){_0x123cx8[_0xaab7[11]](404)[_0xaab7[14]]();return null};return _0x123cxc}}function saveUpdates(_0x123cx10){return function(_0x123cxc){return _0x123cxc[_0xaab7[16]](_0x123cx10)[_0xaab7[15]](function(_0x123cx11){return _0x123cx11})}}function removeEntity(_0x123cx8){return function(_0x123cxc){if(_0x123cxc){return _0x123cxc[_0xaab7[17]]()[_0xaab7[15]](function(){_0x123cx8[_0xaab7[11]](204)[_0xaab7[14]]()})}}}function getChatQueues(_0x123cx14){return function(){switch(_0x123cx14[_0xaab7[26]]){case _0xaab7[25]:return User[_0xaab7[24]](_0x123cx14[_0xaab7[18]],{attributes:[_0xaab7[18]]})[_0xaab7[15]](Util[_0xaab7[23]]({},{attributes:[_0xaab7[18]],include:[{raw:true,model:User,attributes:[_0xaab7[18]]}]}))[_0xaab7[15]](function(_0x123cx15){var _0x123cx16=[];_0x123cx15[_0xaab7[22]][_0xaab7[21]](function(_0x123cx17){_0x123cx16=_[_0xaab7[20]](_0x123cx16,_[_0xaab7[19]](_0x123cx17.Users,_0xaab7[18]))});return {where:{$or:{queueid:_[_0xaab7[19]](_0x123cx15[_0xaab7[22]],_0xaab7[18]),memberid:_0x123cx16}}}});default:return {}}}}exports[_0xaab7[27]]=function(_0x123cx18,_0x123cx8){return Promise[_0xaab7[32]]([])[_0xaab7[15]](getChatQueues(_0x123cx18[_0xaab7[25]]))[_0xaab7[15]](function(_0x123cx1a){return ReportChatRoom[_0xaab7[31]](_[_0xaab7[30]]({where:{status:_0xaab7[29]}},_0x123cx1a))})[_0xaab7[15]](function(_0x123cx19){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]]({value:_0x123cx19})})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[33]]=function(_0x123cx18,_0x123cx8){return Promise[_0xaab7[32]]([])[_0xaab7[15]](getChatQueues(_0x123cx18[_0xaab7[25]]))[_0xaab7[15]](function(_0x123cx1a){return ReportChatRoom[_0xaab7[31]](_[_0xaab7[30]]({where:{status:_0xaab7[34]}},_0x123cx1a))})[_0xaab7[15]](function(_0x123cx19){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]]({value:_0x123cx19})})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[35]]=function(_0x123cx18,_0x123cx8){return Promise[_0xaab7[32]]([])[_0xaab7[15]](getChatQueues(_0x123cx18[_0xaab7[25]]))[_0xaab7[15]](function(_0x123cx1a){return ReportChatRoom[_0xaab7[31]](_[_0xaab7[30]]({where:{status:_0xaab7[36]}},_0x123cx1a))})[_0xaab7[15]](function(_0x123cx19){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]]({value:_0x123cx19})})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[37]]=function(_0x123cx18,_0x123cx8){return Promise[_0xaab7[32]]([])[_0xaab7[15]](getChatQueues(_0x123cx18[_0xaab7[25]]))[_0xaab7[15]](function(_0x123cx1a){return ReportChatRoom[_0xaab7[31]](_[_0xaab7[30]]({where:{status:_0xaab7[38]}},_0x123cx1a))})[_0xaab7[15]](function(_0x123cx19){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]]({value:_0x123cx19})})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[39]]=function(_0x123cx18,_0x123cx8){return Promise[_0xaab7[32]]([])[_0xaab7[15]](getChatQueues(_0x123cx18[_0xaab7[25]]))[_0xaab7[15]](function(_0x123cx1a){return ReportChatRoom[_0xaab7[31]](_[_0xaab7[30]]({where:{status:_0xaab7[40]}},_0x123cx1a))})[_0xaab7[15]](function(_0x123cx19){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]]({value:_0x123cx19})})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[41]]=function(_0x123cx18,_0x123cx8,_0x123cx1b){return ReportChatRoom[_0xaab7[44]](Util[_0xaab7[43]](_0x123cx18[_0xaab7[42]]))[_0xaab7[15]](function(_0x123cx1c){return _0x123cx8[_0xaab7[11]](200)[_0xaab7[10]](_0x123cx1c)})[_0xaab7[28]](handleError(_0x123cx8))};exports[_0xaab7[45]]=function(_0x123cx18,_0x123cx8){return ReportChatRoomHistory[_0xaab7[45]]()[_0xaab7[15]](responseWithResult(_0x123cx8))[_0xaab7[28]](handleError(_0x123cx8))} \ No newline at end of file diff --git a/server/api/report_chat_room/report_chat_room.socket.js b/server/api/report_chat_room/report_chat_room.socket.js index ab9b90e..f3e961f 100644 --- a/server/api/report_chat_room/report_chat_room.socket.js +++ b/server/api/report_chat_room/report_chat_room.socket.js @@ -1 +1 @@ -var _0xd99d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd99d[0];var ReportChatRoom=require(_0xd99d[2])[_0xd99d[1]];exports[_0xd99d[3]]=function(_0xb792x2){ReportChatRoom[_0xd99d[4]](function(_0xb792x3){onSave(_0xb792x2,_0xb792x3)});ReportChatRoom[_0xd99d[5]](function(_0xb792x3){onRemove(_0xb792x2,_0xb792x3)})};function onSave(_0xb792x2,_0xb792x3,_0xb792x5){_0xb792x2[_0xd99d[7]](_0xd99d[6],_0xb792x3)}function onRemove(_0xb792x2,_0xb792x3,_0xb792x5){_0xb792x2[_0xd99d[7]](_0xd99d[8],_0xb792x3)} \ No newline at end of file +var _0xff24=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xff24[0];var ReportChatRoom=require(_0xff24[2])[_0xff24[1]];exports[_0xff24[3]]=function(_0x6e4dx2){ReportChatRoom[_0xff24[4]](function(_0x6e4dx3){onSave(_0x6e4dx2,_0x6e4dx3)});ReportChatRoom[_0xff24[5]](function(_0x6e4dx3){onRemove(_0x6e4dx2,_0x6e4dx3)})};function onSave(_0x6e4dx2,_0x6e4dx3,_0x6e4dx5){_0x6e4dx2[_0xff24[7]](_0xff24[6],_0x6e4dx3)}function onRemove(_0x6e4dx2,_0x6e4dx3,_0x6e4dx5){_0x6e4dx2[_0xff24[7]](_0xff24[8],_0x6e4dx3)} \ No newline at end of file diff --git a/server/api/report_chat_session/index.js b/server/api/report_chat_session/index.js index 38cb6af..b38abed 100644 --- a/server/api/report_chat_session/index.js +++ b/server/api/report_chat_session/index.js @@ -1 +1 @@ -var _0x4dad=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\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","\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","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x4dad[0];var express=require(_0x4dad[1]);var controller=require(_0x4dad[2]);var auth=require(_0x4dad[3]);var license=require(_0x4dad[4]);var router=express.Router();router[_0x4dad[11]](_0x4dad[5],auth[_0x4dad[6]](),license[_0x4dad[7]](),auth[_0x4dad[9]]([17],[_0x4dad[8]]),controller[_0x4dad[10]]);router[_0x4dad[11]](_0x4dad[12],auth[_0x4dad[6]](),license[_0x4dad[7]](),auth[_0x4dad[9]]([17],[_0x4dad[8]]),controller[_0x4dad[13]]);router[_0x4dad[11]](_0x4dad[14],auth[_0x4dad[6]](),license[_0x4dad[7]](),auth[_0x4dad[9]]([8],[_0x4dad[8],_0x4dad[15]]),controller[_0x4dad[16]]);module[_0x4dad[17]]=router \ No newline at end of file +var _0x4afd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\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","\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","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x4afd[0];var express=require(_0x4afd[1]);var controller=require(_0x4afd[2]);var auth=require(_0x4afd[3]);var license=require(_0x4afd[4]);var router=express.Router();router[_0x4afd[11]](_0x4afd[5],auth[_0x4afd[6]](),license[_0x4afd[7]](),auth[_0x4afd[9]]([17],[_0x4afd[8]]),controller[_0x4afd[10]]);router[_0x4afd[11]](_0x4afd[12],auth[_0x4afd[6]](),license[_0x4afd[7]](),auth[_0x4afd[9]]([17],[_0x4afd[8]]),controller[_0x4afd[13]]);router[_0x4afd[11]](_0x4afd[14],auth[_0x4afd[6]](),license[_0x4afd[7]](),auth[_0x4afd[9]]([8],[_0x4afd[8],_0x4afd[15]]),controller[_0x4afd[16]]);module[_0x4afd[17]]=router \ No newline at end of file diff --git a/server/api/report_chat_session/report_chat_session.controller.js b/server/api/report_chat_session/report_chat_session.controller.js index 8d7512c..44e6080 100644 --- a/server/api/report_chat_session/report_chat_session.controller.js +++ b/server/api/report_chat_session/report_chat_session.controller.js @@ -1 +1 @@ -var _0x92e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x43\x68\x61\x74\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","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0x92e5[0];var _=require(_0x92e5[1]);var ReportChatSession=require(_0x92e5[3])[_0x92e5[2]];var User=require(_0x92e5[3])[_0x92e5[4]];var ReportChatSessionHistory=require(_0x92e5[3])[_0x92e5[6]][_0x92e5[5]];var Promise=require(_0x92e5[7]);var Util=require(_0x92e5[8]);exports[_0x92e5[9]]=function(_0xe858x7,_0xe858x8,_0xe858x9){return ReportChatSession[_0x92e5[16]](Util[_0x92e5[15]](_0xe858x7[_0x92e5[14]]))[_0x92e5[13]](function(_0xe858xb){_0xe858x8[_0x92e5[12]](200)[_0x92e5[11]](_0xe858xb)})[_0x92e5[10]](function(_0xe858xa){return handleError(_0xe858x8,_0xe858xa)})};exports[_0x92e5[17]]=function(_0xe858x7,_0xe858x8){return ReportChatSessionHistory[_0x92e5[17]]()[_0x92e5[13]](function(_0xe858xc){return _0xe858x8[_0x92e5[12]](200)[_0x92e5[11]](_0xe858xc)})[_0x92e5[10]](function(_0xe858xa){return handleError(_0xe858x8,_0xe858xa)})};function getChatQueues(_0xe858xe){return function(){switch(_0xe858xe[_0x92e5[28]]){case _0x92e5[25]:return User[_0x92e5[24]](_0xe858xe[_0x92e5[18]],{attributes:[_0x92e5[18]]})[_0x92e5[13]](Util[_0x92e5[23]]({},{attributes:[_0x92e5[18]],include:[{raw:true,model:User,attributes:[_0x92e5[18]]}]}))[_0x92e5[13]](function(_0xe858xf){var _0xe858x10=[];_0xe858xf[_0x92e5[22]][_0x92e5[21]](function(_0xe858x11){_0xe858x10=_[_0x92e5[20]](_0xe858x10,_[_0x92e5[19]](_0xe858x11.Users,_0x92e5[18]))});return {$or:{queueid:_[_0x92e5[19]](_0xe858xf[_0x92e5[22]],_0x92e5[18]),memberid:_0xe858x10}}});case _0x92e5[27]:return User[_0x92e5[24]](_0xe858xe[_0x92e5[18]],{attributes:[_0x92e5[18]]})[_0x92e5[13]](function(_0xe858x12){return _0xe858x12[_0x92e5[26]]({attributes:[_0x92e5[18]]})})[_0x92e5[13]](function(_0xe858xf){return {$or:{queueid:_[_0x92e5[19]](_0xe858xf,_0x92e5[18]),memberid:_0xe858xe[_0x92e5[18]]}}});default:return {}}}}exports[_0x92e5[29]]=function(_0xe858x7,_0xe858x8){return Promise[_0x92e5[33]]([])[_0x92e5[13]](getChatQueues(_0xe858x7[_0x92e5[25]]))[_0x92e5[13]](function(_0xe858x14){return ReportChatSession[_0x92e5[32]](Util[_0x92e5[15]](_0xe858x7[_0x92e5[14]],_[_0x92e5[31]]({leaveAt:null},_0xe858x14)))})[_0x92e5[13]](function(_0xe858x13){return _0xe858x8[_0x92e5[12]](200)[_0x92e5[11]]({rows:_0xe858x13})})[_0x92e5[10]](function(_0xe858xa){console[_0x92e5[30]](_0xe858xa);return handleError(_0xe858x8,_0xe858xa)})};function handleError(_0xe858x8,_0xe858xa){return _0xe858x8[_0x92e5[12]](500)[_0x92e5[11]](_0xe858xa)} \ No newline at end of file +var _0xf278=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x43\x68\x61\x74\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","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0xf278[0];var _=require(_0xf278[1]);var ReportChatSession=require(_0xf278[3])[_0xf278[2]];var User=require(_0xf278[3])[_0xf278[4]];var ReportChatSessionHistory=require(_0xf278[3])[_0xf278[6]][_0xf278[5]];var Promise=require(_0xf278[7]);var Util=require(_0xf278[8]);exports[_0xf278[9]]=function(_0xa9b1x7,_0xa9b1x8,_0xa9b1x9){return ReportChatSession[_0xf278[16]](Util[_0xf278[15]](_0xa9b1x7[_0xf278[14]]))[_0xf278[13]](function(_0xa9b1xb){_0xa9b1x8[_0xf278[12]](200)[_0xf278[11]](_0xa9b1xb)})[_0xf278[10]](function(_0xa9b1xa){return handleError(_0xa9b1x8,_0xa9b1xa)})};exports[_0xf278[17]]=function(_0xa9b1x7,_0xa9b1x8){return ReportChatSessionHistory[_0xf278[17]]()[_0xf278[13]](function(_0xa9b1xc){return _0xa9b1x8[_0xf278[12]](200)[_0xf278[11]](_0xa9b1xc)})[_0xf278[10]](function(_0xa9b1xa){return handleError(_0xa9b1x8,_0xa9b1xa)})};function getChatQueues(_0xa9b1xe){return function(){switch(_0xa9b1xe[_0xf278[28]]){case _0xf278[25]:return User[_0xf278[24]](_0xa9b1xe[_0xf278[18]],{attributes:[_0xf278[18]]})[_0xf278[13]](Util[_0xf278[23]]({},{attributes:[_0xf278[18]],include:[{raw:true,model:User,attributes:[_0xf278[18]]}]}))[_0xf278[13]](function(_0xa9b1xf){var _0xa9b1x10=[];_0xa9b1xf[_0xf278[22]][_0xf278[21]](function(_0xa9b1x11){_0xa9b1x10=_[_0xf278[20]](_0xa9b1x10,_[_0xf278[19]](_0xa9b1x11.Users,_0xf278[18]))});return {$or:{queueid:_[_0xf278[19]](_0xa9b1xf[_0xf278[22]],_0xf278[18]),memberid:_0xa9b1x10}}});case _0xf278[27]:return User[_0xf278[24]](_0xa9b1xe[_0xf278[18]],{attributes:[_0xf278[18]]})[_0xf278[13]](function(_0xa9b1x12){return _0xa9b1x12[_0xf278[26]]({attributes:[_0xf278[18]]})})[_0xf278[13]](function(_0xa9b1xf){return {$or:{queueid:_[_0xf278[19]](_0xa9b1xf,_0xf278[18]),memberid:_0xa9b1xe[_0xf278[18]]}}});default:return {}}}}exports[_0xf278[29]]=function(_0xa9b1x7,_0xa9b1x8){return Promise[_0xf278[33]]([])[_0xf278[13]](getChatQueues(_0xa9b1x7[_0xf278[25]]))[_0xf278[13]](function(_0xa9b1x14){return ReportChatSession[_0xf278[32]](Util[_0xf278[15]](_0xa9b1x7[_0xf278[14]],_[_0xf278[31]]({leaveAt:null},_0xa9b1x14)))})[_0xf278[13]](function(_0xa9b1x13){return _0xa9b1x8[_0xf278[12]](200)[_0xf278[11]]({rows:_0xa9b1x13})})[_0xf278[10]](function(_0xa9b1xa){console[_0xf278[30]](_0xa9b1xa);return handleError(_0xa9b1x8,_0xa9b1xa)})};function handleError(_0xa9b1x8,_0xa9b1xa){return _0xa9b1x8[_0xf278[12]](500)[_0xf278[11]](_0xa9b1xa)} \ No newline at end of file diff --git a/server/api/report_chat_session/report_chat_session.socket.js b/server/api/report_chat_session/report_chat_session.socket.js index e714bab..77c03d8 100644 --- a/server/api/report_chat_session/report_chat_session.socket.js +++ b/server/api/report_chat_session/report_chat_session.socket.js @@ -1 +1 @@ -var _0xeba9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x63\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65\x69\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeba9[0];var ReportChatSession=require(_0xeba9[2])[_0xeba9[1]];var User=require(_0xeba9[2])[_0xeba9[3]];var Util=require(_0xeba9[4]);var _=require(_0xeba9[5]);var Promise=require(_0xeba9[6]);exports[_0xeba9[7]]=function(_0x1912x6){ReportChatSession[_0xeba9[8]](function(_0x1912x7){onSave(_0x1912x6,_0x1912x7)});ReportChatSession[_0xeba9[9]](function(_0x1912x7){onSave(_0x1912x6,_0x1912x7)});ReportChatSession[_0xeba9[10]](function(_0x1912x7){onRemove(_0x1912x6,_0x1912x7)})};function getChatQueues(_0x1912x9){return function(){switch(_0x1912x9[_0xeba9[23]]){case _0xeba9[20]:return User[_0xeba9[19]](_0x1912x9[_0xeba9[18]],{attributes:[_0xeba9[11]]})[_0xeba9[16]](Util[_0xeba9[17]]({},{attributes:[_0xeba9[11]],include:[{raw:true,model:User,attributes:[_0xeba9[11]]}]}))[_0xeba9[16]](function(_0x1912xa){var _0x1912xb=[];_0x1912xa[_0xeba9[15]][_0xeba9[14]](function(_0x1912xc){_0x1912xb=_[_0xeba9[13]](_0x1912xb,_[_0xeba9[12]](_0x1912xc.Users,_0xeba9[11]))});return {queueid:_[_0xeba9[12]](_0x1912xa[_0xeba9[15]],_0xeba9[11]),memberid:_0x1912xb}});case _0xeba9[22]:return User[_0xeba9[19]](_0x1912x9[_0xeba9[18]],{attributes:[_0xeba9[11]]})[_0xeba9[16]](function(_0x1912xd){return _0x1912xd[_0xeba9[21]]({attributes:[_0xeba9[11]]})})[_0xeba9[16]](function(_0x1912xa){return {queueid:_[_0xeba9[12]](_0x1912xa,_0xeba9[11]),memberid:_0x1912x9[_0xeba9[18]]}});default:return {}}}}function onSave(_0x1912x6,_0x1912x7,_0x1912xf){return Promise[_0xeba9[33]]([])[_0xeba9[16]](getChatQueues(_0x1912x6))[_0xeba9[16]](function(_0x1912x11){if(_0x1912x6[_0xeba9[23]]===_0xeba9[27]||_[_0xeba9[29]](_0x1912x11[_0xeba9[28]],_0x1912x7[_0xeba9[28]])||_[_0xeba9[29]](_0x1912x11[_0xeba9[30]],_0x1912x7[_0xeba9[30]])){_0x1912x6[_0xeba9[32]](_0xeba9[31],_0x1912x7)}})[_0xeba9[26]](function(_0x1912x10){console[_0xeba9[25]](_0xeba9[24],_0x1912x10)})}function onRemove(_0x1912x6,_0x1912x7,_0x1912xf){_0x1912x6[_0xeba9[32]](_0xeba9[34],_0x1912x7)} \ No newline at end of file +var _0xd6f6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x63\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65\x69\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd6f6[0];var ReportChatSession=require(_0xd6f6[2])[_0xd6f6[1]];var User=require(_0xd6f6[2])[_0xd6f6[3]];var Util=require(_0xd6f6[4]);var _=require(_0xd6f6[5]);var Promise=require(_0xd6f6[6]);exports[_0xd6f6[7]]=function(_0xd64cx6){ReportChatSession[_0xd6f6[8]](function(_0xd64cx7){onSave(_0xd64cx6,_0xd64cx7)});ReportChatSession[_0xd6f6[9]](function(_0xd64cx7){onSave(_0xd64cx6,_0xd64cx7)});ReportChatSession[_0xd6f6[10]](function(_0xd64cx7){onRemove(_0xd64cx6,_0xd64cx7)})};function getChatQueues(_0xd64cx9){return function(){switch(_0xd64cx9[_0xd6f6[23]]){case _0xd6f6[20]:return User[_0xd6f6[19]](_0xd64cx9[_0xd6f6[18]],{attributes:[_0xd6f6[11]]})[_0xd6f6[16]](Util[_0xd6f6[17]]({},{attributes:[_0xd6f6[11]],include:[{raw:true,model:User,attributes:[_0xd6f6[11]]}]}))[_0xd6f6[16]](function(_0xd64cxa){var _0xd64cxb=[];_0xd64cxa[_0xd6f6[15]][_0xd6f6[14]](function(_0xd64cxc){_0xd64cxb=_[_0xd6f6[13]](_0xd64cxb,_[_0xd6f6[12]](_0xd64cxc.Users,_0xd6f6[11]))});return {queueid:_[_0xd6f6[12]](_0xd64cxa[_0xd6f6[15]],_0xd6f6[11]),memberid:_0xd64cxb}});case _0xd6f6[22]:return User[_0xd6f6[19]](_0xd64cx9[_0xd6f6[18]],{attributes:[_0xd6f6[11]]})[_0xd6f6[16]](function(_0xd64cxd){return _0xd64cxd[_0xd6f6[21]]({attributes:[_0xd6f6[11]]})})[_0xd6f6[16]](function(_0xd64cxa){return {queueid:_[_0xd6f6[12]](_0xd64cxa,_0xd6f6[11]),memberid:_0xd64cx9[_0xd6f6[18]]}});default:return {}}}}function onSave(_0xd64cx6,_0xd64cx7,_0xd64cxf){return Promise[_0xd6f6[33]]([])[_0xd6f6[16]](getChatQueues(_0xd64cx6))[_0xd6f6[16]](function(_0xd64cx11){if(_0xd64cx6[_0xd6f6[23]]===_0xd6f6[27]||_[_0xd6f6[29]](_0xd64cx11[_0xd6f6[28]],_0xd64cx7[_0xd6f6[28]])||_[_0xd6f6[29]](_0xd64cx11[_0xd6f6[30]],_0xd64cx7[_0xd6f6[30]])){_0xd64cx6[_0xd6f6[32]](_0xd6f6[31],_0xd64cx7)}})[_0xd6f6[26]](function(_0xd64cx10){console[_0xd6f6[25]](_0xd6f6[24],_0xd64cx10)})}function onRemove(_0xd64cx6,_0xd64cx7,_0xd64cxf){_0xd64cx6[_0xd6f6[32]](_0xd6f6[34],_0xd64cx7)} \ No newline at end of file diff --git a/server/api/report_fax/index.js b/server/api/report_fax/index.js index 57e2569..260faaa 100644 --- a/server/api/report_fax/index.js +++ b/server/api/report_fax/index.js @@ -1 +1 @@ -var _0x575a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\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","\x68\x61\x73\x46\x61\x78","\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\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x575a[0];var express=require(_0x575a[1]);var controller=require(_0x575a[2]);var auth=require(_0x575a[3]);var license=require(_0x575a[4]);var router=express.Router();router[_0x575a[11]](_0x575a[5],auth[_0x575a[6]](),license[_0x575a[7]](),auth[_0x575a[9]]([17],[_0x575a[8]]),controller[_0x575a[10]]);router[_0x575a[11]](_0x575a[12],auth[_0x575a[6]](),license[_0x575a[7]](),auth[_0x575a[14]](_0x575a[13]),controller[_0x575a[15]]);router[_0x575a[11]](_0x575a[16],auth[_0x575a[6]](),license[_0x575a[7]](),auth[_0x575a[14]](_0x575a[13]),controller[_0x575a[17]]);module[_0x575a[18]]=router \ No newline at end of file +var _0x371d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\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","\x68\x61\x73\x46\x61\x78","\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\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x371d[0];var express=require(_0x371d[1]);var controller=require(_0x371d[2]);var auth=require(_0x371d[3]);var license=require(_0x371d[4]);var router=express.Router();router[_0x371d[11]](_0x371d[5],auth[_0x371d[6]](),license[_0x371d[7]](),auth[_0x371d[9]]([17],[_0x371d[8]]),controller[_0x371d[10]]);router[_0x371d[11]](_0x371d[12],auth[_0x371d[6]](),license[_0x371d[7]](),auth[_0x371d[14]](_0x371d[13]),controller[_0x371d[15]]);router[_0x371d[11]](_0x371d[16],auth[_0x371d[6]](),license[_0x371d[7]](),auth[_0x371d[14]](_0x371d[13]),controller[_0x371d[17]]);module[_0x371d[18]]=router \ No newline at end of file diff --git a/server/api/report_fax/report_fax.controller.js b/server/api/report_fax/report_fax.controller.js index 0512429..d9adbe7 100644 --- a/server/api/report_fax/report_fax.controller.js +++ b/server/api/report_fax/report_fax.controller.js @@ -1 +1 @@ -var _0x40dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\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","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0x40dc[0];var _=require(_0x40dc[1]);var moment=require(_0x40dc[2]);var ReportFax=require(_0x40dc[4])[_0x40dc[3]];var sequelize=require(_0x40dc[4])[_0x40dc[5]];var Agent=require(_0x40dc[4])[_0x40dc[6]];var Util=require(_0x40dc[7]);exports[_0x40dc[8]]=function(_0x52bex7,_0x52bex8,_0x52bex9){return ReportFax[_0x40dc[15]](Util[_0x40dc[14]](_0x52bex7[_0x40dc[13]]))[_0x40dc[12]](function(_0x52bexb){_0x52bex8[_0x40dc[11]](200)[_0x40dc[10]](_0x52bexb)})[_0x40dc[9]](function(_0x52bexa){return handleError(_0x52bex8,_0x52bexa)})};exports[_0x40dc[16]]=function(_0x52bex7,_0x52bex8){var _0x52bexc;var _0x52bexd=_0x52bex7[_0x40dc[20]][_0x40dc[19]][_0x40dc[18]](_0x40dc[17])[1];return Agent[_0x40dc[25]](_0x52bex7[_0x40dc[28]][_0x40dc[24]],{attributes:[_0x40dc[24],_0x40dc[29]]})[_0x40dc[12]](function(_0x52bex11){_0x52bexc=_0x52bex11;return _0x52bex11[_0x40dc[27]]({where:{status:{$ne:_0x40dc[26]},id:{$ne:_0x52bexd}},attributes:[_0x40dc[24]]})})[_0x40dc[12]](function(_0x52bex10){return ReportFax[_0x40dc[25]](_0x52bex7[_0x40dc[20]][_0x40dc[24]])})[_0x40dc[12]](function(_0x52bexe){if(!_0x52bexe){return _0x52bex8[_0x40dc[21]](404)};var _0x52bexf=_[_0x40dc[22]](_0x52bexe,{connectid:_0x52bex7[_0x40dc[20]][_0x40dc[19]]});return _0x52bexf[_0x40dc[23]]()})[_0x40dc[12]](function(){return _0x52bex8[_0x40dc[21]](200)})[_0x40dc[9]](sequelize.UniqueConstraintError,function(_0x52bexa){return _0x52bex8[_0x40dc[21]](504)})[_0x40dc[9]](function(_0x52bexa){return handleError(_0x52bex8,_0x52bexa)})};exports[_0x40dc[30]]=function(_0x52bex7,_0x52bex8){return ReportFax[_0x40dc[25]](_0x52bex7[_0x40dc[20]][_0x40dc[24]])[_0x40dc[12]](function(_0x52bexe){if(!_0x52bexe){return _0x52bex8[_0x40dc[21]](404)};var _0x52bexf=_[_0x40dc[22]](_0x52bexe,{rejectedAt:moment()[_0x40dc[32]](_0x40dc[31])});return _0x52bexf[_0x40dc[23]]()})[_0x40dc[12]](function(){return _0x52bex8[_0x40dc[21]](200)})[_0x40dc[9]](function(_0x52bexa){return handleError(_0x52bex8,_0x52bexa)})};function handleError(_0x52bex8,_0x52bexa){return _0x52bex8[_0x40dc[11]](500)[_0x40dc[10]](_0x52bexa)} \ No newline at end of file +var _0xf6f3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\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","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0xf6f3[0];var _=require(_0xf6f3[1]);var moment=require(_0xf6f3[2]);var ReportFax=require(_0xf6f3[4])[_0xf6f3[3]];var sequelize=require(_0xf6f3[4])[_0xf6f3[5]];var Agent=require(_0xf6f3[4])[_0xf6f3[6]];var Util=require(_0xf6f3[7]);exports[_0xf6f3[8]]=function(_0xff8fx7,_0xff8fx8,_0xff8fx9){return ReportFax[_0xf6f3[15]](Util[_0xf6f3[14]](_0xff8fx7[_0xf6f3[13]]))[_0xf6f3[12]](function(_0xff8fxb){_0xff8fx8[_0xf6f3[11]](200)[_0xf6f3[10]](_0xff8fxb)})[_0xf6f3[9]](function(_0xff8fxa){return handleError(_0xff8fx8,_0xff8fxa)})};exports[_0xf6f3[16]]=function(_0xff8fx7,_0xff8fx8){var _0xff8fxc;var _0xff8fxd=_0xff8fx7[_0xf6f3[20]][_0xf6f3[19]][_0xf6f3[18]](_0xf6f3[17])[1];return Agent[_0xf6f3[25]](_0xff8fx7[_0xf6f3[28]][_0xf6f3[24]],{attributes:[_0xf6f3[24],_0xf6f3[29]]})[_0xf6f3[12]](function(_0xff8fx11){_0xff8fxc=_0xff8fx11;return _0xff8fx11[_0xf6f3[27]]({where:{status:{$ne:_0xf6f3[26]},id:{$ne:_0xff8fxd}},attributes:[_0xf6f3[24]]})})[_0xf6f3[12]](function(_0xff8fx10){return ReportFax[_0xf6f3[25]](_0xff8fx7[_0xf6f3[20]][_0xf6f3[24]])})[_0xf6f3[12]](function(_0xff8fxe){if(!_0xff8fxe){return _0xff8fx8[_0xf6f3[21]](404)};var _0xff8fxf=_[_0xf6f3[22]](_0xff8fxe,{connectid:_0xff8fx7[_0xf6f3[20]][_0xf6f3[19]]});return _0xff8fxf[_0xf6f3[23]]()})[_0xf6f3[12]](function(){return _0xff8fx8[_0xf6f3[21]](200)})[_0xf6f3[9]](sequelize.UniqueConstraintError,function(_0xff8fxa){return _0xff8fx8[_0xf6f3[21]](504)})[_0xf6f3[9]](function(_0xff8fxa){return handleError(_0xff8fx8,_0xff8fxa)})};exports[_0xf6f3[30]]=function(_0xff8fx7,_0xff8fx8){return ReportFax[_0xf6f3[25]](_0xff8fx7[_0xf6f3[20]][_0xf6f3[24]])[_0xf6f3[12]](function(_0xff8fxe){if(!_0xff8fxe){return _0xff8fx8[_0xf6f3[21]](404)};var _0xff8fxf=_[_0xf6f3[22]](_0xff8fxe,{rejectedAt:moment()[_0xf6f3[32]](_0xf6f3[31])});return _0xff8fxf[_0xf6f3[23]]()})[_0xf6f3[12]](function(){return _0xff8fx8[_0xf6f3[21]](200)})[_0xf6f3[9]](function(_0xff8fxa){return handleError(_0xff8fx8,_0xff8fxa)})};function handleError(_0xff8fx8,_0xff8fxa){return _0xff8fx8[_0xf6f3[11]](500)[_0xf6f3[10]](_0xff8fxa)} \ No newline at end of file diff --git a/server/api/report_fax/report_fax.socket.js b/server/api/report_fax/report_fax.socket.js index 12dc3a7..11d77a2 100644 --- a/server/api/report_fax/report_fax.socket.js +++ b/server/api/report_fax/report_fax.socket.js @@ -1 +1 @@ -var _0x9cfa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9cfa[0];var ReportFax=require(_0x9cfa[2])[_0x9cfa[1]];exports[_0x9cfa[3]]=function(_0x1995x2){ReportFax[_0x9cfa[4]](function(_0x1995x3){onSave(_0x1995x2,_0x1995x3)});ReportFax[_0x9cfa[5]](function(_0x1995x3){onSave(_0x1995x2,_0x1995x3)});ReportFax[_0x9cfa[6]](function(_0x1995x3){onRemove(_0x1995x2,_0x1995x3)})};function onSave(_0x1995x2,_0x1995x3,_0x1995x5){if(_0x1995x2[_0x9cfa[7]]===_0x1995x3[_0x9cfa[8]]||_0x1995x2[_0x9cfa[9]]===_0x9cfa[10]){_0x1995x2[_0x9cfa[12]](_0x9cfa[11],_0x1995x3)}}function onUpdate(_0x1995x2,_0x1995x3,_0x1995x5){if(_0x1995x2[_0x9cfa[7]]===_0x1995x3[_0x9cfa[8]]||_0x1995x2[_0x9cfa[9]]===_0x9cfa[10]){_0x1995x2[_0x9cfa[12]](_0x9cfa[13],_0x1995x3)}}function onRemove(_0x1995x2,_0x1995x3,_0x1995x5){_0x1995x2[_0x9cfa[12]](_0x9cfa[14],_0x1995x3)} \ No newline at end of file +var _0x5d5c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5d5c[0];var ReportFax=require(_0x5d5c[2])[_0x5d5c[1]];exports[_0x5d5c[3]]=function(_0xe7d4x2){ReportFax[_0x5d5c[4]](function(_0xe7d4x3){onSave(_0xe7d4x2,_0xe7d4x3)});ReportFax[_0x5d5c[5]](function(_0xe7d4x3){onSave(_0xe7d4x2,_0xe7d4x3)});ReportFax[_0x5d5c[6]](function(_0xe7d4x3){onRemove(_0xe7d4x2,_0xe7d4x3)})};function onSave(_0xe7d4x2,_0xe7d4x3,_0xe7d4x5){if(_0xe7d4x2[_0x5d5c[7]]===_0xe7d4x3[_0x5d5c[8]]||_0xe7d4x2[_0x5d5c[9]]===_0x5d5c[10]){_0xe7d4x2[_0x5d5c[12]](_0x5d5c[11],_0xe7d4x3)}}function onUpdate(_0xe7d4x2,_0xe7d4x3,_0xe7d4x5){if(_0xe7d4x2[_0x5d5c[7]]===_0xe7d4x3[_0x5d5c[8]]||_0xe7d4x2[_0x5d5c[9]]===_0x5d5c[10]){_0xe7d4x2[_0x5d5c[12]](_0x5d5c[13],_0xe7d4x3)}}function onRemove(_0xe7d4x2,_0xe7d4x3,_0xe7d4x5){_0xe7d4x2[_0x5d5c[12]](_0x5d5c[14],_0xe7d4x3)} \ No newline at end of file diff --git a/server/api/report_fax_room/index.js b/server/api/report_fax_room/index.js index 2ffae70..786e214 100644 --- a/server/api/report_fax_room/index.js +++ b/server/api/report_fax_room/index.js @@ -1 +1 @@ -var _0x28b1=["\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\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x28b1[0];var express=require(_0x28b1[1]);var auth=require(_0x28b1[2]);var controller=require(_0x28b1[3]);var license=require(_0x28b1[4]);var router=express.Router();router[_0x28b1[11]](_0x28b1[5],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([17],[_0x28b1[8]]),controller[_0x28b1[10]]);router[_0x28b1[11]](_0x28b1[12],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([17],[_0x28b1[8]]),controller[_0x28b1[13]]);router[_0x28b1[11]](_0x28b1[14],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([1],[_0x28b1[8],_0x28b1[15]]),controller[_0x28b1[16]]);router[_0x28b1[11]](_0x28b1[17],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([1],[_0x28b1[8],_0x28b1[15]]),controller[_0x28b1[18]]);router[_0x28b1[11]](_0x28b1[19],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([1],[_0x28b1[8],_0x28b1[15]]),controller[_0x28b1[20]]);router[_0x28b1[11]](_0x28b1[21],auth[_0x28b1[6]](),license[_0x28b1[7]](),auth[_0x28b1[9]]([1],[_0x28b1[8],_0x28b1[15]]),controller[_0x28b1[22]]);module[_0x28b1[23]]=router \ No newline at end of file +var _0x5c49=["\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\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x5c49[0];var express=require(_0x5c49[1]);var auth=require(_0x5c49[2]);var controller=require(_0x5c49[3]);var license=require(_0x5c49[4]);var router=express.Router();router[_0x5c49[11]](_0x5c49[5],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([17],[_0x5c49[8]]),controller[_0x5c49[10]]);router[_0x5c49[11]](_0x5c49[12],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([17],[_0x5c49[8]]),controller[_0x5c49[13]]);router[_0x5c49[11]](_0x5c49[14],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([1],[_0x5c49[8],_0x5c49[15]]),controller[_0x5c49[16]]);router[_0x5c49[11]](_0x5c49[17],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([1],[_0x5c49[8],_0x5c49[15]]),controller[_0x5c49[18]]);router[_0x5c49[11]](_0x5c49[19],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([1],[_0x5c49[8],_0x5c49[15]]),controller[_0x5c49[20]]);router[_0x5c49[11]](_0x5c49[21],auth[_0x5c49[6]](),license[_0x5c49[7]](),auth[_0x5c49[9]]([1],[_0x5c49[8],_0x5c49[15]]),controller[_0x5c49[22]]);module[_0x5c49[23]]=router \ No newline at end of file diff --git a/server/api/report_fax_room/report_fax_room.controller.js b/server/api/report_fax_room/report_fax_room.controller.js index df658f0..3b213db 100644 --- a/server/api/report_fax_room/report_fax_room.controller.js +++ b/server/api/report_fax_room/report_fax_room.controller.js @@ -1 +1 @@ -var _0xd03d=["\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","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x46\x61\x78\x51\x75\x65\x75\x65","\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\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\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","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\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","\x69\x6E\x64\x65\x78","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xd03d[0];var _=require(_0xd03d[1]);var Util=require(_0xd03d[2]);var ReportFaxRoom=require(_0xd03d[4])[_0xd03d[3]];var FaxRoom=require(_0xd03d[4])[_0xd03d[5]];var ReportFaxRoomHistory=require(_0xd03d[4])[_0xd03d[7]][_0xd03d[6]];var User=require(_0xd03d[4])[_0xd03d[8]];var FaxQueue=require(_0xd03d[4])[_0xd03d[9]];function handleError(_0xdcf8x9,_0xdcf8xa){_0xdcf8xa=_0xdcf8xa||500;return function(_0xdcf8xb){_0xdcf8x9[_0xd03d[11]](_0xdcf8xa)[_0xd03d[10]](_0xdcf8xb)}}function responseWithResult(_0xdcf8x9,_0xdcf8xa){_0xdcf8xa=_0xdcf8xa||200;return function(_0xdcf8xd){if(_0xdcf8xd){_0xdcf8x9[_0xd03d[11]](_0xdcf8xa)[_0xd03d[12]](_0xdcf8xd)}}}function responseWithoutResult(_0xdcf8x9,_0xdcf8xa){_0xdcf8xa=_0xdcf8xa||204;return function(){_0xdcf8x9[_0xd03d[13]](_0xdcf8xa)}}function handleEntityNotFound(_0xdcf8x9){return function(_0xdcf8xd){if(!_0xdcf8xd){_0xdcf8x9[_0xd03d[11]](404)[_0xd03d[14]]();return null};return _0xdcf8xd}}function saveUpdates(_0xdcf8x11){return function(_0xdcf8xd){return _0xdcf8xd[_0xd03d[16]](_0xdcf8x11)[_0xd03d[15]](function(_0xdcf8x12){return _0xdcf8x12})}}function removeEntity(_0xdcf8x9){return function(_0xdcf8xd){if(_0xdcf8xd){return _0xdcf8xd[_0xd03d[17]]()[_0xd03d[15]](function(){_0xdcf8x9[_0xd03d[11]](204)[_0xd03d[14]]()})}}}function getFaxQueues(_0xdcf8x15){return function(){switch(_0xdcf8x15[_0xd03d[26]]){case _0xd03d[25]:return User[_0xd03d[24]](_0xdcf8x15[_0xd03d[18]],{attributes:[_0xd03d[18]]})[_0xd03d[15]](Util[_0xd03d[23]]({},{attributes:[_0xd03d[18]],include:[{raw:true,model:User,attributes:[_0xd03d[18]]}]}))[_0xd03d[15]](function(_0xdcf8x16){var _0xdcf8x17=[];_0xdcf8x16[_0xd03d[22]][_0xd03d[21]](function(_0xdcf8x18){_0xdcf8x17=_[_0xd03d[20]](_0xdcf8x17,_[_0xd03d[19]](_0xdcf8x18.Users,_0xd03d[18]))});return {where:{$or:{queue:_[_0xd03d[19]](_0xdcf8x16[_0xd03d[22]],_0xd03d[18]),memberid:_0xdcf8x17}}}});default:return {}}}}exports[_0xd03d[27]]=function(_0xdcf8x19,_0xdcf8x9){return Promise[_0xd03d[32]]([])[_0xd03d[15]](getFaxQueues(_0xdcf8x19[_0xd03d[25]]))[_0xd03d[15]](function(_0xdcf8x1b){return FaxRoom[_0xd03d[31]](_[_0xd03d[30]]({where:{status:_0xd03d[29]}},_0xdcf8x1b))})[_0xd03d[15]](function(_0xdcf8x1a){return _0xdcf8x9[_0xd03d[11]](200)[_0xd03d[10]]({value:_0xdcf8x1a})})[_0xd03d[28]](handleError(_0xdcf8x9))};exports[_0xd03d[33]]=function(_0xdcf8x19,_0xdcf8x9){return Promise[_0xd03d[32]]([])[_0xd03d[15]](getFaxQueues(_0xdcf8x19[_0xd03d[25]]))[_0xd03d[15]](function(_0xdcf8x1b){return FaxRoom[_0xd03d[31]](_[_0xd03d[30]]({where:{status:_0xd03d[34]}},_0xdcf8x1b))})[_0xd03d[15]](function(_0xdcf8x1a){return _0xdcf8x9[_0xd03d[11]](200)[_0xd03d[10]]({value:_0xdcf8x1a})})[_0xd03d[28]](handleError(_0xdcf8x9))};exports[_0xd03d[35]]=function(_0xdcf8x19,_0xdcf8x9){return Promise[_0xd03d[32]]([])[_0xd03d[15]](getFaxQueues(_0xdcf8x19[_0xd03d[25]]))[_0xd03d[15]](function(_0xdcf8x1b){return FaxRoom[_0xd03d[31]](_[_0xd03d[30]]({where:{status:_0xd03d[36]}},_0xdcf8x1b))})[_0xd03d[15]](function(_0xdcf8x1a){return _0xdcf8x9[_0xd03d[11]](200)[_0xd03d[10]]({value:_0xdcf8x1a})})[_0xd03d[28]](handleError(_0xdcf8x9))};exports[_0xd03d[37]]=function(_0xdcf8x19,_0xdcf8x9){return Promise[_0xd03d[32]]([])[_0xd03d[15]](getFaxQueues(_0xdcf8x19[_0xd03d[25]]))[_0xd03d[15]](function(_0xdcf8x1b){return FaxRoom[_0xd03d[31]](_[_0xd03d[30]]({where:{status:_0xd03d[38]}},_0xdcf8x1b))})[_0xd03d[15]](function(_0xdcf8x1a){return _0xdcf8x9[_0xd03d[11]](200)[_0xd03d[10]]({value:_0xdcf8x1a})})[_0xd03d[28]](handleError(_0xdcf8x9))};exports[_0xd03d[39]]=function(_0xdcf8x19,_0xdcf8x9,_0xdcf8x1c){return ReportFaxRoom[_0xd03d[42]](Util[_0xd03d[41]](_0xdcf8x19[_0xd03d[40]]))[_0xd03d[15]](function(_0xdcf8x1d){return _0xdcf8x9[_0xd03d[11]](200)[_0xd03d[10]](_0xdcf8x1d)})[_0xd03d[28]](handleError(_0xdcf8x9))};exports[_0xd03d[43]]=function(_0xdcf8x19,_0xdcf8x9){return ReportFaxRoomHistory[_0xd03d[43]]()[_0xd03d[15]](responseWithResult(_0xdcf8x9))[_0xd03d[28]](handleError(_0xdcf8x9))} \ No newline at end of file +var _0x3c3a=["\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","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x46\x61\x78\x51\x75\x65\x75\x65","\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\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\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","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\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","\x69\x6E\x64\x65\x78","\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","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x3c3a[0];var _=require(_0x3c3a[1]);var Util=require(_0x3c3a[2]);var ReportFaxRoom=require(_0x3c3a[4])[_0x3c3a[3]];var FaxRoom=require(_0x3c3a[4])[_0x3c3a[5]];var ReportFaxRoomHistory=require(_0x3c3a[4])[_0x3c3a[7]][_0x3c3a[6]];var User=require(_0x3c3a[4])[_0x3c3a[8]];var FaxQueue=require(_0x3c3a[4])[_0x3c3a[9]];function handleError(_0xf870x9,_0xf870xa){_0xf870xa=_0xf870xa||500;return function(_0xf870xb){_0xf870x9[_0x3c3a[11]](_0xf870xa)[_0x3c3a[10]](_0xf870xb)}}function responseWithResult(_0xf870x9,_0xf870xa){_0xf870xa=_0xf870xa||200;return function(_0xf870xd){if(_0xf870xd){_0xf870x9[_0x3c3a[11]](_0xf870xa)[_0x3c3a[12]](_0xf870xd)}}}function responseWithoutResult(_0xf870x9,_0xf870xa){_0xf870xa=_0xf870xa||204;return function(){_0xf870x9[_0x3c3a[13]](_0xf870xa)}}function handleEntityNotFound(_0xf870x9){return function(_0xf870xd){if(!_0xf870xd){_0xf870x9[_0x3c3a[11]](404)[_0x3c3a[14]]();return null};return _0xf870xd}}function saveUpdates(_0xf870x11){return function(_0xf870xd){return _0xf870xd[_0x3c3a[16]](_0xf870x11)[_0x3c3a[15]](function(_0xf870x12){return _0xf870x12})}}function removeEntity(_0xf870x9){return function(_0xf870xd){if(_0xf870xd){return _0xf870xd[_0x3c3a[17]]()[_0x3c3a[15]](function(){_0xf870x9[_0x3c3a[11]](204)[_0x3c3a[14]]()})}}}function getFaxQueues(_0xf870x15){return function(){switch(_0xf870x15[_0x3c3a[26]]){case _0x3c3a[25]:return User[_0x3c3a[24]](_0xf870x15[_0x3c3a[18]],{attributes:[_0x3c3a[18]]})[_0x3c3a[15]](Util[_0x3c3a[23]]({},{attributes:[_0x3c3a[18]],include:[{raw:true,model:User,attributes:[_0x3c3a[18]]}]}))[_0x3c3a[15]](function(_0xf870x16){var _0xf870x17=[];_0xf870x16[_0x3c3a[22]][_0x3c3a[21]](function(_0xf870x18){_0xf870x17=_[_0x3c3a[20]](_0xf870x17,_[_0x3c3a[19]](_0xf870x18.Users,_0x3c3a[18]))});return {where:{$or:{queue:_[_0x3c3a[19]](_0xf870x16[_0x3c3a[22]],_0x3c3a[18]),memberid:_0xf870x17}}}});default:return {}}}}exports[_0x3c3a[27]]=function(_0xf870x19,_0xf870x9){return Promise[_0x3c3a[32]]([])[_0x3c3a[15]](getFaxQueues(_0xf870x19[_0x3c3a[25]]))[_0x3c3a[15]](function(_0xf870x1b){return FaxRoom[_0x3c3a[31]](_[_0x3c3a[30]]({where:{status:_0x3c3a[29]}},_0xf870x1b))})[_0x3c3a[15]](function(_0xf870x1a){return _0xf870x9[_0x3c3a[11]](200)[_0x3c3a[10]]({value:_0xf870x1a})})[_0x3c3a[28]](handleError(_0xf870x9))};exports[_0x3c3a[33]]=function(_0xf870x19,_0xf870x9){return Promise[_0x3c3a[32]]([])[_0x3c3a[15]](getFaxQueues(_0xf870x19[_0x3c3a[25]]))[_0x3c3a[15]](function(_0xf870x1b){return FaxRoom[_0x3c3a[31]](_[_0x3c3a[30]]({where:{status:_0x3c3a[34]}},_0xf870x1b))})[_0x3c3a[15]](function(_0xf870x1a){return _0xf870x9[_0x3c3a[11]](200)[_0x3c3a[10]]({value:_0xf870x1a})})[_0x3c3a[28]](handleError(_0xf870x9))};exports[_0x3c3a[35]]=function(_0xf870x19,_0xf870x9){return Promise[_0x3c3a[32]]([])[_0x3c3a[15]](getFaxQueues(_0xf870x19[_0x3c3a[25]]))[_0x3c3a[15]](function(_0xf870x1b){return FaxRoom[_0x3c3a[31]](_[_0x3c3a[30]]({where:{status:_0x3c3a[36]}},_0xf870x1b))})[_0x3c3a[15]](function(_0xf870x1a){return _0xf870x9[_0x3c3a[11]](200)[_0x3c3a[10]]({value:_0xf870x1a})})[_0x3c3a[28]](handleError(_0xf870x9))};exports[_0x3c3a[37]]=function(_0xf870x19,_0xf870x9){return Promise[_0x3c3a[32]]([])[_0x3c3a[15]](getFaxQueues(_0xf870x19[_0x3c3a[25]]))[_0x3c3a[15]](function(_0xf870x1b){return FaxRoom[_0x3c3a[31]](_[_0x3c3a[30]]({where:{status:_0x3c3a[38]}},_0xf870x1b))})[_0x3c3a[15]](function(_0xf870x1a){return _0xf870x9[_0x3c3a[11]](200)[_0x3c3a[10]]({value:_0xf870x1a})})[_0x3c3a[28]](handleError(_0xf870x9))};exports[_0x3c3a[39]]=function(_0xf870x19,_0xf870x9,_0xf870x1c){return ReportFaxRoom[_0x3c3a[42]](Util[_0x3c3a[41]](_0xf870x19[_0x3c3a[40]]))[_0x3c3a[15]](function(_0xf870x1d){return _0xf870x9[_0x3c3a[11]](200)[_0x3c3a[10]](_0xf870x1d)})[_0x3c3a[28]](handleError(_0xf870x9))};exports[_0x3c3a[43]]=function(_0xf870x19,_0xf870x9){return ReportFaxRoomHistory[_0x3c3a[43]]()[_0x3c3a[15]](responseWithResult(_0xf870x9))[_0x3c3a[28]](handleError(_0xf870x9))} \ No newline at end of file diff --git a/server/api/report_fax_room/report_fax_room.socket.js b/server/api/report_fax_room/report_fax_room.socket.js index d88ff24..63e262b 100644 --- a/server/api/report_fax_room/report_fax_room.socket.js +++ b/server/api/report_fax_room/report_fax_room.socket.js @@ -1 +1 @@ -var _0x5ced=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5ced[0];var ReportFaxRoom=require(_0x5ced[2])[_0x5ced[1]];exports[_0x5ced[3]]=function(_0x9f6dx2){ReportFaxRoom[_0x5ced[4]](function(_0x9f6dx3){onSave(_0x9f6dx2,_0x9f6dx3)});ReportFaxRoom[_0x5ced[5]](function(_0x9f6dx3){onRemove(_0x9f6dx2,_0x9f6dx3)})};function onSave(_0x9f6dx2,_0x9f6dx3,_0x9f6dx5){_0x9f6dx2[_0x5ced[7]](_0x5ced[6],_0x9f6dx3)}function onRemove(_0x9f6dx2,_0x9f6dx3,_0x9f6dx5){_0x9f6dx2[_0x5ced[7]](_0x5ced[8],_0x9f6dx3)} \ No newline at end of file +var _0x6edc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6edc[0];var ReportFaxRoom=require(_0x6edc[2])[_0x6edc[1]];exports[_0x6edc[3]]=function(_0xb72ax2){ReportFaxRoom[_0x6edc[4]](function(_0xb72ax3){onSave(_0xb72ax2,_0xb72ax3)});ReportFaxRoom[_0x6edc[5]](function(_0xb72ax3){onRemove(_0xb72ax2,_0xb72ax3)})};function onSave(_0xb72ax2,_0xb72ax3,_0xb72ax5){_0xb72ax2[_0x6edc[7]](_0x6edc[6],_0xb72ax3)}function onRemove(_0xb72ax2,_0xb72ax3,_0xb72ax5){_0xb72ax2[_0x6edc[7]](_0x6edc[8],_0xb72ax3)} \ No newline at end of file diff --git a/server/api/report_fax_session/index.js b/server/api/report_fax_session/index.js index b6d1a98..d4ed7c2 100644 --- a/server/api/report_fax_session/index.js +++ b/server/api/report_fax_session/index.js @@ -1 +1 @@ -var _0x188d=["\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\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x188d[0];var express=require(_0x188d[1]);var auth=require(_0x188d[2]);var controller=require(_0x188d[3]);var license=require(_0x188d[4]);var router=express.Router();router[_0x188d[11]](_0x188d[5],auth[_0x188d[6]](),license[_0x188d[7]](),auth[_0x188d[9]]([17],[_0x188d[8]]),controller[_0x188d[10]]);router[_0x188d[11]](_0x188d[12],auth[_0x188d[6]](),license[_0x188d[7]](),auth[_0x188d[9]]([17],[_0x188d[8]]),controller[_0x188d[13]]);router[_0x188d[11]](_0x188d[14],auth[_0x188d[6]](),license[_0x188d[7]](),auth[_0x188d[9]]([10],[_0x188d[8],_0x188d[15]]),controller[_0x188d[16]]);module[_0x188d[17]]=router \ No newline at end of file +var _0x71c8=["\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\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\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\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x71c8[0];var express=require(_0x71c8[1]);var auth=require(_0x71c8[2]);var controller=require(_0x71c8[3]);var license=require(_0x71c8[4]);var router=express.Router();router[_0x71c8[11]](_0x71c8[5],auth[_0x71c8[6]](),license[_0x71c8[7]](),auth[_0x71c8[9]]([17],[_0x71c8[8]]),controller[_0x71c8[10]]);router[_0x71c8[11]](_0x71c8[12],auth[_0x71c8[6]](),license[_0x71c8[7]](),auth[_0x71c8[9]]([17],[_0x71c8[8]]),controller[_0x71c8[13]]);router[_0x71c8[11]](_0x71c8[14],auth[_0x71c8[6]](),license[_0x71c8[7]](),auth[_0x71c8[9]]([10],[_0x71c8[8],_0x71c8[15]]),controller[_0x71c8[16]]);module[_0x71c8[17]]=router \ No newline at end of file diff --git a/server/api/report_fax_session/report_fax_session.controller.js b/server/api/report_fax_session/report_fax_session.controller.js index e1b0326..d6aea18 100644 --- a/server/api/report_fax_session/report_fax_session.controller.js +++ b/server/api/report_fax_session/report_fax_session.controller.js @@ -1 +1 @@ -var _0xab87=["\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","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\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","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6D\x65\x72\x67\x65","\x75\x73\x65\x72","\x61\x6C\x6C","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65"];_0xab87[0];var _=require(_0xab87[1]);var Util=require(_0xab87[2]);var ReportFaxSession=require(_0xab87[4])[_0xab87[3]];var ReportFaxSessionHistory=require(_0xab87[4])[_0xab87[5]];var User=require(_0xab87[4])[_0xab87[6]];function handleError(_0xa628x7,_0xa628x8){_0xa628x8=_0xa628x8||500;return function(_0xa628x9){_0xa628x7[_0xab87[8]](_0xa628x8)[_0xab87[7]](_0xa628x9)}}function responseWithResult(_0xa628x7,_0xa628x8){_0xa628x8=_0xa628x8||200;return function(_0xa628xb){if(_0xa628xb){_0xa628x7[_0xab87[8]](_0xa628x8)[_0xab87[9]](_0xa628xb)}}}function responseWithoutResult(_0xa628x7,_0xa628x8){_0xa628x8=_0xa628x8||204;return function(){_0xa628x7[_0xab87[10]](_0xa628x8)}}function handleEntityNotFound(_0xa628x7){return function(_0xa628xb){if(!_0xa628xb){_0xa628x7[_0xab87[8]](404)[_0xab87[11]]();return null};return _0xa628xb}}function saveUpdates(_0xa628xf){return function(_0xa628xb){return _0xa628xb[_0xab87[13]](_0xa628xf)[_0xab87[12]](function(_0xa628x10){return _0xa628x10})}}function removeEntity(_0xa628x7){return function(_0xa628xb){if(_0xa628xb){return _0xa628xb[_0xab87[14]]()[_0xab87[12]](function(){_0xa628x7[_0xab87[8]](204)[_0xab87[11]]()})}}}exports[_0xab87[15]]=function(_0xa628x12,_0xa628x7){return ReportFaxSession[_0xab87[19]](Util[_0xab87[18]](_0xa628x12[_0xab87[17]]))[_0xab87[12]](responseWithResult(_0xa628x7))[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[20]]=function(_0xa628x12,_0xa628x7){return ReportFaxSession[_0xab87[23]](_0xa628x12[_0xab87[22]][_0xab87[21]])[_0xab87[12]](handleEntityNotFound(_0xa628x7))[_0xab87[12]](responseWithResult(_0xa628x7))[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[24]]=function(_0xa628x12,_0xa628x7){return ReportFaxSession[_0xab87[24]](_0xa628x12[_0xab87[25]])[_0xab87[12]](responseWithResult(_0xa628x7,201))[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[26]]=function(_0xa628x12,_0xa628x7){if(_0xa628x12[_0xab87[25]][_0xab87[21]]){delete _0xa628x12[_0xab87[25]][_0xab87[21]]};return ReportFaxSession[_0xab87[23]](_0xa628x12[_0xab87[22]][_0xab87[21]])[_0xab87[12]](handleEntityNotFound(_0xa628x7))[_0xab87[12]](saveUpdates(_0xa628x12[_0xab87[25]]))[_0xab87[12]](responseWithResult(_0xa628x7))[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[14]]=function(_0xa628x12,_0xa628x7){return ReportFaxSession[_0xab87[23]](_0xa628x12[_0xab87[22]][_0xab87[21]])[_0xab87[12]](handleEntityNotFound(_0xa628x7))[_0xab87[12]](removeEntity(_0xa628x7))[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[27]]=function(_0xa628x12,_0xa628x7){return ReportFaxSessionHistory[_0xab87[27]]()[_0xab87[12]](function(_0xa628x13){return _0xa628x7[_0xab87[8]](200)[_0xab87[7]](_0xa628x13)})[_0xab87[16]](handleError(_0xa628x7))};exports[_0xab87[28]]=function(_0xa628x12,_0xa628x7){return Promise[_0xab87[31]]([])[_0xab87[12]](getFaxQueues(_0xa628x12[_0xab87[30]]))[_0xab87[12]](function(_0xa628x15){return ReportFaxSession[_0xab87[19]](Ut